From 263773b3d8a8179e226f7c2677dbbd6f7eef5b74 Mon Sep 17 00:00:00 2001 From: Sam Lown Date: Mon, 23 Aug 2010 13:49:23 +0200 Subject: [PATCH] Changing version dependencies as per will's previous commit and suggestions here: http://bit.ly/9D3Nan --- Rakefile | 12 ++++++------ couchrest_model.gemspec | 38 +++++++++++++++++++------------------- 2 files changed, 25 insertions(+), 25 deletions(-) diff --git a/Rakefile b/Rakefile index 0f2d417..3673ddd 100644 --- a/Rakefile +++ b/Rakefile @@ -27,12 +27,12 @@ begin 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.has_rdoc = true - gemspec.add_dependency("couchrest", ">= 1.0.0") - gemspec.add_dependency("mime-types", ">= 1.15") - gemspec.add_dependency("activesupport", ">= 3.0.0.rc") - gemspec.add_dependency("activemodel", ">= 3.0.0.rc") - gemspec.add_dependency("tzinfo", ">= 0.3.22") - gemspec.add_development_dependency('rspec', '>= 2.0.0.beta.19') + gemspec.add_dependency("couchrest", "~> 1.0.0") + gemspec.add_dependency("mime-types", "~> 1.15") + gemspec.add_dependency("activesupport", "~> 3.0.0.rc") + gemspec.add_dependency("activemodel", "~> 3.0.0.rc") + gemspec.add_dependency("tzinfo", "~> 0.3.22") + gemspec.add_development_dependency('rspec', '~> 2.0.0.beta.19') gemspec.version = CouchRest::Model::VERSION gemspec.date = Time.now.strftime("%Y-%m-%d") gemspec.require_path = "lib" diff --git a/couchrest_model.gemspec b/couchrest_model.gemspec index 4847e3e..069b637 100644 --- a/couchrest_model.gemspec +++ b/couchrest_model.gemspec @@ -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.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.email = %q{jchris@apache.org} s.extra_rdoc_files = [ @@ -127,27 +127,27 @@ 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, [">= 1.0.0"]) - s.add_runtime_dependency(%q, [">= 1.15"]) - s.add_runtime_dependency(%q, [">= 3.0.0.rc"]) - s.add_runtime_dependency(%q, [">= 3.0.0.rc"]) - s.add_runtime_dependency(%q, [">= 0.3.22"]) - s.add_development_dependency(%q, [">= 2.0.0.beta.19"]) + s.add_runtime_dependency(%q, ["~> 1.0.0"]) + s.add_runtime_dependency(%q, ["~> 1.15"]) + s.add_runtime_dependency(%q, ["~> 3.0.0.rc"]) + s.add_runtime_dependency(%q, ["~> 3.0.0.rc"]) + s.add_runtime_dependency(%q, ["~> 0.3.22"]) + s.add_development_dependency(%q, ["~> 2.0.0.beta.19"]) else - s.add_dependency(%q, [">= 1.0.0"]) - s.add_dependency(%q, [">= 1.15"]) - s.add_dependency(%q, [">= 3.0.0.rc"]) - s.add_dependency(%q, [">= 3.0.0.rc"]) - s.add_dependency(%q, [">= 0.3.22"]) - s.add_dependency(%q, [">= 2.0.0.beta.19"]) + s.add_dependency(%q, ["~> 1.0.0"]) + s.add_dependency(%q, ["~> 1.15"]) + s.add_dependency(%q, ["~> 3.0.0.rc"]) + s.add_dependency(%q, ["~> 3.0.0.rc"]) + s.add_dependency(%q, ["~> 0.3.22"]) + s.add_dependency(%q, ["~> 2.0.0.beta.19"]) end else - s.add_dependency(%q, [">= 1.0.0"]) - s.add_dependency(%q, [">= 1.15"]) - s.add_dependency(%q, [">= 3.0.0.rc"]) - s.add_dependency(%q, [">= 3.0.0.rc"]) - s.add_dependency(%q, [">= 0.3.22"]) - s.add_dependency(%q, [">= 2.0.0.beta.19"]) + s.add_dependency(%q, ["~> 1.0.0"]) + s.add_dependency(%q, ["~> 1.15"]) + s.add_dependency(%q, ["~> 3.0.0.rc"]) + s.add_dependency(%q, ["~> 3.0.0.rc"]) + s.add_dependency(%q, ["~> 0.3.22"]) + s.add_dependency(%q, ["~> 2.0.0.beta.19"]) end end