Skip to content

Conversation

@deivid-rodriguez
Copy link
Contributor

This avoids errors when Bundler is activated after thor, and a different version of YAML (or dependencies of it, like stringio) is included in the Gemfile/Gemfile.lock than the one that thor activates internally.

This avoids errors when Bundler is activated _after_ thor, and a
different version of YAML (or dependencies of it, like stringio) is
included in the Gemfile/Gemfile.lock than the one that thor activates
internally.
@deivid-rodriguez
Copy link
Contributor Author

This should fix #889.

@deivid-rodriguez
Copy link
Contributor Author

Any feedback/concerns here?

@rafaelfranca rafaelfranca merged commit 42142c6 into rails:main Jul 18, 2025
8 checks passed
@deivid-rodriguez deivid-rodriguez deleted the lazily-load-yaml branch July 18, 2025 19:34
bmwiedemann pushed a commit to bmwiedemann/openSUSE that referenced this pull request Jul 24, 2025
https://build.opensuse.org/request/show/1295381
by user dancermak + dimstar_suse
- 1.4.0:
## What's Changed
* Lazy-load YAML for performance improvement in rails/thor#892
* Fix encoding error when displaying diffs in rails/thor#898
* Fix unsafe shell command construction (security issue) in rails/thor#897 (bsc#1246809)
* Support `git difftool`-style merge tool identifiers in rails/thor#900
* Add `gsub_file!` and make `gsub_file` fail if no substitutions occur in rails/thor#877
## Security
* CVE-2025-54314: Fixed a vulnerability where user input could result in unsafe shell command execution. (bsc#1246809)
## New Contributors
* @hlascelles made their first contribution in rails/thor#893
**Full Changelog**: https://github.com/rail
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