firespring_dev_commands 2.1.4.pre.alpha.2 → 2.1.4.pre.alpha.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0e599e792a0959cb77729db0e55e9971673575282fb0a4039787be3be1196598
|
4
|
+
data.tar.gz: 5c21a04718a0954d99181165e10af092295276e1447631b5e80bea286d813421
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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)
|
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
|
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
|
-
#
|
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
|
|