raygun-apm 1.0.69-x64-mingw32 → 1.0.70-x64-mingw32
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/apm/config.rb +10 -0
- data/lib/raygun/apm/tracer.rb +5 -4
- 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: 40a56168723e4666502c3e22514a0dba97cd26557e33d79579434c1f0ebb78c6
|
4
|
+
data.tar.gz: 86a86fb6d57182f5afa0e7b4b91e376fcc31653497ee779084aa4b8553a7e8e8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 637eeb5a2e852a57e93d9b6480b2004a78a6abf70566a1883ae8ee48a65286c8c8e66fcb77056e323e9e2d19ba18903fff72061fae3f7ea06cc127f5fb1b8f8c
|
7
|
+
data.tar.gz: b2e1cd85a1a4eb4bc3741b376b04520b2db89e9c29918ce70be3f0f6e935e1650d434905544f8bc5f083b72a83a1a7fb837117c4f48bddd6574fd4e72378139c
|
Binary file
|
Binary file
|
Binary file
|
data/lib/raygun/apm/config.rb
CHANGED
@@ -18,6 +18,9 @@ module Raygun
|
|
18
18
|
"production" => Tracer::ENV_PRODUCTION
|
19
19
|
}
|
20
20
|
|
21
|
+
DEFAULT_BLACKLIST_PATH_UNIX = "/usr/share/Raygun/Blacklist"
|
22
|
+
DEFAULT_BLACKLIST_PATH_WINDOWS = "C:\\ProgramData\\Raygun\\Blacklist"
|
23
|
+
|
21
24
|
attr_accessor :env
|
22
25
|
def initialize(env=ENV)
|
23
26
|
@env = env
|
@@ -82,6 +85,13 @@ module Raygun
|
|
82
85
|
environment = env['RACK_ENV'] || env['RAILS_ENV'] || 'production'
|
83
86
|
ENVIRONMENTS[environment] || Tracer::ENV_PRODUCTION
|
84
87
|
end
|
88
|
+
|
89
|
+
# Prefer what is set by PROTON_USER_OVERRIDES_FILE env
|
90
|
+
def blacklist_file
|
91
|
+
return proton_user_overrides_file if proton_user_overrides_file
|
92
|
+
path = Gem.win_platform? ? DEFAULT_BLACKLIST_PATH_WINDOWS : DEFAULT_BLACKLIST_PATH_UNIX
|
93
|
+
"#{File.join(path, proton_api_key)}.txt"
|
94
|
+
end
|
85
95
|
end
|
86
96
|
end
|
87
97
|
end
|
data/lib/raygun/apm/tracer.rb
CHANGED
@@ -57,15 +57,16 @@ module Raygun
|
|
57
57
|
|
58
58
|
def initialize_blacklist
|
59
59
|
@blacklist_parser = Raygun::Apm::Blacklist::Parser.new(self)
|
60
|
-
|
61
|
-
|
60
|
+
file = @config.blacklist_file
|
61
|
+
@blacklist = if file && File.exist?(file)
|
62
|
+
File.readlines(file)
|
62
63
|
else
|
63
64
|
[]
|
64
65
|
end
|
65
|
-
# From file
|
66
|
-
@blacklist_parser.add_filters @blacklist
|
67
66
|
# Defaults
|
68
67
|
@blacklist_parser.add_filters Raygun::Apm::Blacklist.resolve_entries
|
68
|
+
# From file
|
69
|
+
@blacklist_parser.add_filters @blacklist
|
69
70
|
end
|
70
71
|
|
71
72
|
def register_known_library_paths
|
data/lib/raygun/apm/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: raygun-apm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.70
|
5
5
|
platform: x64-mingw32
|
6
6
|
authors:
|
7
7
|
- Raygun
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2020-09-
|
12
|
+
date: 2020-09-22 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: debase-ruby_core_source
|