Skip to content

Conversation

@nobu
Copy link
Member

@nobu nobu commented Nov 4, 2025

No description provided.

nobu added a commit to nobu/ruby that referenced this pull request Nov 4, 2025
nobu added a commit to nobu/ruby that referenced this pull request Nov 4, 2025
@nobu nobu merged commit 1387def into ruby:master Nov 4, 2025
38 checks passed
@nobu nobu deleted the remove-obsoletes branch November 4, 2025 19:41
@rwstauner
Copy link

rwstauner commented Nov 4, 2025

The tzinfo gem is using rest? which this PR appears to have removed from the C implementation but left in the Java implementation?
https://github.com/tzinfo/tzinfo/blob/v2.0.6/lib/tzinfo/data_sources/posix_time_zone_parser.rb#L61-L75

k0kubun added a commit to k0kubun/strscan that referenced this pull request Nov 4, 2025
Partially revert ruby#168 because
strscan_rest_p did not have rb_warning("StringScanner#rest? is obsolete").

It is actively used by the latest tzinfo.gem, and we shouldn't remove it
without deprecating it.
k0kubun added a commit that referenced this pull request Nov 4, 2025
Partially revert #168 because
strscan_rest_p did not have `rb_warning("StringScanner#rest? is
obsolete")`.

It is actively used by the latest tzinfo.gem, and we shouldn't remove it
without deprecating it.
matzbot pushed a commit to ruby/ruby that referenced this pull request Nov 4, 2025
(ruby/strscan#169)

Partially revert ruby/strscan#168 because
strscan_rest_p did not have `rb_warning("StringScanner#rest? is
obsolete")`.

It is actively used by the latest tzinfo.gem, and we shouldn't remove it
without deprecating it.

ruby/strscan@f3fdf21189
@k0kubun
Copy link
Member

k0kubun commented Nov 4, 2025

rest? which this PR appears to have removed from the C implementation but left in the Java implementation?

It wasn't marked "obsolete" in the first place, so I pushed a partial revert #169 to fix a ruby/ruby CI.

jacob-shops pushed a commit to Shopify/ruby that referenced this pull request Nov 12, 2025
jacob-shops pushed a commit to Shopify/ruby that referenced this pull request Nov 12, 2025
(ruby/strscan#169)

Partially revert ruby/strscan#168 because
strscan_rest_p did not have `rb_warning("StringScanner#rest? is
obsolete")`.

It is actively used by the latest tzinfo.gem, and we shouldn't remove it
without deprecating it.

ruby/strscan@f3fdf21189
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.

3 participants