awspec 1.16.0 → 1.16.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9252dd0d3fea68629e0beef8ffccc4e9c5ed332d
4
- data.tar.gz: b48df6974e6edcb4f7271d809ea9209004c39f6c
3
+ metadata.gz: cb52e161700803af0808122c1a0312d4943eb470
4
+ data.tar.gz: 741e86da6b969778af9b01fd8c881eba5b741396
5
5
  SHA512:
6
- metadata.gz: '04684450be551fa8362385f94a304cc13747f8140b215c7ec274e5ddeb07ebc0abdb2f3ce1e60dfe9f0e2d5adf87122de8fed6eefeef35b69c3386ea59e87594'
7
- data.tar.gz: ec1da9fc0da0d614c34c3215d2f4caa3b82f0f83fdd77ed0f360dc3c7aed8c40379f38a85416e0a7bee21c690721ec68717fca1bd468e0f5c3afc61cc152e842
6
+ metadata.gz: 562de31b0cb98ef280c01b728d1a5ed3a6854707d8fb10279964de1ccd90648e4b432fc1057baebcb7469b4ed3dc8963e875c266e461743d8628a2d2b116dde3
7
+ data.tar.gz: b143b6a9b77a07138090055ae64ce62afb4297699348ddb90086edf0b6667eadf36fa3cbb61fc15efa6d8684f8afda42b7187b622eded5a9aad7f209cd04e3d1
@@ -29,3 +29,11 @@ describe nat_gateway('nat-7ff7777f') do
29
29
  it { should belong_to_vpc('my-vpc') }
30
30
  end
31
31
  ```
32
+
33
+ ### have_tag
34
+
35
+ ```ruby
36
+ describe nat_gateway('nat-7ff7777f') do
37
+ it { should have_tag('Name').value('my-nat-gateway') }
38
+ end
39
+ ```
@@ -2299,6 +2299,14 @@ end
2299
2299
  ```
2300
2300
 
2301
2301
 
2302
+ ### have_tag
2303
+
2304
+ ```ruby
2305
+ describe nat_gateway('nat-7ff7777f') do
2306
+ it { should have_tag('Name').value('my-nat-gateway') }
2307
+ end
2308
+ ```
2309
+
2302
2310
  ### belong_to_vpc
2303
2311
 
2304
2312
  ```ruby
@@ -2307,7 +2315,8 @@ describe nat_gateway('nat-7ff7777f') do
2307
2315
  end
2308
2316
  ```
2309
2317
 
2310
- ### its(:create_time), its(:delete_time), its(:failure_code), its(:failure_message), its(:nat_gateway_id), its(:provisioned_bandwidth), its(:state), its(:subnet_id), its(:vpc_id), its(:tags)
2318
+
2319
+ ### its(:create_time), its(:delete_time), its(:failure_code), its(:failure_message), its(:nat_gateway_id), its(:provisioned_bandwidth), its(:state), its(:subnet_id), its(:vpc_id)
2311
2320
  ## <a name="network_acl">network_acl</a>
2312
2321
 
2313
2322
  NetworkAcl resource type.
@@ -11,6 +11,12 @@ Aws.config[:ec2] = {
11
11
  allocation_id: 'unknown',
12
12
  private_ip: 'unknown',
13
13
  network_interface_id: 'unknown'
14
+ ],
15
+ tags: [
16
+ {
17
+ key: 'Name',
18
+ value: 'my-nat-gateway'
19
+ }
14
20
  ]
15
21
  }
16
22
  ],
@@ -1,5 +1,7 @@
1
1
  module Awspec::Type
2
2
  class NatGateway < ResourceBase
3
+ tags_allowed
4
+
3
5
  def resource_via_client
4
6
  @resource_via_client ||= find_nat_gateway(@display_name)
5
7
  end
@@ -1,3 +1,3 @@
1
1
  module Awspec
2
- VERSION = '1.16.0'
2
+ VERSION = '1.16.1'
3
3
  end
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.16.0
4
+ version: 1.16.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - k1LoW
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-02-27 00:00:00.000000000 Z
11
+ date: 2019-03-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk