msgpack 0.7.4-x86-mingw32 → 0.7.5-x86-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: 01d4dce353c0b7f66861cc2c2d58571c1091d798
4
- data.tar.gz: 6f3dc90263da4f2027ae06fe8ecae2d490727795
3
+ metadata.gz: 14d33c3975052c9ef7121a8012adf41908ba5f89
4
+ data.tar.gz: 04432864900272cdfa9360b94d2d1fae3dab24b1
5
5
  SHA512:
6
- metadata.gz: dc81eee34389b032bcda2341f616baa1ee89449d65b115936d83aa16a4e9821d77c528e03416fbd65195a3c713a154a25ca24c9ac51d6746f42369afec1c8342
7
- data.tar.gz: 825e2e90fac1ab7693419c7d0029fe045508db3f71c8348a0e472c5329abe4e74f5b7ecfcf2b459243d5a03cb9135c9ea794868526990d1aaee53204cdaa35cc
6
+ metadata.gz: 21c126a1de9ea99ad0bb8118280e63f0c6e8392a595621f6cdfecde0c03a748affe0cb741b0d4246f2965b45d0f43095d19d3e76a9bd19505751e6fafc0f149d
7
+ data.tar.gz: 90460a200c5d1d193bb846fcfe40cf5abe81e9a23e96d9c7e3bfc5fe0db6bbde8e5f40ca15b616ee8ac1507354288bcc7a4cc26cbd4607459cc533f67d948c18
@@ -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: x86-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
@@ -187,7 +187,6 @@ files:
187
187
  - ext/msgpack/unpacker_ext_registry.c
188
188
  - ext/msgpack/unpacker_ext_registry.h
189
189
  - lib/msgpack.rb
190
- - lib/msgpack/1.9/msgpack.so
191
190
  - lib/msgpack/2.0/msgpack.so
192
191
  - lib/msgpack/2.1/msgpack.so
193
192
  - lib/msgpack/2.2/msgpack.so