Ref: https://bugs.ruby-lang.org/issues/20205 In Ruby 3.4 string literals will be "chilled" by default. Meaning they are still mutable, but will pretend to be frozen. In most case it has no impact, just emit a few warnings there and there, but there is one thing it impacts is the `StringIO.new('')` pattern. `StringIO` checks if the given string is frozen, and if it is will act as a read only IO. This breaks rubyzip 2.x. This commit make the 2.x branch compatible with frozen string literals. |
||
---|---|---|
.. | ||
abstract_input_stream.rb | ||
abstract_output_stream.rb |