From 50db90451669ff680a669849a8f9990fd35f7a86 Mon Sep 17 00:00:00 2001 From: Matt Palmer Date: Sun, 6 Mar 2011 11:47:14 +1100 Subject: [PATCH] Fix gemspec and add bundler support --- .gitignore | 1 + Gemfile | 3 +++ sinatra-url-for.gemspec | 3 ++- 3 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 Gemfile diff --git a/.gitignore b/.gitignore index fedf1b5..8f5ed9c 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ coverage rdoc pkg *~ +Gemfile.lock diff --git a/Gemfile b/Gemfile new file mode 100644 index 0000000..a1b93f3 --- /dev/null +++ b/Gemfile @@ -0,0 +1,3 @@ +source :rubygems + +gemspec diff --git a/sinatra-url-for.gemspec b/sinatra-url-for.gemspec index cc23c5a..7ae9a1e 100644 --- a/sinatra-url-for.gemspec +++ b/sinatra-url-for.gemspec @@ -23,7 +23,8 @@ Gem::Specification.new do |s| if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then s.add_runtime_dependency(%q, [">= 0.9.1.1"]) - s.add_development_dependency(%q, [">= 1.1.11"]) + s.add_development_dependency(%q, ["~> 1.1.11"]) + s.add_development_dependency(%q) else s.add_dependency(%q, [">= 0.9.1.1"]) s.add_dependency(%q, [">= 1.1.11"])