Skip to content

Commit d6bfb73

Browse files
deivid-rodriguezhsbt
authored andcommitted
[rubygems/rubygems] Update some reference to Bundler 3 to Bundler 4
rubygems/rubygems@53174e0aa6
1 parent 4e3ef1d commit d6bfb73

File tree

7 files changed

+15
-15
lines changed

7 files changed

+15
-15
lines changed

lib/bundler/lockfile_parser.rb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -145,13 +145,13 @@ def initialize(lockfile, strict: false)
145145
if @platforms.include?(Gem::Platform::X64_MINGW)
146146
@platforms.delete(Gem::Platform::X64_MINGW_LEGACY)
147147
SharedHelpers.major_deprecation(2,
148-
"Found x64-mingw32 in lockfile, which is deprecated. Removing it. Support for x64-mingw32 will be removed in Bundler 3.0.",
149-
removed_message: "Found x64-mingw32 in lockfile, which is no longer supported as of Bundler 3.0.")
148+
"Found x64-mingw32 in lockfile, which is deprecated. Removing it. Support for x64-mingw32 will be removed in Bundler 4.0.",
149+
removed_message: "Found x64-mingw32 in lockfile, which is no longer supported as of Bundler 4.0.")
150150
else
151151
@platforms[@platforms.index(Gem::Platform::X64_MINGW_LEGACY)] = Gem::Platform::X64_MINGW
152152
SharedHelpers.major_deprecation(2,
153-
"Found x64-mingw32 in lockfile, which is deprecated. Using x64-mingw-ucrt, the replacement for x64-mingw32 in modern rubies, instead. Support for x64-mingw32 will be removed in Bundler 3.0.",
154-
removed_message: "Found x64-mingw32 in lockfile, which is no longer supported as of Bundler 3.0.")
153+
"Found x64-mingw32 in lockfile, which is deprecated. Using x64-mingw-ucrt, the replacement for x64-mingw32 in modern rubies, instead. Support for x64-mingw32 will be removed in Bundler 4.0.",
154+
removed_message: "Found x64-mingw32 in lockfile, which is no longer supported as of Bundler 4.0.")
155155
end
156156
end
157157

lib/bundler/man/bundle-config.1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ Automatically run \fBbundle install\fR when gems are missing\.
6666
Install executables from gems in the bundle to the specified directory\. Defaults to \fBfalse\fR\.
6767
.TP
6868
\fBcache_all\fR (\fBBUNDLE_CACHE_ALL\fR)
69-
Cache all gems, including path and git gems\. This needs to be explicitly configured on bundler 1 and bundler 2, but will be the default on bundler 3\.
69+
Cache all gems, including path and git gems\. This needs to be explicitly before bundler 4, but will be the default on bundler 4\.
7070
.TP
7171
\fBcache_all_platforms\fR (\fBBUNDLE_CACHE_ALL_PLATFORMS\fR)
7272
Cache gems for all platforms\.
@@ -214,7 +214,7 @@ A space\-separated or \fB:\fR\-separated list of groups whose gems bundler shoul
214214
.SH "REMEMBERING OPTIONS"
215215
Flags passed to \fBbundle install\fR or the Bundler runtime, such as \fB\-\-path foo\fR or \fB\-\-without production\fR, are remembered between commands and saved to your local application's configuration (normally, \fB\./\.bundle/config\fR)\.
216216
.P
217-
However, this will be changed in bundler 3, so it's better not to rely on this behavior\. If these options must be remembered, it's better to set them using \fBbundle config\fR (e\.g\., \fBbundle config set \-\-local path foo\fR)\.
217+
However, this will be changed in bundler 4, so it's better not to rely on this behavior\. If these options must be remembered, it's better to set them using \fBbundle config\fR (e\.g\., \fBbundle config set \-\-local path foo\fR)\.
218218
.P
219219
The flags that can be configured are:
220220
.TP

lib/bundler/man/bundle-config.1.ronn

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ learn more about their operation in [bundle install(1)](bundle-install.1.html).
8989
Defaults to `false`.
9090
* `cache_all` (`BUNDLE_CACHE_ALL`):
9191
Cache all gems, including path and git gems. This needs to be explicitly
92-
configured on bundler 1 and bundler 2, but will be the default on bundler 3.
92+
before bundler 4, but will be the default on bundler 4.
9393
* `cache_all_platforms` (`BUNDLE_CACHE_ALL_PLATFORMS`):
9494
Cache gems for all platforms.
9595
* `cache_path` (`BUNDLE_CACHE_PATH`):
@@ -229,7 +229,7 @@ Flags passed to `bundle install` or the Bundler runtime, such as `--path foo` or
229229
`--without production`, are remembered between commands and saved to your local
230230
application's configuration (normally, `./.bundle/config`).
231231

232-
However, this will be changed in bundler 3, so it's better not to rely on this
232+
However, this will be changed in bundler 4, so it's better not to rely on this
233233
behavior. If these options must be remembered, it's better to set them using
234234
`bundle config` (e.g., `bundle config set --local path foo`).
235235

lib/bundler/man/bundle-inject.1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ bundle inject 'rack' '> 0'
2020
.P
2121
This will inject the 'rack' gem with a version greater than 0 in your [\fBGemfile(5)\fR][Gemfile(5)] and Gemfile\.lock\.
2222
.P
23-
The \fBbundle inject\fR command was deprecated in Bundler 2\.1 and will be removed in Bundler 3\.0\.
23+
The \fBbundle inject\fR command was deprecated in Bundler 2\.1 and will be removed in Bundler 4\.0\.
2424
.SH "OPTIONS"
2525
.TP
2626
\fB\-\-source=SOURCE\fR

lib/bundler/man/bundle-inject.1.ronn

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Example:
2121
This will inject the 'rack' gem with a version greater than 0 in your
2222
[`Gemfile(5)`][Gemfile(5)] and Gemfile.lock.
2323

24-
The `bundle inject` command was deprecated in Bundler 2.1 and will be removed in Bundler 3.0.
24+
The `bundle inject` command was deprecated in Bundler 2.1 and will be removed in Bundler 4.0.
2525

2626
## OPTIONS
2727

spec/bundler/bundler/lockfile_parser_spec.rb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -129,8 +129,8 @@
129129
it "shows deprecation warning for replacement" do
130130
expect(Bundler::SharedHelpers).to receive(:major_deprecation).with(
131131
2,
132-
"Found x64-mingw32 in lockfile, which is deprecated. Using x64-mingw-ucrt, the replacement for x64-mingw32 in modern rubies, instead. Support for x64-mingw32 will be removed in Bundler 3.0.",
133-
removed_message: "Found x64-mingw32 in lockfile, which is no longer supported as of Bundler 3.0."
132+
"Found x64-mingw32 in lockfile, which is deprecated. Using x64-mingw-ucrt, the replacement for x64-mingw32 in modern rubies, instead. Support for x64-mingw32 will be removed in Bundler 4.0.",
133+
removed_message: "Found x64-mingw32 in lockfile, which is no longer supported as of Bundler 4.0."
134134
)
135135
subject
136136
end
@@ -183,8 +183,8 @@
183183
it "shows deprecation warning for removing legacy platform" do
184184
expect(Bundler::SharedHelpers).to receive(:major_deprecation).with(
185185
2,
186-
"Found x64-mingw32 in lockfile, which is deprecated. Removing it. Support for x64-mingw32 will be removed in Bundler 3.0.",
187-
removed_message: "Found x64-mingw32 in lockfile, which is no longer supported as of Bundler 3.0."
186+
"Found x64-mingw32 in lockfile, which is deprecated. Removing it. Support for x64-mingw32 will be removed in Bundler 4.0.",
187+
removed_message: "Found x64-mingw32 in lockfile, which is no longer supported as of Bundler 4.0."
188188
)
189189
subject
190190
end

spec/bundler/cache/git_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -452,7 +452,7 @@
452452
bundle :cache, "all-platforms" => true, :install => false
453453

454454
# it did _NOT_ actually install the gem - neither in $GEM_HOME (bundler 2 mode),
455-
# nor in .bundle (bundler 3 mode)
455+
# nor in .bundle (bundler 4 mode)
456456
expect(Pathname.new(File.join(default_bundle_path, "gems/foo-1.0-#{ref}"))).to_not exist
457457
# it _did_ cache the gem in vendor/
458458
expect(bundled_app("vendor/cache/foo-1.0-#{ref}")).to exist

0 commit comments

Comments
 (0)