archive-zip 0.13.0 → 0.13.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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/NEWS.md +4 -0
  3. data/lib/archive/zip/entry.rb +6 -1
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5be2111c2c6208b70fca2f2f5f775ba996f2560a549f3de498a7925fbef42a3c
4
- data.tar.gz: f450fe25f9428355ed25f6d08f24f79bf9cb99656ee2bfd3b8018feac53383f4
3
+ metadata.gz: fb030a7a43de06b6425eb13f0049f1af3503c4604b6a19c62c5c7517a114e08f
4
+ data.tar.gz: a3c82492d5300ae27c4a498dd406cb7a95d3749e92bd95e68270957927386490
5
5
  SHA512:
6
- metadata.gz: a73ff541aba86efb0affa9208fbece9035ef9e6846e834f8ad6436a9b271b46b524a63b5cdb826fed327deb44680f941a942ea5992c1556b2329c12f6e0b7ee6
7
- data.tar.gz: be51d7abf24d6b5a0237fca33eed8852562cbacac2636f593d25ef7dc9eef0ddf8340c0646701ba9010eb3587cce1fad3d9fd72ef97802eaa5b7d645ef2f4d5b
6
+ metadata.gz: 73011cf5d00980bac9421bbd55b4d843dce85237e2fa0d6365314885d4b7ab5cc3c46018cae649e21c3abd2185a4823be17c6e5a84af236a497c11999792dba1
7
+ data.tar.gz: 4b0590ea4835f79db0ff58d2c52782591cfb681e86b05662a8fa2feb67a7507495f460cd4723363fd873ac9d31ab2d1b2288a8cb30411a066b4c9785aafe919e
data/NEWS.md CHANGED
@@ -6,6 +6,10 @@ detailed information is available in the rest of the documentation.
6
6
  **NOTE:** Date stamps in the following entries are in YYYY/MM/DD format.
7
7
 
8
8
 
9
+ ## v0.13.1 (2025/06/20)
10
+
11
+ * Fix an exception when extracting symlinks
12
+
9
13
  ## v0.13.0 (2025/06/07)
10
14
 
11
15
  * Upgrade io-like dependency to 0.4.0
@@ -924,7 +924,12 @@ module Archive; class Zip; module Entry
924
924
  compression_codec.decompressor(
925
925
  encryption_codec.decryptor(raw_data, password)
926
926
  ) do |decompressor|
927
- @link_target = decompressor.read
927
+ @link_target = ''.b
928
+ begin
929
+ loop do @link_target << decompressor.read(8192) end
930
+ rescue EOFError
931
+ # Ignore.
932
+ end
928
933
  # Verify that the extracted data is good.
929
934
  begin
930
935
  unless expected_data_descriptor.nil? then
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: archive-zip
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.13.0
4
+ version: 0.13.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeremy Bopp
@@ -10,7 +10,7 @@ authors:
10
10
  - Kouhei Sutou
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2025-06-07 00:00:00.000000000 Z
13
+ date: 2025-06-20 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: io-like