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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ce6281dfed707d584470c83f94589f3e02b7245a
4
- data.tar.gz: 1a8c1cd0d23194eba273b0118453752ad0f621f0
3
+ metadata.gz: fe395ae5401dc9c0d6b887223e4b429b8986a2d6
4
+ data.tar.gz: 216469fe12254fcb6b20e9056671264108dcc8ca
5
5
  SHA512:
6
- metadata.gz: 71062cb25c5042e6ea498dd36fc9b39c2838780b1f758192f03f6b45c5ff01996ab205680299f394745ce79e9fcf688ba0b13ef3a2e5f0d37fbd8e9ec4028ce0
7
- data.tar.gz: 9828bcb212d14bf3f88d0931ea9d619438e1c3500737fc4a214045c0e508802ba2e315041e741e877864ca6b9c6f9e9b9b2aa2ddb6e78186dcbac296fbeeaac1
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.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: "Ec8bwSfp06anSzLJpGhkKjPz9EocMwl7H8t2LKoI3bKV/cz9JU0GhhUdUUmg3mCFH9+8/YGLzcbFKcxZIqnDK7ukdgTGsnGDevnctis0QwM7/nKHdkaK8JWhCx41TUXOqoiCKkNEnm1EbDtrILt4rJwb0BGXGnPjv6nLAyvdE2Y="
11
- - secure: "Ky5Dpxc7SIqbQ4Y10m/jik/rVdeGMeh1439m3KB+tiV/Bz1hhWv4+If150ajLjbmWCZBPMLhxrTL0EePoyqYXpOGHvINvYM+/XCPcpP4iYkaTzr1MVIOMpa8A8aAOOgQWoGOwfyWoxfrYzv/TRvtMietnm+dZwVcbbkQ4ut7oa4="
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/winebarrel/miam.svg?branch=master)](https://travis-ci.org/winebarrel/miam)
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 loging profile has been ignored: expected=#{expected_login_profile.inspect}, actual=#{actual_login_profile.inspect}", :color => :yellow)
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
@@ -13,7 +13,7 @@ class Miam::PasswordManager
13
13
 
14
14
  def identify(user, type, policy)
15
15
  password = mkpasswd(policy)
16
- log(:info, "mkpasswd: #{password}")
16
+ log(:debug, "mkpasswd: #{password}")
17
17
  puts_password(user, type, password)
18
18
  password
19
19
  end
data/lib/miam/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Miam
2
- VERSION = '0.2.4.beta12'
2
+ VERSION = '0.2.4.beta13'
3
3
  end
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 = 'http://miam.codenize.tools/'
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.beta12
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-02-23 00:00:00.000000000 Z
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: http://miam.codenize.tools/
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.5.1
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.