hu 2.0.14 → 2.0.15

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/hu/deploy.rb +5 -3
  3. data/lib/hu/version.rb +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 115e72e64abe0e4b451b6dce7d3fd8570ad2185536b1f9b0795787a69ec6d7da
4
- data.tar.gz: 4917db8d19bb3daba7ebad68f3194d33587eb2a848e03343733e1ddfe4f97cc6
3
+ metadata.gz: 8117cf07f04c4322c004e7e8ced8e93834d55996931d31fdfb8e109a52726365
4
+ data.tar.gz: 5630c03e30a4ce3b543e7e76131fcc6ae5609fa54f268b7bbbe4e558455eadc0
5
5
  SHA512:
6
- metadata.gz: 1d681a1229a247463458f924830543d2ff0873cd4f51360a39376b9ab1c7c1a914980b713f202f2fb7046581d6222f2998b45679e0158cd689b66b5d17ee0686
7
- data.tar.gz: f5cd00e298029c952890711c44a29770d6d310e112ea3b963298de15ea621b8b2be2efc26769f516fcd6627b7c2c3e8d90dfe224eabccdedb36205fb7f514a26
6
+ metadata.gz: 51c06649e238e617c2091bb14db4760273703256ddd7312bd537d1fb347f70ca4605a0686495a97cee604a7ba33fba7a0250f3fb3712a97c5a82ee7497e574e6
7
+ data.tar.gz: d9d738226d6d3c7392c8a58aed48661b1ee883dd5743c7f5f543cc3c60edaf969507b3ef6e82b6c02409a300eb119222ddacd708d967d8c509deb6e924430d96
@@ -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
- @@spinner = TTY::Spinner.new("\e[0;1m#{msg}#{msg.empty? ? '' : ' '}\e[0m\e[32;1m:spinner\e[0m", options)
1415
- @@spinner.start
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
 
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module Hu
3
- VERSION = '2.0.14'
3
+ VERSION = '2.0.15'
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hu
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.14
4
+ version: 2.0.15
5
5
  platform: ruby
6
6
  authors:
7
7
  - moe