awspec 0.50.0 → 0.51.0

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: e0115d1e32df283cce263ed572dc81184da88922
4
- data.tar.gz: 01b94d7a11b2ca745a69933b61547072a422be36
3
+ metadata.gz: 36399bf1f15d1be853fd3b0e2cdbac034a8634b6
4
+ data.tar.gz: fcbd8cf54ae6d9243123adc5348f410d58472e66
5
5
  SHA512:
6
- metadata.gz: 7d14db16d8c43130e70e4d046f7403b2dd402acbff5e1529435839c03965ded951b875e0c8a164058b12e0fea61a1543144395756d79b4d20d5109cbe8cf003b
7
- data.tar.gz: 2484777564f8c4657072b83627cb11018498ba0b5e6e694f20ee7a26cf018c15780f0b7d5657c58259805ffb08dd785180c2bde17069c41e4710b86b305ea374
6
+ metadata.gz: 13a30a422489d195d1f5a5331499ea331c587ab90989d00ff494053ca3c15201331a367909a0123eced67e57cbe2884a44f540073a30dc24e56cb633e177478f
7
+ data.tar.gz: 84439678e7e1caf6c21aac0942cda0f0e3a7553641fbf423c80f20b6e18fe167c0c1770f6196b02d34166aa3eeeda75532ba3eb5d671cc38f4c094677a7dc54d
@@ -6,6 +6,14 @@ describe security_group('my-security-group-name') do
6
6
  end
7
7
  ```
8
8
 
9
+ ### have_tag
10
+
11
+ ```ruby
12
+ describe security_group('my-security-group-name') do
13
+ it { should have_tag('env').value('dev') }
14
+ end
15
+ ```
16
+
9
17
  ### its(:inbound), its(:outbound)
10
18
 
11
19
  ```ruby
@@ -1454,6 +1454,15 @@ end
1454
1454
 
1455
1455
  ### be_outbound_opened_only
1456
1456
 
1457
+ ### have_tag
1458
+
1459
+ ```ruby
1460
+ describe security_group('my-security-group-name') do
1461
+ it { should have_tag('env').value('dev') }
1462
+ end
1463
+ ```
1464
+
1465
+
1457
1466
  ### its(:inbound), its(:outbound)
1458
1467
 
1459
1468
  ```ruby
@@ -6,6 +6,12 @@ Aws.config[:ec2] = {
6
6
  vpc_id: 'vpc-ab123cde',
7
7
  group_id: 'sg-1a2b3cd4',
8
8
  group_name: 'my-security-group-name',
9
+ tags: [
10
+ {
11
+ key: 'env',
12
+ value: 'dev'
13
+ }
14
+ ],
9
15
  ip_permissions: [
10
16
  {
11
17
  from_port: 80,
@@ -1,6 +1,7 @@
1
1
  module Awspec::Type
2
2
  class SecurityGroup < Base
3
3
  aws_resource Aws::EC2::SecurityGroup
4
+ tags_allowed
4
5
 
5
6
  def initialize(id)
6
7
  super
@@ -1,3 +1,3 @@
1
1
  module Awspec
2
- VERSION = '0.50.0'
2
+ VERSION = '0.51.0'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: awspec
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.50.0
4
+ version: 0.51.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - k1LoW