singel 0.2.3 → 0.2.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 93309ed4bb6ca45ba817b03388085fb3f5fe8b9a
4
- data.tar.gz: 8607257c32a674deac60097d3e88349fabe5d4fd
3
+ metadata.gz: 833c1351797413ca7c21a88ef1dceefc038a299d
4
+ data.tar.gz: 4c65d0265b6f8b371ec72e3dedf33ee4c0a1b711
5
5
  SHA512:
6
- metadata.gz: 8aa63e39b2eb98bcfcbe4af326a3e996c178bbc1e6e8ef48913c53afd60d4396c4f3bf7b37cf4f2cffb767a05d64032f6ca63d382d485a9db7bc2aab0cb53fa0
7
- data.tar.gz: 1652fe4e7d25d9ac23e99cbdc18ed63844047ae3aa4518466a6d019768e28cd305be73beac370570662a4752927ab5c90c940bc324b8a9f4bbbacb23c975c0e6
6
+ metadata.gz: f2ecf94bd56953ef79a3a73708b19c1816c5cba8ff4604c6487392f4adee6b0871fa1081264eec42815c2764fa0cc7f90bc70346a38392c16f9fde0221fb6531
7
+ data.tar.gz: 2f7ce476322f7094367b20067bdb90aca1e79c3c88dc54fa7055fe73f984b814ad5459a5f4dfe6e3b8a25c3f874a5266a55425233fd5f419bbefd21bdd01520e
@@ -57,6 +57,7 @@ module Singel
57
57
  ec2.describe_instance_status
58
58
  rescue
59
59
  puts 'Could not connect to EC2. Check your local AWS credentials before continuing.'.to_red
60
+ STDOUT.flush
60
61
  exit!
61
62
  end
62
63
 
@@ -68,6 +68,7 @@ module Singel
68
68
  # throw and error message and exit with and error status
69
69
  def exit_error
70
70
  puts "An error occured during the packer run.\nSee the above output for more details.".to_red
71
+ STDOUT.flush
71
72
  exit!
72
73
  end
73
74
  end
@@ -31,6 +31,7 @@ module Singel
31
31
  @parsed || @parsed = JSON.parse(@file)
32
32
  rescue JSON::ParserError
33
33
  puts "Invalid JSON in the Packer config #{@name}.\nValidate your JSON before running Singel again.".to_red
34
+ STDOUT.flush
34
35
  exit!
35
36
  end
36
37
 
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'singel'
3
- s.version = '0.2.3'
3
+ s.version = '0.2.4'
4
4
  s.date = Date.today.to_s
5
5
  s.platform = Gem::Platform::RUBY
6
6
  s.extra_rdoc_files = ['README.md', 'LICENSE']
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: singel
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tim Smith