Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update hint to remove deprecated command #603

Merged
merged 1 commit into from
Sep 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/spoom/cli/srb/bump.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
6 changes: 3 additions & 3 deletions test/spoom/cli/srb/bump_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand All @@ -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)

Expand Down Expand Up @@ -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)

Expand Down
Loading