raygun-apm 0.0.5-universal-darwin → 0.0.6-universal-darwin
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/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/lib/raygun/raygun_ext.bundle +0 -0
- data/raygun-apm.gemspec +2 -2
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '086d134122d9f9816ea27b4cb997326bd560cb1dfcd59d145e29214b732add1c'
|
4
|
+
data.tar.gz: 8ac1af8b6b9e907e62e9c58d006d0285f7e5872ebc7bb9be0db76afbed0a5278
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fb7f9eec472fc574d2f5f6babed0ae34b412ad41811103ef92f802c6a0f63be7da169701e69b9c7192565f1380fa5682d67481225f46c2ee5d544341cd017e44
|
7
|
+
data.tar.gz: ac6d3314d05c2c9faf14d1839cdde922fe1faff6982180e684e3bd49e9fcd2fd99ecbf1887833dfc32badedc57e6ddfc3f5be493217c2461fc0f24d3a69db6be
|
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
|
|
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
Binary file
|
data/raygun-apm.gemspec
CHANGED
@@ -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: universal-darwin
|
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
|
@@ -143,7 +143,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
143
143
|
requirements:
|
144
144
|
- - ">="
|
145
145
|
- !ruby/object:Gem::Version
|
146
|
-
version: 2.
|
146
|
+
version: 2.5.0
|
147
147
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
148
148
|
requirements:
|
149
149
|
- - ">="
|