devise-active_node 0.0.1.beta → 0.0.2.beta
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: fabe5f9577568bce8d79aac35f7a9e652c3eb047
|
4
|
+
data.tar.gz: b366efb9aa15d1e4e4ff4e0d2a4d65bf613ee94e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 469d1d3fe79021e1a1f094e4cef9226bfa5b215ec1c1c44ab22de48ff393867ce39954457b596b8288bc9ac704eadae8108bdccfa87426d313de97bc88575a19
|
7
|
+
data.tar.gz: af522144a0a49e45aa578984ddb47036093a171057d62eb9b463be61797d22568deb0e34a26f7396a3c855352e1e3041fffd5ee573aec17f50c7ec38b7523a29
|
data/Gemfile
CHANGED
@@ -12,28 +12,28 @@ module Devise
|
|
12
12
|
|
13
13
|
when :recoverable
|
14
14
|
attribute :reset_password_token, type: String
|
15
|
-
attribute :reset_password_sent_at
|
15
|
+
attribute :reset_password_sent_at, type: Time
|
16
16
|
|
17
17
|
when :rememberable
|
18
|
-
attribute :remember_created_at
|
18
|
+
attribute :remember_created_at, type: Time
|
19
19
|
|
20
20
|
when :trackable
|
21
21
|
attribute :sign_in_count, type: Integer
|
22
|
-
attribute :current_sign_in_at
|
23
|
-
attribute :last_sign_in_at
|
22
|
+
attribute :current_sign_in_at, type: Time
|
23
|
+
attribute :last_sign_in_at, type: Time
|
24
24
|
attribute :current_sign_in_ip, type: String
|
25
25
|
attribute :last_sign_in_ip, type: String
|
26
26
|
|
27
27
|
when :confirmable
|
28
28
|
attribute :confirmation_token, type: String
|
29
|
-
attribute :confirmed_at
|
30
|
-
attribute :confirmation_sent_at
|
29
|
+
attribute :confirmed_at, type: Time
|
30
|
+
attribute :confirmation_sent_at, type: Time
|
31
31
|
attribute :unconfirmed_email, type: String # Only if using reconfirmable
|
32
32
|
|
33
33
|
when :lockable
|
34
34
|
attribute :failed_attempts, type: Integer # Only if lock strategy is :failed_attempts
|
35
35
|
attribute :unlock_token, type: String # Only if unlock strategy is :email or :both
|
36
|
-
attribute :locked_at
|
36
|
+
attribute :locked_at, type: Time
|
37
37
|
end
|
38
38
|
end
|
39
39
|
|
@@ -222,7 +222,7 @@ shared_examples_for "example app with orm_adapter" do
|
|
222
222
|
describe "#destroy(instance)" do
|
223
223
|
it "should destroy the instance if it exists" do
|
224
224
|
user = create_model(user_class)
|
225
|
-
user_adapter.destroy(user).should
|
225
|
+
user_adapter.destroy(user).should be true
|
226
226
|
user_adapter.get(user.id).should be_nil
|
227
227
|
end
|
228
228
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: devise-active_node
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2.beta
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Heinrich Klobuczek
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-07-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: active_node
|