firespring_dev_commands 3.1.4 → 3.1.5
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: 3ec0252018c4289bc9a12de1bb471a228d18d6f7c98600f6ad5bdb1f114ef636
|
4
|
+
data.tar.gz: 3b3f3eb6d16634ddd7f7627549d99f2a99408dd8a3d02f9612523569b7ccb691
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fa3079a0a1c3e8aa94cb90564a8ea5ebe67ee979c35b4bcbad8df616808f9a7896b92259ddf66a108ecf1a0ca973deec38154ffd12bceef077e20ae419432bb8
|
7
|
+
data.tar.gz: f122b4e117b77d92061ee8dc41d1799f1e6697c51d58b19acc41619f2498a22bc079f9feb93e709090808650313a51e879ac2ea6d07c55aaccb02c38f247d67a
|
@@ -90,7 +90,7 @@ module Dev
|
|
90
90
|
# because some projects may be using older versions of the dev_commands library
|
91
91
|
# defaultini.delete('mfa_serial')
|
92
92
|
|
93
|
-
session_name_default = defaultini['role_session_name'] || "#{ENV.fetch('USERNAME',
|
93
|
+
session_name_default = defaultini['role_session_name'] || "#{ENV.fetch('USERNAME', 'no_username_found')}_cli"
|
94
94
|
defaultini['role_session_name'] = Dev::Common.new.ask('Default session name', session_name_default)
|
95
95
|
|
96
96
|
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: 3.1.
|
4
|
+
version: 3.1.5
|
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
|