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 CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- MGZmNmI4ZmQ4NWU0ODMwYjRkZmM2MjMwNjAwNDE1YmRkMjQ2MjJiMA==
4
+ NDQ1MWNlNmEwZmVhNDk4NzA5ODY4OTBmNmNiNjg3MGEwZWZmZmQ0Mw==
5
5
  data.tar.gz: !binary |-
6
- ZGU5ZDI1YTE3NTc3ZTIxMjEzYTQxYWVkYzU4Y2ZiMmY1YmJhYTY3ZA==
6
+ NjBhNDA0MmU2Zjc1OTA5NGVlNWEyYWU4MGIyMzk4N2I3NzBjY2JjMQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- OTQ2NzZiNjE0YzliZjdiYjUyMTE2OWNjMThhYTA3NDIwYjY2OTVlNzMzMGI1
10
- NWNjN2U4ZDBhN2IwNjk4MmRmMzhjZmIyNzIwNjg2NzMyYWMwMzA2YWQ2MTNj
11
- NWFkZDRkM2E1MTU1ZDEyMWI0MDMwMzRjYmU2NWU2NzE2MDA3NDg=
9
+ MmZmYjQ5YjFmNDc3YzhiZjA2MTg0Y2IxMDAzNmNhY2RiYzAyNzBiN2U3ZmYx
10
+ YTYyNzVlZmQwOTc5ODZlN2Y0ZTJiNjQ0NTZkMTg5MTIzN2Y3NzhjZmUyYzVm
11
+ YWU4NTQxN2Q2OWI5OTg0NmY0NDM3NGMyNjI0ZmFiY2FjOTVhMjU=
12
12
  data.tar.gz: !binary |-
13
- MzdiZGQ0YzcwNjVjOTI2MjUxOGE4YWRhOThiZWY1MTY2ZDFmMjIwOWNiMzkw
14
- NTZjNWFkMGQxZGU1NTA0NzcyNTkyZjE4NDgyY2VlMWVhZGQwMDIyNWYxZTNk
15
- NDQ4OTI5MWUzMjU5ZWVjOTMyMjI3MTY4ODU0MmQ1OTUzZWNiNWE=
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[BAAS_SESSION_HEADER]
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)
@@ -1,7 +1,7 @@
1
1
  module Angus
2
2
  module Remote
3
3
 
4
- VERSION = '0.0.13'
4
+ VERSION = '0.0.14'
5
5
 
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: angus-remote
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.13
4
+ version: 0.0.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adrian Gomez