devise_multiple_token_auth 0.0.23 → 0.0.24
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4f7a70f4cb3f7e15c53291d706a82f003fb75fde
|
4
|
+
data.tar.gz: 92fea1277fe5630fa92853effed8542c2cbdf815
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 95e844294552ae8da08b150ca83b6711a714cc5394f3e5990c0c51768371afeee3b6b179db3df60aee7bcab4fd47e7c83ac28dddd141919baeddf0ede621284c
|
7
|
+
data.tar.gz: a0ccddfafd7a908d4b641951e79a57d333771f0111a08bd949cd25389fd007bcae9afa0ce35877a067595a45c6c7f2bd4bf60e7a9cf5672a80caa9b0bb59cb49
|
@@ -8,8 +8,8 @@ module DeviseMultipleTokenAuth
|
|
8
8
|
|
9
9
|
module ClassMethods
|
10
10
|
def devise_token_authenticatable
|
11
|
-
class_eval do
|
12
|
-
has_many :devices, class_name: "DeviseMultipleTokenAuth::Device"
|
11
|
+
class_eval do
|
12
|
+
has_many :devices, class_name: "DeviseMultipleTokenAuth::Device", dependent: :destroy
|
13
13
|
def create_device
|
14
14
|
DeviseMultipleTokenAuth::Device.destroy_expired
|
15
15
|
new_device = Device.new
|
@@ -23,11 +23,11 @@ module DeviseMultipleTokenAuth
|
|
23
23
|
end
|
24
24
|
end
|
25
25
|
|
26
|
-
|
26
|
+
|
27
27
|
end
|
28
28
|
end
|
29
29
|
end
|
30
30
|
|
31
31
|
class ActiveRecord::Base
|
32
32
|
include DeviseMultipleTokenAuth::ActiveRecord::Base
|
33
|
-
end
|
33
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: devise_multiple_token_auth
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.24
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Josh Juncker
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-01-
|
11
|
+
date: 2016-01-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|