capistrano-autoscale 1.0.8 → 1.0.9

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
  SHA256:
3
- metadata.gz: 1a3b4199fde85d31dbba5880eab1bc0db3977b600058089c7ebca23041cdeb0c
4
- data.tar.gz: 4d188be9087ba17a1a4d80c04c85a52de5a3d6c753a0c4d9e585c01a5305682e
3
+ metadata.gz: fa25db298d32e210d08f652c69c6a63d5ee8f5ac92be54edee6c90fe557b9110
4
+ data.tar.gz: fb4f792c88cbb931baa04ef6f2a6f932893004453a5a0464e9e495b3baed341d
5
5
  SHA512:
6
- metadata.gz: 6c4e9615ae057eda47bf1147c6d30a0ae8fe409fb2b30aa5f7eb34f6c90b9636b29a16bf33aece1602f4da110f0e3fb000ed9a2a5c850042b2892793aded45dd
7
- data.tar.gz: c0c3418127bbcefca60746a6d27b85ef11655c1fa4be64d8c1b83b40e3b4bc0fa93e6ff38d618bc3585348389cfdb08f926ce43f3aaa6512e4e5b2f8dacfb6b6
6
+ metadata.gz: 3cb01ac4f28155d2300598ee27d3bc81ef0ad902a3889954f88102d3ba1f315dcfe9ce68530e4c1ccbe51d772f2472e0660df9e27514e32370428b9640d31cc2
7
+ data.tar.gz: 56158a941cee184e6ed472939f735ffc7c3a6ef1261c9049a58251a53dfd021d956fef9412b938e0aece12780c0212bd3d5a31ef9aab8864c3434918debc96da
@@ -1,10 +1,10 @@
1
1
  module Capistrano
2
2
  module Autoscale
3
3
  module Aws
4
- module Credentials
4
+ module AutoscalingCredentials
5
5
  include Capistrano::DSL
6
6
 
7
- def credentials
7
+ def autoscaling_credentials
8
8
  credentials = {
9
9
  access_key_id: fetch(:aws_access_key_id, ENV['AWS_ACCESS_KEY_ID']),
10
10
  secret_access_key: fetch(:aws_secret_access_key, ENV['AWS_SECRET_ACCESS_KEY'])
@@ -5,11 +5,11 @@ module Capistrano
5
5
  module Autoscale
6
6
  module Aws
7
7
  module AutoscalingGroup
8
- include Capistrano::Autoscale::Aws::Credentials
8
+ include Capistrano::Autoscale::Aws::AutoscalingCredentials
9
9
  include Capistrano::DSL
10
10
 
11
11
  def autoscale_groups
12
- @autoscale_groups ||= ::Aws::AutoScaling::Client.new(credentials).describe_auto_scaling_groups({auto_scaling_group_names: [autoscale_group_names].flatten}).auto_scaling_groups
12
+ @autoscale_groups ||= ::Aws::AutoScaling::Client.new(autoscaling_credentials).describe_auto_scaling_groups({auto_scaling_group_names: [autoscale_group_names].flatten}).auto_scaling_groups
13
13
  end
14
14
 
15
15
  def autoscale_group_names
@@ -5,10 +5,10 @@ module Capistrano
5
5
  module Autoscale
6
6
  module Aws
7
7
  module EC2
8
- include Capistrano::Autoscale::Aws::Credentials
8
+ include Capistrano::Autoscale::Aws::AutoscalingCredentials
9
9
 
10
10
  def ec2_client
11
- @ec2_client ||= ::Aws::EC2::Client.new(credentials)
11
+ @ec2_client ||= ::Aws::EC2::Client.new(autoscaling_credentials)
12
12
  end
13
13
 
14
14
  def ec2_instance(instance_id)
@@ -1,5 +1,5 @@
1
1
  module Capistrano
2
2
  module Autoscale
3
- VERSION = '1.0.8'
3
+ VERSION = '1.0.9'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-autoscale
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.8
4
+ version: 1.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Damien Glancy
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-05-28 00:00:00.000000000 Z
11
+ date: 2018-08-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -142,8 +142,8 @@ files:
142
142
  - Rakefile
143
143
  - capistrano-autoscale.gemspec
144
144
  - lib/capistrano/autoscale.rb
145
+ - lib/capistrano/autoscale/aws/autoscaling_credentials.rb
145
146
  - lib/capistrano/autoscale/aws/autoscaling_group.rb
146
- - lib/capistrano/autoscale/aws/credentials.rb
147
147
  - lib/capistrano/autoscale/aws/ec2.rb
148
148
  - lib/capistrano/autoscale/version.rb
149
149
  homepage: https://github.com/ClinchIO/capistrano-autoscale
@@ -166,7 +166,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
166
166
  version: '0'
167
167
  requirements: []
168
168
  rubyforge_project:
169
- rubygems_version: 2.7.6
169
+ rubygems_version: 2.7.7
170
170
  signing_key:
171
171
  specification_version: 4
172
172
  summary: Capistrano plugin for deploying to AWS AutoScale groups.