raygun-apm 1.0.69-x86-linux → 1.0.70-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/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: 5e41ca011179dc8a724eef1e9095bc66e75426d3f0cefab3f14cd1492a36f440
|
4
|
+
data.tar.gz: f7203b8535560385785d8dc7cdb5a8149bdcf6dd31f3e22fee03b347242fc66f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 66f62afa1ea7070dae8005ecd4f0bebb59318bceb8686f80c5165bd78e90f2c8e31bebacbd5dcafadc8556983df354854897578fc8877fc341b0a3e1f2d41b1d
|
7
|
+
data.tar.gz: 0d3c2b4d3a465e083a70286001d58c57079eb0f30db38ac48a008d1e904460520c7808b7b4f784eb64825374905c9e9bb4b0f5cb087e8b7228e6f21f1324a3c1
|
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: x86-linux
|
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
|