hu 1.6.3 → 1.6.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 +8 -0
  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: eb89711a93896425a001c9aac9f0ae42a24926e2
4
- data.tar.gz: 7b761aeb4153188c4bf493d9aef23dafa388a86e
3
+ metadata.gz: d77094c35d74632872c12865442c3d495d0c6a13
4
+ data.tar.gz: fb0a087b92d1d77907d9f9416c71ac86f0d181c4
5
5
  SHA512:
6
- metadata.gz: 283c47e03aedb4679f8238771fd8dbcc8c851e4dd7da4e9f0e2a30ae9c980c66eb6d32da27b33beabf4e139e58534e721847e0a051812666140803ecec5925db
7
- data.tar.gz: ef03f80e0b1208c774b2826558a96da83dc2718e3b9f97e4d5445337d6183653b2a5e10588e97bce85682ffeb63a64ed2a8be0885272dc434449284e261e1816
6
+ metadata.gz: 7de4d1f58ba9481ff06cb188e6e7b8945d58625372ab4a9dfb9069b344ada71230bb7977dff3dddac740c2e71f3e2d331ea7a223ac278dd963ebab15a1ebac17
7
+ data.tar.gz: 2b267532de883f131419afdd103ce4e550637ba42a7eb5f8df125bd4a957772d7908a4f99c859c59639c91754f683b3b3b86b001381a3786148d0430b0c8b377
data/lib/hu/deploy.rb CHANGED
@@ -557,6 +557,14 @@ EOM
557
557
  unbusy
558
558
  raise "FATAL: Found multiple heroku apps with git_url=#{git_url}" if r.length > 1
559
559
  r[0]
560
+ rescue Excon::Error::Unauthorized
561
+ unbusy
562
+ puts "ERROR: Heroku Access Denied".color(:red)
563
+ puts
564
+ puts " Most likely your local credentials have expired."
565
+ puts " Please run 'heroku login'."
566
+ puts
567
+ exit 1
560
568
  end
561
569
 
562
570
  def heroku_pipeline_details(app)
data/lib/hu/version.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module Hu
3
- VERSION = '1.6.3'
3
+ VERSION = '1.6.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: 1.6.3
4
+ version: 1.6.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-03-15 00:00:00.000000000 Z
11
+ date: 2018-04-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler