rubygems-update 3.5.5 → 3.5.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +107 -0
- data/Manifest.txt +84 -64
- data/POLICIES.md +75 -6
- data/bundler/CHANGELOG.md +75 -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 +3 -2
- data/bundler/lib/bundler/cli.rb +7 -24
- data/bundler/lib/bundler/definition.rb +111 -56
- data/bundler/lib/bundler/dependency.rb +2 -1
- data/bundler/lib/bundler/dsl.rb +16 -1
- data/bundler/lib/bundler/environment_preserver.rb +5 -23
- data/bundler/lib/bundler/fetcher/downloader.rb +1 -1
- data/bundler/lib/bundler/fetcher.rb +2 -2
- data/bundler/lib/bundler/gem_version_promoter.rb +42 -38
- data/bundler/lib/bundler/injector.rb +3 -2
- 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 +3 -1
- data/bundler/lib/bundler/man/bundle-check.1.ronn +3 -0
- data/bundler/lib/bundler/man/bundle-clean.1 +1 -1
- data/bundler/lib/bundler/man/bundle-config.1 +1 -3
- data/bundler/lib/bundler/man/bundle-config.1.ronn +0 -3
- 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 +7 -4
- data/bundler/lib/bundler/man/bundle-plugin.1.ronn +7 -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/path.rb +18 -0
- data/bundler/lib/bundler/plugin/installer.rb +36 -16
- data/bundler/lib/bundler/plugin/source_list.rb +4 -4
- data/bundler/lib/bundler/resolver/candidate.rb +1 -1
- data/bundler/lib/bundler/resolver.rb +54 -24
- data/bundler/lib/bundler/rubygems_ext.rb +12 -0
- data/bundler/lib/bundler/runtime.rb +1 -1
- data/bundler/lib/bundler/self_manager.rb +1 -1
- data/bundler/lib/bundler/settings.rb +14 -12
- data/bundler/lib/bundler/setup.rb +3 -0
- 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 +7 -20
- data/bundler/lib/bundler/source_list.rb +17 -4
- 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 +23 -2
- data/lib/rubygems/command.rb +1 -1
- data/lib/rubygems/command_manager.rb +2 -1
- data/lib/rubygems/commands/build_command.rb +2 -11
- data/lib/rubygems/commands/help_command.rb +2 -2
- data/lib/rubygems/commands/rdoc_command.rb +1 -8
- data/lib/rubygems/commands/rebuild_command.rb +264 -0
- data/lib/rubygems/commands/sources_command.rb +2 -2
- data/lib/rubygems/commands/update_command.rb +8 -9
- data/lib/rubygems/config_file.rb +20 -8
- 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/deprecate.rb +79 -77
- data/lib/rubygems/ext/cargo_builder.rb +1 -1
- data/lib/rubygems/gemcutter_utilities/webauthn_listener.rb +1 -1
- data/lib/rubygems/gemcutter_utilities/webauthn_poller.rb +3 -1
- data/lib/rubygems/gemcutter_utilities.rb +40 -23
- data/lib/rubygems/gemspec_helpers.rb +19 -0
- data/lib/rubygems/local_remote_options.rb +6 -6
- data/lib/rubygems/package.rb +13 -7
- 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/spec_specification.rb +7 -0
- 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 +90 -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: 97ec064ecaff6444c3f5d4886ab9f26d8816ecbfd69bde14cc9d9748fd5216ca
|
4
|
+
data.tar.gz: 8faa5fd2aff20db824858c72c8630330d756a0c1ed4be3ebed776f34312d78a7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: efd2a5427612ce3ba3752fabb0b8bb3896fc39bcbbec9b96b901cae4ea1f11b074865a5a1d1a2d648b6557a0cd8bca53701ad9479f2b2d9492da0f58bdfb20d0
|
7
|
+
data.tar.gz: 9cc9ec7254e49127dbf7f48c1d052ff86195075e09d7e59b0ed5d053233fd7e1f0dffc5ba7def7f5d3e71102d8efbcabac0616c0e47caef385bf96fe18012a50
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,110 @@
|
|
1
|
+
# 3.5.10 / 2024-05-03
|
2
|
+
|
3
|
+
## Security:
|
4
|
+
|
5
|
+
* Add a limit to the size of the metadata and checksums files in a gem
|
6
|
+
package. Pull request
|
7
|
+
[#7568](https://github.com/rubygems/rubygems/pull/7568) by segiddins
|
8
|
+
|
9
|
+
## Enhancements:
|
10
|
+
|
11
|
+
* Don't fully require `rubygems` from `rubygems/package` to prevent some
|
12
|
+
circular require warnings when using Bundler. Pull request
|
13
|
+
[#7612](https://github.com/rubygems/rubygems/pull/7612) by
|
14
|
+
deivid-rodriguez
|
15
|
+
* Installs bundler 2.5.10 as a default gem.
|
16
|
+
|
17
|
+
## Bug fixes:
|
18
|
+
|
19
|
+
* Rename credential email to identifier in WebAuthn poller. Pull request
|
20
|
+
[#7623](https://github.com/rubygems/rubygems/pull/7623) by jenshenny
|
21
|
+
|
22
|
+
# 3.5.9 / 2024-04-12
|
23
|
+
|
24
|
+
## Enhancements:
|
25
|
+
|
26
|
+
* Installs bundler 2.5.9 as a default gem.
|
27
|
+
|
28
|
+
# 3.5.8 / 2024-04-11
|
29
|
+
|
30
|
+
## Security:
|
31
|
+
|
32
|
+
* Respect global umask when writing regular files. Pull request
|
33
|
+
[#7518](https://github.com/rubygems/rubygems/pull/7518) by
|
34
|
+
deivid-rodriguez
|
35
|
+
|
36
|
+
## Enhancements:
|
37
|
+
|
38
|
+
* Allow string keys with gemrc. Pull request
|
39
|
+
[#7543](https://github.com/rubygems/rubygems/pull/7543) by hsbt
|
40
|
+
* [Experimental] Add "gem rebuild" command. Pull request
|
41
|
+
[#4913](https://github.com/rubygems/rubygems/pull/4913) by duckinator
|
42
|
+
* Installs bundler 2.5.8 as a default gem.
|
43
|
+
|
44
|
+
## Bug fixes:
|
45
|
+
|
46
|
+
* Fix NoMethodError crash when building errors about corrupt package
|
47
|
+
files. Pull request
|
48
|
+
[#7539](https://github.com/rubygems/rubygems/pull/7539) by jez
|
49
|
+
* Fix resolver to properly intersect Arrays of `Gem::Resolver::Activation`
|
50
|
+
objects. Pull request
|
51
|
+
[#7537](https://github.com/rubygems/rubygems/pull/7537) by
|
52
|
+
deivid-rodriguez
|
53
|
+
|
54
|
+
# 3.5.7 / 2024-03-22
|
55
|
+
|
56
|
+
## Enhancements:
|
57
|
+
|
58
|
+
* Warn on empty or open required_ruby_version specification attribute.
|
59
|
+
Pull request [#5010](https://github.com/rubygems/rubygems/pull/5010) by
|
60
|
+
simi
|
61
|
+
* Control whether YAML aliases are enabled in Gem::SafeYAML.safe_load via
|
62
|
+
attribute. Pull request
|
63
|
+
[#7464](https://github.com/rubygems/rubygems/pull/7464) by segiddins
|
64
|
+
* Update SPDX license list as of 2024-02-08. Pull request
|
65
|
+
[#7468](https://github.com/rubygems/rubygems/pull/7468) by
|
66
|
+
github-actions[bot]
|
67
|
+
* Installs bundler 2.5.7 as a default gem.
|
68
|
+
|
69
|
+
## Bug fixes:
|
70
|
+
|
71
|
+
* Allow prerelease activation (even if requirement is not explicit about
|
72
|
+
it) when it's the only possibility. Pull request
|
73
|
+
[#7428](https://github.com/rubygems/rubygems/pull/7428) by kimesf
|
74
|
+
|
75
|
+
## Documentation:
|
76
|
+
|
77
|
+
* Fix a typo. Pull request
|
78
|
+
[#7505](https://github.com/rubygems/rubygems/pull/7505) by hsbt
|
79
|
+
* Use https instead of http in documentation links. Pull request
|
80
|
+
[#7481](https://github.com/rubygems/rubygems/pull/7481) by hsbt
|
81
|
+
|
82
|
+
# 3.5.6 / 2024-02-06
|
83
|
+
|
84
|
+
## Enhancements:
|
85
|
+
|
86
|
+
* Deep copy requirements in `Gem::Specification` and `Gem::Requirement`.
|
87
|
+
Pull request [#7439](https://github.com/rubygems/rubygems/pull/7439) by
|
88
|
+
flavorjones
|
89
|
+
* Change gem login message to clear up that username can be also used.
|
90
|
+
Pull request [#7422](https://github.com/rubygems/rubygems/pull/7422) by
|
91
|
+
VitaliySerov
|
92
|
+
* Add metadata for rubygems.org. Pull request
|
93
|
+
[#7435](https://github.com/rubygems/rubygems/pull/7435) by m-nakamura145
|
94
|
+
* Improve gem login scope selection. Pull request
|
95
|
+
[#7342](https://github.com/rubygems/rubygems/pull/7342) by williantenfen
|
96
|
+
* Vendor uri in RubyGems. Pull request
|
97
|
+
[#7386](https://github.com/rubygems/rubygems/pull/7386) by
|
98
|
+
deivid-rodriguez
|
99
|
+
* Installs bundler 2.5.6 as a default gem.
|
100
|
+
|
101
|
+
## Bug fixes:
|
102
|
+
|
103
|
+
* Skip to load commented out words. Pull request
|
104
|
+
[#7413](https://github.com/rubygems/rubygems/pull/7413) by hsbt
|
105
|
+
* Fix rake runtime dependency warning for rake based extension. Pull
|
106
|
+
request [#7395](https://github.com/rubygems/rubygems/pull/7395) by ntkme
|
107
|
+
|
1
108
|
# 3.5.5 / 2024-01-18
|
2
109
|
|
3
110
|
## Enhancements:
|
data/Manifest.txt
CHANGED
@@ -164,6 +164,7 @@ bundler/lib/bundler/plugin/events.rb
|
|
164
164
|
bundler/lib/bundler/plugin/index.rb
|
165
165
|
bundler/lib/bundler/plugin/installer.rb
|
166
166
|
bundler/lib/bundler/plugin/installer/git.rb
|
167
|
+
bundler/lib/bundler/plugin/installer/path.rb
|
167
168
|
bundler/lib/bundler/plugin/installer/rubygems.rb
|
168
169
|
bundler/lib/bundler/plugin/source_list.rb
|
169
170
|
bundler/lib/bundler/process_lock.rb
|
@@ -383,6 +384,7 @@ lib/rubygems/commands/pristine_command.rb
|
|
383
384
|
lib/rubygems/commands/push_command.rb
|
384
385
|
lib/rubygems/commands/query_command.rb
|
385
386
|
lib/rubygems/commands/rdoc_command.rb
|
387
|
+
lib/rubygems/commands/rebuild_command.rb
|
386
388
|
lib/rubygems/commands/search_command.rb
|
387
389
|
lib/rubygems/commands/server_command.rb
|
388
390
|
lib/rubygems/commands/setup_command.rb
|
@@ -424,6 +426,7 @@ lib/rubygems/gemcutter_utilities.rb
|
|
424
426
|
lib/rubygems/gemcutter_utilities/webauthn_listener.rb
|
425
427
|
lib/rubygems/gemcutter_utilities/webauthn_listener/response.rb
|
426
428
|
lib/rubygems/gemcutter_utilities/webauthn_poller.rb
|
429
|
+
lib/rubygems/gemspec_helpers.rb
|
427
430
|
lib/rubygems/install_default_message.rb
|
428
431
|
lib/rubygems/install_message.rb
|
429
432
|
lib/rubygems/install_update_options.rb
|
@@ -431,37 +434,7 @@ lib/rubygems/installer.rb
|
|
431
434
|
lib/rubygems/installer_uninstaller_utils.rb
|
432
435
|
lib/rubygems/local_remote_options.rb
|
433
436
|
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
437
|
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
438
|
lib/rubygems/package.rb
|
466
439
|
lib/rubygems/package/digest_io.rb
|
467
440
|
lib/rubygems/package/file_source.rb
|
@@ -489,9 +462,6 @@ lib/rubygems/request_set/lockfile.rb
|
|
489
462
|
lib/rubygems/request_set/lockfile/parser.rb
|
490
463
|
lib/rubygems/request_set/lockfile/tokenizer.rb
|
491
464
|
lib/rubygems/requirement.rb
|
492
|
-
lib/rubygems/resolv/.document
|
493
|
-
lib/rubygems/resolv/LICENSE.txt
|
494
|
-
lib/rubygems/resolv/lib/resolv.rb
|
495
465
|
lib/rubygems/resolver.rb
|
496
466
|
lib/rubygems/resolver/activation_request.rb
|
497
467
|
lib/rubygems/resolver/api_set.rb
|
@@ -511,29 +481,6 @@ lib/rubygems/resolver/installer_set.rb
|
|
511
481
|
lib/rubygems/resolver/local_specification.rb
|
512
482
|
lib/rubygems/resolver/lock_set.rb
|
513
483
|
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
484
|
lib/rubygems/resolver/requirement_list.rb
|
538
485
|
lib/rubygems/resolver/set.rb
|
539
486
|
lib/rubygems/resolver/source_set.rb
|
@@ -573,14 +520,6 @@ lib/rubygems/ssl_certs/rubygems.org/GlobalSignRootCA.pem
|
|
573
520
|
lib/rubygems/ssl_certs/rubygems.org/GlobalSignRootCA_R3.pem
|
574
521
|
lib/rubygems/stub_specification.rb
|
575
522
|
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
523
|
lib/rubygems/uninstaller.rb
|
585
524
|
lib/rubygems/unknown_command_spell_checker.rb
|
586
525
|
lib/rubygems/update_suggestion.rb
|
@@ -591,6 +530,87 @@ lib/rubygems/util.rb
|
|
591
530
|
lib/rubygems/util/licenses.rb
|
592
531
|
lib/rubygems/util/list.rb
|
593
532
|
lib/rubygems/validator.rb
|
533
|
+
lib/rubygems/vendor/molinillo/.document
|
534
|
+
lib/rubygems/vendor/molinillo/LICENSE
|
535
|
+
lib/rubygems/vendor/molinillo/lib/molinillo.rb
|
536
|
+
lib/rubygems/vendor/molinillo/lib/molinillo/delegates/resolution_state.rb
|
537
|
+
lib/rubygems/vendor/molinillo/lib/molinillo/delegates/specification_provider.rb
|
538
|
+
lib/rubygems/vendor/molinillo/lib/molinillo/dependency_graph.rb
|
539
|
+
lib/rubygems/vendor/molinillo/lib/molinillo/dependency_graph/action.rb
|
540
|
+
lib/rubygems/vendor/molinillo/lib/molinillo/dependency_graph/add_edge_no_circular.rb
|
541
|
+
lib/rubygems/vendor/molinillo/lib/molinillo/dependency_graph/add_vertex.rb
|
542
|
+
lib/rubygems/vendor/molinillo/lib/molinillo/dependency_graph/delete_edge.rb
|
543
|
+
lib/rubygems/vendor/molinillo/lib/molinillo/dependency_graph/detach_vertex_named.rb
|
544
|
+
lib/rubygems/vendor/molinillo/lib/molinillo/dependency_graph/log.rb
|
545
|
+
lib/rubygems/vendor/molinillo/lib/molinillo/dependency_graph/set_payload.rb
|
546
|
+
lib/rubygems/vendor/molinillo/lib/molinillo/dependency_graph/tag.rb
|
547
|
+
lib/rubygems/vendor/molinillo/lib/molinillo/dependency_graph/vertex.rb
|
548
|
+
lib/rubygems/vendor/molinillo/lib/molinillo/errors.rb
|
549
|
+
lib/rubygems/vendor/molinillo/lib/molinillo/gem_metadata.rb
|
550
|
+
lib/rubygems/vendor/molinillo/lib/molinillo/modules/specification_provider.rb
|
551
|
+
lib/rubygems/vendor/molinillo/lib/molinillo/modules/ui.rb
|
552
|
+
lib/rubygems/vendor/molinillo/lib/molinillo/resolution.rb
|
553
|
+
lib/rubygems/vendor/molinillo/lib/molinillo/resolver.rb
|
554
|
+
lib/rubygems/vendor/molinillo/lib/molinillo/state.rb
|
555
|
+
lib/rubygems/vendor/net-http/.document
|
556
|
+
lib/rubygems/vendor/net-http/LICENSE.txt
|
557
|
+
lib/rubygems/vendor/net-http/lib/net/http.rb
|
558
|
+
lib/rubygems/vendor/net-http/lib/net/http/backward.rb
|
559
|
+
lib/rubygems/vendor/net-http/lib/net/http/exceptions.rb
|
560
|
+
lib/rubygems/vendor/net-http/lib/net/http/generic_request.rb
|
561
|
+
lib/rubygems/vendor/net-http/lib/net/http/header.rb
|
562
|
+
lib/rubygems/vendor/net-http/lib/net/http/proxy_delta.rb
|
563
|
+
lib/rubygems/vendor/net-http/lib/net/http/request.rb
|
564
|
+
lib/rubygems/vendor/net-http/lib/net/http/requests.rb
|
565
|
+
lib/rubygems/vendor/net-http/lib/net/http/response.rb
|
566
|
+
lib/rubygems/vendor/net-http/lib/net/http/responses.rb
|
567
|
+
lib/rubygems/vendor/net-http/lib/net/http/status.rb
|
568
|
+
lib/rubygems/vendor/net-http/lib/net/https.rb
|
569
|
+
lib/rubygems/vendor/net-protocol/.document
|
570
|
+
lib/rubygems/vendor/net-protocol/LICENSE.txt
|
571
|
+
lib/rubygems/vendor/net-protocol/lib/net/protocol.rb
|
572
|
+
lib/rubygems/vendor/optparse/.document
|
573
|
+
lib/rubygems/vendor/optparse/COPYING
|
574
|
+
lib/rubygems/vendor/optparse/lib/optionparser.rb
|
575
|
+
lib/rubygems/vendor/optparse/lib/optparse.rb
|
576
|
+
lib/rubygems/vendor/optparse/lib/optparse/ac.rb
|
577
|
+
lib/rubygems/vendor/optparse/lib/optparse/date.rb
|
578
|
+
lib/rubygems/vendor/optparse/lib/optparse/kwargs.rb
|
579
|
+
lib/rubygems/vendor/optparse/lib/optparse/shellwords.rb
|
580
|
+
lib/rubygems/vendor/optparse/lib/optparse/time.rb
|
581
|
+
lib/rubygems/vendor/optparse/lib/optparse/uri.rb
|
582
|
+
lib/rubygems/vendor/optparse/lib/optparse/version.rb
|
583
|
+
lib/rubygems/vendor/resolv/.document
|
584
|
+
lib/rubygems/vendor/resolv/LICENSE.txt
|
585
|
+
lib/rubygems/vendor/resolv/lib/resolv.rb
|
586
|
+
lib/rubygems/vendor/timeout/.document
|
587
|
+
lib/rubygems/vendor/timeout/LICENSE.txt
|
588
|
+
lib/rubygems/vendor/timeout/lib/timeout.rb
|
589
|
+
lib/rubygems/vendor/tsort/.document
|
590
|
+
lib/rubygems/vendor/tsort/LICENSE.txt
|
591
|
+
lib/rubygems/vendor/tsort/lib/tsort.rb
|
592
|
+
lib/rubygems/vendor/uri/.document
|
593
|
+
lib/rubygems/vendor/uri/LICENSE.txt
|
594
|
+
lib/rubygems/vendor/uri/lib/uri.rb
|
595
|
+
lib/rubygems/vendor/uri/lib/uri/common.rb
|
596
|
+
lib/rubygems/vendor/uri/lib/uri/file.rb
|
597
|
+
lib/rubygems/vendor/uri/lib/uri/ftp.rb
|
598
|
+
lib/rubygems/vendor/uri/lib/uri/generic.rb
|
599
|
+
lib/rubygems/vendor/uri/lib/uri/http.rb
|
600
|
+
lib/rubygems/vendor/uri/lib/uri/https.rb
|
601
|
+
lib/rubygems/vendor/uri/lib/uri/ldap.rb
|
602
|
+
lib/rubygems/vendor/uri/lib/uri/ldaps.rb
|
603
|
+
lib/rubygems/vendor/uri/lib/uri/mailto.rb
|
604
|
+
lib/rubygems/vendor/uri/lib/uri/rfc2396_parser.rb
|
605
|
+
lib/rubygems/vendor/uri/lib/uri/rfc3986_parser.rb
|
606
|
+
lib/rubygems/vendor/uri/lib/uri/version.rb
|
607
|
+
lib/rubygems/vendor/uri/lib/uri/ws.rb
|
608
|
+
lib/rubygems/vendor/uri/lib/uri/wss.rb
|
609
|
+
lib/rubygems/vendored_molinillo.rb
|
610
|
+
lib/rubygems/vendored_net_http.rb
|
611
|
+
lib/rubygems/vendored_optparse.rb
|
612
|
+
lib/rubygems/vendored_timeout.rb
|
613
|
+
lib/rubygems/vendored_tsort.rb
|
594
614
|
lib/rubygems/version.rb
|
595
615
|
lib/rubygems/version_option.rb
|
596
616
|
lib/rubygems/yaml_serializer.rb
|
data/POLICIES.md
CHANGED
@@ -65,6 +65,59 @@ Bundler:
|
|
65
65
|
have to work on weekends.
|
66
66
|
* Continue with the regular release process below.
|
67
67
|
|
68
|
+
### Branching
|
69
|
+
|
70
|
+
Bundler releases are synchronized with rubygems releases at the moment. That
|
71
|
+
means that releases for both share the same stable branch, and they should
|
72
|
+
generally happen together.
|
73
|
+
|
74
|
+
The current conventional naming for stable branches is `x+1.y`, where `x.y` is
|
75
|
+
the version of `bundler` that will be released. This is because `rubygems-x+1.y`
|
76
|
+
will be released at the same time.
|
77
|
+
|
78
|
+
For example, `rubygems-3.2.0` and `bundler-2.2.0` were both released from the
|
79
|
+
`3.2` stable branch.
|
80
|
+
|
81
|
+
Once a stable branch has been cut from `master`, changes for that minor release
|
82
|
+
series are only made _intentionally_, via patch releases. That is to say,
|
83
|
+
changes to `master` by default _won't_ make their way into the current stable
|
84
|
+
branch, and development on `master` will be targeting the next minor
|
85
|
+
or major release.
|
86
|
+
|
87
|
+
There is a `rake prepare_release[<target_rubygems_version>]` rake task
|
88
|
+
that helps with creating a release. It takes a single argument, the _exact
|
89
|
+
rubygems release_ being made (e.g. `3.2.3` when releasing bundler `2.2.3`).
|
90
|
+
This task checks out the appropriate stable branch (`3.2`, for example), grabs
|
91
|
+
all merged but unreleased PRs from both bundler & rubygems from GitHub that are
|
92
|
+
compatible with the target release level, and then cherry-picks those changes
|
93
|
+
(and only those changes) to a new branch based off the stable branch. Then bumps
|
94
|
+
the version in all version files, synchronizes both changelogs to include all
|
95
|
+
backported changes and commits that change on top of the cherry-picks.
|
96
|
+
|
97
|
+
Note that this task requires all user facing pull requests to be tagged with
|
98
|
+
specific labels. See [Merging a PR](/bundler/doc/playbooks/MERGING_A_PR.md) for details.
|
99
|
+
|
100
|
+
Also note that when this task cherry-picks, it cherry-picks the merge commits
|
101
|
+
using the following command:
|
102
|
+
|
103
|
+
```bash
|
104
|
+
$ git cherry-pick -m 1 MERGE_COMMIT_SHAS
|
105
|
+
```
|
106
|
+
|
107
|
+
For example, for PR [#5029](https://github.com/rubygems/bundler/pull/5029), we
|
108
|
+
cherry picked commit [dd6aef9](https://github.com/rubygems/bundler/commit/dd6aef97a5f2e7173f406267256a8c319d6134ab),
|
109
|
+
not [4fe9291](https://github.com/rubygems/bundler/commit/4fe92919f51e3463f0aad6fa833ab68044311f03)
|
110
|
+
using:
|
111
|
+
|
112
|
+
```bash
|
113
|
+
$ git cherry-pick -m 1 dd6aef9
|
114
|
+
```
|
115
|
+
|
116
|
+
After running the task, you'll have a release branch ready to be merged into the
|
117
|
+
stable branch. You'll want to open a PR from this branch into the stable branch
|
118
|
+
and provided CI is green, you can go ahead, merge the PR and run release tasks
|
119
|
+
as specified below from the updated stable branch.
|
120
|
+
|
68
121
|
### Automatic changelog and backport generation
|
69
122
|
|
70
123
|
PR labels and titles are used to automatically generate changelogs for patch and
|
@@ -85,12 +138,28 @@ backporting a PR generates conflicts that are solved by backporting another PR
|
|
85
138
|
with no user visible changes. You can use these special labels to also backport
|
86
139
|
the other PR and not get any conflicts.
|
87
140
|
|
141
|
+
### Breaking changes
|
142
|
+
|
143
|
+
Bundler cares a lot about preserving compatibility. As a result, changes that
|
144
|
+
break backwards compatibility should (whenever this is possible) include a feature
|
145
|
+
release that is backwards compatible, and issue warnings for all options and
|
146
|
+
behaviors that will change.
|
147
|
+
|
148
|
+
We only release major breaking changes when incrementing the _major_ version of
|
149
|
+
Bundler and RubyGems. However, experience shows that almost every single part of
|
150
|
+
Bundler and RubyGems is depended on by someone in ways hard to anticipate. So if
|
151
|
+
we were strict about breaking changes we'd need to hold on from making progress
|
152
|
+
a lot, or continuously increment the major version, emptying "really major"
|
153
|
+
versions from their meaning. Because of this, we also may release "small"
|
154
|
+
breaking changes in minor releases. "Small" here means that we expect them to
|
155
|
+
affect only very few users in rare cases.
|
156
|
+
|
88
157
|
### Steps for patch releases
|
89
158
|
|
90
159
|
* Confirm all PRs that you want backported are properly tagged with `rubygems:
|
91
160
|
<type>` or `bundler: <type>` labels at GitHub.
|
92
|
-
* Run `rake prepare_release[<
|
93
|
-
stable branch with the backports included in the release, and proper
|
161
|
+
* Run `rake prepare_release[<target_rubygems_version>]`. This will create a PR
|
162
|
+
to the stable branch with the backports included in the release, and proper
|
94
163
|
changelogs and version bumps. It will also create a PR to merge release
|
95
164
|
changelogs into master.
|
96
165
|
* Once CI passes, merge the release PR, switch to the stable branch and pull
|
@@ -102,10 +171,10 @@ the other PR and not get any conflicts.
|
|
102
171
|
|
103
172
|
* Confirm all PRs that you want listed in changelogs are properly tagged with
|
104
173
|
`rubygems: <type>` or `bundler: <type>` labels at GitHub.
|
105
|
-
* Run `rake prepare_release[<
|
106
|
-
branch off the master branch, and create a PR to it with the
|
107
|
-
bumps and changelogs. It will also create a PR to merge
|
108
|
-
into master.
|
174
|
+
* Run `rake prepare_release[<target_rubygems_version>]`. This will create a
|
175
|
+
new stable branch off the master branch, and create a PR to it with the
|
176
|
+
proper version bumps and changelogs. It will also create a PR to merge
|
177
|
+
release changelogs into master.
|
109
178
|
* Replace the stable branch in the workflows with the new stable branch, and
|
110
179
|
push that change to the release PR.
|
111
180
|
* Replace version numbers with the next ".dev" version, and push that change
|
data/bundler/CHANGELOG.md
CHANGED
@@ -1,3 +1,78 @@
|
|
1
|
+
# 2.5.10 (May 3, 2024)
|
2
|
+
|
3
|
+
## Security:
|
4
|
+
|
5
|
+
- Never write credentials to lockfiles [#7560](https://github.com/rubygems/rubygems/pull/7560)
|
6
|
+
|
7
|
+
## Enhancements:
|
8
|
+
|
9
|
+
- Add auto_install support to require "bundler/setup" [#6561](https://github.com/rubygems/rubygems/pull/6561)
|
10
|
+
- Add `--glob` flag to `bundle add` [#7557](https://github.com/rubygems/rubygems/pull/7557)
|
11
|
+
|
12
|
+
## Bug fixes:
|
13
|
+
|
14
|
+
- Make sure `bundle update <specific_gems>` can always update to the latest resolvable version of each requested gem [#7558](https://github.com/rubygems/rubygems/pull/7558)
|
15
|
+
- Show better error when installed gemspecs are unreadable [#7603](https://github.com/rubygems/rubygems/pull/7603)
|
16
|
+
- Fix `bundle update` not working on an out of sync lockfile [#7607](https://github.com/rubygems/rubygems/pull/7607)
|
17
|
+
- Don't upcase Windows ENV before backing it up [#7574](https://github.com/rubygems/rubygems/pull/7574)
|
18
|
+
- Properly resolve aliases when `bundle help` is run [#7601](https://github.com/rubygems/rubygems/pull/7601)
|
19
|
+
- Fix issue installing gems with linux-musl variant on non musl linux [#7583](https://github.com/rubygems/rubygems/pull/7583)
|
20
|
+
|
21
|
+
## Documentation:
|
22
|
+
|
23
|
+
- Clarify `bundle check` behaviour in docs [#7613](https://github.com/rubygems/rubygems/pull/7613)
|
24
|
+
|
25
|
+
# 2.5.9 (April 12, 2024)
|
26
|
+
|
27
|
+
## Bug fixes:
|
28
|
+
|
29
|
+
- Fix installing plugins via relative paths [#7571](https://github.com/rubygems/rubygems/pull/7571)
|
30
|
+
|
31
|
+
# 2.5.8 (April 11, 2024)
|
32
|
+
|
33
|
+
## Enhancements:
|
34
|
+
|
35
|
+
- Allow installing plugins from path via CLI [#6960](https://github.com/rubygems/rubygems/pull/6960)
|
36
|
+
- Improve validation of `bundle plugin install` options [#7529](https://github.com/rubygems/rubygems/pull/7529)
|
37
|
+
|
38
|
+
## Bug fixes:
|
39
|
+
|
40
|
+
- Fix resolver error message when it runs out of versions due to `--strict --patch` filtering out everything [#7527](https://github.com/rubygems/rubygems/pull/7527)
|
41
|
+
- Fix incorrect `bundle update --bundler` message [#7516](https://github.com/rubygems/rubygems/pull/7516)
|
42
|
+
|
43
|
+
# 2.5.7 (March 22, 2024)
|
44
|
+
|
45
|
+
## Deprecations:
|
46
|
+
|
47
|
+
- Deprecate `bundle plugin install --local-git=` [#7048](https://github.com/rubygems/rubygems/pull/7048)
|
48
|
+
|
49
|
+
## Enhancements:
|
50
|
+
|
51
|
+
- Ignore commented out keys in config file [#7514](https://github.com/rubygems/rubygems/pull/7514)
|
52
|
+
- Fix exclusion of `.gemspec` file itself in `bundle gem` generated gemspec file [#7488](https://github.com/rubygems/rubygems/pull/7488)
|
53
|
+
- Remove redundant configs from `bundle gem` generated rubocop configuration [#7478](https://github.com/rubygems/rubygems/pull/7478)
|
54
|
+
- Add `gitlab:` git source shorthand [#7449](https://github.com/rubygems/rubygems/pull/7449)
|
55
|
+
- Use full path for `instance_eval` in `Bundler::DSL#eval_gemfile` [#7471](https://github.com/rubygems/rubygems/pull/7471)
|
56
|
+
|
57
|
+
## Documentation:
|
58
|
+
|
59
|
+
- Use https instead of http in documentation links [#7481](https://github.com/rubygems/rubygems/pull/7481)
|
60
|
+
|
61
|
+
# 2.5.6 (February 6, 2024)
|
62
|
+
|
63
|
+
## Deprecations:
|
64
|
+
|
65
|
+
- Refactor lockfile generation and deprecate `Definition#lock` with explicit lockfile [#7047](https://github.com/rubygems/rubygems/pull/7047)
|
66
|
+
|
67
|
+
## Enhancements:
|
68
|
+
|
69
|
+
- Bump `required_ruby_version` to be used in `bundle gem` template [#7430](https://github.com/rubygems/rubygems/pull/7430)
|
70
|
+
|
71
|
+
## Bug fixes:
|
72
|
+
|
73
|
+
- Fix musl platform not being added to the lockfile [#7441](https://github.com/rubygems/rubygems/pull/7441)
|
74
|
+
- Let `Bundler.with_original_env` properly restore env variables originally empty [#7383](https://github.com/rubygems/rubygems/pull/7383)
|
75
|
+
|
1
76
|
# 2.5.5 (January 18, 2024)
|
2
77
|
|
3
78
|
## 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-05-03".freeze
|
8
|
+
@git_commit_sha = "24cac00613".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,14 +5,15 @@ 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)
|
8
|
+
Install plugins either from the rubygems source provided (with --source option), from a git source provided with --git, or a local path provided with --path. 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
|
+
method_option "path", type: :string, default: nil, banner: "Path of a local gem to directly use"
|
16
17
|
def install(*plugins)
|
17
18
|
Bundler::Plugin.install(plugins, options)
|
18
19
|
end
|