firespring_dev_commands 2.1.4.pre.alpha.2 → 2.1.4.pre.alpha.3

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: 7bfc98cc8da862092d77bcb5781f7ea61260c56e4207ed72cc5c2b6812a6fbaf
4
- data.tar.gz: 2b1a49276792b8f5d24dbd4e188eb7c89a70d77876625e80edd193d4b06fc9ca
3
+ metadata.gz: 0e599e792a0959cb77729db0e55e9971673575282fb0a4039787be3be1196598
4
+ data.tar.gz: 5c21a04718a0954d99181165e10af092295276e1447631b5e80bea286d813421
5
5
  SHA512:
6
- metadata.gz: f20f8b61f93b885fe0d3039abba3d922dce072f64a565472c9ca61eaac69047679de5615e92399ffbe494069fbef2d6469fbd3661edccd0c0e4c6aa65d7a3075
7
- data.tar.gz: 26f3c929fe09590e24851b5075fb2d4525f6fe3e67a0940dfc11e4289095a5338fecbe128165ead9b48ed7d27064949e96b55742913712d95d9ca2e2297f93e9
6
+ metadata.gz: 86265a726640879ddb98859c0ed78098e74ad9d5da7cf22d357fe52c839d1e1317f607a6d3947edce8f7a99e418416be45a0945d0f3ff0fea74a486df4b3a1e3
7
+ data.tar.gz: 64156f2402f717ddaf8780264513a3e5d922346d522e0ee685395ab934775f5ea1a253fba24694228d43d6f4f99e83ed94cb7b769cc85eb6dbd26642bcc12b59
@@ -14,7 +14,7 @@ module Dev
14
14
  account ||= Dev::Aws::Account.new.select
15
15
 
16
16
  # Authorize if our creds are not active
17
- authorize!(account) unless Dev::Aws::Credentials.new.active?(account)
17
+ authorize!(account)
18
18
 
19
19
  # Ensure the local env is pointed to the profile we selected
20
20
  Dev::Aws::Profile.new.write!(account)
@@ -38,9 +38,9 @@ module Dev
38
38
 
39
39
  region = profileini['region'] || defaultini['region'] || Dev::Aws::DEFAULT_REGION
40
40
 
41
- # Explicitly set the region to the one we are logging in to. Then exit if we are already logged in.
41
+ # Explicitly set the region to the one we are logging in to. Then return if we are already logged in.
42
42
  # This is to fix an issue where you are attempting to log in to an account in a different region.
43
- # We were seeing issue where it would still be attempting to use the old region until the process exited
43
+ # Without this fix it would still be attempting to use the old region until the process exited
44
44
  ENV['AWS_DEFAULT_REGION'] = region
45
45
  return if Dev::Aws::Credentials.new.active?(account)
46
46
 
@@ -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 = '2.1.4.pre.alpha.2'.freeze
9
+ VERSION = '2.1.4.pre.alpha.3'.freeze
10
10
  end
11
11
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: firespring_dev_commands
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.4.pre.alpha.2
4
+ version: 2.1.4.pre.alpha.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Firespring