miam 0.2.4.beta12 → 0.2.4.beta13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +6 -4
- data/README.md +1 -1
- data/lib/miam/client.rb +1 -1
- data/lib/miam/password_manager.rb +1 -1
- data/lib/miam/version.rb +1 -1
- data/miam.gemspec +1 -1
- data/spec/spec_helper.rb +3 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fe395ae5401dc9c0d6b887223e4b429b8986a2d6
|
4
|
+
data.tar.gz: 216469fe12254fcb6b20e9056671264108dcc8ca
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 99da60b8cc85a0dcf2dd33f3cc0b46126ee194e4b9971c1d04b1c22318810756b3aa086c70d8bb690d6e6a75ae6938bd5618e75f46ee22ace4c5dd32389e7565
|
7
|
+
data.tar.gz: 1eb6f151d7f25ef4a3e31245d4909b788525f8e6ddd816ad346461398a4618e6295334a71bc11260217599049e8003a7adca09d1456e32477cc747f03b9c0f99
|
data/.travis.yml
CHANGED
@@ -1,12 +1,14 @@
|
|
1
1
|
sudo: false
|
2
2
|
language: ruby
|
3
|
+
cache: bundler
|
3
4
|
rvm:
|
4
|
-
- 2.3.
|
5
|
+
- 2.3.4
|
5
6
|
script:
|
6
7
|
- bundle install
|
7
|
-
- travis_wait bundle exec rake
|
8
|
+
- travis_wait 60 bundle exec rake
|
8
9
|
env:
|
9
10
|
global:
|
10
|
-
- secure:
|
11
|
-
- secure:
|
11
|
+
- secure: c5kyaYSGrKMg3bsVMCnIYe2w/3jJ4rxkoIwM06YGLmw5lPW0twWgpwpuBsGf6WKvDLv0eQjGq3B0I1DqHmdYHq4dQ+PdsvWg0kQUpzWpKD2ccVXevyPeDs5pC1UcLtDUpRk0Rv1Hpo4v5kiT2zsmLx29Z6F4n7agtzqK5Q2vdPs=
|
12
|
+
- secure: ipdvAzZ5EwTQui8CyINqRYLFNNe4ZyZP617xEmUS3YalhRMOEZ+NSq7BlqliE4IJPg8YlQjT5q35xFtREIr/KYS1tmU1/nFA68GC/9T+uJAsc3LSmUoYMn8Ot3654u1SjlZ86benyToZ2MgHglmHigS46SOoxBpqHrKMUW9RUz0=
|
12
13
|
- AWS_REGION=ap-northeast-1
|
14
|
+
- APPLY_WAIT=10
|
data/README.md
CHANGED
@@ -5,7 +5,7 @@ Miam is a tool to manage IAM.
|
|
5
5
|
It defines the state of IAM using DSL, and updates IAM according to DSL.
|
6
6
|
|
7
7
|
[![Gem Version](https://badge.fury.io/rb/miam.svg)](http://badge.fury.io/rb/miam)
|
8
|
-
[![Build Status](https://travis-ci.org/
|
8
|
+
[![Build Status](https://travis-ci.org/codenize-tools/miam.svg?branch=master)](https://travis-ci.org/codenize-tools/miam)
|
9
9
|
[![Coverage Status](https://coveralls.io/repos/winebarrel/miam/badge.svg?branch=master&service=github)](https://coveralls.io/github/winebarrel/miam?branch=master)
|
10
10
|
|
11
11
|
**Notice**
|
data/lib/miam/client.rb
CHANGED
@@ -138,7 +138,7 @@ class Miam::Client
|
|
138
138
|
updated = true
|
139
139
|
elsif expected_login_profile != actual_login_profile
|
140
140
|
if @options[:ignore_login_profile]
|
141
|
-
log(:warn, "User `#{user_name}`: difference of
|
141
|
+
log(:warn, "User `#{user_name}`: difference of login profile has been ignored: expected=#{expected_login_profile.inspect}, actual=#{actual_login_profile.inspect}", :color => :yellow)
|
142
142
|
else
|
143
143
|
@driver.update_login_profile(user_name, expected_login_profile, actual_login_profile)
|
144
144
|
updated = true
|
data/lib/miam/version.rb
CHANGED
data/miam.gemspec
CHANGED
@@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
|
|
10
10
|
spec.email = ['sgwr_dts@yahoo.co.jp']
|
11
11
|
spec.summary = %q{Miam is a tool to manage IAM.}
|
12
12
|
spec.description = %q{Miam is a tool to manage IAM. It defines the state of IAM using DSL, and updates IAM according to DSL.}
|
13
|
-
spec.homepage = '
|
13
|
+
spec.homepage = 'https://github.com/codenize-tools/miam'
|
14
14
|
spec.license = 'MIT'
|
15
15
|
|
16
16
|
spec.files = `git ls-files -z`.split("\x0")
|
data/spec/spec_helper.rb
CHANGED
@@ -70,11 +70,13 @@ def apply(cli = client)
|
|
70
70
|
tempfile(yield) do |f|
|
71
71
|
begin
|
72
72
|
cli.apply(f.path)
|
73
|
-
rescue Aws::IAM::Errors::EntityTemporarilyUnmodifiable
|
73
|
+
rescue Aws::IAM::Errors::EntityTemporarilyUnmodifiable, Aws::IAM::Errors::Throttling, Aws::IAM::Errors::NoSuchEntity
|
74
74
|
sleep 3
|
75
75
|
retry
|
76
76
|
end
|
77
77
|
end
|
78
|
+
|
79
|
+
sleep ENV['APPLY_WAIT'].to_i
|
78
80
|
end
|
79
81
|
|
80
82
|
def export(options = {})
|
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.beta13
|
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-07-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -223,7 +223,7 @@ files:
|
|
223
223
|
- spec/miam/rename_spec.rb
|
224
224
|
- spec/miam/update_spec.rb
|
225
225
|
- spec/spec_helper.rb
|
226
|
-
homepage:
|
226
|
+
homepage: https://github.com/codenize-tools/miam
|
227
227
|
licenses:
|
228
228
|
- MIT
|
229
229
|
metadata: {}
|
@@ -243,7 +243,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
243
243
|
version: 1.3.1
|
244
244
|
requirements: []
|
245
245
|
rubyforge_project:
|
246
|
-
rubygems_version: 2.
|
246
|
+
rubygems_version: 2.6.12
|
247
247
|
signing_key:
|
248
248
|
specification_version: 4
|
249
249
|
summary: Miam is a tool to manage IAM.
|