just-keep-zipping 0.0.2 → 0.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (4) hide show
  1. checksums.yaml +5 -5
  2. data/README.md +3 -1
  3. data/lib/just-keep-zipping.rb +1 -0
  4. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA256:
3
- metadata.gz: 98bb5c411d4764cdbaa2b15a6d938443a9ee4b8ce05863338d0e234222c135a3
4
- data.tar.gz: 3fe9a60cde27e9c204c5509dc994bc165153d478bb51ade721cb76433f8cc191
2
+ SHA1:
3
+ metadata.gz: fbc178b577f72d278448a8e591b84215a4984cb6
4
+ data.tar.gz: 2ae4025a22b063df0e65e1e25b254dffd7312fae
5
5
  SHA512:
6
- metadata.gz: 584cb29baaa3ffff8d7adb59703fbf853f13a14757ebd654004b626a2e705f0edd5df112ceb67c178d3fe5717d3efaa6c57e1d2bbd93e9ae86f00f392042e103
7
- data.tar.gz: 81f45ea7a320dd08c1627103cd6730c296995084c42510c3de62acace301a51b07e967cfafdfff8fd5f9af16bbe7e11084cd77c0ac9d3328504f854d65a7629e
6
+ metadata.gz: a76e9aef8e7161bbeb884f0ecf2cb5d0542cfda26ee07241eef89ca34b1f0a95f022adc91cb421ab421c41aa4bee23377fce460201310b8c5464c1beed0dcad8
7
+ data.tar.gz: 6769102d9fb7fc1e81767bac1c2397fccc4613f0e192d2ab7a87385262a09d584f1fb29f76f27deadb26e37255a4be886c27ce86b55451841fc78d9f085b7d77
data/README.md CHANGED
@@ -1,3 +1,5 @@
1
+ [![Gem Version](https://badge.fury.io/rb/just-keep-zipping.svg)](http://badge.fury.io/rb/just-keep-zipping)
2
+
1
3
  # just-keep-zipping
2
4
 
3
5
  Produce a ZIP file from many source files, in a streaming or distributed fashion.
@@ -72,7 +74,7 @@ Each interval, e.g. 50-100 files, save the current data into s3. When finished,
72
74
 
73
75
  http://googleapis.github.io/google-cloud-ruby/docs/google-cloud-storage/latest/Google/Cloud/Storage/Bucket.html#compose-instance_method
74
76
 
75
- Each interval, e.g. 50-100 files, save the current data into s3. When finished, use the compose method to join the parts
77
+ Each interval, e.g. 50-100 files, save the current data into GCS. When finished, use the compose method to join the parts
76
78
  into a whole (for more than 32 parts, iteratively compose the destination file as an input of the next group).
77
79
 
78
80
  zip = JustKeepZipping.new
@@ -46,6 +46,7 @@ class JustKeepZipping
46
46
  zip.write body.respond_to?(:read) ? body.read : body
47
47
  end
48
48
  io.rewind
49
+ io.set_encoding 'ASCII-8BIT'
49
50
  d = Zip::CentralDirectory.read_from_stream io
50
51
 
51
52
  e = d.entries.first
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: just-keep-zipping
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Calhoun
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-11-28 00:00:00.000000000 Z
11
+ date: 2018-11-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubyzip
@@ -54,7 +54,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
54
54
  version: '0'
55
55
  requirements: []
56
56
  rubyforge_project:
57
- rubygems_version: 2.7.6
57
+ rubygems_version: 2.6.11
58
58
  signing_key:
59
59
  specification_version: 4
60
60
  summary: Just Keep Zipping