Hello community, here is the log from the commit of package rubygem-i18n for openSUSE:Factory checked in at 2019-03-27 16:18:23 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/rubygem-i18n (Old) and /work/SRC/openSUSE:Factory/.rubygem-i18n.new.25356 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygem-i18n" Wed Mar 27 16:18:23 2019 rev:24 rq:685139 version:1.6.0 Changes: -------- --- /work/SRC/openSUSE:Factory/rubygem-i18n/rubygem-i18n.changes 2019-01-28 20:50:20.693784957 +0100 +++ /work/SRC/openSUSE:Factory/.rubygem-i18n.new.25356/rubygem-i18n.changes 2019-03-27 16:18:27.675566551 +0100 @@ -1,0 +2,6 @@ +Thu Mar 14 10:57:48 UTC 2019 - Stephan Kulow <co...@suse.com> + +- updated to version 1.6.0 + no changelog found + +------------------------------------------------------------------- Old: ---- i18n-1.5.3.gem New: ---- i18n-1.6.0.gem ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ rubygem-i18n.spec ++++++ --- /var/tmp/diff_new_pack.QGYCaS/_old 2019-03-27 16:18:29.515566168 +0100 +++ /var/tmp/diff_new_pack.QGYCaS/_new 2019-03-27 16:18:29.547566161 +0100 @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -24,7 +24,7 @@ # Name: rubygem-i18n -Version: 1.5.3 +Version: 1.6.0 Release: 0 %define mod_name i18n %define mod_full_name %{mod_name}-%{version} @@ -32,7 +32,7 @@ BuildRequires: %{ruby >= 2.3.0} BuildRequires: %{rubygem gem2rpm} BuildRequires: ruby-macros >= 5 -Url: http://github.com/svenfuchs/i18n +Url: http://github.com/ruby-i18n/i18n Source: https://rubygems.org/gems/%{mod_full_name}.gem Source1: gem2rpm.yml Summary: New wave Internationalization support for Ruby ++++++ i18n-1.5.3.gem -> i18n-1.6.0.gem ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/README.md new/README.md --- old/README.md 2019-01-21 22:38:30.000000000 +0100 +++ new/README.md 2019-03-03 22:08:16.000000000 +0100 @@ -67,7 +67,7 @@ * Cache * Pluralization: lambda pluralizers stored as translation data * Locale fallbacks, RFC4647 compliant (optionally: RFC4646 locale validation) -* [Gettext support](https://github.com/svenfuchs/i18n/wiki/Gettext) +* [Gettext support](https://github.com/ruby-i18n/i18n/wiki/Gettext) * Translation metadata ## Alternative Backend @@ -76,7 +76,7 @@ * ActiveRecord (optionally: ActiveRecord::Missing and ActiveRecord::StoreProcs) * KeyValue (uses active_support/json and cannot store procs) -For more information and lots of resources see [the 'Resources' page on the wiki](https://github.com/svenfuchs/i18n/wiki/Resources). +For more information and lots of resources see [the 'Resources' page on the wiki](https://github.com/ruby-i18n/i18n/wiki/Resources). ## Tests Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/i18n/backend/base.rb new/lib/i18n/backend/base.rb --- old/lib/i18n/backend/base.rb 2019-01-21 22:38:30.000000000 +0100 +++ new/lib/i18n/backend/base.rb 2019-03-03 22:08:16.000000000 +0100 @@ -95,10 +95,19 @@ end def reload! + eager_load! if eager_loaded? + end + + def eager_load! + @eager_loaded = true end protected + def eager_loaded? + @eager_loaded ||= false + end + # The method which actually looks up for the translation in the store. def lookup(locale, key, scope = [], options = EMPTY_HASH) raise NotImplementedError @@ -248,12 +257,16 @@ end def translate_localization_format(locale, object, format, options) - format.to_s.gsub(/%[aAbBpP]/) do |match| + format.to_s.gsub(/%(|\^)[aAbBpP]/) do |match| case match when '%a' then I18n.t!(:"date.abbr_day_names", :locale => locale, :format => format)[object.wday] + when '%^a' then I18n.t!(:"date.abbr_day_names", :locale => locale, :format => format)[object.wday].upcase when '%A' then I18n.t!(:"date.day_names", :locale => locale, :format => format)[object.wday] + when '%^A' then I18n.t!(:"date.day_names", :locale => locale, :format => format)[object.wday].upcase when '%b' then I18n.t!(:"date.abbr_month_names", :locale => locale, :format => format)[object.mon] + when '%^b' then I18n.t!(:"date.abbr_month_names", :locale => locale, :format => format)[object.mon].upcase when '%B' then I18n.t!(:"date.month_names", :locale => locale, :format => format)[object.mon] + when '%^B' then I18n.t!(:"date.month_names", :locale => locale, :format => format)[object.mon].upcase when '%p' then I18n.t!(:"time.#{object.hour < 12 ? :am : :pm}", :locale => locale, :format => format).upcase if object.respond_to? :hour when '%P' then I18n.t!(:"time.#{object.hour < 12 ? :am : :pm}", :locale => locale, :format => format).downcase if object.respond_to? :hour end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/i18n/backend/cache.rb new/lib/i18n/backend/cache.rb --- old/lib/i18n/backend/cache.rb 2019-01-21 22:38:30.000000000 +0100 +++ new/lib/i18n/backend/cache.rb 2019-03-03 22:08:16.000000000 +0100 @@ -106,7 +106,7 @@ private def digest_item(key) - I18n.cache_key_digest ? I18n.cache_key_digest.hexdigest(key.to_s) : key.hash + I18n.cache_key_digest ? I18n.cache_key_digest.hexdigest(key.to_s) : key.to_s.hash end end end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/i18n/backend/chain.rb new/lib/i18n/backend/chain.rb --- old/lib/i18n/backend/chain.rb 2019-01-21 22:38:30.000000000 +0100 +++ new/lib/i18n/backend/chain.rb 2019-03-03 22:08:16.000000000 +0100 @@ -41,6 +41,10 @@ backends.each { |backend| backend.reload! } end + def eager_load! + backends.each { |backend| backend.eager_load! } + end + def store_translations(locale, data, options = EMPTY_HASH) backends.first.store_translations(locale, data, options) end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/i18n/backend/memoize.rb new/lib/i18n/backend/memoize.rb --- old/lib/i18n/backend/memoize.rb 2019-01-21 22:38:30.000000000 +0100 +++ new/lib/i18n/backend/memoize.rb 2019-03-03 22:08:16.000000000 +0100 @@ -26,6 +26,12 @@ super end + def eager_load! + memoized_lookup + available_locales + super + end + protected def lookup(locale, key, scope = nil, options = EMPTY_HASH) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/i18n/backend/simple.rb new/lib/i18n/backend/simple.rb --- old/lib/i18n/backend/simple.rb 2019-01-21 22:38:30.000000000 +0100 +++ new/lib/i18n/backend/simple.rb 2019-03-03 22:08:16.000000000 +0100 @@ -63,6 +63,11 @@ super end + def eager_load! + init_translations unless initialized? + super + end + def translations(do_init: false) # To avoid returning empty translations, # call `init_translations` diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/i18n/config.rb new/lib/i18n/config.rb --- old/lib/i18n/config.rb 2019-01-21 22:38:30.000000000 +0100 +++ new/lib/i18n/config.rb 2019-03-03 22:08:16.000000000 +0100 @@ -7,7 +7,7 @@ # The only configuration value that is not global and scoped to thread is :locale. # It defaults to the default_locale. def locale - defined?(@locale) && @locale ? @locale : default_locale + defined?(@locale) && @locale != nil ? @locale : default_locale end # Sets the current locale pseudo-globally, i.e. in the Thread.current hash. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/i18n/exceptions.rb new/lib/i18n/exceptions.rb --- old/lib/i18n/exceptions.rb 2019-01-21 22:38:30.000000000 +0100 +++ new/lib/i18n/exceptions.rb 2019-03-03 22:08:16.000000000 +0100 @@ -15,6 +15,20 @@ class ArgumentError < ::ArgumentError; end + class Disabled < ArgumentError + def initialize(method) + super(<<~MESSAGE) + I18n.#{method} is currently disabled, likely because your application is still in its loading phase. + + This method is meant to display text in the user locale, so calling it before the user locale has + been set is likely to display text from the wrong locale to some users. + + If you have a legitimate reason to access i18n data outside of the user flow, you can do so by passing + the desired locale explictly with the `locale` argument, e.g. `I18n.#{method}(..., locale: :en)` + MESSAGE + end + end + class InvalidLocale < ArgumentError attr_reader :locale def initialize(locale) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/i18n/tests/localization/date.rb new/lib/i18n/tests/localization/date.rb --- old/lib/i18n/tests/localization/date.rb 2019-01-21 22:38:30.000000000 +0100 +++ new/lib/i18n/tests/localization/date.rb 2019-03-03 22:08:16.000000000 +0100 @@ -11,8 +11,7 @@ end test "localize Date: given the short format it uses it" do - # TODO should be Mrz, shouldn't it? - assert_equal '01. Mar', I18n.l(@date, :format => :short, :locale => :de) + assert_equal '01. Mär', I18n.l(@date, :format => :short, :locale => :de) end test "localize Date: given the long format it uses it" do @@ -27,17 +26,36 @@ assert_equal 'Samstag', I18n.l(@date, :format => '%A', :locale => :de) end + test "localize Date: given a uppercased day name format it returns the correct day name in upcase" do + assert_equal 'samstag'.upcase, I18n.l(@date, :format => '%^A', :locale => :de) + end + test "localize Date: given an abbreviated day name format it returns the correct abbreviated day name" do assert_equal 'Sa', I18n.l(@date, :format => '%a', :locale => :de) end + test "localize Date: given an abbreviated and uppercased day name format it returns the correct abbreviated day name in upcase" do + assert_equal 'sa'.upcase, I18n.l(@date, :format => '%^a', :locale => :de) + end + test "localize Date: given a month name format it returns the correct month name" do assert_equal 'März', I18n.l(@date, :format => '%B', :locale => :de) end + test "localize Date: given a uppercased month name format it returns the correct month name in upcase" do + assert_equal 'märz'.upcase, I18n.l(@date, :format => '%^B', :locale => :de) + end + test "localize Date: given an abbreviated month name format it returns the correct abbreviated month name" do - # TODO should be Mrz, shouldn't it? - assert_equal 'Mar', I18n.l(@date, :format => '%b', :locale => :de) + assert_equal 'Mär', I18n.l(@date, :format => '%b', :locale => :de) + end + + test "localize Date: given an abbreviated and uppercased month name format it returns the correct abbreviated month name in upcase" do + assert_equal 'mär'.upcase, I18n.l(@date, :format => '%^b', :locale => :de) + end + + test "localize Date: given a date format with the month name upcased it returns the correct value" do + assert_equal '1. FEBRUAR 2008', I18n.l(::Date.new(2008, 2, 1), :format => "%-d. %^B %Y", :locale => :de) end test "localize Date: given missing translations it returns the correct error message" do @@ -50,7 +68,7 @@ test "localize Date: does not modify the options hash" do options = { :format => '%b', :locale => :de } - assert_equal 'Mar', I18n.l(@date, options) + assert_equal 'Mär', I18n.l(@date, options) assert_equal({ :format => '%b', :locale => :de }, options) assert_nothing_raised { I18n.l(@date, options.freeze) } end @@ -89,7 +107,7 @@ :day_names => %w(Sonntag Montag Dienstag Mittwoch Donnerstag Freitag Samstag), :abbr_day_names => %w(So Mo Di Mi Do Fr Sa), :month_names => %w(Januar Februar März April Mai Juni Juli August September Oktober November Dezember).unshift(nil), - :abbr_month_names => %w(Jan Feb Mar Apr Mai Jun Jul Aug Sep Okt Nov Dez).unshift(nil) + :abbr_month_names => %w(Jan Feb Mär Apr Mai Jun Jul Aug Sep Okt Nov Dez).unshift(nil) } } end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/i18n/tests/localization/date_time.rb new/lib/i18n/tests/localization/date_time.rb --- old/lib/i18n/tests/localization/date_time.rb 2019-01-21 22:38:30.000000000 +0100 +++ new/lib/i18n/tests/localization/date_time.rb 2019-03-03 22:08:16.000000000 +0100 @@ -12,8 +12,7 @@ end test "localize DateTime: given the short format it uses it" do - # TODO should be Mrz, shouldn't it? - assert_equal '01. Mar 06:00', I18n.l(@datetime, :format => :short, :locale => :de) + assert_equal '01. Mär 06:00', I18n.l(@datetime, :format => :short, :locale => :de) end test "localize DateTime: given the long format it uses it" do @@ -21,25 +20,43 @@ end test "localize DateTime: given the default format it uses it" do - # TODO should be Mrz, shouldn't it? - assert_equal 'Sa, 01. Mar 2008 06:00:00 +0000', I18n.l(@datetime, :format => :default, :locale => :de) + assert_equal 'Sa, 01. Mär 2008 06:00:00 +0000', I18n.l(@datetime, :format => :default, :locale => :de) end test "localize DateTime: given a day name format it returns the correct day name" do assert_equal 'Samstag', I18n.l(@datetime, :format => '%A', :locale => :de) end + test "localize DateTime: given a uppercased day name format it returns the correct day name in upcase" do + assert_equal 'samstag'.upcase, I18n.l(@datetime, :format => '%^A', :locale => :de) + end + test "localize DateTime: given an abbreviated day name format it returns the correct abbreviated day name" do assert_equal 'Sa', I18n.l(@datetime, :format => '%a', :locale => :de) end + test "localize DateTime: given an abbreviated and uppercased day name format it returns the correct abbreviated day name in upcase" do + assert_equal 'sa'.upcase, I18n.l(@datetime, :format => '%^a', :locale => :de) + end + test "localize DateTime: given a month name format it returns the correct month name" do assert_equal 'März', I18n.l(@datetime, :format => '%B', :locale => :de) end + test "localize DateTime: given a uppercased month name format it returns the correct month name in upcase" do + assert_equal 'märz'.upcase, I18n.l(@datetime, :format => '%^B', :locale => :de) + end + test "localize DateTime: given an abbreviated month name format it returns the correct abbreviated month name" do - # TODO should be Mrz, shouldn't it? - assert_equal 'Mar', I18n.l(@datetime, :format => '%b', :locale => :de) + assert_equal 'Mär', I18n.l(@datetime, :format => '%b', :locale => :de) + end + + test "localize DateTime: given an abbreviated and uppercased month name format it returns the correct abbreviated month name in upcase" do + assert_equal 'mär'.upcase, I18n.l(@datetime, :format => '%^b', :locale => :de) + end + + test "localize DateTime: given a date format with the month name upcased it returns the correct value" do + assert_equal '1. FEBRUAR 2008', I18n.l(::DateTime.new(2008, 2, 1, 6), :format => "%-d. %^B %Y", :locale => :de) end test "localize DateTime: given missing translations it returns the correct error message" do diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/i18n/tests/localization/time.rb new/lib/i18n/tests/localization/time.rb --- old/lib/i18n/tests/localization/time.rb 2019-01-21 22:38:30.000000000 +0100 +++ new/lib/i18n/tests/localization/time.rb 2019-03-03 22:08:16.000000000 +0100 @@ -12,8 +12,7 @@ end test "localize Time: given the short format it uses it" do - # TODO should be Mrz, shouldn't it? - assert_equal '01. Mar 06:00', I18n.l(@time, :format => :short, :locale => :de) + assert_equal '01. Mär 06:00', I18n.l(@time, :format => :short, :locale => :de) end test "localize Time: given the long format it uses it" do @@ -29,17 +28,36 @@ assert_equal 'Samstag', I18n.l(@time, :format => '%A', :locale => :de) end + test "localize Time: given a uppercased day name format it returns the correct day name in upcase" do + assert_equal 'samstag'.upcase, I18n.l(@time, :format => '%^A', :locale => :de) + end + test "localize Time: given an abbreviated day name format it returns the correct abbreviated day name" do assert_equal 'Sa', I18n.l(@time, :format => '%a', :locale => :de) end + test "localize Time: given an abbreviated and uppercased day name format it returns the correct abbreviated day name in upcase" do + assert_equal 'sa'.upcase, I18n.l(@time, :format => '%^a', :locale => :de) + end + test "localize Time: given a month name format it returns the correct month name" do assert_equal 'März', I18n.l(@time, :format => '%B', :locale => :de) end + test "localize Time: given a uppercased month name format it returns the correct month name in upcase" do + assert_equal 'märz'.upcase, I18n.l(@time, :format => '%^B', :locale => :de) + end + test "localize Time: given an abbreviated month name format it returns the correct abbreviated month name" do - # TODO should be Mrz, shouldn't it? - assert_equal 'Mar', I18n.l(@time, :format => '%b', :locale => :de) + assert_equal 'Mär', I18n.l(@time, :format => '%b', :locale => :de) + end + + test "localize Time: given an abbreviated and uppercased month name format it returns the correct abbreviated month name in upcase" do + assert_equal 'mär'.upcase, I18n.l(@time, :format => '%^b', :locale => :de) + end + + test "localize Time: given a date format with the month name upcased it returns the correct value" do + assert_equal '1. FEBRUAR 2008', I18n.l(::Time.utc(2008, 2, 1, 6, 0), :format => "%-d. %^B %Y", :locale => :de) end test "localize Time: given missing translations it returns the correct error message" do diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/i18n/version.rb new/lib/i18n/version.rb --- old/lib/i18n/version.rb 2019-01-21 22:38:30.000000000 +0100 +++ new/lib/i18n/version.rb 2019-03-03 22:08:16.000000000 +0100 @@ -1,5 +1,5 @@ # frozen_string_literal: true module I18n - VERSION = "1.5.3" + VERSION = "1.6.0" end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/i18n.rb new/lib/i18n.rb --- old/lib/i18n.rb 2019-01-21 22:38:30.000000000 +0100 +++ new/lib/i18n.rb 2019-03-03 22:08:16.000000000 +0100 @@ -69,6 +69,13 @@ config.backend.reload! end + # Tells the backend to load translations now. Used in situations like the + # Rails production environment. Backends can implement whatever strategy + # is useful. + def eager_load! + config.backend.eager_load! + end + # Translates, pluralizes and interpolates a given key using a given locale, # scope, and default, as well as interpolation values. # @@ -169,15 +176,13 @@ # from the argument values passed to #translate. Therefor your lambdas should # always return the same translations/values per unique combination of argument # values. - def translate(*args) - options = args.last.is_a?(Hash) ? args.pop.dup : {} - key = args.shift - backend = config.backend - locale = options.delete(:locale) || config.locale - handling = options.delete(:throw) && :throw || options.delete(:raise) && :raise # TODO deprecate :raise - + def translate(key = nil, *, throw: false, raise: false, locale: nil, **options) # TODO deprecate :raise + locale ||= config.locale + raise Disabled.new('t') if locale == false enforce_available_locales!(locale) + backend = config.backend + result = catch(:exception) do if key.is_a?(Array) key.map { |k| backend.translate(locale, k, options) } @@ -185,7 +190,12 @@ backend.translate(locale, key, options) end end - result.is_a?(MissingTranslation) ? handle_exception(handling, result, locale, key, options) : result + + if result.is_a?(MissingTranslation) + handle_exception((throw && :throw || raise && :raise), result, locale, key, options) + else + result + end end alias :t :translate @@ -197,7 +207,9 @@ alias :t! :translate! # Returns true if a translation exists for a given key, otherwise returns false. - def exists?(key, locale = config.locale) + def exists?(key, _locale = nil, locale: _locale) + locale ||= config.locale + raise Disabled.new('exists?') if locale == false raise I18n::ArgumentError if key.is_a?(String) && key.empty? config.backend.exists?(locale, key) end @@ -253,37 +265,40 @@ # I18n.transliterate("Jürgen") # => "Juergen" # I18n.transliterate("Jürgen", :locale => :en) # => "Jurgen" # I18n.transliterate("Jürgen", :locale => :de) # => "Juergen" - def transliterate(*args) - options = args.pop.dup if args.last.is_a?(Hash) - key = args.shift - locale = options && options.delete(:locale) || config.locale - handling = options && (options.delete(:throw) && :throw || options.delete(:raise) && :raise) - replacement = options && options.delete(:replacement) + def transliterate(key, *, throw: false, raise: false, locale: nil, replacement: nil, **options) + locale ||= config.locale + raise Disabled.new('transliterate') if locale == false enforce_available_locales!(locale) + config.backend.transliterate(locale, key, replacement) rescue I18n::ArgumentError => exception - handle_exception(handling, exception, locale, key, options || {}) + handle_exception((throw && :throw || raise && :raise), exception, locale, key, options) end # Localizes certain objects, such as dates and numbers to local formatting. - def localize(object, options = nil) - options = options ? options.dup : {} - locale = options.delete(:locale) || config.locale - format = options.delete(:format) || :default + def localize(object, locale: nil, format: nil, **options) + locale ||= config.locale + raise Disabled.new('l') if locale == false enforce_available_locales!(locale) + + format ||= :default config.backend.localize(locale, object, format, options) end alias :l :localize # Executes block with given I18n.locale set. def with_locale(tmp_locale = nil) - if tmp_locale + if tmp_locale == nil + yield + else current_locale = self.locale - self.locale = tmp_locale + self.locale = tmp_locale + begin + yield + ensure + self.locale = current_locale + end end - yield - ensure - self.locale = current_locale if tmp_locale end # Merges the given locale, key and scope into a single array of keys. @@ -307,7 +322,7 @@ # Raises an InvalidLocale exception when the passed locale is not available. def enforce_available_locales!(locale) - if config.enforce_available_locales + if locale != false && config.enforce_available_locales raise I18n::InvalidLocale.new(locale) if !locale_available?(locale) end end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/metadata new/metadata --- old/metadata 2019-01-21 22:38:30.000000000 +0100 +++ new/metadata 2019-03-03 22:08:16.000000000 +0100 @@ -1,7 +1,7 @@ --- !ruby/object:Gem::Specification name: i18n version: !ruby/object:Gem::Version - version: 1.5.3 + version: 1.6.0 platform: ruby authors: - Sven Fuchs @@ -10,20 +10,20 @@ - Stephan Soller - Saimon Moore - Ryan Bigg -autorequire: +autorequire: bindir: bin cert_chain: [] -date: 2019-01-21 00:00:00.000000000 Z +date: 2019-03-03 00:00:00.000000000 Z dependencies: - !ruby/object:Gem::Dependency + name: concurrent-ruby requirement: !ruby/object:Gem::Requirement requirements: - - "~>" - !ruby/object:Gem::Version version: '1.0' - name: concurrent-ruby - prerelease: false type: :runtime + prerelease: false version_requirements: !ruby/object:Gem::Requirement requirements: - - "~>" @@ -82,7 +82,7 @@ - lib/i18n/tests/pluralization.rb - lib/i18n/tests/procs.rb - lib/i18n/version.rb -homepage: http://github.com/svenfuchs/i18n +homepage: http://github.com/ruby-i18n/i18n licenses: - MIT metadata: @@ -117,9 +117,8 @@ - !ruby/object:Gem::Version version: 1.3.5 requirements: [] -rubyforge_project: "[none]" -rubygems_version: 2.7.6 -signing_key: +rubygems_version: 3.0.2 +signing_key: specification_version: 4 summary: New wave Internationalization support for Ruby test_files: []