couchrest.gemspec in couchrest-1.0.0.beta vs couchrest.gemspec in couchrest-1.0.0.beta2

- old
+ new

@@ -3,15 +3,15 @@ # Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command # -*- encoding: utf-8 -*- Gem::Specification.new do |s| s.name = %q{couchrest} - s.version = "1.0.0.beta" + s.version = "1.0.0.beta2" s.required_rubygems_version = Gem::Requirement.new("> 1.3.1") if s.respond_to? :required_rubygems_version= s.authors = ["J. Chris Anderson", "Matt Aimonetti", "Marcos Tapajos", "Will Leinweber"] - s.date = %q{2010-06-15} + s.date = %q{2010-07-01} s.description = %q{CouchRest provides a simple interface on top of CouchDB's RESTful HTTP API, as well as including some utility scripts for managing views and attachments.} s.email = %q{jchris@apache.org} s.extra_rdoc_files = [ "LICENSE", "README.md", @@ -71,11 +71,11 @@ "utils/subset.rb" ] s.homepage = %q{http://github.com/couchrest/couchrest} s.rdoc_options = ["--charset=UTF-8"] s.require_paths = ["lib"] - s.rubygems_version = %q{1.3.6} + s.rubygems_version = %q{1.3.7} s.summary = %q{Lean and RESTful interface to CouchDB.} s.test_files = [ "spec/couchrest/couchrest_spec.rb", "spec/couchrest/database_spec.rb", "spec/couchrest/design_spec.rb", @@ -91,15 +91,18 @@ if s.respond_to? :specification_version then current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION s.specification_version = 3 - if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then + if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then s.add_runtime_dependency(%q<rest-client>, [">= 1.5.1"]) + s.add_runtime_dependency(%q<json>, ["<= 1.4.2"]) else s.add_dependency(%q<rest-client>, [">= 1.5.1"]) + s.add_dependency(%q<json>, ["<= 1.4.2"]) end else s.add_dependency(%q<rest-client>, [">= 1.5.1"]) + s.add_dependency(%q<json>, ["<= 1.4.2"]) end end