awspec 0.88.1 → 0.88.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/awspec.gemspec +1 -0
- data/doc/resource_types.md +2 -2
- data/lib/awspec.rb +2 -0
- data/lib/awspec/matcher/have_route.rb +0 -2
- data/lib/awspec/type/security_group.rb +2 -2
- data/lib/awspec/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: 33d2db756bfe666edddb50bead98fea400cfbe5a
|
4
|
+
data.tar.gz: '096909723914b170022ec21591cbc72606add578'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d6a77790f78a16d96821e17667e752fdbc2425d851e807a4180dcac1e8c5ff79f7df768b37b8c185fc594f56cf8c83a53030fd1c804aa888b02d1b245d8e54f1
|
7
|
+
data.tar.gz: 1e8e3eed7993b157df1a63dad92187ff5125cc19875f9d4792614e6326b21e0308fd68021b6fd93d382142dd082a7864c707c7a5996323734bae17c255dd298e
|
data/awspec.gemspec
CHANGED
@@ -27,6 +27,7 @@ Gem::Specification.new do |spec|
|
|
27
27
|
spec.add_runtime_dependency 'thor'
|
28
28
|
spec.add_runtime_dependency 'activesupport', '~> 4.0'
|
29
29
|
spec.add_runtime_dependency 'term-ansicolor'
|
30
|
+
spec.add_runtime_dependency 'ipaddress'
|
30
31
|
spec.add_development_dependency 'bundler', '~> 1.9'
|
31
32
|
spec.add_development_dependency 'rake', '~> 12.0'
|
32
33
|
spec.add_development_dependency 'rubocop', '~> 0.47.0'
|
data/doc/resource_types.md
CHANGED
@@ -583,7 +583,7 @@ describe directconnect_virtual_interface('my-directconnect-virtual-interface') d
|
|
583
583
|
end
|
584
584
|
```
|
585
585
|
|
586
|
-
### its(:owner_account), its(:virtual_interface_id), its(:location), its(:connection_id), its(:virtual_interface_type), its(:virtual_interface_name), its(:vlan), its(:asn), its(:auth_key), its(:amazon_address), its(:customer_address), its(:address_family), its(:virtual_interface_state), its(:customer_router_config), its(:virtual_gateway_id), its(:route_filter_prefixes), its(:bgp_peers)
|
586
|
+
### its(:owner_account), its(:virtual_interface_id), its(:location), its(:connection_id), its(:virtual_interface_type), its(:virtual_interface_name), its(:vlan), its(:asn), its(:amazon_side_asn), its(:auth_key), its(:amazon_address), its(:customer_address), its(:address_family), its(:virtual_interface_state), its(:customer_router_config), its(:virtual_gateway_id), its(:direct_connect_gateway_id), its(:route_filter_prefixes), its(:bgp_peers)
|
587
587
|
## <a name="dynamodb_table">dynamodb_table</a>
|
588
588
|
|
589
589
|
DynamodbTable resource type.
|
@@ -1101,7 +1101,7 @@ describe elasticache('my-rep-group-001') do
|
|
1101
1101
|
end
|
1102
1102
|
```
|
1103
1103
|
|
1104
|
-
### its(:cache_cluster_id), its(:configuration_endpoint), its(:client_download_landing_page), its(:cache_node_type), its(:engine), its(:engine_version), its(:cache_cluster_status), its(:num_cache_nodes), its(:preferred_availability_zone), its(:cache_cluster_create_time), its(:preferred_maintenance_window), its(:notification_configuration), its(:cache_security_groups), its(:cache_subnet_group_name), its(:cache_nodes), its(:auto_minor_version_upgrade), its(:replication_group_id), its(:snapshot_retention_limit), its(:snapshot_window)
|
1104
|
+
### its(:cache_cluster_id), its(:configuration_endpoint), its(:client_download_landing_page), its(:cache_node_type), its(:engine), its(:engine_version), its(:cache_cluster_status), its(:num_cache_nodes), its(:preferred_availability_zone), its(:cache_cluster_create_time), its(:preferred_maintenance_window), its(:notification_configuration), its(:cache_security_groups), its(:cache_subnet_group_name), its(:cache_nodes), its(:auto_minor_version_upgrade), its(:replication_group_id), its(:snapshot_retention_limit), its(:snapshot_window), its(:auth_token_enabled), its(:transit_encryption_enabled), its(:at_rest_encryption_enabled)
|
1105
1105
|
## <a name="elasticache_cache_parameter_group">elasticache_cache_parameter_group</a>
|
1106
1106
|
|
1107
1107
|
ElasticacheCacheParameterGroup resource type.
|
data/lib/awspec.rb
CHANGED
@@ -98,8 +98,8 @@ module Awspec::Type
|
|
98
98
|
ret = permission.ip_ranges.select do |ip_range|
|
99
99
|
# if the cidr is an IP address then do a true CIDR match
|
100
100
|
if cidr =~ /^\d+\.\d+\.\d+\.\d+/
|
101
|
-
net =
|
102
|
-
net.include?(cidr)
|
101
|
+
net = IPAddress::IPv4.new(ip_range.cidr_ip)
|
102
|
+
net.include?(IPAddress::IPv4.new(cidr))
|
103
103
|
else
|
104
104
|
ip_range.cidr_ip == cidr
|
105
105
|
end
|
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: 0.88.
|
4
|
+
version: 0.88.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- k1LoW
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-11-
|
11
|
+
date: 2017-11-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|
@@ -114,6 +114,20 @@ dependencies:
|
|
114
114
|
- - ">="
|
115
115
|
- !ruby/object:Gem::Version
|
116
116
|
version: '0'
|
117
|
+
- !ruby/object:Gem::Dependency
|
118
|
+
name: ipaddress
|
119
|
+
requirement: !ruby/object:Gem::Requirement
|
120
|
+
requirements:
|
121
|
+
- - ">="
|
122
|
+
- !ruby/object:Gem::Version
|
123
|
+
version: '0'
|
124
|
+
type: :runtime
|
125
|
+
prerelease: false
|
126
|
+
version_requirements: !ruby/object:Gem::Requirement
|
127
|
+
requirements:
|
128
|
+
- - ">="
|
129
|
+
- !ruby/object:Gem::Version
|
130
|
+
version: '0'
|
117
131
|
- !ruby/object:Gem::Dependency
|
118
132
|
name: bundler
|
119
133
|
requirement: !ruby/object:Gem::Requirement
|