Hello community,

here is the log from the commit of package rubygem-hashie for openSUSE:Factory 
checked in at 2018-02-14 09:28:19
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-hashie (Old)
 and      /work/SRC/openSUSE:Factory/.rubygem-hashie.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "rubygem-hashie"

Wed Feb 14 09:28:19 2018 rev:21 rq:574086 version:3.5.7

Changes:
--------
--- /work/SRC/openSUSE:Factory/rubygem-hashie/rubygem-hashie.changes    
2017-09-26 21:13:35.769367114 +0200
+++ /work/SRC/openSUSE:Factory/.rubygem-hashie.new/rubygem-hashie.changes       
2018-02-14 09:28:27.482359146 +0100
@@ -1,0 +2,18 @@
+Tue Jan  9 07:32:06 UTC 2018 - co...@suse.com
+
+- updated to version 3.5.7
+ see installed CHANGELOG.md
+
+  ## [3.5.7] - 2017-12-19
+  
+  [3.5.7]: https://github.com/intridea/hashie/compare/v3.5.6...v3.5.7
+  
+  ### Fixed
+  
+  [#430](https://github.com/intridea/hashie/pull/430): Fix Hashie::Rash 
randomly losing items - [@Antti](https://github.com/Antti)
+  
+  ### Miscellaneous
+  
+  * [#425](https://github.com/intridea/hashie/pull/425): Update rubies in CI - 
[@kachick](https://github.com/kachick).
+
+-------------------------------------------------------------------

Old:
----
  hashie-3.5.6.gem

New:
----
  hashie-3.5.7.gem

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

Other differences:
------------------
++++++ rubygem-hashie.spec ++++++
--- /var/tmp/diff_new_pack.1f6Kag/_old  2018-02-14 09:28:28.186333635 +0100
+++ /var/tmp/diff_new_pack.1f6Kag/_new  2018-02-14 09:28:28.190333490 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package rubygem-hashie
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 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-hashie
-Version:        3.5.6
+Version:        3.5.7
 Release:        0
 %define mod_name hashie
 %define mod_full_name %{mod_name}-%{version}
@@ -33,7 +33,7 @@
 BuildRequires:  %{ruby}
 BuildRequires:  ruby-macros >= 5
 Url:            https://github.com/intridea/hashie
-Source:         http://rubygems.org/gems/%{mod_full_name}.gem
+Source:         https://rubygems.org/gems/%{mod_full_name}.gem
 Source1:        gem2rpm.yml
 Summary:        Your friendly neighborhood hash library
 License:        MIT

++++++ hashie-3.5.6.gem -> hashie-3.5.7.gem ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/CHANGELOG.md new/CHANGELOG.md
--- old/CHANGELOG.md    2017-07-12 16:56:12.000000000 +0200
+++ new/CHANGELOG.md    2017-12-19 21:42:55.000000000 +0100
@@ -6,6 +6,18 @@
 
 [semver]: http://semver.org/spec/v2.0.0.html
 
+## [3.5.7] - 2017-12-19
+
+[3.5.7]: https://github.com/intridea/hashie/compare/v3.5.6...v3.5.7
+
+### Fixed
+
+[#430](https://github.com/intridea/hashie/pull/430): Fix Hashie::Rash randomly 
losing items - [@Antti](https://github.com/Antti)
+
+### Miscellaneous
+
+* [#425](https://github.com/intridea/hashie/pull/425): Update rubies in CI - 
[@kachick](https://github.com/kachick).
+
 ## [3.5.6] - 2017-07-12
 
 [3.5.6]: https://github.com/intridea/hashie/compare/v3.5.5...v3.5.6
@@ -13,7 +25,6 @@
 ### Miscellaneous
 
 * [#416](https://github.com/intridea/hashie/pull/416): Fix `warning: instance 
variable @disable_warnings not initialized` - 
[@axfcampos](https://github.com/axfcampos).
-* Your contribution here.
 
 ## [3.5.5] - 2017-02-24
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/README.md new/README.md
--- old/README.md       2017-07-12 16:56:12.000000000 +0200
+++ new/README.md       2017-12-19 21:42:55.000000000 +0100
@@ -20,7 +20,7 @@
 
 ## Upgrading
 
-You're reading the documentation for the stable release of Hashie, 3.5.6. 
Please read [UPGRADING](UPGRADING.md) when upgrading from a previous version.
+You're reading the documentation for the stable release of Hashie, 3.5.7. 
Please read [UPGRADING](UPGRADING.md) when upgrading from a previous version.
 
 ## Hash Extensions
 
Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/hashie/mash.rb new/lib/hashie/mash.rb
--- old/lib/hashie/mash.rb      2017-07-12 16:56:12.000000000 +0200
+++ new/lib/hashie/mash.rb      2017-12-19 21:42:55.000000000 +0100
@@ -344,7 +344,7 @@
       Hashie.logger.warn(
         'You are setting a key that conflicts with a built-in method ' \
         "#{self.class}##{method_key} #{method_information}. " \
-        'This can cause unexpected behavior when accessing the key via as a ' \
+        'This can cause unexpected behavior when accessing the key as a ' \
         'property. You can still access the key via the #[] method.'
       )
     end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/hashie/rash.rb new/lib/hashie/rash.rb
--- old/lib/hashie/rash.rb      2017-07-12 16:56:12.000000000 +0200
+++ new/lib/hashie/rash.rb      2017-12-19 21:42:55.000000000 +0100
@@ -136,7 +136,7 @@
 
     def optimize_if_necessary!
       return unless (@lookups += 1) >= @optimize_every
-      @regexes = @regex_counts.sort_by { |_, count| -count }.map { |regex, _| 
regex }
+      @regexes = @regexes.sort_by { |regex| -@regex_counts[regex] }
       @lookups = 0
     end
   end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/hashie/version.rb new/lib/hashie/version.rb
--- old/lib/hashie/version.rb   2017-07-12 16:56:12.000000000 +0200
+++ new/lib/hashie/version.rb   2017-12-19 21:42:55.000000000 +0100
@@ -1,3 +1,3 @@
 module Hashie
-  VERSION = '3.5.6'
+  VERSION = '3.5.7'
 end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata        2017-07-12 16:56:12.000000000 +0200
+++ new/metadata        2017-12-19 21:42:55.000000000 +0100
@@ -1,7 +1,7 @@
 --- !ruby/object:Gem::Specification
 name: hashie
 version: !ruby/object:Gem::Version
-  version: 3.5.6
+  version: 3.5.7
 platform: ruby
 authors:
 - Michael Bleigh
@@ -9,7 +9,7 @@
 autorequire: 
 bindir: bin
 cert_chain: []
-date: 2017-07-12 00:00:00.000000000 Z
+date: 2017-12-19 00:00:00.000000000 Z
 dependencies:
 - !ruby/object:Gem::Dependency
   name: rake
@@ -169,52 +169,52 @@
       version: '0'
 requirements: []
 rubyforge_project: 
-rubygems_version: 2.6.11
+rubygems_version: 2.6.13
 signing_key: 
 specification_version: 4
 summary: Your friendly neighborhood hash library.
 test_files:
+- spec/hashie/parsers/yaml_erb_parser_spec.rb
 - spec/hashie/array_spec.rb
+- spec/hashie/hash_spec.rb
+- spec/hashie/version_spec.rb
 - spec/hashie/clash_spec.rb
-- spec/hashie/dash_spec.rb
-- spec/hashie/extensions/autoload_spec.rb
+- spec/hashie/mash_spec.rb
+- spec/hashie/extensions/stringify_keys_spec.rb
+- spec/hashie/extensions/deep_locate_spec.rb
 - spec/hashie/extensions/coercion_spec.rb
-- spec/hashie/extensions/dash/coercion_spec.rb
-- spec/hashie/extensions/dash/indifferent_access_spec.rb
+- spec/hashie/extensions/mash/safe_assignment_spec.rb
+- spec/hashie/extensions/mash/symbolize_keys_spec.rb
+- spec/hashie/extensions/mash/keep_original_keys_spec.rb
+- spec/hashie/extensions/key_conversion_spec.rb
+- spec/hashie/extensions/ignore_undeclared_spec.rb
+- spec/hashie/extensions/autoload_spec.rb
+- spec/hashie/extensions/strict_key_access_spec.rb
 - spec/hashie/extensions/deep_fetch_spec.rb
+- spec/hashie/extensions/method_access_spec.rb
 - spec/hashie/extensions/deep_find_spec.rb
-- spec/hashie/extensions/deep_locate_spec.rb
 - spec/hashie/extensions/deep_merge_spec.rb
-- spec/hashie/extensions/ignore_undeclared_spec.rb
-- spec/hashie/extensions/indifferent_access_spec.rb
-- spec/hashie/extensions/indifferent_access_with_rails_hwia_spec.rb
-- spec/hashie/extensions/key_conversion_spec.rb
-- spec/hashie/extensions/mash/keep_original_keys_spec.rb
-- spec/hashie/extensions/mash/safe_assignment_spec.rb
-- spec/hashie/extensions/mash/symbolize_keys_spec.rb
 - spec/hashie/extensions/merge_initializer_spec.rb
-- spec/hashie/extensions/method_access_spec.rb
-- spec/hashie/extensions/strict_key_access_spec.rb
-- spec/hashie/extensions/stringify_keys_spec.rb
+- spec/hashie/extensions/indifferent_access_with_rails_hwia_spec.rb
+- spec/hashie/extensions/dash/coercion_spec.rb
+- spec/hashie/extensions/dash/indifferent_access_spec.rb
 - spec/hashie/extensions/symbolize_keys_spec.rb
-- spec/hashie/hash_spec.rb
-- spec/hashie/mash_spec.rb
-- spec/hashie/parsers/yaml_erb_parser_spec.rb
+- spec/hashie/extensions/indifferent_access_spec.rb
 - spec/hashie/rash_spec.rb
-- spec/hashie/trash_spec.rb
 - spec/hashie/utils_spec.rb
-- spec/hashie/version_spec.rb
-- spec/hashie_spec.rb
-- spec/integration/omniauth/app.rb
-- spec/integration/omniauth/integration_spec.rb
-- spec/integration/omniauth-oauth2/app.rb
+- spec/hashie/dash_spec.rb
+- spec/hashie/trash_spec.rb
+- spec/spec_helper.rb
+- spec/integration/rails-without-dependency/integration_spec.rb
 - spec/integration/omniauth-oauth2/integration_spec.rb
+- spec/integration/omniauth-oauth2/app.rb
 - spec/integration/omniauth-oauth2/some_site.rb
-- spec/integration/rails/app.rb
+- spec/integration/omniauth/integration_spec.rb
+- spec/integration/omniauth/app.rb
 - spec/integration/rails/integration_spec.rb
-- spec/integration/rails-without-dependency/integration_spec.rb
-- spec/spec_helper.rb
-- spec/support/integration_specs.rb
-- spec/support/logger.rb
+- spec/integration/rails/app.rb
 - spec/support/module_context.rb
+- spec/support/logger.rb
+- spec/support/integration_specs.rb
 - spec/support/ruby_version_check.rb
+- spec/hashie_spec.rb
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/spec/hashie/rash_spec.rb new/spec/hashie/rash_spec.rb
--- old/spec/hashie/rash_spec.rb        2017-07-12 16:56:12.000000000 +0200
+++ new/spec/hashie/rash_spec.rb        2017-12-19 21:42:55.000000000 +0100
@@ -74,4 +74,10 @@
     expect(subject.respond_to?(:to_a)).to be true
     expect(subject.methods).to_not include(:to_a)
   end
+
+  it 'does not lose keys' do
+    subject.optimize_every = 1
+    expect(subject['hello']).to eq('hello')
+    expect(subject['world']).to eq('world')
+  end
 end


Reply via email to