raygun-apm 1.0.72-x64-mingw32 → 1.0.78-x64-mingw32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/ext/raygun/extconf.rb +7 -0
- 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/blacklist.rb +5 -2
- data/lib/raygun/apm/hooks/httpclient.rb +7 -2
- 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: 1a7971e2a27042413962a817fcb6e752607886ad5ccf0f77d6791e7529306771
|
4
|
+
data.tar.gz: d54cd249e651facfd97788de975cedadcfce5a5d509c40d13b66238533689aab
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0ead8c63817585487d0d80450788443c307f2c19b632ba3bf05f77fdb5971a56abfc71bd42de463f44442325f1140a443b2b4f24df676e6fbe647736a56c8de9
|
7
|
+
data.tar.gz: b4b68bfb2b4fceefb3ffb4f3351f6a1f2b505dcfc107a83410f93656d6c8a27d3d7ea2e1f2a25fa17056fc43c2cad43ac228112565d8178215e3c1a0b83b1d52
|
data/ext/raygun/extconf.rb
CHANGED
@@ -1,6 +1,8 @@
|
|
1
1
|
# encoding: utf-8
|
2
2
|
|
3
|
+
# Makefile generator helper - from standard library
|
3
4
|
require 'mkmf'
|
5
|
+
# References core headers extracted by Ruby minor version in https://github.com/os97673/debase-ruby_core_source . Required for some of the lower level profiler features
|
4
6
|
require 'debase/ruby_core_source'
|
5
7
|
|
6
8
|
headers = proc do
|
@@ -11,12 +13,15 @@ end
|
|
11
13
|
|
12
14
|
dir_config('raygun')
|
13
15
|
|
16
|
+
# To allow for swapping out the compiler - clang in favour of gcc for example
|
14
17
|
RbConfig::MAKEFILE_CONFIG['CC'] = ENV['CC'] if ENV['CC']
|
15
18
|
|
19
|
+
# Pendatic about all the things
|
16
20
|
append_cflags '-pedantic'
|
17
21
|
append_cflags '-Wall'
|
18
22
|
append_cflags '-Werror=switch'
|
19
23
|
append_cflags '-std=c99'
|
24
|
+
# Enables additional flags, stack protection and debug symbols
|
20
25
|
if ENV['DEBUG']
|
21
26
|
have_library 'ssp'
|
22
27
|
have_func '__stack_chk_guard'
|
@@ -33,6 +38,7 @@ else
|
|
33
38
|
append_cflags '-O3'
|
34
39
|
end
|
35
40
|
|
41
|
+
# Renders an ASCII presentation of the shadow stack at runtime
|
36
42
|
if ENV['DEBUG_SHADOW_STACK']
|
37
43
|
append_cflags '-DRB_RG_DEBUG_SHADOW_STACK'
|
38
44
|
end
|
@@ -42,6 +48,7 @@ unless create_header
|
|
42
48
|
exit(1)
|
43
49
|
end
|
44
50
|
|
51
|
+
# Check for the presence of headers in ruby_core_headers for the version currently compiled for
|
45
52
|
unless Debase::RubyCoreSource.create_makefile_with_core(headers, 'raygun_ext')
|
46
53
|
STDERR.print("Makefile creation failed\n")
|
47
54
|
STDERR.print("One or more ruby headers not found\n")
|
Binary file
|
Binary file
|
Binary file
|
data/lib/raygun/apm/blacklist.rb
CHANGED
@@ -26,6 +26,7 @@ module Raygun
|
|
26
26
|
Continuation#
|
27
27
|
Data#
|
28
28
|
Dir#
|
29
|
+
Dir::
|
29
30
|
ENV#
|
30
31
|
EOFError#
|
31
32
|
Encoding#
|
@@ -98,6 +99,8 @@ module Raygun
|
|
98
99
|
SecurityError#
|
99
100
|
Set#
|
100
101
|
SimpleDelegator#
|
102
|
+
Singleton#
|
103
|
+
Singleton::
|
101
104
|
Signal#
|
102
105
|
SignalException#
|
103
106
|
SizedQueue#
|
@@ -156,8 +159,8 @@ module Raygun
|
|
156
159
|
Gem::
|
157
160
|
FileUtils#
|
158
161
|
FileUtils::
|
159
|
-
|
160
|
-
|
162
|
+
Tempfile#
|
163
|
+
Tempfile::
|
161
164
|
Logger#
|
162
165
|
Logger::
|
163
166
|
}
|
@@ -4,6 +4,8 @@ module Raygun
|
|
4
4
|
module Apm
|
5
5
|
module Hooks
|
6
6
|
module HTTPClient
|
7
|
+
private
|
8
|
+
|
7
9
|
def do_request(method, uri, query, body, header, &filtered_block)
|
8
10
|
if tracer = Raygun::Apm::Tracer.instance
|
9
11
|
started = tracer.now
|
@@ -11,7 +13,7 @@ module Raygun
|
|
11
13
|
ended = tracer.now
|
12
14
|
event = raygun_apm_http_out_event
|
13
15
|
event[:pid] = Process.pid
|
14
|
-
event[:url] =
|
16
|
+
event[:url] = raygun_apm_url(uri, query)
|
15
17
|
event[:verb] = method.to_s.upcase
|
16
18
|
event[:status] = response.code.to_i
|
17
19
|
event[:duration] = ended - started
|
@@ -24,7 +26,10 @@ module Raygun
|
|
24
26
|
end
|
25
27
|
end
|
26
28
|
|
27
|
-
|
29
|
+
def raygun_apm_url(uri, query)
|
30
|
+
query && uri ? URI.join(uri, query).to_s : uri.to_s
|
31
|
+
end
|
32
|
+
|
28
33
|
def raygun_apm_http_out_event
|
29
34
|
@_raygun_apm_http_out_event ||= Raygun::Apm::Event::HttpOut.new
|
30
35
|
end
|
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.78
|
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:
|
12
|
+
date: 2021-01-05 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: debase-ruby_core_source
|