zaikio-oauth_client 0.21.0 → 0.21.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
  SHA256:
3
- metadata.gz: 24be71a3c75d9524e109cab652442d2a229ca14281a0fc3604256382eb01cf60
4
- data.tar.gz: 3e289f86bbaa43b2d6dadfd6d239aef561e39376500cde3f560f9a5838dec851
3
+ metadata.gz: 1e87deb46aa5f12ce0383be80478beeada52d8281dbc299570b6c0d7cd321068
4
+ data.tar.gz: 27dff67fdf8d1f02b12a28b490c1ee0b59b8832e20550608c2147d83920a9688
5
5
  SHA512:
6
- metadata.gz: 4caa7219b4ad019bd813dccc7939f8558122169fd8196edf6deedc720ae6554aba1f651ac69e5dc689ed7b6dcada682cd7bc0bb92353e49722116b179c54132c
7
- data.tar.gz: 5a3501038b5471dd8018a71f4399892ecdc80c1fba4d30e3a6d332bfd624381463994ecef6de5575de7fff0c33a7a445add000c1b12155516e715cde9c133547
6
+ metadata.gz: 25045bb111f6373f883601e6c93fc05527630f9f5b5df09c2c9f937f41c7b789a26ffd3fcba803466be7cf9d1e9e58bd26c23992175eb22fcb0a98910a7ea0eb
7
+ data.tar.gz: 34bc3884461e5650d9a168d9a73d521040a349b6a99ea0e35d988e14629b7a94d642622928425128421c17b685291d6cd6aac9ce369b84471e637f90e7f20d0a
data/README.md CHANGED
@@ -162,7 +162,7 @@ end
162
162
 
163
163
  You can then use `Current.user` anywhere.
164
164
 
165
- For **logout** use: `zaikio_oauth_client.session_path, method: :delete` or build your own controller for deleting the cookie.
165
+ For **logout** use: `zaikio_oauth_client.session_path, method: :delete` or build your own controller for deleting the cookie. If you do build your own controller, please be aware that it is possible for the access token to be nil, and you should handle this accordingly.
166
166
 
167
167
  #### Multiple clients
168
168
 
@@ -66,7 +66,7 @@ module Zaikio
66
66
 
67
67
  redirect_to send(
68
68
  respond_to?(:after_destroy_path_for) ? :after_destroy_path_for : :default_after_destroy_path_for,
69
- access_token.id
69
+ access_token&.id
70
70
  )
71
71
  end
72
72
 
@@ -1,5 +1,5 @@
1
1
  module Zaikio
2
2
  module OAuthClient
3
- VERSION = "0.21.0".freeze
3
+ VERSION = "0.21.1".freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zaikio-oauth_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.21.0
4
+ version: 0.21.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Zaikio GmbH
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-10-10 00:00:00.000000000 Z
11
+ date: 2022-10-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: actionpack