Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package rubygem-activesupport-5.2 for 
openSUSE:Factory checked in at 2021-07-02 13:27:29
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-activesupport-5.2 (Old)
 and      /work/SRC/openSUSE:Factory/.rubygem-activesupport-5.2.new.2625 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "rubygem-activesupport-5.2"

Fri Jul  2 13:27:29 2021 rev:11 rq:903485 version:5.2.6

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/rubygem-activesupport-5.2/rubygem-activesupport-5.2.changes
      2020-10-05 19:29:38.088514445 +0200
+++ 
/work/SRC/openSUSE:Factory/.rubygem-activesupport-5.2.new.2625/rubygem-activesupport-5.2.changes
    2021-07-02 13:28:23.000334035 +0200
@@ -1,0 +2,27 @@
+Thu Jun 24 16:52:00 UTC 2021 - Stephan Kulow <[email protected]>
+
+updated to version 5.2.6
+ see installed CHANGELOG.md
+
+  ## Rails 5.2.6 (May 05, 2021) ##
+  
+  *   No changes.
+  
+  
+  ## Rails 5.2.5 (March 26, 2021) ##
+  
+  *   No changes.
+  
+  
+  ## Rails 5.2.4.6 (May 05, 2021) ##
+  
+  *   No changes.
+  
+  
+  ## Rails 5.2.4.5 (February 10, 2021) ##
+  
+  *   No changes.
+  
+  
+
+-------------------------------------------------------------------

Old:
----
  activesupport-5.2.4.4.gem

New:
----
  activesupport-5.2.6.gem

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

Other differences:
------------------
++++++ rubygem-activesupport-5.2.spec ++++++
--- /var/tmp/diff_new_pack.Ha5zP8/_old  2021-07-02 13:28:23.500330156 +0200
+++ /var/tmp/diff_new_pack.Ha5zP8/_new  2021-07-02 13:28:23.504330125 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package rubygem-activesupport-5.2
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -24,7 +24,7 @@
 #
 
 Name:           rubygem-activesupport-5.2
-Version:        5.2.4.4
+Version:        5.2.6
 Release:        0
 %define mod_name activesupport
 %define mod_full_name %{mod_name}-%{version}

++++++ activesupport-5.2.4.4.gem -> activesupport-5.2.6.gem ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/CHANGELOG.md new/CHANGELOG.md
--- old/CHANGELOG.md    2020-09-09 20:34:59.000000000 +0200
+++ new/CHANGELOG.md    2021-05-05 18:59:02.000000000 +0200
@@ -1,3 +1,23 @@
+## Rails 5.2.6 (May 05, 2021) ##
+
+*   No changes.
+
+
+## Rails 5.2.5 (March 26, 2021) ##
+
+*   No changes.
+
+
+## Rails 5.2.4.6 (May 05, 2021) ##
+
+*   No changes.
+
+
+## Rails 5.2.4.5 (February 10, 2021) ##
+
+*   No changes.
+
+
 ## Rails 5.2.4.4 (September 09, 2020) ##
 
 *   No changes.
@@ -9,6 +29,11 @@
 
 *   [CVE-2020-8165] Avoid Marshal.load on raw cache value in MemCacheStore
 
+## Rails 5.2.4.2 (March 19, 2020) ##
+
+*   No changes.
+
+
 ## Rails 5.2.4.1 (December 18, 2019) ##
 
 *   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/cache/mem_cache_store.rb 
new/lib/active_support/cache/mem_cache_store.rb
--- old/lib/active_support/cache/mem_cache_store.rb     2020-09-09 
20:34:59.000000000 +0200
+++ new/lib/active_support/cache/mem_cache_store.rb     2021-05-05 
18:59:02.000000000 +0200
@@ -7,6 +7,7 @@
   raise e
 end
 
+require "active_support/core_ext/marshal"
 require "active_support/core_ext/array/extract_options"
 
 module ActiveSupport
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/active_support/cache/redis_cache_store.rb 
new/lib/active_support/cache/redis_cache_store.rb
--- old/lib/active_support/cache/redis_cache_store.rb   2020-09-09 
20:34:59.000000000 +0200
+++ new/lib/active_support/cache/redis_cache_store.rb   2021-05-05 
18:59:02.000000000 +0200
@@ -320,7 +320,7 @@
         # Read an entry from the cache.
         def read_entry(key, options = nil)
           failsafe :read_entry do
-            raw = options&.fetch(:raw, false)
+            raw = options && options.fetch(:raw, false)
             deserialize_entry(redis.with { |c| c.get(key) }, raw: raw)
           end
         end
@@ -336,7 +336,7 @@
         def read_multi_mget(*names)
           options = names.extract_options!
           options = merged_options(options)
-          raw = options&.fetch(:raw, false)
+          raw = options && options.fetch(:raw, false)
 
           keys = names.map { |name| normalize_key(name, options) }
 
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  2020-09-09 20:34:59.000000000 +0200
+++ new/lib/active_support/duration.rb  2021-05-05 18:59:02.000000000 +0200
@@ -183,15 +183,15 @@
       #
       def build(value)
         parts = {}
-        remainder = value.to_f
+        remainder = value.round(9)
 
         PARTS.each do |part|
           unless part == :seconds
             part_in_seconds = PARTS_IN_SECONDS[part]
             parts[part] = remainder.div(part_in_seconds)
-            remainder = (remainder % part_in_seconds).round(9)
+            remainder %= part_in_seconds
           end
-        end
+        end unless value == 0
 
         parts[:seconds] = remainder
 
@@ -210,7 +210,7 @@
     def initialize(value, parts) #:nodoc:
       @value, @parts = value, parts.to_h
       @parts.default = 0
-      @parts.reject! { |k, v| v.zero? }
+      @parts.reject! { |k, v| v.zero? } unless value == 0
     end
 
     def coerce(other) #:nodoc:
@@ -400,8 +400,14 @@
     private
 
       def sum(sign, time = ::Time.current)
-        parts.inject(time) do |t, (type, number)|
-          if t.acts_like?(:time) || t.acts_like?(:date)
+        unless time.acts_like?(:time) || time.acts_like?(:date)
+          raise ::ArgumentError, "expected a time or date, got #{time.inspect}"
+        end
+
+        if parts.empty?
+          time.since(sign * value)
+        else
+          parts.inject(time) do |t, (type, number)|
             if type == :seconds
               t.since(sign * number)
             elsif type == :minutes
@@ -411,8 +417,6 @@
             else
               t.advance(type => sign * number)
             end
-          else
-            raise ::ArgumentError, "expected a time or date, got 
#{time.inspect}"
           end
         end
       end
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       2020-09-09 20:34:59.000000000 
+0200
+++ new/lib/active_support/gem_version.rb       2021-05-05 18:59:02.000000000 
+0200
@@ -9,8 +9,8 @@
   module VERSION
     MAJOR = 5
     MINOR = 2
-    TINY  = 4
-    PRE   = "4"
+    TINY  = 6
+    PRE   = nil
 
     STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".")
   end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata        2020-09-09 20:34:59.000000000 +0200
+++ new/metadata        2021-05-05 18:59:02.000000000 +0200
@@ -1,14 +1,14 @@
 --- !ruby/object:Gem::Specification
 name: activesupport
 version: !ruby/object:Gem::Version
-  version: 5.2.4.4
+  version: 5.2.6
 platform: ruby
 authors:
 - David Heinemeier Hansson
 autorequire: 
 bindir: bin
 cert_chain: []
-date: 2020-09-09 00:00:00.000000000 Z
+date: 2021-05-05 00:00:00.000000000 Z
 dependencies:
 - !ruby/object:Gem::Dependency
   name: i18n
@@ -333,8 +333,8 @@
 licenses:
 - MIT
 metadata:
-  source_code_uri: https://github.com/rails/rails/tree/v5.2.4.4/activesupport
-  changelog_uri: 
https://github.com/rails/rails/blob/v5.2.4.4/activesupport/CHANGELOG.md
+  source_code_uri: https://github.com/rails/rails/tree/v5.2.6/activesupport
+  changelog_uri: 
https://github.com/rails/rails/blob/v5.2.6/activesupport/CHANGELOG.md
 post_install_message: 
 rdoc_options:
 - "--encoding"
@@ -352,7 +352,7 @@
     - !ruby/object:Gem::Version
       version: '0'
 requirements: []
-rubygems_version: 3.1.2
+rubygems_version: 3.1.6
 signing_key: 
 specification_version: 4
 summary: A toolkit of support libraries and Ruby core extensions extracted 
from the

Reply via email to