bundler 2.1.0.pre.3 → 2.1.0

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.

Files changed (108) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +27 -3
  3. data/lib/bundler.rb +0 -1
  4. data/lib/bundler/build_metadata.rb +2 -2
  5. data/lib/bundler/cli.rb +1 -1
  6. data/lib/bundler/cli/config.rb +1 -1
  7. data/lib/bundler/cli/exec.rb +12 -3
  8. data/lib/bundler/cli/update.rb +1 -1
  9. data/lib/bundler/feature_flag.rb +1 -1
  10. data/lib/bundler/fetcher.rb +2 -2
  11. data/lib/bundler/fetcher/downloader.rb +1 -1
  12. data/lib/bundler/fetcher/index.rb +1 -1
  13. data/lib/bundler/friendly_errors.rb +1 -1
  14. data/lib/bundler/gem_helper.rb +12 -10
  15. data/lib/bundler/inline.rb +36 -31
  16. data/lib/bundler/lazy_specification.rb +0 -1
  17. data/lib/bundler/mirror.rb +3 -3
  18. data/lib/bundler/plugin/api/source.rb +2 -4
  19. data/lib/bundler/remote_specification.rb +0 -2
  20. data/lib/bundler/rubygems_integration.rb +5 -13
  21. data/lib/bundler/settings.rb +7 -4
  22. data/lib/bundler/source/git.rb +5 -5
  23. data/lib/bundler/source/git/git_proxy.rb +3 -2
  24. data/lib/bundler/source/rubygems.rb +3 -3
  25. data/lib/bundler/source/rubygems/remote.rb +1 -1
  26. data/lib/bundler/uri_credentials_filter.rb +7 -3
  27. data/lib/bundler/vendor/fileutils/lib/fileutils.rb +3 -3
  28. data/lib/bundler/vendor/net-http-persistent/lib/net/http/persistent.rb +26 -26
  29. data/lib/bundler/vendor/thor/lib/thor.rb +7 -0
  30. data/lib/bundler/vendor/thor/lib/thor/actions.rb +10 -6
  31. data/lib/bundler/vendor/thor/lib/thor/base.rb +29 -19
  32. data/lib/bundler/vendor/thor/lib/thor/nested_context.rb +29 -0
  33. data/lib/bundler/vendor/thor/lib/thor/parser/arguments.rb +1 -1
  34. data/lib/bundler/vendor/thor/lib/thor/parser/option.rb +13 -2
  35. data/lib/bundler/vendor/thor/lib/thor/runner.rb +8 -9
  36. data/lib/bundler/vendor/thor/lib/thor/shell/basic.rb +10 -1
  37. data/lib/bundler/vendor/thor/lib/thor/shell/html.rb +2 -2
  38. data/lib/bundler/vendor/thor/lib/thor/util.rb +17 -1
  39. data/lib/bundler/vendor/thor/lib/thor/version.rb +1 -1
  40. data/lib/bundler/vendor/uri/lib/uri.rb +104 -0
  41. data/lib/bundler/vendor/uri/lib/uri/common.rb +744 -0
  42. data/lib/bundler/vendor/uri/lib/uri/file.rb +94 -0
  43. data/lib/bundler/vendor/uri/lib/uri/ftp.rb +267 -0
  44. data/lib/bundler/vendor/uri/lib/uri/generic.rb +1568 -0
  45. data/lib/bundler/vendor/uri/lib/uri/http.rb +88 -0
  46. data/lib/bundler/vendor/uri/lib/uri/https.rb +23 -0
  47. data/lib/bundler/vendor/uri/lib/uri/ldap.rb +261 -0
  48. data/lib/bundler/vendor/uri/lib/uri/ldaps.rb +21 -0
  49. data/lib/bundler/vendor/uri/lib/uri/mailto.rb +294 -0
  50. data/lib/bundler/vendor/uri/lib/uri/rfc2396_parser.rb +546 -0
  51. data/lib/bundler/vendor/uri/lib/uri/rfc3986_parser.rb +125 -0
  52. data/lib/bundler/vendor/uri/lib/uri/version.rb +6 -0
  53. data/lib/bundler/vendored_uri.rb +4 -0
  54. data/lib/bundler/version.rb +1 -1
  55. data/man/bundle-add.1 +1 -1
  56. data/man/bundle-add.1.txt +1 -1
  57. data/man/bundle-binstubs.1 +1 -1
  58. data/man/bundle-binstubs.1.txt +1 -1
  59. data/man/bundle-cache.1 +1 -1
  60. data/man/bundle-cache.1.txt +1 -1
  61. data/man/bundle-check.1 +1 -1
  62. data/man/bundle-check.1.txt +1 -1
  63. data/man/bundle-clean.1 +1 -1
  64. data/man/bundle-clean.1.txt +1 -1
  65. data/man/bundle-config.1 +1 -1
  66. data/man/bundle-config.1.txt +1 -1
  67. data/man/bundle-doctor.1 +1 -1
  68. data/man/bundle-doctor.1.txt +1 -1
  69. data/man/bundle-exec.1 +1 -1
  70. data/man/bundle-exec.1.txt +1 -1
  71. data/man/bundle-gem.1 +1 -1
  72. data/man/bundle-gem.1.txt +1 -1
  73. data/man/bundle-info.1 +1 -1
  74. data/man/bundle-info.1.txt +1 -1
  75. data/man/bundle-init.1 +1 -1
  76. data/man/bundle-init.1.txt +1 -1
  77. data/man/bundle-inject.1 +1 -1
  78. data/man/bundle-inject.1.txt +1 -1
  79. data/man/bundle-install.1 +1 -1
  80. data/man/bundle-install.1.txt +1 -1
  81. data/man/bundle-list.1 +1 -1
  82. data/man/bundle-list.1.txt +1 -1
  83. data/man/bundle-lock.1 +1 -1
  84. data/man/bundle-lock.1.txt +1 -1
  85. data/man/bundle-open.1 +1 -1
  86. data/man/bundle-open.1.txt +1 -1
  87. data/man/bundle-outdated.1 +1 -1
  88. data/man/bundle-outdated.1.txt +1 -1
  89. data/man/bundle-platform.1 +1 -1
  90. data/man/bundle-platform.1.txt +1 -1
  91. data/man/bundle-pristine.1 +1 -1
  92. data/man/bundle-pristine.1.txt +1 -1
  93. data/man/bundle-remove.1 +1 -1
  94. data/man/bundle-remove.1.txt +1 -1
  95. data/man/bundle-show.1 +1 -1
  96. data/man/bundle-show.1.txt +1 -1
  97. data/man/bundle-update.1 +1 -1
  98. data/man/bundle-update.1.txt +1 -1
  99. data/man/bundle-viz.1 +1 -1
  100. data/man/bundle-viz.1.txt +1 -1
  101. data/man/bundle.1 +1 -1
  102. data/man/bundle.1.txt +1 -1
  103. data/man/gemfile.5 +1 -1
  104. data/man/gemfile.5.txt +1 -1
  105. metadata +17 -5
  106. data/lib/bundler/gem_remote_fetcher.rb +0 -43
  107. data/lib/bundler/vendor/fileutils/lib/fileutils/version.rb +0 -5
  108. data/lib/bundler/vendor/thor/lib/thor/core_ext/io_binary_read.rb +0 -12
@@ -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" "November 2019" "" ""
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
@@ -41,4 +41,4 @@ DESCRIPTION
41
41
 
42
42
 
43
43
 
44
- November 2019 BUNDLE-PRISTINE(1)
44
+ December 2019 BUNDLE-PRISTINE(1)
@@ -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\-REMOVE" "1" "November 2019" "" ""
4
+ .TH "BUNDLE\-REMOVE" "1" "December 2019" "" ""
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBbundle\-remove\fR \- Removes gems from the Gemfile
@@ -31,4 +31,4 @@ OPTIONS
31
31
 
32
32
 
33
33
 
34
- November 2019 BUNDLE-REMOVE(1)
34
+ December 2019 BUNDLE-REMOVE(1)
@@ -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" "November 2019" "" ""
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
@@ -24,4 +24,4 @@ OPTIONS
24
24
 
25
25
 
26
26
 
27
- November 2019 BUNDLE-SHOW(1)
27
+ December 2019 BUNDLE-SHOW(1)
@@ -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" "November 2019" "" ""
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
@@ -387,4 +387,4 @@ RECOMMENDED WORKFLOW
387
387
 
388
388
 
389
389
 
390
- November 2019 BUNDLE-UPDATE(1)
390
+ December 2019 BUNDLE-UPDATE(1)
@@ -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" "November 2019" "" ""
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
@@ -36,4 +36,4 @@ OPTIONS
36
36
 
37
37
 
38
38
 
39
- November 2019 BUNDLE-VIZ(1)
39
+ December 2019 BUNDLE-VIZ(1)
@@ -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" "1" "November 2019" "" ""
4
+ .TH "BUNDLE" "1" "December 2019" "" ""
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBbundle\fR \- Ruby Dependency Management
@@ -113,4 +113,4 @@ OBSOLETE
113
113
 
114
114
 
115
115
 
116
- November 2019 BUNDLE(1)
116
+ December 2019 BUNDLE(1)
@@ -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 "GEMFILE" "5" "November 2019" "" ""
4
+ .TH "GEMFILE" "5" "December 2019" "" ""
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBGemfile\fR \- A format for describing gem dependencies for Ruby programs
@@ -646,4 +646,4 @@ SOURCE PRIORITY
646
646
 
647
647
 
648
648
 
649
- November 2019 GEMFILE(5)
649
+ December 2019 GEMFILE(5)
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.0.pre.3
4
+ version: 2.1.0
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-11-12 00:00:00.000000000 Z
25
+ date: 2019-12-15 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
@@ -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,5 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Bundler::FileUtils
4
- VERSION = "1.3.0"
5
- 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