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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6e9bfb6b2aeffbd50e1f53f1160d0b1daf8c8eda
4
- data.tar.gz: 33fb4327250bfeaf727fc6216ba049d654689427
3
+ metadata.gz: 796b86c8a6af3f8a9bf29550ababbfa8832800ea
4
+ data.tar.gz: e6a76a738061ecb0e85e1933c74c25b0c39bcef1
5
5
  SHA512:
6
- metadata.gz: c72dc65c4948763c59e0c5b6b872bd201273a4106f7e16f374d52dbed5c5d865c0a94420a79327b8b7ffd23bb9b71734a0ed220cb4773f9de5cece6ad3bfc61c
7
- data.tar.gz: be6392575269df0e0e0de40c8df6f7e869b0b5df36d4a52031e64358906a3f519efefaf95de0958e5ebe6a74b1ec9fed97b0078959b9b6063a6463228b331873
6
+ metadata.gz: fc490c46299de656fc4f3fa42807e9f7b4a3b501d6e25a75c98d838a4ead98cf77e479b41d9a05809722791aee212d01284fbda9b1c761934dc53d9c62ee8d2a
7
+ data.tar.gz: 91eceecffd4cb36e4772d6fe8952fc794b93a008a3eeb260d014c715a8a11b34c87d95a78e1f23343260e9a746219ddd3040e2148e4abac07932327274e9394a
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- firebug (0.0.7)
4
+ firebug (0.1.0)
5
5
  actionpack (~> 5.0)
6
6
  activerecord (~> 5.0)
7
7
  ruby-mcrypt (~> 0.2)
@@ -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 }
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Firebug
4
- VERSION = '0.0.7'
4
+ VERSION = '0.1.0'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: firebug
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aaron Frase