firebug 0.0.7 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/firebug/session.rb +7 -0
- data/lib/firebug/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: 796b86c8a6af3f8a9bf29550ababbfa8832800ea
|
4
|
+
data.tar.gz: e6a76a738061ecb0e85e1933c74c25b0c39bcef1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fc490c46299de656fc4f3fa42807e9f7b4a3b501d6e25a75c98d838a4ead98cf77e479b41d9a05809722791aee212d01284fbda9b1c761934dc53d9c62ee8d2a
|
7
|
+
data.tar.gz: 91eceecffd4cb36e4772d6fe8952fc794b93a008a3eeb260d014c715a8a11b34c87d95a78e1f23343260e9a746219ddd3040e2148e4abac07932327274e9394a
|
data/Gemfile.lock
CHANGED
data/lib/firebug/session.rb
CHANGED
@@ -17,6 +17,13 @@ module Firebug
|
|
17
17
|
super(Firebug.serialize(value))
|
18
18
|
end
|
19
19
|
|
20
|
+
# @param [String] value
|
21
|
+
def user_agent=(value)
|
22
|
+
# Pyro seems to truncate the value and since it also uses this value when finding the session, it's important
|
23
|
+
# we do the same.
|
24
|
+
super(value[0...120])
|
25
|
+
end
|
26
|
+
|
20
27
|
# @return [String]
|
21
28
|
def cookie_data
|
22
29
|
data = { session_id: session_id, ip_address: ip_address, user_agent: user_agent, last_activity: last_activity }
|
data/lib/firebug/version.rb
CHANGED