summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2021-11-08 20:46:08 +0900
committergit <svn-admin@ruby-lang.org>2021-11-08 22:15:21 +0900
commitbd2674ad3354bd20e026d237a461e88af3834604 (patch)
tree4b15bf1f3078625b676becfbea3cfc725c3f87b2
parent7cc4e147fc2fba1ef9e06cf50f1916acdb886a24 (diff)
downloadruby-bd2674ad3354bd20e026d237a461e88af3834604.tar.gz
[rubygems/rubygems] Use bundler-graph instead of bundler-viz
https://github.com/rubygems/rubygems/commit/a54cca13db
-rw-r--r--lib/bundler/cli.rb2
-rw-r--r--spec/bundler/other/major_deprecation_spec.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/bundler/cli.rb b/lib/bundler/cli.rb
index 517dfb098e..02c2d19c83 100644
--- a/lib/bundler/cli.rb
+++ b/lib/bundler/cli.rb
@@ -552,7 +552,7 @@ module Bundler
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."
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"
Viz.new(options.dup).run
end
diff --git a/spec/bundler/other/major_deprecation_spec.rb b/spec/bundler/other/major_deprecation_spec.rb
index e4c78e0c6c..d59f64662d 100644
--- a/spec/bundler/other/major_deprecation_spec.rb
+++ b/spec/bundler/other/major_deprecation_spec.rb
@@ -665,7 +665,7 @@ The :gist git source is deprecated, and will be removed in the future. Add this
end
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
pending "fails with a helpful message", :bundler => "3"