rubygems-update 4.1.0.beta3 → 4.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +166 -131
- data/Manifest.txt +6 -0
- data/bundler.gemspec +5 -3
- data/lib/bundler/build_metadata.rb +2 -2
- data/lib/bundler/checksum.rb +17 -2
- data/lib/bundler/cli/clean.rb +19 -3
- data/lib/bundler/cli/exec.rb +1 -1
- data/lib/bundler/cli/install.rb +1 -1
- data/lib/bundler/cli/lock.rb +12 -0
- data/lib/bundler/cli/outdated.rb +1 -4
- data/lib/bundler/cli/update.rb +1 -1
- data/lib/bundler/cli.rb +2 -0
- data/lib/bundler/definition.rb +152 -7
- data/lib/bundler/dependency.rb +17 -2
- data/lib/bundler/dsl.rb +9 -2
- data/lib/bundler/errors.rb +8 -0
- data/lib/bundler/fetcher/downloader.rb +7 -3
- data/lib/bundler/index.rb +7 -2
- data/lib/bundler/injector.rb +1 -1
- data/lib/bundler/inline.rb +19 -9
- data/lib/bundler/installer.rb +19 -0
- data/lib/bundler/lazy_specification.rb +46 -25
- data/lib/bundler/lockfile_generator.rb +21 -9
- data/lib/bundler/lockfile_parser.rb +21 -5
- data/lib/bundler/man/bundle-lock.1 +8 -2
- data/lib/bundler/man/bundle-lock.1.ronn +15 -1
- data/lib/bundler/man/bundle-plugin.1 +61 -0
- data/lib/bundler/man/bundle-plugin.1.ronn +84 -0
- data/lib/bundler/man/gemfile.5 +3 -1
- data/lib/bundler/man/gemfile.5.ronn +11 -3
- data/lib/bundler/match_platform.rb +3 -3
- data/lib/bundler/match_remote_metadata.rb +6 -0
- data/lib/bundler/mirror.rb +7 -5
- data/lib/bundler/plugin/index.rb +14 -11
- data/lib/bundler/remote_specification.rb +5 -0
- data/lib/bundler/resolver/candidate.rb +5 -0
- data/lib/bundler/resolver.rb +89 -7
- data/lib/bundler/ruby_dsl.rb +2 -1
- data/lib/bundler/rubygems_ext.rb +54 -9
- data/lib/bundler/rubygems_integration.rb +2 -4
- data/lib/bundler/runtime.rb +29 -11
- data/lib/bundler/settings.rb +2 -3
- data/lib/bundler/source/git/git_proxy.rb +18 -6
- data/lib/bundler/source/git.rb +0 -2
- data/lib/bundler/spec_set.rb +54 -14
- data/lib/bundler/stub_specification.rb +4 -0
- data/lib/bundler/vendored_securerandom.rb +5 -2
- data/lib/bundler/vendored_uri.rb +18 -3
- data/lib/bundler/version.rb +1 -1
- data/lib/bundler/worker.rb +4 -0
- data/lib/bundler.rb +1 -1
- data/lib/rubygems/available_set.rb +0 -27
- data/lib/rubygems/command.rb +0 -9
- data/lib/rubygems/commands/push_command.rb +3 -1
- data/lib/rubygems/commands/sources_command.rb +0 -12
- data/lib/rubygems/compact_index_client/http_fetcher.rb +3 -1
- data/lib/rubygems/config_file.rb +7 -4
- data/lib/rubygems/content_address.rb +5 -4
- data/lib/rubygems/core_ext/tcpsocket_init.rb +2 -2
- data/lib/rubygems/dependency_installer.rb +0 -10
- data/lib/rubygems/dependency_list.rb +2 -12
- data/lib/rubygems/doctor.rb +1 -0
- data/lib/rubygems/ext/builder.rb +1 -1
- data/lib/rubygems/installer.rb +23 -19
- data/lib/rubygems/package/old.rb +2 -2
- data/lib/rubygems/package.rb +48 -12
- data/lib/rubygems/remote_fetcher.rb +1 -1
- data/lib/rubygems/request_set.rb +1 -3
- data/lib/rubygems/requirement.rb +1 -1
- data/lib/rubygems/resolver/dependency_request.rb +0 -8
- data/lib/rubygems/safe_marshal/visitors/to_ruby.rb +11 -6
- data/lib/rubygems/safe_yaml.rb +33 -3
- data/lib/rubygems/specification_policy.rb +3 -1
- data/lib/rubygems/vendor/pub_grub/lib/pub_grub/term.rb +1 -1
- data/lib/rubygems/yaml_serializer/builder.rb +261 -0
- data/lib/rubygems/yaml_serializer/core.rb +41 -0
- data/lib/rubygems/yaml_serializer/emitter.rb +197 -0
- data/lib/rubygems/yaml_serializer/nodes.rb +10 -0
- data/lib/rubygems/yaml_serializer/parser.rb +531 -0
- data/lib/rubygems/yaml_serializer/psych_errors.rb +11 -0
- data/lib/rubygems/yaml_serializer.rb +1 -906
- data/lib/rubygems.rb +1 -1
- metadata +14 -8
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: fa3262a330bd98c74075d9e2d769d4cedad971f029046984950a7258379486fc
|
|
4
|
+
data.tar.gz: b75f6aca6e24276ae53670e21b9f76f4825ad423ceb74a86289b7937638983ca
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: da834de19b8ef94f9f76cfeb6a48a2af5685cdb8e8ca7a9515dafafae39c2634fbe5d183413489b0bff25cb6c5ba445450653fb21cc6d8b48355db038a4a57cb
|
|
7
|
+
data.tar.gz: c3e707d4af5f0582303e849369de8e0f4367d40c4e4d6b3c4139b7d32084264870a84edbb9ea62059fef0185f116dcb7ea9a30881fb19a6405d7f11b22f17f3f
|
data/CHANGELOG.md
CHANGED
|
@@ -2,60 +2,53 @@
|
|
|
2
2
|
|
|
3
3
|
Bundler's changelog before 4.0.0, when it was versioned separately from RubyGems, is in [doc/CHANGELOG-bundler-2.x.md](https://github.com/ruby/rubygems/blob/master/doc/CHANGELOG-bundler-2.x.md).
|
|
4
4
|
|
|
5
|
-
## 4.1.
|
|
5
|
+
## 4.1.1 / 2026-11-25
|
|
6
6
|
|
|
7
7
|
### RubyGems
|
|
8
8
|
|
|
9
9
|
#### Enhancements:
|
|
10
10
|
|
|
11
|
-
* Installs bundler 4.1.
|
|
11
|
+
* Installs bundler 4.1.1 as a default gem.
|
|
12
12
|
|
|
13
13
|
#### Bug fixes:
|
|
14
14
|
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
*
|
|
15
|
+
* Fix file permissions during gem extraction. Pull request [#10128](https://github.com/ruby/rubygems/pull/10128) by Hiroshi SHIBATA
|
|
16
|
+
* Resolve chained symlink targets before creating them during extraction. Pull request [#10119](https://github.com/ruby/rubygems/pull/10119) by Hiroshi SHIBATA
|
|
17
|
+
* Keep negative any terms when PubGrub resolves conflicts. Pull request [#10112](https://github.com/ruby/rubygems/pull/10112) by Hiroshi SHIBATA
|
|
18
|
+
* Serialize concurrent installs of the same gem. Pull request [#10107](https://github.com/ruby/rubygems/pull/10107) by Hiroshi SHIBATA
|
|
19
|
+
* Keep resolved prereleases when sorting install requests. Pull request [#10100](https://github.com/ruby/rubygems/pull/10100) by Hiroshi SHIBATA
|
|
20
|
+
* Forward keyword arguments in the IPv4 fallback TCPSocket#initialize. Pull request [#10098](https://github.com/ruby/rubygems/pull/10098) by Hiroshi SHIBATA
|
|
21
|
+
* Push attestations with non-ASCII bytes on Ruby 3.2 and 3.3. Pull request [#10097](https://github.com/ruby/rubygems/pull/10097) by Hiroshi SHIBATA
|
|
22
|
+
* Gem::YAMLSerializer::Parser only reads the first document of a YAML stream. Pull request [#10088](https://github.com/ruby/rubygems/pull/10088) by Ben Sheldon and Hiroshi SHIBATA
|
|
18
23
|
|
|
19
24
|
### Bundler
|
|
20
25
|
|
|
21
|
-
Changes already released in 4.0.x are not repeated here.
|
|
22
|
-
|
|
23
|
-
#### Features:
|
|
24
|
-
|
|
25
|
-
* Rename the `from:` and `to:` keys of `override` to `in:` and `with:`. Pull request [#9979](https://github.com/ruby/rubygems/pull/9979) by Hiroshi SHIBATA
|
|
26
|
-
* Record overrides in Gemfile.lock (`OVERRIDES` section). Pull request [#9958](https://github.com/ruby/rubygems/pull/9958) by Ufuk Kayserilioglu
|
|
27
|
-
|
|
28
26
|
#### Bug fixes:
|
|
29
27
|
|
|
30
|
-
*
|
|
31
|
-
*
|
|
32
|
-
*
|
|
33
|
-
*
|
|
34
|
-
*
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
*
|
|
43
|
-
*
|
|
44
|
-
*
|
|
45
|
-
*
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
#### Enhancements:
|
|
50
|
-
|
|
51
|
-
* Update vendored gems to latest versions. Pull request [#9948](https://github.com/ruby/rubygems/pull/9948) by Hiroshi SHIBATA
|
|
28
|
+
* Assign the specs missing from the shard list to shard_d. Pull request [#10127](https://github.com/ruby/rubygems/pull/10127) by Hiroshi SHIBATA
|
|
29
|
+
* Require a digest on every content-addressed row of a checksummed lockfile. Pull request [#10122](https://github.com/ruby/rubygems/pull/10122) by Hiroshi SHIBATA
|
|
30
|
+
* Keep frozen installs to gems the lockfile covers for content-addressed rows. Pull request [#10120](https://github.com/ruby/rubygems/pull/10120) by Hiroshi SHIBATA
|
|
31
|
+
* Stop shipping the URI and YAML serializer entry files in the Bundler gem. Pull request [#10113](https://github.com/ruby/rubygems/pull/10113) by Hiroshi SHIBATA
|
|
32
|
+
* Keep negative any terms when PubGrub resolves conflicts. Pull request [#10112](https://github.com/ruby/rubygems/pull/10112) by Hiroshi SHIBATA
|
|
33
|
+
* Check gem requirements when locking from legacy indexes. Pull request [#10111](https://github.com/ruby/rubygems/pull/10111) by Hiroshi SHIBATA
|
|
34
|
+
* Retry resolution with transitive prereleases. Pull request [#10110](https://github.com/ruby/rubygems/pull/10110) by Hiroshi SHIBATA
|
|
35
|
+
* Explain activation conflicts caused by a Gemfile require. Pull request [#10109](https://github.com/ruby/rubygems/pull/10109) by Hiroshi SHIBATA
|
|
36
|
+
* Allow full updates to downgrade a yanked gem. Pull request [#10106](https://github.com/ruby/rubygems/pull/10106) by Hiroshi SHIBATA
|
|
37
|
+
* Honor `--prefer-local` when locking platform variants. Pull request [#10108](https://github.com/ruby/rubygems/pull/10108) by Hiroshi SHIBATA
|
|
38
|
+
* Honor `--jobs` when installing from `vendor/cache`. Pull request [#10102](https://github.com/ruby/rubygems/pull/10102) by Hiroshi SHIBATA
|
|
39
|
+
* Allow `bundle lock --add-platform` to add native platforms from JRuby. Pull request [#10105](https://github.com/ruby/rubygems/pull/10105) by Hiroshi SHIBATA
|
|
40
|
+
* Show fourth-segment and prerelease updates in `bundle outdated --filter-patch`. Pull request [#10103](https://github.com/ruby/rubygems/pull/10103) by Hiroshi SHIBATA
|
|
41
|
+
* Preserve inline settings after a forked install. Pull request [#10099](https://github.com/ruby/rubygems/pull/10099) by Hiroshi SHIBATA
|
|
42
|
+
* Resolve dependencies before `bundle add` updates the Gemfile. Pull request [#10101](https://github.com/ruby/rubygems/pull/10101) by Hiroshi SHIBATA
|
|
43
|
+
* Keep mirror settings readable by Bundler 4.0. Pull request [#10075](https://github.com/ruby/rubygems/pull/10075) by Paul Wille
|
|
44
|
+
* Fix Gem::URI redefinition warnings on older RubyGems. Pull request [#10074](https://github.com/ruby/rubygems/pull/10074) by Paul Wille and Hiroshi SHIBATA
|
|
45
|
+
* Read plugin index sections that are not hashes as empty. Pull request [#10076](https://github.com/ruby/rubygems/pull/10076) by Hiroshi SHIBATA
|
|
52
46
|
|
|
53
|
-
####
|
|
47
|
+
#### Documentation:
|
|
54
48
|
|
|
55
|
-
*
|
|
56
|
-
* Respect Gemfile lockfile in `bundle lock`. Pull request [#9661](https://github.com/ruby/rubygems/pull/9661) by David Stosik and Hiroshi SHIBATA
|
|
49
|
+
* Document that bundle lock --add-checksums leaves entries for uninstalled gems empty. Pull request [#10121](https://github.com/ruby/rubygems/pull/10121) by Hiroshi SHIBATA
|
|
57
50
|
|
|
58
|
-
## 4.1.0
|
|
51
|
+
## 4.1.0 / 2026-11-16
|
|
59
52
|
|
|
60
53
|
### RubyGems
|
|
61
54
|
|
|
@@ -65,95 +58,6 @@ Changes already released in 4.0.x are not repeated here.
|
|
|
65
58
|
|
|
66
59
|
* Support content addressable gems in `Gem::PackageTask`. Pull request [#9897](https://github.com/ruby/rubygems/pull/9897) by Harriet Oughton, Gira Chawda and Jenny Shen
|
|
67
60
|
* Add `--content-addressable` to `gem build` and make `--ruby-abi` only set the Ruby ABI. Pull request [#9906](https://github.com/ruby/rubygems/pull/9906) by Harriet Oughton
|
|
68
|
-
|
|
69
|
-
#### Enhancements:
|
|
70
|
-
|
|
71
|
-
* Drop setuid, setgid and sticky bits when extracting gems. Pull request [#9929](https://github.com/ruby/rubygems/pull/9929) by Hiroshi SHIBATA
|
|
72
|
-
* Improve handling of paths with invalid Windows characters. Pull request [#9276](https://github.com/ruby/rubygems/pull/9276) by Said Kaldybaev and Hiroshi SHIBATA
|
|
73
|
-
* Installs bundler 4.1.0.beta2 as a default gem.
|
|
74
|
-
|
|
75
|
-
#### Breaking changes:
|
|
76
|
-
|
|
77
|
-
* Build a platform gem with `gem build --platform` for the local platform. Pull request [#9873](https://github.com/ruby/rubygems/pull/9873) by Hiroshi SHIBATA
|
|
78
|
-
* Fix `gem update --user-install` updating gems outside the user directory. Pull request [#9872](https://github.com/ruby/rubygems/pull/9872) by Hiroshi SHIBATA
|
|
79
|
-
|
|
80
|
-
### Bundler
|
|
81
|
-
|
|
82
|
-
Changes already released in 4.0.x are not repeated here.
|
|
83
|
-
|
|
84
|
-
#### Features:
|
|
85
|
-
|
|
86
|
-
* Let override drop or replace one dependency of a gem. Pull request [#9935](https://github.com/ruby/rubygems/pull/9935) by Hiroshi SHIBATA
|
|
87
|
-
* Add `sparse_checkout` option to git source. Pull request [#9295](https://github.com/ruby/rubygems/pull/9295) by Ian Ker-Seymer and Hiroshi SHIBATA
|
|
88
|
-
* Implement `--exact-match` Flag for `bundle info` / `show` / `open`. Pull request [#9489](https://github.com/ruby/rubygems/pull/9489) by Harriet Oughton
|
|
89
|
-
|
|
90
|
-
#### Bug fixes:
|
|
91
|
-
|
|
92
|
-
* Respect Gemfile lockfile in `bundle lock`. Pull request [#9661](https://github.com/ruby/rubygems/pull/9661) by David Stosik and Hiroshi SHIBATA
|
|
93
|
-
|
|
94
|
-
## 4.0.22 / 2026-09-30
|
|
95
|
-
|
|
96
|
-
### RubyGems
|
|
97
|
-
|
|
98
|
-
#### Enhancements:
|
|
99
|
-
|
|
100
|
-
* Add --source option to gem exec command. Pull request [#9765](https://github.com/ruby/rubygems/pull/9765) by Akshay Birajdar
|
|
101
|
-
* Keep credentials on redirects only within the same origin. Pull request [#9909](https://github.com/ruby/rubygems/pull/9909) by Hiroshi SHIBATA
|
|
102
|
-
* Validate the version field in Gem::Installer#verify_spec. Pull request [#9890](https://github.com/ruby/rubygems/pull/9890) by Hiroshi SHIBATA
|
|
103
|
-
* Installs bundler 4.0.22 as a default gem.
|
|
104
|
-
|
|
105
|
-
#### Bug fixes:
|
|
106
|
-
|
|
107
|
-
* Remove the build_info file on uninstall and stop gem build from logging unknown extensions. Pull request [#9894](https://github.com/ruby/rubygems/pull/9894) by Hiroshi SHIBATA
|
|
108
|
-
|
|
109
|
-
### Bundler
|
|
110
|
-
|
|
111
|
-
#### Enhancements:
|
|
112
|
-
|
|
113
|
-
* Report the effective platform in `bundle platform`. Pull request [#9898](https://github.com/ruby/rubygems/pull/9898) by Islam Elsayed
|
|
114
|
-
* Keep credentials on redirects only within the same origin. Pull request [#9909](https://github.com/ruby/rubygems/pull/9909) by Hiroshi SHIBATA
|
|
115
|
-
* Update Magnus version in Rust extension gem template. Pull request [#9904](https://github.com/ruby/rubygems/pull/9904) by Mat Sadler and Hiroshi SHIBATA
|
|
116
|
-
|
|
117
|
-
#### Bug fixes:
|
|
118
|
-
|
|
119
|
-
* Stop `Bundler.bin_path` creating the directory it reports. Pull request [#9887](https://github.com/ruby/rubygems/pull/9887) by Islam Elsayed and Hiroshi SHIBATA
|
|
120
|
-
* Look up `bundler-<command>` executables only in PATH. Pull request [#9874](https://github.com/ruby/rubygems/pull/9874) by Hiroshi SHIBATA
|
|
121
|
-
|
|
122
|
-
#### Documentation:
|
|
123
|
-
|
|
124
|
-
* Describe `--major` as preferring the latest major version. Pull request [#9891](https://github.com/ruby/rubygems/pull/9891) by Hiroshi SHIBATA
|
|
125
|
-
|
|
126
|
-
## 4.0.21 / 2026-09-16
|
|
127
|
-
|
|
128
|
-
### RubyGems
|
|
129
|
-
|
|
130
|
-
#### Enhancements:
|
|
131
|
-
|
|
132
|
-
* Stop vendoring resolv for two regexps. Pull request [#9877](https://github.com/ruby/rubygems/pull/9877) by Hiroshi SHIBATA
|
|
133
|
-
* Normalize absolute symlink targets during gem extraction. Pull request [#9860](https://github.com/ruby/rubygems/pull/9860) by Hiroshi SHIBATA
|
|
134
|
-
* Installs bundler 4.0.21 as a default gem.
|
|
135
|
-
|
|
136
|
-
### Bundler
|
|
137
|
-
|
|
138
|
-
#### Enhancements:
|
|
139
|
-
|
|
140
|
-
* Don't update bundler to a prerelease unless asked for one. Pull request [#9869](https://github.com/ruby/rubygems/pull/9869) by Hiroshi SHIBATA
|
|
141
|
-
* Reject Bundler redirects that downgrade https to http. Pull request [#9859](https://github.com/ruby/rubygems/pull/9859) by Hiroshi SHIBATA
|
|
142
|
-
|
|
143
|
-
#### Bug fixes:
|
|
144
|
-
|
|
145
|
-
* Support `safe.bareRepository=explicit` in git sources. Pull request [#9876](https://github.com/ruby/rubygems/pull/9876) by Hiroshi SHIBATA
|
|
146
|
-
* Stop resolving locally for empty CHECKSUMS entries. Pull request [#9862](https://github.com/ruby/rubygems/pull/9862) by Hiroshi SHIBATA
|
|
147
|
-
* Expand the git source gemspec path before the chdir. Pull request [#9845](https://github.com/ruby/rubygems/pull/9845) by Hiroshi SHIBATA
|
|
148
|
-
|
|
149
|
-
## 4.1.0.beta1 / 2026-09-09
|
|
150
|
-
|
|
151
|
-
### RubyGems
|
|
152
|
-
|
|
153
|
-
Changes already released in 4.0.x are not repeated here.
|
|
154
|
-
|
|
155
|
-
#### Features:
|
|
156
|
-
|
|
157
61
|
* Add content addressable gems support. Pull request [#9773](https://github.com/ruby/rubygems/pull/9773) by Jenny Shen, Harriet Oughton and Gira Chawda
|
|
158
62
|
* Let the gem and bundle cooldown settings cover each other. Pull request [#9852](https://github.com/ruby/rubygems/pull/9852) by Hiroshi SHIBATA
|
|
159
63
|
* Rubygems: Add PQC ML-DSA support for cryptographically signed gems workflow. Pull request [#9697](https://github.com/ruby/rubygems/pull/9697) by Jun Aruga, Kazuki Yamaguchi and Hiroshi SHIBATA
|
|
@@ -175,15 +79,19 @@ Changes already released in 4.0.x are not repeated here.
|
|
|
175
79
|
|
|
176
80
|
#### Performance:
|
|
177
81
|
|
|
82
|
+
* Fix slow and misaligned Bignum loading in Gem::SafeMarshal. Pull request [#10057](https://github.com/ruby/rubygems/pull/10057) by Hiroshi SHIBATA
|
|
83
|
+
* Build Gem::Requirement.default without parsing ">= 0". Pull request [#10002](https://github.com/ruby/rubygems/pull/10002) by Lawrence Lin
|
|
178
84
|
* Remove `verify_gz`. Pull request [#9093](https://github.com/ruby/rubygems/pull/9093) by Eileen
|
|
179
85
|
|
|
180
86
|
#### Enhancements:
|
|
181
87
|
|
|
182
|
-
*
|
|
183
|
-
* Installs bundler 4.1.0.beta1 as a default gem.
|
|
88
|
+
* Installs bundler 4.1.0 as a default gem.
|
|
184
89
|
|
|
185
90
|
#### Breaking changes:
|
|
186
91
|
|
|
92
|
+
* Delete some unused internal methods. Pull request [#9827](https://github.com/ruby/rubygems/pull/9827) by Issy Long and Hiroshi SHIBATA
|
|
93
|
+
* Build a platform gem with `gem build --platform` for the local platform. Pull request [#9873](https://github.com/ruby/rubygems/pull/9873) by Hiroshi SHIBATA
|
|
94
|
+
* Fix `gem update --user-install` updating gems outside the user directory. Pull request [#9872](https://github.com/ruby/rubygems/pull/9872) by Hiroshi SHIBATA
|
|
187
95
|
* Stop installing native extension build logs. Pull request [#9700](https://github.com/ruby/rubygems/pull/9700) by Hiroshi SHIBATA
|
|
188
96
|
* Remove Gem::BasicSpecification#datadir and check minor-release deprecation horizons. Pull request [#9842](https://github.com/ruby/rubygems/pull/9842) by Hiroshi SHIBATA
|
|
189
97
|
* Raise an error when building a gem that has a self reference. Pull request [#9392](https://github.com/ruby/rubygems/pull/9392) by Edouard CHIN
|
|
@@ -196,8 +104,15 @@ Changes already released in 4.0.x are not repeated here.
|
|
|
196
104
|
|
|
197
105
|
#### Features:
|
|
198
106
|
|
|
107
|
+
* Fix regressions of bundler/inline's forked install. Pull request [#10048](https://github.com/ruby/rubygems/pull/10048) by Hiroshi SHIBATA and Samer Masry
|
|
108
|
+
* Rename the `from:` and `to:` keys of `override` to `in:` and `with:`. Pull request [#9979](https://github.com/ruby/rubygems/pull/9979) by Hiroshi SHIBATA
|
|
109
|
+
* Record overrides in Gemfile.lock (`OVERRIDES` section). Pull request [#9958](https://github.com/ruby/rubygems/pull/9958) by Ufuk Kayserilioglu
|
|
110
|
+
* Let override drop or replace one dependency of a gem. Pull request [#9935](https://github.com/ruby/rubygems/pull/9935) by Hiroshi SHIBATA
|
|
111
|
+
* Add `sparse_checkout` option to git source. Pull request [#9295](https://github.com/ruby/rubygems/pull/9295) by Ian Ker-Seymer and Hiroshi SHIBATA
|
|
112
|
+
* Implement `--exact-match` Flag for `bundle info` / `show` / `open`. Pull request [#9489](https://github.com/ruby/rubygems/pull/9489) by Harriet Oughton
|
|
199
113
|
* Add content addressable gems support. Pull request [#9773](https://github.com/ruby/rubygems/pull/9773) by Jenny Shen, Harriet Oughton and Gira Chawda
|
|
200
114
|
* Let the gem and bundle cooldown settings cover each other. Pull request [#9852](https://github.com/ruby/rubygems/pull/9852) by Hiroshi SHIBATA
|
|
115
|
+
* Reject created_at years outside four digits in cooldown parsing. Pull request [#9846](https://github.com/ruby/rubygems/pull/9846) by Hiroshi SHIBATA
|
|
201
116
|
* Add a `prune` setting to drop rebuildable install artifacts. Pull request [#9815](https://github.com/ruby/rubygems/pull/9815) by Hiroshi SHIBATA
|
|
202
117
|
* Add an opt-in OS credential store for gem and bundler credentials. Pull request [#9671](https://github.com/ruby/rubygems/pull/9671) by Hiroshi SHIBATA
|
|
203
118
|
* Fetch Bundler metadata through Gem::Request instead of net-http-persistent. Pull request [#9786](https://github.com/ruby/rubygems/pull/9786) by Hiroshi SHIBATA
|
|
@@ -222,19 +137,26 @@ Changes already released in 4.0.x are not repeated here.
|
|
|
222
137
|
|
|
223
138
|
#### Performance:
|
|
224
139
|
|
|
140
|
+
* Skip loading default gemspecs the bundle already has. Pull request [#10000](https://github.com/ruby/rubygems/pull/10000) by Lawrence Lin
|
|
141
|
+
* Add a lockfile source's spec names once, after parsing. Pull request [#10004](https://github.com/ruby/rubygems/pull/10004) by Lawrence Lin
|
|
142
|
+
* Look up a dependency's specs by name in SpecSet#validate_deps. Pull request [#9999](https://github.com/ruby/rubygems/pull/9999) by Lawrence Lin
|
|
143
|
+
* Delegate contains_requirable_file? to the stub in Bundler::StubSpecification. Pull request [#9997](https://github.com/ruby/rubygems/pull/9997) by Lawrence Lin
|
|
144
|
+
* Autoload the vendored FileUtils. Pull request [#10001](https://github.com/ruby/rubygems/pull/10001) by Lawrence Lin
|
|
225
145
|
* Use separate Bundler download and installation workers. Pull request [#9777](https://github.com/ruby/rubygems/pull/9777) by Joshua Young
|
|
226
146
|
* Cache a shared git source only once per command. Pull request [#9689](https://github.com/ruby/rubygems/pull/9689) by Hiroshi SHIBATA
|
|
227
147
|
|
|
228
148
|
#### Enhancements:
|
|
229
149
|
|
|
230
|
-
*
|
|
150
|
+
* Warn about downgrading default gems in bundle install. Pull request [#10026](https://github.com/ruby/rubygems/pull/10026) by Kazuki Yamaguchi
|
|
231
151
|
|
|
232
152
|
#### Bug fixes:
|
|
233
153
|
|
|
234
|
-
*
|
|
154
|
+
* Fix Bundler mirror probing with `fallback_timeout`. Pull request [#10046](https://github.com/ruby/rubygems/pull/10046) by Hiroshi SHIBATA
|
|
155
|
+
* Preload git sources that share a cache one after another. Pull request [#9951](https://github.com/ruby/rubygems/pull/9951) by Shai
|
|
235
156
|
|
|
236
157
|
#### Breaking changes:
|
|
237
158
|
|
|
159
|
+
* Report permission errors from bundle clean. Pull request [#9772](https://github.com/ruby/rubygems/pull/9772) by Florian Meyer and Hiroshi SHIBATA
|
|
238
160
|
* Remove external tool version checks from `bundle env`. Pull request [#9593](https://github.com/ruby/rubygems/pull/9593) by Hiroshi SHIBATA
|
|
239
161
|
* Bundler: ignore patchlevel kwarg in ruby DSL. Pull request [#6023](https://github.com/ruby/rubygems/pull/6023) by Takuya N and Hiroshi SHIBATA
|
|
240
162
|
* Unify RubyGems and Bundler documentation. Pull request [#9237](https://github.com/ruby/rubygems/pull/9237) by Hiroshi SHIBATA
|
|
@@ -243,6 +165,119 @@ Changes already released in 4.0.x are not repeated here.
|
|
|
243
165
|
|
|
244
166
|
* Rename the no_prune setting to keep_outdated_cache. Pull request [#9816](https://github.com/ruby/rubygems/pull/9816) by Hiroshi SHIBATA
|
|
245
167
|
|
|
168
|
+
## 4.0.24 / 2026-11-05
|
|
169
|
+
|
|
170
|
+
### RubyGems
|
|
171
|
+
|
|
172
|
+
#### Enhancements:
|
|
173
|
+
|
|
174
|
+
* Installs bundler 4.0.24 as a default gem.
|
|
175
|
+
|
|
176
|
+
#### Bug fixes:
|
|
177
|
+
|
|
178
|
+
* Skip executable removal gracefully when the bin directory is missing. Pull request [#9963](https://github.com/ruby/rubygems/pull/9963) by Evan Li and Hiroshi SHIBATA
|
|
179
|
+
* Fix file locks letting multiple processes in when lock files are removed. Pull request [#9930](https://github.com/ruby/rubygems/pull/9930) by Richard Janita and Hiroshi SHIBATA
|
|
180
|
+
* Turn off echo before printing the password prompt. Pull request [#9969](https://github.com/ruby/rubygems/pull/9969) by Mike Dalessio
|
|
181
|
+
|
|
182
|
+
#### Documentation:
|
|
183
|
+
|
|
184
|
+
* [DOC] Fix link. Pull request [#10014](https://github.com/ruby/rubygems/pull/10014) by Burdette Lamar
|
|
185
|
+
|
|
186
|
+
### Bundler
|
|
187
|
+
|
|
188
|
+
#### Enhancements:
|
|
189
|
+
|
|
190
|
+
* Read the Ruby version from mise's inline table form. Pull request [#9991](https://github.com/ruby/rubygems/pull/9991) by Hiroshi SHIBATA
|
|
191
|
+
* Report which locked gems can't be materialized for the current platform. Pull request [#9738](https://github.com/ruby/rubygems/pull/9738) by Muhammad Moussa
|
|
192
|
+
|
|
193
|
+
#### Bug fixes:
|
|
194
|
+
|
|
195
|
+
* Fix `bundle exec` with no arguments for paths containing spaces. Pull request [#9996](https://github.com/ruby/rubygems/pull/9996) by Brandon Weiss
|
|
196
|
+
* Respect enclosing platforms and install_if for gemspec development dependencies. Pull request [#9992](https://github.com/ruby/rubygems/pull/9992) by Hiroshi SHIBATA
|
|
197
|
+
* Respect enclosing group and platforms for gemspec dependencies. Pull request [#9990](https://github.com/ruby/rubygems/pull/9990) by Denis Talakevich
|
|
198
|
+
* Don't report locked gems in the cooldown summary. Pull request [#9981](https://github.com/ruby/rubygems/pull/9981) by Patrik Ragnarsson
|
|
199
|
+
* Make `Bundler::Source::Rubygems#hash` agree with `eql?`. Pull request [#9983](https://github.com/ruby/rubygems/pull/9983) by Hiroshi SHIBATA
|
|
200
|
+
* Add checksums after platform changes in `bundle lock`. Pull request [#9960](https://github.com/ruby/rubygems/pull/9960) by Farid Zakaria
|
|
201
|
+
* Apply BUNDLE_RETRY to lazy gemspec downloads. Pull request [#9868](https://github.com/ruby/rubygems/pull/9868) by Islam Elsayed
|
|
202
|
+
* Fix file locks letting multiple processes in when lock files are removed. Pull request [#9930](https://github.com/ruby/rubygems/pull/9930) by Richard Janita and Hiroshi SHIBATA
|
|
203
|
+
|
|
204
|
+
## 4.0.23 / 2026-10-14
|
|
205
|
+
|
|
206
|
+
### RubyGems
|
|
207
|
+
|
|
208
|
+
#### Enhancements:
|
|
209
|
+
|
|
210
|
+
* Update vendored gems to latest versions. Pull request [#9948](https://github.com/ruby/rubygems/pull/9948) by Hiroshi SHIBATA
|
|
211
|
+
* Drop setuid, setgid and sticky bits when extracting gems. Pull request [#9929](https://github.com/ruby/rubygems/pull/9929) by Hiroshi SHIBATA
|
|
212
|
+
* Improve handling of paths with invalid Windows characters. Pull request [#9276](https://github.com/ruby/rubygems/pull/9276) by Said Kaldybaev and Hiroshi SHIBATA
|
|
213
|
+
* Installs bundler 4.0.23 as a default gem.
|
|
214
|
+
|
|
215
|
+
### Bundler
|
|
216
|
+
|
|
217
|
+
#### Enhancements:
|
|
218
|
+
|
|
219
|
+
* Update vendored gems to latest versions. Pull request [#9948](https://github.com/ruby/rubygems/pull/9948) by Hiroshi SHIBATA
|
|
220
|
+
|
|
221
|
+
#### Bug fixes:
|
|
222
|
+
|
|
223
|
+
* Stop retrying a 416 response to a request without Range. Pull request [#9938](https://github.com/ruby/rubygems/pull/9938) by Hiroshi SHIBATA
|
|
224
|
+
* Respect Gemfile lockfile in `bundle lock`. Pull request [#9661](https://github.com/ruby/rubygems/pull/9661) by David Stosik and Hiroshi SHIBATA
|
|
225
|
+
|
|
226
|
+
## 4.0.22 / 2026-09-30
|
|
227
|
+
|
|
228
|
+
### RubyGems
|
|
229
|
+
|
|
230
|
+
#### Enhancements:
|
|
231
|
+
|
|
232
|
+
* Add --source option to gem exec command. Pull request [#9765](https://github.com/ruby/rubygems/pull/9765) by Akshay Birajdar
|
|
233
|
+
* Keep credentials on redirects only within the same origin. Pull request [#9909](https://github.com/ruby/rubygems/pull/9909) by Hiroshi SHIBATA
|
|
234
|
+
* Validate the version field in Gem::Installer#verify_spec. Pull request [#9890](https://github.com/ruby/rubygems/pull/9890) by Hiroshi SHIBATA
|
|
235
|
+
* Installs bundler 4.0.22 as a default gem.
|
|
236
|
+
|
|
237
|
+
#### Bug fixes:
|
|
238
|
+
|
|
239
|
+
* Remove the build_info file on uninstall and stop gem build from logging unknown extensions. Pull request [#9894](https://github.com/ruby/rubygems/pull/9894) by Hiroshi SHIBATA
|
|
240
|
+
|
|
241
|
+
### Bundler
|
|
242
|
+
|
|
243
|
+
#### Enhancements:
|
|
244
|
+
|
|
245
|
+
* Report the effective platform in `bundle platform`. Pull request [#9898](https://github.com/ruby/rubygems/pull/9898) by Islam Elsayed
|
|
246
|
+
* Keep credentials on redirects only within the same origin. Pull request [#9909](https://github.com/ruby/rubygems/pull/9909) by Hiroshi SHIBATA
|
|
247
|
+
* Update Magnus version in Rust extension gem template. Pull request [#9904](https://github.com/ruby/rubygems/pull/9904) by Mat Sadler and Hiroshi SHIBATA
|
|
248
|
+
|
|
249
|
+
#### Bug fixes:
|
|
250
|
+
|
|
251
|
+
* Stop `Bundler.bin_path` creating the directory it reports. Pull request [#9887](https://github.com/ruby/rubygems/pull/9887) by Islam Elsayed and Hiroshi SHIBATA
|
|
252
|
+
* Look up `bundler-<command>` executables only in PATH. Pull request [#9874](https://github.com/ruby/rubygems/pull/9874) by Hiroshi SHIBATA
|
|
253
|
+
|
|
254
|
+
#### Documentation:
|
|
255
|
+
|
|
256
|
+
* Describe `--major` as preferring the latest major version. Pull request [#9891](https://github.com/ruby/rubygems/pull/9891) by Hiroshi SHIBATA
|
|
257
|
+
|
|
258
|
+
## 4.0.21 / 2026-09-16
|
|
259
|
+
|
|
260
|
+
### RubyGems
|
|
261
|
+
|
|
262
|
+
#### Enhancements:
|
|
263
|
+
|
|
264
|
+
* Stop vendoring resolv for two regexps. Pull request [#9877](https://github.com/ruby/rubygems/pull/9877) by Hiroshi SHIBATA
|
|
265
|
+
* Normalize absolute symlink targets during gem extraction. Pull request [#9860](https://github.com/ruby/rubygems/pull/9860) by Hiroshi SHIBATA
|
|
266
|
+
* Installs bundler 4.0.21 as a default gem.
|
|
267
|
+
|
|
268
|
+
### Bundler
|
|
269
|
+
|
|
270
|
+
#### Enhancements:
|
|
271
|
+
|
|
272
|
+
* Don't update bundler to a prerelease unless asked for one. Pull request [#9869](https://github.com/ruby/rubygems/pull/9869) by Hiroshi SHIBATA
|
|
273
|
+
* Reject Bundler redirects that downgrade https to http. Pull request [#9859](https://github.com/ruby/rubygems/pull/9859) by Hiroshi SHIBATA
|
|
274
|
+
|
|
275
|
+
#### Bug fixes:
|
|
276
|
+
|
|
277
|
+
* Support `safe.bareRepository=explicit` in git sources. Pull request [#9876](https://github.com/ruby/rubygems/pull/9876) by Hiroshi SHIBATA
|
|
278
|
+
* Stop resolving locally for empty CHECKSUMS entries. Pull request [#9862](https://github.com/ruby/rubygems/pull/9862) by Hiroshi SHIBATA
|
|
279
|
+
* Expand the git source gemspec path before the chdir. Pull request [#9845](https://github.com/ruby/rubygems/pull/9845) by Hiroshi SHIBATA
|
|
280
|
+
|
|
246
281
|
## 4.0.20 / 2026-09-02
|
|
247
282
|
|
|
248
283
|
### RubyGems
|
data/Manifest.txt
CHANGED
|
@@ -565,5 +565,11 @@ lib/rubygems/version.rb
|
|
|
565
565
|
lib/rubygems/version_option.rb
|
|
566
566
|
lib/rubygems/win_platform.rb
|
|
567
567
|
lib/rubygems/yaml_serializer.rb
|
|
568
|
+
lib/rubygems/yaml_serializer/builder.rb
|
|
569
|
+
lib/rubygems/yaml_serializer/core.rb
|
|
570
|
+
lib/rubygems/yaml_serializer/emitter.rb
|
|
571
|
+
lib/rubygems/yaml_serializer/nodes.rb
|
|
572
|
+
lib/rubygems/yaml_serializer/parser.rb
|
|
573
|
+
lib/rubygems/yaml_serializer/psych_errors.rb
|
|
568
574
|
rubygems-update.gemspec
|
|
569
575
|
setup.rb
|
data/bundler.gemspec
CHANGED
|
@@ -42,11 +42,13 @@ Gem::Specification.new do |s|
|
|
|
42
42
|
# Bundler reuses RubyGems' vendored URI, SecureRandom and PubGrub, its
|
|
43
43
|
# pure-Ruby YAML serializer, its shared cooldown setting rules, its compact
|
|
44
44
|
# index client and its credential store. Ship a copy under lib/rubygems so
|
|
45
|
-
# Bundler stays self-contained on RubyGems versions that predate them.
|
|
46
|
-
|
|
45
|
+
# Bundler stays self-contained on RubyGems versions that predate them. The
|
|
46
|
+
# URI and YAML serializer entry files stay out, see
|
|
47
|
+
# lib/rubygems/yaml_serializer/core.rb.
|
|
48
|
+
s.files += Dir.glob("lib/rubygems/vendor/uri/**/*", File::FNM_DOTMATCH).reject {|f| File.directory?(f) || f == "lib/rubygems/vendor/uri/lib/uri.rb" }
|
|
47
49
|
s.files += Dir.glob("lib/rubygems/vendor/securerandom/**/*", File::FNM_DOTMATCH).reject {|f| File.directory?(f) }
|
|
48
50
|
s.files += Dir.glob("lib/rubygems/vendor/pub_grub/**/*", File::FNM_DOTMATCH).reject {|f| File.directory?(f) }
|
|
49
|
-
s.files += Dir.glob("lib/rubygems/yaml_serializer
|
|
51
|
+
s.files += Dir.glob("lib/rubygems/yaml_serializer/**/*", File::FNM_DOTMATCH).reject {|f| File.directory?(f) }
|
|
50
52
|
s.files += Dir.glob("lib/rubygems/cooldown_settings.rb")
|
|
51
53
|
s.files += Dir.glob("lib/rubygems/compact_index_client{.rb,/**/*}", File::FNM_DOTMATCH).reject {|f| File.directory?(f) }
|
|
52
54
|
s.files += Dir.glob("lib/rubygems/credential_store{.rb,/**/*}", File::FNM_DOTMATCH).reject {|f| File.directory?(f) }
|
|
@@ -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 = "2026-
|
|
8
|
-
@git_commit_sha = "
|
|
7
|
+
@built_at = "2026-11-25".freeze
|
|
8
|
+
@git_commit_sha = "8a4df2c".freeze
|
|
9
9
|
# end ivars
|
|
10
10
|
|
|
11
11
|
# A hash representation of the build metadata.
|
data/lib/bundler/checksum.rb
CHANGED
|
@@ -205,14 +205,25 @@ module Bundler
|
|
|
205
205
|
end
|
|
206
206
|
end
|
|
207
207
|
|
|
208
|
+
# A content-addressed row without a digest is an empty entry, like a
|
|
209
|
+
# CHECKSUMS line without one, so it is filled only when a remote fetch
|
|
210
|
+
# can do so (see Definition#empty_checksums_actionable?).
|
|
208
211
|
def missing?(spec)
|
|
209
|
-
@store[spec.full_name].nil?
|
|
212
|
+
return false unless @store[spec.full_name].nil?
|
|
213
|
+
|
|
214
|
+
content_addressed_full_names(spec).empty?
|
|
215
|
+
end
|
|
216
|
+
|
|
217
|
+
def locked?(spec)
|
|
218
|
+
@store[spec.full_name]&.each_value&.any? {|checksum| checksum.sources.any? {|source| source.type == :lock } } || false
|
|
210
219
|
end
|
|
211
220
|
|
|
212
221
|
def empty?(spec)
|
|
213
222
|
return false unless spec.source.is_a?(Bundler::Source::Rubygems)
|
|
214
223
|
|
|
215
|
-
@store[spec.full_name]
|
|
224
|
+
return true if @store[spec.full_name]&.empty?
|
|
225
|
+
|
|
226
|
+
content_addressed_full_names(spec).any? {|full_name| @store[full_name].nil? }
|
|
216
227
|
end
|
|
217
228
|
|
|
218
229
|
def register(spec, checksum)
|
|
@@ -246,6 +257,10 @@ module Bundler
|
|
|
246
257
|
|
|
247
258
|
private
|
|
248
259
|
|
|
260
|
+
def content_addressed_full_names(spec)
|
|
261
|
+
spec.is_a?(LazySpecification) ? spec.content_addressed_full_names : []
|
|
262
|
+
end
|
|
263
|
+
|
|
249
264
|
def platform_full_name(spec)
|
|
250
265
|
Gem::NameTuple.new(spec.name, spec.version, spec.platform).full_name
|
|
251
266
|
end
|
data/lib/bundler/cli/clean.rb
CHANGED
|
@@ -13,13 +13,29 @@ module Bundler
|
|
|
13
13
|
Bundler.load.clean(options[:"dry-run"])
|
|
14
14
|
return if options[:"dry-run"]
|
|
15
15
|
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
16
|
+
prune
|
|
17
|
+
rescue CleanError
|
|
18
|
+
# Everything that could be removed is gone, so the cache can be pruned
|
|
19
|
+
prune
|
|
20
|
+
raise
|
|
21
|
+
end
|
|
22
|
+
|
|
23
|
+
# Cleaning is incidental to install and update, so leftovers must not fail
|
|
24
|
+
# a command that installed everything it was asked to.
|
|
25
|
+
def run_after_install
|
|
26
|
+
run
|
|
27
|
+
rescue CleanError => e
|
|
28
|
+
Bundler.ui.warn e.message
|
|
19
29
|
end
|
|
20
30
|
|
|
21
31
|
protected
|
|
22
32
|
|
|
33
|
+
# Pruning last, because cleaning decides which cached .gem files are
|
|
34
|
+
# stale by reading them.
|
|
35
|
+
def prune
|
|
36
|
+
Bundler::CLI::Common.prune(options)
|
|
37
|
+
end
|
|
38
|
+
|
|
23
39
|
def require_path_or_force
|
|
24
40
|
return unless Bundler.use_system_gems? && !options[:force]
|
|
25
41
|
raise InvalidOption, "Cleaning all the gems on your system is dangerous! " \
|
data/lib/bundler/cli/exec.rb
CHANGED
data/lib/bundler/cli/install.rb
CHANGED
data/lib/bundler/cli/lock.rb
CHANGED
|
@@ -63,11 +63,23 @@ module Bundler
|
|
|
63
63
|
raise InvalidOption, "Removing all platforms from the bundle is not allowed"
|
|
64
64
|
end
|
|
65
65
|
|
|
66
|
+
options["remove-ruby-abi"].flatten.each do |ruby_abi|
|
|
67
|
+
definition.remove_ruby_abi(ruby_abi)
|
|
68
|
+
end
|
|
69
|
+
|
|
70
|
+
options["add-ruby-abi"].flatten.each do |ruby_abi|
|
|
71
|
+
raise InvalidOption, "Expected `--add-ruby-abi` to be a Ruby ABI like `X.Y`, got #{ruby_abi.inspect}" unless Gem::ContentAddress.valid_ruby_abi?(ruby_abi)
|
|
72
|
+
|
|
73
|
+
definition.add_ruby_abi(ruby_abi)
|
|
74
|
+
end
|
|
75
|
+
|
|
66
76
|
# Adding checksums resolves the bundle to fetch them, so it has to
|
|
67
77
|
# run after every platform change above has been recorded, or the
|
|
68
78
|
# new platforms are listed in the lockfile without their specs.
|
|
69
79
|
definition.add_checksums if options["add-checksums"]
|
|
70
80
|
|
|
81
|
+
# Adding a Ruby ABI offline takes its content-addressed gems from the installed ones.
|
|
82
|
+
definition.with_cache! if options[:local] && options["add-ruby-abi"].any?
|
|
71
83
|
definition.remotely! unless options[:local]
|
|
72
84
|
|
|
73
85
|
if options["normalize-platforms"]
|
data/lib/bundler/cli/outdated.rb
CHANGED
|
@@ -308,10 +308,7 @@ module Bundler
|
|
|
308
308
|
update_present = active_minor > current_minor if options["filter-minor"]
|
|
309
309
|
|
|
310
310
|
if !update_present && options["filter-patch"] && current_minor == active_minor
|
|
311
|
-
|
|
312
|
-
active_patch = get_version_semver_portion_value(active_spec, 2)
|
|
313
|
-
|
|
314
|
-
update_present = active_patch > current_patch
|
|
311
|
+
update_present = active_spec.version > current_spec.version
|
|
315
312
|
end
|
|
316
313
|
end
|
|
317
314
|
|
data/lib/bundler/cli/update.rb
CHANGED
data/lib/bundler/cli.rb
CHANGED
|
@@ -653,6 +653,8 @@ module Bundler
|
|
|
653
653
|
method_option "add-platform", type: :array, default: [], repeatable: true, banner: "Add a new platform to the lockfile"
|
|
654
654
|
method_option "remove-platform", type: :array, default: [], repeatable: true, banner: "Remove a platform from the lockfile"
|
|
655
655
|
method_option "normalize-platforms", type: :boolean, default: false, banner: "Normalize lockfile platforms"
|
|
656
|
+
method_option "add-ruby-abi", type: :array, default: [], repeatable: true, banner: "Lock the content-addressed gems for a Ruby ABI (X.Y)"
|
|
657
|
+
method_option "remove-ruby-abi", type: :array, default: [], repeatable: true, banner: "Drop the content-addressed gems for a Ruby ABI (X.Y) from the lockfile"
|
|
656
658
|
method_option "patch", type: :boolean, banner: "If updating, prefer updating only to next patch version"
|
|
657
659
|
method_option "minor", type: :boolean, banner: "If updating, prefer updating only to next minor version"
|
|
658
660
|
method_option "major", type: :boolean, banner: "If updating, prefer updating to latest major version (default)"
|