aws-eni 0.5.1 → 0.5.2
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 +4 -4
- data/lib/aws-eni.rb +2 -2
- data/lib/aws-eni/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c4fa652d2716687a8fd2f71830c2981e0af6d063
|
|
4
|
+
data.tar.gz: fdf8b8ff3e4e0f29e6df7a1f0a0fb0c2c23b38f6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a2a3cc7b8ed97b3c63f7e1426c67ab1a46235ec3e96c36517fb96804ba3a6b6fb66a686bdc9440c66aa0df70b827608a69c692c7114a4fd98baddf2b46834bc4
|
|
7
|
+
data.tar.gz: 072afe9b5e0909e92b94abd1a11fab2a131e6dfb5265fe27fbf3e3835d8e99a1067813ad3a2a5f984d4866f0b26a6ed6068755b4e6cc90b472d8e3dd65798668
|
data/lib/aws-eni.rb
CHANGED
|
@@ -270,7 +270,7 @@ module Aws
|
|
|
270
270
|
end
|
|
271
271
|
|
|
272
272
|
if do_block && !device.enabled?
|
|
273
|
-
raise Errors::
|
|
273
|
+
raise Errors::InvalidInput, "Interface #{device.name} is not enabled (cannot test connection)"
|
|
274
274
|
end
|
|
275
275
|
|
|
276
276
|
if new_ip
|
|
@@ -404,7 +404,7 @@ module Aws
|
|
|
404
404
|
options[:public_ip] ||= options[:allocation_id]
|
|
405
405
|
|
|
406
406
|
if do_block && !device.enabled?
|
|
407
|
-
raise Errors::
|
|
407
|
+
raise Errors::InvalidInput, "Interface #{device.name} is not enabled (cannot block)"
|
|
408
408
|
end
|
|
409
409
|
if public_ip = device.public_ips[private_ip]
|
|
410
410
|
raise Errors::ClientOperationError, "IP #{private_ip} already has an associated EIP (#{public_ip})"
|
data/lib/aws-eni/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: aws-eni
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.5.
|
|
4
|
+
version: 0.5.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Mike Greiling
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-
|
|
11
|
+
date: 2015-11-30 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: gli
|