Hello community, here is the log from the commit of package rubygem-locale for openSUSE:Factory checked in at 2020-05-11 13:41:27 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/rubygem-locale (Old) and /work/SRC/openSUSE:Factory/.rubygem-locale.new.2738 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygem-locale" Mon May 11 13:41:27 2020 rev:17 rq:802343 version:2.1.3 Changes: -------- --- /work/SRC/openSUSE:Factory/rubygem-locale/rubygem-locale.changes 2015-09-24 06:14:30.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.rubygem-locale.new.2738/rubygem-locale.changes 2020-05-11 13:41:30.473139097 +0200 @@ -1,0 +2,6 @@ +Thu May 7 21:01:45 UTC 2020 - Stephan Kulow <co...@suse.com> + +- updated to version 2.1.3 + see installed ChangeLog + +------------------------------------------------------------------- Old: ---- locale-2.1.2.gem New: ---- locale-2.1.3.gem ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ rubygem-locale.spec ++++++ --- /var/tmp/diff_new_pack.aFZBR2/_old 2020-05-11 13:41:31.337140931 +0200 +++ /var/tmp/diff_new_pack.aFZBR2/_new 2020-05-11 13:41:31.337140931 +0200 @@ -1,7 +1,7 @@ # # spec file for package rubygem-locale # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -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-locale -Version: 2.1.2 +Version: 2.1.3 Release: 0 %define mod_name locale %define mod_full_name %{mod_name}-%{version} @@ -32,11 +32,11 @@ BuildRequires: %{rubygem gem2rpm} BuildRequires: %{ruby} BuildRequires: ruby-macros >= 5 -Url: https://github.com/ruby-gettext/locale -Source: http://rubygems.org/gems/%{mod_full_name}.gem +URL: https://github.com/ruby-gettext/locale +Source: https://rubygems.org/gems/%{mod_full_name}.gem Source1: gem2rpm.yml Summary: Ruby-Locale is the pure ruby library which provides basic APIs for -License: Ruby and LGPL-3.0+ +License: Ruby AND LGPL-3.0-or-later Group: Development/Languages/Ruby %description ++++++ locale-2.1.2.gem -> locale-2.1.3.gem ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Rakefile new/Rakefile --- old/Rakefile 2015-09-15 15:53:46.000000000 +0200 +++ new/Rakefile 2020-02-12 05:59:20.000000000 +0100 @@ -35,7 +35,6 @@ helper = Bundler::GemHelper.new(base_dir) helper.install -spec = helper.gemspec desc "Run tests" task :test do Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/doc/text/news.md new/doc/text/news.md --- old/doc/text/news.md 2015-09-15 15:53:46.000000000 +0200 +++ new/doc/text/news.md 2020-02-12 05:59:20.000000000 +0100 @@ -1,5 +1,11 @@ # News +## <a id="2-1-3">2.1.3</a>: 2020-02-12 + +### Improvements + + * Suppressed warnings. + ## <a id="2-1-2">2.1.2</a>: 2015-09-15 ### Improvements diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/locale/tag/cldr.rb new/lib/locale/tag/cldr.rb --- old/lib/locale/tag/cldr.rb 2015-09-15 15:53:46.000000000 +0200 +++ new/lib/locale/tag/cldr.rb 2020-02-12 05:59:20.000000000 +0100 @@ -2,6 +2,7 @@ locale/tag/cldr.rb - Locale::Tag::CLDR Copyright (C) 2008,2009 Masao Mutoh + Copyright (C) 2018 Kouhei Sutou <k...@clear-code.com> You may redistribute it and/or modify it under the same license terms as Ruby. @@ -28,9 +29,10 @@ class << self # Parse the language tag and return the new Locale::Tag::CLDR. def parse(tag) - if tag =~ /\APOSIX\Z/ # This is the special case of POSIX locale but match this regexp. + case tag + when /\APOSIX\Z/ # This is the special case of POSIX locale but match this regexp. nil - elsif tag =~ TAG_RE + when TAG_RE lang, script, region, subtag = $1, $2, $3, $4 extensions = {} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/locale/tag/common.rb new/lib/locale/tag/common.rb --- old/lib/locale/tag/common.rb 2015-09-15 15:53:46.000000000 +0200 +++ new/lib/locale/tag/common.rb 2020-02-12 05:59:20.000000000 +0100 @@ -2,6 +2,7 @@ locale/tag/common.rb - Locale::Tag::Common Copyright (C) 2008,2009 Masao Mutoh + Copyright (C) 2018 Kouhei Sutou <k...@clear-code.com> You may redistribute it and/or modify it under the same license terms as Ruby. @@ -35,9 +36,10 @@ class << self # Parse the language tag and return the new Locale::Tag::Common. def parse(tag) - if tag =~ /\APOSIX\Z/ # This is the special case of POSIX locale but match this regexp. + case tag + when /\APOSIX\Z/ # This is the special case of POSIX locale but match this regexp. nil - elsif tag =~ TAG_RE + when TAG_RE lang, script, region, subtag = $1, $2, $3, $4 variants = subtag.scan(/(^|[-_])#{VARIANT}(?=([-_]|$))/i).collect{|v| v[1]} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/locale/tag/posix.rb new/lib/locale/tag/posix.rb --- old/lib/locale/tag/posix.rb 2015-09-15 15:53:46.000000000 +0200 +++ new/lib/locale/tag/posix.rb 2020-02-12 05:59:20.000000000 +0100 @@ -2,6 +2,7 @@ locale/tag/posix.rb - Locale::Tag::Posix Copyright (C) 2008 Masao Mutoh + Copyright (C) 2018 Kouhei Sutou <k...@clear-code.com> You may redistribute it and/or modify it under the same license terms as Ruby. @@ -30,11 +31,12 @@ end def self.parse(tag) - if tag =~ /^(C|POSIX)$/ + case tag + when /^(C|POSIX)$/ ret = self.new("en", "US") ret.tag = tag ret - elsif tag =~ TAG_RE + when TAG_RE ret = self.new($1, $2, $3, $4) ret.tag = tag ret diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/locale/tag/rfc.rb new/lib/locale/tag/rfc.rb --- old/lib/locale/tag/rfc.rb 2015-09-15 15:53:46.000000000 +0200 +++ new/lib/locale/tag/rfc.rb 2020-02-12 05:59:20.000000000 +0100 @@ -2,6 +2,7 @@ locale/tag/rfc.rb - Locale::Tag::Rfc Copyright (C) 2008,2009 Masao Mutoh + Copyright (C) 2018 Kouhei Sutou <k...@clear-code.com> You may redistribute it and/or modify it under the same license terms as Ruby. @@ -29,9 +30,10 @@ class << self # Parse the language tag and return the new Locale::Tag::Rfc. def parse(tag) - if tag =~ /\APOSIX\Z/ # This is the special case of POSIX locale but match this regexp. + case tag + when /\APOSIX\Z/ # This is the special case of POSIX locale but match this regexp. nil - elsif tag =~ TAG_RE + when TAG_RE lang, script, region, subtag = $1, $2, $3, $4 extensions = [] variants = [] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/locale/tag/simple.rb new/lib/locale/tag/simple.rb --- old/lib/locale/tag/simple.rb 2015-09-15 15:53:46.000000000 +0200 +++ new/lib/locale/tag/simple.rb 2020-02-12 05:59:20.000000000 +0100 @@ -2,6 +2,7 @@ locale/tag/simple.rb - Locale::Tag::Simple Copyright (C) 2008,2009 Masao Mutoh + Copyright (C) 2018 Kouhei Sutou <k...@clear-code.com> You may redistribute it and/or modify it under the same license terms as Ruby. @@ -52,7 +53,8 @@ class << self # Parse the language tag and return the new Locale::Tag::Simple. def parse(tag) - if tag =~ TAG_RE + case tag + when TAG_RE ret = self.new($1, $2) ret.tag = tag ret diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/locale/version.rb new/lib/locale/version.rb --- old/lib/locale/version.rb 2015-09-15 15:53:46.000000000 +0200 +++ new/lib/locale/version.rb 2020-02-12 05:59:20.000000000 +0100 @@ -8,6 +8,6 @@ license terms as Ruby. =end module Locale - VERSION = "2.1.2" + VERSION = "2.1.3" end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/metadata new/metadata --- old/metadata 2015-09-15 15:53:46.000000000 +0200 +++ new/metadata 2020-02-12 05:59:20.000000000 +0100 @@ -1,7 +1,7 @@ --- !ruby/object:Gem::Specification name: locale version: !ruby/object:Gem::Version - version: 2.1.2 + version: 2.1.3 platform: ruby authors: - Kouhei Sutou @@ -9,7 +9,7 @@ autorequire: bindir: bin cert_chain: [] -date: 2015-09-15 00:00:00.000000000 Z +date: 2020-02-12 00:00:00.000000000 Z dependencies: - !ruby/object:Gem::Dependency name: rake @@ -109,8 +109,9 @@ - - ">=" - !ruby/object:Gem::Version version: '0' -description: | - Ruby-Locale is the pure ruby library which provides basic APIs for localization. +description: 'Ruby-Locale is the pure ruby library which provides basic APIs for localization. + + ' email: - k...@clear-code.com - mutomasa at gmail.com @@ -190,18 +191,17 @@ version: '0' requirements: [] rubyforge_project: -rubygems_version: 2.2.2 +rubygems_version: 2.7.6.2 signing_key: specification_version: 4 summary: Ruby-Locale is the pure ruby library which provides basic APIs for localization. test_files: +- test/test_locale.rb +- test/test_driver_win32.rb - test/test_tag.rb -- test/test_detect_cgi.rb -- test/test_info.rb - test/test_thread.rb -- test/test_driver_jruby.rb - test/test_taglist.rb -- test/test_driver_win32.rb - test/test_detect_general.rb -- test/test_locale.rb -has_rdoc: +- test/test_driver_jruby.rb +- test/test_info.rb +- test/test_detect_cgi.rb