From 0e699220b62463234a08b873390eee63b36d3345 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Ericson?= Date: Mon, 2 Sep 2024 13:17:57 +0200 Subject: [PATCH] Update hint to remove deprecated command --- lib/spoom/cli/srb/bump.rb | 2 +- test/spoom/cli/srb/bump_test.rb | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/spoom/cli/srb/bump.rb b/lib/spoom/cli/srb/bump.rb index 8abfcdab..dcfbf7b0 100644 --- a/lib/spoom/cli/srb/bump.rb +++ b/lib/spoom/cli/srb/bump.rb @@ -186,7 +186,7 @@ def print_changes(files, command:, from: "false", to: "true", dry: false, path: if dry && command say("\nRun `#{command}` to bump #{files_count > 1 ? "them" : "it"}") elsif dry - say("\nRun `spoom bump --from #{from} --to #{to}` locally then `commit the changes` and `push them`") + say("\nRun `spoom srb bump --from #{from} --to #{to}` locally then `commit the changes` and `push them`") end end diff --git a/test/spoom/cli/srb/bump_test.rb b/test/spoom/cli/srb/bump_test.rb index 5c9d0821..ee548599 100644 --- a/test/spoom/cli/srb/bump_test.rb +++ b/test/spoom/cli/srb/bump_test.rb @@ -254,7 +254,7 @@ class A; end Can bump `1` file from `false` to `true`: + file1.rb - Run `spoom bump --from false --to true` locally then `commit the changes` and `push them` + Run `spoom srb bump --from false --to true` locally then `commit the changes` and `push them` OUT refute(result.status) @@ -281,7 +281,7 @@ class A; end + file1.rb + file2.rb - Run `spoom bump --from false --to true` locally then `commit the changes` and `push them` + Run `spoom srb bump --from false --to true` locally then `commit the changes` and `push them` OUT refute(result.status) @@ -367,7 +367,7 @@ def foo(a, b, c); end Can bump `1` file from `false` to `true`: + file1.rb - Run `spoom bump --from false --to true` locally then `commit the changes` and `push them` + Run `spoom srb bump --from false --to true` locally then `commit the changes` and `push them` OUT refute(result.status)