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: 179df75f7b62c175947f2cf19da1d3cd99711dc1e5e430567810e57afdc41c61
4
- data.tar.gz: f1d69c062cdc5df63aa9b4786ffc2f706ed9acb0450adf9fc1221a9f4426d0f6
3
+ metadata.gz: 3ec0252018c4289bc9a12de1bb471a228d18d6f7c98600f6ad5bdb1f114ef636
4
+ data.tar.gz: 3b3f3eb6d16634ddd7f7627549d99f2a99408dd8a3d02f9612523569b7ccb691
5
5
  SHA512:
6
- metadata.gz: 6defd1186a7d99b941b8cdb89d9fce77d828694c66aaee7eb24df27aabed58aded31a2bf0b72b0e95057c5e0053a0a6d7e93e279ba5509f03a8f9598c7f1a354
7
- data.tar.gz: '09268007596b27dbda45ee0afe4eb8d93330078d1d03f39bfa38856ef0f9175a59f025c4b6f1dc420e3d0838abaf5d2727d9b7511e1bac88cc9b8cdf4c2ebd42'
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', nil)}_cli"
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:)
@@ -6,6 +6,6 @@ module Dev
6
6
  # Use 'v.v.v.pre.alpha.v' for pre-release vesions
7
7
  # Use 'v.v.v.beta.v for beta versions
8
8
  # Use semantic versioning for any releases (https://semver.org/)
9
- VERSION = '3.1.4'.freeze
9
+ VERSION = '3.1.5'.freeze
10
10
  end
11
11
  end
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
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-16 00:00:00.000000000 Z
11
+ date: 2024-07-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport