awspec 0.87.1 → 0.88.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ab2f1d81f78fc41c8220c707e6b4bb2e8723219e
4
- data.tar.gz: 62fc35595857dd28a73b363c41e0e78ff673870e
3
+ metadata.gz: 8e6a4131853e729d3af670609f7134fcd244fd37
4
+ data.tar.gz: 052e01f16b1507dd1c6f4f55c9c553ffc0bedf72
5
5
  SHA512:
6
- metadata.gz: c3562045e596c333942c6b5d4eee86dc850037acc2ea75b9c61c956e2d8a27f64aeccdfd51db4abe6da558d37ce056c6ddb93028d3812150f1ba4a5a588c809d
7
- data.tar.gz: aa2675d96de408a20d906d8336e551add0ad2b195a2611382363c5020873c740aab1abf4639d0efe4d77528096273b23f35c4d912bab3f085b539f221e1877a1
6
+ metadata.gz: ab2ba7acf7e1df2b3d487a5422b5d5c200ea615fbf4333c8ae5d7173048700a18da1e152c709c8caaac297a4e305933641c08d9eaadeca1432c6f0223b9427a9
7
+ data.tar.gz: a9337de7160775a8b4101f8ee9c15e9ac4debb0072667341abd37d783c0d6ced3b3c51c28f632f20a48097a70fe484a4f5d54d23b14f98ee80cf02de277e04d5
@@ -1180,7 +1180,7 @@ end
1180
1180
  ```
1181
1181
 
1182
1182
 
1183
- ### its(:domain_id), its(:domain_name), its(:arn), its(:created), its(:deleted), its(:endpoint), its(:processing), its(:elasticsearch_version), its(:access_policies), its(:snapshot_options), its(:advanced_options), its(:log_publishing_options)
1183
+ ### its(:domain_id), its(:domain_name), its(:arn), its(:created), its(:deleted), its(:endpoint), its(:endpoints), its(:processing), its(:elasticsearch_version), its(:access_policies), its(:snapshot_options), its(:vpc_options), its(:advanced_options), its(:log_publishing_options)
1184
1184
  ## <a name="elastictranscoder_pipeline">elastictranscoder_pipeline</a>
1185
1185
 
1186
1186
  ElastictranscoderPipeline resource type.
@@ -3,7 +3,7 @@ RSpec::Matchers.define :have_record_set do |name|
3
3
  hosted_zone.has_record_set?(name, @type, @value, @options)
4
4
  end
5
5
 
6
- %w(soa a txt ns cname mx ptr srv spf aaaa).each do |type|
6
+ %w(soa a txt ns cname mx ptr srv spf aaaa caa).each do |type|
7
7
  chain type do |value|
8
8
  @type = type
9
9
  @value = value
@@ -6,7 +6,7 @@ Aws.config[:route53] = {
6
6
  id: '/hostedzone/Z1A2BCDEF34GH5',
7
7
  name: 'example.com.',
8
8
  caller_reference: '',
9
- resource_record_set_count: 6
9
+ resource_record_set_count: 8
10
10
  }
11
11
  ],
12
12
  marker: '',
@@ -94,6 +94,28 @@ Aws.config[:route53] = {
94
94
  dns_name: 's3-website-us-east-1.amazonaws.com.',
95
95
  evaluate_target_health: false
96
96
  }
97
+ },
98
+ {
99
+ name: 'example.com.',
100
+ type: 'CAA',
101
+ ttl: 600,
102
+ resource_records: [
103
+ {
104
+ value: '0 issue "amazon.com"'
105
+ },
106
+ {
107
+ value: '0 issue "amazontrust.com"'
108
+ },
109
+ {
110
+ value: '0 issue "awstrust.com"'
111
+ },
112
+ {
113
+ value: '0 issuewild "amazonaws.com"'
114
+ },
115
+ {
116
+ value: '0 iodef "mailto:support@example.com"'
117
+ }
118
+ ]
97
119
  }
98
120
  ],
99
121
  is_truncated: false,
@@ -127,7 +127,17 @@ Aws.config[:ec2] = {
127
127
  peering_status: 'active'
128
128
  }
129
129
  ]
130
- }
130
+ },
131
+ {
132
+ from_port: 443,
133
+ to_port: 443,
134
+ ip_protocol: 'tcp',
135
+ prefix_list_ids: [
136
+ {
137
+ prefix_list_id: 'pl-a5321fa3'
138
+ }
139
+ ]
140
+ },
131
141
  ]
132
142
  }
133
143
  ]
@@ -91,6 +91,10 @@ module Awspec::Type
91
91
 
92
92
  def cidr_opened?(permission, cidr)
93
93
  return true unless cidr
94
+ ret = permission.prefix_list_ids.select do |prefix_list_id|
95
+ prefix_list_id.prefix_list_id == cidr
96
+ end
97
+ return true if ret.count >0
94
98
  ret = permission.ip_ranges.select do |ip_range|
95
99
  # if the cidr is an IP address then do a true CIDR match
96
100
  if cidr =~ /^\d+\.\d+\.\d+\.\d+/
@@ -1,3 +1,3 @@
1
1
  module Awspec
2
- VERSION = '0.87.1'
2
+ VERSION = '0.88.0'
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: 0.87.1
4
+ version: 0.88.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - k1LoW
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-10-17 00:00:00.000000000 Z
11
+ date: 2017-10-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec