Skip to content

Ruby 3.3 compatibility - #1

Open
danielxvu wants to merge 1 commit into
ruby-3.3-basefrom
ruby-3.3
Open

Ruby 3.3 compatibility#1
danielxvu wants to merge 1 commit into
ruby-3.3-basefrom
ruby-3.3

Conversation

@danielxvu

Copy link
Copy Markdown

Ruby 3.3 compatibility patch consumed by Roll20/d20app (ODSY-1142, PR https://github.com/Roll20/d20app/pull/10896). padrino-core: 3-arg Regexp.new kcode -> Regexp::NOENCODING for Ruby 3.x. Kept 2.7-safe so it can land before the d20app runtime flip.

@danielxvu
danielxvu force-pushed the ruby-3.3 branch 3 times, most recently from 46bf2a3 to 62b0c4a Compare June 25, 2026 08:18
padrino-core 0.14.4's Router#map built two regexps with the 3-arg
Regexp.new(str, options, 'n') form removed in Ruby 3.2+. Replace the trailing 'n'
kcode with Regexp::NOENCODING, preserving the original options (path: none; host:
IGNORECASE, which the legacy `true` flag enabled). Kept 2.7-compatible; only the
padrino-core sub-gem of this monorepo is patched.
@danielxvu
danielxvu changed the base branch from master to ruby-3.3-base June 25, 2026 08:31
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.

1 participant