global_session 3.2.6 → 3.2.7
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 +4 -4
- data/VERSION +1 -1
- data/lib/global_session/configuration.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0620d4465d4bc593edc9943d1044c70e9ee3d220
|
|
4
|
+
data.tar.gz: b4663a7be3591672e0f28efee65277747268abc0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c1533c197fd40e6c669008f7315d923a5e0644107e15dd5ce6dfe731ef2ae0430e40e2e734f78201938c562f2b8ae80802723e5c8c81778dc46245c182bf10ca
|
|
7
|
+
data.tar.gz: 6f12ebcef832098ed0bf3107c7bc9b39d65da720d4db3f811161511983582dd0bdb7dbe8b1116a1e15df187b39b20334b7441e0e6faa40e43723b9d06e1539cc
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.2.
|
|
1
|
+
3.2.7
|
|
@@ -144,7 +144,7 @@ module GlobalSession
|
|
|
144
144
|
#
|
|
145
145
|
# @return [Boolean] true if the key is present in the common or per-environment stanzas
|
|
146
146
|
def has_key?(k)
|
|
147
|
-
@config[@environment].has_key?(k) || @config['common'].has_key?(k)
|
|
147
|
+
(@config.has_key?(@environment) && @config[@environment].has_key?(k)) || @config['common'].has_key?(k)
|
|
148
148
|
end
|
|
149
149
|
|
|
150
150
|
alias key? has_key?
|