angus-remote 0.0.13 → 0.0.14
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/lib/angus/authentication/client.rb +5 -1
- data/lib/angus/remote/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
NDQ1MWNlNmEwZmVhNDk4NzA5ODY4OTBmNmNiNjg3MGEwZWZmZmQ0Mw==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
NjBhNDA0MmU2Zjc1OTA5NGVlNWEyYWU4MGIyMzk4N2I3NzBjY2JjMQ==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
MmZmYjQ5YjFmNDc3YzhiZjA2MTg0Y2IxMDAzNmNhY2RiYzAyNzBiN2U3ZmYx
|
10
|
+
YTYyNzVlZmQwOTc5ODZlN2Y0ZTJiNjQ0NTZkMTg5MTIzN2Y3NzhjZmUyYzVm
|
11
|
+
YWU4NTQxN2Q2OWI5OTg0NmY0NDM3NGMyNjI0ZmFiY2FjOTVhMjU=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
NTlmOGU4MDc1ZjcxNzVhYWVkZjgxYjE2MDcyYzZjYThkZmU2NjFhNTg4Zjhm
|
14
|
+
NDY2MWNmZWYwZTA0YjNiMWVjMTFjMDhkYjM3MzBkOTU0ZDgyMWU5ODMyZmU1
|
15
|
+
NjQ4ZTJlMWM1ZTEwNzRlNTE3ODNjZjYxZTIwOTUzYzRmZThhM2I=
|
@@ -61,7 +61,11 @@ module Angus
|
|
61
61
|
end
|
62
62
|
|
63
63
|
def extract_session_key_seed(response)
|
64
|
-
response
|
64
|
+
if response.is_a?(Hash)
|
65
|
+
response.find { |k, v| k.upcase == BAAS_SESSION_HEADER.upcase }.last
|
66
|
+
else
|
67
|
+
response[BAAS_SESSION_HEADER]
|
68
|
+
end
|
65
69
|
end
|
66
70
|
|
67
71
|
def auth_data(date, http_method, script_name)
|
data/lib/angus/remote/version.rb
CHANGED