zip_kit 6.0.0 → 6.0.1

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6ff2f42664629263c431e566c3aacdce8172f3d2623bb5b18a0a57b8740bb600
4
- data.tar.gz: '09fafbaf3a56c9200a48618fadaacbbfb44efb95cf802b089ecdd7b5de290774'
3
+ metadata.gz: 01e5705a5a5fd365b524814f91aaca754b983882a1ac596bb0b419fcb8be78d1
4
+ data.tar.gz: 96a01fdbe7ce804c88d8b56ab6319c2e4d67b6b656d5babb7abecfccde2634db
5
5
  SHA512:
6
- metadata.gz: 16c5e3100a7f514212b93e4862dfd0e00da93158c251cb4e6491a56cf96769f5dee3f5cb194b0bb67e2b3ac6a62da7b2b490509225735fa3374fdeb0394da6df
7
- data.tar.gz: c56e949d2a7ec86dfbbd3fbea70494756e19059cae897be417e34ee2dbb6532a203488ff5b7cb716e2dd400b2222bb3d3232743822fcef73b0ce2b3c21bcb97b
6
+ metadata.gz: 14f84e439aa7f1dfde017fed0209f8e7d8cb23baf3cf6025d7b0321fe289d51bbdcd8f40a159dd5dbb43eb6869fb79457de04be98e26deea2e8a04765381ef3a
7
+ data.tar.gz: 111a3b10851f30eea6a1c9981b68a021f611b485c99cd9d69239dbe9a40645fcdfd64fc8c8f76f1ae2d607b6bb6e8e8d2ca2a233411bf330ed226c0d0493e4d3
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## 6.0.1
2
+
3
+ * Fix `require` for the `VERSION` constant, as Zeitwerk would try to resolve it in Rails context, bringing the entire module under its reloading.
4
+
1
5
  ## 6.0
2
6
 
3
7
  * Remove `RackBody` because it is just `OutputEnumerator`. Add a convenience method for Rack response generation.
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ZipKit
4
- VERSION = "6.0.0"
4
+ VERSION = "6.0.1"
5
5
  end
data/lib/zip_kit.rb CHANGED
@@ -1,5 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
+ require_relative "zip_kit/version"
4
+
3
5
  module ZipKit
4
6
  autoload :OutputEnumerator, File.dirname(__FILE__) + "/zip_kit/rack_body.rb"
5
7
  autoload :RailsStreaming, File.dirname(__FILE__) + "/zip_kit/rails_streaming.rb"
data/zip_kit.gemspec CHANGED
@@ -7,12 +7,13 @@ Gem::Specification.new do |spec|
7
7
  spec.version = ZipKit::VERSION
8
8
  spec.authors = ["Julik Tarkhanov", "Noah Berman", "Dmitry Tymchuk", "David Bosveld", "Felix Bünemann"]
9
9
  spec.email = ["me@julik.nl"]
10
- spec.required_ruby_version = ">= 2.6.0"
11
10
 
12
- spec.summary = "Stream out ZIP files from Ruby"
13
- spec.description = "Stream out ZIP files from Ruby"
11
+ spec.summary = "Stream out ZIP files from Ruby. Successor to zip_tricks."
12
+ spec.description = "Stream out ZIP files from Ruby. Successor to zip_tricks."
14
13
  spec.homepage = "https://github.com/julik/zip_kit"
15
14
 
15
+ spec.required_ruby_version = ">= 2.6.0"
16
+
16
17
  spec.metadata["allowed_push_host"] = "https://rubygems.org"
17
18
  spec.files = `git ls-files -z`.split("\x0").reject do |f|
18
19
  f.match(%r{^(test|spec|features|gemfiles)/})
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.0
4
+ version: 6.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Julik Tarkhanov
@@ -250,7 +250,7 @@ dependencies:
250
250
  - - ">="
251
251
  - !ruby/object:Gem::Version
252
252
  version: '1.13'
253
- description: Stream out ZIP files from Ruby
253
+ description: Stream out ZIP files from Ruby. Successor to zip_tricks.
254
254
  email:
255
255
  - me@julik.nl
256
256
  executables: []
@@ -331,5 +331,5 @@ requirements: []
331
331
  rubygems_version: 3.0.3
332
332
  signing_key:
333
333
  specification_version: 4
334
- summary: Stream out ZIP files from Ruby
334
+ summary: Stream out ZIP files from Ruby. Successor to zip_tricks.
335
335
  test_files: []