amirotate 0.0.13 → 0.0.14
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/amirotate/client.rb +9 -3
- data/lib/amirotate/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: 9256bca4a3ab574b8757466198b2d13ce8b928d4
|
4
|
+
data.tar.gz: 7e39f8b90252586eba21e5287f8a781e74d5d222
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 113d77ae7b48f91e5209f315f63719613f4adc501ab6fca9bb708650dadb6c4d44d6ae570325661282ebd8254788420965bc95839373bd76dc450756661d74ed
|
7
|
+
data.tar.gz: e5da0641b0ea19f26213c86be7f5be7b41f6055be4069c3451799b84f500d4b243ff532936845c6c7a44d90221173523854accc802c29f3e59788029078dd489
|
data/lib/amirotate/client.rb
CHANGED
@@ -71,7 +71,6 @@ module AMIRotate
|
|
71
71
|
no_reboot: !@cli_options[:reboot],
|
72
72
|
|
73
73
|
name: [
|
74
|
-
name,
|
75
74
|
instance.instance_id,
|
76
75
|
Time.now.strftime("%Y-%m-%d %H.%M.%S"),
|
77
76
|
].join(" - ")
|
@@ -83,8 +82,15 @@ module AMIRotate
|
|
83
82
|
dry_run: @cli_options[:dry_run],
|
84
83
|
|
85
84
|
tags: [
|
86
|
-
|
87
|
-
|
85
|
+
{
|
86
|
+
key: tag.key,
|
87
|
+
value: tag.value,
|
88
|
+
},
|
89
|
+
|
90
|
+
{
|
91
|
+
key: "Name",
|
92
|
+
value: name,
|
93
|
+
},
|
88
94
|
],
|
89
95
|
)
|
90
96
|
rescue Aws::EC2::Errors::DryRunOperation
|
data/lib/amirotate/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: amirotate
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.14
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- y13i
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-04-
|
11
|
+
date: 2015-04-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|