backframe 0.0.18 → 0.0.19
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/backframe/activerecord/acts_as_user.rb +2 -2
- data/lib/backframe/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: 7d8eb3bd852c6497db1e86fa321a840d6721f4e5
|
4
|
+
data.tar.gz: 9404d0534d9bac8c3be11cd0dc315e8bd6419b1f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 145a6b4394dbea7162e4c8ed7f2d04c9abff6432d1b461285cc7d381d94af8f3a3429b0049145050669d862c179c26bf386f4f05a54ba6cc51f945b7b4f8291d
|
7
|
+
data.tar.gz: cae3c96f7ff8f133ddb9da43b1a023fe9f034e0c401948d57d3c8cc507f1933ac197086bcca067c0b65442c44e721b389799a5ba978a56084d85cabf47a6fa69
|
@@ -18,8 +18,8 @@ module Backframe
|
|
18
18
|
|
19
19
|
attr_accessor :password, :change_password, :set_password, :old_password, :new_password, :confirm_password, :confirm_email
|
20
20
|
|
21
|
-
has_many :activations, :class_name =>
|
22
|
-
has_many :resets, :class_name =>
|
21
|
+
has_many :activations, :class_name => activation, :dependent => :destroy, :as => :user
|
22
|
+
has_many :resets, :class_name => reset, :dependent => :destroy, :as => :user
|
23
23
|
|
24
24
|
after_validation :set_new_password, :if => Proc.new { |u| u.new_password.present? }
|
25
25
|
after_create :activate
|
data/lib/backframe/version.rb
CHANGED