Permalink
Browse files

Gem dependency on json.

  • Loading branch information...
1 parent 8177796 commit f5c465c322618db0d673944c476f4eeacfbfc48e H. Wade Minter committed Feb 9, 2010
Showing with 5 additions and 0 deletions.
  1. +1 −0 Rakefile
  2. +4 −0 minter-cloudservers.gemspec
View
@@ -10,6 +10,7 @@ begin
gemspec.email = "wade.minter@rackspace.com"
gemspec.homepage = "http://github.com/minter/cloudservers"
gemspec.authors = ["H. Wade Minter","Mike Mayo"]
+ gemspec.add_dependency 'json'
end
rescue LoadError
puts "Jeweler not available. Install it with: sudo gem install jeweler"
@@ -32,6 +32,7 @@ Gem::Specification.new do |s|
"lib/cloudservers/image.rb",
"lib/cloudservers/server.rb",
"lib/cloudservers/shared_ip_group.rb",
+ "minter-cloudservers.gemspec",
"test/cloudservers_authentication_test.rb",
"test/test_helper.rb"
]
@@ -50,9 +51,12 @@ 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<json>, [">= 0"])
else
+ s.add_dependency(%q<json>, [">= 0"])
end
else
+ s.add_dependency(%q<json>, [">= 0"])
end
end

0 comments on commit f5c465c

Please sign in to comment.