hu 2.0.2 → 2.0.3

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 +7 -7
  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: e5e95d06aaea402e9207564ec0efb747fd9e7d61
4
- data.tar.gz: db44f6e78a85cbb3357be66126c519147f13cc49
3
+ metadata.gz: '097060d7b29df1eb2a3561bf60689715ca21a492'
4
+ data.tar.gz: df9f3c73e30014896bdbdbf07e69d9875165e370
5
5
  SHA512:
6
- metadata.gz: dff22502553d2d6a5c206adfadf3882a9f306f2f204cbacbcf5a6add21413a29df5c6cba6fb01017d19b75357536859bb0bf5f8d397b5c96ae63e030039e79c0
7
- data.tar.gz: 1948aec85e97e906a5c3a0d63de7aecdfa987b0297c652bfeaa34f43b7806c5bdd6b74fa0aa9a0abf9f17b52b846e9affaa4fd7c3dcf796035f106d754db3b5d
6
+ metadata.gz: 9eea8fd0060eb737f3dd6188b5b16e6ad04915d88f6894907bd782a7be19d848a234f36423e267c1f6a2f8a382aa5686e025fed8daf67e81af7d60f68916fe70
7
+ data.tar.gz: e387f456cf8f0ed84a209d42379e3df6eb51939fd6859d10ce1decc8dd0f03580afe21cc261b906963100700484f9788315d3dd42d08abf5478737151483ef4b
@@ -377,12 +377,12 @@ EOM
377
377
 
378
378
  case choice
379
379
  when :DEPLOY
380
- Fidget.prevent_sleep(:display, :sleep, :user) do
380
+ # Fidget.prevent_sleep(:display, :sleep, :user) do
381
381
  promote_to_production
382
- end
382
+ # end
383
383
  anykey
384
384
  when :finish_release
385
- Fidget.prevent_sleep(:display, :sleep, :user) do
385
+ # Fidget.prevent_sleep(:display, :sleep, :user) do
386
386
  if ci_clear?
387
387
  old_editor = ENV['EDITOR']
388
388
  old_git_editor = ENV['GIT_EDITOR']
@@ -462,6 +462,7 @@ EOM
462
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.
463
463
  # The old dynos will shut down within 3 minutes.
464
464
  EOF
465
+
465
466
  end
466
467
 
467
468
  # puts
@@ -500,7 +501,6 @@ EOF
500
501
  #
501
502
  # run_each(script, parser: parser, sigint_handler: sigint_handler)
502
503
 
503
- puts
504
504
  print"\a"; sleep 0.4
505
505
  puts "\e[42m \e[0m \e[0;32mRelease \e[1m#{release_tag}\e[0;32m has been deployed to \e[1m#{prod_app_name}\e[0;32m\e[0m \e[42m \e[0m"
506
506
  print"\a"; sleep 0.4
@@ -509,15 +509,15 @@ EOF
509
509
 
510
510
  exit 0
511
511
  end
512
- end
512
+ # end
513
513
  when :push_to_staging
514
- Fidget.prevent_sleep(:display, :sleep, :user) do
514
+ # Fidget.prevent_sleep(:display, :sleep, :user) do
515
515
  run_each <<-EOS.strip_heredoc
516
516
  :stream
517
517
  git push origin develop
518
518
  git push #{push_url} release/#{release_tag}:master -f
519
519
  EOS
520
- end
520
+ # end
521
521
  anykey
522
522
  when :abort_ask
523
523
  puts if delete_branch("release/#{release_tag}")
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module Hu
3
- VERSION = '2.0.2'
3
+ VERSION = '2.0.3'
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.2
4
+ version: 2.0.3
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-23 00:00:00.000000000 Z
11
+ date: 2018-07-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler