mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[rubygems/rubygems] Use bundler-graph instead of bundler-viz
https://github.com/rubygems/rubygems/commit/a54cca13db
This commit is contained in:
parent
7cc4e147fc
commit
bd2674ad33
2 changed files with 2 additions and 2 deletions
|
@ -552,7 +552,7 @@ module Bundler
|
||||||
method_option :version, :type => :boolean, :default => false, :aliases => "-v", :desc => "Set to show each gem version."
|
method_option :version, :type => :boolean, :default => false, :aliases => "-v", :desc => "Set to show each gem version."
|
||||||
method_option :without, :type => :array, :default => [], :aliases => "-W", :banner => "GROUP[ GROUP...]", :desc => "Exclude gems that are part of the specified named group."
|
method_option :without, :type => :array, :default => [], :aliases => "-W", :banner => "GROUP[ GROUP...]", :desc => "Exclude gems that are part of the specified named group."
|
||||||
def viz
|
def viz
|
||||||
SharedHelpers.major_deprecation 2, "The `viz` command has been moved to the `bundle-viz` gem, see https://github.com/rubygems/bundler-viz"
|
SharedHelpers.major_deprecation 2, "The `viz` command has been moved to the `bundle-viz` gem, see https://github.com/rubygems/bundler-graph"
|
||||||
require_relative "cli/viz"
|
require_relative "cli/viz"
|
||||||
Viz.new(options.dup).run
|
Viz.new(options.dup).run
|
||||||
end
|
end
|
||||||
|
|
|
@ -665,7 +665,7 @@ The :gist git source is deprecated, and will be removed in the future. Add this
|
||||||
end
|
end
|
||||||
|
|
||||||
it "prints a deprecation warning", :bundler => "< 3" do
|
it "prints a deprecation warning", :bundler => "< 3" do
|
||||||
expect(deprecations).to include "The `viz` command has been moved to the `bundle-viz` gem, see https://github.com/rubygems/bundler-viz"
|
expect(deprecations).to include "The `viz` command has been moved to the `bundle-viz` gem, see https://github.com/rubygems/bundler-graph"
|
||||||
end
|
end
|
||||||
|
|
||||||
pending "fails with a helpful message", :bundler => "3"
|
pending "fails with a helpful message", :bundler => "3"
|
||||||
|
|
Loading…
Reference in a new issue