infopark-aws_utils 0.7.0 → 0.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/infopark/aws_utils/env.rb +4 -1
- data/lib/infopark/aws_utils/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: fd62159a173f03f500066e9abfdaa4c07ab91437
|
4
|
+
data.tar.gz: 07053c3acbeeaa985256b30dbb8d8299922c0c9a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4650e70e0480fa700d93cd1fab9393fd67cfa1fe76725a21dc69167260f82507bd1cbd0bd1121dc7e19e90408ab192453beb212e7a98b29e73774dc2a1d5f6bf
|
7
|
+
data.tar.gz: 9c409dd94f8874f69fc176876bfe30b20a0a32bf4897940c4018e434a2379a5a6e1cde4e91ed05987b6d66f249e6c010044012da3407d9758eb7447c1f3134ff
|
@@ -27,7 +27,10 @@ class Env
|
|
27
27
|
def initialize(profile_name = nil)
|
28
28
|
@credentials = Aws::SharedCredentials.new(profile_name: profile_name)
|
29
29
|
@clients = Hash.new do |clients, mod|
|
30
|
-
clients[mod] = mod.const_get(:Client).new(
|
30
|
+
clients[mod] = mod.const_get(:Client).new(
|
31
|
+
credentials: @credentials,
|
32
|
+
region: Aws.shared_config.region(profile: profile_name),
|
33
|
+
)
|
31
34
|
end
|
32
35
|
end
|
33
36
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: infopark-aws_utils
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.8.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tilo Prütz
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-02-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-applicationautoscaling
|