arkaan 3.2.1 → 3.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/arkaan/authentication/session.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5ebf422b7c02bea8df7fce800ea91606bd0d86d35ced1ee8022efa51d0eddad7
|
4
|
+
data.tar.gz: b69615ad4172b707db8904452f47a25ddad146daa8d34489bd62744c2ba3c4b1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cc52a789776037fc95a260f7af0d34ffb6121b9c22b13874c1a09099a957b106f0d69c47459264efe0ab6c9937f6947345dfce939945889a907d4fe96bcec086
|
7
|
+
data.tar.gz: 304ab6628f38dabddf11a695436643791df7cac6c2dc061480d11e6f8c61f120e85014259369613ecab24bd27fab1579b3cc759203cd33f19f9aad92a6fe9d2c
|
@@ -26,7 +26,7 @@ module Arkaan
|
|
26
26
|
belongs_to :account, class_name: 'Arkaan::Account', inverse_of: :sessions
|
27
27
|
# @!attribute [rw] device
|
28
28
|
# @return [Arkaan::Authentication::Device] the device (computer/mobile) linked to this session
|
29
|
-
belongs_to :device, class_name: 'Arkaan::Authentication::
|
29
|
+
belongs_to :device, class_name: 'Arkaan::Authentication::Device', inverse_of: :sessions, optional: true
|
30
30
|
|
31
31
|
validates :session_id,
|
32
32
|
presence: { message: 'required' },
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: arkaan
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.2.
|
4
|
+
version: 3.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Vincent Courtois
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-11-
|
11
|
+
date: 2020-11-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: database_cleaner
|