kirgudu_base 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/models/kirgudu_base/security/user.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: 2f8352afe0c309fbcda8f05ddd9d4a7d45835ac8
|
4
|
+
data.tar.gz: e5d8da5dfd0832750c2b26dbb96fa060c2106451
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 239ac28c3b633aaa301b7cc153941cd250721977da7ad1b366337828ad2ee1ae42b416ff2d40454e8c3405de3939d4f98897cb54af7d542b5e34d7cc1f4bb790
|
7
|
+
data.tar.gz: 04a19299a5f761eb116244b10d4d8e325a9405f2b1a9fd63adc4e8c49aaf0b6359283d9a6ed04c8fcd2b1237a4109ace8761b46a1679446c5900b0828909f643
|
@@ -11,7 +11,7 @@ module KirguduBase
|
|
11
11
|
validates_presence_of :password, only: [:create, :password_set]
|
12
12
|
validates_confirmation_of :password, only: [:create, :password_set]
|
13
13
|
|
14
|
-
|
14
|
+
validate_as_email :email, allow_blank: true
|
15
15
|
|
16
16
|
has_many :authentications, class_name: ::KirguduBase::Security::Authentication, foreign_key: :user_id, dependent: :destroy
|
17
17
|
|