diff options
| author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2022-08-08 21:39:49 +0200 |
|---|---|---|
| committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2022-08-23 10:45:57 +0900 |
| commit | b30fc03e924235207edb009be2108226e4c8efc6 (patch) | |
| tree | 34dc70a7802b617a5d5a44601ba67d0152e51bfa | |
| parent | 6465a5331a2e5a0361e566b9c55f5314271a4df9 (diff) | |
[rubygems/rubygems] Centralize loading `Bundler::MatchPlatform` mixin
It's explicitly loaded when monkeypatching RubyGems, which we do very
early. So neither autoloading it, nor explicitly loading it anywhere
else is necessary.
https://github.com/rubygems/rubygems/commit/fbc7a57161
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/6268
| -rw-r--r-- | lib/bundler.rb | 1 | ||||
| -rw-r--r-- | lib/bundler/lazy_specification.rb | 2 |
2 files changed, 0 insertions, 3 deletions
diff --git a/lib/bundler.rb b/lib/bundler.rb index 7df22ab3a5..b24d47c6d0 100644 --- a/lib/bundler.rb +++ b/lib/bundler.rb @@ -59,7 +59,6 @@ module Bundler autoload :Installer, File.expand_path("bundler/installer", __dir__) autoload :LazySpecification, File.expand_path("bundler/lazy_specification", __dir__) autoload :LockfileParser, File.expand_path("bundler/lockfile_parser", __dir__) - autoload :MatchPlatform, File.expand_path("bundler/match_platform", __dir__) autoload :ProcessLock, File.expand_path("bundler/process_lock", __dir__) autoload :RemoteSpecification, File.expand_path("bundler/remote_specification", __dir__) autoload :Resolver, File.expand_path("bundler/resolver", __dir__) diff --git a/lib/bundler/lazy_specification.rb b/lib/bundler/lazy_specification.rb index 5b40bec5a8..78d2c22f81 100644 --- a/lib/bundler/lazy_specification.rb +++ b/lib/bundler/lazy_specification.rb @@ -1,7 +1,5 @@ # frozen_string_literal: true -require_relative "match_platform" - module Bundler class LazySpecification include MatchPlatform |
