diff options
author | David RodrÃguez <[email protected]> | 2022-06-03 09:49:59 +0200 |
---|---|---|
committer | git <[email protected]> | 2022-06-06 18:36:31 +0900 |
commit | ba383188279cd30abbb826f45af775fed3266221 (patch) | |
tree | ae72e3fc3738fbf64f54ad7a815a43df64c4a04a /test/rdoc/test_rdoc_ri_driver.rb | |
parent | f4173ff2fada676940d358e97b2c3e55ff183ec7 (diff) |
[rubygems/rubygems] Unify loading `Gem::Requirement`
It was being explicitly required from `Gem::Specification` but also a
strange autoload was set for it at `Gem::Version`. The autoload was non
standard because it should've been done in the `Gem` module, not in
`Gem::Specification`, since that's where the constant is expected to get
defined. Doing this might get deprecated in the future, and it was not
being effective anyways due to the explicit require.
Unify everything with an `autoload` at the right place.
https://github.com/rubygems/rubygems/commit/174ea3e24c
Diffstat (limited to 'test/rdoc/test_rdoc_ri_driver.rb')
0 files changed, 0 insertions, 0 deletions