Skip to content

Commit a1148d4

Browse files
deivid-rodriguezmatzbot
authored andcommitted
[rubygems/rubygems] Cancel bundle console deprecation
ruby/rubygems@506a863b36
1 parent d1f921e commit a1148d4

34 files changed

+36
-62
lines changed

lib/bundler/cli.rb

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -482,12 +482,10 @@ def open(name)
482482
Open.new(options, name).run
483483
end
484484

485-
unless Bundler.feature_flag.bundler_3_mode?
486-
desc "console [GROUP]", "Opens an IRB session with the bundle pre-loaded"
487-
def console(group = nil)
488-
require_relative "cli/console"
489-
Console.new(options, group).run
490-
end
485+
desc "console [GROUP]", "Opens an IRB session with the bundle pre-loaded"
486+
def console(group = nil)
487+
require_relative "cli/console"
488+
Console.new(options, group).run
491489
end
492490

493491
desc "version", "Prints Bundler version information"

lib/bundler/cli/console.rb

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,6 @@ def initialize(options, group)
99
end
1010

1111
def run
12-
message = "bundle console will be replaced by `bin/console` generated by `bundle gem <name>`"
13-
removed_message = "bundle console has been replaced by `bin/console` generated by `bundle gem <name>`"
14-
Bundler::SharedHelpers.major_deprecation 2, message, removed_message: removed_message
15-
1612
group ? Bundler.require(:default, *group.split(" ").map!(&:to_sym)) : Bundler.require
1713
ARGV.clear
1814

lib/bundler/man/bundle-add.1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.\" generated with nRonn/v0.11.1
22
.\" https://github.com/n-ronn/nronn/tree/0.11.1
3-
.TH "BUNDLE\-ADD" "1" "October 2024" ""
3+
.TH "BUNDLE\-ADD" "1" "November 2024" ""
44
.SH "NAME"
55
\fBbundle\-add\fR \- Add gem to the Gemfile and run bundle install
66
.SH "SYNOPSIS"

lib/bundler/man/bundle-binstubs.1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.\" generated with nRonn/v0.11.1
22
.\" https://github.com/n-ronn/nronn/tree/0.11.1
3-
.TH "BUNDLE\-BINSTUBS" "1" "October 2024" ""
3+
.TH "BUNDLE\-BINSTUBS" "1" "November 2024" ""
44
.SH "NAME"
55
\fBbundle\-binstubs\fR \- Install the binstubs of the listed gems
66
.SH "SYNOPSIS"

lib/bundler/man/bundle-cache.1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.\" generated with nRonn/v0.11.1
22
.\" https://github.com/n-ronn/nronn/tree/0.11.1
3-
.TH "BUNDLE\-CACHE" "1" "October 2024" ""
3+
.TH "BUNDLE\-CACHE" "1" "November 2024" ""
44
.SH "NAME"
55
\fBbundle\-cache\fR \- Package your needed \fB\.gem\fR files into your application
66
.SH "SYNOPSIS"

lib/bundler/man/bundle-check.1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.\" generated with nRonn/v0.11.1
22
.\" https://github.com/n-ronn/nronn/tree/0.11.1
3-
.TH "BUNDLE\-CHECK" "1" "October 2024" ""
3+
.TH "BUNDLE\-CHECK" "1" "November 2024" ""
44
.SH "NAME"
55
\fBbundle\-check\fR \- Verifies if dependencies are satisfied by installed gems
66
.SH "SYNOPSIS"

lib/bundler/man/bundle-clean.1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.\" generated with nRonn/v0.11.1
22
.\" https://github.com/n-ronn/nronn/tree/0.11.1
3-
.TH "BUNDLE\-CLEAN" "1" "October 2024" ""
3+
.TH "BUNDLE\-CLEAN" "1" "November 2024" ""
44
.SH "NAME"
55
\fBbundle\-clean\fR \- Cleans up unused gems in your bundler directory
66
.SH "SYNOPSIS"

lib/bundler/man/bundle-config.1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.\" generated with nRonn/v0.11.1
22
.\" https://github.com/n-ronn/nronn/tree/0.11.1
3-
.TH "BUNDLE\-CONFIG" "1" "October 2024" ""
3+
.TH "BUNDLE\-CONFIG" "1" "November 2024" ""
44
.SH "NAME"
55
\fBbundle\-config\fR \- Set bundler configuration options
66
.SH "SYNOPSIS"

lib/bundler/man/bundle-console.1

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
.\" generated with nRonn/v0.11.1
22
.\" https://github.com/n-ronn/nronn/tree/0.11.1
3-
.TH "BUNDLE\-CONSOLE" "1" "October 2024" ""
3+
.TH "BUNDLE\-CONSOLE" "1" "November 2024" ""
44
.SH "NAME"
5-
\fBbundle\-console\fR \- Deprecated way to open an IRB session with the bundle pre\-loaded
5+
\fBbundle\-console\fR \- Open an IRB session with the bundle pre\-loaded
66
.SH "SYNOPSIS"
77
\fBbundle console\fR [GROUP]
88
.SH "DESCRIPTION"
@@ -29,7 +29,5 @@ $ bundle console
2929
Resolving dependencies\|\.\|\.\|\.
3030
[1] pry(main)>
3131
.fi
32-
.SH "NOTES"
33-
This command was deprecated in Bundler 2\.1 and will be removed in 3\.0\. Use \fBbin/console\fR script, which can be generated by \fBbundle gem <NAME>\fR\.
3432
.SH "SEE ALSO"
3533
Gemfile(5) \fIhttps://bundler\.io/man/gemfile\.5\.html\fR

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

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
bundle-console(1) -- Deprecated way to open an IRB session with the bundle pre-loaded
1+
bundle-console(1) -- Open an IRB session with the bundle pre-loaded
22
=====================================================================================
33

44
## SYNOPSIS
@@ -34,11 +34,6 @@ the shell from the following:
3434
Resolving dependencies...
3535
[1] pry(main)>
3636

37-
## NOTES
38-
39-
This command was deprecated in Bundler 2.1 and will be removed in 3.0.
40-
Use `bin/console` script, which can be generated by `bundle gem <NAME>`.
41-
4237
## SEE ALSO
4338

4439
[Gemfile(5)](https://bundler.io/man/gemfile.5.html)

0 commit comments

Comments
 (0)