hu 2.0.1 → 2.0.2
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 +35 -25
- data/lib/hu/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e5e95d06aaea402e9207564ec0efb747fd9e7d61
|
4
|
+
data.tar.gz: db44f6e78a85cbb3357be66126c519147f13cc49
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dff22502553d2d6a5c206adfadf3882a9f306f2f204cbacbcf5a6add21413a29df5c6cba6fb01017d19b75357536859bb0bf5f8d397b5c96ae63e030039e79c0
|
7
|
+
data.tar.gz: 1948aec85e97e906a5c3a0d63de7aecdfa987b0297c652bfeaa34f43b7806c5bdd6b74fa0aa9a0abf9f17b52b846e9affaa4fd7c3dcf796035f106d754db3b5d
|
data/lib/hu/deploy.rb
CHANGED
@@ -455,10 +455,8 @@ EOM
|
|
455
455
|
end
|
456
456
|
|
457
457
|
puts
|
458
|
-
puts "\e[0;1m# Observe startup\e[0m"
|
459
458
|
if h.app_feature.info(prod_app_name, 'preboot').dig('enabled')
|
460
459
|
puts <<EOF
|
461
|
-
#
|
462
460
|
# \e[0m\e]8;;https://devcenter.heroku.com/articles/preboot\007Preboot\e]8;;\007 is \e[32;1menabled\e[0m for \e[1m#{prod_app_name}\e[0m.
|
463
461
|
#
|
464
462
|
# #{NUMBERS[formation['quantity']] || formation['quantity']} new dyno#{formation['quantity'] == 1 ? '' : 's'} (\e[1m#{formation['size']}\e[0m) #{formation['quantity'] == 1 ? 'is' : 'are'} starting up.
|
@@ -466,29 +464,41 @@ EOM
|
|
466
464
|
EOF
|
467
465
|
end
|
468
466
|
|
469
|
-
|
470
|
-
|
471
|
-
|
472
|
-
|
473
|
-
|
474
|
-
|
475
|
-
|
476
|
-
|
477
|
-
|
478
|
-
|
479
|
-
|
480
|
-
|
481
|
-
|
482
|
-
|
483
|
-
|
484
|
-
|
485
|
-
|
486
|
-
|
487
|
-
|
488
|
-
|
489
|
-
|
490
|
-
|
491
|
-
|
467
|
+
# puts
|
468
|
+
# puts "\e[0;1m# Observe startup\e[0m"
|
469
|
+
# if h.app_feature.info(prod_app_name, 'preboot').dig('enabled')
|
470
|
+
# puts <<EOF
|
471
|
+
# #
|
472
|
+
# # \e[0m\e]8;;https://devcenter.heroku.com/articles/preboot\007Preboot\e]8;;\007 is \e[32;1menabled\e[0m for \e[1m#{prod_app_name}\e[0m.
|
473
|
+
# #
|
474
|
+
# # #{NUMBERS[formation['quantity']] || formation['quantity']} new dyno#{formation['quantity'] == 1 ? '' : 's'} (\e[1m#{formation['size']}\e[0m) #{formation['quantity'] == 1 ? 'is' : 'are'} starting up.
|
475
|
+
# # The old dynos will shut down within 3 minutes.
|
476
|
+
# EOF
|
477
|
+
# end
|
478
|
+
#
|
479
|
+
# script = <<-EOS.strip_heredoc
|
480
|
+
# :stream
|
481
|
+
# :quiet
|
482
|
+
# :failquiet
|
483
|
+
# :nospinner
|
484
|
+
# :return
|
485
|
+
# heroku logs --tail -a #{prod_app_name} | grep -E "heroku\\[|app\\[api\\]"
|
486
|
+
# EOS
|
487
|
+
#
|
488
|
+
# sigint_handler = Proc.new do
|
489
|
+
# puts
|
490
|
+
# print TTY::Cursor.up + TTY::Cursor.clear_line + TTY::Cursor.show
|
491
|
+
#
|
492
|
+
# puts
|
493
|
+
# puts "\e[43m \e[0m \e[0;32mRelease \e[1m#{release_tag}\e[0;32m is being launched on \e[1m#{prod_app_name}\e[0;32m\e[0m \e[43m \e[0m"
|
494
|
+
# puts
|
495
|
+
#
|
496
|
+
# shutdown
|
497
|
+
#
|
498
|
+
# exit 0
|
499
|
+
# end
|
500
|
+
#
|
501
|
+
# run_each(script, parser: parser, sigint_handler: sigint_handler)
|
492
502
|
|
493
503
|
puts
|
494
504
|
print"\a"; sleep 0.4
|
data/lib/hu/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hu
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- moe
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-07-
|
11
|
+
date: 2018-07-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|