Skip to content

Use native prefix predicate in YAML parser - #387

Merged
OdenTakashi merged 1 commit into
drwl:mainfrom
OskarEichler:codex/use-native-yaml-prefix
Sep 14, 2026
Merged

OdenTakashi merged 1 commit into
drwl:mainfrom
OskarEichler:codex/use-native-yaml-prefix

Conversation

@OskarEichler

Copy link
Copy Markdown
Contributor

YmlParser uses the Active Support alias starts_with? for a plain String prefix check. Use the native start_with? so this parser method does not depend on a global Active Support core extension.

Verified with the full 874-example unit suite on Ruby 4.0.6 and 3.2.11, Rails integration, StandardRB, and a standalone parser model.

@OdenTakashi OdenTakashi left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Thanks, looks good to me.

@OdenTakashi
OdenTakashi merged commit 80d54f5 into drwl:main Sep 14, 2026
32 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