aws_helper 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/awshelper/cli.rb +1 -2
- data/lib/awshelper/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f72663aa5928cd0380ffc0d8b1e7468392c42a49
|
4
|
+
data.tar.gz: 8f4ec0c6f4cc20c1df6e6dc20d0f36dd3272dedc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e41d177d534ee7e4e81a5574d5fba8881c33c586b08e6e6f3b2051ed31b5e74ee406cc4ff981db86ff0c6f2deba782466ad48220e99a68d0050d6ccd9224ef40
|
7
|
+
data.tar.gz: 66a7b77a2950f8fddf7df073329a0bbc8a760b7523e45ca94ffc078bf8089cf2680b43b6c3812528c9b9335ead3da183a235b955f80d3e592267e87145d0a61f
|
data/lib/awshelper/cli.rb
CHANGED
@@ -185,8 +185,7 @@ long_desc <<-LONGDESC
|
|
185
185
|
LONGDESC
|
186
186
|
|
187
187
|
def ebs_cleanup()
|
188
|
-
|
189
|
-
response.each do |r|
|
188
|
+
ec2.describe_volumes(:filters => { 'status' => 'available', 'size' => '8' }).each do |r|
|
190
189
|
if r[:aws_size] == 8 and r[:aws_status] == 'available' and r[:tags] == {} and r[:snapshot_id] != nil and r[:snapshot_id][0,5] == 'snap-' then
|
191
190
|
log("Deleting unused volume #{r[:aws_id]} from snapshot #{r[:snapshot_id]}")
|
192
191
|
ec2.delete_volume(r[:aws_id])
|
data/lib/awshelper/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws_helper
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Neill Turner
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-05-
|
11
|
+
date: 2015-05-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: right_aws
|
@@ -74,7 +74,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
74
74
|
version: '0'
|
75
75
|
requirements: []
|
76
76
|
rubyforge_project: "[none]"
|
77
|
-
rubygems_version: 2.2.
|
77
|
+
rubygems_version: 2.2.3
|
78
78
|
signing_key:
|
79
79
|
specification_version: 4
|
80
80
|
summary: Aws Helper for an instance
|