mongoid_i18n.gemspec in mongoid_i18n-0.1.4 vs mongoid_i18n.gemspec in mongoid_i18n-0.1.5

- old
+ new

@@ -3,15 +3,15 @@ # Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command # -*- encoding: utf-8 -*- Gem::Specification.new do |s| s.name = %q{mongoid_i18n} - s.version = "0.1.4" + s.version = "0.1.5" s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version= s.authors = ["Rodrigo \303\201lvarez"] - s.date = %q{2010-07-06} + s.date = %q{2010-07-29} 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} @@ -38,11 +38,11 @@ "spec/unit/mongoid/i18n_spec.rb" ] s.homepage = %q{http://github.com/Papipo/mongoid_i18n} s.rdoc_options = ["--charset=UTF-8"] s.require_paths = ["lib"] - s.rubygems_version = %q{1.3.7} + s.rubygems_version = %q{1.3.6} 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", @@ -51,18 +51,18 @@ 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<mongoid>, [">= 2.0.0.beta9"]) + if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then + s.add_runtime_dependency(%q<mongoid>, [">= 2.0.0.beta.9"]) s.add_development_dependency(%q<rspec>, [">= 2.0.0.beta.8"]) else - s.add_dependency(%q<mongoid>, [">= 2.0.0.beta9"]) + s.add_dependency(%q<mongoid>, [">= 2.0.0.beta.9"]) s.add_dependency(%q<rspec>, [">= 2.0.0.beta.8"]) end else - s.add_dependency(%q<mongoid>, [">= 2.0.0.beta9"]) + s.add_dependency(%q<mongoid>, [">= 2.0.0.beta.9"]) s.add_dependency(%q<rspec>, [">= 2.0.0.beta.8"]) end end