bundler 1.17.0.pre.2 → 2.1.0.pre.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 +769 -570
- data/LICENSE.md +18 -19
- data/README.md +9 -8
- data/bundler.gemspec +12 -23
- data/exe/bundle +19 -3
- data/lib/bundler.rb +121 -68
- data/lib/bundler/build_metadata.rb +14 -7
- data/lib/bundler/capistrano.rb +4 -4
- data/lib/bundler/cli.rb +129 -121
- data/lib/bundler/cli/add.rb +27 -16
- data/lib/bundler/cli/common.rb +11 -12
- data/lib/bundler/cli/config.rb +161 -86
- data/lib/bundler/cli/console.rb +1 -1
- data/lib/bundler/cli/doctor.rb +4 -4
- data/lib/bundler/cli/exec.rb +4 -9
- 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 +11 -10
- 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/package.rb +8 -9
- 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 +9 -7
- data/lib/bundler/definition.rb +35 -26
- data/lib/bundler/dependency.rb +16 -4
- data/lib/bundler/deployment.rb +1 -1
- data/lib/bundler/dsl.rb +15 -39
- data/lib/bundler/env.rb +8 -13
- data/lib/bundler/environment_preserver.rb +0 -1
- data/lib/bundler/feature_flag.rb +23 -32
- data/lib/bundler/fetcher.rb +14 -11
- data/lib/bundler/fetcher/compact_index.rb +26 -12
- data/lib/bundler/fetcher/dependency.rb +1 -1
- data/lib/bundler/fetcher/downloader.rb +4 -1
- data/lib/bundler/fetcher/index.rb +4 -2
- data/lib/bundler/friendly_errors.rb +4 -5
- data/lib/bundler/gem_helper.rb +39 -24
- 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 +19 -18
- 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 -2
- data/lib/bundler/lockfile_parser.rb +13 -21
- data/lib/bundler/match_platform.rb +1 -1
- data/lib/bundler/plugin.rb +42 -29
- data/lib/bundler/plugin/api.rb +1 -1
- data/lib/bundler/plugin/api/source.rb +2 -2
- 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/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 +10 -66
- data/lib/bundler/rubygems_gem_installer.rb +1 -1
- data/lib/bundler/rubygems_integration.rb +144 -395
- data/lib/bundler/runtime.rb +2 -9
- data/lib/bundler/settings.rb +15 -47
- data/lib/bundler/setup.rb +6 -5
- data/lib/bundler/shared_helpers.rb +64 -67
- data/lib/bundler/similarity_detector.rb +2 -2
- data/lib/bundler/source.rb +5 -5
- data/lib/bundler/source/git.rb +19 -12
- data/lib/bundler/source/git/git_proxy.rb +35 -39
- data/lib/bundler/source/metadata.rb +9 -5
- data/lib/bundler/source/path.rb +13 -8
- data/lib/bundler/source/rubygems.rb +11 -5
- data/lib/bundler/source/rubygems/remote.rb +1 -2
- data/lib/bundler/source_list.rb +9 -12
- data/lib/bundler/spec_set.rb +23 -12
- 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 -2
- 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/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 +151 -48
- data/lib/bundler/vendor/fileutils/lib/fileutils/version.rb +5 -0
- 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 +248 -279
- 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 +7 -2
- data/lib/bundler/vendor/thor/lib/thor/actions.rb +21 -11
- 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 +1 -1
- data/lib/bundler/vendor/thor/lib/thor/actions/file_manipulation.rb +11 -2
- data/lib/bundler/vendor/thor/lib/thor/actions/inject_into_file.rb +1 -1
- data/lib/bundler/vendor/thor/lib/thor/base.rb +16 -17
- data/lib/bundler/vendor/thor/lib/thor/error.rb +82 -0
- data/lib/bundler/vendor/thor/lib/thor/group.rb +3 -3
- data/lib/bundler/vendor/thor/lib/thor/line_editor.rb +2 -2
- data/lib/bundler/vendor/thor/lib/thor/parser.rb +4 -4
- data/lib/bundler/vendor/thor/lib/thor/parser/options.rb +7 -2
- data/lib/bundler/vendor/thor/lib/thor/runner.rb +6 -6
- data/lib/bundler/vendor/thor/lib/thor/shell.rb +4 -4
- data/lib/bundler/vendor/thor/lib/thor/shell/basic.rb +52 -7
- data/lib/bundler/vendor/thor/lib/thor/shell/color.rb +1 -1
- data/lib/bundler/vendor/thor/lib/thor/shell/html.rb +1 -1
- data/lib/bundler/vendor/thor/lib/thor/util.rb +1 -1
- data/lib/bundler/vendor/thor/lib/thor/version.rb +1 -1
- 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/version.rb +1 -20
- data/lib/bundler/version_ranges.rb +51 -5
- data/lib/bundler/vlad.rb +2 -2
- 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-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 +52 -36
- data/man/bundle-config.1.txt +82 -67
- data/man/bundle-config.ronn +56 -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-package.1 +1 -1
- data/man/bundle-package.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 +7 -3
- data/man/bundle.1.txt +11 -8
- data/man/bundle.ronn +5 -2
- data/man/gemfile.5 +17 -20
- data/man/gemfile.5.ronn +14 -18
- data/man/gemfile.5.txt +108 -112
- metadata +17 -104
- data/exe/bundle_ruby +0 -60
- data/lib/bundler/cli/cache.rb +0 -36
- data/lib/bundler/compatibility_guard.rb +0 -14
- 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
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: 1.
|
4
|
+
version: 2.1.0.pre.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- André Arko
|
@@ -22,92 +22,8 @@ authors:
|
|
22
22
|
autorequire:
|
23
23
|
bindir: exe
|
24
24
|
cert_chain: []
|
25
|
-
date:
|
26
|
-
dependencies:
|
27
|
-
- !ruby/object:Gem::Dependency
|
28
|
-
name: automatiek
|
29
|
-
requirement: !ruby/object:Gem::Requirement
|
30
|
-
requirements:
|
31
|
-
- - "~>"
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: 0.1.0
|
34
|
-
type: :development
|
35
|
-
prerelease: false
|
36
|
-
version_requirements: !ruby/object:Gem::Requirement
|
37
|
-
requirements:
|
38
|
-
- - "~>"
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
version: 0.1.0
|
41
|
-
- !ruby/object:Gem::Dependency
|
42
|
-
name: mustache
|
43
|
-
requirement: !ruby/object:Gem::Requirement
|
44
|
-
requirements:
|
45
|
-
- - '='
|
46
|
-
- !ruby/object:Gem::Version
|
47
|
-
version: 0.99.6
|
48
|
-
type: :development
|
49
|
-
prerelease: false
|
50
|
-
version_requirements: !ruby/object:Gem::Requirement
|
51
|
-
requirements:
|
52
|
-
- - '='
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
version: 0.99.6
|
55
|
-
- !ruby/object:Gem::Dependency
|
56
|
-
name: rake
|
57
|
-
requirement: !ruby/object:Gem::Requirement
|
58
|
-
requirements:
|
59
|
-
- - "~>"
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
version: '10.0'
|
62
|
-
type: :development
|
63
|
-
prerelease: false
|
64
|
-
version_requirements: !ruby/object:Gem::Requirement
|
65
|
-
requirements:
|
66
|
-
- - "~>"
|
67
|
-
- !ruby/object:Gem::Version
|
68
|
-
version: '10.0'
|
69
|
-
- !ruby/object:Gem::Dependency
|
70
|
-
name: rdiscount
|
71
|
-
requirement: !ruby/object:Gem::Requirement
|
72
|
-
requirements:
|
73
|
-
- - "~>"
|
74
|
-
- !ruby/object:Gem::Version
|
75
|
-
version: '2.2'
|
76
|
-
type: :development
|
77
|
-
prerelease: false
|
78
|
-
version_requirements: !ruby/object:Gem::Requirement
|
79
|
-
requirements:
|
80
|
-
- - "~>"
|
81
|
-
- !ruby/object:Gem::Version
|
82
|
-
version: '2.2'
|
83
|
-
- !ruby/object:Gem::Dependency
|
84
|
-
name: ronn
|
85
|
-
requirement: !ruby/object:Gem::Requirement
|
86
|
-
requirements:
|
87
|
-
- - "~>"
|
88
|
-
- !ruby/object:Gem::Version
|
89
|
-
version: 0.7.3
|
90
|
-
type: :development
|
91
|
-
prerelease: false
|
92
|
-
version_requirements: !ruby/object:Gem::Requirement
|
93
|
-
requirements:
|
94
|
-
- - "~>"
|
95
|
-
- !ruby/object:Gem::Version
|
96
|
-
version: 0.7.3
|
97
|
-
- !ruby/object:Gem::Dependency
|
98
|
-
name: rspec
|
99
|
-
requirement: !ruby/object:Gem::Requirement
|
100
|
-
requirements:
|
101
|
-
- - "~>"
|
102
|
-
- !ruby/object:Gem::Version
|
103
|
-
version: '3.6'
|
104
|
-
type: :development
|
105
|
-
prerelease: false
|
106
|
-
version_requirements: !ruby/object:Gem::Requirement
|
107
|
-
requirements:
|
108
|
-
- - "~>"
|
109
|
-
- !ruby/object:Gem::Version
|
110
|
-
version: '3.6'
|
25
|
+
date: 2019-09-15 00:00:00.000000000 Z
|
26
|
+
dependencies: []
|
111
27
|
description: Bundler manages an application's dependencies through its entire life,
|
112
28
|
across many machines, systematically and repeatably
|
113
29
|
email:
|
@@ -123,7 +39,6 @@ files:
|
|
123
39
|
- README.md
|
124
40
|
- bundler.gemspec
|
125
41
|
- exe/bundle
|
126
|
-
- exe/bundle_ruby
|
127
42
|
- exe/bundler
|
128
43
|
- lib/bundler.rb
|
129
44
|
- lib/bundler/build_metadata.rb
|
@@ -131,7 +46,6 @@ files:
|
|
131
46
|
- lib/bundler/cli.rb
|
132
47
|
- lib/bundler/cli/add.rb
|
133
48
|
- lib/bundler/cli/binstubs.rb
|
134
|
-
- lib/bundler/cli/cache.rb
|
135
49
|
- lib/bundler/cli/check.rb
|
136
50
|
- lib/bundler/cli/clean.rb
|
137
51
|
- lib/bundler/cli/common.rb
|
@@ -160,7 +74,6 @@ files:
|
|
160
74
|
- lib/bundler/compact_index_client.rb
|
161
75
|
- lib/bundler/compact_index_client/cache.rb
|
162
76
|
- lib/bundler/compact_index_client/updater.rb
|
163
|
-
- lib/bundler/compatibility_guard.rb
|
164
77
|
- lib/bundler/constants.rb
|
165
78
|
- lib/bundler/current_ruby.rb
|
166
79
|
- lib/bundler/definition.rb
|
@@ -238,11 +151,6 @@ files:
|
|
238
151
|
- lib/bundler/source/rubygems/remote.rb
|
239
152
|
- lib/bundler/source_list.rb
|
240
153
|
- lib/bundler/spec_set.rb
|
241
|
-
- lib/bundler/ssl_certs/.document
|
242
|
-
- lib/bundler/ssl_certs/certificate_manager.rb
|
243
|
-
- lib/bundler/ssl_certs/index.rubygems.org/GlobalSignRootCA.pem
|
244
|
-
- lib/bundler/ssl_certs/rubygems.global.ssl.fastly.net/DigiCertHighAssuranceEVRootCA.pem
|
245
|
-
- lib/bundler/ssl_certs/rubygems.org/AddTrustExternalCARoot.pem
|
246
154
|
- lib/bundler/stub_specification.rb
|
247
155
|
- lib/bundler/templates/.document
|
248
156
|
- lib/bundler/templates/Executable
|
@@ -276,7 +184,12 @@ files:
|
|
276
184
|
- lib/bundler/ui/shell.rb
|
277
185
|
- lib/bundler/ui/silent.rb
|
278
186
|
- lib/bundler/uri_credentials_filter.rb
|
187
|
+
- lib/bundler/vendor/connection_pool/lib/connection_pool.rb
|
188
|
+
- lib/bundler/vendor/connection_pool/lib/connection_pool/monotonic_time.rb
|
189
|
+
- lib/bundler/vendor/connection_pool/lib/connection_pool/timed_stack.rb
|
190
|
+
- lib/bundler/vendor/connection_pool/lib/connection_pool/version.rb
|
279
191
|
- lib/bundler/vendor/fileutils/lib/fileutils.rb
|
192
|
+
- lib/bundler/vendor/fileutils/lib/fileutils/version.rb
|
280
193
|
- lib/bundler/vendor/molinillo/lib/molinillo.rb
|
281
194
|
- lib/bundler/vendor/molinillo/lib/molinillo/compatibility.rb
|
282
195
|
- lib/bundler/vendor/molinillo/lib/molinillo/delegates/resolution_state.rb
|
@@ -298,9 +211,10 @@ files:
|
|
298
211
|
- lib/bundler/vendor/molinillo/lib/molinillo/resolution.rb
|
299
212
|
- lib/bundler/vendor/molinillo/lib/molinillo/resolver.rb
|
300
213
|
- lib/bundler/vendor/molinillo/lib/molinillo/state.rb
|
301
|
-
- lib/bundler/vendor/net-http-persistent/lib/net/http/faster.rb
|
302
214
|
- lib/bundler/vendor/net-http-persistent/lib/net/http/persistent.rb
|
303
|
-
- lib/bundler/vendor/net-http-persistent/lib/net/http/persistent/
|
215
|
+
- lib/bundler/vendor/net-http-persistent/lib/net/http/persistent/connection.rb
|
216
|
+
- lib/bundler/vendor/net-http-persistent/lib/net/http/persistent/pool.rb
|
217
|
+
- lib/bundler/vendor/net-http-persistent/lib/net/http/persistent/timed_stack_multi.rb
|
304
218
|
- lib/bundler/vendor/thor/lib/thor.rb
|
305
219
|
- lib/bundler/vendor/thor/lib/thor/actions.rb
|
306
220
|
- lib/bundler/vendor/thor/lib/thor/actions/create_file.rb
|
@@ -418,14 +332,14 @@ files:
|
|
418
332
|
- man/gemfile.5.ronn
|
419
333
|
- man/gemfile.5.txt
|
420
334
|
- man/index.txt
|
421
|
-
homepage:
|
335
|
+
homepage: https://bundler.io
|
422
336
|
licenses:
|
423
337
|
- MIT
|
424
338
|
metadata:
|
425
|
-
bug_tracker_uri:
|
339
|
+
bug_tracker_uri: https://github.com/bundler/bundler/issues
|
426
340
|
changelog_uri: https://github.com/bundler/bundler/blob/master/CHANGELOG.md
|
427
341
|
homepage_uri: https://bundler.io/
|
428
|
-
source_code_uri:
|
342
|
+
source_code_uri: https://github.com/bundler/bundler/
|
429
343
|
post_install_message:
|
430
344
|
rdoc_options: []
|
431
345
|
require_paths:
|
@@ -434,15 +348,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
434
348
|
requirements:
|
435
349
|
- - ">="
|
436
350
|
- !ruby/object:Gem::Version
|
437
|
-
version:
|
351
|
+
version: 2.3.0
|
438
352
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
439
353
|
requirements:
|
440
354
|
- - ">="
|
441
355
|
- !ruby/object:Gem::Version
|
442
|
-
version:
|
356
|
+
version: 2.5.2
|
443
357
|
requirements: []
|
444
|
-
|
445
|
-
rubygems_version: 2.7.7
|
358
|
+
rubygems_version: 3.0.6
|
446
359
|
signing_key:
|
447
360
|
specification_version: 4
|
448
361
|
summary: The best way to manage your application's dependencies
|
data/exe/bundle_ruby
DELETED
@@ -1,60 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
# frozen_string_literal: true
|
3
|
-
|
4
|
-
require "bundler/shared_helpers"
|
5
|
-
|
6
|
-
Bundler::SharedHelpers.major_deprecation(2, "the bundle_ruby executable has been removed in favor of `bundle platform --ruby`")
|
7
|
-
|
8
|
-
Signal.trap("INT") { exit 1 }
|
9
|
-
|
10
|
-
require "bundler/errors"
|
11
|
-
require "bundler/ruby_version"
|
12
|
-
require "bundler/ruby_dsl"
|
13
|
-
|
14
|
-
module Bundler
|
15
|
-
class Dsl
|
16
|
-
include RubyDsl
|
17
|
-
|
18
|
-
attr_accessor :ruby_version
|
19
|
-
|
20
|
-
def initialize
|
21
|
-
@ruby_version = nil
|
22
|
-
end
|
23
|
-
|
24
|
-
def eval_gemfile(gemfile, contents = nil)
|
25
|
-
contents ||= File.open(gemfile, "rb", &:read)
|
26
|
-
instance_eval(contents, gemfile.to_s, 1)
|
27
|
-
rescue SyntaxError => e
|
28
|
-
bt = e.message.split("\n")[1..-1]
|
29
|
-
raise GemfileError, ["Gemfile syntax error:", *bt].join("\n")
|
30
|
-
rescue ScriptError, RegexpError, NameError, ArgumentError => e
|
31
|
-
e.backtrace[0] = "#{e.backtrace[0]}: #{e.message} (#{e.class})"
|
32
|
-
STDERR.puts e.backtrace.join("\n ")
|
33
|
-
raise GemfileError, "There was an error in your Gemfile," \
|
34
|
-
" and Bundler cannot continue."
|
35
|
-
end
|
36
|
-
|
37
|
-
def source(source, options = {})
|
38
|
-
end
|
39
|
-
|
40
|
-
def gem(name, *args)
|
41
|
-
end
|
42
|
-
|
43
|
-
def group(*args)
|
44
|
-
end
|
45
|
-
end
|
46
|
-
end
|
47
|
-
|
48
|
-
dsl = Bundler::Dsl.new
|
49
|
-
begin
|
50
|
-
dsl.eval_gemfile(Bundler::SharedHelpers.default_gemfile)
|
51
|
-
ruby_version = dsl.ruby_version
|
52
|
-
if ruby_version
|
53
|
-
puts ruby_version
|
54
|
-
else
|
55
|
-
puts "No ruby version specified"
|
56
|
-
end
|
57
|
-
rescue Bundler::GemfileError => e
|
58
|
-
puts e.message
|
59
|
-
exit(-1)
|
60
|
-
end
|
data/lib/bundler/cli/cache.rb
DELETED
@@ -1,36 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
module Bundler
|
4
|
-
class CLI::Cache
|
5
|
-
attr_reader :options
|
6
|
-
def initialize(options)
|
7
|
-
@options = options
|
8
|
-
end
|
9
|
-
|
10
|
-
def run
|
11
|
-
Bundler.definition.validate_runtime!
|
12
|
-
Bundler.definition.resolve_with_cache!
|
13
|
-
setup_cache_all
|
14
|
-
Bundler.settings.set_command_option_if_given :cache_all_platforms, options["all-platforms"]
|
15
|
-
Bundler.load.cache
|
16
|
-
Bundler.settings.set_command_option_if_given :no_prune, options["no-prune"]
|
17
|
-
Bundler.load.lock
|
18
|
-
rescue GemNotFound => e
|
19
|
-
Bundler.ui.error(e.message)
|
20
|
-
Bundler.ui.warn "Run `bundle install` to install missing gems."
|
21
|
-
exit 1
|
22
|
-
end
|
23
|
-
|
24
|
-
private
|
25
|
-
|
26
|
-
def setup_cache_all
|
27
|
-
Bundler.settings.set_command_option_if_given :cache_all, options[:all]
|
28
|
-
|
29
|
-
if Bundler.definition.has_local_dependencies? && !Bundler.feature_flag.cache_all?
|
30
|
-
Bundler.ui.warn "Your Gemfile contains path and git dependencies. If you want " \
|
31
|
-
"to package them as well, please pass the --all flag. This will be the default " \
|
32
|
-
"on Bundler 2.0."
|
33
|
-
end
|
34
|
-
end
|
35
|
-
end
|
36
|
-
end
|
@@ -1,14 +0,0 @@
|
|
1
|
-
# frozen_string_literal: false
|
2
|
-
|
3
|
-
require "rubygems"
|
4
|
-
require "bundler/version"
|
5
|
-
|
6
|
-
if Bundler::VERSION.split(".").first.to_i >= 2
|
7
|
-
if Gem::Version.new(Object::RUBY_VERSION.dup) < Gem::Version.new("2.3")
|
8
|
-
abort "Bundler 2 requires Ruby 2.3 or later. Either install bundler 1 or update to a supported Ruby version."
|
9
|
-
end
|
10
|
-
|
11
|
-
if Gem::Version.new(Gem::VERSION.dup) < Gem::Version.new("2.5")
|
12
|
-
abort "Bundler 2 requires RubyGems 2.5 or later. Either install bundler 1 or update to a supported RubyGems version."
|
13
|
-
end
|
14
|
-
end
|
@@ -1 +0,0 @@
|
|
1
|
-
# Ignore all files in this directory
|
@@ -1,66 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
require "bundler/vendored_fileutils"
|
4
|
-
require "net/https"
|
5
|
-
require "openssl"
|
6
|
-
|
7
|
-
module Bundler
|
8
|
-
module SSLCerts
|
9
|
-
class CertificateManager
|
10
|
-
attr_reader :bundler_cert_path, :bundler_certs, :rubygems_certs
|
11
|
-
|
12
|
-
def self.update_from!(rubygems_path)
|
13
|
-
new(rubygems_path).update!
|
14
|
-
end
|
15
|
-
|
16
|
-
def initialize(rubygems_path = nil)
|
17
|
-
if rubygems_path
|
18
|
-
rubygems_cert_path = File.join(rubygems_path, "lib/rubygems/ssl_certs")
|
19
|
-
@rubygems_certs = certificates_in(rubygems_cert_path)
|
20
|
-
end
|
21
|
-
|
22
|
-
@bundler_cert_path = File.expand_path("..", __FILE__)
|
23
|
-
@bundler_certs = certificates_in(bundler_cert_path)
|
24
|
-
end
|
25
|
-
|
26
|
-
def up_to_date?
|
27
|
-
rubygems_certs.all? do |rc|
|
28
|
-
bundler_certs.find do |bc|
|
29
|
-
File.basename(bc) == File.basename(rc) && FileUtils.compare_file(bc, rc)
|
30
|
-
end
|
31
|
-
end
|
32
|
-
end
|
33
|
-
|
34
|
-
def update!
|
35
|
-
return if up_to_date?
|
36
|
-
|
37
|
-
FileUtils.rm bundler_certs
|
38
|
-
FileUtils.cp rubygems_certs, bundler_cert_path
|
39
|
-
end
|
40
|
-
|
41
|
-
def connect_to(host)
|
42
|
-
http = Net::HTTP.new(host, 443)
|
43
|
-
http.use_ssl = true
|
44
|
-
http.verify_mode = OpenSSL::SSL::VERIFY_PEER
|
45
|
-
http.cert_store = store
|
46
|
-
http.head("/")
|
47
|
-
end
|
48
|
-
|
49
|
-
private
|
50
|
-
|
51
|
-
def certificates_in(path)
|
52
|
-
Dir[File.join(path, "**/*.pem")].sort
|
53
|
-
end
|
54
|
-
|
55
|
-
def store
|
56
|
-
@store ||= begin
|
57
|
-
store = OpenSSL::X509::Store.new
|
58
|
-
bundler_certs.each do |cert|
|
59
|
-
store.add_file cert
|
60
|
-
end
|
61
|
-
store
|
62
|
-
end
|
63
|
-
end
|
64
|
-
end
|
65
|
-
end
|
66
|
-
end
|
@@ -1,21 +0,0 @@
|
|
1
|
-
-----BEGIN CERTIFICATE-----
|
2
|
-
MIIDdTCCAl2gAwIBAgILBAAAAAABFUtaw5QwDQYJKoZIhvcNAQEFBQAwVzELMAkG
|
3
|
-
A1UEBhMCQkUxGTAXBgNVBAoTEEdsb2JhbFNpZ24gbnYtc2ExEDAOBgNVBAsTB1Jv
|
4
|
-
b3QgQ0ExGzAZBgNVBAMTEkdsb2JhbFNpZ24gUm9vdCBDQTAeFw05ODA5MDExMjAw
|
5
|
-
MDBaFw0yODAxMjgxMjAwMDBaMFcxCzAJBgNVBAYTAkJFMRkwFwYDVQQKExBHbG9i
|
6
|
-
YWxTaWduIG52LXNhMRAwDgYDVQQLEwdSb290IENBMRswGQYDVQQDExJHbG9iYWxT
|
7
|
-
aWduIFJvb3QgQ0EwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDaDuaZ
|
8
|
-
jc6j40+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