stack_master 1.7.0-x64-mingw32 → 1.7.1-x64-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/stack_master/commands/apply.rb +8 -0
- data/lib/stack_master/version.rb +1 -1
- metadata +16 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: de8fa6e1667399a786ca49e1481a2aabb58b206a
|
4
|
+
data.tar.gz: 5eb1d27cacb86f904a1bed35a822b3a4c6d3c465
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fea58827accf50e633fb3d9b9cf54fe79a0b379847f7e69fbe127e641de770af5291a416a4c25526520f0caa1066763f4d2f6eff05ebe77d191fb165ce1ef5d1
|
7
|
+
data.tar.gz: b40240118ee022e42a2d32925d2320b29f3fd093a35ee8b7f4f014e6794380e565835db758612b1d9b6245cea9f195a7acc430898714f11e2ab6be1c954a3338
|
@@ -46,11 +46,19 @@ module StackMaster
|
|
46
46
|
!stack.nil?
|
47
47
|
end
|
48
48
|
|
49
|
+
def abort_if_review_in_progress
|
50
|
+
if stack_exists? && stack.stack_status == "REVIEW_IN_PROGRESS"
|
51
|
+
StackMaster.stderr.puts "Stack currently exists and is in #{stack.stack_status}"
|
52
|
+
failed! "You will need to delete the stack (#{stack.stack_name}) before continuing"
|
53
|
+
end
|
54
|
+
end
|
55
|
+
|
49
56
|
def use_s3?
|
50
57
|
!@s3_config.empty?
|
51
58
|
end
|
52
59
|
|
53
60
|
def diff_stacks
|
61
|
+
abort_if_review_in_progress
|
54
62
|
StackDiffer.new(proposed_stack, stack).output_diff
|
55
63
|
end
|
56
64
|
|
data/lib/stack_master/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: stack_master
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.7.
|
4
|
+
version: 1.7.1
|
5
5
|
platform: x64-mingw32
|
6
6
|
authors:
|
7
7
|
- Steve Hodgkiss
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2018-
|
12
|
+
date: 2018-06-08 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|
@@ -347,6 +347,20 @@ dependencies:
|
|
347
347
|
- - ">="
|
348
348
|
- !ruby/object:Gem::Version
|
349
349
|
version: '0'
|
350
|
+
- !ruby/object:Gem::Dependency
|
351
|
+
name: diff-lcs
|
352
|
+
requirement: !ruby/object:Gem::Requirement
|
353
|
+
requirements:
|
354
|
+
- - ">="
|
355
|
+
- !ruby/object:Gem::Version
|
356
|
+
version: '0'
|
357
|
+
type: :runtime
|
358
|
+
prerelease: false
|
359
|
+
version_requirements: !ruby/object:Gem::Requirement
|
360
|
+
requirements:
|
361
|
+
- - ">="
|
362
|
+
- !ruby/object:Gem::Version
|
363
|
+
version: '0'
|
350
364
|
description: ''
|
351
365
|
email:
|
352
366
|
- steve@hodgkiss.me
|