identity-gateway 1.1.0 → 1.1.1

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
  SHA1:
3
- metadata.gz: 64a6769951845fbdc09fe46d675da1b47358d1d3
4
- data.tar.gz: d4c5b0257b8834b39f0f16e59c5c89f370162898
3
+ metadata.gz: 8a472a877c9f41b3452ce62134871ead4bafba3b
4
+ data.tar.gz: 1ebe4c7eb1c3b8745dfd734d76837c48486dab1e
5
5
  SHA512:
6
- metadata.gz: 0dca2931cca5a5b275a72fd3a6b999930ee254a2f50720f2d84c8645e8a1d76271756ce53715c7fce3becb03a960cbea5f8c97f943312d8c918532168928ad9e
7
- data.tar.gz: e1712e03ed5c51ed3e4762458f1546bc0b324181028b6bb93a1fa08da716ccc55da205efaf2a5e2e5e7bfddca0fd1537c0d247ad28b601b6a011423b9d313771
6
+ metadata.gz: d5ae5c137a7dbe728b5482f7c4ed7a40396b1663cfe302bce1212d403972d5081ceb41f1cc8a2c0b0c492e46081737cc0046a7d73f7d6000cde8e4c3015760a1
7
+ data.tar.gz: 5cd96de33a0d261670061e200a0a4ae738bdb525713334e895f40fa1ae401dd520f25f0ed243acba2ff01c74fe25c8e1e90a3dce6282a9535223a7a015d66b03
@@ -65,7 +65,7 @@ module Identity
65
65
  headers: api_headers
66
66
  )
67
67
 
68
- raise Unauthorized if @response.code == 401
68
+ raise Unauthorized if @response.code == 401 || @response.parsed_response.nil?
69
69
  @subject = @model.from_oauth_provider(@response.parsed_response)
70
70
  end
71
71
 
@@ -1,5 +1,5 @@
1
1
  module Identity
2
2
  module Gateway
3
- VERSION = '1.1.0'.freeze
3
+ VERSION = '1.1.1'.freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: identity-gateway
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Loic Kartono
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-06-04 00:00:00.000000000 Z
11
+ date: 2020-07-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty