bpluser 0.0.11 → 0.0.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/bpluser/validatable.rb +1 -2
- data/lib/bpluser/version.rb +1 -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: 72a69cf1cb974579d5e1aadf6260812bb87d9425
|
4
|
+
data.tar.gz: 2b93c72fbbd419dc4bda85e4b2b2a2429499521f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9daae40496de42620d7792944279ef7bbcbfc64719d1f3209781d4a10fa806a342574932eec2399fdc73507fe8054436fdd47fd8a1b925ca994dc05229b1a907
|
7
|
+
data.tar.gz: 4659a9a5b441a5b1663bfbd199e8d6a2da18d7926aa698c8c7ee222a4dbcbbf4a34a0d23869a6630b25e0c05bbc6da62649fb502668438972f9d99b24d88065a
|
data/lib/bpluser/validatable.rb
CHANGED
@@ -33,7 +33,6 @@ module BplUser
|
|
33
33
|
validates_presence_of :password, if: :password_required?
|
34
34
|
validates_confirmation_of :password, if: :password_required?
|
35
35
|
validates_length_of :password, within: password_length, allow_blank: true
|
36
|
-
end
|
37
36
|
end
|
38
37
|
|
39
38
|
def self.assert_validations_api!(base) #:nodoc:
|
@@ -59,7 +58,7 @@ module BplUser
|
|
59
58
|
end
|
60
59
|
|
61
60
|
module ClassMethods
|
62
|
-
Devise::Models.config(self, :email_regexp, :password_length)
|
61
|
+
::Devise::Models.config(self, :email_regexp, :password_length)
|
63
62
|
end
|
64
63
|
end
|
65
64
|
end
|
data/lib/bpluser/version.rb
CHANGED