Hello community,

here is the log from the commit of package rubygem-activesupport-6.0 for 
openSUSE:Factory checked in at 2019-11-13 13:25:13
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-activesupport-6.0 (Old)
 and      /work/SRC/openSUSE:Factory/.rubygem-activesupport-6.0.new.2990 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "rubygem-activesupport-6.0"

Wed Nov 13 13:25:13 2019 rev:2 rq:747686 version:6.0.1

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/rubygem-activesupport-6.0/rubygem-activesupport-6.0.changes
      2019-08-19 21:40:54.468296125 +0200
+++ 
/work/SRC/openSUSE:Factory/.rubygem-activesupport-6.0.new.2990/rubygem-activesupport-6.0.changes
    2019-11-13 13:25:19.091509623 +0100
@@ -1,0 +2,46 @@
+Tue Nov 12 13:35:28 UTC 2019 - Manuel Schnitzer <[email protected]>
+
+- updated to version 6.0.1
+
+  *   `ActiveSupport::SafeBuffer` supports `Enumerator` methods.
+
+      *Shugo Maeda*
+
+  *   The Redis cache store fails gracefully when the server returns a "max 
number
+      of clients reached" error.
+
+      *Brandon Medenwald*
+
+  *   Fixed that mutating a value returned by a memory cache store would
+      unexpectedly change the cached value.
+
+      *Jonathan Hyman*
+
+  *   The default inflectors in `zeitwerk` mode support overrides:
+
+      ```ruby
+      # config/initializers/zeitwerk.rb
+      Rails.autoloaders.each do |autoloader|
+        autoloader.inflector.inflect(
+          "html_parser" => "HTMLParser",
+          "ssl_error"   => "SSLError"
+        )
+      end
+      ```
+
+      That way, you can tweak how individual basenames are inflected without 
touching Active Support inflection rules, which are global. These inflectors 
fallback to `String#camelize`, so existing inflection rules are still taken 
into account for non-overridden basenames.
+
+      Please, check the [autoloading guide for `zeitwerk` 
mode](https://guides.rubyonrails.org/v6.0/autoloading_and_reloading_constants.html#customizing-inflections)
 if you prefer not to depend on `String#camelize` at all.
+
+      *Xavier Noria*
+
+  *   Improve `Range#===`, `Range#include?`, and `Range#cover?` to work with 
beginless (startless)
+      and endless range targets.
+
+      *Allen Hsu*, *Andrew Hodgkinson*
+
+  *   Don't use `Process#clock_gettime(CLOCK_PROCESS_CPUTIME_ID)` on Solaris
+
+      *Iain Beeston*
+
+-------------------------------------------------------------------

Old:
----
  activesupport-6.0.0.gem

New:
----
  activesupport-6.0.1.gem

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

Other differences:
------------------
++++++ rubygem-activesupport-6.0.spec ++++++
--- /var/tmp/diff_new_pack.u5u6az/_old  2019-11-13 13:25:19.579510130 +0100
+++ /var/tmp/diff_new_pack.u5u6az/_new  2019-11-13 13:25:19.583510135 +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-activesupport-6.0
-Version:        6.0.0
+Version:        6.0.1
 Release:        0
 %define mod_name activesupport
 %define mod_full_name %{mod_name}-%{version}
@@ -36,10 +36,10 @@
 %endif
 # /MANUAL
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-BuildRequires:  ruby-macros >= 5
 BuildRequires:  %{ruby >= 2.5.0}
 BuildRequires:  %{rubygem gem2rpm}
 BuildRequires:  %{rubygem rdoc > 3.10}
+BuildRequires:  ruby-macros >= 5
 Url:            https://rubyonrails.org
 Source:         https://rubygems.org/gems/%{mod_full_name}.gem
 Source1:        gem2rpm.yml

++++++ activesupport-6.0.0.gem -> activesupport-6.0.1.gem ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/CHANGELOG.md new/CHANGELOG.md
--- old/CHANGELOG.md    2019-08-16 19:58:48.000000000 +0200
+++ new/CHANGELOG.md    2019-11-05 15:37:38.000000000 +0100
@@ -1,3 +1,47 @@
+## Rails 6.0.1 (November 5, 2019) ##
+
+*   `ActiveSupport::SafeBuffer` supports `Enumerator` methods.
+
+    *Shugo Maeda*
+
+*   The Redis cache store fails gracefully when the server returns a "max 
number
+    of clients reached" error.
+
+    *Brandon Medenwald*
+
+*   Fixed that mutating a value returned by a memory cache store would
+    unexpectedly change the cached value.
+
+    *Jonathan Hyman*
+
+*   The default inflectors in `zeitwerk` mode support overrides:
+
+    ```ruby
+    # config/initializers/zeitwerk.rb
+    Rails.autoloaders.each do |autoloader|
+      autoloader.inflector.inflect(
+        "html_parser" => "HTMLParser",
+        "ssl_error"   => "SSLError"
+      )
+    end
+    ```
+
+    That way, you can tweak how individual basenames are inflected without 
touching Active Support inflection rules, which are global. These inflectors 
fallback to `String#camelize`, so existing inflection rules are still taken 
into account for non-overridden basenames.
+
+    Please, check the [autoloading guide for `zeitwerk` 
mode](https://guides.rubyonrails.org/v6.0/autoloading_and_reloading_constants.html#customizing-inflections)
 if you prefer not to depend on `String#camelize` at all.
+
+    *Xavier Noria*
+
+*   Improve `Range#===`, `Range#include?`, and `Range#cover?` to work with 
beginless (startless)
+    and endless range targets.
+
+    *Allen Hsu*, *Andrew Hodgkinson*
+
+*   Don't use `Process#clock_gettime(CLOCK_PROCESS_CPUTIME_ID)` on Solaris
+
+    *Iain Beeston*
+
+
 ## Rails 6.0.0 (August 16, 2019) ##
 
 *   Let `require_dependency` in `zeitwerk` mode look the autoload paths up for
@@ -49,6 +93,7 @@
 
     *Aaron Lipman*
 
+
 ## Rails 6.0.0.rc2 (July 22, 2019) ##
 
 *   `truncate` would return the original string if it was too short to be 
truncated
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/memory_store.rb 
new/lib/active_support/cache/memory_store.rb
--- old/lib/active_support/cache/memory_store.rb        2019-08-16 
19:58:48.000000000 +0200
+++ new/lib/active_support/cache/memory_store.rb        2019-11-05 
15:37:38.000000000 +0100
@@ -125,6 +125,8 @@
           entry = @data[key]
           synchronize do
             if entry
+              entry = entry.dup
+              entry.dup_value!
               @key_access[key] = Time.now.to_f
             else
               @key_access.delete(key)
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   2019-08-16 
19:58:48.000000000 +0200
+++ new/lib/active_support/cache/redis_cache_store.rb   2019-11-05 
15:37:38.000000000 +0100
@@ -471,7 +471,7 @@
 
         def failsafe(method, returning: nil)
           yield
-        rescue ::Redis::BaseConnectionError => e
+        rescue ::Redis::BaseError => e
           handle_exception exception: e, method: method, returning: returning
           returning
         end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/active_support/core_ext/range/compare_range.rb 
new/lib/active_support/core_ext/range/compare_range.rb
--- old/lib/active_support/core_ext/range/compare_range.rb      2019-08-16 
19:58:48.000000000 +0200
+++ new/lib/active_support/core_ext/range/compare_range.rb      2019-11-05 
15:37:38.000000000 +0100
@@ -11,13 +11,15 @@
     # The native Range#=== behavior is untouched.
     #  ('a'..'f') === ('c') # => true
     #  (5..9) === (11) # => false
+    #
+    # The given range must be fully bounded, with both start and end.
     def ===(value)
       if value.is_a?(::Range)
         # 1...10 includes 1..9 but it does not include 1..10.
         # 1..10 includes 1...11 but it does not include 1...12.
         operator = exclude_end? && !value.exclude_end? ? :< : :<=
         value_max = !exclude_end? && value.exclude_end? ? value.max : 
value.last
-        super(value.first) && value_max.send(operator, last)
+        super(value.first) && (self.end.nil? || value_max.send(operator, last))
       else
         super
       end
@@ -32,13 +34,15 @@
     # The native Range#include? behavior is untouched.
     #  ('a'..'f').include?('c') # => true
     #  (5..9).include?(11) # => false
+    #
+    # The given range must be fully bounded, with both start and end.
     def include?(value)
       if value.is_a?(::Range)
         # 1...10 includes 1..9 but it does not include 1..10.
         # 1..10 includes 1...11 but it does not include 1...12.
         operator = exclude_end? && !value.exclude_end? ? :< : :<=
         value_max = !exclude_end? && value.exclude_end? ? value.max : 
value.last
-        super(value.first) && value_max.send(operator, last)
+        super(value.first) && (self.end.nil? || value_max.send(operator, last))
       else
         super
       end
@@ -53,13 +57,15 @@
     # The native Range#cover? behavior is untouched.
     #  ('a'..'f').cover?('c') # => true
     #  (5..9).cover?(11) # => false
+    #
+    # The given range must be fully bounded, with both start and end.
     def cover?(value)
       if value.is_a?(::Range)
         # 1...10 covers 1..9 but it does not cover 1..10.
         # 1..10 covers 1...11 but it does not cover 1...12.
         operator = exclude_end? && !value.exclude_end? ? :< : :<=
         value_max = !exclude_end? && value.exclude_end? ? value.max : 
value.last
-        super(value.first) && value_max.send(operator, last)
+        super(value.first) && (self.end.nil? || value_max.send(operator, last))
       else
         super
       end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/lib/active_support/core_ext/range/include_time_with_zone.rb 
new/lib/active_support/core_ext/range/include_time_with_zone.rb
--- old/lib/active_support/core_ext/range/include_time_with_zone.rb     
2019-08-16 19:58:48.000000000 +0200
+++ new/lib/active_support/core_ext/range/include_time_with_zone.rb     
2019-11-05 15:37:38.000000000 +0100
@@ -9,9 +9,9 @@
     #   (1.hour.ago..1.hour.from_now).include?(Time.current) # => true
     #
     def include?(value)
-      if first.is_a?(TimeWithZone)
+      if self.begin.is_a?(TimeWithZone)
         cover?(value)
-      elsif last.is_a?(TimeWithZone)
+      elsif self.end.is_a?(TimeWithZone)
         cover?(value)
       else
         super
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/active_support/core_ext/string/output_safety.rb 
new/lib/active_support/core_ext/string/output_safety.rb
--- old/lib/active_support/core_ext/string/output_safety.rb     2019-08-16 
19:58:48.000000000 +0200
+++ new/lib/active_support/core_ext/string/output_safety.rb     2019-11-05 
15:37:38.000000000 +0100
@@ -298,6 +298,8 @@
 
       def set_block_back_references(block, match_data)
         block.binding.eval("proc { |m| $~ = m }").call(match_data)
+      rescue ArgumentError
+        # Can't create binding from C level Proc
       end
   end
 end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/lib/active_support/dependencies/zeitwerk_integration.rb 
new/lib/active_support/dependencies/zeitwerk_integration.rb
--- old/lib/active_support/dependencies/zeitwerk_integration.rb 2019-08-16 
19:58:48.000000000 +0200
+++ new/lib/active_support/dependencies/zeitwerk_integration.rb 2019-11-05 
15:37:38.000000000 +0100
@@ -54,8 +54,16 @@
       end
 
       module Inflector
+        # Concurrent::Map is not needed. This is a private class, and overrides
+        # must be defined while the application boots.
+        @overrides = {}
+
         def self.camelize(basename, _abspath)
-          basename.camelize
+          @overrides[basename] || basename.camelize
+        end
+
+        def self.inflect(overrides)
+          @overrides.merge!(overrides)
         end
       end
 
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  2019-08-16 19:58:48.000000000 +0200
+++ new/lib/active_support/duration.rb  2019-11-05 15:37:38.000000000 +0100
@@ -338,8 +338,8 @@
     #   1.year.to_i     # => 31556952
     #
     # In such cases, Ruby's core
-    # Date[http://ruby-doc.org/stdlib/libdoc/date/rdoc/Date.html] and
-    # Time[http://ruby-doc.org/stdlib/libdoc/time/rdoc/Time.html] should be 
used for precision
+    # Date[https://ruby-doc.org/stdlib/libdoc/date/rdoc/Date.html] and
+    # Time[https://ruby-doc.org/stdlib/libdoc/time/rdoc/Time.html] should be 
used for precision
     # date and time arithmetic.
     def to_i
       @value.to_i
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       2019-08-16 19:58:48.000000000 
+0200
+++ new/lib/active_support/gem_version.rb       2019-11-05 15:37:38.000000000 
+0100
@@ -9,7 +9,7 @@
   module VERSION
     MAJOR = 6
     MINOR = 0
-    TINY  = 0
+    TINY  = 1
     PRE   = nil
 
     STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".")
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/active_support/notifications/instrumenter.rb 
new/lib/active_support/notifications/instrumenter.rb
--- old/lib/active_support/notifications/instrumenter.rb        2019-08-16 
19:58:48.000000000 +0200
+++ new/lib/active_support/notifications/instrumenter.rb        2019-11-05 
15:37:38.000000000 +0100
@@ -57,7 +57,8 @@
 
       def self.clock_gettime_supported? # :nodoc:
         defined?(Process::CLOCK_PROCESS_CPUTIME_ID) &&
-          !Gem.win_platform?
+          !Gem.win_platform? &&
+          !RUBY_PLATFORM.match?(/solaris/i)
       end
       private_class_method :clock_gettime_supported?
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/active_support/ordered_hash.rb 
new/lib/active_support/ordered_hash.rb
--- old/lib/active_support/ordered_hash.rb      2019-08-16 19:58:48.000000000 
+0200
+++ new/lib/active_support/ordered_hash.rb      2019-11-05 15:37:38.000000000 
+0100
@@ -16,7 +16,7 @@
   #   oh.keys # => [:a, :b], this order is guaranteed
   #
   # Also, maps the +omap+ feature for YAML files
-  # (See http://yaml.org/type/omap.html) to support ordered items
+  # (See https://yaml.org/type/omap.html) to support ordered items
   # when loading from yaml.
   #
   # <tt>ActiveSupport::OrderedHash</tt> is namespaced to prevent conflicts
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/active_support/ordered_options.rb 
new/lib/active_support/ordered_options.rb
--- old/lib/active_support/ordered_options.rb   2019-08-16 19:58:48.000000000 
+0200
+++ new/lib/active_support/ordered_options.rb   2019-11-05 15:37:38.000000000 
+0100
@@ -39,7 +39,7 @@
     end
 
     def method_missing(name, *args)
-      name_string = name.to_s
+      name_string = +name.to_s
       if name_string.chomp!("=")
         self[name_string] = args.first
       else
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata        2019-08-16 19:58:48.000000000 +0200
+++ new/metadata        2019-11-05 15:37:38.000000000 +0100
@@ -1,14 +1,14 @@
 --- !ruby/object:Gem::Specification
 name: activesupport
 version: !ruby/object:Gem::Version
-  version: 6.0.0
+  version: 6.0.1
 platform: ruby
 authors:
 - David Heinemeier Hansson
 autorequire: 
 bindir: bin
 cert_chain: []
-date: 2019-08-16 00:00:00.000000000 Z
+date: 2019-11-05 00:00:00.000000000 Z
 dependencies:
 - !ruby/object:Gem::Dependency
   name: i18n
@@ -84,20 +84,14 @@
     requirements:
     - - "~>"
       - !ruby/object:Gem::Version
-        version: '2.1'
-    - - ">="
-      - !ruby/object:Gem::Version
-        version: 2.1.8
+        version: '2.2'
   type: :runtime
   prerelease: false
   version_requirements: !ruby/object:Gem::Requirement
     requirements:
     - - "~>"
       - !ruby/object:Gem::Version
-        version: '2.1'
-    - - ">="
-      - !ruby/object:Gem::Version
-        version: 2.1.8
+        version: '2.2'
 description: A toolkit of support libraries and Ruby core extensions extracted 
from
   the Rails framework. Rich support for multibyte strings, 
internationalization, time
   zones, and testing.
@@ -358,8 +352,11 @@
 licenses:
 - MIT
 metadata:
-  source_code_uri: https://github.com/rails/rails/tree/v6.0.0/activesupport
-  changelog_uri: 
https://github.com/rails/rails/blob/v6.0.0/activesupport/CHANGELOG.md
+  bug_tracker_uri: https://github.com/rails/rails/issues
+  changelog_uri: 
https://github.com/rails/rails/blob/v6.0.1/activesupport/CHANGELOG.md
+  documentation_uri: https://api.rubyonrails.org/v6.0.1/
+  mailing_list_uri: https://groups.google.com/forum/#!forum/rubyonrails-talk
+  source_code_uri: https://github.com/rails/rails/tree/v6.0.1/activesupport
 post_install_message: 
 rdoc_options:
 - "--encoding"
@@ -377,7 +374,7 @@
     - !ruby/object:Gem::Version
       version: '0'
 requirements: []
-rubygems_version: 3.0.1
+rubygems_version: 3.0.3
 signing_key: 
 specification_version: 4
 summary: A toolkit of support libraries and Ruby core extensions extracted 
from the


Reply via email to