mongoid_i18n.gemspec in mongoid_i18n-0.2.1 vs mongoid_i18n.gemspec in mongoid_i18n-0.3.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.2.1" + s.version = "0.3.0" s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version= s.authors = ["Rodrigo \303\201lvarez"] - s.date = %q{2011-04-08} + s.date = %q{2011-05-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} @@ -26,56 +26,66 @@ "Gemfile.lock", "LICENSE", "README.rdoc", "Rakefile", "VERSION", + "config/locales/en.yml", "lib/mongoid/i18n.rb", "lib/mongoid/i18n/criterion/selector.rb", "lib/mongoid/i18n/localized_field.rb", + "lib/mongoid/i18n/localized_validator.rb", "mongoid_i18n.gemspec", "spec/.rspec", "spec/integration/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.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" - ] 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<bson_ext>, ["~> 1.2"]) + s.add_runtime_dependency(%q<mongoid_i18n>, [">= 0"]) + s.add_development_dependency(%q<rspec>, [">= 0"]) + s.add_development_dependency(%q<rspec>, [">= 0"]) + s.add_development_dependency(%q<mocha>, [">= 0"]) + s.add_development_dependency(%q<jeweler>, [">= 0"]) + s.add_development_dependency(%q<bundler>, [">= 0"]) 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"]) + s.add_runtime_dependency(%q<bson_ext>, ["~> 1.2"]) s.add_development_dependency(%q<rspec>, [">= 0"]) + s.add_development_dependency(%q<mocha>, [">= 0"]) + s.add_development_dependency(%q<jeweler>, [">= 0"]) + s.add_development_dependency(%q<bundler>, [">= 0"]) else - s.add_dependency(%q<bson_ext>, ["~> 1.2"]) - s.add_dependency(%q<mongoid>, [">= 2.0.0"]) + s.add_dependency(%q<mongoid_i18n>, [">= 0"]) s.add_dependency(%q<rspec>, [">= 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"]) + s.add_dependency(%q<bson_ext>, ["~> 1.2"]) s.add_dependency(%q<rspec>, [">= 0"]) + s.add_dependency(%q<mocha>, [">= 0"]) + s.add_dependency(%q<jeweler>, [">= 0"]) + s.add_dependency(%q<bundler>, [">= 0"]) end else - s.add_dependency(%q<bson_ext>, ["~> 1.2"]) - s.add_dependency(%q<mongoid>, [">= 2.0.0"]) + s.add_dependency(%q<mongoid_i18n>, [">= 0"]) s.add_dependency(%q<rspec>, [">= 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"]) + s.add_dependency(%q<bson_ext>, ["~> 1.2"]) s.add_dependency(%q<rspec>, [">= 0"]) + s.add_dependency(%q<mocha>, [">= 0"]) + s.add_dependency(%q<jeweler>, [">= 0"]) + s.add_dependency(%q<bundler>, [">= 0"]) end end