idlc-sdk-deploy 1.0.0.rc15 → 1.0.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
- SHA1:
3
- metadata.gz: c0ffc09522c3a73e576b93cb4a91d4bfd364899a
4
- data.tar.gz: b6c63c346221fa1a4c1c3583668a64e93e445904
2
+ SHA256:
3
+ metadata.gz: ea8424f4a8f6aa83bd86e90c41dea5042fd62d552d5f193fe230607ed0618e3a
4
+ data.tar.gz: 19eed5e3abe75babc9af5d7b58ba8906e0ee81b9e0cb3a93adefa38b1ede19dc
5
5
  SHA512:
6
- metadata.gz: 57748a8d6093727413c17a28002615a7375141e1ad69e14710b952dd51ce8b035029d8670cfb6847b928e71c87d9b7e9af5e36ab5de49173d51dc37bad9d63d2
7
- data.tar.gz: 8646c4aa28104f61ecaf501576a827c17530c82c83102497a151abf8f3c30400e3401f1aace5ea8eed93433332415b7f8881566f156a7275960d844f3270dd75
6
+ metadata.gz: ebe1a8ce4304605d51ffa2b8f3aebbb6e3f4f2e39d405b1192c56c1fd80fa6ee49c70bb8c25cdcf4ddda50bc46b7a3477434b7d347e31424cd35a714c5a49e51
7
+ data.tar.gz: fc70e4c67f31956872524df248bd90af1c273fc19d7e83152bcd966fdeee2992cf271290641a39c3138330d21217dc9c5a161784f26a1651b52d93bc0946cb2d
@@ -30,8 +30,17 @@ module Idlc
30
30
  method: 'GET',
31
31
  path: "/metadata/#{env_key}",
32
32
  }
33
+ metadata = client.fetch(request.to_json)['deployments'].first
33
34
 
34
- client.fetch(request.to_json)['deployments'].first
35
+ request = {
36
+ service: 'config',
37
+ method: 'GET',
38
+ path: "/account/#{metadata['environment']['account_alias']}",
39
+ }
40
+ account = client.fetch(request.to_json)
41
+
42
+ metadata['account'] = account
43
+ metadata
35
44
  end
36
45
  end
37
46
 
@@ -1,5 +1,5 @@
1
1
  module Idlc
2
2
  module Deploy
3
- VERSION = '1.0.0.rc15'.freeze
3
+ VERSION = '1.0.1'.freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: idlc-sdk-deploy
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.rc15
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nathan Cazell
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-12-20 00:00:00.000000000 Z
11
+ date: 2017-12-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -233,12 +233,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
233
233
  version: '0'
234
234
  required_rubygems_version: !ruby/object:Gem::Requirement
235
235
  requirements:
236
- - - ">"
236
+ - - ">="
237
237
  - !ruby/object:Gem::Version
238
- version: 1.3.1
238
+ version: '0'
239
239
  requirements: []
240
240
  rubyforge_project:
241
- rubygems_version: 2.5.1
241
+ rubygems_version: 2.7.3
242
242
  signing_key:
243
243
  specification_version: 4
244
244
  summary: IDLC SDK for AWS resources - Deploy