Skip to content

Conversation

hsbt
Copy link
Member

@hsbt hsbt commented Jun 17, 2025

@cloudflare-workers-and-pages
Copy link

Deploying rdoc with  Cloudflare Pages  Cloudflare Pages

Latest commit: 5a1f6fa
Status: ✅  Deploy successful!
Preview URL: https://b0ba8311.rdoc-6cd.pages.dev
Branch Preview URL: https://1378-preview.rdoc-6cd.pages.dev

View logs

@github-actions
Copy link

🚀 Preview deployment available at: https://b0ba8311.rdoc-6cd.pages.dev (commit: 5a1f6fa)

Copy link
Member

@kou kou left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

@kou kou merged commit 8602952 into master Jun 17, 2025
62 checks passed
@kou kou deleted the fix-windows-ci branch June 17, 2025 05:58
kou pushed a commit to ruby/rss that referenced this pull request Oct 15, 2025
### Background
A warning is currently emitted in CI when running with ruby-head (Ruby
3.5-dev).
This warning occurs because `CGI::Util` will be removed in Ruby 3.5.
- https://bugs.ruby-lang.org/issues/21258
- ruby/ruby#13275

```
/home/runner/.rubies/ruby-head/lib/ruby/gems/3.5.0+2/gems/rss-0.3.2/lib/rss/rss.rb:4: warning: CGI::Util is removed from Ruby 3.5. Please use cgi/escape instead for CGI.escape and CGI.unescape features.
If you are using CGI.parse, please install and use the cgi gem instead.
/home/runner/work/rss/rss/tmp/test/test-dublincore.rb:2: warning: CGI library is removed from Ruby 3.5. Please use cgi/escape instead for CGI.escape and CGI.unescape features.
If you need to use the full features of CGI library, Please install cgi gem.
```

https://github.com/ruby/rss/actions/runs/16902042489/job/47883073913#step:6:8

### Details
This Pull Request fixes the warning by replacing the use of `cgi/util`
with `cgi/escape`.
The `cgi/escape` is available since Ruby 2.3.

### Additional Information
Similar fixes have been made in other libraries, such as the rdoc gem.
- ruby/rdoc#1366
- ruby/rdoc#1378
-
ruby/net-http@d8fd39c
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