hu 2.0.14 → 2.0.15
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/hu/deploy.rb +5 -3
- data/lib/hu/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8117cf07f04c4322c004e7e8ced8e93834d55996931d31fdfb8e109a52726365
|
4
|
+
data.tar.gz: 5630c03e30a4ce3b543e7e76131fcc6ae5609fa54f268b7bbbe4e558455eadc0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 51c06649e238e617c2091bb14db4760273703256ddd7312bd537d1fb347f70ca4605a0686495a97cee604a7ba33fba7a0250f3fb3712a97c5a82ee7497e574e6
|
7
|
+
data.tar.gz: d9d738226d6d3c7392c8a58aed48661b1ee883dd5743c7f5f543cc3c60edaf969507b3ef6e82b6c02409a300eb119222ddacd708d967d8c509deb6e924430d96
|
data/lib/hu/deploy.rb
CHANGED
@@ -1411,12 +1411,14 @@ EOF
|
|
1411
1411
|
return if @@shutting_down
|
1412
1412
|
format ||= TTY::Formats::FORMATS.keys.sample
|
1413
1413
|
options = { format: format, hide_cursor: true, error_mark: "\e[31;1m✖\e[0m", success_mark: "\e[32;1m✔\e[0m", clear: clear }
|
1414
|
-
|
1415
|
-
|
1414
|
+
unless ENV['SPINNER'] == '0'
|
1415
|
+
@@spinner = TTY::Spinner.new("\e[0;1m#{msg}#{msg.empty? ? '' : ' '}\e[0m\e[32;1m:spinner\e[0m", options)
|
1416
|
+
@@spinner.start
|
1417
|
+
end
|
1416
1418
|
end
|
1417
1419
|
|
1418
1420
|
def unbusy
|
1419
|
-
@@spinner&.stop
|
1421
|
+
@@spinner&.stop unless ENV['SPINNER'] == '0'
|
1420
1422
|
printf "\e[?25h"
|
1421
1423
|
end
|
1422
1424
|
|
data/lib/hu/version.rb
CHANGED