Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Gem dependency on json.

  • Loading branch information...
commit f5c465c322618db0d673944c476f4eeacfbfc48e 1 parent 8177796
authored February 09, 2010
1  Rakefile
@@ -10,6 +10,7 @@ begin
10 10
     gemspec.email = "wade.minter@rackspace.com"
11 11
     gemspec.homepage = "http://github.com/minter/cloudservers"
12 12
     gemspec.authors = ["H. Wade Minter","Mike Mayo"]
  13
+    gemspec.add_dependency 'json'
13 14
   end
14 15
 rescue LoadError
15 16
   puts "Jeweler not available. Install it with: sudo gem install jeweler"
4  minter-cloudservers.gemspec
@@ -32,6 +32,7 @@ Gem::Specification.new do |s|
32 32
      "lib/cloudservers/image.rb",
33 33
      "lib/cloudservers/server.rb",
34 34
      "lib/cloudservers/shared_ip_group.rb",
  35
+     "minter-cloudservers.gemspec",
35 36
      "test/cloudservers_authentication_test.rb",
36 37
      "test/test_helper.rb"
37 38
   ]
@@ -50,9 +51,12 @@ Gem::Specification.new do |s|
50 51
     s.specification_version = 3
51 52
 
52 53
     if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
  54
+      s.add_runtime_dependency(%q<json>, [">= 0"])
53 55
     else
  56
+      s.add_dependency(%q<json>, [">= 0"])
54 57
     end
55 58
   else
  59
+    s.add_dependency(%q<json>, [">= 0"])
56 60
   end
57 61
 end
58 62
 

0 notes on commit f5c465c

Please sign in to comment.
Something went wrong with that request. Please try again.