rubyzip 0.9.7 → 0.9.8

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.

data/NEWS CHANGED
@@ -1,3 +1,7 @@
1
+ = Version 0.9.8
2
+
3
+ Fixed: "Unitialized constant NullInputStream" error
4
+
1
5
  = Version 0.9.4
2
6
 
3
7
  Changed ZipOutputStream.put_next_entry signature (API CHANGE!). Now
data/lib/zip/deflater.rb CHANGED
@@ -11,7 +11,7 @@ module Zip
11
11
  def << (data)
12
12
  val = data.to_s
13
13
  @crc = Zlib::crc32(val, @crc)
14
- @size += val.size
14
+ @size += val.bytesize
15
15
  @outputStream << @zlibDeflater.deflate(data)
16
16
  end
17
17
 
@@ -10,7 +10,7 @@ module Zip
10
10
  def << (data)
11
11
  val = data.to_s
12
12
  @crc = Zlib::crc32(val, @crc)
13
- @size += val.size
13
+ @size += val.bytesize
14
14
  @outputStream << val
15
15
  end
16
16
 
data/lib/zip/zip.rb CHANGED
@@ -20,6 +20,7 @@ require 'zip/decompressor'
20
20
  require 'zip/compressor'
21
21
  require 'zip/null_decompressor'
22
22
  require 'zip/null_compressor'
23
+ require 'zip/null_input_stream'
23
24
  require 'zip/pass_thru_compressor'
24
25
  require 'zip/pass_thru_decompressor'
25
26
  require 'zip/inflater'
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: rubyzip
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.9.7
5
+ version: 0.9.8
6
6
  platform: ruby
7
7
  authors:
8
8
  - Alan Harper
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2012-04-07 00:00:00 Z
13
+ date: 2012-04-26 00:00:00 Z
14
14
  dependencies: []
15
15
 
16
16
  description: