subiam 1.3.0 → 1.3.1

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: 9e9c53dfa71f2d449b85caa531f6d97915c6413b
4
- data.tar.gz: c73ef382a5339c7d728ebf2c28a4cfdfe96ef4da
3
+ metadata.gz: 4b81ca181c46e26116f12af3fee3f296fb5d3f48
4
+ data.tar.gz: c4747d17684e7b9e9133eec5d6efe9798914710b
5
5
  SHA512:
6
- metadata.gz: 2e9b69459246c5e88d7980df906f8424069eb6cc40481115d88585e5d771ed988bca742722721c1b6c1caeb0e7708e605788ec469e1407f379ad34fc3f4d2373
7
- data.tar.gz: bbfcdf2e17ca809dcb682e24074c152c1dc1d9a0d1885ba3cce57f89c3784fe42f80b3acfddf0230b71de2c288e95b5846185625b8764189606f4f39f569e655
6
+ metadata.gz: 20e6d0a2ef0a55541ab4e558b873032a4820dea87d4444111e954fa530b7a90b755b1b898eb30c192def451847a4dbc9adf2926a747f64b81ea48f051feecdd8
7
+ data.tar.gz: 3cc4f5d753c583176993d84ce0855ffd56f1299c667f7a3b6655a62af792b34edc3c6417131dbecafa245f5b6a1a3997029e9ad33feb1d8f302e7c7e93c8cf30
data/.gitignore CHANGED
@@ -17,3 +17,4 @@ IAMfile
17
17
  *.iam
18
18
  account.csv
19
19
  *.json
20
+ subiam-*.gem
data/README.md CHANGED
@@ -45,8 +45,8 @@ Or install it yourself as:
45
45
  export AWS_ACCESS_KEY_ID='...'
46
46
  export AWS_SECRET_ACCESS_KEY='...'
47
47
  vi subiam-xxx.rb
48
- subiam -a --dry-run subiam-xxx.rb
49
- subiam -a subiam-xxx.rb
48
+ subiam -a --dry-run -f subiam-xxx.rb
49
+ subiam -a -f subiam-xxx.rb
50
50
  ```
51
51
 
52
52
  ## Help
@@ -16,7 +16,7 @@ module Subiam::DSL::Helper
16
16
  end
17
17
  aws_config = (@context.options && @context.options[:aws_config]) ? @context.options[:aws_config] : {}
18
18
  sts = Aws::STS::Client.new(aws_config)
19
- @current_account = sts.get_caller_identity.user_id
19
+ @current_account = sts.get_caller_identity.account
20
20
  end
21
21
  end
22
- end
22
+ end
@@ -1,3 +1,3 @@
1
1
  module Subiam
2
- VERSION = '1.3.0'
2
+ VERSION = '1.3.1'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: subiam
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 1.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Genki Sugawara
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2016-05-27 00:00:00.000000000 Z
12
+ date: 2016-06-27 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: aws-sdk-core