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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 347ce836414ad89cc7d2ccbd452fae2938a12ea3
4
- data.tar.gz: 1448321a37033765ac8351a99c4aff9dc1e76e56
3
+ metadata.gz: 33d2db756bfe666edddb50bead98fea400cfbe5a
4
+ data.tar.gz: '096909723914b170022ec21591cbc72606add578'
5
5
  SHA512:
6
- metadata.gz: 87c70b95d3801d99cef2239d181a2b4b2eda02c929d80c730e03fde61c32da145cbcf82d0c3a9aedec7dd96b8756e078f539fa3c3817887bb97dec2efb48523f
7
- data.tar.gz: ee1304a2e751fb5d42fcf085cb477d0a570c8615650ea861b5a3f70dce59b9a4799893dd5dfac48877a202b6d13521e9655f0fbe3ef1d48a617082b6a3f85c8d
6
+ metadata.gz: d6a77790f78a16d96821e17667e752fdbc2425d851e807a4180dcac1e8c5ff79f7df768b37b8c185fc594f56cf8c83a53030fd1c804aa888b02d1b245d8e54f1
7
+ data.tar.gz: 1e8e3eed7993b157df1a63dad92187ff5125cc19875f9d4792614e6326b21e0308fd68021b6fd93d382142dd082a7864c707c7a5996323734bae17c255dd298e
@@ -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'
@@ -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.
@@ -3,6 +3,8 @@ require 'rspec'
3
3
  require 'rspec/its'
4
4
  require 'time'
5
5
  require 'active_support/inflector'
6
+ require 'ipaddr'
7
+ require 'ipaddress'
6
8
  require 'awsecrets'
7
9
  require 'awspec/version'
8
10
  require 'awspec/error'
@@ -1,5 +1,3 @@
1
- require 'ipaddr'
2
-
3
1
  RSpec::Matchers.define :have_route do |destination|
4
2
  match do |route_table|
5
3
  if !is_ipaddr?(destination) && @use_destination # for deprecated usage
@@ -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 = IPAddr.new(ip_range.cidr_ip)
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
@@ -1,3 +1,3 @@
1
1
  module Awspec
2
- VERSION = '0.88.1'
2
+ VERSION = '0.88.2'
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.88.1
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-08 00:00:00.000000000 Z
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