mongoid_i18n.gemspec in mongoid_i18n-0.1.8 vs mongoid_i18n.gemspec in mongoid_i18n-0.2.0

- old
+ new

@@ -3,15 +3,15 @@ # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec' # -*- encoding: utf-8 -*- Gem::Specification.new do |s| s.name = %q{mongoid_i18n} - s.version = "0.1.8" + s.version = "0.2.0" s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version= s.authors = ["Rodrigo \303\201lvarez"] - s.date = %q{2010-11-19} + s.date = %q{2011-04-08} s.description = %q{This gem aims to be a transparent way to deal with localizable fields. Basically use localized_field() instead of field() and that's it. It will take care of locales for you when using find or criteria. } s.email = %q{papipo@gmail.com} @@ -27,56 +27,51 @@ "LICENSE", "README.rdoc", "Rakefile", "VERSION", "lib/mongoid/i18n.rb", - "lib/mongoid/i18n/localized_criteria.rb", + "lib/mongoid/i18n/criterion/selector.rb", "lib/mongoid/i18n/localized_field.rb", "mongoid_i18n.gemspec", "spec/.rspec", "spec/integration/mongoid/i18n_spec.rb", - "spec/spec_helper.rb", - "spec/unit/mongoid/i18n/localized_criteria_spec.rb", - "spec/unit/mongoid/i18n_spec.rb" + "spec/spec_helper.rb" ] s.homepage = %q{http://github.com/Papipo/mongoid_i18n} s.require_paths = ["lib"] - s.rubygems_version = %q{1.3.7} + s.rubygems_version = %q{1.6.2} s.summary = %q{Mongoid plugin to deal with localizable fields} s.test_files = [ "spec/integration/mongoid/i18n_spec.rb", - "spec/spec_helper.rb", - "spec/unit/mongoid/i18n/localized_criteria_spec.rb", - "spec/unit/mongoid/i18n_spec.rb" + "spec/spec_helper.rb" ] if s.respond_to? :specification_version then - current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION s.specification_version = 3 if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then - s.add_runtime_dependency(%q<bson_ext>, [">= 0"]) - s.add_runtime_dependency(%q<mongoid>, [">= 2.0.0.beta.9"]) - s.add_runtime_dependency(%q<rspec>, [">= 2.0.0.beta.8"]) + s.add_runtime_dependency(%q<bson_ext>, ["~> 1.2"]) + s.add_runtime_dependency(%q<mongoid>, [">= 2.0.0"]) + s.add_runtime_dependency(%q<rspec>, [">= 0"]) s.add_runtime_dependency(%q<mocha>, [">= 0"]) s.add_runtime_dependency(%q<jeweler>, [">= 0"]) s.add_runtime_dependency(%q<bundler>, [">= 0"]) s.add_runtime_dependency(%q<mongoid>, [">= 2.0.0.beta.20"]) s.add_development_dependency(%q<rspec>, ["= 2.1.0"]) else - s.add_dependency(%q<bson_ext>, [">= 0"]) - s.add_dependency(%q<mongoid>, [">= 2.0.0.beta.9"]) - s.add_dependency(%q<rspec>, [">= 2.0.0.beta.8"]) + s.add_dependency(%q<bson_ext>, ["~> 1.2"]) + s.add_dependency(%q<mongoid>, [">= 2.0.0"]) + s.add_dependency(%q<rspec>, [">= 0"]) s.add_dependency(%q<mocha>, [">= 0"]) s.add_dependency(%q<jeweler>, [">= 0"]) s.add_dependency(%q<bundler>, [">= 0"]) s.add_dependency(%q<mongoid>, [">= 2.0.0.beta.20"]) s.add_dependency(%q<rspec>, ["= 2.1.0"]) end else - s.add_dependency(%q<bson_ext>, [">= 0"]) - s.add_dependency(%q<mongoid>, [">= 2.0.0.beta.9"]) - s.add_dependency(%q<rspec>, [">= 2.0.0.beta.8"]) + s.add_dependency(%q<bson_ext>, ["~> 1.2"]) + s.add_dependency(%q<mongoid>, [">= 2.0.0"]) + s.add_dependency(%q<rspec>, [">= 0"]) s.add_dependency(%q<mocha>, [">= 0"]) s.add_dependency(%q<jeweler>, [">= 0"]) s.add_dependency(%q<bundler>, [">= 0"]) s.add_dependency(%q<mongoid>, [">= 2.0.0.beta.20"]) s.add_dependency(%q<rspec>, ["= 2.1.0"])