hu 2.0.3 → 2.0.4

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 +3 -4
  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: '097060d7b29df1eb2a3561bf60689715ca21a492'
4
- data.tar.gz: df9f3c73e30014896bdbdbf07e69d9875165e370
3
+ metadata.gz: 79de3117d3c98f02dc2c5ba796197285e11ed9c3
4
+ data.tar.gz: 4b7586e29e01d41316e5763916366614a3aeef6d
5
5
  SHA512:
6
- metadata.gz: 9eea8fd0060eb737f3dd6188b5b16e6ad04915d88f6894907bd782a7be19d848a234f36423e267c1f6a2f8a382aa5686e025fed8daf67e81af7d60f68916fe70
7
- data.tar.gz: e387f456cf8f0ed84a209d42379e3df6eb51939fd6859d10ce1decc8dd0f03580afe21cc261b906963100700484f9788315d3dd42d08abf5478737151483ef4b
6
+ metadata.gz: 2dee605bbf84b76b46278e87af565433fb31413d47ad6ad5d1edae4443c66310b675b0c575764b8b751fa6365738a999fb1980fa7cf7e7d35b122b54ced8de3d
7
+ data.tar.gz: 79e825751ae21b7ccb5275824fd0d30cd952c51e79ed0202066affa4cd1090f9185994d89bc308d5648326f674811d502ebcd030aa5ddf4496a3ad4df0af0016
@@ -318,7 +318,7 @@ EOM
318
318
  end
319
319
 
320
320
  if release_branch_exists && git_revisions[:release] == git_revisions[stag_app_name]
321
- hyperlink = "\e]8;;#{app['web_url']}\007#{app['web_url']}\e]8;;\007"
321
+ hyperlink = "\e[1m#{app['web_url']}\e[0m"
322
322
 
323
323
  puts ' Phase 2/2 '.inverse + ' Your local ' + "release/#{release_tag}".bright + ' (formerly ' + 'develop'.bright + ') is live on ' + stag_app_name.to_s.bright + '.'
324
324
  puts
@@ -328,7 +328,7 @@ EOM
328
328
  puts ' If there are problems: Quit, delete the release branch and start fixing.'
329
329
  puts
330
330
  elsif git_revisions[prod_app_name] != git_revisions[stag_app_name] && !release_branch_exists && git_revisions[:release] != git_revisions[stag_app_name]
331
- hyperlink = "\e]8;;#{app['web_url']}\007#{app['web_url']}\e]8;;\007"
331
+ hyperlink = "\e[1m#{app['web_url']}\e[0m"
332
332
 
333
333
  puts ' DEPLOY '.inverse + ' HEADS UP! This is the last chance to detect problems.'.bright
334
334
  puts ' The final version of ' + "release/#{release_tag}".bright + ' is staged.'
@@ -457,7 +457,7 @@ EOM
457
457
  puts
458
458
  if h.app_feature.info(prod_app_name, 'preboot').dig('enabled')
459
459
  puts <<EOF
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.
460
+ # \e[0;1mPreboot\e[0m is \e[32;1menabled\e[0m for \e[1m#{prod_app_name}\e[0m.
461
461
  #
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.
@@ -1257,7 +1257,6 @@ EOF
1257
1257
  def promote_to_production
1258
1258
  run_each <<-EOS.strip_heredoc
1259
1259
  :stream
1260
- :return
1261
1260
 
1262
1261
  # Promote staging to production
1263
1262
  heroku pipelines:promote -r heroku
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module Hu
3
- VERSION = '2.0.3'
3
+ VERSION = '2.0.4'
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.3
4
+ version: 2.0.4
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-24 00:00:00.000000000 Z
11
+ date: 2018-08-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler