capistrano-aws-hosts 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e77ffd50a4ac9dc978149cf4e1d1273473497970
4
- data.tar.gz: 2d3a4844ea7b9b098231bc5c4e035f813a7c2a6c
3
+ metadata.gz: b0f9510b83b59c8c39a2568414ca4bb03435d677
4
+ data.tar.gz: 92b6e4a9baa70cafec1d3c9a27356e195c7e3f8a
5
5
  SHA512:
6
- metadata.gz: 2bdefb9729bd4308f1cda3250d500bcb0670b127e951ea1521665f9f54d6bffa176aab06190b976e4e0c03a5a75548be99dd49f85bf23e49f27b15d2e0566c2b
7
- data.tar.gz: 7e387afc6a27d2a8df491d409b0aa5e7e1c35ec59185ba346ee52fdfef9129660b930c8c73d6e0dd00d61f59dad83d29aca3b105065314ca40a7fa2b8d00873f
6
+ metadata.gz: a79b89119a15587c2563e0a5f135cc4e9338e3d3f9fbab94ccc2379ac9eaed8e96c903a6419a23d82a3dbea13c02d89cefad0b64047fb260d3d4eadf21937022
7
+ data.tar.gz: a858aa350ed98dd0971f586388a6c63d86abb28ee7f638edece88fce2c7e7d1401fb9203cb9f57a49e366ec68ef6f256dc2dad4bbb19914270d4bdb857a94ad0
@@ -1,7 +1,7 @@
1
1
  module Capistrano
2
2
  module Aws
3
3
  module Hosts
4
- VERSION = "0.1.0"
4
+ VERSION = "0.1.1"
5
5
  end
6
6
  end
7
7
  end
@@ -22,7 +22,7 @@ module Capistrano
22
22
  {name: 'tag-value', values: ["*#{role_name}*"]}
23
23
  ])
24
24
 
25
- instances = instances.first.reservations.first.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.0
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-14 00:00:00.000000000 Z
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.8
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