Changing version dependencies as per will's previous commit and

suggestions here: http://bit.ly/9D3Nan
This commit is contained in:
Sam Lown 2010-08-23 13:49:23 +02:00
parent 34779da571
commit 263773b3d8
2 changed files with 25 additions and 25 deletions

View file

@ -27,12 +27,12 @@ begin
gemspec.extra_rdoc_files = %w( README.md LICENSE THANKS.md ) gemspec.extra_rdoc_files = %w( README.md LICENSE THANKS.md )
gemspec.files = %w( LICENSE README.md Rakefile THANKS.md history.txt couchrest.gemspec) + Dir["{examples,lib,spec}/**/*"] - Dir["spec/tmp"] gemspec.files = %w( LICENSE README.md Rakefile THANKS.md history.txt couchrest.gemspec) + Dir["{examples,lib,spec}/**/*"] - Dir["spec/tmp"]
gemspec.has_rdoc = true gemspec.has_rdoc = true
gemspec.add_dependency("couchrest", ">= 1.0.0") gemspec.add_dependency("couchrest", "~> 1.0.0")
gemspec.add_dependency("mime-types", ">= 1.15") gemspec.add_dependency("mime-types", "~> 1.15")
gemspec.add_dependency("activesupport", ">= 3.0.0.rc") gemspec.add_dependency("activesupport", "~> 3.0.0.rc")
gemspec.add_dependency("activemodel", ">= 3.0.0.rc") gemspec.add_dependency("activemodel", "~> 3.0.0.rc")
gemspec.add_dependency("tzinfo", ">= 0.3.22") gemspec.add_dependency("tzinfo", "~> 0.3.22")
gemspec.add_development_dependency('rspec', '>= 2.0.0.beta.19') gemspec.add_development_dependency('rspec', '~> 2.0.0.beta.19')
gemspec.version = CouchRest::Model::VERSION gemspec.version = CouchRest::Model::VERSION
gemspec.date = Time.now.strftime("%Y-%m-%d") gemspec.date = Time.now.strftime("%Y-%m-%d")
gemspec.require_path = "lib" gemspec.require_path = "lib"

View file

@ -9,7 +9,7 @@ Gem::Specification.new do |s|
s.required_rubygems_version = Gem::Requirement.new("> 1.3.1") if s.respond_to? :required_rubygems_version= 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", "Sam Lown"] s.authors = ["J. Chris Anderson", "Matt Aimonetti", "Marcos Tapajos", "Will Leinweber", "Sam Lown"]
s.date = %q{2010-08-18} s.date = %q{2010-08-23}
s.description = %q{CouchRest Model provides aditional features to the standard CouchRest Document class such as properties, view designs, associations, callbacks, typecasting and validations.} s.description = %q{CouchRest Model provides aditional features to the standard CouchRest Document class such as properties, view designs, associations, callbacks, typecasting and validations.}
s.email = %q{jchris@apache.org} s.email = %q{jchris@apache.org}
s.extra_rdoc_files = [ s.extra_rdoc_files = [
@ -127,27 +127,27 @@ Gem::Specification.new do |s|
s.specification_version = 3 s.specification_version = 3
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
s.add_runtime_dependency(%q<couchrest>, [">= 1.0.0"]) s.add_runtime_dependency(%q<couchrest>, ["~> 1.0.0"])
s.add_runtime_dependency(%q<mime-types>, [">= 1.15"]) s.add_runtime_dependency(%q<mime-types>, ["~> 1.15"])
s.add_runtime_dependency(%q<activesupport>, [">= 3.0.0.rc"]) s.add_runtime_dependency(%q<activesupport>, ["~> 3.0.0.rc"])
s.add_runtime_dependency(%q<activemodel>, [">= 3.0.0.rc"]) s.add_runtime_dependency(%q<activemodel>, ["~> 3.0.0.rc"])
s.add_runtime_dependency(%q<tzinfo>, [">= 0.3.22"]) s.add_runtime_dependency(%q<tzinfo>, ["~> 0.3.22"])
s.add_development_dependency(%q<rspec>, [">= 2.0.0.beta.19"]) s.add_development_dependency(%q<rspec>, ["~> 2.0.0.beta.19"])
else else
s.add_dependency(%q<couchrest>, [">= 1.0.0"]) s.add_dependency(%q<couchrest>, ["~> 1.0.0"])
s.add_dependency(%q<mime-types>, [">= 1.15"]) s.add_dependency(%q<mime-types>, ["~> 1.15"])
s.add_dependency(%q<activesupport>, [">= 3.0.0.rc"]) s.add_dependency(%q<activesupport>, ["~> 3.0.0.rc"])
s.add_dependency(%q<activemodel>, [">= 3.0.0.rc"]) s.add_dependency(%q<activemodel>, ["~> 3.0.0.rc"])
s.add_dependency(%q<tzinfo>, [">= 0.3.22"]) s.add_dependency(%q<tzinfo>, ["~> 0.3.22"])
s.add_dependency(%q<rspec>, [">= 2.0.0.beta.19"]) s.add_dependency(%q<rspec>, ["~> 2.0.0.beta.19"])
end end
else else
s.add_dependency(%q<couchrest>, [">= 1.0.0"]) s.add_dependency(%q<couchrest>, ["~> 1.0.0"])
s.add_dependency(%q<mime-types>, [">= 1.15"]) s.add_dependency(%q<mime-types>, ["~> 1.15"])
s.add_dependency(%q<activesupport>, [">= 3.0.0.rc"]) s.add_dependency(%q<activesupport>, ["~> 3.0.0.rc"])
s.add_dependency(%q<activemodel>, [">= 3.0.0.rc"]) s.add_dependency(%q<activemodel>, ["~> 3.0.0.rc"])
s.add_dependency(%q<tzinfo>, [">= 0.3.22"]) s.add_dependency(%q<tzinfo>, ["~> 0.3.22"])
s.add_dependency(%q<rspec>, [">= 2.0.0.beta.19"]) s.add_dependency(%q<rspec>, ["~> 2.0.0.beta.19"])
end end
end end