devision 0.0.2 → 0.0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/devision/models/validatable.rb +1 -1
- data/lib/devision/version.rb +3 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a13894273dfafe31df18ed2cea004e2fd40e85b2
|
4
|
+
data.tar.gz: 956f573ecfe067630ba1ed55a5bcfbd43a540993
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cebbddfd092e1718e70336ef1792af81c804d0a7be91a629e02791b262ec8678d25ef2ae77350972b995a841ddc4191d60f09402aa0184d7bc7290306c70867c
|
7
|
+
data.tar.gz: 377ce805e14fda0a895d6b8f5dcfbc2eab731dfa53fc79847a94aa75ec7f39c074e9174ffddafec50e78789722e6757234b33c567f3029e488998e08530165f2
|
@@ -26,7 +26,7 @@ module Devision
|
|
26
26
|
# new records
|
27
27
|
# whenever either password or password_confirmation is set
|
28
28
|
def password_required?
|
29
|
-
!persisted || !password.nil? || !password_confirmation.nil?
|
29
|
+
!persisted? || !password.nil? || !password_confirmation.nil?
|
30
30
|
end
|
31
31
|
|
32
32
|
def email_required?
|
data/lib/devision/version.rb
CHANGED