aws_cred_vault 0.0.2 → 0.0.3

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: 307b3e31e8b93bb5c886d47336d815aff0a7735f
4
- data.tar.gz: f542140f62254af624cec4932ab6e26e3a9db4a9
3
+ metadata.gz: 4d53f31eb0f1419563a89f6ac8069537fb6e4835
4
+ data.tar.gz: d62da46dad9fd945182a0efeb76bc54174c11d5c
5
5
  SHA512:
6
- metadata.gz: 1e86e295c4d63175d3d8369a4e6827fe3ce191d83b83cfc4294d96e6a41ffedfb6d250b19d4d03b36dd6d135fe1cf31d1a2e506d951d984eb37d1679b4893982
7
- data.tar.gz: ade788fd581eaaeccb3e104f0dd65c164dbd1d2ad79cdd2d33f5a9a5c8fd7dbf56dd5fc205d71943a3ad350cd6fb9a19f33e5b905f35db98b8c43a25ae60d40e
6
+ metadata.gz: b99013c803f207c311d087319555449e71dbf3cf880cd0b70c56480acfb86bc1bf81b1e72ec4fb9fff03ce5e1d3d0194c4e5cb9730e3ca2920717f84aae474f5
7
+ data.tar.gz: 6d4f13b6b95991e0d3ad3c5a88450489008488672b435e4f78a960b9b35113391ca9b1d99161d5ba20b4c9fe7586c3b28672a247ec7a7dbdc36769e3c21510d4
@@ -12,7 +12,7 @@ module AwsCredVault
12
12
  account_hash.map do |name, user_list|
13
13
  account = Account.new name
14
14
  user_list.each do |name, credentials|
15
- account.add_user User.new name, credentials[:access_key], credentials[:secret]
15
+ account.add_user User.new name, credentials["access_key"], credentials["secret"]
16
16
  end
17
17
  account
18
18
  end
@@ -1,3 +1,3 @@
1
1
  module AwsCredVault
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
@@ -25,6 +25,14 @@ describe AwsCredVault::Toml do
25
25
  expect(subject).to eq([])
26
26
  end
27
27
  end
28
+
29
+ it 'creates the right user name' do
30
+ expect(subject.first.users.first.access_key).to eq 'fenix'
31
+ end
32
+
33
+ it 'creates the right secret' do
34
+ expect(subject.first.users.first.secret).to eq 'zealot!'
35
+ end
28
36
  end
29
37
 
30
38
  describe '#add_account' do
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws_cred_vault
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Clarke Brunsdon