kschrader-authlogic 2.1.2 → 2.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/CHANGELOG.rdoc +4 -1
- data/VERSION.yml +1 -1
- data/authlogic.gemspec +1 -1
- data/lib/authlogic/session/magic_columns.rb +2 -2
- metadata +1 -1
data/CHANGELOG.rdoc
CHANGED
@@ -1,6 +1,9 @@
|
|
1
|
-
== 2.1.
|
1
|
+
== 2.1.3
|
2
2
|
|
3
3
|
* Use Rails Timezones
|
4
|
+
|
5
|
+
== 2.1.2
|
6
|
+
|
4
7
|
* Return the newly create object for the class level create method, instead of a boolean
|
5
8
|
* Add a model_name class method for Authlogic::Session for rails 3 compatibility. Will be using ActiveModel eventually, but this should be a quick fix.
|
6
9
|
|
data/VERSION.yml
CHANGED
data/authlogic.gemspec
CHANGED
@@ -52,7 +52,7 @@ module Authlogic
|
|
52
52
|
|
53
53
|
if record.respond_to?(:current_login_at)
|
54
54
|
record.last_login_at = record.current_login_at if record.respond_to?(:last_login_at)
|
55
|
-
record.current_login_at =
|
55
|
+
record.current_login_at = Time.zone.now
|
56
56
|
end
|
57
57
|
|
58
58
|
if record.respond_to?(:current_login_ip)
|
@@ -82,7 +82,7 @@ module Authlogic
|
|
82
82
|
end
|
83
83
|
|
84
84
|
def set_last_request_at
|
85
|
-
record.last_request_at =
|
85
|
+
record.last_request_at = Time.zone.now
|
86
86
|
end
|
87
87
|
|
88
88
|
def last_request_at_threshold
|