appsignal 3.0.17-java → 3.0.18-java
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +0 -3
- data/.semaphore/semaphore.yml +378 -103
- data/CHANGELOG.md +6 -0
- data/appsignal.gemspec +0 -2
- data/build_matrix.yml +37 -16
- data/ext/agent.yml +25 -25
- data/gemfiles/rails-7.0.gemfile +7 -0
- data/lib/appsignal/config.rb +2 -1
- data/lib/appsignal/integrations/sidekiq.rb +5 -1
- data/lib/appsignal/version.rb +1 -1
- data/spec/lib/appsignal/event_formatter_spec.rb +2 -2
- data/spec/lib/appsignal/hooks/activejob_spec.rb +34 -6
- data/spec/lib/appsignal/integrations/padrino_spec.rb +8 -2
- data/spec/lib/appsignal/integrations/sidekiq_spec.rb +22 -5
- data/spec/lib/appsignal/utils/data_spec.rb +0 -2
- data/spec/lib/appsignal/utils/json_spec.rb +0 -2
- metadata +4 -3
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,11 @@
|
|
1
1
|
# AppSignal for Ruby gem Changelog
|
2
2
|
|
3
|
+
## 3.0.18
|
4
|
+
|
5
|
+
### Added
|
6
|
+
|
7
|
+
- [d7bfcdf1](https://github.com/appsignal/appsignal-ruby/commit/d7bfcdf11a66df1ec5f54ac9342e5566062013b5) patch - Add Ruby 3.1.0 support. There was an issue with `YAML.load` arguments when parsing the `appsignal.yml` config file.
|
8
|
+
|
3
9
|
## 3.0.17
|
4
10
|
|
5
11
|
### Fixed
|
data/appsignal.gemspec
CHANGED
data/build_matrix.yml
CHANGED
@@ -52,7 +52,7 @@ semaphore: # Default `.semaphore/semaphore.yml` contents
|
|
52
52
|
- name: Validate CI setup
|
53
53
|
env_vars:
|
54
54
|
- name: RUBY_VERSION
|
55
|
-
value: 2.6.
|
55
|
+
value: 2.6.9
|
56
56
|
- name: GEMSET
|
57
57
|
value: no_dependencies
|
58
58
|
- name: BUNDLE_GEMFILE
|
@@ -76,7 +76,7 @@ semaphore: # Default `.semaphore/semaphore.yml` contents
|
|
76
76
|
- name: RuboCop
|
77
77
|
env_vars:
|
78
78
|
- name: RUBY_VERSION
|
79
|
-
value: 2.6.
|
79
|
+
value: 2.6.9
|
80
80
|
- name: GEMSET
|
81
81
|
value: no_dependencies
|
82
82
|
- name: BUNDLE_GEMFILE
|
@@ -164,6 +164,7 @@ matrix:
|
|
164
164
|
- "no_dependencies"
|
165
165
|
- "rails-5.2"
|
166
166
|
- "rails-6.0"
|
167
|
+
- "rails-7.0"
|
167
168
|
|
168
169
|
ruby:
|
169
170
|
- ruby: "2.0.0-p648"
|
@@ -184,9 +185,10 @@ matrix:
|
|
184
185
|
gems: "none"
|
185
186
|
- ruby: "2.5.8"
|
186
187
|
gems: "minimal"
|
187
|
-
- ruby: "2.6.
|
188
|
-
- ruby: "2.7.
|
189
|
-
- ruby: "3.0.
|
188
|
+
- ruby: "2.6.9"
|
189
|
+
- ruby: "2.7.5"
|
190
|
+
- ruby: "3.0.3"
|
191
|
+
- ruby: "3.1.0"
|
190
192
|
- ruby: "jruby-9.2.19.0"
|
191
193
|
gems: "minimal"
|
192
194
|
env_vars:
|
@@ -204,28 +206,33 @@ matrix:
|
|
204
206
|
bundler: "1.17.3"
|
205
207
|
exclude:
|
206
208
|
ruby:
|
207
|
-
- "2.6.
|
208
|
-
- "2.7.
|
209
|
-
- "3.0.
|
209
|
+
- "2.6.9"
|
210
|
+
- "2.7.5"
|
211
|
+
- "3.0.3"
|
212
|
+
- "3.1.0"
|
210
213
|
- gem: "rails-4.2"
|
211
214
|
bundler: "1.17.3"
|
212
215
|
exclude:
|
213
216
|
ruby:
|
214
|
-
- "2.6.
|
215
|
-
- "2.7.
|
216
|
-
- "3.0.
|
217
|
+
- "2.6.9"
|
218
|
+
- "2.7.5"
|
219
|
+
- "3.0.3"
|
220
|
+
- "3.1.0"
|
217
221
|
- gem: "rails-5.0"
|
218
222
|
exclude:
|
219
223
|
ruby:
|
220
|
-
- "3.0.
|
224
|
+
- "3.0.3"
|
225
|
+
- "3.1.0"
|
221
226
|
- gem: "rails-5.1"
|
222
227
|
exclude:
|
223
228
|
ruby:
|
224
|
-
- "3.0.
|
229
|
+
- "3.0.3"
|
230
|
+
- "3.1.0"
|
225
231
|
- gem: "rails-5.2"
|
226
232
|
exclude:
|
227
233
|
ruby:
|
228
|
-
- "3.0.
|
234
|
+
- "3.0.3"
|
235
|
+
- "3.1.0"
|
229
236
|
- gem: "rails-6.0"
|
230
237
|
exclude:
|
231
238
|
ruby:
|
@@ -233,16 +240,30 @@ matrix:
|
|
233
240
|
- "2.2.10"
|
234
241
|
- "2.3.8"
|
235
242
|
- "2.4.10"
|
243
|
+
- "3.1.0"
|
244
|
+
- gem: "rails-7.0"
|
245
|
+
exclude:
|
246
|
+
ruby:
|
247
|
+
- "2.1.10"
|
248
|
+
- "2.2.10"
|
249
|
+
- "2.3.8"
|
250
|
+
- "2.4.10"
|
251
|
+
- "2.5.8"
|
252
|
+
- "2.6.9"
|
253
|
+
- "3.1.0"
|
254
|
+
- "jruby-9.2.19.0"
|
236
255
|
- gem: "resque-1"
|
237
256
|
bundler: "1.17.3"
|
238
257
|
exclude:
|
239
258
|
ruby:
|
240
|
-
- "3.0.
|
259
|
+
- "3.0.3"
|
260
|
+
- "3.1.0"
|
241
261
|
- gem: "resque-2"
|
242
262
|
- gem: "sequel"
|
243
263
|
- gem: "sequel-435"
|
244
264
|
exclude:
|
245
265
|
ruby:
|
246
|
-
- "3.0.
|
266
|
+
- "3.0.3"
|
267
|
+
- "3.1.0"
|
247
268
|
- gem: "sinatra"
|
248
269
|
- gem: "webmachine"
|
data/ext/agent.yml
CHANGED
@@ -3,92 +3,92 @@
|
|
3
3
|
# appsignal-agent repository.
|
4
4
|
# Modifications to this file will be overwritten with the next agent release.
|
5
5
|
---
|
6
|
-
version:
|
6
|
+
version: 15ee07b
|
7
7
|
mirrors:
|
8
8
|
- https://appsignal-agent-releases.global.ssl.fastly.net
|
9
9
|
- https://d135dj0rjqvssy.cloudfront.net
|
10
10
|
triples:
|
11
11
|
x86_64-darwin:
|
12
12
|
static:
|
13
|
-
checksum:
|
13
|
+
checksum: 59bb7f5aea47ccea89b48cc323371fd87609592945ae8692f36063a635970e22
|
14
14
|
filename: appsignal-x86_64-darwin-all-static.tar.gz
|
15
15
|
dynamic:
|
16
|
-
checksum:
|
16
|
+
checksum: ce2d489170fdd84be1467d24e5c13782cf97912b3c7dbaaebe9e074d56e711a2
|
17
17
|
filename: appsignal-x86_64-darwin-all-dynamic.tar.gz
|
18
18
|
universal-darwin:
|
19
19
|
static:
|
20
|
-
checksum:
|
20
|
+
checksum: 59bb7f5aea47ccea89b48cc323371fd87609592945ae8692f36063a635970e22
|
21
21
|
filename: appsignal-x86_64-darwin-all-static.tar.gz
|
22
22
|
dynamic:
|
23
|
-
checksum:
|
23
|
+
checksum: ce2d489170fdd84be1467d24e5c13782cf97912b3c7dbaaebe9e074d56e711a2
|
24
24
|
filename: appsignal-x86_64-darwin-all-dynamic.tar.gz
|
25
25
|
aarch64-darwin:
|
26
26
|
static:
|
27
|
-
checksum:
|
27
|
+
checksum: aa37596a85d65d46fc5bba25d4d059e98655709e6c44ee39e7c6ba72398ad704
|
28
28
|
filename: appsignal-aarch64-darwin-all-static.tar.gz
|
29
29
|
dynamic:
|
30
|
-
checksum:
|
30
|
+
checksum: b40026410702c1bb3ac974c9648d464e0551956dc933deff22543f10cca81e46
|
31
31
|
filename: appsignal-aarch64-darwin-all-dynamic.tar.gz
|
32
32
|
arm64-darwin:
|
33
33
|
static:
|
34
|
-
checksum:
|
34
|
+
checksum: aa37596a85d65d46fc5bba25d4d059e98655709e6c44ee39e7c6ba72398ad704
|
35
35
|
filename: appsignal-aarch64-darwin-all-static.tar.gz
|
36
36
|
dynamic:
|
37
|
-
checksum:
|
37
|
+
checksum: b40026410702c1bb3ac974c9648d464e0551956dc933deff22543f10cca81e46
|
38
38
|
filename: appsignal-aarch64-darwin-all-dynamic.tar.gz
|
39
39
|
arm-darwin:
|
40
40
|
static:
|
41
|
-
checksum:
|
41
|
+
checksum: aa37596a85d65d46fc5bba25d4d059e98655709e6c44ee39e7c6ba72398ad704
|
42
42
|
filename: appsignal-aarch64-darwin-all-static.tar.gz
|
43
43
|
dynamic:
|
44
|
-
checksum:
|
44
|
+
checksum: b40026410702c1bb3ac974c9648d464e0551956dc933deff22543f10cca81e46
|
45
45
|
filename: appsignal-aarch64-darwin-all-dynamic.tar.gz
|
46
46
|
aarch64-linux:
|
47
47
|
static:
|
48
|
-
checksum:
|
48
|
+
checksum: 12c5659d5a5d67ee641bdb1c38ef842b7687811fdec1f9edf8e196a2ed596405
|
49
49
|
filename: appsignal-aarch64-linux-all-static.tar.gz
|
50
50
|
dynamic:
|
51
|
-
checksum:
|
51
|
+
checksum: 8301ab5f64af1c185860314682fbfd89027ea5e4850d8beb222613ca5455358a
|
52
52
|
filename: appsignal-aarch64-linux-all-dynamic.tar.gz
|
53
53
|
i686-linux:
|
54
54
|
static:
|
55
|
-
checksum:
|
55
|
+
checksum: afebd51e26b8d21923a8adcbc8fda7bbd29d4e12573f53895e3a650fcd84ffd5
|
56
56
|
filename: appsignal-i686-linux-all-static.tar.gz
|
57
57
|
dynamic:
|
58
|
-
checksum:
|
58
|
+
checksum: e0ed425a1d92ad7e9beb83f5b7c896f8606773cc599337a198536a150ba76c51
|
59
59
|
filename: appsignal-i686-linux-all-dynamic.tar.gz
|
60
60
|
x86-linux:
|
61
61
|
static:
|
62
|
-
checksum:
|
62
|
+
checksum: afebd51e26b8d21923a8adcbc8fda7bbd29d4e12573f53895e3a650fcd84ffd5
|
63
63
|
filename: appsignal-i686-linux-all-static.tar.gz
|
64
64
|
dynamic:
|
65
|
-
checksum:
|
65
|
+
checksum: e0ed425a1d92ad7e9beb83f5b7c896f8606773cc599337a198536a150ba76c51
|
66
66
|
filename: appsignal-i686-linux-all-dynamic.tar.gz
|
67
67
|
x86_64-linux:
|
68
68
|
static:
|
69
|
-
checksum:
|
69
|
+
checksum: 563eb5c9daeec67a760ac236b2848aee4ec0e39dca1368150a6d99844d4d665f
|
70
70
|
filename: appsignal-x86_64-linux-all-static.tar.gz
|
71
71
|
dynamic:
|
72
|
-
checksum:
|
72
|
+
checksum: 74940f06f4c92582262014a9967f298bccee3ca94e3a490ddc40787573c91ed0
|
73
73
|
filename: appsignal-x86_64-linux-all-dynamic.tar.gz
|
74
74
|
x86_64-linux-musl:
|
75
75
|
static:
|
76
|
-
checksum:
|
76
|
+
checksum: 2ecad2b2bdd362d9d871322eac79370d12314e3d32a53c83be17d054e91f188d
|
77
77
|
filename: appsignal-x86_64-linux-musl-all-static.tar.gz
|
78
78
|
dynamic:
|
79
|
-
checksum:
|
79
|
+
checksum: 5e4c4096ca7b0c7a97fe03f684c0678396c97f24c2065dc961081d022a8ad2a7
|
80
80
|
filename: appsignal-x86_64-linux-musl-all-dynamic.tar.gz
|
81
81
|
x86_64-freebsd:
|
82
82
|
static:
|
83
|
-
checksum:
|
83
|
+
checksum: 2eaa4beeb3322ec3c6007f4a8ec483405f8ade4c372031a068bbedf05da9443d
|
84
84
|
filename: appsignal-x86_64-freebsd-all-static.tar.gz
|
85
85
|
dynamic:
|
86
|
-
checksum:
|
86
|
+
checksum: 4805995f0b10d4b5183e4a2430af19638372a4f290d95a123a0874b2f3878d8e
|
87
87
|
filename: appsignal-x86_64-freebsd-all-dynamic.tar.gz
|
88
88
|
amd64-freebsd:
|
89
89
|
static:
|
90
|
-
checksum:
|
90
|
+
checksum: 2eaa4beeb3322ec3c6007f4a8ec483405f8ade4c372031a068bbedf05da9443d
|
91
91
|
filename: appsignal-x86_64-freebsd-all-static.tar.gz
|
92
92
|
dynamic:
|
93
|
-
checksum:
|
93
|
+
checksum: 4805995f0b10d4b5183e4a2430af19638372a4f290d95a123a0874b2f3878d8e
|
94
94
|
filename: appsignal-x86_64-freebsd-all-dynamic.tar.gz
|
data/lib/appsignal/config.rb
CHANGED
@@ -370,7 +370,8 @@ module Appsignal
|
|
370
370
|
def load_from_disk
|
371
371
|
return if !config_file || !File.exist?(config_file)
|
372
372
|
|
373
|
-
|
373
|
+
read_options = RUBY_VERSION >= "3.1.0" ? { :aliases => true } : {}
|
374
|
+
configurations = YAML.load(ERB.new(IO.read(config_file)).result, **read_options)
|
374
375
|
config_for_this_env = configurations[env]
|
375
376
|
if config_for_this_env
|
376
377
|
config_for_this_env =
|
@@ -158,7 +158,11 @@ module Appsignal
|
|
158
158
|
|
159
159
|
# Based on: https://github.com/mperham/sidekiq/blob/63ee43353bd3b753beb0233f64865e658abeb1c3/lib/sidekiq/api.rb#L403-L412
|
160
160
|
def safe_load(content, default)
|
161
|
-
|
161
|
+
if RUBY_VERSION >= "3.1.0"
|
162
|
+
yield(*YAML.unsafe_load(content))
|
163
|
+
else
|
164
|
+
yield(*YAML.load(content))
|
165
|
+
end
|
162
166
|
rescue => error
|
163
167
|
# Sidekiq issue #1761: in dev mode, it's possible to have jobs enqueued
|
164
168
|
# which haven't been loaded into memory yet so the YAML can't be
|
data/lib/appsignal/version.rb
CHANGED
@@ -28,7 +28,7 @@ end
|
|
28
28
|
|
29
29
|
class MockDependentFormatter < Appsignal::EventFormatter
|
30
30
|
def initialize
|
31
|
-
|
31
|
+
raise "There is an error"
|
32
32
|
end
|
33
33
|
|
34
34
|
def format(_payload)
|
@@ -72,7 +72,7 @@ describe Appsignal::EventFormatter do
|
|
72
72
|
end
|
73
73
|
expect(klass.registered?("mock.dependent")).to be_falsy
|
74
74
|
expect(logs).to contains_log :error, \
|
75
|
-
"'
|
75
|
+
"'There is an error' " \
|
76
76
|
"when initializing mock.dependent event formatter"
|
77
77
|
end
|
78
78
|
end
|
@@ -64,6 +64,13 @@ if DependencyHelper.active_job_present?
|
|
64
64
|
parameterized_expected_args
|
65
65
|
]
|
66
66
|
end
|
67
|
+
let(:expected_perform_events) do
|
68
|
+
if DependencyHelper.rails_version >= Gem::Version.new("7.0.0")
|
69
|
+
["perform.active_job", "perform_start.active_job"]
|
70
|
+
else
|
71
|
+
["perform_start.active_job", "perform.active_job"]
|
72
|
+
end
|
73
|
+
end
|
67
74
|
before do
|
68
75
|
ActiveJob::Base.queue_adapter = :inline
|
69
76
|
|
@@ -119,7 +126,8 @@ if DependencyHelper.active_job_present?
|
|
119
126
|
events = transaction_hash["events"]
|
120
127
|
.sort_by { |e| e["start"] }
|
121
128
|
.map { |event| event["name"] }
|
122
|
-
|
129
|
+
|
130
|
+
expect(events).to eq(expected_perform_events)
|
123
131
|
end
|
124
132
|
|
125
133
|
context "with custom queue" do
|
@@ -208,7 +216,8 @@ if DependencyHelper.active_job_present?
|
|
208
216
|
events = transaction_hash["events"]
|
209
217
|
.sort_by { |e| e["start"] }
|
210
218
|
.map { |event| event["name"] }
|
211
|
-
|
219
|
+
|
220
|
+
expect(events).to eq(expected_perform_events)
|
212
221
|
end
|
213
222
|
|
214
223
|
if DependencyHelper.rails_version >= Gem::Version.new("5.0.0")
|
@@ -286,7 +295,8 @@ if DependencyHelper.active_job_present?
|
|
286
295
|
.reject { |e| e["name"] == "enqueue.active_job" }
|
287
296
|
.sort_by { |e| e["start"] }
|
288
297
|
.map { |event| event["name"] }
|
289
|
-
|
298
|
+
|
299
|
+
expect(events).to eq(expected_perform_events)
|
290
300
|
end
|
291
301
|
end
|
292
302
|
|
@@ -414,7 +424,7 @@ if DependencyHelper.active_job_present?
|
|
414
424
|
expect(transaction_hash).to include(
|
415
425
|
"action" => "ActionMailerTestJob#welcome",
|
416
426
|
"sample_data" => hash_including(
|
417
|
-
"params" => ["ActionMailerTestJob", "welcome", "deliver_now"],
|
427
|
+
"params" => ["ActionMailerTestJob", "welcome", "deliver_now"] + active_job_args_wrapper,
|
418
428
|
"tags" => {
|
419
429
|
"active_job_id" => kind_of(String),
|
420
430
|
"queue" => "mailers"
|
@@ -433,7 +443,7 @@ if DependencyHelper.active_job_present?
|
|
433
443
|
expect(transaction_hash).to include(
|
434
444
|
"action" => "ActionMailerTestJob#welcome",
|
435
445
|
"sample_data" => hash_including(
|
436
|
-
"params" => ["ActionMailerTestJob", "welcome", "deliver_now"] + method_expected_args,
|
446
|
+
"params" => ["ActionMailerTestJob", "welcome", "deliver_now"] + active_job_args_wrapper(:args => method_expected_args),
|
437
447
|
"tags" => {
|
438
448
|
"active_job_id" => kind_of(String),
|
439
449
|
"queue" => "mailers"
|
@@ -453,7 +463,7 @@ if DependencyHelper.active_job_present?
|
|
453
463
|
expect(transaction_hash).to include(
|
454
464
|
"action" => "ActionMailerTestJob#welcome",
|
455
465
|
"sample_data" => hash_including(
|
456
|
-
"params" => ["ActionMailerTestJob", "welcome", "deliver_now"
|
466
|
+
"params" => ["ActionMailerTestJob", "welcome", "deliver_now"] + active_job_args_wrapper(:params => parameterized_expected_args),
|
457
467
|
"tags" => {
|
458
468
|
"active_job_id" => kind_of(String),
|
459
469
|
"queue" => "mailers"
|
@@ -587,5 +597,23 @@ if DependencyHelper.active_job_present?
|
|
587
597
|
"_aj_symbol_keys"
|
588
598
|
end
|
589
599
|
end
|
600
|
+
|
601
|
+
def active_job_args_wrapper(args: [], params: nil)
|
602
|
+
if DependencyHelper.rails_version >= Gem::Version.new("7.0.0")
|
603
|
+
wrapped_args = {
|
604
|
+
"_aj_ruby2_keywords" => ["args"],
|
605
|
+
"args" => args
|
606
|
+
}
|
607
|
+
|
608
|
+
unless params.nil?
|
609
|
+
wrapped_args["params"] = params
|
610
|
+
wrapped_args["_aj_ruby2_keywords"] = ["params", "args"]
|
611
|
+
end
|
612
|
+
|
613
|
+
[wrapped_args]
|
614
|
+
else
|
615
|
+
params.nil? ? args : args + [params]
|
616
|
+
end
|
617
|
+
end
|
590
618
|
end
|
591
619
|
end
|
@@ -98,7 +98,13 @@ if DependencyHelper.padrino_present?
|
|
98
98
|
RSpec::Matchers.define :match_response do |expected_status, expected_content|
|
99
99
|
match do |response|
|
100
100
|
status, _headers, content = response
|
101
|
-
|
101
|
+
matches_content =
|
102
|
+
if expected_content.is_a?(Regexp)
|
103
|
+
content.join =~ expected_content
|
104
|
+
else
|
105
|
+
content == [expected_content].compact
|
106
|
+
end
|
107
|
+
status == expected_status && matches_content
|
102
108
|
end
|
103
109
|
end
|
104
110
|
|
@@ -142,7 +148,7 @@ if DependencyHelper.padrino_present?
|
|
142
148
|
expect_a_transaction_to_be_created
|
143
149
|
# Uses path for action name
|
144
150
|
expect(transaction).to receive(:set_action_if_nil).with("PadrinoTestApp#unknown")
|
145
|
-
expect(response).to match_response(404,
|
151
|
+
expect(response).to match_response(404, %r{^GET /404})
|
146
152
|
end
|
147
153
|
end
|
148
154
|
|
@@ -366,6 +366,16 @@ if DependencyHelper.active_job_present?
|
|
366
366
|
}
|
367
367
|
]
|
368
368
|
end
|
369
|
+
let(:expected_wrapped_args) do
|
370
|
+
if DependencyHelper.rails_version >= Gem::Version.new("7.0.0")
|
371
|
+
[{
|
372
|
+
"_aj_ruby2_keywords" => ["args"],
|
373
|
+
"args" => expected_args
|
374
|
+
}]
|
375
|
+
else
|
376
|
+
expected_args
|
377
|
+
end
|
378
|
+
end
|
369
379
|
let(:expected_tags) do
|
370
380
|
{}.tap do |hash|
|
371
381
|
hash["active_job_id"] = kind_of(String)
|
@@ -374,6 +384,13 @@ if DependencyHelper.active_job_present?
|
|
374
384
|
end
|
375
385
|
end
|
376
386
|
end
|
387
|
+
let(:expected_perform_events) do
|
388
|
+
if DependencyHelper.rails_version >= Gem::Version.new("7.0.0")
|
389
|
+
["perform_job.sidekiq", "perform.active_job", "perform_start.active_job"]
|
390
|
+
else
|
391
|
+
["perform_job.sidekiq", "perform_start.active_job", "perform.active_job"]
|
392
|
+
end
|
393
|
+
end
|
377
394
|
before do
|
378
395
|
start_agent
|
379
396
|
Appsignal.logger = test_logger(log)
|
@@ -434,8 +451,8 @@ if DependencyHelper.active_job_present?
|
|
434
451
|
events = transaction_hash["events"]
|
435
452
|
.sort_by { |e| e["start"] }
|
436
453
|
.map { |event| event["name"] }
|
437
|
-
|
438
|
-
|
454
|
+
|
455
|
+
expect(events).to eq(expected_perform_events)
|
439
456
|
end
|
440
457
|
|
441
458
|
context "with error" do
|
@@ -467,8 +484,8 @@ if DependencyHelper.active_job_present?
|
|
467
484
|
events = transaction_hash["events"]
|
468
485
|
.sort_by { |e| e["start"] }
|
469
486
|
.map { |event| event["name"] }
|
470
|
-
|
471
|
-
|
487
|
+
|
488
|
+
expect(events).to eq(expected_perform_events)
|
472
489
|
end
|
473
490
|
end
|
474
491
|
|
@@ -490,7 +507,7 @@ if DependencyHelper.active_job_present?
|
|
490
507
|
expect(transaction_hash).to include(
|
491
508
|
"action" => "ActionMailerSidekiqTestJob#welcome",
|
492
509
|
"sample_data" => hash_including(
|
493
|
-
"params" => ["ActionMailerSidekiqTestJob", "welcome", "deliver_now"] +
|
510
|
+
"params" => ["ActionMailerSidekiqTestJob", "welcome", "deliver_now"] + expected_wrapped_args
|
494
511
|
)
|
495
512
|
)
|
496
513
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: appsignal
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.18
|
5
5
|
platform: java
|
6
6
|
authors:
|
7
7
|
- Robert Beekman
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date:
|
13
|
+
date: 2022-01-05 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rack
|
@@ -185,6 +185,7 @@ files:
|
|
185
185
|
- gemfiles/rails-5.1.gemfile
|
186
186
|
- gemfiles/rails-5.2.gemfile
|
187
187
|
- gemfiles/rails-6.0.gemfile
|
188
|
+
- gemfiles/rails-7.0.gemfile
|
188
189
|
- gemfiles/resque-1.gemfile
|
189
190
|
- gemfiles/resque-2.gemfile
|
190
191
|
- gemfiles/sequel-435.gemfile
|
@@ -435,7 +436,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
435
436
|
- !ruby/object:Gem::Version
|
436
437
|
version: '0'
|
437
438
|
requirements: []
|
438
|
-
rubygems_version: 3.
|
439
|
+
rubygems_version: 3.3.4
|
439
440
|
signing_key:
|
440
441
|
specification_version: 4
|
441
442
|
summary: Logs performance and exception data from your app to appsignal.com
|