diff --git a/CHANGELOG.md b/CHANGELOG.md index 0d27b5ee..5398f74d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +## 1.11.1 + +- Fixed a regression where model names were not translated. +- Fixed the model name being inappropriately downcased in the errors partial in German. +- Updated ar, cs, da, de, and en-GB translations. + ## 1.11.0 - Updated views for devise 4.9 per: diff --git a/VERSION b/VERSION index 1cac385c..720c7384 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.11.0 +1.11.1 diff --git a/devise-i18n.gemspec b/devise-i18n.gemspec index 111d217b..8bffac37 100644 --- a/devise-i18n.gemspec +++ b/devise-i18n.gemspec @@ -2,16 +2,16 @@ # DO NOT EDIT THIS FILE DIRECTLY # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec' # -*- encoding: utf-8 -*- -# stub: devise-i18n 1.11.0 ruby lib +# stub: devise-i18n 1.11.1 ruby lib Gem::Specification.new do |s| s.name = "devise-i18n".freeze - s.version = "1.11.0" + s.version = "1.11.1" s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version= s.require_paths = ["lib".freeze] s.authors = ["Christopher Dell".freeze, "mcasimir".freeze, "Jason Barnabe".freeze] - s.date = "2023-02-19" + s.date = "2023-10-03" s.description = "Translations for the devise gem".freeze s.email = "chris@tigrish.com".freeze s.extra_rdoc_files = [ @@ -36,6 +36,7 @@ Gem::Specification.new do |s| "app/views/devise/unlocks/new.html.erb", "lib/devise-i18n.rb", "lib/devise-i18n/railtie.rb", + "lib/devise-i18n/view_helpers.rb", "lib/generators/devise/i18n/locale_generator.rb", "lib/generators/devise/i18n/views_generator.rb", "lib/generators/devise/templates/simple_form_for/confirmations/new.html.erb", @@ -120,33 +121,23 @@ Gem::Specification.new do |s| ] s.homepage = "https://github.com/tigrish/devise-i18n".freeze s.licenses = ["MIT".freeze] - s.rubygems_version = "3.0.3".freeze + s.rubygems_version = "3.1.6".freeze s.summary = "Translations for the devise gem".freeze if s.respond_to? :specification_version then s.specification_version = 4 + end - if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then - s.add_runtime_dependency(%q.freeze, [">= 4.9.0"]) - s.add_development_dependency(%q.freeze, [">= 2.8.0"]) - s.add_development_dependency(%q.freeze, [">= 0"]) - s.add_development_dependency(%q.freeze, [">= 0"]) - s.add_development_dependency(%q.freeze, ["~> 0.6.0"]) - s.add_development_dependency(%q.freeze, [">= 0"]) - s.add_development_dependency(%q.freeze, [">= 0"]) - s.add_development_dependency(%q.freeze, [">= 0"]) - s.add_development_dependency(%q.freeze, [">= 0"]) - else - s.add_dependency(%q.freeze, [">= 4.9.0"]) - s.add_dependency(%q.freeze, [">= 2.8.0"]) - s.add_dependency(%q.freeze, [">= 0"]) - s.add_dependency(%q.freeze, [">= 0"]) - s.add_dependency(%q.freeze, ["~> 0.6.0"]) - s.add_dependency(%q.freeze, [">= 0"]) - s.add_dependency(%q.freeze, [">= 0"]) - s.add_dependency(%q.freeze, [">= 0"]) - s.add_dependency(%q.freeze, [">= 0"]) - end + if s.respond_to? :add_runtime_dependency then + s.add_runtime_dependency(%q.freeze, [">= 4.9.0"]) + s.add_development_dependency(%q.freeze, [">= 2.8.0"]) + s.add_development_dependency(%q.freeze, [">= 0"]) + s.add_development_dependency(%q.freeze, [">= 0"]) + s.add_development_dependency(%q.freeze, ["~> 0.6.0"]) + s.add_development_dependency(%q.freeze, [">= 0"]) + s.add_development_dependency(%q.freeze, [">= 0"]) + s.add_development_dependency(%q.freeze, [">= 0"]) + s.add_development_dependency(%q.freeze, [">= 0"]) else s.add_dependency(%q.freeze, [">= 4.9.0"]) s.add_dependency(%q.freeze, [">= 2.8.0"])