miam 0.2.4.beta7 → 0.2.4.beta8

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
2
  SHA1:
3
- metadata.gz: a48f60383843d58e523391cf18996058900b0205
4
- data.tar.gz: f05847ff927569a484ed599b9991074a064c8c23
3
+ metadata.gz: db416d15e77789e9842a5961c0fd9a0ddf37520c
4
+ data.tar.gz: 8518f5af7bfd066ffb3c50099efeac19ec93871a
5
5
  SHA512:
6
- metadata.gz: 9f4e17cf7fef45786c8a17bde2baa1d4617222ccaf426d804972d7c101ce671fbccfd99adb2234c6063dd0615a22f5eadff668aab045ea4bcd2499483273fdfb
7
- data.tar.gz: e2fbcbb019ac76e637960bb758bc33600683e78810d066ef9f5f11369e0721185343ac2a0b44b5a37e67ed6ac9d8ed8aff89cc1bf523dd07187adf45714f2f75
6
+ metadata.gz: c308c609a2498a1f7e3c9d4ff231d9a419864c791d2c4aae0d7d98f5273e7c43c23522de2ec5b2bf70e66b905c4ed6ab60af0b15a13ec24632b630c47f14ae06
7
+ data.tar.gz: 09e1f6e04a5edb027e443dde184e4c77f8ad16772afc867bbf74ca143cd02c479e43f99c1a0fc9d8fe43f9a6e83ee63cbd813d38e63b6c2086829577427904b8
data/.rspec CHANGED
@@ -1,4 +1,5 @@
1
1
  --require rspec/instafail
2
- --format RSpec::Instafail
2
+ --format documentation
3
+ #RSpec::Instafail
3
4
  --colour
4
5
  --require spec_helper
data/.travis.yml CHANGED
@@ -4,7 +4,7 @@ rvm:
4
4
  - 2.0.0
5
5
  script:
6
6
  - bundle install
7
- - bundle exec rake
7
+ - travis_wait bundle exec rake
8
8
  env:
9
9
  global:
10
10
  - secure: "Ec8bwSfp06anSzLJpGhkKjPz9EocMwl7H8t2LKoI3bKV/cz9JU0GhhUdUUmg3mCFH9+8/YGLzcbFKcxZIqnDK7ukdgTGsnGDevnctis0QwM7/nKHdkaK8JWhCx41TUXOqoiCKkNEnm1EbDtrILt4rJwb0BGXGnPjv6nLAyvdE2Y="
data/lib/miam/exporter.rb CHANGED
@@ -255,24 +255,17 @@ class Miam::Exporter
255
255
  :policies,
256
256
  ]
257
257
 
258
- key_by_filter = {
259
- 'User' => :user_detail_list,
260
- 'Role' => :role_detail_list,
261
- 'Group' => :group_detail_list,
262
- 'LocalManagedPolicy' => :policies
263
- }
264
-
265
- key_by_filter.values.each do |key|
258
+ keys.each do |key|
266
259
  account_authorization_details[key] = []
267
260
  end
268
261
 
269
- Parallel.each(key_by_filter, :in_threads => @concurrency) do |filter, key|
270
- @iam.get_account_authorization_details(:filter => [filter]).each do |resp|
262
+ @iam.get_account_authorization_details.each do |resp|
263
+ keys.each do |key|
271
264
  account_authorization_details[key].concat(resp[key])
265
+ end
272
266
 
273
- unless @options[:no_progress]
274
- progressbar.increment
275
- end
267
+ unless @options[:no_progress]
268
+ progressbar.increment
276
269
  end
277
270
  end
278
271
 
data/lib/miam/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Miam
2
- VERSION = '0.2.4.beta7'
2
+ VERSION = '0.2.4.beta8'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: miam
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.4.beta7
4
+ version: 0.2.4.beta8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Genki Sugawara
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-11-08 00:00:00.000000000 Z
11
+ date: 2016-12-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core