lib/firebug/session.rb in firebug-0.1.10 vs lib/firebug/session.rb in firebug-0.2.0

- old
+ new

@@ -19,20 +19,23 @@ # @param [String] value def user_agent=(value) # Pyro seems to truncate the value and since it also uses this value when finding the session, it's important # we do the same. - super(Firebug.configuration.truncate_user_agent ? value&.slice(0...120) : value) + super(Firebug.config.truncate_user_agent ? value&.slice(0...120) : value) end # @return [String] def cookie_data data = { session_id: session_id, ip_address: ip_address, user_agent: user_agent, last_activity: last_activity } Firebug.encrypt_cookie(data) end private + # Replace the default timestamp column name. + # + # @return [Array<String>] def timestamp_attributes_for_update ['last_activity'] end end end