mongoid-locker.gemspec in mongoid-locker-0.1.1 vs mongoid-locker.gemspec in mongoid-locker-0.2.0

- old
+ new

@@ -3,34 +3,39 @@ # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec' # -*- encoding: utf-8 -*- Gem::Specification.new do |s| s.name = "mongoid-locker" - s.version = "0.1.1" + s.version = "0.2.0" s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version= s.authors = ["Aidan Feldman"] - s.date = "2012-07-11" + s.date = "2012-08-27" s.description = "Allows multiple processes to operate on individual documents in MongoDB while ensuring that only one can act at a time." s.email = "aidan.feldman@gmail.com" s.extra_rdoc_files = [ "LICENSE.txt", "README.md" ] s.files = [ ".document", ".rspec", ".travis.yml", + "Appraisals", "CHANGELOG.md", "Gemfile", + "Gemfile.lock", "Guardfile", "LICENSE.txt", "README.md", "Rakefile", "VERSION", + "gemfiles/mongoid2.gemfile", + "gemfiles/mongoid3.gemfile", "lib/mongoid-locker.rb", "lib/mongoid/locker.rb", + "lib/mongoid/locker/wrapper.rb", "mongoid-locker.gemspec", "spec/database.yml", "spec/mongoid-locker_spec.rb", "spec/spec_helper.rb" ] @@ -42,29 +47,35 @@ if s.respond_to? :specification_version then s.specification_version = 3 if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then - s.add_runtime_dependency(%q<mongoid>, ["~> 2.4"]) + s.add_runtime_dependency(%q<mongoid>, ["<= 3.1", ">= 2.4"]) s.add_development_dependency(%q<rspec>, ["~> 2.8"]) s.add_development_dependency(%q<bundler>, ["~> 1.1"]) s.add_development_dependency(%q<jeweler>, ["~> 1.8"]) s.add_development_dependency(%q<guard-rspec>, [">= 0"]) s.add_development_dependency(%q<bson_ext>, [">= 0"]) + s.add_development_dependency(%q<rake>, [">= 0"]) + s.add_development_dependency(%q<appraisal>, [">= 0"]) else - s.add_dependency(%q<mongoid>, ["~> 2.4"]) + s.add_dependency(%q<mongoid>, ["<= 3.1", ">= 2.4"]) s.add_dependency(%q<rspec>, ["~> 2.8"]) s.add_dependency(%q<bundler>, ["~> 1.1"]) s.add_dependency(%q<jeweler>, ["~> 1.8"]) s.add_dependency(%q<guard-rspec>, [">= 0"]) s.add_dependency(%q<bson_ext>, [">= 0"]) + s.add_dependency(%q<rake>, [">= 0"]) + s.add_dependency(%q<appraisal>, [">= 0"]) end else - s.add_dependency(%q<mongoid>, ["~> 2.4"]) + s.add_dependency(%q<mongoid>, ["<= 3.1", ">= 2.4"]) s.add_dependency(%q<rspec>, ["~> 2.8"]) s.add_dependency(%q<bundler>, ["~> 1.1"]) s.add_dependency(%q<jeweler>, ["~> 1.8"]) s.add_dependency(%q<guard-rspec>, [">= 0"]) s.add_dependency(%q<bson_ext>, [">= 0"]) + s.add_dependency(%q<rake>, [">= 0"]) + s.add_dependency(%q<appraisal>, [">= 0"]) end end