logjam_agent 0.24.8 → 0.24.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/logjam_agent/railtie.rb +2 -0
- data/lib/logjam_agent/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4f4084a12c7710dde3a9a571e77dd0798e59b937
|
4
|
+
data.tar.gz: d68fc6a6742c005e12f69ce06be7c7309e4d1abb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 242966b89252f74b404740ace64c873e1330e5b9581c6cedd238a617ca7f2a6cba93a5525a95492041fb357df462464c4487b9418a16bbb24fd4cd5e69bb2add
|
7
|
+
data.tar.gz: eeac54142749930001c49966c1acafed405503ddafba51443b3e5e5a0bf136b8e984adf3ecc3a30235c6973b58b6381e5b75c99f61d257a12afda2a3ee048460
|
data/lib/logjam_agent/railtie.rb
CHANGED
@@ -80,6 +80,8 @@ module LogjamAgent
|
|
80
80
|
if Rails.env.test?
|
81
81
|
ActiveSupport.on_load(:action_controller) do
|
82
82
|
require 'action_controller/test_case'
|
83
|
+
# Rails 5 fires on_load events multiple times, so we need to protect against endless recursion
|
84
|
+
next if ActionController::TestCase::Behavior.instance_methods.include?(:process_without_logjam)
|
83
85
|
module ActionController::TestCase::Behavior
|
84
86
|
def process_with_logjam(*args)
|
85
87
|
LogjamAgent.start_request
|
data/lib/logjam_agent/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: logjam_agent
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.24.
|
4
|
+
version: 0.24.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stefan Kaes
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-01-
|
11
|
+
date: 2017-01-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -185,7 +185,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
185
185
|
version: '0'
|
186
186
|
requirements: []
|
187
187
|
rubyforge_project: logjam_agent
|
188
|
-
rubygems_version: 2.6.
|
188
|
+
rubygems_version: 2.6.10
|
189
189
|
signing_key:
|
190
190
|
specification_version: 4
|
191
191
|
summary: Logjam client library to be used with logjam
|