specinfra-ec2_metadata-tags 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/specinfra/ec2_metadata/tags.rb +1 -2
- data/lib/specinfra/ec2_metadata/tags/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: 3ef513df1d94ee233695065203812a5465df4119
|
4
|
+
data.tar.gz: a6009b13337def59a721be97ae7105ce75a0b8d4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6a65a92bfa6a3027ca8a1def49995d012bb4db1cb7b737c36d0cce6532abc549df6d4848fd1c81aeec44e757f1ab41df77052535e8133952165d87decd4a6049
|
7
|
+
data.tar.gz: cd65f30326ec5a29742b852437ba4964b2f545b43ad38cb3ff85901585fca158547ec92a0e9cc6f94efbc9cabe04e2e3e6dc3be84d5a2395d3376b78793b4aed
|
@@ -5,8 +5,7 @@ module Specinfra
|
|
5
5
|
class Ec2Metadata
|
6
6
|
class Tags
|
7
7
|
def self.get
|
8
|
-
region = host_inventory['ec2']['placement']['availability-zone']
|
9
|
-
region.gsub!(/[a-z]$/, '')
|
8
|
+
region = host_inventory['ec2']['placement']['availability-zone'].gsub(/[a-z]$/, '')
|
10
9
|
ec2 = Aws::EC2::Client.new(:region => region)
|
11
10
|
page = ec2.describe_tags(
|
12
11
|
:filters => [{
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: specinfra-ec2_metadata-tags
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gosuke Miyashita
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-03-
|
11
|
+
date: 2015-03-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk
|