rubygems-update 3.5.5 → 3.5.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +54 -0
- data/Manifest.txt +81 -64
- data/bundler/CHANGELOG.md +33 -0
- data/bundler/lib/bundler/build_metadata.rb +2 -2
- data/bundler/lib/bundler/cli/binstubs.rb +1 -1
- data/bundler/lib/bundler/cli/gem.rb +1 -1
- data/bundler/lib/bundler/cli/lock.rb +5 -4
- data/bundler/lib/bundler/cli/plugin.rb +2 -2
- data/bundler/lib/bundler/cli.rb +2 -2
- data/bundler/lib/bundler/definition.rb +54 -28
- data/bundler/lib/bundler/dsl.rb +16 -1
- data/bundler/lib/bundler/environment_preserver.rb +3 -3
- data/bundler/lib/bundler/fetcher/downloader.rb +1 -1
- data/bundler/lib/bundler/fetcher.rb +2 -2
- data/bundler/lib/bundler/injector.rb +1 -1
- data/bundler/lib/bundler/installer.rb +2 -2
- data/bundler/lib/bundler/man/bundle-add.1 +1 -1
- data/bundler/lib/bundler/man/bundle-binstubs.1 +1 -1
- data/bundler/lib/bundler/man/bundle-cache.1 +1 -1
- data/bundler/lib/bundler/man/bundle-check.1 +1 -1
- data/bundler/lib/bundler/man/bundle-clean.1 +1 -1
- data/bundler/lib/bundler/man/bundle-config.1 +1 -1
- data/bundler/lib/bundler/man/bundle-console.1 +1 -1
- data/bundler/lib/bundler/man/bundle-doctor.1 +1 -1
- data/bundler/lib/bundler/man/bundle-exec.1 +1 -1
- data/bundler/lib/bundler/man/bundle-gem.1 +1 -1
- data/bundler/lib/bundler/man/bundle-help.1 +1 -1
- data/bundler/lib/bundler/man/bundle-info.1 +1 -1
- data/bundler/lib/bundler/man/bundle-init.1 +1 -1
- data/bundler/lib/bundler/man/bundle-inject.1 +1 -1
- data/bundler/lib/bundler/man/bundle-install.1 +3 -3
- data/bundler/lib/bundler/man/bundle-install.1.ronn +2 -2
- data/bundler/lib/bundler/man/bundle-list.1 +1 -1
- data/bundler/lib/bundler/man/bundle-lock.1 +1 -1
- data/bundler/lib/bundler/man/bundle-open.1 +1 -1
- data/bundler/lib/bundler/man/bundle-outdated.1 +1 -1
- data/bundler/lib/bundler/man/bundle-platform.1 +1 -1
- data/bundler/lib/bundler/man/bundle-plugin.1 +4 -4
- data/bundler/lib/bundler/man/bundle-plugin.1.ronn +3 -3
- data/bundler/lib/bundler/man/bundle-pristine.1 +1 -1
- data/bundler/lib/bundler/man/bundle-remove.1 +1 -1
- data/bundler/lib/bundler/man/bundle-show.1 +1 -1
- data/bundler/lib/bundler/man/bundle-update.1 +1 -1
- data/bundler/lib/bundler/man/bundle-version.1 +1 -1
- data/bundler/lib/bundler/man/bundle-viz.1 +1 -1
- data/bundler/lib/bundler/man/bundle.1 +1 -1
- data/bundler/lib/bundler/man/gemfile.5 +3 -3
- data/bundler/lib/bundler/man/gemfile.5.ronn +2 -2
- data/bundler/lib/bundler/mirror.rb +3 -3
- data/bundler/lib/bundler/plugin/api/source.rb +2 -2
- data/bundler/lib/bundler/plugin/installer.rb +5 -9
- data/bundler/lib/bundler/runtime.rb +1 -1
- data/bundler/lib/bundler/settings.rb +14 -11
- data/bundler/lib/bundler/source/git/git_proxy.rb +1 -1
- data/bundler/lib/bundler/source/git.rb +1 -1
- data/bundler/lib/bundler/source/rubygems/remote.rb +1 -1
- data/bundler/lib/bundler/source/rubygems.rb +2 -2
- data/bundler/lib/bundler/spec_set.rb +1 -1
- data/bundler/lib/bundler/templates/newgem/newgem.gemspec.tt +4 -3
- data/bundler/lib/bundler/templates/newgem/rubocop.yml.tt +0 -5
- data/bundler/lib/bundler/uri_credentials_filter.rb +2 -2
- data/bundler/lib/bundler/vendor/net-http-persistent/lib/net/http/persistent.rb +22 -22
- data/bundler/lib/bundler/vendor/pub_grub/lib/pub_grub/static_package_source.rb +1 -0
- data/bundler/lib/bundler/vendored_net_http.rb +7 -3
- data/bundler/lib/bundler/vendored_timeout.rb +7 -3
- data/bundler/lib/bundler/vendored_uri.rb +18 -1
- data/bundler/lib/bundler/version.rb +1 -1
- data/bundler/lib/bundler/yaml_serializer.rb +12 -0
- data/bundler/lib/bundler.rb +3 -2
- data/lib/rubygems/command.rb +1 -1
- data/lib/rubygems/command_manager.rb +1 -1
- data/lib/rubygems/commands/help_command.rb +2 -2
- data/lib/rubygems/commands/rdoc_command.rb +1 -8
- data/lib/rubygems/commands/sources_command.rb +2 -2
- data/lib/rubygems/defaults.rb +4 -4
- data/lib/rubygems/dependency.rb +2 -2
- data/lib/rubygems/dependency_list.rb +1 -1
- data/lib/rubygems/ext/cargo_builder.rb +1 -1
- data/lib/rubygems/gemcutter_utilities/webauthn_listener.rb +1 -1
- data/lib/rubygems/gemcutter_utilities.rb +40 -23
- data/lib/rubygems/local_remote_options.rb +6 -6
- data/lib/rubygems/remote_fetcher.rb +3 -3
- data/lib/rubygems/request.rb +5 -5
- data/lib/rubygems/request_set.rb +1 -1
- data/lib/rubygems/requirement.rb +5 -0
- data/lib/rubygems/resolver/api_set.rb +1 -1
- data/lib/rubygems/resolver/best_set.rb +1 -1
- data/lib/rubygems/resolver.rb +5 -5
- data/lib/rubygems/s3_uri_signer.rb +3 -3
- data/lib/rubygems/safe_yaml.rb +10 -1
- data/lib/rubygems/security.rb +1 -1
- data/lib/rubygems/source/git.rb +2 -2
- data/lib/rubygems/source_list.rb +1 -1
- data/lib/rubygems/specification.rb +6 -6
- data/lib/rubygems/specification_policy.rb +15 -7
- data/lib/rubygems/uri.rb +6 -6
- data/lib/rubygems/util/licenses.rb +43 -0
- data/lib/rubygems/util.rb +1 -1
- data/lib/rubygems/vendor/molinillo/lib/molinillo/delegates/resolution_state.rb +57 -0
- data/lib/rubygems/{resolver → vendor}/molinillo/lib/molinillo/delegates/specification_provider.rb +11 -11
- data/lib/rubygems/{resolver → vendor}/molinillo/lib/molinillo/dependency_graph/action.rb +1 -1
- data/lib/rubygems/{resolver → vendor}/molinillo/lib/molinillo/dependency_graph/add_edge_no_circular.rb +1 -1
- data/lib/rubygems/{resolver → vendor}/molinillo/lib/molinillo/dependency_graph/add_vertex.rb +1 -1
- data/lib/rubygems/{resolver → vendor}/molinillo/lib/molinillo/dependency_graph/delete_edge.rb +1 -1
- data/lib/rubygems/{resolver → vendor}/molinillo/lib/molinillo/dependency_graph/detach_vertex_named.rb +1 -1
- data/lib/rubygems/{resolver → vendor}/molinillo/lib/molinillo/dependency_graph/log.rb +1 -1
- data/lib/rubygems/{resolver → vendor}/molinillo/lib/molinillo/dependency_graph/set_payload.rb +1 -1
- data/lib/rubygems/{resolver → vendor}/molinillo/lib/molinillo/dependency_graph/tag.rb +1 -1
- data/lib/rubygems/{resolver → vendor}/molinillo/lib/molinillo/dependency_graph/vertex.rb +1 -1
- data/lib/rubygems/{resolver → vendor}/molinillo/lib/molinillo/dependency_graph.rb +2 -2
- data/lib/rubygems/{resolver → vendor}/molinillo/lib/molinillo/errors.rb +1 -1
- data/lib/rubygems/vendor/molinillo/lib/molinillo/gem_metadata.rb +6 -0
- data/lib/rubygems/{resolver → vendor}/molinillo/lib/molinillo/modules/specification_provider.rb +2 -2
- data/lib/rubygems/{resolver → vendor}/molinillo/lib/molinillo/modules/ui.rb +1 -1
- data/lib/rubygems/{resolver → vendor}/molinillo/lib/molinillo/resolution.rb +3 -3
- data/lib/rubygems/{resolver → vendor}/molinillo/lib/molinillo/resolver.rb +1 -1
- data/lib/rubygems/{resolver → vendor}/molinillo/lib/molinillo/state.rb +1 -1
- data/lib/rubygems/{resolver → vendor}/molinillo/lib/molinillo.rb +2 -2
- data/lib/rubygems/{net-http → vendor/net-http}/lib/net/http/generic_request.rb +9 -9
- data/lib/rubygems/{net-http → vendor/net-http}/lib/net/http/header.rb +2 -2
- data/lib/rubygems/{net-http → vendor/net-http}/lib/net/http/request.rb +3 -3
- data/lib/rubygems/{net-http → vendor/net-http}/lib/net/http/requests.rb +30 -30
- data/lib/rubygems/{net-http → vendor/net-http}/lib/net/http/response.rb +2 -2
- data/lib/rubygems/{net-http → vendor/net-http}/lib/net/http/responses.rb +6 -6
- data/lib/rubygems/{net-http → vendor/net-http}/lib/net/http/status.rb +1 -1
- data/lib/rubygems/{net-http → vendor/net-http}/lib/net/http.rb +15 -15
- data/lib/rubygems/{net-http → vendor/net-http}/lib/net/https.rb +1 -1
- data/lib/rubygems/vendor/optparse/lib/optparse/uri.rb +7 -0
- data/lib/rubygems/{optparse → vendor/optparse}/lib/optparse.rb +11 -11
- data/lib/rubygems/{timeout → vendor/timeout}/lib/timeout.rb +1 -1
- data/lib/rubygems/{tsort → vendor/tsort}/lib/tsort.rb +2 -2
- data/lib/rubygems/vendor/uri/.document +1 -0
- data/lib/rubygems/vendor/uri/LICENSE.txt +22 -0
- data/lib/rubygems/vendor/uri/lib/uri/common.rb +853 -0
- data/lib/rubygems/vendor/uri/lib/uri/file.rb +100 -0
- data/lib/rubygems/vendor/uri/lib/uri/ftp.rb +267 -0
- data/lib/rubygems/vendor/uri/lib/uri/generic.rb +1588 -0
- data/lib/rubygems/vendor/uri/lib/uri/http.rb +125 -0
- data/lib/rubygems/vendor/uri/lib/uri/https.rb +23 -0
- data/lib/rubygems/vendor/uri/lib/uri/ldap.rb +261 -0
- data/lib/rubygems/vendor/uri/lib/uri/ldaps.rb +22 -0
- data/lib/rubygems/vendor/uri/lib/uri/mailto.rb +293 -0
- data/lib/rubygems/vendor/uri/lib/uri/rfc2396_parser.rb +539 -0
- data/lib/rubygems/vendor/uri/lib/uri/rfc3986_parser.rb +183 -0
- data/lib/rubygems/vendor/uri/lib/uri/version.rb +6 -0
- data/lib/rubygems/vendor/uri/lib/uri/ws.rb +83 -0
- data/lib/rubygems/vendor/uri/lib/uri/wss.rb +23 -0
- data/lib/rubygems/vendor/uri/lib/uri.rb +104 -0
- data/lib/rubygems/vendored_molinillo.rb +3 -0
- data/lib/rubygems/vendored_net_http.rb +5 -0
- data/lib/rubygems/vendored_optparse.rb +3 -0
- data/lib/rubygems/vendored_timeout.rb +5 -0
- data/lib/rubygems/vendored_tsort.rb +3 -0
- data/lib/rubygems/yaml_serializer.rb +12 -0
- data/lib/rubygems.rb +2 -2
- data/rubygems-update.gemspec +7 -2
- metadata +87 -67
- data/lib/rubygems/net/http.rb +0 -3
- data/lib/rubygems/optparse/lib/optparse/uri.rb +0 -7
- data/lib/rubygems/optparse.rb +0 -3
- data/lib/rubygems/resolver/molinillo/lib/molinillo/delegates/resolution_state.rb +0 -57
- data/lib/rubygems/resolver/molinillo/lib/molinillo/gem_metadata.rb +0 -6
- data/lib/rubygems/resolver/molinillo.rb +0 -3
- data/lib/rubygems/timeout.rb +0 -3
- data/lib/rubygems/tsort.rb +0 -3
- /data/lib/rubygems/{net-http → vendor/molinillo}/.document +0 -0
- /data/lib/rubygems/{resolver → vendor}/molinillo/LICENSE +0 -0
- /data/lib/rubygems/{net-protocol → vendor/net-http}/.document +0 -0
- /data/lib/rubygems/{net-http → vendor/net-http}/LICENSE.txt +0 -0
- /data/lib/rubygems/{net-http → vendor/net-http}/lib/net/http/backward.rb +0 -0
- /data/lib/rubygems/{net-http → vendor/net-http}/lib/net/http/exceptions.rb +0 -0
- /data/lib/rubygems/{net-http → vendor/net-http}/lib/net/http/proxy_delta.rb +0 -0
- /data/lib/rubygems/{optparse → vendor/net-protocol}/.document +0 -0
- /data/lib/rubygems/{net-protocol → vendor/net-protocol}/LICENSE.txt +0 -0
- /data/lib/rubygems/{net-protocol → vendor/net-protocol}/lib/net/protocol.rb +0 -0
- /data/lib/rubygems/{resolv → vendor/optparse}/.document +0 -0
- /data/lib/rubygems/{optparse → vendor/optparse}/COPYING +0 -0
- /data/lib/rubygems/{optparse → vendor/optparse}/lib/optionparser.rb +0 -0
- /data/lib/rubygems/{optparse → vendor/optparse}/lib/optparse/ac.rb +0 -0
- /data/lib/rubygems/{optparse → vendor/optparse}/lib/optparse/date.rb +0 -0
- /data/lib/rubygems/{optparse → vendor/optparse}/lib/optparse/kwargs.rb +0 -0
- /data/lib/rubygems/{optparse → vendor/optparse}/lib/optparse/shellwords.rb +0 -0
- /data/lib/rubygems/{optparse → vendor/optparse}/lib/optparse/time.rb +0 -0
- /data/lib/rubygems/{optparse → vendor/optparse}/lib/optparse/version.rb +0 -0
- /data/lib/rubygems/{resolver/molinillo → vendor/resolv}/.document +0 -0
- /data/lib/rubygems/{resolv → vendor/resolv}/LICENSE.txt +0 -0
- /data/lib/rubygems/{resolv → vendor/resolv}/lib/resolv.rb +0 -0
- /data/lib/rubygems/{timeout → vendor/timeout}/.document +0 -0
- /data/lib/rubygems/{timeout → vendor/timeout}/LICENSE.txt +0 -0
- /data/lib/rubygems/{tsort → vendor/tsort}/.document +0 -0
- /data/lib/rubygems/{tsort → vendor/tsort}/LICENSE.txt +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3b83feaa9b9fd7b87e8ac6fcbff33eb461f17e32f59cdcf4825825944fb2e206
|
4
|
+
data.tar.gz: 5edabd88afc0a9efb93f1cc664071cef09a2869b1ab84e2eb627ed2d88b949b9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 882690618a686f258f5d6bd0d194c142129a8fa79643c6d12668c33e681cc2d5c55c31c6e7e5ec652893262270a25e99692ea2193d2305598be9f10c2b336036
|
7
|
+
data.tar.gz: e87beb2867ef8be9387914bad8c7fa760619ea5b76b3c0195dc5a0b56d284e500466ffdf71389c5fba19d5d8adcf895e8be36ec953af008cf25522040a8b0a80
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,57 @@
|
|
1
|
+
# 3.5.7 / 2024-03-22
|
2
|
+
|
3
|
+
## Enhancements:
|
4
|
+
|
5
|
+
* Warn on empty or open required_ruby_version specification attribute.
|
6
|
+
Pull request [#5010](https://github.com/rubygems/rubygems/pull/5010) by
|
7
|
+
simi
|
8
|
+
* Control whether YAML aliases are enabled in Gem::SafeYAML.safe_load via
|
9
|
+
attribute. Pull request
|
10
|
+
[#7464](https://github.com/rubygems/rubygems/pull/7464) by segiddins
|
11
|
+
* Update SPDX license list as of 2024-02-08. Pull request
|
12
|
+
[#7468](https://github.com/rubygems/rubygems/pull/7468) by
|
13
|
+
github-actions[bot]
|
14
|
+
* Installs bundler 2.5.7 as a default gem.
|
15
|
+
|
16
|
+
## Bug fixes:
|
17
|
+
|
18
|
+
* Allow prerelease activation (even if requirement is not explicit about
|
19
|
+
it) when it's the only possibility. Pull request
|
20
|
+
[#7428](https://github.com/rubygems/rubygems/pull/7428) by kimesf
|
21
|
+
|
22
|
+
## Documentation:
|
23
|
+
|
24
|
+
* Fix a typo. Pull request
|
25
|
+
[#7505](https://github.com/rubygems/rubygems/pull/7505) by hsbt
|
26
|
+
* Use https instead of http in documentation links. Pull request
|
27
|
+
[#7481](https://github.com/rubygems/rubygems/pull/7481) by hsbt
|
28
|
+
|
29
|
+
# 3.5.6 / 2024-02-06
|
30
|
+
|
31
|
+
## Enhancements:
|
32
|
+
|
33
|
+
* Deep copy requirements in `Gem::Specification` and `Gem::Requirement`.
|
34
|
+
Pull request [#7439](https://github.com/rubygems/rubygems/pull/7439) by
|
35
|
+
flavorjones
|
36
|
+
* Change gem login message to clear up that username can be also used.
|
37
|
+
Pull request [#7422](https://github.com/rubygems/rubygems/pull/7422) by
|
38
|
+
VitaliySerov
|
39
|
+
* Add metadata for rubygems.org. Pull request
|
40
|
+
[#7435](https://github.com/rubygems/rubygems/pull/7435) by m-nakamura145
|
41
|
+
* Improve gem login scope selection. Pull request
|
42
|
+
[#7342](https://github.com/rubygems/rubygems/pull/7342) by williantenfen
|
43
|
+
* Vendor uri in RubyGems. Pull request
|
44
|
+
[#7386](https://github.com/rubygems/rubygems/pull/7386) by
|
45
|
+
deivid-rodriguez
|
46
|
+
* Installs bundler 2.5.6 as a default gem.
|
47
|
+
|
48
|
+
## Bug fixes:
|
49
|
+
|
50
|
+
* Skip to load commented out words. Pull request
|
51
|
+
[#7413](https://github.com/rubygems/rubygems/pull/7413) by hsbt
|
52
|
+
* Fix rake runtime dependency warning for rake based extension. Pull
|
53
|
+
request [#7395](https://github.com/rubygems/rubygems/pull/7395) by ntkme
|
54
|
+
|
1
55
|
# 3.5.5 / 2024-01-18
|
2
56
|
|
3
57
|
## Enhancements:
|
data/Manifest.txt
CHANGED
@@ -431,37 +431,7 @@ lib/rubygems/installer.rb
|
|
431
431
|
lib/rubygems/installer_uninstaller_utils.rb
|
432
432
|
lib/rubygems/local_remote_options.rb
|
433
433
|
lib/rubygems/name_tuple.rb
|
434
|
-
lib/rubygems/net-http/.document
|
435
|
-
lib/rubygems/net-http/LICENSE.txt
|
436
|
-
lib/rubygems/net-http/lib/net/http.rb
|
437
|
-
lib/rubygems/net-http/lib/net/http/backward.rb
|
438
|
-
lib/rubygems/net-http/lib/net/http/exceptions.rb
|
439
|
-
lib/rubygems/net-http/lib/net/http/generic_request.rb
|
440
|
-
lib/rubygems/net-http/lib/net/http/header.rb
|
441
|
-
lib/rubygems/net-http/lib/net/http/proxy_delta.rb
|
442
|
-
lib/rubygems/net-http/lib/net/http/request.rb
|
443
|
-
lib/rubygems/net-http/lib/net/http/requests.rb
|
444
|
-
lib/rubygems/net-http/lib/net/http/response.rb
|
445
|
-
lib/rubygems/net-http/lib/net/http/responses.rb
|
446
|
-
lib/rubygems/net-http/lib/net/http/status.rb
|
447
|
-
lib/rubygems/net-http/lib/net/https.rb
|
448
|
-
lib/rubygems/net-protocol/.document
|
449
|
-
lib/rubygems/net-protocol/LICENSE.txt
|
450
|
-
lib/rubygems/net-protocol/lib/net/protocol.rb
|
451
|
-
lib/rubygems/net/http.rb
|
452
434
|
lib/rubygems/openssl.rb
|
453
|
-
lib/rubygems/optparse.rb
|
454
|
-
lib/rubygems/optparse/.document
|
455
|
-
lib/rubygems/optparse/COPYING
|
456
|
-
lib/rubygems/optparse/lib/optionparser.rb
|
457
|
-
lib/rubygems/optparse/lib/optparse.rb
|
458
|
-
lib/rubygems/optparse/lib/optparse/ac.rb
|
459
|
-
lib/rubygems/optparse/lib/optparse/date.rb
|
460
|
-
lib/rubygems/optparse/lib/optparse/kwargs.rb
|
461
|
-
lib/rubygems/optparse/lib/optparse/shellwords.rb
|
462
|
-
lib/rubygems/optparse/lib/optparse/time.rb
|
463
|
-
lib/rubygems/optparse/lib/optparse/uri.rb
|
464
|
-
lib/rubygems/optparse/lib/optparse/version.rb
|
465
435
|
lib/rubygems/package.rb
|
466
436
|
lib/rubygems/package/digest_io.rb
|
467
437
|
lib/rubygems/package/file_source.rb
|
@@ -489,9 +459,6 @@ lib/rubygems/request_set/lockfile.rb
|
|
489
459
|
lib/rubygems/request_set/lockfile/parser.rb
|
490
460
|
lib/rubygems/request_set/lockfile/tokenizer.rb
|
491
461
|
lib/rubygems/requirement.rb
|
492
|
-
lib/rubygems/resolv/.document
|
493
|
-
lib/rubygems/resolv/LICENSE.txt
|
494
|
-
lib/rubygems/resolv/lib/resolv.rb
|
495
462
|
lib/rubygems/resolver.rb
|
496
463
|
lib/rubygems/resolver/activation_request.rb
|
497
464
|
lib/rubygems/resolver/api_set.rb
|
@@ -511,29 +478,6 @@ lib/rubygems/resolver/installer_set.rb
|
|
511
478
|
lib/rubygems/resolver/local_specification.rb
|
512
479
|
lib/rubygems/resolver/lock_set.rb
|
513
480
|
lib/rubygems/resolver/lock_specification.rb
|
514
|
-
lib/rubygems/resolver/molinillo.rb
|
515
|
-
lib/rubygems/resolver/molinillo/.document
|
516
|
-
lib/rubygems/resolver/molinillo/LICENSE
|
517
|
-
lib/rubygems/resolver/molinillo/lib/molinillo.rb
|
518
|
-
lib/rubygems/resolver/molinillo/lib/molinillo/delegates/resolution_state.rb
|
519
|
-
lib/rubygems/resolver/molinillo/lib/molinillo/delegates/specification_provider.rb
|
520
|
-
lib/rubygems/resolver/molinillo/lib/molinillo/dependency_graph.rb
|
521
|
-
lib/rubygems/resolver/molinillo/lib/molinillo/dependency_graph/action.rb
|
522
|
-
lib/rubygems/resolver/molinillo/lib/molinillo/dependency_graph/add_edge_no_circular.rb
|
523
|
-
lib/rubygems/resolver/molinillo/lib/molinillo/dependency_graph/add_vertex.rb
|
524
|
-
lib/rubygems/resolver/molinillo/lib/molinillo/dependency_graph/delete_edge.rb
|
525
|
-
lib/rubygems/resolver/molinillo/lib/molinillo/dependency_graph/detach_vertex_named.rb
|
526
|
-
lib/rubygems/resolver/molinillo/lib/molinillo/dependency_graph/log.rb
|
527
|
-
lib/rubygems/resolver/molinillo/lib/molinillo/dependency_graph/set_payload.rb
|
528
|
-
lib/rubygems/resolver/molinillo/lib/molinillo/dependency_graph/tag.rb
|
529
|
-
lib/rubygems/resolver/molinillo/lib/molinillo/dependency_graph/vertex.rb
|
530
|
-
lib/rubygems/resolver/molinillo/lib/molinillo/errors.rb
|
531
|
-
lib/rubygems/resolver/molinillo/lib/molinillo/gem_metadata.rb
|
532
|
-
lib/rubygems/resolver/molinillo/lib/molinillo/modules/specification_provider.rb
|
533
|
-
lib/rubygems/resolver/molinillo/lib/molinillo/modules/ui.rb
|
534
|
-
lib/rubygems/resolver/molinillo/lib/molinillo/resolution.rb
|
535
|
-
lib/rubygems/resolver/molinillo/lib/molinillo/resolver.rb
|
536
|
-
lib/rubygems/resolver/molinillo/lib/molinillo/state.rb
|
537
481
|
lib/rubygems/resolver/requirement_list.rb
|
538
482
|
lib/rubygems/resolver/set.rb
|
539
483
|
lib/rubygems/resolver/source_set.rb
|
@@ -573,14 +517,6 @@ lib/rubygems/ssl_certs/rubygems.org/GlobalSignRootCA.pem
|
|
573
517
|
lib/rubygems/ssl_certs/rubygems.org/GlobalSignRootCA_R3.pem
|
574
518
|
lib/rubygems/stub_specification.rb
|
575
519
|
lib/rubygems/text.rb
|
576
|
-
lib/rubygems/timeout.rb
|
577
|
-
lib/rubygems/timeout/.document
|
578
|
-
lib/rubygems/timeout/LICENSE.txt
|
579
|
-
lib/rubygems/timeout/lib/timeout.rb
|
580
|
-
lib/rubygems/tsort.rb
|
581
|
-
lib/rubygems/tsort/.document
|
582
|
-
lib/rubygems/tsort/LICENSE.txt
|
583
|
-
lib/rubygems/tsort/lib/tsort.rb
|
584
520
|
lib/rubygems/uninstaller.rb
|
585
521
|
lib/rubygems/unknown_command_spell_checker.rb
|
586
522
|
lib/rubygems/update_suggestion.rb
|
@@ -591,6 +527,87 @@ lib/rubygems/util.rb
|
|
591
527
|
lib/rubygems/util/licenses.rb
|
592
528
|
lib/rubygems/util/list.rb
|
593
529
|
lib/rubygems/validator.rb
|
530
|
+
lib/rubygems/vendor/molinillo/.document
|
531
|
+
lib/rubygems/vendor/molinillo/LICENSE
|
532
|
+
lib/rubygems/vendor/molinillo/lib/molinillo.rb
|
533
|
+
lib/rubygems/vendor/molinillo/lib/molinillo/delegates/resolution_state.rb
|
534
|
+
lib/rubygems/vendor/molinillo/lib/molinillo/delegates/specification_provider.rb
|
535
|
+
lib/rubygems/vendor/molinillo/lib/molinillo/dependency_graph.rb
|
536
|
+
lib/rubygems/vendor/molinillo/lib/molinillo/dependency_graph/action.rb
|
537
|
+
lib/rubygems/vendor/molinillo/lib/molinillo/dependency_graph/add_edge_no_circular.rb
|
538
|
+
lib/rubygems/vendor/molinillo/lib/molinillo/dependency_graph/add_vertex.rb
|
539
|
+
lib/rubygems/vendor/molinillo/lib/molinillo/dependency_graph/delete_edge.rb
|
540
|
+
lib/rubygems/vendor/molinillo/lib/molinillo/dependency_graph/detach_vertex_named.rb
|
541
|
+
lib/rubygems/vendor/molinillo/lib/molinillo/dependency_graph/log.rb
|
542
|
+
lib/rubygems/vendor/molinillo/lib/molinillo/dependency_graph/set_payload.rb
|
543
|
+
lib/rubygems/vendor/molinillo/lib/molinillo/dependency_graph/tag.rb
|
544
|
+
lib/rubygems/vendor/molinillo/lib/molinillo/dependency_graph/vertex.rb
|
545
|
+
lib/rubygems/vendor/molinillo/lib/molinillo/errors.rb
|
546
|
+
lib/rubygems/vendor/molinillo/lib/molinillo/gem_metadata.rb
|
547
|
+
lib/rubygems/vendor/molinillo/lib/molinillo/modules/specification_provider.rb
|
548
|
+
lib/rubygems/vendor/molinillo/lib/molinillo/modules/ui.rb
|
549
|
+
lib/rubygems/vendor/molinillo/lib/molinillo/resolution.rb
|
550
|
+
lib/rubygems/vendor/molinillo/lib/molinillo/resolver.rb
|
551
|
+
lib/rubygems/vendor/molinillo/lib/molinillo/state.rb
|
552
|
+
lib/rubygems/vendor/net-http/.document
|
553
|
+
lib/rubygems/vendor/net-http/LICENSE.txt
|
554
|
+
lib/rubygems/vendor/net-http/lib/net/http.rb
|
555
|
+
lib/rubygems/vendor/net-http/lib/net/http/backward.rb
|
556
|
+
lib/rubygems/vendor/net-http/lib/net/http/exceptions.rb
|
557
|
+
lib/rubygems/vendor/net-http/lib/net/http/generic_request.rb
|
558
|
+
lib/rubygems/vendor/net-http/lib/net/http/header.rb
|
559
|
+
lib/rubygems/vendor/net-http/lib/net/http/proxy_delta.rb
|
560
|
+
lib/rubygems/vendor/net-http/lib/net/http/request.rb
|
561
|
+
lib/rubygems/vendor/net-http/lib/net/http/requests.rb
|
562
|
+
lib/rubygems/vendor/net-http/lib/net/http/response.rb
|
563
|
+
lib/rubygems/vendor/net-http/lib/net/http/responses.rb
|
564
|
+
lib/rubygems/vendor/net-http/lib/net/http/status.rb
|
565
|
+
lib/rubygems/vendor/net-http/lib/net/https.rb
|
566
|
+
lib/rubygems/vendor/net-protocol/.document
|
567
|
+
lib/rubygems/vendor/net-protocol/LICENSE.txt
|
568
|
+
lib/rubygems/vendor/net-protocol/lib/net/protocol.rb
|
569
|
+
lib/rubygems/vendor/optparse/.document
|
570
|
+
lib/rubygems/vendor/optparse/COPYING
|
571
|
+
lib/rubygems/vendor/optparse/lib/optionparser.rb
|
572
|
+
lib/rubygems/vendor/optparse/lib/optparse.rb
|
573
|
+
lib/rubygems/vendor/optparse/lib/optparse/ac.rb
|
574
|
+
lib/rubygems/vendor/optparse/lib/optparse/date.rb
|
575
|
+
lib/rubygems/vendor/optparse/lib/optparse/kwargs.rb
|
576
|
+
lib/rubygems/vendor/optparse/lib/optparse/shellwords.rb
|
577
|
+
lib/rubygems/vendor/optparse/lib/optparse/time.rb
|
578
|
+
lib/rubygems/vendor/optparse/lib/optparse/uri.rb
|
579
|
+
lib/rubygems/vendor/optparse/lib/optparse/version.rb
|
580
|
+
lib/rubygems/vendor/resolv/.document
|
581
|
+
lib/rubygems/vendor/resolv/LICENSE.txt
|
582
|
+
lib/rubygems/vendor/resolv/lib/resolv.rb
|
583
|
+
lib/rubygems/vendor/timeout/.document
|
584
|
+
lib/rubygems/vendor/timeout/LICENSE.txt
|
585
|
+
lib/rubygems/vendor/timeout/lib/timeout.rb
|
586
|
+
lib/rubygems/vendor/tsort/.document
|
587
|
+
lib/rubygems/vendor/tsort/LICENSE.txt
|
588
|
+
lib/rubygems/vendor/tsort/lib/tsort.rb
|
589
|
+
lib/rubygems/vendor/uri/.document
|
590
|
+
lib/rubygems/vendor/uri/LICENSE.txt
|
591
|
+
lib/rubygems/vendor/uri/lib/uri.rb
|
592
|
+
lib/rubygems/vendor/uri/lib/uri/common.rb
|
593
|
+
lib/rubygems/vendor/uri/lib/uri/file.rb
|
594
|
+
lib/rubygems/vendor/uri/lib/uri/ftp.rb
|
595
|
+
lib/rubygems/vendor/uri/lib/uri/generic.rb
|
596
|
+
lib/rubygems/vendor/uri/lib/uri/http.rb
|
597
|
+
lib/rubygems/vendor/uri/lib/uri/https.rb
|
598
|
+
lib/rubygems/vendor/uri/lib/uri/ldap.rb
|
599
|
+
lib/rubygems/vendor/uri/lib/uri/ldaps.rb
|
600
|
+
lib/rubygems/vendor/uri/lib/uri/mailto.rb
|
601
|
+
lib/rubygems/vendor/uri/lib/uri/rfc2396_parser.rb
|
602
|
+
lib/rubygems/vendor/uri/lib/uri/rfc3986_parser.rb
|
603
|
+
lib/rubygems/vendor/uri/lib/uri/version.rb
|
604
|
+
lib/rubygems/vendor/uri/lib/uri/ws.rb
|
605
|
+
lib/rubygems/vendor/uri/lib/uri/wss.rb
|
606
|
+
lib/rubygems/vendored_molinillo.rb
|
607
|
+
lib/rubygems/vendored_net_http.rb
|
608
|
+
lib/rubygems/vendored_optparse.rb
|
609
|
+
lib/rubygems/vendored_timeout.rb
|
610
|
+
lib/rubygems/vendored_tsort.rb
|
594
611
|
lib/rubygems/version.rb
|
595
612
|
lib/rubygems/version_option.rb
|
596
613
|
lib/rubygems/yaml_serializer.rb
|
data/bundler/CHANGELOG.md
CHANGED
@@ -1,3 +1,36 @@
|
|
1
|
+
# 2.5.7 (March 22, 2024)
|
2
|
+
|
3
|
+
## Deprecations:
|
4
|
+
|
5
|
+
- Deprecate `bundle plugin install --local-git=` [#7048](https://github.com/rubygems/rubygems/pull/7048)
|
6
|
+
|
7
|
+
## Enhancements:
|
8
|
+
|
9
|
+
- Ignore commented out keys in config file [#7514](https://github.com/rubygems/rubygems/pull/7514)
|
10
|
+
- Fix exclusion of `.gemspec` file itself in `bundle gem` generated gemspec file [#7488](https://github.com/rubygems/rubygems/pull/7488)
|
11
|
+
- Remove redundant configs from `bundle gem` generated rubocop configuration [#7478](https://github.com/rubygems/rubygems/pull/7478)
|
12
|
+
- Add `gitlab:` git source shorthand [#7449](https://github.com/rubygems/rubygems/pull/7449)
|
13
|
+
- Use full path for `instance_eval` in `Bundler::DSL#eval_gemfile` [#7471](https://github.com/rubygems/rubygems/pull/7471)
|
14
|
+
|
15
|
+
## Documentation:
|
16
|
+
|
17
|
+
- Use https instead of http in documentation links [#7481](https://github.com/rubygems/rubygems/pull/7481)
|
18
|
+
|
19
|
+
# 2.5.6 (February 6, 2024)
|
20
|
+
|
21
|
+
## Deprecations:
|
22
|
+
|
23
|
+
- Refactor lockfile generation and deprecate `Definition#lock` with explicit lockfile [#7047](https://github.com/rubygems/rubygems/pull/7047)
|
24
|
+
|
25
|
+
## Enhancements:
|
26
|
+
|
27
|
+
- Bump `required_ruby_version` to be used in `bundle gem` template [#7430](https://github.com/rubygems/rubygems/pull/7430)
|
28
|
+
|
29
|
+
## Bug fixes:
|
30
|
+
|
31
|
+
- Fix musl platform not being added to the lockfile [#7441](https://github.com/rubygems/rubygems/pull/7441)
|
32
|
+
- Let `Bundler.with_original_env` properly restore env variables originally empty [#7383](https://github.com/rubygems/rubygems/pull/7383)
|
33
|
+
|
1
34
|
# 2.5.5 (January 18, 2024)
|
2
35
|
|
3
36
|
## Bug fixes:
|
@@ -4,8 +4,8 @@ module Bundler
|
|
4
4
|
# Represents metadata from when the Bundler gem was built.
|
5
5
|
module BuildMetadata
|
6
6
|
# begin ivars
|
7
|
-
@built_at = "2024-
|
8
|
-
@git_commit_sha = "
|
7
|
+
@built_at = "2024-03-22".freeze
|
8
|
+
@git_commit_sha = "199531f621".freeze
|
9
9
|
@release = true
|
10
10
|
# end ivars
|
11
11
|
|
@@ -45,7 +45,7 @@ module Bundler
|
|
45
45
|
next
|
46
46
|
end
|
47
47
|
|
48
|
-
Bundler.settings.temporary(path:
|
48
|
+
Bundler.settings.temporary(path: Bundler.settings[:path] || Bundler.root) do
|
49
49
|
installer.generate_standalone_bundler_executable_stubs(spec, installer_opts)
|
50
50
|
end
|
51
51
|
else
|
@@ -33,8 +33,11 @@ module Bundler
|
|
33
33
|
update = { bundler: bundler }
|
34
34
|
end
|
35
35
|
|
36
|
+
file = options[:lockfile]
|
37
|
+
file = file ? Pathname.new(file).expand_path : Bundler.default_lockfile
|
38
|
+
|
36
39
|
Bundler.settings.temporary(frozen: false) do
|
37
|
-
definition = Bundler.definition(update)
|
40
|
+
definition = Bundler.definition(update, file)
|
38
41
|
|
39
42
|
Bundler::CLI::Common.configure_gem_version_promoter(definition, options) if options[:update]
|
40
43
|
|
@@ -60,10 +63,8 @@ module Bundler
|
|
60
63
|
if print
|
61
64
|
puts definition.to_lock
|
62
65
|
else
|
63
|
-
file = options[:lockfile]
|
64
|
-
file = file ? File.expand_path(file) : Bundler.default_lockfile
|
65
66
|
puts "Writing lockfile to #{file}"
|
66
|
-
definition.lock
|
67
|
+
definition.lock
|
67
68
|
end
|
68
69
|
end
|
69
70
|
|
@@ -5,12 +5,12 @@ module Bundler
|
|
5
5
|
class CLI::Plugin < Thor
|
6
6
|
desc "install PLUGINS", "Install the plugin from the source"
|
7
7
|
long_desc <<-D
|
8
|
-
Install plugins either from the rubygems source provided (with --source option) or from a git source provided with --git
|
8
|
+
Install plugins either from the rubygems source provided (with --source option) or from a git source provided with --git. If no sources are provided, it uses Gem.sources
|
9
9
|
D
|
10
10
|
method_option "source", type: :string, default: nil, banner: "URL of the RubyGems source to fetch the plugin from"
|
11
11
|
method_option "version", type: :string, default: nil, banner: "The version of the plugin to fetch"
|
12
12
|
method_option "git", type: :string, default: nil, banner: "URL of the git repo to fetch from"
|
13
|
-
method_option "local_git", type: :string, default: nil, banner: "Path of the local git repo to fetch from"
|
13
|
+
method_option "local_git", type: :string, default: nil, banner: "Path of the local git repo to fetch from (deprecated)"
|
14
14
|
method_option "branch", type: :string, default: nil, banner: "The git branch to checkout"
|
15
15
|
method_option "ref", type: :string, default: nil, banner: "The git revision to check out"
|
16
16
|
def install(*plugins)
|
data/bundler/lib/bundler/cli.rb
CHANGED
@@ -620,7 +620,7 @@ module Bundler
|
|
620
620
|
method_option "major", type: :boolean, banner: "If updating, prefer updating to next major version (default)"
|
621
621
|
method_option "pre", type: :boolean, banner: "If updating, always choose the highest allowed version, regardless of prerelease status"
|
622
622
|
method_option "strict", type: :boolean, banner: "If updating, do not allow any gem to be updated past latest --patch | --minor | --major"
|
623
|
-
method_option "conservative", type: :boolean, banner:
|
623
|
+
method_option "conservative", type: :boolean, banner: "If updating, use bundle install conservative update behavior and do not allow shared dependencies to be updated"
|
624
624
|
method_option "bundler", type: :string, lazy_default: "> 0.a", banner: "Update the locked version of bundler"
|
625
625
|
def lock
|
626
626
|
require_relative "cli/lock"
|
@@ -785,7 +785,7 @@ module Bundler
|
|
785
785
|
return unless SharedHelpers.md5_available?
|
786
786
|
|
787
787
|
latest = Fetcher::CompactIndex.
|
788
|
-
new(nil, Source::Rubygems::Remote.new(
|
788
|
+
new(nil, Source::Rubygems::Remote.new(Gem::URI("https://rubygems.org")), nil, nil).
|
789
789
|
send(:compact_index_client).
|
790
790
|
instance_variable_get(:@cache).
|
791
791
|
dependencies("bundler").
|
@@ -320,38 +320,26 @@ module Bundler
|
|
320
320
|
dependencies.map(&:groups).flatten.uniq
|
321
321
|
end
|
322
322
|
|
323
|
-
def lock(
|
324
|
-
|
325
|
-
|
326
|
-
|
327
|
-
|
328
|
-
|
329
|
-
|
330
|
-
contents.gsub!(/\n/, "\r\n") if @lockfile_contents.match?("\r\n")
|
331
|
-
|
332
|
-
if @locked_bundler_version
|
333
|
-
locked_major = @locked_bundler_version.segments.first
|
334
|
-
current_major = bundler_version_to_lock.segments.first
|
335
|
-
|
336
|
-
updating_major = locked_major < current_major
|
337
|
-
end
|
323
|
+
def lock(file_or_preserve_unknown_sections = false, preserve_unknown_sections_or_unused = false)
|
324
|
+
if [true, false, nil].include?(file_or_preserve_unknown_sections)
|
325
|
+
target_lockfile = lockfile || Bundler.default_lockfile
|
326
|
+
preserve_unknown_sections = file_or_preserve_unknown_sections
|
327
|
+
else
|
328
|
+
target_lockfile = file_or_preserve_unknown_sections
|
329
|
+
preserve_unknown_sections = preserve_unknown_sections_or_unused
|
338
330
|
|
339
|
-
|
331
|
+
suggestion = if target_lockfile == lockfile
|
332
|
+
"To fix this warning, remove it from the `Definition#lock` call."
|
333
|
+
else
|
334
|
+
"Instead, instantiate a new definition passing `#{target_lockfile}`, and call `lock` without a file argument on that definition"
|
335
|
+
end
|
340
336
|
|
341
|
-
|
342
|
-
return if Bundler.frozen_bundle?
|
343
|
-
SharedHelpers.filesystem_access(file) { FileUtils.touch(file) }
|
344
|
-
return
|
345
|
-
end
|
337
|
+
msg = "`Definition#lock` was passed a target file argument. #{suggestion}"
|
346
338
|
|
347
|
-
|
348
|
-
Bundler.ui.error "Cannot write a changed lockfile while frozen."
|
349
|
-
return
|
339
|
+
Bundler::SharedHelpers.major_deprecation 2, msg
|
350
340
|
end
|
351
341
|
|
352
|
-
|
353
|
-
File.open(p, "wb") {|f| f.puts(contents) }
|
354
|
-
end
|
342
|
+
write_lock(target_lockfile, preserve_unknown_sections)
|
355
343
|
end
|
356
344
|
|
357
345
|
def locked_ruby_version
|
@@ -518,7 +506,45 @@ module Bundler
|
|
518
506
|
end
|
519
507
|
|
520
508
|
def lockfile_exists?
|
521
|
-
|
509
|
+
file_exists?(lockfile)
|
510
|
+
end
|
511
|
+
|
512
|
+
def file_exists?(file)
|
513
|
+
file && File.exist?(file)
|
514
|
+
end
|
515
|
+
|
516
|
+
def write_lock(file, preserve_unknown_sections)
|
517
|
+
return if Definition.no_lock
|
518
|
+
|
519
|
+
contents = to_lock
|
520
|
+
|
521
|
+
# Convert to \r\n if the existing lock has them
|
522
|
+
# i.e., Windows with `git config core.autocrlf=true`
|
523
|
+
contents.gsub!(/\n/, "\r\n") if @lockfile_contents.match?("\r\n")
|
524
|
+
|
525
|
+
if @locked_bundler_version
|
526
|
+
locked_major = @locked_bundler_version.segments.first
|
527
|
+
current_major = bundler_version_to_lock.segments.first
|
528
|
+
|
529
|
+
updating_major = locked_major < current_major
|
530
|
+
end
|
531
|
+
|
532
|
+
preserve_unknown_sections ||= !updating_major && (Bundler.frozen_bundle? || !(unlocking? || @unlocking_bundler))
|
533
|
+
|
534
|
+
if file_exists?(file) && lockfiles_equal?(@lockfile_contents, contents, preserve_unknown_sections)
|
535
|
+
return if Bundler.frozen_bundle?
|
536
|
+
SharedHelpers.filesystem_access(file) { FileUtils.touch(file) }
|
537
|
+
return
|
538
|
+
end
|
539
|
+
|
540
|
+
if Bundler.frozen_bundle?
|
541
|
+
Bundler.ui.error "Cannot write a changed lockfile while frozen."
|
542
|
+
return
|
543
|
+
end
|
544
|
+
|
545
|
+
SharedHelpers.filesystem_access(file) do |p|
|
546
|
+
File.open(p, "wb") {|f| f.puts(contents) }
|
547
|
+
end
|
522
548
|
end
|
523
549
|
|
524
550
|
def resolver
|
data/bundler/lib/bundler/dsl.rb
CHANGED
@@ -19,6 +19,7 @@ module Bundler
|
|
19
19
|
platform platforms type source install_if gemfile force_ruby_platform].freeze
|
20
20
|
|
21
21
|
GITHUB_PULL_REQUEST_URL = %r{\Ahttps://github\.com/([A-Za-z0-9_\-\.]+/[A-Za-z0-9_\-\.]+)/pull/(\d+)\z}
|
22
|
+
GITLAB_MERGE_REQUEST_URL = %r{\Ahttps://gitlab\.com/([A-Za-z0-9_\-\./]+)/-/merge_requests/(\d+)\z}
|
22
23
|
|
23
24
|
attr_reader :gemspecs, :gemfile
|
24
25
|
attr_accessor :dependencies
|
@@ -46,7 +47,7 @@ module Bundler
|
|
46
47
|
@gemfile = expanded_gemfile_path
|
47
48
|
@gemfiles << expanded_gemfile_path
|
48
49
|
contents ||= Bundler.read_file(@gemfile.to_s)
|
49
|
-
instance_eval(contents, gemfile.to_s, 1)
|
50
|
+
instance_eval(contents, @gemfile.to_s, 1)
|
50
51
|
rescue Exception => e # rubocop:disable Lint/RescueException
|
51
52
|
message = "There was an error " \
|
52
53
|
"#{e.is_a?(GemfileEvalError) ? "evaluating" : "parsing"} " \
|
@@ -308,6 +309,20 @@ module Bundler
|
|
308
309
|
repo_name ||= user_name
|
309
310
|
"https://#{user_name}@bitbucket.org/#{user_name}/#{repo_name}.git"
|
310
311
|
end
|
312
|
+
|
313
|
+
git_source(:gitlab) do |repo_name|
|
314
|
+
if repo_name =~ GITLAB_MERGE_REQUEST_URL
|
315
|
+
{
|
316
|
+
"git" => "https://gitlab.com/#{$1}.git",
|
317
|
+
"branch" => nil,
|
318
|
+
"ref" => "refs/merge-requests/#{$2}/head",
|
319
|
+
"tag" => nil,
|
320
|
+
}
|
321
|
+
else
|
322
|
+
repo_name = "#{repo_name}/#{repo_name}" unless repo_name.include?("/")
|
323
|
+
"https://gitlab.com/#{repo_name}.git"
|
324
|
+
end
|
325
|
+
end
|
311
326
|
end
|
312
327
|
|
313
328
|
def with_source(source)
|
@@ -58,9 +58,9 @@ module Bundler
|
|
58
58
|
env = @original.clone
|
59
59
|
@keys.each do |key|
|
60
60
|
value = env[key]
|
61
|
-
if !value.nil?
|
61
|
+
if !value.nil?
|
62
62
|
env[@prefix + key] ||= value
|
63
|
-
|
63
|
+
else
|
64
64
|
env[@prefix + key] ||= INTENTIONALLY_NIL
|
65
65
|
end
|
66
66
|
end
|
@@ -72,7 +72,7 @@ module Bundler
|
|
72
72
|
env = @original.clone
|
73
73
|
@keys.each do |key|
|
74
74
|
value_original = env[@prefix + key]
|
75
|
-
next if value_original.nil?
|
75
|
+
next if value_original.nil?
|
76
76
|
if value_original == INTENTIONALLY_NIL
|
77
77
|
env.delete(key)
|
78
78
|
else
|
@@ -23,7 +23,7 @@ module Bundler
|
|
23
23
|
when Gem::Net::HTTPSuccess, Gem::Net::HTTPNotModified
|
24
24
|
response
|
25
25
|
when Gem::Net::HTTPRedirection
|
26
|
-
new_uri =
|
26
|
+
new_uri = Gem::URI.parse(response["location"])
|
27
27
|
if new_uri.host == uri.host
|
28
28
|
new_uri.user = uri.user
|
29
29
|
new_uri.password = uri.password
|
@@ -111,7 +111,7 @@ module Bundler
|
|
111
111
|
spec -= [nil, "ruby", ""]
|
112
112
|
spec_file_name = "#{spec.join "-"}.gemspec"
|
113
113
|
|
114
|
-
uri =
|
114
|
+
uri = Gem::URI.parse("#{remote_uri}#{Gem::MARSHAL_SPEC_DIR}#{spec_file_name}.rz")
|
115
115
|
spec = if uri.scheme == "file"
|
116
116
|
path = Gem::Util.correct_for_windows_path(uri.path)
|
117
117
|
Bundler.safe_load_marshal Bundler.rubygems.inflate(Gem.read_binary(path))
|
@@ -255,7 +255,7 @@ module Bundler
|
|
255
255
|
|
256
256
|
con = Gem::Net::HTTP::Persistent.new name: "bundler", proxy: :ENV
|
257
257
|
if gem_proxy = Gem.configuration[:http_proxy]
|
258
|
-
con.proxy =
|
258
|
+
con.proxy = Gem::URI.parse(gem_proxy) if gem_proxy != :no_proxy
|
259
259
|
end
|
260
260
|
|
261
261
|
if remote_uri.scheme == "https"
|
@@ -50,7 +50,7 @@ module Bundler
|
|
50
50
|
append_to(gemfile_path, build_gem_lines(@options[:conservative_versioning])) if @deps.any?
|
51
51
|
|
52
52
|
# since we resolved successfully, write out the lockfile
|
53
|
-
@definition.lock
|
53
|
+
@definition.lock
|
54
54
|
|
55
55
|
# invalidate the cached Bundler.definition
|
56
56
|
Bundler.reset_paths!
|
@@ -1,6 +1,6 @@
|
|
1
1
|
.\" generated with nRonn/v0.11.1
|
2
2
|
.\" https://github.com/n-ronn/nronn/tree/0.11.1
|
3
|
-
.TH "BUNDLE\-BINSTUBS" "1" "
|
3
|
+
.TH "BUNDLE\-BINSTUBS" "1" "February 2024" ""
|
4
4
|
.SH "NAME"
|
5
5
|
\fBbundle\-binstubs\fR \- Install the binstubs of the listed gems
|
6
6
|
.SH "SYNOPSIS"
|
@@ -1,6 +1,6 @@
|
|
1
1
|
.\" generated with nRonn/v0.11.1
|
2
2
|
.\" https://github.com/n-ronn/nronn/tree/0.11.1
|
3
|
-
.TH "BUNDLE\-CACHE" "1" "
|
3
|
+
.TH "BUNDLE\-CACHE" "1" "February 2024" ""
|
4
4
|
.SH "NAME"
|
5
5
|
\fBbundle\-cache\fR \- Package your needed \fB\.gem\fR files into your application
|
6
6
|
.SH "SYNOPSIS"
|
@@ -1,6 +1,6 @@
|
|
1
1
|
.\" generated with nRonn/v0.11.1
|
2
2
|
.\" https://github.com/n-ronn/nronn/tree/0.11.1
|
3
|
-
.TH "BUNDLE\-CHECK" "1" "
|
3
|
+
.TH "BUNDLE\-CHECK" "1" "February 2024" ""
|
4
4
|
.SH "NAME"
|
5
5
|
\fBbundle\-check\fR \- Verifies if dependencies are satisfied by installed gems
|
6
6
|
.SH "SYNOPSIS"
|
@@ -1,6 +1,6 @@
|
|
1
1
|
.\" generated with nRonn/v0.11.1
|
2
2
|
.\" https://github.com/n-ronn/nronn/tree/0.11.1
|
3
|
-
.TH "BUNDLE\-CLEAN" "1" "
|
3
|
+
.TH "BUNDLE\-CLEAN" "1" "February 2024" ""
|
4
4
|
.SH "NAME"
|
5
5
|
\fBbundle\-clean\fR \- Cleans up unused gems in your bundler directory
|
6
6
|
.SH "SYNOPSIS"
|