Hello community,

here is the log from the commit of package rubygem-activesupport-5_1 for 
openSUSE:Factory checked in at 2018-07-18 22:48:26
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-activesupport-5_1 (Old)
 and      /work/SRC/openSUSE:Factory/.rubygem-activesupport-5_1.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "rubygem-activesupport-5_1"

Wed Jul 18 22:48:26 2018 rev:4 rq:620985 version:5.1.6

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/rubygem-activesupport-5_1/rubygem-activesupport-5_1.changes
      2018-02-18 11:44:49.068316278 +0100
+++ 
/work/SRC/openSUSE:Factory/.rubygem-activesupport-5_1.new/rubygem-activesupport-5_1.changes
 2018-07-18 22:48:29.204045772 +0200
@@ -1,0 +2,24 @@
+Fri Mar 30 04:31:29 UTC 2018 - factory-a...@kulow.org
+
+- updated to version 5.1.6
+ see installed CHANGELOG.md
+
+  ## Rails 5.1.6 (March 29, 2018) ##
+  
+  *   Return all mappings for a timezone identifier in `country_zones`
+  
+      Some timezones like `Europe/London` have multiple mappings in
+      `ActiveSupport::TimeZone::MAPPING` so return all of them instead
+      of the first one found by using `Hash#value`. e.g:
+  
+          # Before
+          ActiveSupport::TimeZone.country_zones("GB") # => ["Edinburgh"]
+  
+          # After
+          ActiveSupport::TimeZone.country_zones("GB") # => ["Edinburgh", 
"London"]
+  
+      Fixes #31668.
+  
+      *Andrew White*
+
+-------------------------------------------------------------------

Old:
----
  activesupport-5.1.5.gem

New:
----
  activesupport-5.1.6.gem

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ rubygem-activesupport-5_1.spec ++++++
--- /var/tmp/diff_new_pack.ijrb5o/_old  2018-07-18 22:48:29.744043982 +0200
+++ /var/tmp/diff_new_pack.ijrb5o/_new  2018-07-18 22:48:29.760043929 +0200
@@ -24,7 +24,7 @@
 #
 
 Name:           rubygem-activesupport-5_1
-Version:        5.1.5
+Version:        5.1.6
 Release:        0
 %define mod_name activesupport
 %define mod_full_name %{mod_name}-%{version}

++++++ activesupport-5.1.5.gem -> activesupport-5.1.6.gem ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/CHANGELOG.md new/CHANGELOG.md
--- old/CHANGELOG.md    2018-02-14 20:54:10.000000000 +0100
+++ new/CHANGELOG.md    2018-03-29 20:27:07.000000000 +0200
@@ -1,3 +1,22 @@
+## Rails 5.1.6 (March 29, 2018) ##
+
+*   Return all mappings for a timezone identifier in `country_zones`
+
+    Some timezones like `Europe/London` have multiple mappings in
+    `ActiveSupport::TimeZone::MAPPING` so return all of them instead
+    of the first one found by using `Hash#value`. e.g:
+
+        # Before
+        ActiveSupport::TimeZone.country_zones("GB") # => ["Edinburgh"]
+
+        # After
+        ActiveSupport::TimeZone.country_zones("GB") # => ["Edinburgh", 
"London"]
+
+    Fixes #31668.
+
+    *Andrew White*
+
+
 ## Rails 5.1.5 (February 14, 2018) ##
 
 *   No changes.
Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/active_support/duration.rb 
new/lib/active_support/duration.rb
--- old/lib/active_support/duration.rb  2018-02-14 20:54:10.000000000 +0100
+++ new/lib/active_support/duration.rb  2018-03-29 20:27:07.000000000 +0200
@@ -383,6 +383,14 @@
       @value.respond_to?(method, include_private)
     end
 
+    def init_with(coder) #:nodoc:
+      initialize(coder["value"], coder["parts"])
+    end
+
+    def encode_with(coder) #:nodoc:
+      coder.map = { "value" => @value, "parts" => @parts }
+    end
+
     # Build ISO 8601 Duration string for this duration.
     # The +precision+ parameter can be used to limit seconds' precision of 
duration.
     def iso8601(precision: nil)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/active_support/gem_version.rb 
new/lib/active_support/gem_version.rb
--- old/lib/active_support/gem_version.rb       2018-02-14 20:54:10.000000000 
+0100
+++ new/lib/active_support/gem_version.rb       2018-03-29 20:27:07.000000000 
+0200
@@ -7,7 +7,7 @@
   module VERSION
     MAJOR = 5
     MINOR = 1
-    TINY  = 5
+    TINY  = 6
     PRE   = nil
 
     STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".")
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/active_support/values/time_zone.rb 
new/lib/active_support/values/time_zone.rb
--- old/lib/active_support/values/time_zone.rb  2018-02-14 20:54:10.000000000 
+0100
+++ new/lib/active_support/values/time_zone.rb  2018-03-29 20:27:07.000000000 
+0200
@@ -258,11 +258,14 @@
           country = TZInfo::Country.get(code)
           country.zone_identifiers.map do |tz_id|
             if MAPPING.value?(tz_id)
-              self[MAPPING.key(tz_id)]
+              MAPPING.inject([]) do |memo, (key, value)|
+                memo << self[key] if value == tz_id
+                memo
+              end
             else
               create(tz_id, nil, TZInfo::Timezone.new(tz_id))
             end
-          end.sort!
+          end.flatten(1).sort!
         end
 
         def zones_map
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata        2018-02-14 20:54:10.000000000 +0100
+++ new/metadata        2018-03-29 20:27:07.000000000 +0200
@@ -1,29 +1,35 @@
 --- !ruby/object:Gem::Specification
 name: activesupport
 version: !ruby/object:Gem::Version
-  version: 5.1.5
+  version: 5.1.6
 platform: ruby
 authors:
 - David Heinemeier Hansson
 autorequire: 
 bindir: bin
 cert_chain: []
-date: 2018-02-14 00:00:00.000000000 Z
+date: 2018-03-29 00:00:00.000000000 Z
 dependencies:
 - !ruby/object:Gem::Dependency
   name: i18n
   requirement: !ruby/object:Gem::Requirement
     requirements:
-    - - "~>"
+    - - ">="
       - !ruby/object:Gem::Version
         version: '0.7'
+    - - "<"
+      - !ruby/object:Gem::Version
+        version: '2'
   type: :runtime
   prerelease: false
   version_requirements: !ruby/object:Gem::Requirement
     requirements:
-    - - "~>"
+    - - ">="
       - !ruby/object:Gem::Version
         version: '0.7'
+    - - "<"
+      - !ruby/object:Gem::Version
+        version: '2'
 - !ruby/object:Gem::Dependency
   name: tzinfo
   requirement: !ruby/object:Gem::Requirement
@@ -315,8 +321,8 @@
 licenses:
 - MIT
 metadata:
-  source_code_uri: https://github.com/rails/rails/tree/v5.1.5/activesupport
-  changelog_uri: 
https://github.com/rails/rails/blob/v5.1.5/activesupport/CHANGELOG.md
+  source_code_uri: https://github.com/rails/rails/tree/v5.1.6/activesupport
+  changelog_uri: 
https://github.com/rails/rails/blob/v5.1.6/activesupport/CHANGELOG.md
 post_install_message: 
 rdoc_options:
 - "--encoding"
@@ -335,7 +341,7 @@
       version: '0'
 requirements: []
 rubyforge_project: 
-rubygems_version: 2.7.3
+rubygems_version: 2.6.14
 signing_key: 
 specification_version: 4
 summary: A toolkit of support libraries and Ruby core extensions extracted 
from the


Reply via email to