raygun-apm 1.1.4-x86-linux → 1.1.5-x86-linux

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
  SHA256:
3
- metadata.gz: 46f73d8bdce053e7cb9cc21bf641ad859e21a66ac94aa84e523975a5622aef0c
4
- data.tar.gz: c4fa30382e0ab2df776ce9a77d4e0ca03540e9641b485f4e90173591cc3b902e
3
+ metadata.gz: 5493417e09fc84b856c276cde99286e80888c36dafa174a45601ebbbe7c9f8ed
4
+ data.tar.gz: 8b7061df270de4a23ff14cdafe74cf86b19d1dd7a58d4e78ecea4f7a8b3b3892
5
5
  SHA512:
6
- metadata.gz: de819bcf2bcea94647c882a94cdbf19ea5a1257436ab83de49abc27e77dd0859314c12bad57eb7408d58e64d748c0d608daccbdf18fef900cd9f12e729ddcd76
7
- data.tar.gz: 7f8011b545d53ee4bd8cee34b4c2fbda3309d1fd760e9d4f20fd170d323777558d6db59bf5814c030c619146ccfb54f97f59a1fdcb0368fa181424644a4f9a30
6
+ metadata.gz: efe1375cd6647619c1bdcf2e278b15cbc8d9fd88a5773ea03b4014a1fd0eda6040ad8af6c95b8ac3552e97410cf7c19ad158001f73926ef22685d9b120b74596
7
+ data.tar.gz: 61acb8c1e58df8d0190a8c84f2422a8573a9ce08fa622ff4c28a25f71cd7c5890fc2ff654f7119ee435fd07c5f5e2043f0fc139201960c081f491c7d1618c9e6
@@ -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)
@@ -1,6 +1,6 @@
1
1
  module Raygun
2
2
  module Apm
3
- VERSION = "1.1.4"
3
+ VERSION = "1.1.5"
4
4
  MINIMUM_AGENT_VERSION = "1.0.1190.0"
5
5
  end
6
6
  end
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
4
+ version: 1.1.5
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: 2021-07-13 00:00:00.000000000 Z
11
+ date: 2021-11-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: debase-ruby_core_source