aws_assume_role 1.2.0-universal-linux → 1.2.1-universal-linux
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/lib/aws_assume_role/credentials/factories/abstract_factory.rb +1 -1
- data/lib/aws_assume_role/credentials/factories/default_chain_provider.rb +2 -2
- data/lib/aws_assume_role/credentials/factories/repository.rb +1 -1
- data/lib/aws_assume_role/credentials/providers/mfa_session_credentials.rb +1 -1
- data/lib/aws_assume_role/profile_configuration.rb +2 -2
- data/lib/aws_assume_role/runner.rb +1 -1
- data/lib/aws_assume_role/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 28671c3bd98c69caf33dc3cbbab1f693845b283692e4329c836148064668e50f
|
4
|
+
data.tar.gz: e16b883723b973f050cc1822f8e0dc6d4f7d977e96636befb02e83586c79ffde
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6eb3b7b2ed9c200be6c366865eff512798a095b9c44eb3fb4745761e5b191279d848a51c8357f79ec54ccb7b8572363a12c2af56815f65bc3b3ebed691317d27
|
7
|
+
data.tar.gz: 2025bd72ec7e99c52219c2f57c4c2c23ccbc926a078127578e0811268db07d3a8884224a0321c9a433772290528380d94623846f3f9d4df247e40e3c534306a6
|
data/CHANGELOG.md
CHANGED
@@ -19,9 +19,9 @@ class AwsAssumeRole::Credentials::Factories::DefaultChainProvider < Dry::Struct
|
|
19
19
|
|
20
20
|
attribute :access_key_id, Dry::Types["strict.string"].optional
|
21
21
|
attribute :credentials, Dry::Types["object"].optional
|
22
|
-
attribute :duration_seconds, Dry::Types["coercible.
|
22
|
+
attribute :duration_seconds, Dry::Types["coercible.integer"].optional
|
23
23
|
attribute :external_id, Dry::Types["strict.string"].optional
|
24
|
-
attribute :instance_profile_credentials_retries, Dry::Types["strict.
|
24
|
+
attribute :instance_profile_credentials_retries, Dry::Types["strict.integer"].default(0)
|
25
25
|
attribute :instance_profile_credentials_timeout, Dry::Types["coercible.float"].default(1.0)
|
26
26
|
attribute :mfa_serial, Dry::Types["strict.string"].optional
|
27
27
|
attribute :no_profile, Dry::Types["strict.bool"].default(false)
|
@@ -7,7 +7,7 @@ class AwsAssumeRole::Credentials::Factories::Repository
|
|
7
7
|
include AwsAssumeRole::Credentials::Factories
|
8
8
|
|
9
9
|
SubFactoryRepositoryType = Types::Hash.schema(
|
10
|
-
Types::Coercible::
|
10
|
+
Types::Coercible::Integer => Types::Strict::Array.meta(omittable: true),
|
11
11
|
)
|
12
12
|
|
13
13
|
FactoryRepositoryType = Types::Hash.schema(
|
@@ -30,7 +30,7 @@ class AwsAssumeRole::Credentials::Providers::MfaSessionCredentials < Dry::Struct
|
|
30
30
|
attribute :persist_session, (Dry::Types["strict.bool"]
|
31
31
|
.default(true)
|
32
32
|
.constructor { |v| v.nil? ? Dry::Types::Undefined : v })
|
33
|
-
attribute :duration_seconds, (Dry::Types["coercible.
|
33
|
+
attribute :duration_seconds, (Dry::Types["coercible.integer"]
|
34
34
|
.default(3600)
|
35
35
|
.constructor { |v| v.nil? ? Dry::Types::Undefined : v })
|
36
36
|
attribute :region, AwsAssumeRole::Types::Region
|
@@ -11,7 +11,7 @@ class AwsAssumeRole::ProfileConfiguration < Dry::Struct
|
|
11
11
|
attribute :credentials, Dry::Types["object"].optional
|
12
12
|
attribute :secret_access_key, Dry::Types["strict.string"].optional
|
13
13
|
attribute :session_token, Dry::Types["strict.string"].optional
|
14
|
-
attribute :duration_seconds, Dry::Types["coercible.
|
14
|
+
attribute :duration_seconds, Dry::Types["coercible.integer"].optional
|
15
15
|
attribute :external_id, Dry::Types["strict.string"].optional
|
16
16
|
attribute :path, Dry::Types["strict.string"].optional
|
17
17
|
attribute :persist_session, Dry::Types["strict.bool"].optional.default(true)
|
@@ -27,7 +27,7 @@ class AwsAssumeRole::ProfileConfiguration < Dry::Struct
|
|
27
27
|
attribute :shell_type, Dry::Types["strict.string"].optional
|
28
28
|
attribute :source_profile, Dry::Types["strict.string"].optional
|
29
29
|
attribute :args, Dry::Types["strict.array"].optional.default([])
|
30
|
-
attribute :instance_profile_credentials_retries, Dry::Types["strict.
|
30
|
+
attribute :instance_profile_credentials_retries, Dry::Types["strict.integer"].default(0)
|
31
31
|
attribute :instance_profile_credentials_timeout, Dry::Types["coercible.float"].default(1.0)
|
32
32
|
|
33
33
|
attr_writer :credentials
|
@@ -7,7 +7,7 @@ class AwsAssumeRole::Runner < Dry::Struct
|
|
7
7
|
include AwsAssumeRole::Logging
|
8
8
|
attribute :command, Dry::Types["coercible.array"].of(Dry::Types["strict.string"]).default([])
|
9
9
|
attribute :exit_on_error, Dry::Types["strict.bool"].default(true)
|
10
|
-
attribute :expected_exit_code, Dry::Types["strict.
|
10
|
+
attribute :expected_exit_code, Dry::Types["strict.integer"].default(0)
|
11
11
|
attribute :environment, Dry::Types["strict.hash"].default({})
|
12
12
|
attribute :credentials, Dry::Types["object"].optional
|
13
13
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws_assume_role
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.1
|
5
5
|
platform: universal-linux
|
6
6
|
authors:
|
7
7
|
- Jon Topper
|
@@ -15,7 +15,7 @@ authors:
|
|
15
15
|
autorequire:
|
16
16
|
bindir: bin
|
17
17
|
cert_chain: []
|
18
|
-
date: 2018-06
|
18
|
+
date: 2018-07-06 00:00:00.000000000 Z
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
21
|
name: activesupport
|