And with that we started to see the following warning coming from phonelib:
vendor/gems/3.4.0/ruby/3.4.0+0/gems/phonelib-0.8.3/lib/phonelib/phone.rb:27: warning: literal string will be frozen in the future
These changes remove those errors by unfreezing strings when they should be mutable. They get the test suite to pass with RUBYOPT="--enable-frozen-string-literal", which will be the default in the future.
There was a deprecation warning for chilled strings merged recently in Ruby: https://github.com/ruby/ruby/commit/12be40ae6be78ac41e8e3f3c313cc6f63e7fa6c4
And with that we started to see the following warning coming from
phonelib
:These changes remove those errors by unfreezing strings when they should be mutable. They get the test suite to pass with RUBYOPT="--enable-frozen-string-literal", which will be the default in the future.