aws_assume_role 1.0.0 → 1.0.1
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
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 551055c8aa1b6660c21c76c5381c9da432d3bbcf33200ccde2e5d4e611b76d71
|
4
|
+
data.tar.gz: b42b36dc9a2e25713a1cf572fed23efc6e1c41e8aaa6298b25e145583eae5a74
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 18a5f3bbd0b03d7520a0fa925cfa020c9847b760bf8c12afbf35bd1747167fef2f040973c58aa1696190122efc569acd99860a6af83b99fcc9d9346c4edf8133
|
7
|
+
data.tar.gz: 6952642b3bfbf70a706161f7255cbf28bdc7937a04e1a3b6749a4930e2a4e5065695c07aa6ccb81c89f19e8b951eacdad34c3b462ea3c0673266f626f6e6f7db
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -3,7 +3,6 @@ aws-assume-role
|
|
3
3
|
[![Build Status](https://travis-ci.org/scalefactory/aws-assume-role.svg?branch=master)](https://travis-ci.org/scalefactory/aws-assume-role)
|
4
4
|
[![Coverage Status](https://coveralls.io/repos/github/scalefactory/aws-assume-role/badge.svg?branch=master)](https://coveralls.io/github/scalefactory/aws-assume-role?branch=master)
|
5
5
|
[![Code Climate](https://codeclimate.com/github/scalefactory/aws-assume-role/badges/gpa.svg)](https://codeclimate.com/github/scalefactory/aws-assume-role)
|
6
|
-
[![Dependencies](https://img.shields.io/librariesio/github/scalefactory/aws-assume-role.svg)](https://libraries.io/rubygems/aws_assume_role)
|
7
6
|
[![Gem Version](https://badge.fury.io/rb/aws_assume_role.svg)](https://badge.fury.io/rb/aws_assume_role)
|
8
7
|
|
9
8
|
aws-assume-role is a utility intended for developer and operator environments
|
data/aws_assume_role.gemspec
CHANGED
@@ -5,7 +5,7 @@ require "aws_assume_role/version"
|
|
5
5
|
Gem::Specification.new do |spec|
|
6
6
|
spec.name = "aws_assume_role"
|
7
7
|
spec.version = AwsAssumeRole::VERSION
|
8
|
-
spec.authors = ["Jon Topper", "Jack Thomas", "Naadir Jeewa", "David King", "Tim Bannister", "Phil Potter"]
|
8
|
+
spec.authors = ["Jon Topper", "Jack Thomas", "Naadir Jeewa", "David King", "Tim Bannister", "Phil Potter", "Tom Haynes"]
|
9
9
|
spec.email = ["jon@scalefactory.com", "jack@scalefactory.com", "naadir@scalefactory.com", "tim@scalefactory.com"]
|
10
10
|
|
11
11
|
spec.description = "Used to fetch multiple AWS Role Credential "\
|
@@ -40,7 +40,7 @@ class AwsAssumeRole::Cli::Actions::SetEnvironment < AwsAssumeRole::Cli::Actions:
|
|
40
40
|
def act_on(config)
|
41
41
|
credentials = try_for_credentials config.to_h
|
42
42
|
shell_strings = SHELL_STRINGS[config.shell_type.to_sym]
|
43
|
-
str = ""
|
43
|
+
str = String.new("")
|
44
44
|
[
|
45
45
|
[:access_key_id, "AWS_ACCESS_KEY_ID"],
|
46
46
|
[:secret_access_key, "AWS_SECRET_ACCESS_KEY"],
|
@@ -30,7 +30,7 @@ class AwsAssumeRole::Credentials::Providers::MfaSessionCredentials < Dry::Struct
|
|
30
30
|
|
31
31
|
def initialize(options)
|
32
32
|
options.each { |key, value| instance_variable_set("@#{key}", value) }
|
33
|
-
@permanent_credentials ||= credentials
|
33
|
+
@permanent_credentials ||= @credentials
|
34
34
|
@credentials = nil
|
35
35
|
@serial_number = resolve_serial_number(serial_number)
|
36
36
|
AwsAssumeRole::Vendored::Aws::RefreshingCredentials.instance_method(:initialize).bind(self).call(options)
|
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.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jon Topper
|
@@ -10,10 +10,11 @@ authors:
|
|
10
10
|
- David King
|
11
11
|
- Tim Bannister
|
12
12
|
- Phil Potter
|
13
|
+
- Tom Haynes
|
13
14
|
autorequire:
|
14
15
|
bindir: bin
|
15
16
|
cert_chain: []
|
16
|
-
date: 2017-10
|
17
|
+
date: 2017-11-10 00:00:00.000000000 Z
|
17
18
|
dependencies:
|
18
19
|
- !ruby/object:Gem::Dependency
|
19
20
|
name: activesupport
|
@@ -430,7 +431,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
430
431
|
version: '0'
|
431
432
|
requirements: []
|
432
433
|
rubyforge_project:
|
433
|
-
rubygems_version: 2.
|
434
|
+
rubygems_version: 2.7.2
|
434
435
|
signing_key:
|
435
436
|
specification_version: 4
|
436
437
|
summary: Manage AWS STS credentials with MFA
|