Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

changes gemfile to read gemspec for dependencies

  • Loading branch information...
commit 707214dd415b28f5f9fe49d27746b745d4bbaa57 1 parent fb0d564
Ryan Glover authored
Showing with 5 additions and 26 deletions.
  1. +1 −9 Gemfile
  2. +4 −17 calais.gemspec
10 Gemfile
View
@@ -1,11 +1,3 @@
source :gemcutter
-gem "rake", "0.8.7"
-gem "curb", "0.6.7"
-gem "nokogiri"
-gem "jeweler"
-gem "yard"
-
-group :test do
- gem "rspec"
-end
+gemspec
21 calais.gemspec
View
@@ -39,23 +39,10 @@ Gem::Specification.new do |s|
"spec/helper.rb"
]
- if s.respond_to? :specification_version then
- current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
- s.specification_version = 3
+ s.add_dependency("nokogiri", ">= 1.3.3")
+ s.add_dependency("json", ">= 1.1.3")
+ s.add_dependency("curb", ">= 0.1.4")
- if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
- s.add_runtime_dependency(%q<nokogiri>, [">= 1.3.3"])
- s.add_runtime_dependency(%q<json>, [">= 1.1.3"])
- s.add_runtime_dependency(%q<curb>, [">= 0.1.4"])
- else
- s.add_dependency(%q<nokogiri>, [">= 1.3.3"])
- s.add_dependency(%q<json>, [">= 1.1.3"])
- s.add_dependency(%q<curb>, [">= 0.1.4"])
- end
- else
- s.add_dependency(%q<nokogiri>, [">= 1.3.3"])
- s.add_dependency(%q<json>, [">= 1.1.3"])
- s.add_dependency(%q<curb>, [">= 0.1.4"])
- end
+ s.add_development_dependency("rspec", ">= 2.0.0")
end
Please sign in to comment.
Something went wrong with that request. Please try again.