appsignal 4.0.4 → 4.0.6
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/.github/workflows/ci.yml +151 -16
- data/CHANGELOG.md +42 -0
- data/build_matrix.yml +2 -1
- data/ext/agent.rb +27 -27
- data/gemfiles/que-1.gemfile +5 -0
- data/gemfiles/que-2.gemfile +5 -0
- data/lib/appsignal/check_in/scheduler.rb +3 -4
- data/lib/appsignal/config.rb +7 -0
- data/lib/appsignal/hooks/at_exit.rb +1 -0
- data/lib/appsignal/hooks/puma.rb +5 -1
- data/lib/appsignal/integrations/puma.rb +45 -0
- data/lib/appsignal/integrations/que.rb +8 -2
- data/lib/appsignal/rack/abstract_middleware.rb +3 -47
- data/lib/appsignal/rack/event_handler.rb +2 -0
- data/lib/appsignal/rack/hanami_middleware.rb +5 -1
- data/lib/appsignal/rack.rb +68 -0
- data/lib/appsignal/version.rb +1 -1
- data/spec/lib/appsignal/check_in/cron_spec.rb +134 -134
- data/spec/lib/appsignal/check_in/scheduler_spec.rb +297 -224
- data/spec/lib/appsignal/config_spec.rb +13 -0
- data/spec/lib/appsignal/hooks/at_exit_spec.rb +11 -0
- data/spec/lib/appsignal/hooks/puma_spec.rb +31 -23
- data/spec/lib/appsignal/integrations/puma_spec.rb +150 -0
- data/spec/lib/appsignal/integrations/que_spec.rb +56 -21
- data/spec/lib/appsignal/probes_spec.rb +4 -6
- data/spec/lib/appsignal/rack/abstract_middleware_spec.rb +41 -122
- data/spec/lib/appsignal/rack_spec.rb +180 -0
- data/spec/lib/appsignal/transaction_spec.rb +96 -92
- data/spec/spec_helper.rb +6 -7
- data/spec/support/helpers/api_request_helper.rb +40 -0
- data/spec/support/helpers/config_helpers.rb +2 -1
- data/spec/support/helpers/dependency_helper.rb +5 -0
- data/spec/support/matchers/contains_log.rb +10 -3
- data/spec/support/mocks/hash_like.rb +10 -0
- data/spec/support/mocks/puma_mock.rb +43 -0
- data/spec/support/testing.rb +9 -0
- metadata +8 -3
- data/gemfiles/que.gemfile +0 -5
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: 4.0.
|
4
|
+
version: 4.0.6
|
5
5
|
platform: ruby
|
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: 2024-
|
13
|
+
date: 2024-09-03 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rack
|
@@ -170,7 +170,8 @@ files:
|
|
170
170
|
- gemfiles/padrino.gemfile
|
171
171
|
- gemfiles/psych-3.gemfile
|
172
172
|
- gemfiles/psych-4.gemfile
|
173
|
-
- gemfiles/que.gemfile
|
173
|
+
- gemfiles/que-1.gemfile
|
174
|
+
- gemfiles/que-2.gemfile
|
174
175
|
- gemfiles/rails-6.0.gemfile
|
175
176
|
- gemfiles/rails-6.1.gemfile
|
176
177
|
- gemfiles/rails-7.0.gemfile
|
@@ -254,6 +255,7 @@ files:
|
|
254
255
|
- lib/appsignal/integrations/mongo_ruby_driver.rb
|
255
256
|
- lib/appsignal/integrations/net_http.rb
|
256
257
|
- lib/appsignal/integrations/object.rb
|
258
|
+
- lib/appsignal/integrations/puma.rb
|
257
259
|
- lib/appsignal/integrations/que.rb
|
258
260
|
- lib/appsignal/integrations/railtie.rb
|
259
261
|
- lib/appsignal/integrations/rake.rb
|
@@ -373,6 +375,7 @@ files:
|
|
373
375
|
- spec/lib/appsignal/integrations/mongo_ruby_driver_spec.rb
|
374
376
|
- spec/lib/appsignal/integrations/net_http_spec.rb
|
375
377
|
- spec/lib/appsignal/integrations/object_spec.rb
|
378
|
+
- spec/lib/appsignal/integrations/puma_spec.rb
|
376
379
|
- spec/lib/appsignal/integrations/que_spec.rb
|
377
380
|
- spec/lib/appsignal/integrations/railtie_spec.rb
|
378
381
|
- spec/lib/appsignal/integrations/resque_spec.rb
|
@@ -450,7 +453,9 @@ files:
|
|
450
453
|
- spec/support/mocks/dummy_app.rb
|
451
454
|
- spec/support/mocks/fake_gc_profiler.rb
|
452
455
|
- spec/support/mocks/fake_gvl_tools.rb
|
456
|
+
- spec/support/mocks/hash_like.rb
|
453
457
|
- spec/support/mocks/mock_probe.rb
|
458
|
+
- spec/support/mocks/puma_mock.rb
|
454
459
|
- spec/support/shared_examples/instrument.rb
|
455
460
|
- spec/support/stubs/appsignal/loaders/loader_stub.rb
|
456
461
|
- spec/support/stubs/delayed_job.rb
|