bundler 2.0.0 → 2.1.2
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of bundler might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/CHANGELOG.md +778 -572
- data/LICENSE.md +18 -19
- data/README.md +9 -8
- data/bundler.gemspec +8 -25
- data/exe/bundle +19 -3
- data/lib/bundler.rb +202 -87
- data/lib/bundler/build_metadata.rb +3 -3
- data/lib/bundler/capistrano.rb +5 -5
- data/lib/bundler/cli.rb +182 -144
- data/lib/bundler/cli/add.rb +28 -16
- data/lib/bundler/cli/cache.rb +25 -13
- data/lib/bundler/cli/common.rb +11 -12
- data/lib/bundler/cli/config.rb +161 -86
- data/lib/bundler/cli/console.rb +2 -2
- data/lib/bundler/cli/doctor.rb +4 -4
- data/lib/bundler/cli/exec.rb +4 -16
- data/lib/bundler/cli/gem.rb +5 -5
- data/lib/bundler/cli/info.rb +17 -5
- data/lib/bundler/cli/init.rb +1 -1
- data/lib/bundler/cli/install.rb +12 -11
- data/lib/bundler/cli/issue.rb +3 -3
- data/lib/bundler/cli/open.rb +10 -6
- data/lib/bundler/cli/outdated.rb +85 -81
- data/lib/bundler/cli/plugin.rb +9 -2
- data/lib/bundler/cli/pristine.rb +1 -1
- data/lib/bundler/cli/show.rb +1 -1
- data/lib/bundler/cli/update.rb +31 -11
- data/lib/bundler/compact_index_client.rb +25 -9
- data/lib/bundler/compact_index_client/updater.rb +2 -6
- data/lib/bundler/current_ruby.rb +8 -7
- data/lib/bundler/definition.rb +36 -27
- data/lib/bundler/dependency.rb +16 -4
- data/lib/bundler/deployment.rb +2 -2
- data/lib/bundler/dsl.rb +19 -43
- data/lib/bundler/env.rb +8 -13
- data/lib/bundler/environment_preserver.rb +0 -1
- data/lib/bundler/feature_flag.rb +2 -14
- data/lib/bundler/fetcher.rb +16 -13
- data/lib/bundler/fetcher/compact_index.rb +26 -12
- data/lib/bundler/fetcher/dependency.rb +1 -1
- data/lib/bundler/fetcher/downloader.rb +5 -2
- data/lib/bundler/fetcher/index.rb +5 -3
- data/lib/bundler/friendly_errors.rb +6 -7
- data/lib/bundler/gem_helper.rb +40 -25
- data/lib/bundler/gem_helpers.rb +2 -4
- data/lib/bundler/gem_tasks.rb +1 -1
- data/lib/bundler/gem_version_promoter.rb +3 -3
- data/lib/bundler/graph.rb +2 -2
- data/lib/bundler/injector.rb +10 -8
- data/lib/bundler/inline.rb +40 -30
- data/lib/bundler/installer.rb +7 -14
- data/lib/bundler/installer/gem_installer.rb +5 -1
- data/lib/bundler/installer/parallel_installer.rb +4 -8
- data/lib/bundler/installer/standalone.rb +1 -2
- data/lib/bundler/lazy_specification.rb +2 -3
- data/lib/bundler/lockfile_parser.rb +14 -21
- data/lib/bundler/match_platform.rb +1 -1
- data/lib/bundler/mirror.rb +3 -3
- data/lib/bundler/plugin.rb +42 -29
- data/lib/bundler/plugin/api.rb +1 -1
- data/lib/bundler/plugin/api/source.rb +4 -6
- data/lib/bundler/plugin/index.rb +14 -3
- data/lib/bundler/plugin/installer.rb +28 -15
- data/lib/bundler/psyched_yaml.rb +1 -1
- data/lib/bundler/remote_specification.rb +0 -2
- data/lib/bundler/resolver.rb +72 -24
- data/lib/bundler/resolver/spec_group.rb +3 -2
- data/lib/bundler/retry.rb +2 -2
- data/lib/bundler/ruby_version.rb +4 -19
- data/lib/bundler/rubygems_ext.rb +11 -67
- data/lib/bundler/rubygems_gem_installer.rb +1 -1
- data/lib/bundler/rubygems_integration.rb +148 -398
- data/lib/bundler/runtime.rb +2 -9
- data/lib/bundler/settings.rb +22 -52
- data/lib/bundler/setup.rb +11 -12
- data/lib/bundler/shared_helpers.rb +51 -77
- data/lib/bundler/similarity_detector.rb +2 -2
- data/lib/bundler/source.rb +5 -5
- data/lib/bundler/source/git.rb +24 -17
- data/lib/bundler/source/git/git_proxy.rb +38 -41
- data/lib/bundler/source/metadata.rb +7 -2
- data/lib/bundler/source/path.rb +13 -8
- data/lib/bundler/source/rubygems.rb +14 -8
- data/lib/bundler/source/rubygems/remote.rb +2 -3
- data/lib/bundler/source_list.rb +9 -12
- data/lib/bundler/spec_set.rb +1 -6
- data/lib/bundler/stub_specification.rb +18 -30
- data/lib/bundler/templates/Executable.bundler +23 -14
- data/lib/bundler/templates/newgem/CODE_OF_CONDUCT.md.tt +3 -3
- data/lib/bundler/templates/newgem/Gemfile.tt +8 -0
- data/lib/bundler/templates/newgem/README.md.tt +4 -3
- data/lib/bundler/templates/newgem/newgem.gemspec.tt +6 -27
- data/lib/bundler/templates/newgem/test/test_helper.rb.tt +1 -1
- data/lib/bundler/templates/newgem/travis.yml.tt +0 -1
- data/lib/bundler/ui.rb +3 -3
- data/lib/bundler/ui/rg_proxy.rb +1 -1
- data/lib/bundler/ui/shell.rb +4 -8
- data/lib/bundler/uri_credentials_filter.rb +7 -3
- data/lib/bundler/vendor/connection_pool/lib/connection_pool.rb +161 -0
- data/lib/bundler/vendor/connection_pool/lib/connection_pool/monotonic_time.rb +66 -0
- data/lib/bundler/vendor/connection_pool/lib/connection_pool/timed_stack.rb +176 -0
- data/lib/bundler/vendor/connection_pool/lib/connection_pool/version.rb +3 -0
- data/lib/bundler/vendor/fileutils/lib/fileutils.rb +273 -147
- data/lib/bundler/vendor/molinillo/lib/molinillo.rb +6 -6
- data/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph.rb +2 -2
- data/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/add_edge_no_circular.rb +1 -1
- data/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/add_vertex.rb +1 -1
- data/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/delete_edge.rb +1 -1
- data/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/detach_vertex_named.rb +1 -1
- data/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/log.rb +6 -6
- data/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/set_payload.rb +1 -1
- data/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/tag.rb +1 -1
- data/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/vertex.rb +30 -8
- data/lib/bundler/vendor/molinillo/lib/molinillo/errors.rb +1 -1
- data/lib/bundler/vendor/molinillo/lib/molinillo/resolution.rb +4 -4
- data/lib/bundler/vendor/molinillo/lib/molinillo/resolver.rb +2 -2
- data/lib/bundler/vendor/net-http-persistent/lib/net/http/persistent.rb +273 -304
- data/lib/bundler/vendor/net-http-persistent/lib/net/http/persistent/connection.rb +40 -0
- data/lib/bundler/vendor/net-http-persistent/lib/net/http/persistent/pool.rb +53 -0
- data/lib/bundler/vendor/net-http-persistent/lib/net/http/persistent/timed_stack_multi.rb +79 -0
- data/lib/bundler/vendor/thor/lib/thor.rb +19 -4
- data/lib/bundler/vendor/thor/lib/thor/actions.rb +27 -12
- data/lib/bundler/vendor/thor/lib/thor/actions/create_file.rb +1 -1
- data/lib/bundler/vendor/thor/lib/thor/actions/create_link.rb +1 -1
- data/lib/bundler/vendor/thor/lib/thor/actions/directory.rb +7 -17
- data/lib/bundler/vendor/thor/lib/thor/actions/file_manipulation.rb +16 -7
- data/lib/bundler/vendor/thor/lib/thor/actions/inject_into_file.rb +19 -8
- data/lib/bundler/vendor/thor/lib/thor/base.rb +54 -43
- data/lib/bundler/vendor/thor/lib/thor/command.rb +21 -14
- data/lib/bundler/vendor/thor/lib/thor/error.rb +78 -0
- data/lib/bundler/vendor/thor/lib/thor/group.rb +3 -3
- data/lib/bundler/vendor/thor/lib/thor/invocation.rb +1 -0
- data/lib/bundler/vendor/thor/lib/thor/line_editor.rb +2 -2
- data/lib/bundler/vendor/thor/lib/thor/line_editor/basic.rb +1 -1
- data/lib/bundler/vendor/thor/lib/thor/line_editor/readline.rb +6 -6
- data/lib/bundler/vendor/thor/lib/thor/nested_context.rb +29 -0
- data/lib/bundler/vendor/thor/lib/thor/parser.rb +4 -4
- data/lib/bundler/vendor/thor/lib/thor/parser/arguments.rb +2 -2
- data/lib/bundler/vendor/thor/lib/thor/parser/option.rb +20 -7
- data/lib/bundler/vendor/thor/lib/thor/parser/options.rb +20 -5
- data/lib/bundler/vendor/thor/lib/thor/rake_compat.rb +1 -0
- data/lib/bundler/vendor/thor/lib/thor/runner.rb +15 -14
- data/lib/bundler/vendor/thor/lib/thor/shell.rb +4 -4
- data/lib/bundler/vendor/thor/lib/thor/shell/basic.rb +62 -8
- data/lib/bundler/vendor/thor/lib/thor/shell/color.rb +6 -2
- data/lib/bundler/vendor/thor/lib/thor/shell/html.rb +3 -3
- data/lib/bundler/vendor/thor/lib/thor/util.rb +18 -2
- data/lib/bundler/vendor/thor/lib/thor/version.rb +1 -1
- data/lib/bundler/vendor/uri/lib/uri.rb +104 -0
- data/lib/bundler/vendor/uri/lib/uri/common.rb +744 -0
- data/lib/bundler/vendor/uri/lib/uri/file.rb +94 -0
- data/lib/bundler/vendor/uri/lib/uri/ftp.rb +267 -0
- data/lib/bundler/vendor/uri/lib/uri/generic.rb +1568 -0
- data/lib/bundler/vendor/uri/lib/uri/http.rb +88 -0
- data/lib/bundler/vendor/uri/lib/uri/https.rb +23 -0
- data/lib/bundler/vendor/uri/lib/uri/ldap.rb +261 -0
- data/lib/bundler/vendor/uri/lib/uri/ldaps.rb +21 -0
- data/lib/bundler/vendor/uri/lib/uri/mailto.rb +294 -0
- data/lib/bundler/vendor/uri/lib/uri/rfc2396_parser.rb +546 -0
- data/lib/bundler/vendor/uri/lib/uri/rfc3986_parser.rb +125 -0
- data/lib/bundler/vendor/uri/lib/uri/version.rb +6 -0
- data/lib/bundler/vendored_fileutils.rb +1 -6
- data/lib/bundler/vendored_molinillo.rb +1 -1
- data/lib/bundler/vendored_persistent.rb +7 -5
- data/lib/bundler/vendored_thor.rb +2 -2
- data/lib/bundler/vendored_uri.rb +4 -0
- data/lib/bundler/version.rb +1 -20
- data/lib/bundler/version_ranges.rb +51 -5
- data/lib/bundler/vlad.rb +3 -3
- data/lib/bundler/worker.rb +1 -3
- data/lib/bundler/yaml_serializer.rb +2 -3
- data/man/bundle-add.1 +10 -2
- data/man/bundle-add.1.txt +11 -5
- data/man/bundle-add.ronn +7 -1
- data/man/bundle-binstubs.1 +2 -2
- data/man/bundle-binstubs.1.txt +2 -2
- data/man/bundle-binstubs.ronn +1 -1
- data/man/bundle-cache.1 +55 -0
- data/man/bundle-cache.1.txt +78 -0
- data/man/{bundle-package.ronn → bundle-cache.ronn} +15 -15
- data/man/bundle-check.1 +1 -1
- data/man/bundle-check.1.txt +6 -6
- data/man/bundle-clean.1 +1 -1
- data/man/bundle-clean.1.txt +1 -1
- data/man/bundle-config.1 +36 -36
- data/man/bundle-config.1.txt +66 -67
- data/man/bundle-config.ronn +42 -40
- data/man/bundle-doctor.1 +1 -1
- data/man/bundle-doctor.1.txt +1 -1
- data/man/bundle-exec.1 +2 -2
- data/man/bundle-exec.1.txt +2 -2
- data/man/bundle-exec.ronn +1 -1
- data/man/bundle-gem.1 +1 -1
- data/man/bundle-gem.1.txt +3 -3
- data/man/bundle-info.1 +1 -1
- data/man/bundle-info.1.txt +1 -1
- data/man/bundle-init.1 +2 -2
- data/man/bundle-init.1.txt +2 -2
- data/man/bundle-init.ronn +1 -1
- data/man/bundle-inject.1 +1 -1
- data/man/bundle-inject.1.txt +1 -1
- data/man/bundle-install.1 +8 -5
- data/man/bundle-install.1.txt +56 -51
- data/man/bundle-install.ronn +9 -4
- data/man/bundle-list.1 +1 -1
- data/man/bundle-list.1.txt +1 -1
- data/man/bundle-lock.1 +1 -1
- data/man/bundle-lock.1.txt +16 -16
- data/man/bundle-open.1 +1 -1
- data/man/bundle-open.1.txt +1 -1
- data/man/bundle-outdated.1 +1 -1
- data/man/bundle-outdated.1.txt +1 -1
- data/man/bundle-platform.1 +1 -1
- data/man/bundle-platform.1.txt +1 -1
- data/man/bundle-pristine.1 +1 -1
- data/man/bundle-pristine.1.txt +1 -1
- data/man/bundle-remove.1 +1 -1
- data/man/bundle-remove.1.txt +1 -1
- data/man/bundle-show.1 +1 -1
- data/man/bundle-show.1.txt +1 -1
- data/man/bundle-update.1 +4 -4
- data/man/bundle-update.1.txt +64 -65
- data/man/bundle-update.ronn +3 -3
- data/man/bundle-viz.1 +1 -1
- data/man/bundle-viz.1.txt +1 -1
- data/man/bundle.1 +3 -3
- data/man/bundle.1.txt +8 -8
- data/man/bundle.ronn +2 -2
- data/man/gemfile.5 +13 -16
- data/man/gemfile.5.ronn +10 -14
- data/man/gemfile.5.txt +104 -108
- data/man/index.txt +1 -1
- metadata +33 -108
- data/exe/bundle_ruby +0 -60
- data/lib/bundler/cli/package.rb +0 -49
- data/lib/bundler/compatibility_guard.rb +0 -14
- data/lib/bundler/gem_remote_fetcher.rb +0 -43
- data/lib/bundler/ssl_certs/.document +0 -1
- data/lib/bundler/ssl_certs/certificate_manager.rb +0 -66
- data/lib/bundler/ssl_certs/index.rubygems.org/GlobalSignRootCA.pem +0 -21
- data/lib/bundler/ssl_certs/rubygems.global.ssl.fastly.net/DigiCertHighAssuranceEVRootCA.pem +0 -23
- data/lib/bundler/ssl_certs/rubygems.org/AddTrustExternalCARoot.pem +0 -25
- data/lib/bundler/vendor/net-http-persistent/lib/net/http/faster.rb +0 -27
- data/lib/bundler/vendor/net-http-persistent/lib/net/http/persistent/ssl_reuse.rb +0 -129
- data/lib/bundler/vendor/thor/lib/thor/core_ext/io_binary_read.rb +0 -12
- data/lib/bundler/vendor/thor/lib/thor/core_ext/ordered_hash.rb +0 -129
- data/man/bundle-package.1 +0 -55
- data/man/bundle-package.1.txt +0 -79
@@ -1,21 +0,0 @@
|
|
1
|
-
-----BEGIN CERTIFICATE-----
|
2
|
-
MIIDdTCCAl2gAwIBAgILBAAAAAABFUtaw5QwDQYJKoZIhvcNAQEFBQAwVzELMAkG
|
3
|
-
A1UEBhMCQkUxGTAXBgNVBAoTEEdsb2JhbFNpZ24gbnYtc2ExEDAOBgNVBAsTB1Jv
|
4
|
-
b3QgQ0ExGzAZBgNVBAMTEkdsb2JhbFNpZ24gUm9vdCBDQTAeFw05ODA5MDExMjAw
|
5
|
-
MDBaFw0yODAxM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med8vSTYqZEX
|
23
|
-
c4g/VhsxOBi0cQ+azcgOno4uG+GMmIPLHzHxREzGBHNJdmAPx/i9F4BrLunMTA5a
|
24
|
-
mnkPIAou1Z5jJh5VkpTYghdae9C8x49OhgQ=
|
25
|
-
-----END CERTIFICATE-----
|
@@ -1,27 +0,0 @@
|
|
1
|
-
require 'net/protocol'
|
2
|
-
|
3
|
-
##
|
4
|
-
# Aaron Patterson's monkeypatch (accepted into 1.9.1) to fix Net::HTTP's speed
|
5
|
-
# problems.
|
6
|
-
#
|
7
|
-
# http://gist.github.com/251244
|
8
|
-
|
9
|
-
class Net::BufferedIO #:nodoc:
|
10
|
-
alias :old_rbuf_fill :rbuf_fill
|
11
|
-
|
12
|
-
def rbuf_fill
|
13
|
-
if @io.respond_to? :read_nonblock then
|
14
|
-
begin
|
15
|
-
@rbuf << @io.read_nonblock(65536)
|
16
|
-
rescue Errno::EWOULDBLOCK, Errno::EAGAIN => e
|
17
|
-
retry if IO.select [@io], nil, nil, @read_timeout
|
18
|
-
raise Timeout::Error, e.message
|
19
|
-
end
|
20
|
-
else # SSL sockets do not have read_nonblock
|
21
|
-
timeout @read_timeout do
|
22
|
-
@rbuf << @io.sysread(65536)
|
23
|
-
end
|
24
|
-
end
|
25
|
-
end
|
26
|
-
end if RUBY_VERSION < '1.9'
|
27
|
-
|
@@ -1,129 +0,0 @@
|
|
1
|
-
##
|
2
|
-
# This Net::HTTP subclass adds SSL session reuse and Server Name Indication
|
3
|
-
# (SNI) RFC 3546.
|
4
|
-
#
|
5
|
-
# DO NOT DEPEND UPON THIS CLASS
|
6
|
-
#
|
7
|
-
# This class is an implementation detail and is subject to change or removal
|
8
|
-
# at any time.
|
9
|
-
|
10
|
-
class Bundler::Persistent::Net::HTTP::Persistent::SSLReuse < Net::HTTP
|
11
|
-
|
12
|
-
@is_proxy_class = false
|
13
|
-
@proxy_addr = nil
|
14
|
-
@proxy_port = nil
|
15
|
-
@proxy_user = nil
|
16
|
-
@proxy_pass = nil
|
17
|
-
|
18
|
-
def initialize address, port = nil # :nodoc:
|
19
|
-
super
|
20
|
-
|
21
|
-
@ssl_session = nil
|
22
|
-
end
|
23
|
-
|
24
|
-
##
|
25
|
-
# From ruby trunk r33086 including http://redmine.ruby-lang.org/issues/5341
|
26
|
-
|
27
|
-
def connect # :nodoc:
|
28
|
-
D "opening connection to #{conn_address()}..."
|
29
|
-
s = timeout(@open_timeout) { TCPSocket.open(conn_address(), conn_port()) }
|
30
|
-
D "opened"
|
31
|
-
if use_ssl?
|
32
|
-
ssl_parameters = Hash.new
|
33
|
-
iv_list = instance_variables
|
34
|
-
SSL_ATTRIBUTES.each do |name|
|
35
|
-
ivname = "@#{name}".intern
|
36
|
-
if iv_list.include?(ivname) and
|
37
|
-
value = instance_variable_get(ivname)
|
38
|
-
ssl_parameters[name] = value
|
39
|
-
end
|
40
|
-
end
|
41
|
-
unless @ssl_context then
|
42
|
-
@ssl_context = OpenSSL::SSL::SSLContext.new
|
43
|
-
@ssl_context.set_params(ssl_parameters)
|
44
|
-
end
|
45
|
-
s = OpenSSL::SSL::SSLSocket.new(s, @ssl_context)
|
46
|
-
s.sync_close = true
|
47
|
-
end
|
48
|
-
@socket = Net::BufferedIO.new(s)
|
49
|
-
@socket.read_timeout = @read_timeout
|
50
|
-
@socket.continue_timeout = @continue_timeout if
|
51
|
-
@socket.respond_to? :continue_timeout
|
52
|
-
@socket.debug_output = @debug_output
|
53
|
-
if use_ssl?
|
54
|
-
begin
|
55
|
-
if proxy?
|
56
|
-
@socket.writeline sprintf('CONNECT %s:%s HTTP/%s',
|
57
|
-
@address, @port, HTTPVersion)
|
58
|
-
@socket.writeline "Host: #{@address}:#{@port}"
|
59
|
-
if proxy_user
|
60
|
-
credential = ["#{proxy_user}:#{proxy_pass}"].pack('m')
|
61
|
-
credential.delete!("\r\n")
|
62
|
-
@socket.writeline "Proxy-Authorization: Basic #{credential}"
|
63
|
-
end
|
64
|
-
@socket.writeline ''
|
65
|
-
Net::HTTPResponse.read_new(@socket).value
|
66
|
-
end
|
67
|
-
s.session = @ssl_session if @ssl_session
|
68
|
-
# Server Name Indication (SNI) RFC 3546
|
69
|
-
s.hostname = @address if s.respond_to? :hostname=
|
70
|
-
timeout(@open_timeout) { s.connect }
|
71
|
-
if @ssl_context.verify_mode != OpenSSL::SSL::VERIFY_NONE
|
72
|
-
s.post_connection_check(@address)
|
73
|
-
end
|
74
|
-
@ssl_session = s.session
|
75
|
-
rescue => exception
|
76
|
-
D "Conn close because of connect error #{exception}"
|
77
|
-
@socket.close if @socket and not @socket.closed?
|
78
|
-
raise exception
|
79
|
-
end
|
80
|
-
end
|
81
|
-
on_connect
|
82
|
-
end if RUBY_VERSION > '1.9'
|
83
|
-
|
84
|
-
##
|
85
|
-
# From ruby_1_8_7 branch r29865 including a modified
|
86
|
-
# http://redmine.ruby-lang.org/issues/5341
|
87
|
-
|
88
|
-
def connect # :nodoc:
|
89
|
-
D "opening connection to #{conn_address()}..."
|
90
|
-
s = timeout(@open_timeout) { TCPSocket.open(conn_address(), conn_port()) }
|
91
|
-
D "opened"
|
92
|
-
if use_ssl?
|
93
|
-
unless @ssl_context.verify_mode
|
94
|
-
warn "warning: peer certificate won't be verified in this SSL session"
|
95
|
-
@ssl_context.verify_mode = OpenSSL::SSL::VERIFY_NONE
|
96
|
-
end
|
97
|
-
s = OpenSSL::SSL::SSLSocket.new(s, @ssl_context)
|
98
|
-
s.sync_close = true
|
99
|
-
end
|
100
|
-
@socket = Net::BufferedIO.new(s)
|
101
|
-
@socket.read_timeout = @read_timeout
|
102
|
-
@socket.debug_output = @debug_output
|
103
|
-
if use_ssl?
|
104
|
-
if proxy?
|
105
|
-
@socket.writeline sprintf('CONNECT %s:%s HTTP/%s',
|
106
|
-
@address, @port, HTTPVersion)
|
107
|
-
@socket.writeline "Host: #{@address}:#{@port}"
|
108
|
-
if proxy_user
|
109
|
-
credential = ["#{proxy_user}:#{proxy_pass}"].pack('m')
|
110
|
-
credential.delete!("\r\n")
|
111
|
-
@socket.writeline "Proxy-Authorization: Basic #{credential}"
|
112
|
-
end
|
113
|
-
@socket.writeline ''
|
114
|
-
Net::HTTPResponse.read_new(@socket).value
|
115
|
-
end
|
116
|
-
s.session = @ssl_session if @ssl_session
|
117
|
-
s.connect
|
118
|
-
if @ssl_context.verify_mode != OpenSSL::SSL::VERIFY_NONE
|
119
|
-
s.post_connection_check(@address)
|
120
|
-
end
|
121
|
-
@ssl_session = s.session
|
122
|
-
end
|
123
|
-
on_connect
|
124
|
-
end if RUBY_VERSION < '1.9'
|
125
|
-
|
126
|
-
private :connect
|
127
|
-
|
128
|
-
end
|
129
|
-
|
@@ -1,12 +0,0 @@
|
|
1
|
-
class IO #:nodoc:
|
2
|
-
class << self
|
3
|
-
unless method_defined? :binread
|
4
|
-
def binread(file, *args)
|
5
|
-
raise ArgumentError, "wrong number of arguments (#{1 + args.size} for 1..3)" unless args.size < 3
|
6
|
-
File.open(file, "rb") do |f|
|
7
|
-
f.read(*args)
|
8
|
-
end
|
9
|
-
end
|
10
|
-
end
|
11
|
-
end
|
12
|
-
end
|
@@ -1,129 +0,0 @@
|
|
1
|
-
class Bundler::Thor
|
2
|
-
module CoreExt
|
3
|
-
class OrderedHash < ::Hash
|
4
|
-
if RUBY_VERSION < "1.9"
|
5
|
-
def initialize(*args, &block)
|
6
|
-
super
|
7
|
-
@keys = []
|
8
|
-
end
|
9
|
-
|
10
|
-
def initialize_copy(other)
|
11
|
-
super
|
12
|
-
# make a deep copy of keys
|
13
|
-
@keys = other.keys
|
14
|
-
end
|
15
|
-
|
16
|
-
def []=(key, value)
|
17
|
-
@keys << key unless key?(key)
|
18
|
-
super
|
19
|
-
end
|
20
|
-
|
21
|
-
def delete(key)
|
22
|
-
if key? key
|
23
|
-
index = @keys.index(key)
|
24
|
-
@keys.delete_at index
|
25
|
-
end
|
26
|
-
super
|
27
|
-
end
|
28
|
-
|
29
|
-
def delete_if
|
30
|
-
super
|
31
|
-
sync_keys!
|
32
|
-
self
|
33
|
-
end
|
34
|
-
|
35
|
-
alias_method :reject!, :delete_if
|
36
|
-
|
37
|
-
def reject(&block)
|
38
|
-
dup.reject!(&block)
|
39
|
-
end
|
40
|
-
|
41
|
-
def keys
|
42
|
-
@keys.dup
|
43
|
-
end
|
44
|
-
|
45
|
-
def values
|
46
|
-
@keys.map { |key| self[key] }
|
47
|
-
end
|
48
|
-
|
49
|
-
def to_hash
|
50
|
-
self
|
51
|
-
end
|
52
|
-
|
53
|
-
def to_a
|
54
|
-
@keys.map { |key| [key, self[key]] }
|
55
|
-
end
|
56
|
-
|
57
|
-
def each_key
|
58
|
-
return to_enum(:each_key) unless block_given?
|
59
|
-
@keys.each { |key| yield(key) }
|
60
|
-
self
|
61
|
-
end
|
62
|
-
|
63
|
-
def each_value
|
64
|
-
return to_enum(:each_value) unless block_given?
|
65
|
-
@keys.each { |key| yield(self[key]) }
|
66
|
-
self
|
67
|
-
end
|
68
|
-
|
69
|
-
def each
|
70
|
-
return to_enum(:each) unless block_given?
|
71
|
-
@keys.each { |key| yield([key, self[key]]) }
|
72
|
-
self
|
73
|
-
end
|
74
|
-
|
75
|
-
def each_pair
|
76
|
-
return to_enum(:each_pair) unless block_given?
|
77
|
-
@keys.each { |key| yield(key, self[key]) }
|
78
|
-
self
|
79
|
-
end
|
80
|
-
|
81
|
-
alias_method :select, :find_all
|
82
|
-
|
83
|
-
def clear
|
84
|
-
super
|
85
|
-
@keys.clear
|
86
|
-
self
|
87
|
-
end
|
88
|
-
|
89
|
-
def shift
|
90
|
-
k = @keys.first
|
91
|
-
v = delete(k)
|
92
|
-
[k, v]
|
93
|
-
end
|
94
|
-
|
95
|
-
def merge!(other_hash)
|
96
|
-
if block_given?
|
97
|
-
other_hash.each { |k, v| self[k] = key?(k) ? yield(k, self[k], v) : v }
|
98
|
-
else
|
99
|
-
other_hash.each { |k, v| self[k] = v }
|
100
|
-
end
|
101
|
-
self
|
102
|
-
end
|
103
|
-
|
104
|
-
alias_method :update, :merge!
|
105
|
-
|
106
|
-
def merge(other_hash, &block)
|
107
|
-
dup.merge!(other_hash, &block)
|
108
|
-
end
|
109
|
-
|
110
|
-
# When replacing with another hash, the initial order of our keys must come from the other hash -ordered or not.
|
111
|
-
def replace(other)
|
112
|
-
super
|
113
|
-
@keys = other.keys
|
114
|
-
self
|
115
|
-
end
|
116
|
-
|
117
|
-
def inspect
|
118
|
-
"#<#{self.class} #{super}>"
|
119
|
-
end
|
120
|
-
|
121
|
-
private
|
122
|
-
|
123
|
-
def sync_keys!
|
124
|
-
@keys.delete_if { |k| !key?(k) }
|
125
|
-
end
|
126
|
-
end
|
127
|
-
end
|
128
|
-
end
|
129
|
-
end
|
data/man/bundle-package.1
DELETED
@@ -1,55 +0,0 @@
|
|
1
|
-
.\" generated with Ronn/v0.7.3
|
2
|
-
.\" http://github.com/rtomayko/ronn/tree/0.7.3
|
3
|
-
.
|
4
|
-
.TH "BUNDLE\-PACKAGE" "1" "December 2018" "" ""
|
5
|
-
.
|
6
|
-
.SH "NAME"
|
7
|
-
\fBbundle\-package\fR \- Package your needed \fB\.gem\fR files into your application
|
8
|
-
.
|
9
|
-
.SH "SYNOPSIS"
|
10
|
-
\fBbundle package\fR
|
11
|
-
.
|
12
|
-
.SH "DESCRIPTION"
|
13
|
-
Copy all of the \fB\.gem\fR files needed to run the application into the \fBvendor/cache\fR directory\. In the future, when running [bundle install(1)][bundle\-install], use the gems in the cache in preference to the ones on \fBrubygems\.org\fR\.
|
14
|
-
.
|
15
|
-
.SH "GIT AND PATH GEMS"
|
16
|
-
Since Bundler 1\.2, the \fBbundle package\fR command can also package \fB:git\fR and \fB:path\fR dependencies besides \.gem files\. This needs to be explicitly enabled via the \fB\-\-all\fR option\. Once used, the \fB\-\-all\fR option will be remembered\.
|
17
|
-
.
|
18
|
-
.SH "SUPPORT FOR MULTIPLE PLATFORMS"
|
19
|
-
When using gems that have different packages for different platforms, Bundler 1\.8 and newer support caching of gems for other platforms where the Gemfile has been resolved (i\.e\. present in the lockfile) in \fBvendor/cache\fR\. This needs to be enabled via the \fB\-\-all\-platforms\fR option\. This setting will be remembered in your local bundler configuration\.
|
20
|
-
.
|
21
|
-
.SH "REMOTE FETCHING"
|
22
|
-
By default, if you run \fBbundle install(1)\fR](bundle\-install\.1\.html) after running bundle package(1) \fIbundle\-package\.1\.html\fR, bundler will still connect to \fBrubygems\.org\fR to check whether a platform\-specific gem exists for any of the gems in \fBvendor/cache\fR\.
|
23
|
-
.
|
24
|
-
.P
|
25
|
-
For instance, consider this Gemfile(5):
|
26
|
-
.
|
27
|
-
.IP "" 4
|
28
|
-
.
|
29
|
-
.nf
|
30
|
-
|
31
|
-
source "https://rubygems\.org"
|
32
|
-
|
33
|
-
gem "nokogiri"
|
34
|
-
.
|
35
|
-
.fi
|
36
|
-
.
|
37
|
-
.IP "" 0
|
38
|
-
.
|
39
|
-
.P
|
40
|
-
If you run \fBbundle package\fR under C Ruby, bundler will retrieve the version of \fBnokogiri\fR for the \fB"ruby"\fR platform\. If you deploy to JRuby and run \fBbundle install\fR, bundler is forced to check to see whether a \fB"java"\fR platformed \fBnokogiri\fR exists\.
|
41
|
-
.
|
42
|
-
.P
|
43
|
-
Even though the \fBnokogiri\fR gem for the Ruby platform is \fItechnically\fR acceptable on JRuby, it has a C extension that does not run on JRuby\. As a result, bundler will, by default, still connect to \fBrubygems\.org\fR to check whether it has a version of one of your gems more specific to your platform\.
|
44
|
-
.
|
45
|
-
.P
|
46
|
-
This problem is also not limited to the \fB"java"\fR platform\. A similar (common) problem can happen when developing on Windows and deploying to Linux, or even when developing on OSX and deploying to Linux\.
|
47
|
-
.
|
48
|
-
.P
|
49
|
-
If you know for sure that the gems packaged in \fBvendor/cache\fR are appropriate for the platform you are on, you can run \fBbundle install \-\-local\fR to skip checking for more appropriate gems, and use the ones in \fBvendor/cache\fR\.
|
50
|
-
.
|
51
|
-
.P
|
52
|
-
One way to be sure that you have the right platformed versions of all your gems is to run \fBbundle package\fR on an identical machine and check in the gems\. For instance, you can run \fBbundle package\fR on an identical staging box during your staging process, and check in the \fBvendor/cache\fR before deploying to production\.
|
53
|
-
.
|
54
|
-
.P
|
55
|
-
By default, bundle package(1) \fIbundle\-package\.1\.html\fR fetches and also installs the gems to the default location\. To package the dependencies to \fBvendor/cache\fR without installing them to the local install location, you can run \fBbundle package \-\-no\-install\fR\.
|
data/man/bundle-package.1.txt
DELETED
@@ -1,79 +0,0 @@
|
|
1
|
-
BUNDLE-PACKAGE(1) BUNDLE-PACKAGE(1)
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
NAME
|
6
|
-
bundle-package - Package your needed .gem files into your application
|
7
|
-
|
8
|
-
SYNOPSIS
|
9
|
-
bundle package
|
10
|
-
|
11
|
-
DESCRIPTION
|
12
|
-
Copy all of the .gem files needed to run the application into the ven-
|
13
|
-
dor/cache directory. In the future, when running [bundle
|
14
|
-
install(1)][bundle-install], use the gems in the cache in preference to
|
15
|
-
the ones on rubygems.org.
|
16
|
-
|
17
|
-
GIT AND PATH GEMS
|
18
|
-
Since Bundler 1.2, the bundle package command can also package :git and
|
19
|
-
:path dependencies besides .gem files. This needs to be explicitly
|
20
|
-
enabled via the --all option. Once used, the --all option will be
|
21
|
-
remembered.
|
22
|
-
|
23
|
-
SUPPORT FOR MULTIPLE PLATFORMS
|
24
|
-
When using gems that have different packages for different platforms,
|
25
|
-
Bundler 1.8 and newer support caching of gems for other platforms where
|
26
|
-
the Gemfile has been resolved (i.e. present in the lockfile) in ven-
|
27
|
-
dor/cache. This needs to be enabled via the --all-platforms option.
|
28
|
-
This setting will be remembered in your local bundler configuration.
|
29
|
-
|
30
|
-
REMOTE FETCHING
|
31
|
-
By default, if you run bundle install(1)](bundle-install.1.html) after
|
32
|
-
running bundle package(1) bundle-package.1.html, bundler will still
|
33
|
-
connect to rubygems.org to check whether a platform-specific gem exists
|
34
|
-
for any of the gems in vendor/cache.
|
35
|
-
|
36
|
-
For instance, consider this Gemfile(5):
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
source "https://rubygems.org"
|
41
|
-
|
42
|
-
gem "nokogiri"
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
If you run bundle package under C Ruby, bundler will retrieve the ver-
|
47
|
-
sion of nokogiri for the "ruby" platform. If you deploy to JRuby and
|
48
|
-
run bundle install, bundler is forced to check to see whether a "java"
|
49
|
-
platformed nokogiri exists.
|
50
|
-
|
51
|
-
Even though the nokogiri gem for the Ruby platform is technically
|
52
|
-
acceptable on JRuby, it has a C extension that does not run on JRuby.
|
53
|
-
As a result, bundler will, by default, still connect to rubygems.org to
|
54
|
-
check whether it has a version of one of your gems more specific to
|
55
|
-
your platform.
|
56
|
-
|
57
|
-
This problem is also not limited to the "java" platform. A similar
|
58
|
-
(common) problem can happen when developing on Windows and deploying to
|
59
|
-
Linux, or even when developing on OSX and deploying to Linux.
|
60
|
-
|
61
|
-
If you know for sure that the gems packaged in vendor/cache are appro-
|
62
|
-
priate for the platform you are on, you can run bundle install --local
|
63
|
-
to skip checking for more appropriate gems, and use the ones in ven-
|
64
|
-
dor/cache.
|
65
|
-
|
66
|
-
One way to be sure that you have the right platformed versions of all
|
67
|
-
your gems is to run bundle package on an identical machine and check in
|
68
|
-
the gems. For instance, you can run bundle package on an identical
|
69
|
-
staging box during your staging process, and check in the vendor/cache
|
70
|
-
before deploying to production.
|
71
|
-
|
72
|
-
By default, bundle package(1) bundle-package.1.html fetches and also
|
73
|
-
installs the gems to the default location. To package the dependencies
|
74
|
-
to vendor/cache without installing them to the local install location,
|
75
|
-
you can run bundle package --no-install.
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
December 2018 BUNDLE-PACKAGE(1)
|