awful 0.0.86 → 0.0.87
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/dyn +3 -0
- data/lib/awful.rb +1 -1
- data/lib/awful/ec2.rb +1 -1
- data/lib/awful/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: fb08d4b75da85cfb4f6f2b6f2676a8262ac9d474
|
4
|
+
data.tar.gz: 441ceba1ce0b886929aa029cfd0bb48a97aeb82e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1176e85a77999f0cbae504dbc4b66626d19bd8f3bc40e9623cb96aea81196a064dbe3445e96c0feba69b09effe22ca58b23b786b8075167198563943c84a7cbb
|
7
|
+
data.tar.gz: 957e18c950e2ff839ce8874aad720bdc614e202ccd4dc083c96a740641cb6243acf620774a6c1f3106a04e725aef86078dd1b6abc7f6fbf7576c59ea3aaed71a
|
data/bin/dyn
CHANGED
data/lib/awful.rb
CHANGED
@@ -124,7 +124,7 @@ module Awful
|
|
124
124
|
def find_instance(name)
|
125
125
|
if name .nil?
|
126
126
|
nil?
|
127
|
-
elsif name.match(/^i-[\d[a-f]]{8}$/)
|
127
|
+
elsif name.match(/^i-[\d[a-f]]{8,17}$/)
|
128
128
|
name
|
129
129
|
else
|
130
130
|
ec2.describe_instances.map(&:reservations).flatten.map(&:instances).flatten.find do |instance|
|
data/lib/awful/ec2.rb
CHANGED
@@ -224,7 +224,7 @@ module Awful
|
|
224
224
|
desc 'delete NAME', 'terminate a running instance'
|
225
225
|
def delete(name)
|
226
226
|
id =
|
227
|
-
if name.match(/^i-[\d[a-f]]{8}$/)
|
227
|
+
if name.match(/^i-[\d[a-f]]{8,17}$/)
|
228
228
|
name
|
229
229
|
else
|
230
230
|
ec2.describe_instances.map(&:reservations).flatten.map(&:instances).flatten.find do |instance|
|
data/lib/awful/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: awful
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.87
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ric Lister
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-01-
|
11
|
+
date: 2016-01-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|