miam 0.2.4.beta9 → 0.2.4.beta10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/miam/exporter.rb +2 -1
- data/lib/miam/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: 8251e78648421d3acb0afa0a5a663a570ccd2f27
|
4
|
+
data.tar.gz: 8e7322231ec3e6ece6e297aba849a0870f6edde6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8de5260855df74629d5c7e2eac076469d686a711e652f5df43d478de1988d88d844d941055471ba112cfa45bc60eb0d27230aa11109c84db7813531d1bdd31b2
|
7
|
+
data.tar.gz: 3b17645369feff700cc7c813c41602ffa887409276fa378f5ff332d163dd9b2bb90703dbe5e2f1fc207cb4034a22a5c0a6e0df561af3f155e1bd2bfaef4841c3
|
data/lib/miam/exporter.rb
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
# coding: utf-8
|
2
2
|
class Miam::Exporter
|
3
3
|
AWS_MANAGED_POLICY_PREFIX = 'arn:aws:iam::aws:'
|
4
|
+
AWS_CN_MANAGED_POLICY_PREFIX = 'arn:aws-cn:iam::aws:'
|
4
5
|
|
5
6
|
def self.export(iam, options = {})
|
6
7
|
self.new(iam, options).export
|
@@ -200,7 +201,7 @@ class Miam::Exporter
|
|
200
201
|
result = {}
|
201
202
|
|
202
203
|
Parallel.each(policies, :in_threads => @concurrency) do |policy|
|
203
|
-
if policy.arn.start_with?(AWS_MANAGED_POLICY_PREFIX)
|
204
|
+
if policy.arn.start_with?(AWS_MANAGED_POLICY_PREFIX) or policy.arn.start_with?(AWS_CN_MANAGED_POLICY_PREFIX)
|
204
205
|
next
|
205
206
|
end
|
206
207
|
|
data/lib/miam/version.rb
CHANGED
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.
|
4
|
+
version: 0.2.4.beta10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Genki Sugawara
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-02-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|