From 82ae9b092cf51062c49b95e81ad184e1dea0df1e Mon Sep 17 00:00:00 2001 From: haruuzion Date: Fri, 8 Oct 2021 01:08:57 +0900 Subject: [PATCH] [rubygems/rubygems] Fix url https://github.com/rubygems/rubygems/commit/6a5a80eff7 --- lib/bundler/cli.rb | 2 +- spec/bundler/other/major_deprecation_spec.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/bundler/cli.rb b/lib/bundler/cli.rb index d5de72e5d4..517dfb098e 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/bundler/bundler-viz" + SharedHelpers.major_deprecation 2, "The `viz` command has been moved to the `bundle-viz` gem, see https://github.com/rubygems/bundler-viz" 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 873366a190..e4c78e0c6c 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/bundler/bundler-viz" + expect(deprecations).to include "The `viz` command has been moved to the `bundle-viz` gem, see https://github.com/rubygems/bundler-viz" end pending "fails with a helpful message", :bundler => "3"