rubyzip 1.1.1 → 1.1.2

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of rubyzip might be problematic. Click here for more details.

Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/zip/file.rb +1 -1
  3. data/lib/zip/version.rb +1 -1
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e7eca6764ebd3b2104ce779b422472ed1df3f034
4
- data.tar.gz: 2f90a3751e1533d46ff864f177f09cd2433b90e0
3
+ metadata.gz: 98c2a1f933fa7b5dc217d8450ea754a16b01ae8b
4
+ data.tar.gz: 8518dc1dcad5c912ec8304fa0dc8653d6879fc48
5
5
  SHA512:
6
- metadata.gz: ebd0ca646df6f8d652fc91f5d5306b101fe56bb8577d6a401b3b46f6a1fc6c9281df3cb88a555bed175c53ae01d437fd92b01487983f1eaf50d03fc94586bd1a
7
- data.tar.gz: eff9c8f931440447bf5656720f32748523b792e5189e7bed1d000c7686f09a19cd4a019629d81f058dffd6d770aa1928e28e86cdb93561c801dbc3c6c21f7c56
6
+ metadata.gz: 0ab5b0f29e9750b02bd610f53fc7806e43d49766ab10ea7c85227124b53cde76098de7449101934fa619b46287d1b882c4891e6c9cb5cf5d16922d375161a942
7
+ data.tar.gz: 18583ce2e539dfcaca7fb28688e70d838dad3b73835e585700ac01c91a06a0697984dff2d9781b7b956e7fd239654a4f4072468d17da4539ca124fe12670d6be
data/lib/zip/file.rb CHANGED
@@ -312,7 +312,7 @@ module Zip
312
312
  end
313
313
 
314
314
  # Write buffer write changes to buffer and return
315
- def write_buffer(io)
315
+ def write_buffer(io = ::StringIO.new(''))
316
316
  ::Zip::OutputStream.write_buffer(io) do |zos|
317
317
  @entry_set.each { |e| e.write_to_zip_output_stream(zos) }
318
318
  zos.comment = comment
data/lib/zip/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Zip
2
- VERSION = '1.1.1'
2
+ VERSION = '1.1.2'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubyzip
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexander Simonov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-03-16 00:00:00.000000000 Z
11
+ date: 2014-03-18 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description:
14
14
  email: