sequel-devise 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/sequel-devise/version.rb +1 -1
- data/lib/sequel/plugins/devise.rb +5 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2add1270ffb57193745013de3c96b00b02f08f9f
|
4
|
+
data.tar.gz: 7690e44ad5014197c65c9b1699f0062e66e0e867
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1bd709f40cd7f5eb7fe46ee2237fd34b09dde7bd673e5b304783169738cb6aab213a23b7c2c28d5163d8101e4fdb0b35e9a96ad6629ac27dcf22c243b71c3c2c
|
7
|
+
data.tar.gz: 0c23df7be43fb98c75be3ade3036730a3d68a5635387b0dd726046159aa38d09d24a2145f2a9a3e8d0c1bd6cbe29c9b9d99d6195a3881ca40c346175e14d8314
|
@@ -13,6 +13,10 @@ module Sequel
|
|
13
13
|
!changed_columns.empty?
|
14
14
|
end
|
15
15
|
|
16
|
+
def encrypted_password_changed? # For recoverable and database_authenticatable
|
17
|
+
new? || column_changed?(:encrypted_password)
|
18
|
+
end
|
19
|
+
|
16
20
|
def email_changed? # For validatable
|
17
21
|
new? || column_changed?(:email)
|
18
22
|
end
|
@@ -28,7 +32,7 @@ module Sequel
|
|
28
32
|
|
29
33
|
def update_attributes(hash, *ignored)
|
30
34
|
begin
|
31
|
-
update
|
35
|
+
update(hash) != false
|
32
36
|
rescue Sequel::ValidationFailed
|
33
37
|
return false
|
34
38
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sequel-devise
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rodrigo Rosenfeld Rosas
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-12-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: devise
|
@@ -73,7 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
73
73
|
version: '0'
|
74
74
|
requirements: []
|
75
75
|
rubyforge_project:
|
76
|
-
rubygems_version: 2.
|
76
|
+
rubygems_version: 2.4.5.1
|
77
77
|
signing_key:
|
78
78
|
specification_version: 4
|
79
79
|
summary: Enable Devise support by adding plugin :devise to your Sequel Model
|