Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package rubygem-mixlib-config for 
openSUSE:Factory checked in at 2022-08-09 15:26:41
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-mixlib-config (Old)
 and      /work/SRC/openSUSE:Factory/.rubygem-mixlib-config.new.1521 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "rubygem-mixlib-config"

Tue Aug  9 15:26:41 2022 rev:15 rq:993497 version:3.0.27

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/rubygem-mixlib-config/rubygem-mixlib-config.changes  
    2020-10-26 16:15:15.658879008 +0100
+++ 
/work/SRC/openSUSE:Factory/.rubygem-mixlib-config.new.1521/rubygem-mixlib-config.changes
    2022-08-09 15:26:55.625380841 +0200
@@ -1,0 +2,6 @@
+Thu Aug  4 13:18:13 UTC 2022 - Stephan Kulow <co...@suse.com>
+
+updated to version 3.0.27
+  no changelog found
+
+-------------------------------------------------------------------

Old:
----
  mixlib-config-3.0.9.gem

New:
----
  mixlib-config-3.0.27.gem

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

Other differences:
------------------
++++++ rubygem-mixlib-config.spec ++++++
--- /var/tmp/diff_new_pack.utNgVt/_old  2022-08-09 15:26:56.773384121 +0200
+++ /var/tmp/diff_new_pack.utNgVt/_new  2022-08-09 15:26:56.777384132 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package rubygem-mixlib-config
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -24,12 +24,12 @@
 #
 
 Name:           rubygem-mixlib-config
-Version:        3.0.9
+Version:        3.0.27
 Release:        0
 %define mod_name mixlib-config
 %define mod_full_name %{mod_name}-%{version}
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-BuildRequires:  %{ruby >= 2.4}
+BuildRequires:  %{ruby >= 2.5}
 BuildRequires:  %{rubygem gem2rpm}
 BuildRequires:  ruby-macros >= 5
 URL:            https://github.com/chef/mixlib-config

++++++ mixlib-config-3.0.9.gem -> mixlib-config-3.0.27.gem ++++++
Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/mixlib/config/version.rb 
new/lib/mixlib/config/version.rb
--- old/lib/mixlib/config/version.rb    2020-08-13 17:50:51.000000000 +0200
+++ new/lib/mixlib/config/version.rb    2022-06-07 16:29:14.000000000 +0200
@@ -19,7 +19,7 @@
 module Mixlib
   module Config
 
-    VERSION = "3.0.9".freeze
+    VERSION = "3.0.27".freeze
 
   end
 end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/mixlib/config.rb new/lib/mixlib/config.rb
--- old/lib/mixlib/config.rb    2020-08-13 17:50:51.000000000 +0200
+++ new/lib/mixlib/config.rb    2022-06-07 16:29:14.000000000 +0200
@@ -565,10 +565,13 @@
     # the #to_dotted_hash method above.
     #
     # === Parameters
-    # hash<Hash>:: The hash to apply to the config oject
+    # hash<Hash>:: The hash to apply to the config object
     def apply_nested_hash(hash)
       hash.each do |k, v|
-        if v.is_a? Hash
+        if v.is_a?(Hash) && internal_get(k.to_sym).is_a?(Hash)
+          # If it is a plain config key (not a context) and the value is a 
Hash, plain merge the Hashes.
+          internal_set(k.to_sym, internal_get(k.to_sym).merge(v))
+        elsif v.is_a? Hash
           # If loading from hash, and we reference a context that doesn't exist
           # and warning/strict is off, we need to create the config context 
that we expected to be here.
           context = internal_get(k.to_sym) || config_context(k.to_sym)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata        2020-08-13 17:50:51.000000000 +0200
+++ new/metadata        2022-06-07 16:29:14.000000000 +0200
@@ -1,14 +1,14 @@
 --- !ruby/object:Gem::Specification
 name: mixlib-config
 version: !ruby/object:Gem::Version
-  version: 3.0.9
+  version: 3.0.27
 platform: ruby
 authors:
 - Chef Software, Inc.
 autorequire: 
 bindir: bin
 cert_chain: []
-date: 2020-08-13 00:00:00.000000000 Z
+date: 2022-06-07 00:00:00.000000000 Z
 dependencies:
 - !ruby/object:Gem::Dependency
   name: tomlrb
@@ -50,14 +50,14 @@
   requirements:
   - - ">="
     - !ruby/object:Gem::Version
-      version: '2.4'
+      version: '2.5'
 required_rubygems_version: !ruby/object:Gem::Requirement
   requirements:
   - - ">="
     - !ruby/object:Gem::Version
       version: '0'
 requirements: []
-rubygems_version: 3.0.3
+rubygems_version: 3.1.4
 signing_key: 
 specification_version: 4
 summary: A class based configuration library

Reply via email to