appsignal 2.11.0.beta.3-java → 2.11.1-java

Sign up to get free protection for your applications and to get access to all the features.
Files changed (53) hide show
  1. checksums.yaml +4 -4
  2. data/.semaphore/semaphore.yml +57 -1
  3. data/CHANGELOG.md +26 -0
  4. data/README.md +11 -5
  5. data/Rakefile +27 -9
  6. data/appsignal.gemspec +1 -1
  7. data/build_matrix.yml +2 -2
  8. data/ext/Rakefile +2 -0
  9. data/ext/agent.yml +17 -25
  10. data/ext/appsignal_extension.c +1 -1
  11. data/ext/base.rb +7 -0
  12. data/ext/extconf.rb +2 -0
  13. data/lib/appsignal.rb +1 -0
  14. data/lib/appsignal/auth_check.rb +4 -2
  15. data/lib/appsignal/cli/diagnose.rb +1 -1
  16. data/lib/appsignal/config.rb +82 -17
  17. data/lib/appsignal/extension.rb +6 -5
  18. data/lib/appsignal/extension/jruby.rb +6 -5
  19. data/lib/appsignal/hooks.rb +24 -0
  20. data/lib/appsignal/hooks/action_mailer.rb +22 -0
  21. data/lib/appsignal/hooks/active_job.rb +41 -12
  22. data/lib/appsignal/hooks/active_support_notifications.rb +72 -0
  23. data/lib/appsignal/hooks/puma.rb +0 -1
  24. data/lib/appsignal/hooks/sidekiq.rb +1 -2
  25. data/lib/appsignal/integrations/delayed_job_plugin.rb +1 -1
  26. data/lib/appsignal/probes.rb +7 -0
  27. data/lib/appsignal/probes/puma.rb +1 -1
  28. data/lib/appsignal/probes/sidekiq.rb +3 -1
  29. data/lib/appsignal/utils/deprecation_message.rb +1 -1
  30. data/lib/appsignal/version.rb +1 -1
  31. data/spec/lib/appsignal/auth_check_spec.rb +23 -0
  32. data/spec/lib/appsignal/capistrano2_spec.rb +1 -1
  33. data/spec/lib/appsignal/capistrano3_spec.rb +1 -1
  34. data/spec/lib/appsignal/cli/diagnose_spec.rb +42 -0
  35. data/spec/lib/appsignal/config_spec.rb +39 -1
  36. data/spec/lib/appsignal/extension/jruby_spec.rb +31 -28
  37. data/spec/lib/appsignal/extension_install_failure_spec.rb +23 -0
  38. data/spec/lib/appsignal/hooks/action_mailer_spec.rb +54 -0
  39. data/spec/lib/appsignal/hooks/active_support_notifications/finish_with_state_shared_examples.rb +35 -0
  40. data/spec/lib/appsignal/hooks/active_support_notifications/instrument_shared_examples.rb +145 -0
  41. data/spec/lib/appsignal/hooks/active_support_notifications/start_finish_shared_examples.rb +69 -0
  42. data/spec/lib/appsignal/hooks/active_support_notifications_spec.rb +9 -137
  43. data/spec/lib/appsignal/hooks/activejob_spec.rb +82 -12
  44. data/spec/lib/appsignal/hooks/delayed_job_spec.rb +3 -14
  45. data/spec/lib/appsignal/hooks/sidekiq_spec.rb +7 -5
  46. data/spec/lib/appsignal/hooks_spec.rb +57 -0
  47. data/spec/lib/appsignal/marker_spec.rb +1 -1
  48. data/spec/spec_helper.rb +5 -0
  49. data/spec/support/helpers/config_helpers.rb +3 -2
  50. data/spec/support/helpers/dependency_helper.rb +4 -0
  51. data/spec/support/helpers/transaction_helpers.rb +1 -1
  52. data/spec/support/testing.rb +19 -19
  53. metadata +21 -9
metadata CHANGED
@@ -1,16 +1,16 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: appsignal
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.11.0.beta.3
4
+ version: 2.11.1
5
5
  platform: java
6
6
  authors:
7
7
  - Robert Beekman
8
8
  - Thijs Cadier
9
9
  - Tom de Bruijn
10
- autorequire:
10
+ autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2020-07-08 00:00:00.000000000 Z
13
+ date: 2020-12-15 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rack
@@ -221,6 +221,7 @@ files:
221
221
  - lib/appsignal/helpers/metrics.rb
222
222
  - lib/appsignal/hooks.rb
223
223
  - lib/appsignal/hooks/action_cable.rb
224
+ - lib/appsignal/hooks/action_mailer.rb
224
225
  - lib/appsignal/hooks/active_job.rb
225
226
  - lib/appsignal/hooks/active_support_notifications.rb
226
227
  - lib/appsignal/hooks/celluloid.rb
@@ -258,6 +259,7 @@ files:
258
259
  - lib/appsignal/logger.rb
259
260
  - lib/appsignal/marker.rb
260
261
  - lib/appsignal/minutely.rb
262
+ - lib/appsignal/probes.rb
261
263
  - lib/appsignal/probes/puma.rb
262
264
  - lib/appsignal/probes/sidekiq.rb
263
265
  - lib/appsignal/rack/generic_instrumentation.rb
@@ -304,9 +306,14 @@ files:
304
306
  - spec/lib/appsignal/event_formatter/moped/query_formatter_spec.rb
305
307
  - spec/lib/appsignal/event_formatter_spec.rb
306
308
  - spec/lib/appsignal/extension/jruby_spec.rb
309
+ - spec/lib/appsignal/extension_install_failure_spec.rb
307
310
  - spec/lib/appsignal/extension_spec.rb
308
311
  - spec/lib/appsignal/garbage_collection_profiler_spec.rb
309
312
  - spec/lib/appsignal/hooks/action_cable_spec.rb
313
+ - spec/lib/appsignal/hooks/action_mailer_spec.rb
314
+ - spec/lib/appsignal/hooks/active_support_notifications/finish_with_state_shared_examples.rb
315
+ - spec/lib/appsignal/hooks/active_support_notifications/instrument_shared_examples.rb
316
+ - spec/lib/appsignal/hooks/active_support_notifications/start_finish_shared_examples.rb
310
317
  - spec/lib/appsignal/hooks/active_support_notifications_spec.rb
311
318
  - spec/lib/appsignal/hooks/activejob_spec.rb
312
319
  - spec/lib/appsignal/hooks/celluloid_spec.rb
@@ -402,11 +409,11 @@ licenses:
402
409
  - MIT
403
410
  metadata:
404
411
  bug_tracker_uri: https://github.com/appsignal/appsignal-ruby/issues
405
- changelog_uri: https://github.com/appsignal/appsignal-ruby/blob/master/CHANGELOG.md
412
+ changelog_uri: https://github.com/appsignal/appsignal-ruby/blob/main/CHANGELOG.md
406
413
  documentation_uri: https://docs.appsignal.com/ruby/
407
414
  homepage_uri: https://docs.appsignal.com/ruby/
408
415
  source_code_uri: https://github.com/appsignal/appsignal-ruby
409
- post_install_message:
416
+ post_install_message:
410
417
  rdoc_options: []
411
418
  require_paths:
412
419
  - lib
@@ -418,12 +425,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
418
425
  version: '1.9'
419
426
  required_rubygems_version: !ruby/object:Gem::Requirement
420
427
  requirements:
421
- - - ">"
428
+ - - ">="
422
429
  - !ruby/object:Gem::Version
423
- version: 1.3.1
430
+ version: '0'
424
431
  requirements: []
425
- rubygems_version: 3.1.4
426
- signing_key:
432
+ rubygems_version: 3.1.2
433
+ signing_key:
427
434
  specification_version: 4
428
435
  summary: Logs performance and exception data from your app to appsignal.com
429
436
  test_files:
@@ -451,9 +458,14 @@ test_files:
451
458
  - spec/lib/appsignal/event_formatter/moped/query_formatter_spec.rb
452
459
  - spec/lib/appsignal/event_formatter_spec.rb
453
460
  - spec/lib/appsignal/extension/jruby_spec.rb
461
+ - spec/lib/appsignal/extension_install_failure_spec.rb
454
462
  - spec/lib/appsignal/extension_spec.rb
455
463
  - spec/lib/appsignal/garbage_collection_profiler_spec.rb
456
464
  - spec/lib/appsignal/hooks/action_cable_spec.rb
465
+ - spec/lib/appsignal/hooks/action_mailer_spec.rb
466
+ - spec/lib/appsignal/hooks/active_support_notifications/finish_with_state_shared_examples.rb
467
+ - spec/lib/appsignal/hooks/active_support_notifications/instrument_shared_examples.rb
468
+ - spec/lib/appsignal/hooks/active_support_notifications/start_finish_shared_examples.rb
457
469
  - spec/lib/appsignal/hooks/active_support_notifications_spec.rb
458
470
  - spec/lib/appsignal/hooks/activejob_spec.rb
459
471
  - spec/lib/appsignal/hooks/celluloid_spec.rb