Skip to content

Commit

Permalink
Stricter dependency version specification
Browse files Browse the repository at this point in the history
  • Loading branch information
sferik committed Apr 21, 2010
1 parent e778d7f commit ef91557
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 32 deletions.
16 changes: 8 additions & 8 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@ Jeweler::Tasks.new do |gem|
gem.authors = ["John Nunemaker", "Wynn Netherland"]
gem.files = FileList["[A-Z]*", "{examples,lib,test}/**/*"]

gem.add_dependency("oauth", "~> 0.3")
gem.add_dependency("hashie", "~> 0.2")
gem.add_dependency("httparty", "~> 0.5")
gem.add_dependency("yajl-ruby", "~> 0.7")
gem.add_dependency("oauth", ">= 0.3.5")
gem.add_dependency("hashie", "~> 0.2.0")
gem.add_dependency("httparty", "~> 0.5.0")
gem.add_dependency("yajl-ruby", "~> 0.7.0")

gem.add_development_dependency("shoulda", "~> 2.10")
gem.add_development_dependency("jnunemaker-matchy", "~> 0.4")
gem.add_development_dependency("mocha", "~> 0.9")
gem.add_development_dependency("fakeweb", "~> 1.2")
gem.add_development_dependency("shoulda", "~> 2.10.0")
gem.add_development_dependency("jnunemaker-matchy", "~> 0.4.0")
gem.add_development_dependency("mocha", "~> 0.9.0")
gem.add_development_dependency("fakeweb", "~> 1.2.0")
end

Jeweler::GemcutterTasks.new
Expand Down
49 changes: 25 additions & 24 deletions twitter.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ Gem::Specification.new do |s|
"test/fixtures/friend_ids.json",
"test/fixtures/friends_timeline.json",
"test/fixtures/friendship.json",
"test/fixtures/friendship_exists.json",
"test/fixtures/home_timeline.json",
"test/fixtures/ids.json",
"test/fixtures/list.json",
Expand Down Expand Up @@ -133,33 +134,33 @@ Gem::Specification.new do |s|
s.specification_version = 3

if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
s.add_runtime_dependency(%q<oauth>, ["~> 0.3"])
s.add_runtime_dependency(%q<hashie>, ["~> 0.2"])
s.add_runtime_dependency(%q<httparty>, ["~> 0.5"])
s.add_runtime_dependency(%q<yajl-ruby>, ["~> 0.7"])
s.add_development_dependency(%q<shoulda>, ["~> 2.10"])
s.add_development_dependency(%q<jnunemaker-matchy>, ["~> 0.4"])
s.add_development_dependency(%q<mocha>, ["~> 0.9"])
s.add_development_dependency(%q<fakeweb>, ["~> 1.2"])
s.add_runtime_dependency(%q<oauth>, [">= 0.3.5"])
s.add_runtime_dependency(%q<hashie>, ["~> 0.2.0"])
s.add_runtime_dependency(%q<httparty>, ["~> 0.5.0"])
s.add_runtime_dependency(%q<yajl-ruby>, ["~> 0.7.0"])
s.add_development_dependency(%q<shoulda>, ["~> 2.10.0"])
s.add_development_dependency(%q<jnunemaker-matchy>, ["~> 0.4.0"])
s.add_development_dependency(%q<mocha>, ["~> 0.9.0"])
s.add_development_dependency(%q<fakeweb>, ["~> 1.2.0"])
else
s.add_dependency(%q<oauth>, ["~> 0.3"])
s.add_dependency(%q<hashie>, ["~> 0.2"])
s.add_dependency(%q<httparty>, ["~> 0.5"])
s.add_dependency(%q<yajl-ruby>, ["~> 0.7"])
s.add_dependency(%q<shoulda>, ["~> 2.10"])
s.add_dependency(%q<jnunemaker-matchy>, ["~> 0.4"])
s.add_dependency(%q<mocha>, ["~> 0.9"])
s.add_dependency(%q<fakeweb>, ["~> 1.2"])
s.add_dependency(%q<oauth>, [">= 0.3.5"])
s.add_dependency(%q<hashie>, ["~> 0.2.0"])
s.add_dependency(%q<httparty>, ["~> 0.5.0"])
s.add_dependency(%q<yajl-ruby>, ["~> 0.7.0"])
s.add_dependency(%q<shoulda>, ["~> 2.10.0"])
s.add_dependency(%q<jnunemaker-matchy>, ["~> 0.4.0"])
s.add_dependency(%q<mocha>, ["~> 0.9.0"])
s.add_dependency(%q<fakeweb>, ["~> 1.2.0"])
end
else
s.add_dependency(%q<oauth>, ["~> 0.3"])
s.add_dependency(%q<hashie>, ["~> 0.2"])
s.add_dependency(%q<httparty>, ["~> 0.5"])
s.add_dependency(%q<yajl-ruby>, ["~> 0.7"])
s.add_dependency(%q<shoulda>, ["~> 2.10"])
s.add_dependency(%q<jnunemaker-matchy>, ["~> 0.4"])
s.add_dependency(%q<mocha>, ["~> 0.9"])
s.add_dependency(%q<fakeweb>, ["~> 1.2"])
s.add_dependency(%q<oauth>, [">= 0.3.5"])
s.add_dependency(%q<hashie>, ["~> 0.2.0"])
s.add_dependency(%q<httparty>, ["~> 0.5.0"])
s.add_dependency(%q<yajl-ruby>, ["~> 0.7.0"])
s.add_dependency(%q<shoulda>, ["~> 2.10.0"])
s.add_dependency(%q<jnunemaker-matchy>, ["~> 0.4.0"])
s.add_dependency(%q<mocha>, ["~> 0.9.0"])
s.add_dependency(%q<fakeweb>, ["~> 1.2.0"])
end
end

0 comments on commit ef91557

Please sign in to comment.