capistrano-aws-hosts 0.1.0 → 0.1.1
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/capistrano/aws/hosts/version.rb +1 -1
- data/lib/capistrano/aws/hosts.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: b0f9510b83b59c8c39a2568414ca4bb03435d677
|
|
4
|
+
data.tar.gz: 92b6e4a9baa70cafec1d3c9a27356e195c7e3f8a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a79b89119a15587c2563e0a5f135cc4e9338e3d3f9fbab94ccc2379ac9eaed8e96c903a6419a23d82a3dbea13c02d89cefad0b64047fb260d3d4eadf21937022
|
|
7
|
+
data.tar.gz: a858aa350ed98dd0971f586388a6c63d86abb28ee7f638edece88fce2c7e7d1401fb9203cb9f57a49e366ec68ef6f256dc2dad4bbb19914270d4bdb857a94ad0
|
data/lib/capistrano/aws/hosts.rb
CHANGED
|
@@ -22,7 +22,7 @@ module Capistrano
|
|
|
22
22
|
{name: 'tag-value', values: ["*#{role_name}*"]}
|
|
23
23
|
])
|
|
24
24
|
|
|
25
|
-
instances = instances.
|
|
25
|
+
instances = instances.reservations.collect { |r| r.instances }.flatten
|
|
26
26
|
result = instances.each_with_object([]) do |item, arr|
|
|
27
27
|
arr << OpenStruct.new(
|
|
28
28
|
private_ip: item.private_ip_address,
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: capistrano-aws-hosts
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Matthew Savage
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2018-02-
|
|
11
|
+
date: 2018-02-21 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: capistrano
|
|
@@ -102,7 +102,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
102
102
|
version: '0'
|
|
103
103
|
requirements: []
|
|
104
104
|
rubyforge_project:
|
|
105
|
-
rubygems_version: 2.6.
|
|
105
|
+
rubygems_version: 2.6.12
|
|
106
106
|
signing_key:
|
|
107
107
|
specification_version: 4
|
|
108
108
|
summary: Provide access to AWS EC2 inventory for deploy host targets
|