rubyzip 3.3.0 → 3.3.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: 301afd00cf28573bc4e6b12cd9a7f6dca91dcd260244423ac8dab1c97e4dcbec
4
- data.tar.gz: 8c6d46366f1fe3064632b0de1a00a82f44184438ae7febdc3db82407092965f2
3
+ metadata.gz: 05f84643ff59429233f25e059dc64a55006ef51a7ff77163993fa03fa5bd0fb3
4
+ data.tar.gz: 182f12bf76a7bf64bb589d002195bb64a00ef0309aaa415670182c59db05b8f5
5
5
  SHA512:
6
- metadata.gz: 44a3a3e3176ea832db64716d81ae5dcf2919d975e395012a27ca849f3d6d22a2b9e199f73bae152f2ae2acb62f4ccbce3de33b4ffd26f21935d2ab997f2abb19
7
- data.tar.gz: beeec7382ef911feeb9e4403dc6025a02904f74cc31cb9948f180c060b8706aa9b080d0e2bbbcfaae9c89465e0922799169713bba5563d275db3d677dc0962d4
6
+ metadata.gz: b6bbacb2a7f5be8886a00f6a0a29bf8777ab82f1002912bcbe9b80e5405ab54d6cf6434d26c6472a041542f90938317d62249d0a9a9b151d908f8c45d421a298
7
+ data.tar.gz: 90575f372b006b74d1f437b9950b48888a011f89d8110e231a225952d558e88fe4f5f1a84953f95b8caf6009c83325b4d0e8c40cdd8fc4c36b1df1b9dd1af14f
data/Changelog.md CHANGED
@@ -1,3 +1,7 @@
1
+ # 3.3.1 (2026-05-30)
2
+
3
+ - Reinstate default param for `InputStream#sysread`. [#663](https://github.com/rubyzip/rubyzip/issues/663)
4
+
1
5
  # 3.3.0 (2026-05-02)
2
6
 
3
7
  - Refactor `InputStream` and `AbstractInputStream`.
@@ -100,7 +100,8 @@ module Zip
100
100
  #
101
101
  # This method should not be used with buffered input stream-reader methods,
102
102
  # such as #read, #readline, #gets.
103
- def sysread(maxlen, out_string = nil)
103
+ def sysread(maxlen = nil, out_string = nil)
104
+ # Remove the default value for maxlen for version 4.
104
105
  return (maxlen.nil? || maxlen.zero? ? '' : nil) if eof?
105
106
 
106
107
  output = produce_input(maxlen)
data/lib/zip/version.rb CHANGED
@@ -2,5 +2,5 @@
2
2
 
3
3
  module Zip
4
4
  # The version of the Rubyzip library.
5
- VERSION = '3.3.0'
5
+ VERSION = '3.3.1'
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubyzip
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.3.0
4
+ version: 3.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Robert Haines
@@ -195,9 +195,9 @@ licenses:
195
195
  - BSD-2-Clause
196
196
  metadata:
197
197
  bug_tracker_uri: https://github.com/rubyzip/rubyzip/issues
198
- changelog_uri: https://github.com/rubyzip/rubyzip/blob/v3.3.0/Changelog.md
199
- documentation_uri: https://www.rubydoc.info/gems/rubyzip/3.3.0
200
- source_code_uri: https://github.com/rubyzip/rubyzip/tree/v3.3.0
198
+ changelog_uri: https://github.com/rubyzip/rubyzip/blob/v3.3.1/Changelog.md
199
+ documentation_uri: https://www.rubydoc.info/gems/rubyzip/3.3.1
200
+ source_code_uri: https://github.com/rubyzip/rubyzip/tree/v3.3.1
201
201
  wiki_uri: https://github.com/rubyzip/rubyzip/wiki
202
202
  rubygems_mfa_required: 'true'
203
203
  rdoc_options: []