firebug 0.1.1 → 0.1.2

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: 45efa98f665949bc503297c7f4f8c46ff43d60fc
4
- data.tar.gz: 4a93d2a74d29ded79c048796d04ebd38c8ef11ae
3
+ metadata.gz: 9b7e5a38a11f19b12b725b34131608c0d50dcb08
4
+ data.tar.gz: f08c0c8f2d16339f16f831804bf80c0b53ee9fd8
5
5
  SHA512:
6
- metadata.gz: b8820e847d97883e5ed050d7195c0a48bd0e32ba586af32bbeb2c146325659eee6102fec7d305d9df3d7372c6dcc654c6975607b94a5b1416b90813ee55e2786
7
- data.tar.gz: 2f66962cda34ed35ca59255af7338c5fb7318d43cc3aa0939ce33260a61dbbbae7764dde927b8ba0aded2f813c8192d96903db4089d23c4fa9495d1b3350c6ad
6
+ metadata.gz: e3105c5c35e87cfde2c2aac891414e102088c9be65697713fb6a516e3c931153a71dcffbce01aa9edacf42e23333c276edbc7c643a296c25d32e915640ffcbd6
7
+ data.tar.gz: 87a9b54347d05cfc0c86e814e5d2c026a106963b9ce8e33a2906fd0cba09d7b1ea3c2b6d794a99620c6dac2e63f5e9d42c6112c71a91ba34b39181296219e7b6
data/.rubocop.yml CHANGED
@@ -13,6 +13,9 @@ Style/ClassAndModuleChildren:
13
13
  Style/Documentation:
14
14
  Enabled: false
15
15
 
16
+ Metrics/AbcSize:
17
+ Max: 18
18
+
16
19
  Metrics/LineLength:
17
20
  # Commonly used screens these days easily fit more than 80 characters.
18
21
  Max: 120
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- firebug (0.1.1)
4
+ firebug (0.1.2)
5
5
  actionpack (~> 5.0)
6
6
  activerecord (~> 5.0)
7
7
  ruby-mcrypt (~> 0.2)
@@ -81,6 +81,7 @@ module ActionDispatch
81
81
  p[:user_agent] = req.user_agent if Firebug.configuration.match_useragent
82
82
  model = Firebug::Session.find_by(p)
83
83
  return model if model
84
+ p[:session_id] = generate_sid
84
85
  end
85
86
 
86
87
  Firebug::Session.create!(
@@ -7,7 +7,7 @@ module Firebug
7
7
  # @param [Object] obj
8
8
  # @raise [ArgumentError] for unsupported types
9
9
  # @return [String]
10
- def self.parse(obj) # rubocop:disable AbcSize,CyclomaticComplexity
10
+ def self.parse(obj) # rubocop:disable CyclomaticComplexity
11
11
  case obj
12
12
  when NilClass
13
13
  'N;'
@@ -51,7 +51,7 @@ module Firebug
51
51
 
52
52
  # @raise [ParseError]
53
53
  # @return [Hash, Array]
54
- def parse_enumerable # rubocop:disable AbcSize
54
+ def parse_enumerable
55
55
  size = parse_int
56
56
  expect('{')
57
57
  return [] if size.zero?
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Firebug
4
- VERSION = '0.1.1'
4
+ VERSION = '0.1.2'
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.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aaron Frase