easy_auth 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/easy_auth/models/identity.rb +1 -1
- data/lib/easy_auth/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: 1d8ee428afd8d5172b0bafce98ab2cb4f1fd4066
|
4
|
+
data.tar.gz: 82c39a234493d6d835543a95690d0ea5ecb41fa5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fd543a7865a01bf6feafb1842540266975aedd9c679b137aa82de8df016082b0011b0a6085ad0640adbcce6a44b808c08da06e4ca8a4773d53958809faf87933
|
7
|
+
data.tar.gz: cbf4a9eaebcd6c7f03ecaea8dd5dbb4e24fde93c94366de4456a3059e6fa4812f406963a6ed19cd4923c46f8aa295e2e07d8868f3ce5868ae256cf1b4c14ee26
|
@@ -2,7 +2,7 @@ module EasyAuth::Models::Identity
|
|
2
2
|
extend ActiveSupport::Concern
|
3
3
|
|
4
4
|
included do
|
5
|
-
belongs_to :account, polymorphic: true,
|
5
|
+
belongs_to :account, polymorphic: true, autosave: true, validate: true
|
6
6
|
validates :uid, :uniqueness => { :scope => :type }, :presence => true
|
7
7
|
validates :token, presence: true
|
8
8
|
end
|
data/lib/easy_auth/version.rb
CHANGED