Skip to content

Fix warnings for ruby4.0 - #20

Merged
uwabami merged 2 commits into
uwabami:masterfrom
mtasaka:fix-warnings
Mar 22, 2026
Merged

uwabami merged 2 commits into
uwabami:masterfrom
mtasaka:fix-warnings

Conversation

@mtasaka

@mtasaka mtasaka commented Mar 22, 2026

Copy link
Copy Markdown
Contributor

Currently running $ rake test with ruby 4.0.1 (2026-01-13 revision e04267a14b) +PRISM [x86_64-linux] causes many warnings, as shown in CI. Fix these.

mtasaka added 2 commits March 22, 2026 17:52
Fix ruby4.0 warnings like:

```
lib/rd/element.rb:135: warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information
```
cgi/escape is available on ruby2.3 .
@uwabami

uwabami commented Mar 22, 2026

Copy link
Copy Markdown
Owner

Thanks!

@uwabami
uwabami merged commit 005680e into uwabami:master Mar 22, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants