miam 0.1.0 → 0.1.1

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.
data/spec/spec_helper.rb CHANGED
@@ -12,8 +12,8 @@ require 'tempfile'
12
12
  require 'miam'
13
13
 
14
14
  Aws.config.update(
15
- access_key_id: ENV['MIAM_TEST_ACCESS_KEY_ID'],
16
- secret_access_key: ENV['MIAM_TEST_SECRET_ACCESS_KEY']
15
+ access_key_id: ENV['MIAM_TEST_ACCESS_KEY_ID'] || 'scott',
16
+ secret_access_key: ENV['MIAM_TEST_SECRET_ACCESS_KEY'] || 'tiger'
17
17
  )
18
18
 
19
19
  RSpec.configure do |config|
@@ -28,11 +28,12 @@ end
28
28
 
29
29
  def client(user_options = {})
30
30
  options = {
31
- password_manager: Miam::PasswordManager.new('/dev/null'),
32
31
  logger: Logger.new('/dev/null'),
33
32
  no_progress: true
34
33
  }
35
34
 
35
+ options[:password_manager] = Miam::PasswordManager.new('/dev/null', options)
36
+
36
37
  if_debug do
37
38
  logger = Miam::Logger.instance
38
39
  logger.set_debug(true)
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.1.0
4
+ version: 0.1.1
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-10-19 00:00:00.000000000 Z
11
+ date: 2014-10-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -145,6 +145,7 @@ files:
145
145
  - lib/miam/dsl.rb
146
146
  - lib/miam/dsl/context.rb
147
147
  - lib/miam/dsl/context/group.rb
148
+ - lib/miam/dsl/context/role.rb
148
149
  - lib/miam/dsl/context/user.rb
149
150
  - lib/miam/dsl/converter.rb
150
151
  - lib/miam/exporter.rb