bundler 2.1.0.pre.3 → 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 +40 -3
- data/lib/bundler.rb +0 -1
- data/lib/bundler/build_metadata.rb +2 -2
- data/lib/bundler/cli.rb +1 -1
- data/lib/bundler/cli/config.rb +1 -1
- data/lib/bundler/cli/update.rb +1 -1
- data/lib/bundler/feature_flag.rb +1 -1
- data/lib/bundler/fetcher.rb +2 -2
- data/lib/bundler/fetcher/downloader.rb +1 -1
- data/lib/bundler/fetcher/index.rb +1 -1
- data/lib/bundler/friendly_errors.rb +1 -1
- data/lib/bundler/gem_helper.rb +12 -10
- data/lib/bundler/inline.rb +36 -31
- data/lib/bundler/lazy_specification.rb +0 -1
- data/lib/bundler/mirror.rb +3 -3
- data/lib/bundler/plugin/api/source.rb +2 -4
- data/lib/bundler/remote_specification.rb +0 -2
- data/lib/bundler/rubygems_integration.rb +15 -13
- data/lib/bundler/settings.rb +7 -4
- data/lib/bundler/setup.rb +5 -0
- data/lib/bundler/source/git.rb +5 -5
- data/lib/bundler/source/git/git_proxy.rb +3 -2
- data/lib/bundler/source/rubygems.rb +3 -3
- data/lib/bundler/source/rubygems/remote.rb +1 -1
- data/lib/bundler/uri_credentials_filter.rb +7 -3
- data/lib/bundler/vendor/fileutils/lib/fileutils.rb +3 -3
- data/lib/bundler/vendor/net-http-persistent/lib/net/http/persistent.rb +26 -26
- data/lib/bundler/vendor/thor/lib/thor.rb +7 -0
- data/lib/bundler/vendor/thor/lib/thor/actions.rb +10 -6
- data/lib/bundler/vendor/thor/lib/thor/base.rb +29 -19
- data/lib/bundler/vendor/thor/lib/thor/nested_context.rb +29 -0
- data/lib/bundler/vendor/thor/lib/thor/parser/arguments.rb +1 -1
- data/lib/bundler/vendor/thor/lib/thor/parser/option.rb +13 -2
- data/lib/bundler/vendor/thor/lib/thor/runner.rb +8 -9
- data/lib/bundler/vendor/thor/lib/thor/shell/basic.rb +10 -1
- data/lib/bundler/vendor/thor/lib/thor/shell/html.rb +2 -2
- data/lib/bundler/vendor/thor/lib/thor/util.rb +17 -1
- 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_uri.rb +4 -0
- data/lib/bundler/version.rb +1 -1
- data/man/bundle-add.1 +1 -1
- data/man/bundle-add.1.txt +1 -1
- data/man/bundle-binstubs.1 +1 -1
- data/man/bundle-binstubs.1.txt +1 -1
- data/man/bundle-cache.1 +1 -1
- data/man/bundle-cache.1.txt +1 -1
- data/man/bundle-check.1 +1 -1
- data/man/bundle-check.1.txt +1 -1
- data/man/bundle-clean.1 +1 -1
- data/man/bundle-clean.1.txt +1 -1
- data/man/bundle-config.1 +1 -1
- data/man/bundle-config.1.txt +1 -1
- data/man/bundle-doctor.1 +1 -1
- data/man/bundle-doctor.1.txt +1 -1
- data/man/bundle-exec.1 +1 -1
- data/man/bundle-exec.1.txt +1 -1
- data/man/bundle-gem.1 +1 -1
- data/man/bundle-gem.1.txt +1 -1
- data/man/bundle-info.1 +1 -1
- data/man/bundle-info.1.txt +1 -1
- data/man/bundle-init.1 +1 -1
- data/man/bundle-init.1.txt +1 -1
- data/man/bundle-inject.1 +1 -1
- data/man/bundle-inject.1.txt +1 -1
- data/man/bundle-install.1 +1 -1
- data/man/bundle-install.1.txt +1 -1
- 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 +1 -1
- 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 +1 -1
- data/man/bundle-update.1.txt +1 -1
- data/man/bundle-viz.1 +1 -1
- data/man/bundle-viz.1.txt +1 -1
- data/man/bundle.1 +1 -1
- data/man/bundle.1.txt +1 -1
- data/man/gemfile.5 +1 -1
- data/man/gemfile.5.txt +1 -1
- metadata +18 -6
- data/lib/bundler/gem_remote_fetcher.rb +0 -43
- data/lib/bundler/vendor/fileutils/lib/fileutils/version.rb +0 -5
- data/lib/bundler/vendor/thor/lib/thor/core_ext/io_binary_read.rb +0 -12
data/man/bundle-pristine.1
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
.\" generated with Ronn/v0.7.3
|
2
2
|
.\" http://github.com/rtomayko/ronn/tree/0.7.3
|
3
3
|
.
|
4
|
-
.TH "BUNDLE\-PRISTINE" "1" "
|
4
|
+
.TH "BUNDLE\-PRISTINE" "1" "December 2019" "" ""
|
5
5
|
.
|
6
6
|
.SH "NAME"
|
7
7
|
\fBbundle\-pristine\fR \- Restores installed gems to their pristine condition
|
data/man/bundle-pristine.1.txt
CHANGED
data/man/bundle-remove.1
CHANGED
data/man/bundle-remove.1.txt
CHANGED
data/man/bundle-show.1
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
.\" generated with Ronn/v0.7.3
|
2
2
|
.\" http://github.com/rtomayko/ronn/tree/0.7.3
|
3
3
|
.
|
4
|
-
.TH "BUNDLE\-SHOW" "1" "
|
4
|
+
.TH "BUNDLE\-SHOW" "1" "December 2019" "" ""
|
5
5
|
.
|
6
6
|
.SH "NAME"
|
7
7
|
\fBbundle\-show\fR \- Shows all the gems in your bundle, or the path to a gem
|
data/man/bundle-show.1.txt
CHANGED
data/man/bundle-update.1
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
.\" generated with Ronn/v0.7.3
|
2
2
|
.\" http://github.com/rtomayko/ronn/tree/0.7.3
|
3
3
|
.
|
4
|
-
.TH "BUNDLE\-UPDATE" "1" "
|
4
|
+
.TH "BUNDLE\-UPDATE" "1" "December 2019" "" ""
|
5
5
|
.
|
6
6
|
.SH "NAME"
|
7
7
|
\fBbundle\-update\fR \- Update your gems to the latest available versions
|
data/man/bundle-update.1.txt
CHANGED
data/man/bundle-viz.1
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
.\" generated with Ronn/v0.7.3
|
2
2
|
.\" http://github.com/rtomayko/ronn/tree/0.7.3
|
3
3
|
.
|
4
|
-
.TH "BUNDLE\-VIZ" "1" "
|
4
|
+
.TH "BUNDLE\-VIZ" "1" "December 2019" "" ""
|
5
5
|
.
|
6
6
|
.SH "NAME"
|
7
7
|
\fBbundle\-viz\fR \- Generates a visual dependency graph for your Gemfile
|
data/man/bundle-viz.1.txt
CHANGED
data/man/bundle.1
CHANGED
data/man/bundle.1.txt
CHANGED
data/man/gemfile.5
CHANGED
data/man/gemfile.5.txt
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bundler
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1.
|
4
|
+
version: 2.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- André Arko
|
@@ -22,7 +22,7 @@ authors:
|
|
22
22
|
autorequire:
|
23
23
|
bindir: exe
|
24
24
|
cert_chain: []
|
25
|
-
date: 2019-
|
25
|
+
date: 2019-12-20 00:00:00.000000000 Z
|
26
26
|
dependencies: []
|
27
27
|
description: Bundler manages an application's dependencies through its entire life,
|
28
28
|
across many machines, systematically and repeatably
|
@@ -96,7 +96,6 @@ files:
|
|
96
96
|
- lib/bundler/friendly_errors.rb
|
97
97
|
- lib/bundler/gem_helper.rb
|
98
98
|
- lib/bundler/gem_helpers.rb
|
99
|
-
- lib/bundler/gem_remote_fetcher.rb
|
100
99
|
- lib/bundler/gem_tasks.rb
|
101
100
|
- lib/bundler/gem_version_promoter.rb
|
102
101
|
- lib/bundler/gemdeps.rb
|
@@ -189,7 +188,6 @@ files:
|
|
189
188
|
- lib/bundler/vendor/connection_pool/lib/connection_pool/timed_stack.rb
|
190
189
|
- lib/bundler/vendor/connection_pool/lib/connection_pool/version.rb
|
191
190
|
- lib/bundler/vendor/fileutils/lib/fileutils.rb
|
192
|
-
- lib/bundler/vendor/fileutils/lib/fileutils/version.rb
|
193
191
|
- lib/bundler/vendor/molinillo/lib/molinillo.rb
|
194
192
|
- lib/bundler/vendor/molinillo/lib/molinillo/compatibility.rb
|
195
193
|
- lib/bundler/vendor/molinillo/lib/molinillo/delegates/resolution_state.rb
|
@@ -226,13 +224,13 @@ files:
|
|
226
224
|
- lib/bundler/vendor/thor/lib/thor/base.rb
|
227
225
|
- lib/bundler/vendor/thor/lib/thor/command.rb
|
228
226
|
- lib/bundler/vendor/thor/lib/thor/core_ext/hash_with_indifferent_access.rb
|
229
|
-
- lib/bundler/vendor/thor/lib/thor/core_ext/io_binary_read.rb
|
230
227
|
- lib/bundler/vendor/thor/lib/thor/error.rb
|
231
228
|
- lib/bundler/vendor/thor/lib/thor/group.rb
|
232
229
|
- lib/bundler/vendor/thor/lib/thor/invocation.rb
|
233
230
|
- lib/bundler/vendor/thor/lib/thor/line_editor.rb
|
234
231
|
- lib/bundler/vendor/thor/lib/thor/line_editor/basic.rb
|
235
232
|
- lib/bundler/vendor/thor/lib/thor/line_editor/readline.rb
|
233
|
+
- lib/bundler/vendor/thor/lib/thor/nested_context.rb
|
236
234
|
- lib/bundler/vendor/thor/lib/thor/parser.rb
|
237
235
|
- lib/bundler/vendor/thor/lib/thor/parser/argument.rb
|
238
236
|
- lib/bundler/vendor/thor/lib/thor/parser/arguments.rb
|
@@ -246,10 +244,24 @@ files:
|
|
246
244
|
- lib/bundler/vendor/thor/lib/thor/shell/html.rb
|
247
245
|
- lib/bundler/vendor/thor/lib/thor/util.rb
|
248
246
|
- lib/bundler/vendor/thor/lib/thor/version.rb
|
247
|
+
- lib/bundler/vendor/uri/lib/uri.rb
|
248
|
+
- lib/bundler/vendor/uri/lib/uri/common.rb
|
249
|
+
- lib/bundler/vendor/uri/lib/uri/file.rb
|
250
|
+
- lib/bundler/vendor/uri/lib/uri/ftp.rb
|
251
|
+
- lib/bundler/vendor/uri/lib/uri/generic.rb
|
252
|
+
- lib/bundler/vendor/uri/lib/uri/http.rb
|
253
|
+
- lib/bundler/vendor/uri/lib/uri/https.rb
|
254
|
+
- lib/bundler/vendor/uri/lib/uri/ldap.rb
|
255
|
+
- lib/bundler/vendor/uri/lib/uri/ldaps.rb
|
256
|
+
- lib/bundler/vendor/uri/lib/uri/mailto.rb
|
257
|
+
- lib/bundler/vendor/uri/lib/uri/rfc2396_parser.rb
|
258
|
+
- lib/bundler/vendor/uri/lib/uri/rfc3986_parser.rb
|
259
|
+
- lib/bundler/vendor/uri/lib/uri/version.rb
|
249
260
|
- lib/bundler/vendored_fileutils.rb
|
250
261
|
- lib/bundler/vendored_molinillo.rb
|
251
262
|
- lib/bundler/vendored_persistent.rb
|
252
263
|
- lib/bundler/vendored_thor.rb
|
264
|
+
- lib/bundler/vendored_uri.rb
|
253
265
|
- lib/bundler/version.rb
|
254
266
|
- lib/bundler/version_ranges.rb
|
255
267
|
- lib/bundler/vlad.rb
|
@@ -354,7 +366,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
354
366
|
- !ruby/object:Gem::Version
|
355
367
|
version: 2.5.2
|
356
368
|
requirements: []
|
357
|
-
rubygems_version: 3.
|
369
|
+
rubygems_version: 3.1.1
|
358
370
|
signing_key:
|
359
371
|
specification_version: 4
|
360
372
|
summary: The best way to manage your application's dependencies
|
@@ -1,43 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
require "rubygems/remote_fetcher"
|
4
|
-
|
5
|
-
module Bundler
|
6
|
-
# Adds support for setting custom HTTP headers when fetching gems from the
|
7
|
-
# server.
|
8
|
-
#
|
9
|
-
# TODO: Get rid of this when and if gemstash only supports RubyGems versions
|
10
|
-
# that contain https://github.com/rubygems/rubygems/commit/3db265cc20b2f813.
|
11
|
-
class GemRemoteFetcher < Gem::RemoteFetcher
|
12
|
-
attr_accessor :headers
|
13
|
-
|
14
|
-
# Extracted from RubyGems 2.4.
|
15
|
-
def fetch_http(uri, last_modified = nil, head = false, depth = 0)
|
16
|
-
fetch_type = head ? Net::HTTP::Head : Net::HTTP::Get
|
17
|
-
# beginning of change
|
18
|
-
response = request uri, fetch_type, last_modified do |req|
|
19
|
-
headers.each {|k, v| req.add_field(k, v) } if headers
|
20
|
-
end
|
21
|
-
# end of change
|
22
|
-
|
23
|
-
case response
|
24
|
-
when Net::HTTPOK, Net::HTTPNotModified then
|
25
|
-
response.uri = uri if response.respond_to? :uri
|
26
|
-
head ? response : response.body
|
27
|
-
when Net::HTTPMovedPermanently, Net::HTTPFound, Net::HTTPSeeOther,
|
28
|
-
Net::HTTPTemporaryRedirect then
|
29
|
-
raise FetchError.new("too many redirects", uri) if depth > 10
|
30
|
-
|
31
|
-
location = URI.parse response["Location"]
|
32
|
-
|
33
|
-
if https?(uri) && !https?(location)
|
34
|
-
raise FetchError.new("redirecting to non-https resource: #{location}", uri)
|
35
|
-
end
|
36
|
-
|
37
|
-
fetch_http(location, last_modified, head, depth + 1)
|
38
|
-
else
|
39
|
-
raise FetchError.new("bad response #{response.message} #{response.code}", uri)
|
40
|
-
end
|
41
|
-
end
|
42
|
-
end
|
43
|
-
end
|
@@ -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
|