lib/global_session/session.rb in global_session-1.0.9 vs lib/global_session/session.rb in global_session-1.0.10

- old
+ new

@@ -235,12 +235,13 @@ # # === Return # true:: Always returns true def renew!(expired_at=nil) authority_check - minutes = @configuration['timeout'].to_i + minutes = Integer(@configuration['timeout']) expired_at ||= Time.at(Time.now.utc + 60 * minutes) @expired_at = expired_at + @created_at = Time.now.utc @dirty_secure = true end # Return the SHA1 hash of the most recently-computed RSA signature of this session. # This isn't really intended for the end user; it exists so the Web framework integration