1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

[bundler/bundler] Last relative requires

https://github.com/bundler/bundler/commit/fb587b9ebb
This commit is contained in:
David Rodríguez 2019-08-02 13:23:20 +02:00 committed by Hiroshi SHIBATA
parent f753961611
commit 998204882b
3 changed files with 9 additions and 9 deletions

View file

@ -4,11 +4,11 @@ require_relative "plugin/api"
module Bundler
module Plugin
autoload :DSL, "bundler/plugin/dsl"
autoload :Events, "bundler/plugin/events"
autoload :Index, "bundler/plugin/index"
autoload :Installer, "bundler/plugin/installer"
autoload :SourceList, "bundler/plugin/source_list"
autoload :DSL, File.expand_path("plugin/dsl", __dir__)
autoload :Events, File.expand_path("plugin/events", __dir__)
autoload :Index, File.expand_path("plugin/index", __dir__)
autoload :Installer, File.expand_path("plugin/installer", __dir__)
autoload :SourceList, File.expand_path("plugin/source_list", __dir__)
class MalformattedPlugin < PluginError; end
class UndefinedCommandError < PluginError; end

View file

@ -1,7 +1,7 @@
require 'net/http'
require 'uri'
require 'cgi' # for escaping
require 'bundler/vendor/connection_pool/lib/connection_pool'
require_relative '../../../../connection_pool/lib/connection_pool'
begin
require 'net/http/pipeline'
@ -1197,6 +1197,6 @@ application:
end
require 'bundler/vendor/net-http-persistent/lib/net/http/persistent/connection'
require 'bundler/vendor/net-http-persistent/lib/net/http/persistent/pool'
require_relative 'persistent/connection'
require_relative 'persistent/pool'

View file

@ -49,5 +49,5 @@ class Bundler::Persistent::Net::HTTP::Persistent::Pool < Bundler::ConnectionPool
end
end
require 'bundler/vendor/net-http-persistent/lib/net/http/persistent/timed_stack_multi'
require_relative 'timed_stack_multi'