-
Notifications
You must be signed in to change notification settings - Fork 613
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed problem with :verbose=>false in sh and ruby commands
(http://onestepback.org/redmine/issues/show/52). Updated tests to cover all scenarios.
- Loading branch information
1 parent
762e6c5
commit 6afd6fa
Showing
5 changed files
with
88 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
|
||
task :standalone_verbose_true do | ||
verbose true | ||
sh "ruby -e '0'" | ||
end | ||
|
||
task :standalone_verbose_false do | ||
verbose false | ||
sh "ruby -e '0'" | ||
end | ||
|
||
task :inline_verbose_default do | ||
sh "ruby -e '0'" | ||
end | ||
|
||
task :inline_verbose_false do | ||
sh "ruby -e '0'", :verbose => false | ||
end | ||
|
||
task :inline_verbose_true do | ||
sh "ruby -e '0'", :verbose => true | ||
end | ||
|
||
task :block_verbose_true do | ||
verbose(true) do | ||
sh "ruby -e '0'" | ||
end | ||
end | ||
|
||
task :block_verbose_false do | ||
verbose(false) do | ||
sh "ruby -e '0'" | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters