msgpack 0.7.3-java → 0.7.4-java

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: 8f5d65b7af869bd2939df3d101222b608a5b601e
4
- data.tar.gz: b41f4d06f3a84d90478d508f3a1efe3d612e5cd7
3
+ metadata.gz: 3e27db9598b3889bdf293cb908f4ff54bc721505
4
+ data.tar.gz: db48f64ad763a8eccd3ce43266986d80a601b900
5
5
  SHA512:
6
- metadata.gz: 4709e1faf80cc6f2d58c9e40b1692c517279194efadef097c74be99f1ee8d7e3229a324e30901df0a583163e47ab6e42b99b7739786a568b01e17fb2d7b1a8e6
7
- data.tar.gz: edd880415747d6c932deb76f1b69048a2c7eb2a885a2e03a8d05b61e72608be990173adcffa7ec29d66de61361e517273f63d7dd11c2f46d75bdc87b28fd8724
6
+ metadata.gz: 2fba2d5a8b6e0d67032f77839635934c25bef183be224092f190d9f2382aabe23e3bf1a743de03c48096093487bf5a183bb9bdfe93d8451451d858ac1d3b63bf
7
+ data.tar.gz: e0b302df18c3f87a904a54fb0fa1fbbcdd5e6f24a05185c981f5e7b9e79ca50556ba3c261f7f047e8337ccf7d82b8f2a1d85a433fdc9b1c8dfd10d6d44b5bf74
Binary file
@@ -1,3 +1,3 @@
1
1
  module MessagePack
2
- VERSION = "0.7.3"
2
+ VERSION = "0.7.4"
3
3
  end
data/spec/packer_spec.rb CHANGED
@@ -44,21 +44,18 @@ describe MessagePack::Packer do
44
44
  dio.rewind
45
45
  expect(dio.string).to eql(sample_packed)
46
46
 
47
- unless defined? JRUBY_VERSION
48
- # JRuby seems to have bug not to flush GzipWriter buffer correctly (both of 1.7 and 9.0)
49
- dio = StringIO.new
50
- writer = Zlib::GzipWriter.new(dio)
51
- writer.sync = true
52
- p3 = MessagePack::Packer.new(writer)
53
- p3.write sample_data
54
- p3.flush
55
- writer.flush(Zlib::FINISH)
56
- writer.close
57
- dio.rewind
58
- compressed = dio.string
59
- str = Zlib::GzipReader.wrap(StringIO.new(compressed)){|gz| gz.read }
60
- expect(str).to eql(sample_packed)
61
- end
47
+ dio = StringIO.new
48
+ writer = Zlib::GzipWriter.new(dio)
49
+ writer.sync = true
50
+ p3 = MessagePack::Packer.new(writer)
51
+ p3.write sample_data
52
+ p3.flush
53
+ writer.flush(Zlib::FINISH)
54
+ writer.close
55
+ dio.rewind
56
+ compressed = dio.string
57
+ str = Zlib::GzipReader.wrap(StringIO.new(compressed)){|gz| gz.read }
58
+ expect(str).to eql(sample_packed)
62
59
 
63
60
  class DummyIO
64
61
  def initialize
@@ -87,6 +84,9 @@ describe MessagePack::Packer do
87
84
  def flush
88
85
  # nop
89
86
  end
87
+ def close
88
+ # nop
89
+ end
90
90
  end
91
91
 
92
92
  dio = DummyIO.new
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.3
4
+ version: 0.7.4
5
5
  platform: java
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-07 00:00:00.000000000 Z
13
+ date: 2016-01-08 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  requirement: !ruby/object:Gem::Requirement