domed-city 1.5.0 → 1.6.0

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/bin/dome +12 -8
  3. data/lib/dome/version.rb +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2d5ef6a8c99b50bd6bd148ec82e6377ac443dc7a
4
- data.tar.gz: fb0f40650c9923d8623f63e3bb66aa9f435d8d1f
3
+ metadata.gz: 0c3744e4574c8922f3db02b78c7f4ab8f3b0d5bc
4
+ data.tar.gz: 19270a36a3a01f55403c5365620c43ebf6b5dd94
5
5
  SHA512:
6
- metadata.gz: 6278d9578fe6afb9e14e61ade2ed2fb975cd079484a54d44e32774b5207e5cb30e9bb236f459b002496a9dfef469894398bce1cd4fcd20499fa78b48dbe7e2ba
7
- data.tar.gz: f657b97ca2869409471aa8d457706339412d6d54491335fb2119d10745c55ae297c376b905e830a76f71a19c4bbb9a56d5a75d2096670d77dc7de7d41206033c
6
+ metadata.gz: 2e2879da19f7b9e31eebd95602b6fc195fbbe200a7f1bedb9e0f2b06d62119a51ca9f8d9bd9e17f0d576ff55cdd83124fea26db81d81c19fecb51cb15a23d8b7
7
+ data.tar.gz: eae4473b1fc0830b004029912cf64aafe5338f9a5342d1394eb3b3f9885221796b0ea85f4b111c1af7091db6857b1caca4051e1bc316d605c10c9ca7b980d434
data/bin/dome CHANGED
@@ -24,12 +24,16 @@ Trollop.educate unless opts.has_value?(true)
24
24
  @dome = Dome::Terraform.new
25
25
  @dome.validate_environment
26
26
 
27
- if opts[:plan]
28
- @dome.plan
29
- elsif opts[:apply]
30
- @dome.apply
31
- elsif opts[:state]
32
- @dome.state.s3_state
33
- elsif opts[:output]
34
- @dome.output
27
+ begin
28
+ if opts[:plan]
29
+ @dome.plan
30
+ elsif opts[:apply]
31
+ @dome.apply
32
+ elsif opts[:state]
33
+ @dome.state.s3_state
34
+ elsif opts[:output]
35
+ @dome.output
36
+ end
37
+ rescue Interrupt
38
+ puts "\ndome execution interrupted!".colorize(:red)
35
39
  end
@@ -1,3 +1,3 @@
1
1
  module Dome
2
- VERSION = '1.5.0'
2
+ VERSION = '1.6.0'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: domed-city
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.0
4
+ version: 1.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben Snape