zip_kit 6.0.1 → 6.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/README.md +11 -11
- data/Rakefile +10 -2
- data/lib/zip_kit/file_reader.rb +1 -1
- data/lib/zip_kit/output_enumerator.rb +19 -37
- data/lib/zip_kit/rack_tempfile_body.rb +3 -1
- data/lib/zip_kit/rails_streaming.rb +13 -6
- data/lib/zip_kit/remote_io.rb +2 -0
- data/lib/zip_kit/size_estimator.rb +3 -1
- data/lib/zip_kit/streamer/heuristic.rb +3 -8
- data/lib/zip_kit/streamer.rb +12 -15
- data/lib/zip_kit/version.rb +1 -1
- data/lib/zip_kit/zip_writer.rb +182 -106
- data/rbi/zip_kit.rbi +2171 -0
- data/zip_kit.gemspec +1 -0
- metadata +18 -4
- data/.codeclimate.yml +0 -7
data/zip_kit.gemspec
CHANGED
@@ -39,4 +39,5 @@ Gem::Specification.new do |spec|
|
|
39
39
|
spec.add_development_dependency "puma"
|
40
40
|
spec.add_development_dependency "actionpack", "~> 5" # For testing RailsStreaming against an actual Rails controller
|
41
41
|
spec.add_development_dependency "nokogiri", "~> 1", ">= 1.13" # Rails 5 does by mistake use an older Nokogiri otherwise
|
42
|
+
spec.add_development_dependency "sord"
|
42
43
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: zip_kit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 6.0
|
4
|
+
version: 6.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Julik Tarkhanov
|
@@ -12,7 +12,7 @@ authors:
|
|
12
12
|
autorequire:
|
13
13
|
bindir: exe
|
14
14
|
cert_chain: []
|
15
|
-
date: 2024-03-
|
15
|
+
date: 2024-03-11 00:00:00.000000000 Z
|
16
16
|
dependencies:
|
17
17
|
- !ruby/object:Gem::Dependency
|
18
18
|
name: bundler
|
@@ -250,6 +250,20 @@ dependencies:
|
|
250
250
|
- - ">="
|
251
251
|
- !ruby/object:Gem::Version
|
252
252
|
version: '1.13'
|
253
|
+
- !ruby/object:Gem::Dependency
|
254
|
+
name: sord
|
255
|
+
requirement: !ruby/object:Gem::Requirement
|
256
|
+
requirements:
|
257
|
+
- - ">="
|
258
|
+
- !ruby/object:Gem::Version
|
259
|
+
version: '0'
|
260
|
+
type: :development
|
261
|
+
prerelease: false
|
262
|
+
version_requirements: !ruby/object:Gem::Requirement
|
263
|
+
requirements:
|
264
|
+
- - ">="
|
265
|
+
- !ruby/object:Gem::Version
|
266
|
+
version: '0'
|
253
267
|
description: Stream out ZIP files from Ruby. Successor to zip_tricks.
|
254
268
|
email:
|
255
269
|
- me@julik.nl
|
@@ -257,7 +271,6 @@ executables: []
|
|
257
271
|
extensions: []
|
258
272
|
extra_rdoc_files: []
|
259
273
|
files:
|
260
|
-
- ".codeclimate.yml"
|
261
274
|
- ".document"
|
262
275
|
- ".github/workflows/ci.yml"
|
263
276
|
- ".gitignore"
|
@@ -308,6 +321,7 @@ files:
|
|
308
321
|
- lib/zip_kit/write_buffer.rb
|
309
322
|
- lib/zip_kit/write_shovel.rb
|
310
323
|
- lib/zip_kit/zip_writer.rb
|
324
|
+
- rbi/zip_kit.rbi
|
311
325
|
- zip_kit.gemspec
|
312
326
|
homepage: https://github.com/julik/zip_kit
|
313
327
|
licenses: []
|
@@ -328,7 +342,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
328
342
|
- !ruby/object:Gem::Version
|
329
343
|
version: '0'
|
330
344
|
requirements: []
|
331
|
-
rubygems_version: 3.
|
345
|
+
rubygems_version: 3.3.7
|
332
346
|
signing_key:
|
333
347
|
specification_version: 4
|
334
348
|
summary: Stream out ZIP files from Ruby. Successor to zip_tricks.
|