raygun-apm 0.0.5-x64-mingw32 → 0.0.6-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/Gemfile.lock +4 -4
- data/README.rdoc +11 -1
- data/lib/raygun/2.5/raygun_ext.so +0 -0
- data/lib/raygun/{raygun_ext.so → 2.6/raygun_ext.so} +0 -0
- data/lib/raygun/apm/blacklist.rb +9 -57
- data/lib/raygun/apm/config.rb +10 -2
- data/lib/raygun/apm/version.rb +1 -1
- data/lib/raygun/apm.rb +1 -1
- data/raygun-apm.gemspec +3 -3
- metadata +7 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 684c97f07dea9b2f65bae5996c16cf95b94b2b89a6032b4e9a2eb84f3eed0bf1
|
4
|
+
data.tar.gz: b3f8a0d9618e956134e0cdad3c9f1849a664b15c17722e1d9b85b02ab2797f92
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b4df2d3970acdc80c8e22521864435b5dbe295c7eff1d615f3a484aa6f2e5764aabd15519ed59e4c7e7fc4f3a7caa21b94cf3ea66d66c98c0fba5da4cb6e6210
|
7
|
+
data.tar.gz: 374d58db7bdeb0061f9a4c0a858643e00d45e123fb4eb49e2b9331591158b9e210de7f0a994ef757d20145ee8712718579dd745a967f4d0f4235fed8b87ed4e6
|
data/Gemfile.lock
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
raygun-apm (0.0.
|
4
|
+
raygun-apm (0.0.6)
|
5
5
|
|
6
6
|
GEM
|
7
7
|
remote: https://rubygems.org/
|
8
8
|
specs:
|
9
9
|
benchmark_driver (0.14.17)
|
10
|
-
debase-ruby_core_source (0.10.
|
10
|
+
debase-ruby_core_source (0.10.7)
|
11
11
|
irb (1.0.0)
|
12
12
|
minitest (5.11.3)
|
13
13
|
rake (12.3.3)
|
@@ -22,7 +22,7 @@ PLATFORMS
|
|
22
22
|
DEPENDENCIES
|
23
23
|
benchmark_driver (~> 0.14.17)
|
24
24
|
bundler (~> 1.16)
|
25
|
-
debase-ruby_core_source (~> 0.10.
|
25
|
+
debase-ruby_core_source (~> 0.10.7)
|
26
26
|
irb
|
27
27
|
minitest (~> 5.0)
|
28
28
|
rake (~> 12.0)
|
@@ -31,4 +31,4 @@ DEPENDENCIES
|
|
31
31
|
raygun-apm!
|
32
32
|
|
33
33
|
BUNDLED WITH
|
34
|
-
1.17.
|
34
|
+
1.17.3
|
data/README.rdoc
CHANGED
@@ -13,6 +13,16 @@ Distributed as a precompiled native gem.
|
|
13
13
|
|
14
14
|
{Contact us}[https://raygun.com/about/contact] to support other platforms.
|
15
15
|
|
16
|
+
== Supported Ruby versions
|
17
|
+
|
18
|
+
The profiler only supports CRuby, also known as Matz's Ruby Interpreter (MRI).
|
19
|
+
|
20
|
+
* 2.5.x
|
21
|
+
* 2.6.x
|
22
|
+
* 2.7.x (Preview release, still officially unreleased, but supported)
|
23
|
+
|
24
|
+
{Contact us}[https://raygun.com/about/contact] to support other Ruby versions.
|
25
|
+
|
16
26
|
== Agent Setup
|
17
27
|
|
18
28
|
The Profiler needs to be able to access the Raygun Agent over UDP.
|
@@ -25,7 +35,7 @@ To launch Raygun Agent using docker
|
|
25
35
|
|
26
36
|
== Profiler Setup
|
27
37
|
|
28
|
-
Include the gem your Gemfile
|
38
|
+
Include the gem in your Gemfile
|
29
39
|
|
30
40
|
gem 'raygun-apm'
|
31
41
|
|
Binary file
|
Binary file
|
data/lib/raygun/apm/blacklist.rb
CHANGED
@@ -131,64 +131,16 @@ module Raygun
|
|
131
131
|
ZeroDivisionError
|
132
132
|
}
|
133
133
|
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
Concurrent
|
143
|
-
Date
|
144
|
-
DateAndTime
|
145
|
-
DateTime
|
146
|
-
Delegator
|
147
|
-
Digest
|
148
|
-
ERB
|
149
|
-
SecureRandom
|
150
|
-
URI
|
151
|
-
AbstractController
|
152
|
-
ActionCable
|
153
|
-
ActionController
|
154
|
-
ActionDispatch
|
155
|
-
ActionMailbox
|
156
|
-
ActionMailer
|
157
|
-
ActionText
|
158
|
-
ActionView
|
159
|
-
ActiveJob
|
160
|
-
ActiveModel
|
161
|
-
ActiveRecord
|
162
|
-
ActiveStorage
|
163
|
-
ActiveSupport
|
164
|
-
Arel
|
165
|
-
Mail
|
166
|
-
Mime
|
167
|
-
Rails
|
168
|
-
Rack
|
169
|
-
I18n
|
170
|
-
Bootsnap
|
171
|
-
Sprockets
|
172
|
-
Turbolinks
|
173
|
-
Pathname
|
174
|
-
MonitorMixin
|
175
|
-
Logger
|
176
|
-
Sprockets
|
177
|
-
ActionDispatch
|
178
|
-
ActiveSupport
|
179
|
-
ActionView
|
180
|
-
ApplicationHelper
|
181
|
-
SQLite3
|
182
|
-
Mysql2
|
183
|
-
Erubi
|
184
|
-
ApplicationController
|
185
|
-
}
|
134
|
+
def self.extend_with(list)
|
135
|
+
self.extended_blacklist << list
|
136
|
+
end
|
137
|
+
|
138
|
+
def self.extended_blacklist
|
139
|
+
@@extended_blacklist ||= []
|
140
|
+
end
|
141
|
+
|
186
142
|
def self.resolve_entries
|
187
|
-
|
188
|
-
DEFAULT_RUBY + DEFAULT_RAILS
|
189
|
-
else
|
190
|
-
DEFAULT_RUBY
|
191
|
-
end
|
143
|
+
DEFAULT_RUBY + self.extended_blacklist.flatten
|
192
144
|
end
|
193
145
|
end
|
194
146
|
end
|
data/lib/raygun/apm/config.rb
CHANGED
@@ -23,7 +23,7 @@ module Raygun
|
|
23
23
|
end
|
24
24
|
end
|
25
25
|
|
26
|
-
def self.config_var(attr, opts={})
|
26
|
+
def self.config_var(attr, opts={}, &blk)
|
27
27
|
define_method attr.downcase do
|
28
28
|
val = if x = env[attr]
|
29
29
|
if opts[:as] == Integer
|
@@ -36,6 +36,7 @@ module Raygun
|
|
36
36
|
else
|
37
37
|
opts[:default]
|
38
38
|
end
|
39
|
+
blk ? blk.call(val) : val
|
39
40
|
end
|
40
41
|
end
|
41
42
|
|
@@ -55,7 +56,14 @@ module Raygun
|
|
55
56
|
|
56
57
|
## ruby specific extras
|
57
58
|
config_var 'PROTON_RB_TRACE_BLOCKS', as: :boolean, default: false
|
58
|
-
config_var 'PROTON_EMIT_ARGUMENTS', as: :boolean, default: false
|
59
|
+
config_var 'PROTON_EMIT_ARGUMENTS', as: :boolean, default: false do |val|
|
60
|
+
if val && RUBY_VERSION < "2.6"
|
61
|
+
warn("Emitting function arguments only supported on Ruby versions > 2.6, disabling")
|
62
|
+
false
|
63
|
+
else
|
64
|
+
val
|
65
|
+
end
|
66
|
+
end
|
59
67
|
|
60
68
|
def udp_host
|
61
69
|
if proton_use_multicast == 'True'
|
data/lib/raygun/apm/version.rb
CHANGED
data/lib/raygun/apm.rb
CHANGED
data/raygun-apm.gemspec
CHANGED
@@ -18,7 +18,7 @@ Gem::Specification.new do |spec|
|
|
18
18
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
19
19
|
spec.require_paths = ["lib", "ext"]
|
20
20
|
|
21
|
-
if RUBY_PLATFORM =~ /darwin/ && !ENV['
|
21
|
+
if RUBY_PLATFORM =~ /darwin/ && !ENV['GEM_CROSS_COMPILING']
|
22
22
|
spec.files << 'lib/raygun/raygun_ext.bundle'
|
23
23
|
spec.platform = 'universal-darwin'
|
24
24
|
else
|
@@ -26,9 +26,9 @@ Gem::Specification.new do |spec|
|
|
26
26
|
end
|
27
27
|
|
28
28
|
spec.extensions = ["ext/raygun/extconf.rb"]
|
29
|
-
spec.required_ruby_version = '>= 2.
|
29
|
+
spec.required_ruby_version = '>= 2.5.0'
|
30
30
|
|
31
|
-
spec.add_development_dependency "debase-ruby_core_source", "~> 0.10.
|
31
|
+
spec.add_development_dependency "debase-ruby_core_source", "~> 0.10.7"
|
32
32
|
spec.add_development_dependency "bundler", "~> 1.16"
|
33
33
|
spec.add_development_dependency "rake", "~> 12.0"
|
34
34
|
spec.add_development_dependency "minitest", "~> 5.0"
|
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: 0.0.
|
4
|
+
version: 0.0.6
|
5
5
|
platform: x64-mingw32
|
6
6
|
authors:
|
7
7
|
- Erkki Eilonen
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-11-
|
11
|
+
date: 2019-11-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: debase-ruby_core_source
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.10.
|
19
|
+
version: 0.10.7
|
20
20
|
type: :development
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 0.10.
|
26
|
+
version: 0.10.7
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: bundler
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -121,6 +121,8 @@ files:
|
|
121
121
|
- bin/console
|
122
122
|
- bin/setup
|
123
123
|
- ext/raygun/extconf.rb
|
124
|
+
- lib/raygun/2.5/raygun_ext.so
|
125
|
+
- lib/raygun/2.6/raygun_ext.so
|
124
126
|
- lib/raygun/apm.rb
|
125
127
|
- lib/raygun/apm/blacklist.rb
|
126
128
|
- lib/raygun/apm/config.rb
|
@@ -128,7 +130,6 @@ files:
|
|
128
130
|
- lib/raygun/apm/middleware.rb
|
129
131
|
- lib/raygun/apm/tracer.rb
|
130
132
|
- lib/raygun/apm/version.rb
|
131
|
-
- lib/raygun/raygun_ext.so
|
132
133
|
- raygun-apm.gemspec
|
133
134
|
homepage:
|
134
135
|
licenses: []
|
@@ -142,7 +143,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
142
143
|
requirements:
|
143
144
|
- - ">="
|
144
145
|
- !ruby/object:Gem::Version
|
145
|
-
version: '2.
|
146
|
+
version: '2.5'
|
146
147
|
- - "<"
|
147
148
|
- !ruby/object:Gem::Version
|
148
149
|
version: 2.7.dev
|