commit rubygem-msgpack for openSUSE:Factory

2020-03-07 Thread root
Hello community,

here is the log from the commit of package rubygem-msgpack for openSUSE:Factory 
checked in at 2020-03-07 21:39:04

Comparing /work/SRC/openSUSE:Factory/rubygem-msgpack (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-msgpack.new.26092 (New)


Package is "rubygem-msgpack"

Sat Mar  7 21:39:04 2020 rev:12 rq:773795 version:1.3.3

Changes:

--- /work/SRC/openSUSE:Factory/rubygem-msgpack/rubygem-msgpack.changes  
2019-08-16 15:51:01.137584076 +0200
+++ 
/work/SRC/openSUSE:Factory/.rubygem-msgpack.new.26092/rubygem-msgpack.changes   
2020-03-07 21:39:10.092309812 +0100
@@ -1,0 +2,14 @@
+Mon Feb 10 15:12:24 UTC 2020 - Stephan Kulow 
+
+- updated to version 1.3.3
+ see installed ChangeLog
+
+  2020-02-05 version 1.3.3:
+  
+  * Hotfix release for Windows environments: 1.3.2 missed including binaries
+  
+  2020-02-04 version 1.3.2:
+  
+  * Add Ruby 2.7.0 binary in gem releases for Windows
+
+---

Old:

  msgpack-1.3.1.gem

New:

  msgpack-1.3.3.gem



Other differences:
--
++ rubygem-msgpack.spec ++
--- /var/tmp/diff_new_pack.AlTvxO/_old  2020-03-07 21:39:10.896310356 +0100
+++ /var/tmp/diff_new_pack.AlTvxO/_new  2020-03-07 21:39:10.900310358 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package rubygem-msgpack
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # 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-msgpack
-Version:1.3.1
+Version:1.3.3
 Release:0
 %define mod_name msgpack
 %define mod_full_name %{mod_name}-%{version}
@@ -32,7 +32,7 @@
 BuildRequires:  %{rubydevel}
 BuildRequires:  %{rubygem gem2rpm}
 BuildRequires:  ruby-macros >= 5
-Url:http://msgpack.org/
+URL:http://msgpack.org/
 Source: https://rubygems.org/gems/%{mod_full_name}.gem
 Source1:gem2rpm.yml
 Source2:rubygem-msgpack-rpmlintrc

++ msgpack-1.3.1.gem -> msgpack-1.3.3.gem ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ChangeLog new/ChangeLog
--- old/ChangeLog   2019-08-05 04:27:44.0 +0200
+++ new/ChangeLog   2020-02-05 03:07:56.0 +0100
@@ -1,3 +1,11 @@
+2020-02-05 version 1.3.3:
+
+* Hotfix release for Windows environments: 1.3.2 missed including binaries
+
+2020-02-04 version 1.3.2:
+
+* Add Ruby 2.7.0 binary in gem releases for Windows
+
 2019-08-05 version 1.3.1:
 
 * Fix timestamp ext type bug about timestamps with seconds larger than 32bit 
int (after 2106-02-07 06:28:16 UTC)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Rakefile new/Rakefile
--- old/Rakefile2019-08-05 04:27:44.0 +0200
+++ new/Rakefile2020-02-05 03:07:56.0 +0100
@@ -69,7 +69,7 @@
   task :windows do
 require 'rake_compiler_dock'
 # See RUBY_CC_VERSION in 
https://github.com/rake-compiler/rake-compiler-dock/blob/master/Dockerfile
-RakeCompilerDock.sh 'bundle && gem i json && rake cross native gem 
RUBY_CC_VERSION=2.2.2:2.3.0:2.4.0:2.5.0:2.6.0'
+RakeCompilerDock.sh 'bundle && gem i json && rake cross native gem 
RUBY_CC_VERSION=2.2.2:2.3.0:2.4.0:2.5.0:2.6.0:2.7.0'
   end
 end
 
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_class.c 
new/ext/msgpack/unpacker_class.c
--- old/ext/msgpack/unpacker_class.c2019-08-05 04:27:44.0 +0200
+++ new/ext/msgpack/unpacker_class.c2020-02-05 03:07:56.0 +0100
@@ -77,9 +77,6 @@
 VALUE v = argv[0];
 if(rb_type(v) == T_HASH) {
 options = v;
-if(rb_type(options) != T_HASH) {
-rb_raise(rb_eArgError, "expected Hash but found %s.", 
rb_obj_classname(options));
-}
 } else {
 io = v;
 }
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  2019-08-05 04:27:44.0 +0200
+++ new/lib/msgpack/version.rb  2020-02-05 03:07:56.0 +0100
@@ -1,9 +1,10 @@
 module MessagePack
-  VERSION = "1.3.1"
+  VERSION = "1.3.3"
 
   # NOTE for msgpack-ruby maintainer:
   # Check these things to release new binaryes for new Ruby versions 
(especially for Windows):
   # * versions/supports of rake-compiler & rake-compiler-dock
+  #   
https://github.com/rake-compiler/rake-compiler-dock/blob/master/History.md
   # * 

commit rubygem-msgpack for openSUSE:Factory

2019-08-16 Thread root
Hello community,

here is the log from the commit of package rubygem-msgpack for openSUSE:Factory 
checked in at 2019-08-16 15:50:08

Comparing /work/SRC/openSUSE:Factory/rubygem-msgpack (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-msgpack.new.22127 (New)


Package is "rubygem-msgpack"

Fri Aug 16 15:50:08 2019 rev:11 rq:723820 version:1.3.1

Changes:

--- /work/SRC/openSUSE:Factory/rubygem-msgpack/rubygem-msgpack.changes  
2019-07-08 16:41:03.924963363 +0200
+++ 
/work/SRC/openSUSE:Factory/.rubygem-msgpack.new.22127/rubygem-msgpack.changes   
2019-08-16 15:51:01.137584076 +0200
@@ -1,0 +2,7 @@
+Thu Aug 15 17:59:29 UTC 2019 - Manuel Schnitzer 
+
+- updated to version 1.3.1
+
+  * Fix timestamp ext type bug about timestamps with seconds larger than 32bit 
int (after 2106-02-07 06:28:16 UTC)
+
+---

Old:

  msgpack-1.3.0.gem

New:

  msgpack-1.3.1.gem



Other differences:
--
++ rubygem-msgpack.spec ++
--- /var/tmp/diff_new_pack.wrZDO3/_old  2019-08-16 15:51:01.569583918 +0200
+++ /var/tmp/diff_new_pack.wrZDO3/_new  2019-08-16 15:51:01.569583918 +0200
@@ -24,7 +24,7 @@
 #
 
 Name:   rubygem-msgpack
-Version:1.3.0
+Version:1.3.1
 Release:0
 %define mod_name msgpack
 %define mod_full_name %{mod_name}-%{version}

++ msgpack-1.3.0.gem -> msgpack-1.3.1.gem ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/.gitignore new/.gitignore
--- old/.gitignore  2019-06-20 09:16:11.0 +0200
+++ new/.gitignore  2019-08-05 04:27:44.0 +0200
@@ -18,4 +18,6 @@
 .project
 .settings
 /nbproject/private/
-
+coverage/
+.idea/
+.ruby-version
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ChangeLog new/ChangeLog
--- old/ChangeLog   2019-06-20 09:16:11.0 +0200
+++ new/ChangeLog   2019-08-05 04:27:44.0 +0200
@@ -1,3 +1,7 @@
+2019-08-05 version 1.3.1:
+
+* Fix timestamp ext type bug about timestamps with seconds larger than 32bit 
int (after 2106-02-07 06:28:16 UTC)
+
 2019-06-20 verison 1.3.0:
 
 * Add timestamp ext type (id:-1) support
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Gemfile new/Gemfile
--- old/Gemfile 2019-06-20 09:16:11.0 +0200
+++ new/Gemfile 2019-08-05 04:27:44.0 +0200
@@ -4,3 +4,6 @@
 
 ## enable this line to run benchmarks
 # gem "viiite"
+
+gem "rubocop"
+gem "simplecov"
Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/doclib/msgpack/time.rb new/doclib/msgpack/time.rb
--- old/doclib/msgpack/time.rb  2019-06-20 09:16:11.0 +0200
+++ new/doclib/msgpack/time.rb  2019-08-05 04:27:44.0 +0200
@@ -15,7 +15,7 @@
 }
 
 # An unpacker function that unpacks a MessagePack timestamp to a Time 
instance.
-Unpcker = lambda { |time|
+Unpacker = lambda { |time|
   # ...
 }
   end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/msgpack/timestamp.rb new/lib/msgpack/timestamp.rb
--- old/lib/msgpack/timestamp.rb2019-06-20 09:16:11.0 +0200
+++ new/lib/msgpack/timestamp.rb2019-08-05 04:27:44.0 +0200
@@ -55,7 +55,7 @@
 else
   # timestamp64 (nsec: uint30be, sec: uint34be)
   nsec30 = nsec << 2
-  sec_high2 = sec << 32 # high 2 bits (`x & 0b11` is redandunt)
+  sec_high2 = sec >> 32 # high 2 bits (`x & 0b11` is redandunt)
   sec_low32 = sec & 0x # low 32 bits
   [nsec30 | sec_high2, sec_low32].pack('L>2')
 end
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  2019-06-20 09:16:11.0 +0200
+++ new/lib/msgpack/version.rb  2019-08-05 04:27:44.0 +0200
@@ -1,5 +1,5 @@
 module MessagePack
-  VERSION = "1.3.0"
+  VERSION = "1.3.1"
 
   # NOTE for msgpack-ruby maintainer:
   # Check these things to release new binaryes for new Ruby versions 
(especially for Windows):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata2019-06-20 09:16:11.0 +0200
+++ new/metadata2019-08-05 04:27:44.0 +0200
@@ -1,7 +1,7 @@
 --- !ruby/object:Gem::Specification
 name: msgpack
 version: !ruby/object:Gem::Version
-  version: 1.3.0
+  version: 1.3.1
 platform: ruby
 authors:
 - Sadayuki Furuhashi
@@ -10,7 +10,7 @@
 autorequire: 
 bindir: bin
 cert_chain: []

commit rubygem-msgpack for openSUSE:Factory

2019-07-08 Thread root
Hello community,

here is the log from the commit of package rubygem-msgpack for openSUSE:Factory 
checked in at 2019-07-08 15:12:44

Comparing /work/SRC/openSUSE:Factory/rubygem-msgpack (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-msgpack.new.4615 (New)


Package is "rubygem-msgpack"

Mon Jul  8 15:12:44 2019 rev:10 rq:714009 version:1.3.0

Changes:

--- /work/SRC/openSUSE:Factory/rubygem-msgpack/rubygem-msgpack.changes  
2019-06-19 21:00:40.614102033 +0200
+++ 
/work/SRC/openSUSE:Factory/.rubygem-msgpack.new.4615/rubygem-msgpack.changes
2019-07-08 16:41:03.924963363 +0200
@@ -1,0 +2,7 @@
+Mon Jul  8 08:32:18 UTC 2019 - Manuel Schnitzer 
+
+- updated to version 1.3.0
+
+  * Add timestamp ext type (id:-1) support
+
+---

Old:

  msgpack-1.2.10.gem

New:

  msgpack-1.3.0.gem



Other differences:
--
++ rubygem-msgpack.spec ++
--- /var/tmp/diff_new_pack.CSI420/_old  2019-07-08 16:41:04.492964169 +0200
+++ /var/tmp/diff_new_pack.CSI420/_new  2019-07-08 16:41:04.496964174 +0200
@@ -24,7 +24,7 @@
 #
 
 Name:   rubygem-msgpack
-Version:1.2.10
+Version:1.3.0
 Release:0
 %define mod_name msgpack
 %define mod_full_name %{mod_name}-%{version}

++ msgpack-1.2.10.gem -> msgpack-1.3.0.gem ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/.rubocop.yml new/.rubocop.yml
--- old/.rubocop.yml2019-04-19 03:15:28.0 +0200
+++ new/.rubocop.yml2019-06-20 09:16:11.0 +0200
@@ -5,6 +5,9 @@
 # Note that changes in the inspected code, or installation of new
 # versions of RuboCop, may require this file to be generated again.
 
+AllCops:
+  TargetRubyVersion: 2.3
+
 # Offense count: 3
 Lint/AmbiguousOperator:
   Enabled: false
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ChangeLog new/ChangeLog
--- old/ChangeLog   2019-04-19 03:15:28.0 +0200
+++ new/ChangeLog   2019-06-20 09:16:11.0 +0200
@@ -1,3 +1,7 @@
+2019-06-20 verison 1.3.0:
+
+* Add timestamp ext type (id:-1) support
+
 2019-04-19 version 1.2.10:
 
 * Optimze MessagePack.unpack not to copy source string
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/README.rdoc new/README.rdoc
--- old/README.rdoc 2019-04-19 03:15:28.0 +0200
+++ new/README.rdoc 2019-06-20 09:16:11.0 +0200
@@ -121,6 +121,22 @@
 
 [1, :symbol, 'string'].to_msgpack  # => RuntimeError: Serialization of 
symbols prohibited
 
+= Serializing and deserializing Time instances
+
+There are the timestamp extension type in MessagePack,
+but it is not registered by default.
+
+To map Ruby's Time to MessagePack's timestamp for the default factory:
+
+MessagePack::DefaultFactory.register_type(
+  MessagePack::Timestamp::TYPE, # or just -1
+  Time,
+  packer: MessagePack::Time::Packer,
+  unpacker: MessagePack::Time::Unpacker
+)
+
+See {API reference}[http://ruby.msgpack.org/] for details.
+
 = Extension Types
 
 Packer and Unpacker support {Extension types of 
MessagePack}[https://github.com/msgpack/msgpack/blob/master/spec.md#types-extension-type].
Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/doclib/msgpack/time.rb new/doclib/msgpack/time.rb
--- old/doclib/msgpack/time.rb  1970-01-01 01:00:00.0 +0100
+++ new/doclib/msgpack/time.rb  2019-06-20 09:16:11.0 +0200
@@ -0,0 +1,22 @@
+module MessagePack
+
+  # MessagePack::Time provides packer and unpacker functions for a timestamp 
type.
+  # @example Setup for DefaultFactory
+  #   MessagePack::DefaultFactory.register_type(
+  # MessagePack::Timestamp::TYPE,
+  # Time,
+  # packer: MessagePack::Time::Packer,
+  # unpacker: MessagePack::Time::Unpacker
+  #   )
+  class Time
+# A packer function that packs a Time instance to a MessagePack timestamp.
+Packer = lambda { |payload|
+  # ...
+}
+
+# An unpacker function that unpacks a MessagePack timestamp to a Time 
instance.
+Unpcker = lambda { |time|
+  # ...
+}
+  end
+end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/doclib/msgpack/timestamp.rb 
new/doclib/msgpack/timestamp.rb
--- old/doclib/msgpack/timestamp.rb 1970-01-01 01:00:00.0 +0100
+++ new/doclib/msgpack/timestamp.rb 2019-06-20 09:16:11.0 +0200
@@ -0,0 +1,44 @@
+module MessagePack
+  # A utility class for MessagePack timestamp type
+  class Timestamp
+#
+# The timestamp extension type defined in the MessagePack 

commit rubygem-msgpack for openSUSE:Factory

2019-06-19 Thread root
Hello community,

here is the log from the commit of package rubygem-msgpack for openSUSE:Factory 
checked in at 2019-06-19 21:00:38

Comparing /work/SRC/openSUSE:Factory/rubygem-msgpack (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-msgpack.new.4811 (New)


Package is "rubygem-msgpack"

Wed Jun 19 21:00:38 2019 rev:9 rq:706010 version:1.2.10

Changes:

--- /work/SRC/openSUSE:Factory/rubygem-msgpack/rubygem-msgpack.changes  
2019-03-27 16:18:02.415571815 +0100
+++ 
/work/SRC/openSUSE:Factory/.rubygem-msgpack.new.4811/rubygem-msgpack.changes
2019-06-19 21:00:40.614102033 +0200
@@ -1,0 +2,10 @@
+Sun May  5 09:35:27 UTC 2019 - Stephan Kulow 
+
+- updated to version 1.2.10
+ see installed ChangeLog
+
+  2019-04-19 version 1.2.10:
+  
+  * Optimze MessagePack.unpack not to copy source string
+
+---

Old:

  msgpack-1.2.9.gem

New:

  msgpack-1.2.10.gem



Other differences:
--
++ rubygem-msgpack.spec ++
--- /var/tmp/diff_new_pack.LaXWhB/_old  2019-06-19 21:00:41.434102721 +0200
+++ /var/tmp/diff_new_pack.LaXWhB/_new  2019-06-19 21:00:41.438102725 +0200
@@ -24,7 +24,7 @@
 #
 
 Name:   rubygem-msgpack
-Version:1.2.9
+Version:1.2.10
 Release:0
 %define mod_name msgpack
 %define mod_full_name %{mod_name}-%{version}

++ msgpack-1.2.9.gem -> msgpack-1.2.10.gem ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/.travis.yml new/.travis.yml
--- old/.travis.yml 2019-03-13 02:38:52.0 +0100
+++ new/.travis.yml 2019-04-19 03:15:28.0 +0200
@@ -23,9 +23,9 @@
   os: linux
 - rvm: 2.5.3
   os: linux
-- rvm: 2.6.0
+- rvm: 2.6.1
   os: linux
-- rvm: 2.6.0
+- rvm: 2.6.1
   os: osx
 - rvm: ruby-head
   os: linux
@@ -36,6 +36,8 @@
 - rvm: jruby-19mode
   os: linux
   allow_failures:
+- rvm: 2.6.1
+  os: osx
 - rvm: ruby-head
 - rvm: jruby-head
 - rvm: jruby-19mode
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ChangeLog new/ChangeLog
--- old/ChangeLog   2019-03-13 02:38:52.0 +0100
+++ new/ChangeLog   2019-04-19 03:15:28.0 +0200
@@ -1,3 +1,7 @@
+2019-04-19 version 1.2.10:
+
+* Optimze MessagePack.unpack not to copy source string
+
 2019-03-13 version 1.2.9:
 
 * Hotfix release only for JRuby: 1.2.8-java was built incorrectly
Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ext/java/org/msgpack/jruby/Unpacker.java 
new/ext/java/org/msgpack/jruby/Unpacker.java
--- old/ext/java/org/msgpack/jruby/Unpacker.java2019-03-13 
02:38:52.0 +0100
+++ new/ext/java/org/msgpack/jruby/Unpacker.java2019-04-19 
03:15:28.0 +0200
@@ -170,7 +170,7 @@
 return data == null ? ctx.getRuntime().getFalse() : 
ctx.getRuntime().getTrue();
   }
 
-  @JRubyMethod(required = 1)
+  @JRubyMethod(required = 1, name = "feed", alias = { "feed_reference" })
   public IRubyObject feed(ThreadContext ctx, IRubyObject data) {
 ByteList byteList = data.asString().getByteList();
 if (decoder == null) {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ext/msgpack/buffer.h new/ext/msgpack/buffer.h
--- old/ext/msgpack/buffer.h2019-03-13 02:38:52.0 +0100
+++ new/ext/msgpack/buffer.h2019-04-19 03:15:28.0 +0200
@@ -262,6 +262,20 @@
 return length;
 }
 
+static inline size_t msgpack_buffer_append_string_reference(msgpack_buffer_t* 
b, VALUE string)
+{
+size_t length = RSTRING_LEN(string);
+
+if(length > MSGPACK_BUFFER_STRING_WRITE_REFERENCE_MINIMUM) {
+_msgpack_buffer_append_long_string(b, string);
+
+} else {
+msgpack_buffer_append(b, RSTRING_PTR(string), length);
+}
+
+return length;
+}
+
 
 /*
  * IO functions
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ext/msgpack/unpacker_class.c 
new/ext/msgpack/unpacker_class.c
--- old/ext/msgpack/unpacker_class.c2019-03-13 02:38:52.0 +0100
+++ new/ext/msgpack/unpacker_class.c2019-04-19 03:15:28.0 +0200
@@ -256,6 +256,17 @@
 return self;
 }
 
+static VALUE Unpacker_feed_reference(VALUE self, VALUE data)
+{
+UNPACKER(self, uk);
+
+StringValue(data);
+
+msgpack_buffer_append_string_reference(UNPACKER_BUFFER_(uk), data);
+
+return self;
+}
+
 static VALUE Unpacker_each_impl(VALUE self)
 {
 UNPACKER(self, uk);
@@ -312,8 +323,7 @@
 }
 #endif
 
-// TODO optimize
-Unpacker_feed(self, data);
+

commit rubygem-msgpack for openSUSE:Factory

2019-03-27 Thread root
Hello community,

here is the log from the commit of package rubygem-msgpack for openSUSE:Factory 
checked in at 2019-03-27 16:17:54

Comparing /work/SRC/openSUSE:Factory/rubygem-msgpack (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-msgpack.new.25356 (New)


Package is "rubygem-msgpack"

Wed Mar 27 16:17:54 2019 rev:8 rq:685130 version:1.2.9

Changes:

--- /work/SRC/openSUSE:Factory/rubygem-msgpack/rubygem-msgpack.changes  
2019-03-04 09:20:24.120600692 +0100
+++ 
/work/SRC/openSUSE:Factory/.rubygem-msgpack.new.25356/rubygem-msgpack.changes   
2019-03-27 16:18:02.415571815 +0100
@@ -1,0 +2,25 @@
+Thu Mar 14 10:59:24 UTC 2019 - Stephan Kulow 
+
+- updated to version 1.2.9
+ see installed ChangeLog
+
+  2019-03-13 version 1.2.9:
+  
+  * Hotfix release only for JRuby: 1.2.8-java was built incorrectly
+  
+  2019-03-11 version 1.2.8:
+  
+  * Fix a regression that MessagePack#unpack raises error if IO is assigned as 
the (only) argument
+  * Improve compatibility that MessagePack#pack returns nil if IO is assigned 
as 2nd argument
+
+---
+Sat Mar  2 15:26:59 UTC 2019 - Stephan Kulow 
+
+- updated to version 1.2.7
+ see installed ChangeLog
+
+  2019-03-01 version 1.2.7:
+  
+  * Add Packer#write_bin and Packer#write_bin_header methods
+
+---

Old:

  msgpack-1.2.6.gem

New:

  msgpack-1.2.9.gem



Other differences:
--
++ rubygem-msgpack.spec ++
--- /var/tmp/diff_new_pack.flXTtM/_old  2019-03-27 16:18:03.131571666 +0100
+++ /var/tmp/diff_new_pack.flXTtM/_new  2019-03-27 16:18:03.131571666 +0100
@@ -24,7 +24,7 @@
 #
 
 Name:   rubygem-msgpack
-Version:1.2.6
+Version:1.2.9
 Release:0
 %define mod_name msgpack
 %define mod_full_name %{mod_name}-%{version}

++ msgpack-1.2.6.gem -> msgpack-1.2.9.gem ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ChangeLog new/ChangeLog
--- old/ChangeLog   2019-01-08 08:53:55.0 +0100
+++ new/ChangeLog   2019-03-13 02:38:52.0 +0100
@@ -1,3 +1,16 @@
+2019-03-13 version 1.2.9:
+
+* Hotfix release only for JRuby: 1.2.8-java was built incorrectly
+
+2019-03-11 version 1.2.8:
+
+* Fix a regression that MessagePack#unpack raises error if IO is assigned as 
the (only) argument
+* Improve compatibility that MessagePack#pack returns nil if IO is assigned as 
2nd argument
+
+2019-03-01 version 1.2.7:
+
+* Add Packer#write_bin and Packer#write_bin_header methods
+
 2019-01-08 verison 1.2.6:
 
 * Update Ruby version 2.6 dependency (especially for Windows environment)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/README.rdoc new/README.rdoc
--- old/README.rdoc 2019-01-08 08:53:55.0 +0100
+++ new/README.rdoc 2019-03-13 02:38:52.0 +0100
@@ -176,6 +176,14 @@
 
 bundle exec rake doc
 
+== How to build -java rubygems
+
+To build -java gems for JRuby, run:
+
+rake build:java
+
+If this directory has Gemfile.lock (generated with MRI), remove it beforehand.
+
 == How to build -mingw32 rubygems
 
 MessagePack mingw32/64 rubygems build process uses 
{rake-compiler-dock}[https://github.com/rake-compiler/rake-compiler-dock]. Run:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Rakefile new/Rakefile
--- old/Rakefile2019-01-08 08:53:55.0 +0100
+++ new/Rakefile2019-03-13 02:38:52.0 +0100
@@ -62,6 +62,9 @@
 end
 
 namespace :build do
+  desc 'Build gem for JRuby after cleaning'
+  task :java => [:clean, :spec, :build]
+
   desc 'Build gems for Windows per rake-compiler-dock'
   task :windows do
 require 'rake_compiler_dock'
Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/doclib/msgpack/packer.rb new/doclib/msgpack/packer.rb
--- old/doclib/msgpack/packer.rb2019-01-08 08:53:55.0 +0100
+++ new/doclib/msgpack/packer.rb2019-03-13 02:38:52.0 +0100
@@ -92,6 +92,12 @@
 end
 
 #
+# Serializes a string object as binary data. Same as 
write("string".encode(Encoding::BINARY)).
+#
+def write_bin(obj)
+end
+
+#
 # Write a header of an array whose size is _n_.
 # For example, write_array_header(1).write(true) is same as write([ true 
]).
 #
@@ -110,6 +116,20 @@
 end
 
 #
+# Write a header of a binary string whose size is _n_. Useful if you want 
to append large binary data without loading it into memory at once.
+# For example,
+# 

commit rubygem-msgpack for openSUSE:Factory

2019-03-04 Thread root
Hello community,

here is the log from the commit of package rubygem-msgpack for openSUSE:Factory 
checked in at 2019-03-04 09:20:22

Comparing /work/SRC/openSUSE:Factory/rubygem-msgpack (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-msgpack.new.28833 (New)


Package is "rubygem-msgpack"

Mon Mar  4 09:20:22 2019 rev:7 rq:679526 version:1.2.6

Changes:

--- /work/SRC/openSUSE:Factory/rubygem-msgpack/rubygem-msgpack.changes  
2019-01-21 10:53:41.815776241 +0100
+++ 
/work/SRC/openSUSE:Factory/.rubygem-msgpack.new.28833/rubygem-msgpack.changes   
2019-03-04 09:20:24.120600692 +0100
@@ -1,0 +2,11 @@
+Mon Jan 14 13:47:18 UTC 2019 - Stephan Kulow 
+
+- updated to version 1.2.6
+ see installed ChangeLog
+
+  2019-01-08 verison 1.2.6:
+  
+  * Update Ruby version 2.6 dependency (especially for Windows environment)
+  * (version 1.2.4 and 1.2.5 were also releases for updated Ruby versions)
+
+---



Other differences:
--
++ rubygem-msgpack.spec ++
--- /var/tmp/diff_new_pack.wgOYZF/_old  2019-03-04 09:20:24.812600568 +0100
+++ /var/tmp/diff_new_pack.wgOYZF/_new  2019-03-04 09:20:24.816600567 +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/
 #
 
 




commit rubygem-msgpack for openSUSE:Factory

2019-01-21 Thread root
Hello community,

here is the log from the commit of package rubygem-msgpack for openSUSE:Factory 
checked in at 2019-01-21 10:53:24

Comparing /work/SRC/openSUSE:Factory/rubygem-msgpack (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-msgpack.new.28833 (New)


Package is "rubygem-msgpack"

Mon Jan 21 10:53:24 2019 rev:6 rq:665965 version:1.2.6

Changes:

--- /work/SRC/openSUSE:Factory/rubygem-msgpack/rubygem-msgpack.changes  
2018-03-05 13:45:29.323374523 +0100
+++ 
/work/SRC/openSUSE:Factory/.rubygem-msgpack.new.28833/rubygem-msgpack.changes   
2019-01-21 10:53:41.815776241 +0100
@@ -1,0 +2,8 @@
+Mon Jan 14 08:59:24 UTC 2019 - mschnit...@suse.com
+
+- updated to version 1.2.6
+
+  * Update Ruby version 2.6 dependency (especially for Windows environment)
+  * (version 1.2.4 and 1.2.5 were also releases for updated Ruby versions)
+
+---

Old:

  msgpack-1.2.4.gem

New:

  msgpack-1.2.6.gem



Other differences:
--
++ rubygem-msgpack.spec ++
--- /var/tmp/diff_new_pack.YoUJwu/_old  2019-01-21 10:53:42.239775728 +0100
+++ /var/tmp/diff_new_pack.YoUJwu/_new  2019-01-21 10:53:42.239775728 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package rubygem-msgpack
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 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-msgpack
-Version:1.2.4
+Version:1.2.6
 Release:0
 %define mod_name msgpack
 %define mod_full_name %{mod_name}-%{version}

++ msgpack-1.2.4.gem -> msgpack-1.2.6.gem ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/.travis.yml new/.travis.yml
--- old/.travis.yml 2018-03-02 11:35:47.0 +0100
+++ new/.travis.yml 2019-01-08 08:53:55.0 +0100
@@ -17,17 +17,15 @@
 # http://rubies.travis-ci.org/
 matrix:
   include:
-- rvm: 2.1.10
+- rvm: 2.3.8
   os: linux
-- rvm: 2.2.9
+- rvm: 2.4.5
   os: linux
-- rvm: 2.3.6
+- rvm: 2.5.3
   os: linux
-- rvm: 2.4.3
+- rvm: 2.6.0
   os: linux
-- rvm: 2.5.0
-  os: linux
-- rvm: 2.5.0
+- rvm: 2.6.0
   os: osx
 - rvm: ruby-head
   os: linux
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ChangeLog new/ChangeLog
--- old/ChangeLog   2018-03-02 11:35:47.0 +0100
+++ new/ChangeLog   2019-01-08 08:53:55.0 +0100
@@ -1,3 +1,8 @@
+2019-01-08 verison 1.2.6:
+
+* Update Ruby version 2.6 dependency (especially for Windows environment)
+* (version 1.2.4 and 1.2.5 were also releases for updated Ruby versions)
+
 2018-03-02 version 1.2.3:
 
 * Add Ruby 2.5.0 binary in gem releases for Windows
@@ -5,7 +10,7 @@
 2018-01-11 version 1.2.2:
 
 * Fix bug to occur SEGV occasionally (depends on GC timing) when exttype is 
used
-* Fix bug to encode an ext type with wrong type id if superclass is also 
registered as ext type 
+* Fix bug to encode an ext type with wrong type id if superclass is also 
registered as ext type
 
 2017-12-08 version 1.2.1:
 
@@ -19,7 +24,7 @@
 
 2017-02-28 version 1.1.0:
 
-* Fix the extention type handling to accept modules in addition to classes
+* Fix the extension type handling to accept modules in addition to classes
 
 2017-01-24 version 1.0.3:
 
@@ -67,7 +72,7 @@
 
 2015-10-24 version 0.7.0:
 
-* Add extention types support.
+* Add extension types support.
 * Fix to share almost all test cases between CRuby and JRuby implementations.
 * Fixed JRuby implementation to raise UnknownExtTypeError for unregistered ext 
type ids
   instead to generate MessagePack::ExtensionValue instances.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/README.rdoc new/README.rdoc
--- old/README.rdoc 2018-03-02 11:35:47.0 +0100
+++ new/README.rdoc 2019-01-08 08:53:55.0 +0100
@@ -135,7 +135,7 @@
 uk.register_type(0x01, MyClass1, :from_msgpack_ext)
 uk.register_type(0x02){|data| MyClass2.create_from_serialized_data(data) }
 
-MessagePack::Factory is to create packer and unpacker which have same 
extention types.
+MessagePack::Factory is to create packer and unpacker which have same 
extension types.
 
 factory = MessagePack::Factory.new
 factory.register_type(0x01, MyClass1) # same with next line
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Rakefile new/Rakefile
--- old/Rakefile2018-03-02 11:35:47.0 +0100
+++ new/Rakefile

commit rubygem-msgpack for openSUSE:Factory

2018-03-05 Thread root
Hello community,

here is the log from the commit of package rubygem-msgpack for openSUSE:Factory 
checked in at 2018-03-05 13:44:29

Comparing /work/SRC/openSUSE:Factory/rubygem-msgpack (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-msgpack.new (New)


Package is "rubygem-msgpack"

Mon Mar  5 13:44:29 2018 rev:5 rq:582475 version:1.2.4

Changes:

--- /work/SRC/openSUSE:Factory/rubygem-msgpack/rubygem-msgpack.changes  
2018-02-10 18:00:08.191854787 +0100
+++ /work/SRC/openSUSE:Factory/.rubygem-msgpack.new/rubygem-msgpack.changes 
2018-03-05 13:45:29.323374523 +0100
@@ -1,0 +2,16 @@
+Sat Mar  3 05:30:35 UTC 2018 - factory-a...@kulow.org
+
+- updated to version 1.2.4
+ see installed ChangeLog
+
+---
+Fri Mar  2 05:30:01 UTC 2018 - factory-a...@kulow.org
+
+- updated to version 1.2.3
+ see installed ChangeLog
+
+  2018-03-02 version 1.2.3:
+  
+  * Add Ruby 2.5.0 binary in gem releases for Windows
+
+---

Old:

  msgpack-1.2.2.gem

New:

  msgpack-1.2.4.gem



Other differences:
--
++ rubygem-msgpack.spec ++
--- /var/tmp/diff_new_pack.JW3C96/_old  2018-03-05 13:45:30.123345575 +0100
+++ /var/tmp/diff_new_pack.JW3C96/_new  2018-03-05 13:45:30.123345575 +0100
@@ -24,7 +24,7 @@
 #
 
 Name:   rubygem-msgpack
-Version:1.2.2
+Version:1.2.4
 Release:0
 %define mod_name msgpack
 %define mod_full_name %{mod_name}-%{version}

++ msgpack-1.2.2.gem -> msgpack-1.2.4.gem ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/.travis.yml new/.travis.yml
--- old/.travis.yml 2018-01-11 07:11:14.0 +0100
+++ new/.travis.yml 2018-03-02 11:35:47.0 +0100
@@ -9,20 +9,25 @@
 gemfile:
   - Gemfile
 
+before_install:
+  # This is only for Ruby 2.5.0, Bundler 1.16.1 and rubygems 2.7.3
+  # See https://github.com/travis-ci/travis-ci/issues/8969
+  - "[ \"x2.7.3\" = \"x\"$(gem --version) ] && gem update --system 
--no-document || echo \"no need to update rubygem\""
+
 # http://rubies.travis-ci.org/
 matrix:
   include:
 - rvm: 2.1.10
   os: linux
-- rvm: 2.2.8
+- rvm: 2.2.9
   os: linux
-- rvm: 2.3.5
+- rvm: 2.3.6
   os: linux
-- rvm: 2.3.5
-  os: osx
-- rvm: 2.4.2
+- rvm: 2.4.3
+  os: linux
+- rvm: 2.5.0
   os: linux
-- rvm: 2.4.2
+- rvm: 2.5.0
   os: osx
 - rvm: ruby-head
   os: linux
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ChangeLog new/ChangeLog
--- old/ChangeLog   2018-01-11 07:11:14.0 +0100
+++ new/ChangeLog   2018-03-02 11:35:47.0 +0100
@@ -1,3 +1,7 @@
+2018-03-02 version 1.2.3:
+
+* Add Ruby 2.5.0 binary in gem releases for Windows
+
 2018-01-11 version 1.2.2:
 
 * Fix bug to occur SEGV occasionally (depends on GC timing) when exttype is 
used
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Rakefile new/Rakefile
--- old/Rakefile2018-01-11 07:11:14.0 +0100
+++ new/Rakefile2018-03-02 11:35:47.0 +0100
@@ -65,7 +65,8 @@
   desc 'Build gems for Windows per rake-compiler-dock'
   task :windows do
 require 'rake_compiler_dock'
-RakeCompilerDock.sh 'bundle && gem i json && rake cross native gem 
RUBY_CC_VERSION=1.9.3:2.0.0:2.1.6:2.2.2:2.3.0:2.4.0'
+# See RUBY_CC_VERSION in 
https://github.com/rake-compiler/rake-compiler-dock/blob/master/Dockerfile
+RakeCompilerDock.sh 'bundle && gem i json && rake cross native gem 
RUBY_CC_VERSION=2.0.0:2.1.6:2.2.2:2.3.0:2.4.0:2.5.0'
   end
 end
 
Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ
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  2018-01-11 07:11:14.0 +0100
+++ new/lib/msgpack/version.rb  2018-03-02 11:35:47.0 +0100
@@ -1,3 +1,3 @@
 module MessagePack
-  VERSION = "1.2.2"
+  VERSION = "1.2.4"
 end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata2018-01-11 07:11:14.0 +0100
+++ new/metadata2018-03-02 11:35:47.0 +0100
@@ -1,7 +1,7 @@
 --- !ruby/object:Gem::Specification
 name: msgpack
 version: !ruby/object:Gem::Version
-  version: 1.2.2
+  version: 1.2.4
 platform: ruby
 authors:
 - Sadayuki Furuhashi
@@ -10,7 +10,7 @@
 autorequire: 
 bindir: bin
 cert_chain: []
-date: 2018-01-11 00:00:00.0 Z
+date: 2018-03-02 00:00:00.0 Z
 dependencies:
 - 

commit rubygem-msgpack for openSUSE:Factory

2018-02-10 Thread root
Hello community,

here is the log from the commit of package rubygem-msgpack for openSUSE:Factory 
checked in at 2018-02-10 18:00:05

Comparing /work/SRC/openSUSE:Factory/rubygem-msgpack (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-msgpack.new (New)


Package is "rubygem-msgpack"

Sat Feb 10 18:00:05 2018 rev:4 rq:574935 version:1.2.2

Changes:

--- /work/SRC/openSUSE:Factory/rubygem-msgpack/rubygem-msgpack.changes  
2017-12-19 10:58:36.041022481 +0100
+++ /work/SRC/openSUSE:Factory/.rubygem-msgpack.new/rubygem-msgpack.changes 
2018-02-10 18:00:08.191854787 +0100
@@ -1,0 +2,15 @@
+Thu Feb  8 06:13:39 UTC 2018 - co...@suse.com
+
+- updated to version 1.2.2
+ see installed ChangeLog
+
+  2018-01-11 version 1.2.2:
+  
+  * Fix bug to occur SEGV occasionally (depends on GC timing) when exttype is 
used
+  * Fix bug to encode an ext type with wrong type id if superclass is also 
registered as ext type 
+  
+  2017-12-08 version 1.2.1:
+  
+  * Hotfix release only for JRuby: 1.2.0-java was built in incorrect way
+
+---

Old:

  msgpack-1.2.0.gem

New:

  msgpack-1.2.2.gem



Other differences:
--
++ rubygem-msgpack.spec ++
--- /var/tmp/diff_new_pack.ppiAJB/_old  2018-02-10 18:00:09.747798461 +0100
+++ /var/tmp/diff_new_pack.ppiAJB/_new  2018-02-10 18:00:09.751798316 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package rubygem-msgpack
 #
-# 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-msgpack
-Version:1.2.0
+Version:1.2.2
 Release:0
 %define mod_name msgpack
 %define mod_full_name %{mod_name}-%{version}

++ msgpack-1.2.0.gem -> msgpack-1.2.2.gem ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/.travis.yml new/.travis.yml
--- old/.travis.yml 2017-12-07 04:21:29.0 +0100
+++ new/.travis.yml 2018-01-11 07:11:14.0 +0100
@@ -1,20 +1,5 @@
 language: ruby
 
-rvm:
-  - 2.0.0
-  - 2.1.6
-  - 2.2.2
-  - 2.3.0
-  - 2.4.0
-  - ruby-head
-  - jruby-19mode
-  - jruby-9.1.5.0
-  - jruby-head
-
-os:
-  - linux
-  - osx
-
 sudo: false
 
 branches:
@@ -24,18 +9,30 @@
 gemfile:
   - Gemfile
 
+# http://rubies.travis-ci.org/
 matrix:
-  exclude:
-- rvm: 2.0.0
-  os: osx
-- rvm: jruby-19mode
+  include:
+- rvm: 2.1.10
+  os: linux
+- rvm: 2.2.8
+  os: linux
+- rvm: 2.3.5
+  os: linux
+- rvm: 2.3.5
   os: osx
-- rvm: jruby-9.1.5.0
+- rvm: 2.4.2
+  os: linux
+- rvm: 2.4.2
   os: osx
+- rvm: ruby-head
+  os: linux
+- rvm: jruby-9.1.9.0
+  os: linux
 - rvm: jruby-head
-  os: osx
+  os: linux
+- rvm: jruby-19mode
+  os: linux
   allow_failures:
 - rvm: ruby-head
 - rvm: jruby-head
 - rvm: jruby-19mode
-  os: osx
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ChangeLog new/ChangeLog
--- old/ChangeLog   2017-12-07 04:21:29.0 +0100
+++ new/ChangeLog   2018-01-11 07:11:14.0 +0100
@@ -1,3 +1,12 @@
+2018-01-11 version 1.2.2:
+
+* Fix bug to occur SEGV occasionally (depends on GC timing) when exttype is 
used
+* Fix bug to encode an ext type with wrong type id if superclass is also 
registered as ext type 
+
+2017-12-08 version 1.2.1:
+
+* Hotfix release only for JRuby: 1.2.0-java was built in incorrect way
+
 2017-12-07 version 1.2.0:
 
 * Add MessagePack::Factory#dump and MessagePack::Factory#load as convenient 
methods
Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ext/java/org/msgpack/jruby/Encoder.java 
new/ext/java/org/msgpack/jruby/Encoder.java
--- old/ext/java/org/msgpack/jruby/Encoder.java 2017-12-07 04:21:29.0 
+0100
+++ new/ext/java/org/msgpack/jruby/Encoder.java 2018-01-11 07:11:14.0 
+0100
@@ -384,7 +384,7 @@
 lookupClass = object.getSingletonClass();
   }
 
-  IRubyObject[] pair = registry.lookupPackerByModule(lookupClass);
+  IRubyObject[] pair = registry.lookupPackerForObject(object);
   if (pair != null) {
 RubyString bytes = pair[0].callMethod(runtime.getCurrentContext(), 
"call", object).asString();
 int type = (int) ((RubyFixnum) pair[1]).getLongValue();
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 

commit rubygem-msgpack for openSUSE:Factory

2017-12-19 Thread root
Hello community,

here is the log from the commit of package rubygem-msgpack for openSUSE:Factory 
checked in at 2017-12-19 10:58:34

Comparing /work/SRC/openSUSE:Factory/rubygem-msgpack (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-msgpack.new (New)


Package is "rubygem-msgpack"

Tue Dec 19 10:58:34 2017 rev:3 rq:558051 version:1.2.0

Changes:

--- /work/SRC/openSUSE:Factory/rubygem-msgpack/rubygem-msgpack.changes  
2017-03-09 02:01:25.539961941 +0100
+++ /work/SRC/openSUSE:Factory/.rubygem-msgpack.new/rubygem-msgpack.changes 
2017-12-19 10:58:36.041022481 +0100
@@ -1,0 +2,12 @@
+Thu Dec 14 14:24:14 UTC 2017 - co...@suse.com
+
+- updated to version 1.2.0
+ see installed ChangeLog
+
+  2017-12-07 version 1.2.0:
+  
+  * Add MessagePack::Factory#dump and MessagePack::Factory#load as convenient 
methods
+like MessagePack.dump and MessagePack.load
+  * Fix bug to accept MessagePack::Factory#register_type after #freeze
+
+---

Old:

  msgpack-1.1.0.gem

New:

  msgpack-1.2.0.gem



Other differences:
--
++ rubygem-msgpack.spec ++
--- /var/tmp/diff_new_pack.7pXC5j/_old  2017-12-19 10:58:36.808985408 +0100
+++ /var/tmp/diff_new_pack.7pXC5j/_new  2017-12-19 10:58:36.808985408 +0100
@@ -24,7 +24,7 @@
 #
 
 Name:   rubygem-msgpack
-Version:1.1.0
+Version:1.2.0
 Release:0
 %define mod_name msgpack
 %define mod_full_name %{mod_name}-%{version}
@@ -33,7 +33,7 @@
 BuildRequires:  %{rubygem gem2rpm}
 BuildRequires:  ruby-macros >= 5
 Url:http://msgpack.org/
-Source: http://rubygems.org/gems/%{mod_full_name}.gem
+Source: https://rubygems.org/gems/%{mod_full_name}.gem
 Source1:gem2rpm.yml
 Source2:rubygem-msgpack-rpmlintrc
 Source3:gem2rpm.yml

++ msgpack-1.1.0.gem -> msgpack-1.2.0.gem ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ChangeLog new/ChangeLog
--- old/ChangeLog   2017-02-28 05:17:49.0 +0100
+++ new/ChangeLog   2017-12-07 04:21:29.0 +0100
@@ -1,3 +1,9 @@
+2017-12-07 version 1.2.0:
+
+* Add MessagePack::Factory#dump and MessagePack::Factory#load as convenient 
methods
+  like MessagePack.dump and MessagePack.load
+* Fix bug to accept MessagePack::Factory#register_type after #freeze
+
 2017-02-28 version 1.1.0:
 
 * Fix the extention type handling to accept modules in addition to classes
Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/doclib/msgpack/factory.rb 
new/doclib/msgpack/factory.rb
--- old/doclib/msgpack/factory.rb   2017-02-28 05:17:49.0 +0100
+++ new/doclib/msgpack/factory.rb   2017-12-07 04:21:29.0 +0100
@@ -20,6 +20,22 @@
 end
 
 #
+# Serialize the passed value
+#
+# If it could not serialize the object, it raises
+# NoMethodError: undefined method `to_msgpack' for #.
+#
+# @param obj [Object] object to serialize
+# @param options [Hash]
+# @return [String] serialized object
+#
+# See Packer#initialize for supported options.
+#
+def dump(obj, options={})
+end
+alias pack dump
+
+#
 # Creates a MessagePack::Unpacker instance, which has ext types already 
registered.
 # Options are passed to MessagePack::Unpacker#initialized.
 #
@@ -29,6 +45,23 @@
 end
 
 #
+# Deserializes an object from the string or io and returns it.
+#
+# If there're not enough data to deserialize one object, this method 
raises EOFError.
+# If data format is invalid, this method raises 
MessagePack::MalformedFormatError.
+# If the object nests too deeply, this method raises 
MessagePack::StackError.
+#
+# @param data [String]
+# @param options [Hash]
+# @return [Object] deserialized object
+#
+# See Unpacker#initialize for supported options.
+#
+def load(data, options={})
+end
+alias unpack load
+
+#
 # Register a type and Class to be registered for packer and/or unpacker.
 # If options are not speicified, factory will use :to_msgpack_ext for 
packer, and
 # :from_msgpack_ext for unpacker.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ext/java/org/msgpack/jruby/Factory.java 
new/ext/java/org/msgpack/jruby/Factory.java
--- old/ext/java/org/msgpack/jruby/Factory.java 2017-02-28 05:17:49.0 
+0100
+++ new/ext/java/org/msgpack/jruby/Factory.java 2017-12-07 04:21:29.0 
+0100
@@ -75,6 +75,11 @@
 
 IRubyObject packerArg;
 IRubyObject unpackerArg;
+
+if (isFrozen()) {
+

commit rubygem-msgpack for openSUSE:Factory

2017-03-08 Thread root
Hello community,

here is the log from the commit of package rubygem-msgpack for openSUSE:Factory 
checked in at 2017-03-09 02:01:24

Comparing /work/SRC/openSUSE:Factory/rubygem-msgpack (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-msgpack.new (New)


Package is "rubygem-msgpack"

Thu Mar  9 02:01:24 2017 rev:2 rq:460831 version:1.1.0

Changes:

--- /work/SRC/openSUSE:Factory/rubygem-msgpack/rubygem-msgpack.changes  
2017-02-21 13:38:31.512374593 +0100
+++ /work/SRC/openSUSE:Factory/.rubygem-msgpack.new/rubygem-msgpack.changes 
2017-03-09 02:01:25.539961941 +0100
@@ -1,0 +2,10 @@
+Tue Feb 28 05:42:22 UTC 2017 - co...@suse.com
+
+- updated to version 1.1.0
+ see installed ChangeLog
+
+  2017-02-28 version 1.1.0:
+  
+  * Fix the extention type handling to accept modules in addition to classes
+
+---

Old:

  msgpack-1.0.3.gem

New:

  msgpack-1.1.0.gem



Other differences:
--
++ rubygem-msgpack.spec ++
--- /var/tmp/diff_new_pack.ATkA1d/_old  2017-03-09 02:01:26.411838393 +0100
+++ /var/tmp/diff_new_pack.ATkA1d/_new  2017-03-09 02:01:26.411838393 +0100
@@ -24,7 +24,7 @@
 #
 
 Name:   rubygem-msgpack
-Version:1.0.3
+Version:1.1.0
 Release:0
 %define mod_name msgpack
 %define mod_full_name %{mod_name}-%{version}

++ msgpack-1.0.3.gem -> msgpack-1.1.0.gem ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ChangeLog new/ChangeLog
--- old/ChangeLog   2017-01-25 07:00:26.0 +0100
+++ new/ChangeLog   2017-02-28 05:17:49.0 +0100
@@ -1,3 +1,7 @@
+2017-02-28 version 1.1.0:
+
+* Fix the extention type handling to accept modules in addition to classes
+
 2017-01-24 version 1.0.3:
 
 * Support Ruby 2.4
Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ext/java/org/msgpack/jruby/Encoder.java 
new/ext/java/org/msgpack/jruby/Encoder.java
--- old/ext/java/org/msgpack/jruby/Encoder.java 2017-01-25 07:00:26.0 
+0100
+++ new/ext/java/org/msgpack/jruby/Encoder.java 2017-02-28 05:17:49.0 
+0100
@@ -7,6 +7,7 @@
 
 import org.jruby.Ruby;
 import org.jruby.RubyObject;
+import org.jruby.RubyModule;
 import org.jruby.RubyNil;
 import org.jruby.RubyBoolean;
 import org.jruby.RubyNumeric;
@@ -375,7 +376,15 @@
 
   private void appendOther(IRubyObject object, IRubyObject destination) {
 if (registry != null) {
-  IRubyObject[] pair = registry.lookupPackerByClass(object.getType());
+  RubyModule lookupClass;
+
+  if (object.getType() == runtime.getSymbol()) {
+lookupClass = object.getType();
+  } else {
+lookupClass = object.getSingletonClass();
+  }
+
+  IRubyObject[] pair = registry.lookupPackerByModule(lookupClass);
   if (pair != null) {
 RubyString bytes = pair[0].callMethod(runtime.getCurrentContext(), 
"call", object).asString();
 int type = (int) ((RubyFixnum) pair[1]).getLongValue();
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ext/java/org/msgpack/jruby/ExtensionRegistry.java 
new/ext/java/org/msgpack/jruby/ExtensionRegistry.java
--- old/ext/java/org/msgpack/jruby/ExtensionRegistry.java   2017-01-25 
07:00:26.0 +0100
+++ new/ext/java/org/msgpack/jruby/ExtensionRegistry.java   2017-02-28 
05:17:49.0 +0100
@@ -3,7 +3,7 @@
 import org.jruby.Ruby;
 import org.jruby.RubyHash;
 import org.jruby.RubyArray;
-import org.jruby.RubyClass;
+import org.jruby.RubyModule;
 import org.jruby.RubyFixnum;
 import org.jruby.runtime.ThreadContext;
 import org.jruby.runtime.builtin.IRubyObject;
@@ -12,19 +12,19 @@
 import java.util.HashMap;
 
 public class ExtensionRegistry {
-  private final Map extensionsByClass;
-  private final Map extensionsByAncestor;
+  private final Map extensionsByModule;
+  private final Map extensionsByAncestor;
   private final ExtensionEntry[] extensionsByTypeId;
 
   public ExtensionRegistry() {
-this(new HashMap());
+this(new HashMap());
   }
 
-  private ExtensionRegistry(Map extensionsByClass) {
-this.extensionsByClass = new HashMap(extensionsByClass);
-this.extensionsByAncestor = new HashMap();
+  private ExtensionRegistry(Map 
extensionsByModule) {
+this.extensionsByModule = new HashMap