miam 0.2.0.beta → 0.2.0.beta2

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: 93e592c9821a09f0eb8dee36c98f1ab14cbd9185
4
- data.tar.gz: 06c463a3aa71249eaf5371fadcf5df506afe1c67
3
+ metadata.gz: 2b4746d43e2426cfba92bc734aefcb601afaca48
4
+ data.tar.gz: 97b169346e842f94b37dff744b8fd6bf8056a759
5
5
  SHA512:
6
- metadata.gz: ebbb9ef86252c3240575445f3afe68690b53fe6c6a9bd7de7de95368d6a1b87bde63b2d22eb37942c7f83eea5f5215defc21b766ab67af42c9bfbf01df722cb8
7
- data.tar.gz: ffabc21c6da3fa8ffa0c23308b90c2c2f7aec0bc0fecf90c29b6363014fd80974eed9a25018b4b80fff448c09f1987301d7f597d6c550aa5976a34b1d9b8c37a
6
+ metadata.gz: 295c3b5fdc15a5d900e95414fb1d59daf7b3c07fd755ff1413ab64eed6027bf9b3a457dc03e31bd7f405ff747117811b2d1831fedbf08988cd2980aa702ae63a
7
+ data.tar.gz: e78da7de7c8bd646bb2558a0787fa7d20a048deea465b6beb3e772aef95d19eb5459380ee8962f9f25abdffbe57abd735d9fe327baa812c53e826eab27b2122d
data/lib/miam.rb CHANGED
@@ -20,6 +20,7 @@ require 'miam/dsl/context/role'
20
20
  require 'miam/dsl/context/user'
21
21
  require 'miam/dsl/converter'
22
22
  require 'miam/exporter'
23
+ require 'miam/ext/aws_ext'
23
24
  require 'miam/ext/string_ext'
24
25
  require 'miam/password_manager'
25
26
  require 'miam/utils'
@@ -0,0 +1,33 @@
1
+ # XXX: see https://github.com/aws/aws-sdk-core-ruby/pull/171
2
+ module Seahorse
3
+ module Util
4
+ IAM_paginators_json = /\bIAM.paginators.json\z/
5
+
6
+ class << self
7
+ alias orig_load_json load_json
8
+
9
+ def load_json(path)
10
+ json = orig_load_json(path)
11
+
12
+ if IAM_paginators_json =~ path
13
+ add_GetAccountAuthorizationDetails_paginator(json)
14
+ else
15
+ json
16
+ end
17
+ end
18
+
19
+ private
20
+
21
+ def add_GetAccountAuthorizationDetails_paginator(json)
22
+ json["GetAccountAuthorizationDetails"] = {
23
+ "input_token" => "Marker",
24
+ "output_token" => "Marker",
25
+ "more_results" => "IsTruncated",
26
+ "limit_key" => "MaxItems",
27
+ }
28
+
29
+ json
30
+ end
31
+ end
32
+ end
33
+ end
data/lib/miam/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Miam
2
- VERSION = '0.2.0.beta'
2
+ VERSION = '0.2.0.beta2'
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.0.beta
4
+ version: 0.2.0.beta2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Genki Sugawara
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-12-06 00:00:00.000000000 Z
11
+ date: 2014-12-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -149,6 +149,7 @@ files:
149
149
  - lib/miam/dsl/context/user.rb
150
150
  - lib/miam/dsl/converter.rb
151
151
  - lib/miam/exporter.rb
152
+ - lib/miam/ext/aws_ext.rb
152
153
  - lib/miam/ext/string_ext.rb
153
154
  - lib/miam/logger.rb
154
155
  - lib/miam/password_manager.rb