firespring_dev_commands 2.2.6 → 2.2.7
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5b30db38b7e78fd10c10f0501f923a420d66f7af0e065ecf763a0e6b189402ac
|
4
|
+
data.tar.gz: 1ae27d4ead7016e4481f72ef35d21a631acab8b9320c69eb5af569d5596ebf6c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c911067800181483c6d547cb771fb5934d5dff5d313ecf3f7476d4d0906b5c0baba5298dbaffd16fcb421970c71f07b87932780b6d6a67129de2f13fd767a97a
|
7
|
+
data.tar.gz: 139f8c61058f931d00ffa0e90190367aaf88fd56ed12bfc47f71ee579f44f4b6a74182fad2b1eca58f51aa952f96ae6db40ccae6d7cbb339daa4651fad5dfb0e
|
@@ -94,7 +94,7 @@ module Dev
|
|
94
94
|
# because some projects may be using older versions of the dev_commands library
|
95
95
|
# defaultini.delete('mfa_serial')
|
96
96
|
|
97
|
-
session_name_default = defaultini['role_session_name'] || "#{ENV.fetch('USERNAME',
|
97
|
+
session_name_default = defaultini['role_session_name'] || "#{ENV.fetch('USERNAME', 'no_username_found')}_cli"
|
98
98
|
defaultini['role_session_name'] = Dev::Common.new.ask('Default session name', session_name_default)
|
99
99
|
|
100
100
|
duration_default = defaultini['session_duration'] || 36_000
|
@@ -61,7 +61,7 @@ module Dev
|
|
61
61
|
puts " Logging in to #{account} in #{region} as #{role}".light_yellow
|
62
62
|
puts
|
63
63
|
|
64
|
-
code = ENV['AWS_TOKEN_CODE'] || Dev::Common.new.ask("Enter the MFA code for the #{ENV.fetch('USERNAME', '')} user serial #{serial}")
|
64
|
+
code = ENV['AWS_TOKEN_CODE'] || Dev::Common.new.ask("Enter the MFA code for the #{ENV.fetch('USERNAME', 'no_username_found')} user serial #{serial}")
|
65
65
|
raise 'MFA is required' unless code.to_s.strip
|
66
66
|
|
67
67
|
sts = ::Aws::STS::Client.new(profile: 'default', region:)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: firespring_dev_commands
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.2.
|
4
|
+
version: 2.2.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Firespring
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-07-
|
11
|
+
date: 2024-07-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|