aws_assume_role 1.2.0-universal-openbsd → 1.2.1-universal-openbsd

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
  SHA256:
3
- metadata.gz: 9fcf5af2432f88e7686df7e4a543d2491311f614072d19210aedf6d95c7fe1b8
4
- data.tar.gz: ff963eba14d1dc9a7d3c8d3520557e40b35000e5c6d66331d3979264ed6ce3c1
3
+ metadata.gz: 563e6e5ab111bc20b29b227a1d4e10086d5503d8cb41b607f7f388fce09e741b
4
+ data.tar.gz: 66724ed23f955a516c91fcd4efe7544c979d4693336d7f6b85529b2deb413b36
5
5
  SHA512:
6
- metadata.gz: 6472a80d217c98b55042ff40a040934f9aaa5732e39f04fb719dd88660f2d40e0bf38ee2dad6cb7d7e1e2b889bab60999ac3447b27fe79476c75703a213d88c9
7
- data.tar.gz: 804bbaa46c011ceba762cd5dc91e8d335211f74c2537a109d73b3ad0bf07fc7975bc2c2b5d287241448a76937313e1c7d6d2a61489a6d5485964a27d19f7cbcc
6
+ metadata.gz: 2de541bd5b7a226c3d2cfecadb6fafba65d40e71e4e848936e6f90610441af80dbf2243bc68801e6ad049a431b3eb2d42a4ee7410c224f62e210f3bf931d488b
7
+ data.tar.gz: ebfe6e001e5f7da9086b8880e7070ee2a46e317e27ba2c2e4ecbe5cb2b6ecf6aaa0684895368b41714e590da021346688c5232cf0e44a2fa2e86f19fb3dcf247
data/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ ## 1.2.1
2
+ * Fix deprecation of int in dry-types to use integer
3
+
1
4
  ## 1.2.0
2
5
  * Support latest version of `dry-*` gems
3
6
  * Requires ruby 2.3
@@ -22,7 +22,7 @@ class AwsAssumeRole::Credentials::Factories::AbstractFactory
22
22
  end
23
23
 
24
24
  def self.priority(i)
25
- @priority = Types::Strict::Int[i]
25
+ @priority = Types::Strict::Integer[i]
26
26
  register_if_complete
27
27
  end
28
28
 
@@ -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.int"].optional
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.int"].default(0)
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::Int => Types::Strict::Array.meta(omittable: true),
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.int"]
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.int"].optional
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.int"].default(0)
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.int"].default(0)
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
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module AwsAssumeRole
4
- VERSION = "1.2.0".freeze
4
+ VERSION = "1.2.1".freeze
5
5
  end
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.0
4
+ version: 1.2.1
5
5
  platform: universal-openbsd
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-20 00:00:00.000000000 Z
18
+ date: 2018-07-06 00:00:00.000000000 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: activesupport