commit rubygem-deep_merge for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-deep_merge for openSUSE:Factory checked in at 2017-12-22 12:18:16 Comparing /work/SRC/openSUSE:Factory/rubygem-deep_merge (Old) and /work/SRC/openSUSE:Factory/.rubygem-deep_merge.new (New) Package is "rubygem-deep_merge" Fri Dec 22 12:18:16 2017 rev:3 rq:554626 version:1.2.1 Changes: --- /work/SRC/openSUSE:Factory/rubygem-deep_merge/rubygem-deep_merge.changes 2016-08-05 18:17:06.0 +0200 +++ /work/SRC/openSUSE:Factory/.rubygem-deep_merge.new/rubygem-deep_merge.changes 2017-12-22 12:18:21.575541557 +0100 @@ -1,0 +2,17 @@ +Sun Dec 3 19:14:38 UTC 2017 - co...@suse.com + +- updated to version 1.2.1 + see installed CHANGELOG + + 2017-11-16 Jason Frey+* Ship version 1.2.1 + +* Fixed release date in the gemspec. + + 2017-11-16 Jason Frey +* Ship version 1.2.0 + + 2017-04-25 Joe Rafaniello +* Merge nil values or keep the original via an option + +--- Old: deep_merge-1.1.1.gem New: deep_merge-1.2.1.gem Other differences: -- ++ rubygem-deep_merge.spec ++ --- /var/tmp/diff_new_pack.7aGURw/_old 2017-12-22 12:18:22.051518349 +0100 +++ /var/tmp/diff_new_pack.7aGURw/_new 2017-12-22 12:18:22.051518349 +0100 @@ -1,7 +1,7 @@ # # spec file for package rubygem-deep_merge # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # 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-deep_merge -Version:1.1.1 +Version:1.2.1 Release:0 %define mod_name deep_merge %define mod_full_name %{mod_name}-%{version} @@ -33,7 +33,7 @@ BuildRequires: %{ruby} BuildRequires: ruby-macros >= 5 Url:https://github.com/danielsdeleo/deep_merge -Source: http://rubygems.org/gems/%{mod_full_name}.gem +Source: https://rubygems.org/gems/%{mod_full_name}.gem Source1:gem2rpm.yml Summary:Merge Deeply Nested Hashes License:MIT ++ deep_merge-1.1.1.gem -> deep_merge-1.2.1.gem ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CHANGELOG new/CHANGELOG --- old/CHANGELOG 2016-08-02 00:18:09.0 +0200 +++ new/CHANGELOG 2017-11-16 21:10:35.0 +0100 @@ -1,3 +1,14 @@ +2017-11-16 Jason Frey + * Ship version 1.2.1 + + * Fixed release date in the gemspec. + +2017-11-16 Jason Frey + * Ship version 1.2.0 + +2017-04-25 Joe Rafaniello + * Merge nil values or keep the original via an option + 2016-08-01 Jason Frey * Ship version 1.1.1 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/README.md new/README.md --- old/README.md 2016-08-02 00:18:09.0 +0200 +++ new/README.md 2017-11-16 21:10:35.0 +0100 @@ -39,6 +39,8 @@ Set to true to merge hashes within arrays :extend_existing_arrays DEFAULT: false Set to true to extend existing arrays, instead of overwriting them +:merge_nil_values DEFAULT: false + Set to true to merge nil hash values, overwriting a possibly non-nil value :merge_debugDEFAULT: false Set to true to get console output of merge process for debugging @@ -99,6 +101,15 @@ dest.deep_merge!(source, {:extend_existing_arrays => true}) Results: {"property" => ["1", "2", "3", "4"]} +**:merge_nil_values** + +The purpose of this option is to allow nil hash values to be merged. The prior behavior was to discard nil hash values and remains the default if not specified. + +source = {"item" => nil} +dest = {"item" => "existing"} +dest.deep_merge!(source, {:merge_nil_values => true}) +Results: {"item" => nil} + There are many tests for this library - and you can learn more about the features and usages of deep_merge! by just browsing the test examples. Using deep_merge in Rails Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/deep_merge/core.rb new/lib/deep_merge/core.rb --- old/lib/deep_merge/core.rb 2016-08-02 00:18:09.0 +0200 +++ new/lib/deep_merge/core.rb 2017-11-16 21:10:35.0 +0100 @@ -34,6 +34,8 @@ # Set to string value to run "Array::join" then "String::split" against all arrays #
commit rubygem-deep_merge for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-deep_merge for openSUSE:Factory checked in at 2016-08-05 18:16:56 Comparing /work/SRC/openSUSE:Factory/rubygem-deep_merge (Old) and /work/SRC/openSUSE:Factory/.rubygem-deep_merge.new (New) Package is "rubygem-deep_merge" Changes: --- /work/SRC/openSUSE:Factory/rubygem-deep_merge/rubygem-deep_merge.changes 2014-12-03 22:47:41.0 +0100 +++ /work/SRC/openSUSE:Factory/.rubygem-deep_merge.new/rubygem-deep_merge.changes 2016-08-05 18:17:06.0 +0200 @@ -1,0 +2,25 @@ +Tue Aug 2 04:30:57 UTC 2016 - co...@suse.com + +- updated to version 1.1.1 + see installed CHANGELOG + + 2016-08-01 Jason Frey+* Ship version 1.1.1 + +* Fixed release date in the gemspec. + + 2016-08-01 Jason Frey +* Ship version 1.1.0 + +* Add testing for newer Ruby 2.2, 2.3, head, and jruby-head. + + 2016-06-14 Michael Sievers +* Add extend_existing_arrays option + + 2016-06-07 Jason Frey +* Add overwrite_arrays option + + 2016-04-08 Dan Deleo +* Remove support for old Ruby 1.8 and 1.9 + +--- Old: deep_merge-1.0.1.gem New: deep_merge-1.1.1.gem gem2rpm.yml Other differences: -- ++ rubygem-deep_merge.spec ++ --- /var/tmp/diff_new_pack.8Mgx18/_old 2016-08-05 18:17:07.0 +0200 +++ /var/tmp/diff_new_pack.8Mgx18/_new 2016-08-05 18:17:07.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package rubygem-deep_merge # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,23 +15,32 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + +# +# This file was generated with a gem2rpm.yml and not just plain gem2rpm. +# All sections marked as MANUAL, license headers, summaries and descriptions +# can be maintained in that file. Please consult this file before editing any +# of those fields +# + Name: rubygem-deep_merge -Version:1.0.1 +Version:1.1.1 Release:0 %define mod_name deep_merge %define mod_full_name %{mod_name}-%{version} BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: ruby-macros >= 5 -BuildRequires: %{ruby} BuildRequires: %{rubygem gem2rpm} -Url:http://github.com/danielsdeleo/deep_merge +BuildRequires: %{ruby} +BuildRequires: ruby-macros >= 5 +Url:https://github.com/danielsdeleo/deep_merge Source: http://rubygems.org/gems/%{mod_full_name}.gem +Source1:gem2rpm.yml Summary:Merge Deeply Nested Hashes License:MIT Group: Development/Languages/Ruby %description -Recursively merge hashes. Now works with Ruby 1.9 and ActiveSupport. +Recursively merge hashes. %prep @@ -39,7 +48,7 @@ %install %gem_install \ - --doc-files="CHANGELOG README.md" \ + --doc-files="CHANGELOG LICENSE README.md" \ -f %gem_packages ++ deep_merge-1.0.1.gem -> deep_merge-1.1.1.gem ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CHANGELOG new/CHANGELOG --- old/CHANGELOG 2014-01-21 19:10:15.0 +0100 +++ new/CHANGELOG 2016-08-02 00:18:09.0 +0200 @@ -1,4 +1,25 @@ +2016-08-01 Jason Frey + * Ship version 1.1.1 + + * Fixed release date in the gemspec. + +2016-08-01 Jason Frey + * Ship version 1.1.0 + + * Add testing for newer Ruby 2.2, 2.3, head, and jruby-head. + +2016-06-14 Michael Sievers + * Add extend_existing_arrays option + +2016-06-07 Jason Frey + * Add overwrite_arrays option + +2016-04-08 Dan Deleo + * Remove support for old Ruby 1.8 and 1.9 + 2014-01-21 Dan DeLeo + * Ship version 1.0.1 + * Update knockout behavior to better handle nil (b7de40b5) 2011-08-15 Dan DeLeo diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/LICENSE new/LICENSE --- old/LICENSE 1970-01-01 01:00:00.0 +0100 +++ new/LICENSE 2016-08-02 00:18:09.0 +0200 @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2008-2016 Steve Midgley, Daniel DeLeo + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software