[#114181] [Ruby master Bug#19767] [Not really a bug, but more a not ideal notification] "historical binary regexp match" when using the "n" modifier in a ruby regex — "rubyFeedback (robert heiler) via ruby-core" <ruby-core@...>
SXNzdWUgIzE5NzY3IGhhcyBiZWVuIHJlcG9ydGVkIGJ5IHJ1YnlGZWVkYmFjayAocm9iZXJ0IGhl
3 messages
2023/07/14
[ruby-core:114246] [Ruby master Bug#19776] Warn bundled gems when it called from `require`
From:
"hsbt (Hiroshi SHIBATA) via ruby-core" <ruby-core@...>
Date:
2023-07-21 04:22:54 UTC
List:
ruby-core #114246
Issue #19776 has been updated by hsbt (Hiroshi SHIBATA).
I submit https://github.com/rubygems/rubygems/pull/6831 to RubyGems upstream.
----------------------------------------
Bug #19776: Warn bundled gems when it called from `require`
https://bugs.ruby-lang.org/issues/19776#change-103934
* Author: hsbt (Hiroshi SHIBATA)
* Status: Assigned
* Priority: Normal
* Assignee: hsbt (Hiroshi SHIBATA)
* Backport: 3.0: UNKNOWN, 3.1: UNKNOWN, 3.2: UNKNOWN
----------------------------------------
We should warn when users try to load default gems that will be promoted bundled gems at next version. We will warn them only under the bundler environment without Gemfile.
* Ruby 3.3:
* Warn for adding bundled gems to be addressed Ruby 3.4 to Gemfile when user load its gem without `gem 'foo'` in their Gemfile.
* Target libraries are TBD
* Also warn existing bundled gems was loaded without `gem 'foo'` of Gemfile. Ex. net-smtp, rexml etc.
* Ruby 3.4:
* Promote bundled gems.
* Raise LoadError same as current behavior with warnings of Ruby 3.3.
* Warn same as Ruby 3.3.
I implemented PoC for this: https://github.com/ruby/ruby/pull/8096
--
https://bugs.ruby-lang.org/
______________________________________________
ruby-core mailing list -- [email protected]
To unsubscribe send an email to [email protected]
ruby-core info -- https://ml.ruby-lang.org/mailman3/postorius/lists/ruby-core.ml.ruby-lang.org/