[openstreetmap/openstreetmap-website] Add frozen_string_literal comments to ruby files (PR #5932)

Tom Hughes notifications at github.com
Tue Apr 15 11:05:38 UTC 2025


tomhughes left a comment (openstreetmap/openstreetmap-website#5932)

To explain what made me suggest this upgrading to Fedora 42 and hence ruby 3.4 led to quite a lot of deprecation warnings almost all of which (apart from the ffi-libarchive ones) come down to controller tests which make a POST request with a constant string as the body - the eventual analysis of what's going on is https://github.com/rack/rack/pull/2322#issuecomment-2802767710 and the easiest workaround pending solution in Rack and/or StringIO was to freeze strings ourselves.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5932#issuecomment-2804676497
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/pull/5932/c2804676497 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250415/f2e1d129/attachment.htm>


More information about the rails-dev mailing list