raygun-apm 1.1.3-x86-linux → 1.1.7-x86-linux
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/raygun/2.5/raygun_ext.so +0 -0
- data/lib/raygun/2.6/raygun_ext.so +0 -0
- data/lib/raygun/2.7/raygun_ext.so +0 -0
- data/lib/raygun/3.0/raygun_ext.so +0 -0
- data/lib/raygun/apm/blacklist/parser.rb +2 -0
- data/lib/raygun/apm/blacklist/translator.rb +6 -0
- data/lib/raygun/apm/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 342dad88f9e3bbee968f83ace5a55a32e819043ed465af6d06ac82c8bff39e9e
|
4
|
+
data.tar.gz: 8712a16ab84cc4f721812078306e56833a48f035d9e1ed7b1170620523cb7e98
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3eec93600c1899e8b3fe8ce6b1043932ddeb3a7a885efb85f038d04fc79986132c118bce5b8ff9e497e77101778f39b70493a4cdf940fa06e56e0aa143843100
|
7
|
+
data.tar.gz: fbd38469518bf38333085462adb8294bd02c0349250e068e826b8942529d912af65096ca00d378cfad802cb15ce5a3cb08dfd20191995d354cca319627d5965f
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -27,6 +27,8 @@ module Raygun
|
|
27
27
|
@tracer.add_whitelist *translate(filter[1..-1])
|
28
28
|
elsif filter.start_with?('-')
|
29
29
|
@tracer.add_blacklist *translate(filter[1..-1])
|
30
|
+
elsif filter.start_with?('L-')
|
31
|
+
@tracer.add_blacklist *translate(filter[2..-1])
|
30
32
|
elsif filter.size > 0
|
31
33
|
@tracer.add_blacklist *translate(filter)
|
32
34
|
end
|
@@ -5,12 +5,14 @@ module Raygun
|
|
5
5
|
class RubyTranslator
|
6
6
|
# Foo::Bar#baz
|
7
7
|
# Foo::Bar.baz
|
8
|
+
# Foo::Bar::baz
|
8
9
|
COMMENT = /^#.*/
|
9
10
|
ANONYMOUS = /^#<.*>?/
|
10
11
|
NAMESPACE = /::/
|
11
12
|
NAMESPACE_ONLY = /::$/
|
12
13
|
METHOD = /#|\./
|
13
14
|
LETTER_CASE = /^[A-Z]/
|
15
|
+
LOWER_CASE = /^[a-z]/
|
14
16
|
|
15
17
|
def translate(filter)
|
16
18
|
path, method = nil, nil
|
@@ -29,6 +31,10 @@ module Raygun
|
|
29
31
|
|
30
32
|
# .NET fallback
|
31
33
|
return if method =~ NAMESPACE
|
34
|
+
if path && (_method = path.split(NAMESPACE).last) =~ LOWER_CASE
|
35
|
+
method = _method
|
36
|
+
path.gsub!(Regexp.compile("::#{method}$"), "")
|
37
|
+
end
|
32
38
|
[path, method]
|
33
39
|
elsif filter =~ ANONYMOUS
|
34
40
|
_, klass, method = filter.split(METHOD)
|
data/lib/raygun/apm/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: raygun-apm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.7
|
5
5
|
platform: x86-linux
|
6
6
|
authors:
|
7
7
|
- Raygun Limited
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-01-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: debase-ruby_core_source
|