qops 1.4.9 → 1.4.10

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: dece5138620a5f622befd314cc0f28dab908385a
4
- data.tar.gz: a28e883d4f6d082fb8114126083213dade80e34c
3
+ metadata.gz: e5586500a7ffa8c37e58a2cd82253f2d63c12c71
4
+ data.tar.gz: e2f90b3be2ea381ce63af219c10bad462a73130b
5
5
  SHA512:
6
- metadata.gz: '0809c1d9404eacc1ba8be10f19e2c526cb7745718fb7b7a5627ac05ca72a1831d3e28294bfa7624f0b01c88b68da9a6ec15418c0d55fc48cbd78aaef391ba39f'
7
- data.tar.gz: aa8955742aa6eb952773508fbbab65e57ccd28fb7d59199e4775582ae384d535299c04affc8a440579b2b9d67b7c5f30fd2edc1a0ccdbb72dd49fa9211adecb1
6
+ metadata.gz: 810a202f62ae677c686f0284f11e97de8041506d8a92fb4db53c504ec542b29535cf39f59d5c99d1691e97870c2db32d1e0806f9b3827a5f8ac91c4f2c57dd5d
7
+ data.tar.gz: a9149059f5b4a634e19b11cd3274136c374b13d9b718dcd494b28140454bc061a54554c484ea76d9a8dcc773c5266e702960a9bd394089d9fcee61fd9250abd7
@@ -132,8 +132,7 @@ class Qops::Cookbook < Thor
132
132
  def s3
133
133
  @s3 ||= Aws::S3::Client.new(
134
134
  region: 'us-east-1',
135
- access_key_id: config.opsworks.config.credentials.access_key_id,
136
- secret_access_key: config.opsworks.config.credentials.secret_access_key
135
+ credentials: config.opsworks.config.credentials.credentials
137
136
  )
138
137
  end
139
138
 
@@ -253,8 +253,7 @@ class Qops::Instance < Thor # rubocop:disable Metrics/ClassLength
253
253
  def elb
254
254
  @elb ||= Aws::ElasticLoadBalancing::Client.new(
255
255
  region: 'us-east-1',
256
- access_key_id: config.opsworks.config.credentials.access_key_id,
257
- secret_access_key: config.opsworks.config.credentials.secret_access_key
256
+ credentials: config.opsworks.config.credentials.credentials
258
257
  )
259
258
  end
260
259
 
@@ -37,8 +37,7 @@ module Qops
37
37
  end
38
38
 
39
39
  begin
40
- opsworks.config.credentials.access_key_id
41
- opsworks.config.credentials.secret_access_key
40
+ opsworks.config.credentials.credentials
42
41
  rescue => e
43
42
  raise "There may be a problem with your aws credentials. Please correct with `aws configure`. Error: #{e}"
44
43
  end
data/lib/qops/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Qops
4
- VERSION = '1.4.9'.freeze
4
+ VERSION = '1.4.10'.freeze
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: qops
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.9
4
+ version: 1.4.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matthew Basset
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2017-04-27 00:00:00.000000000 Z
14
+ date: 2017-06-01 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: qthor