awspec 1.12.6 → 1.12.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/awspec/generator/spec/autoscaling_group.rb +6 -2
- data/lib/awspec/matcher/have_tag.rb +4 -0
- data/lib/awspec/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5d727d645b806891b8fa371129cece8368ce744d6e875b41a959afc51546e9bc
|
4
|
+
data.tar.gz: ab6fad916683fe9f7d1054d1181b38f87568bcea287a2948419fe6415206f5ec
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 64e3616625c521027c12772da54feed43ba85ff96cac6ffdd76b8d8963bf0087b856d42053d38d6aaaf9e67bd0f48fe1162d3679990d1241a5de2019ab322829
|
7
|
+
data.tar.gz: e268f784d76b57b858c079bb37f38c50c3ac35606f4bcca4c301644985314448b9b1b5d3fdcfcea1c03f2de5dcea63e74dccbd3970f65585e554cebb15d192ff
|
@@ -40,8 +40,12 @@ describe autoscaling_group('<%= autoscaling_group.auto_scaling_group_name %>') d
|
|
40
40
|
<% autoscaling_group[:load_balancer_names].each do |desc| %>
|
41
41
|
it { should have_elb('<%= desc %>') }
|
42
42
|
<% end %>
|
43
|
-
<% autoscaling_group[:target_group_arns].each do |desc| %>
|
44
|
-
|
43
|
+
<% autoscaling_group[:target_group_arns].join(",").gsub(/arn:.+?:targetgroup\/(.[^\/]*)\/.[^,]*/, '\1').split(",").each do |desc| %>
|
44
|
+
<%- if not find_alb_target_group(desc).nil? -%>
|
45
|
+
it { should have_alb_target_group('<%= desc %>') }
|
46
|
+
<%- elsif not find_nlb_target_group(desc).nil? -%>
|
47
|
+
it { should have_nlb_target_group('<%= desc %>') }
|
48
|
+
<%- end -%>
|
45
49
|
<% end %>
|
46
50
|
end
|
47
51
|
EOF
|
data/lib/awspec/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: awspec
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.12.
|
4
|
+
version: 1.12.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- k1LoW
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-12-
|
11
|
+
date: 2018-12-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk
|