msgpack 0.7.4-x64-mingw32 → 0.7.5-x64-mingw32

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: dbb1a03e91634c5c1d5e4e59b98c2a1a5b56aad1
4
- data.tar.gz: 44caf7cf0814b48e31d135052f0c9c6a8f195d82
3
+ metadata.gz: 87acc2b6a7ffab87082a0ce54dd314889ca53355
4
+ data.tar.gz: bc8db2d4b84b68f740d361cd8578507dc3d1478b
5
5
  SHA512:
6
- metadata.gz: dc8e55f71ed85a8064ce11f04b3ade7c6623f7f2ae84592b077c8241c55f0d8160c4c0839022d5a88d206b572afde2027e274347d5612227ab02be569c37f4ff
7
- data.tar.gz: 2efbc536f66474937cb8b2ee6305ed80c0fcadc0ca06207535d649d8b7b3a1e1b6ca31fc705c47d3c5fdcae6b435f5ffc636b1d017cd8abaf5e584aa9388a7e8
6
+ metadata.gz: 7de362993d2b36445db1bd2233565c9a08781d1370ba3a4e0b2469c1995aafa0d575779416024d86b055e7a3127218f17c3b6b27ec69a00a80c28126bc99baef
7
+ data.tar.gz: 836e279f6c8e3cc88eec152ae30838f14b242444e6ff8f5925a3a31414d04e0ac064b9c210449f99e4e843f1f932471f4b315397e9673c88aa0e0e100ca04ac3
@@ -4,8 +4,10 @@ rvm:
4
4
  - 2.0.0
5
5
  - 2.1.6
6
6
  - 2.2.2
7
+ - 2.3.0
7
8
  - ruby-head
8
9
  - jruby-19mode
10
+ - jruby-9.0.5.0
9
11
  - jruby-head
10
12
 
11
13
  os:
@@ -23,8 +25,12 @@ gemfile:
23
25
 
24
26
  matrix:
25
27
  allow_failures:
28
+ - rvm: 2.3.0
29
+ os: osx
26
30
  - rvm: ruby-head
27
31
  - rvm: jruby-head
28
32
  - rvm: jruby-19mode
29
33
  os: osx
34
+ - rvm: jruby-9.0.5.0
35
+ os: osx
30
36
  - rvm: rbx-2
data/Rakefile CHANGED
@@ -65,7 +65,7 @@ namespace :build do
65
65
  desc 'Build gems for Windows per rake-compiler-dock'
66
66
  task :windows do
67
67
  require 'rake_compiler_dock'
68
- 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'
68
+ 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'
69
69
  end
70
70
  end
71
71
 
@@ -161,7 +161,7 @@ static VALUE Factory_register_type(int argc, VALUE* argv, VALUE self)
161
161
  rb_raise(rb_eArgError, "wrong number of arguments (%d for 2..3)", argc);
162
162
  }
163
163
 
164
- ext_type = rb_num2int(argv[0]);
164
+ ext_type = NUM2INT(argv[0]);
165
165
  if(ext_type < -128 || ext_type > 127) {
166
166
  rb_raise(rb_eRangeError, "integer %d too big to convert to `signed char'", ext_type);
167
167
  }
@@ -163,7 +163,7 @@ static VALUE Packer_write_float32(VALUE self, VALUE numeric)
163
163
  static VALUE Packer_write_ext(VALUE self, VALUE type, VALUE data)
164
164
  {
165
165
  PACKER(self, pk);
166
- int ext_type = rb_num2int(type);
166
+ int ext_type = NUM2INT(type);
167
167
  if(ext_type < -128 || ext_type > 127) {
168
168
  rb_raise(rb_eRangeError, "integer %d too big to convert to `signed char'", ext_type);
169
169
  }
@@ -274,7 +274,7 @@ static VALUE Packer_register_type(int argc, VALUE* argv, VALUE self)
274
274
  rb_raise(rb_eArgError, "wrong number of arguments (%d for 2..3)", argc);
275
275
  }
276
276
 
277
- ext_type = rb_num2int(argv[0]);
277
+ ext_type = NUM2INT(argv[0]);
278
278
  if(ext_type < -128 || ext_type > 127) {
279
279
  rb_raise(rb_eRangeError, "integer %d too big to convert to `signed char'", ext_type);
280
280
  }
@@ -369,7 +369,7 @@ static int read_primitive(msgpack_unpacker_t* uk)
369
369
  {
370
370
  READ_CAST_BLOCK_OR_RETURN_EOF(cb, uk, 2);
371
371
  uint8_t length = cb->u8;
372
- int ext_type = cb->buffer[1];
372
+ int ext_type = (signed char) cb->buffer[1];
373
373
  if(length == 0) {
374
374
  return object_complete_ext(uk, ext_type, rb_str_buf_new(0));
375
375
  }
@@ -381,7 +381,7 @@ static int read_primitive(msgpack_unpacker_t* uk)
381
381
  {
382
382
  READ_CAST_BLOCK_OR_RETURN_EOF(cb, uk, 3);
383
383
  uint16_t length = _msgpack_be16(cb->u16);
384
- int ext_type = cb->buffer[2];
384
+ int ext_type = (signed char) cb->buffer[2];
385
385
  if(length == 0) {
386
386
  return object_complete_ext(uk, ext_type, rb_str_buf_new(0));
387
387
  }
@@ -393,7 +393,7 @@ static int read_primitive(msgpack_unpacker_t* uk)
393
393
  {
394
394
  READ_CAST_BLOCK_OR_RETURN_EOF(cb, uk, 5);
395
395
  uint32_t length = _msgpack_be32(cb->u32);
396
- int ext_type = cb->buffer[4];
396
+ int ext_type = (signed char) cb->buffer[4];
397
397
  if(length == 0) {
398
398
  return object_complete_ext(uk, ext_type, rb_str_buf_new(0));
399
399
  }
@@ -373,7 +373,7 @@ static VALUE Unpacker_register_type(int argc, VALUE* argv, VALUE self)
373
373
  rb_raise(rb_eArgError, "wrong number of arguments (%d for 1 or 3)", argc);
374
374
  }
375
375
 
376
- ext_type = rb_num2int(argv[0]);
376
+ ext_type = NUM2INT(argv[0]);
377
377
  if(ext_type < -128 || ext_type > 127) {
378
378
  rb_raise(rb_eRangeError, "integer %d too big to convert to `signed char'", ext_type);
379
379
  }
@@ -1,3 +1,3 @@
1
1
  module MessagePack
2
- VERSION = "0.7.4"
2
+ VERSION = "0.7.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: msgpack
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.4
4
+ version: 0.7.5
5
5
  platform: x64-mingw32
6
6
  authors:
7
7
  - Sadayuki Furuhashi
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2016-01-08 00:00:00.000000000 Z
13
+ date: 2016-04-06 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: bundler