Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package rubygem-msgpack for openSUSE:Factory checked in at 2022-06-15 00:32:27 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/rubygem-msgpack (Old) and /work/SRC/openSUSE:Factory/.rubygem-msgpack.new.1548 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygem-msgpack" Wed Jun 15 00:32:27 2022 rev:17 rq:982532 version:1.5.2 Changes: -------- --- /work/SRC/openSUSE:Factory/rubygem-msgpack/rubygem-msgpack.changes 2022-04-30 22:52:45.748242488 +0200 +++ /work/SRC/openSUSE:Factory/.rubygem-msgpack.new.1548/rubygem-msgpack.changes 2022-06-15 00:32:38.370556473 +0200 @@ -1,0 +2,7 @@ +Mon Jun 13 17:04:57 UTC 2022 - Manuel Schnitzer <mschnit...@suse.com> + +- updated to version 1.5.2 + + * Fix bug about unpacking ext type objects with the recursive option + +------------------------------------------------------------------- Old: ---- msgpack-1.5.1.gem New: ---- msgpack-1.5.2.gem ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ rubygem-msgpack.spec ++++++ --- /var/tmp/diff_new_pack.AxcpM7/_old 2022-06-15 00:32:40.626559788 +0200 +++ /var/tmp/diff_new_pack.AxcpM7/_new 2022-06-15 00:32:40.630559794 +0200 @@ -24,7 +24,7 @@ # Name: rubygem-msgpack -Version: 1.5.1 +Version: 1.5.2 Release: 0 %define mod_name msgpack %define mod_full_name %{mod_name}-%{version} ++++++ msgpack-1.5.1.gem -> msgpack-1.5.2.gem ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/.github/workflows/ci.yaml new/.github/workflows/ci.yaml --- old/.github/workflows/ci.yaml 2022-04-07 02:58:51.000000000 +0200 +++ new/.github/workflows/ci.yaml 2022-05-27 03:57:24.000000000 +0200 @@ -25,12 +25,12 @@ bundler-cache: true # 'bundle install' and cache - run: bundle exec rake - jruby: + other: strategy: fail-fast: false matrix: os: [ubuntu] - ruby: ['jruby-9.2.19.0', 'jruby-9.3.3.0'] + ruby: ['jruby-9.2.19.0', 'jruby-9.3.3.0', 'truffleruby'] runs-on: ${{ matrix.os }}-latest steps: - uses: actions/checkout@v2 @@ -38,7 +38,7 @@ with: ruby-version: ${{ matrix.ruby }} bundler-cache: true # 'bundle install' and cache - - run: bundle exec rake + - run: bundle exec rake spec head-versions: continue-on-error: true @@ -46,7 +46,7 @@ fail-fast: false matrix: os: [ubuntu] - ruby: ['ruby-head', 'jruby-head', 'truffleruby'] + ruby: ['ruby-head', 'jruby-head'] runs-on: ${{ matrix.os }}-latest steps: - uses: actions/checkout@v2 @@ -54,4 +54,4 @@ with: ruby-version: ${{ matrix.ruby }} bundler-cache: true # 'bundle install' and cache - - run: bundle exec rake || echo "failed, but ignore it" + - run: bundle exec rake spec || echo "failed, but ignore it" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ChangeLog new/ChangeLog --- old/ChangeLog 2022-04-07 02:58:51.000000000 +0200 +++ new/ChangeLog 2022-05-27 03:57:24.000000000 +0200 @@ -1,3 +1,7 @@ +2022-05-27 version 1.5.2: + +* Fix bug about unpacking ext type objects with the recursive option + 2022-04-07 version 1.5.1: * Fix bug about packing/unpacking ext type objects with the recursive option Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ext/msgpack/unpacker.c new/ext/msgpack/unpacker.c --- old/ext/msgpack/unpacker.c 2022-04-07 02:58:51.000000000 +0200 +++ new/ext/msgpack/unpacker.c 2022-05-27 03:57:24.000000000 +0200 @@ -302,7 +302,6 @@ VALUE obj; uk->last_object = Qnil; reset_head_byte(uk); - size_t ext_size = uk->reading_raw_remaining; uk->reading_raw_remaining = 0; msgpack_unpacker_stack_t* stack = uk->stack; @@ -320,7 +319,6 @@ uk->stack_depth = stack_depth; uk->stack_capacity = stack_capacity; - msgpack_buffer_skip(UNPACKER_BUFFER_(uk), ext_size); return object_complete(uk, obj); } } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/msgpack/version.rb new/lib/msgpack/version.rb --- old/lib/msgpack/version.rb 2022-04-07 02:58:51.000000000 +0200 +++ new/lib/msgpack/version.rb 2022-05-27 03:57:24.000000000 +0200 @@ -1,5 +1,5 @@ module MessagePack - VERSION = "1.5.1" + VERSION = "1.5.2" # Note for maintainers: # Don't miss building/releasing the JRuby version (rake buld:java) # See "How to build -java rubygems" in README for more details. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/metadata new/metadata --- old/metadata 2022-04-07 02:58:51.000000000 +0200 +++ new/metadata 2022-05-27 03:57:24.000000000 +0200 @@ -1,7 +1,7 @@ --- !ruby/object:Gem::Specification name: msgpack version: !ruby/object:Gem::Version - version: 1.5.1 + version: 1.5.2 platform: ruby authors: - Sadayuki Furuhashi @@ -10,7 +10,7 @@ autorequire: bindir: bin cert_chain: [] -date: 2022-04-07 00:00:00.000000000 Z +date: 2022-05-27 00:00:00.000000000 Z dependencies: - !ruby/object:Gem::Dependency name: bundler diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/spec/factory_spec.rb new/spec/factory_spec.rb --- old/spec/factory_spec.rb 2022-04-07 02:58:51.000000000 +0200 +++ new/spec/factory_spec.rb 2022-05-27 03:57:24.000000000 +0200 @@ -422,6 +422,12 @@ MessagePack::ExtensionValue.new(1, factory.dump(x: 1, y: 2, z: 3)), 3, ] + + expect(factory.load(payload)).to be == [ + 1, + Point.new(1, 2, 3), + 3, + ] end it 'can be nested' do diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/spec/spec_helper.rb new/spec/spec_helper.rb --- old/spec/spec_helper.rb 2022-04-07 02:58:51.000000000 +0200 +++ new/spec/spec_helper.rb 2022-05-27 03:57:24.000000000 +0200 @@ -29,6 +29,8 @@ IS_JRUBY = RUBY_ENGINE == 'jruby' +IS_TRUFFLERUBY = RUBY_ENGINE == 'truffleruby' + # checking if Hash#[]= (rb_hash_aset) dedupes string keys def automatic_string_keys_deduplication? h = {} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/spec/timestamp_spec.rb new/spec/timestamp_spec.rb --- old/spec/timestamp_spec.rb 2022-04-07 02:58:51.000000000 +0200 +++ new/spec/timestamp_spec.rb 2022-05-27 03:57:24.000000000 +0200 @@ -87,14 +87,14 @@ let(:time96_min) { Time.at(-2**63).utc } it 'is serialized into timestamp96' do - skip if IS_JRUBY # JRuby cannot handle numerics larger than long + skip if IS_JRUBY || IS_TRUFFLERUBY # JRuby and TruffleRuby both use underlying Java time classes that do not support |year| >= 1 billion expect(factory.pack(time96_min).size).to be 15 expect(factory.unpack(factory.pack(time96_min)).utc).to eq(time96_min) end let(:time96_max) { Time.at(2**63 - 1).utc } it 'is serialized into timestamp96' do - skip if IS_JRUBY # JRuby cannot handle numerics larger than long + skip if IS_JRUBY || IS_TRUFFLERUBY # JRuby and TruffleRuby both use underlying Java time classes that do not support |year| >= 1 billion expect(factory.pack(time96_max).size).to be 15 expect(factory.unpack(factory.pack(time96_max)).utc).to eq(time96_max) end