scout_apm 2.4.22 → 2.4.23
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.markdown +4 -0
- data/lib/scout_apm/instruments/action_view.rb +8 -3
- data/lib/scout_apm/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ca36cb923b4f091bfcec9d51f7258a09fd6359b3
|
4
|
+
data.tar.gz: f5e53408efdd0cedd50ad36e72c9cb6cba221fe3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 033447f6ced47a6cb86a8487b09b5655d7136f375ebd63b41fd8443108c3bc8f71f90a3150f8236b16f637ee99d5fcfb20afa132318674c4f47d621aeb15899b
|
7
|
+
data.tar.gz: c7bbe7f1624a0a72aba52c5f768015cb54e95b3d1979c638743e6acce770203c3d41b001e1dafc7079ea561f14f798cbd5d1b52dc2f16809c0715e39662229d5
|
data/CHANGELOG.markdown
CHANGED
@@ -24,13 +24,18 @@ module ScoutApm
|
|
24
24
|
@installed
|
25
25
|
end
|
26
26
|
|
27
|
+
def prependable?
|
28
|
+
return true if context.environment.supports_module_prepend?
|
29
|
+
false
|
30
|
+
end
|
31
|
+
|
27
32
|
def install
|
28
33
|
return unless defined?(::ActionView) && defined?(::ActionView::PartialRenderer)
|
29
34
|
|
30
|
-
if
|
31
|
-
install_using_tracer
|
32
|
-
else
|
35
|
+
if prependable?
|
33
36
|
install_using_prepend
|
37
|
+
else
|
38
|
+
install_using_tracer
|
34
39
|
end
|
35
40
|
@installed = true
|
36
41
|
end
|
data/lib/scout_apm/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: scout_apm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.4.
|
4
|
+
version: 2.4.23
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Derek Haynes
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2019-03-
|
12
|
+
date: 2019-03-14 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: minitest
|