hu 2.0.1 → 2.0.2

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 +35 -25
  3. data/lib/hu/version.rb +1 -1
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7d7665c684bb8184985f565feea06cdde525679d
4
- data.tar.gz: aa59c31deb645d009d829340d3be6ec1e384652a
3
+ metadata.gz: e5e95d06aaea402e9207564ec0efb747fd9e7d61
4
+ data.tar.gz: db44f6e78a85cbb3357be66126c519147f13cc49
5
5
  SHA512:
6
- metadata.gz: d8169fbabe8ab3674bc0acf50085483ec3e2609f37feeb89e62875f883f916c2918fea98b471f038adfff00730067910bfddf8f08ba262d113d5e123e28d0c40
7
- data.tar.gz: 905c34198530bd0c5bcd4c1d887b79e9cda797e1a9c38629466580da8fbccbf2eb860055508d3c63a29caf2e927af1b732bc512454c260a8e5bfd5e56d445766
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
- script = <<-EOS.strip_heredoc
470
- :stream
471
- :quiet
472
- :failquiet
473
- :nospinner
474
- :return
475
- heroku logs --tail -a #{prod_app_name} | grep -E "heroku\\[|app\\[api\\]"
476
- EOS
477
-
478
- sigint_handler = Proc.new do
479
- puts
480
- print TTY::Cursor.up + TTY::Cursor.clear_line + TTY::Cursor.show
481
-
482
- puts
483
- 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"
484
- puts
485
-
486
- shutdown
487
-
488
- exit 0
489
- end
490
-
491
- run_each(script, parser: parser, sigint_handler: sigint_handler)
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
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module Hu
3
- VERSION = '2.0.1'
3
+ VERSION = '2.0.2'
4
4
  end
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.1
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-17 00:00:00.000000000 Z
11
+ date: 2018-07-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler