appsignal 2.11.0.beta.5 → 2.11.3

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.
Files changed (35) hide show
  1. checksums.yaml +4 -4
  2. data/.semaphore/semaphore.yml +197 -0
  3. data/CHANGELOG.md +18 -0
  4. data/README.md +16 -1
  5. data/Rakefile +11 -5
  6. data/build_matrix.yml +13 -0
  7. data/ext/agent.yml +17 -25
  8. data/ext/appsignal_extension.c +1 -1
  9. data/ext/base.rb +12 -9
  10. data/gemfiles/no_dependencies.gemfile +7 -0
  11. data/gemfiles/resque-2.gemfile +0 -1
  12. data/gemfiles/webmachine.gemfile +1 -0
  13. data/lib/appsignal/cli/diagnose/utils.rb +8 -11
  14. data/lib/appsignal/cli/install.rb +5 -8
  15. data/lib/appsignal/config.rb +47 -15
  16. data/lib/appsignal/helpers/instrumentation.rb +32 -0
  17. data/lib/appsignal/hooks.rb +1 -0
  18. data/lib/appsignal/hooks/action_mailer.rb +22 -0
  19. data/lib/appsignal/hooks/active_support_notifications.rb +72 -0
  20. data/lib/appsignal/hooks/shoryuken.rb +43 -4
  21. data/lib/appsignal/transaction.rb +30 -2
  22. data/lib/appsignal/version.rb +1 -1
  23. data/spec/lib/appsignal/config_spec.rb +18 -1
  24. data/spec/lib/appsignal/hooks/action_mailer_spec.rb +54 -0
  25. data/spec/lib/appsignal/hooks/active_support_notifications/finish_with_state_shared_examples.rb +35 -0
  26. data/spec/lib/appsignal/hooks/active_support_notifications/instrument_shared_examples.rb +145 -0
  27. data/spec/lib/appsignal/hooks/active_support_notifications/start_finish_shared_examples.rb +69 -0
  28. data/spec/lib/appsignal/hooks/active_support_notifications_spec.rb +9 -137
  29. data/spec/lib/appsignal/hooks/resque_spec.rb +10 -2
  30. data/spec/lib/appsignal/hooks/shoryuken_spec.rb +151 -104
  31. data/spec/lib/appsignal/hooks/sidekiq_spec.rb +4 -2
  32. data/spec/lib/appsignal/transaction_spec.rb +55 -0
  33. data/spec/lib/appsignal_spec.rb +30 -0
  34. data/spec/support/helpers/dependency_helper.rb +4 -0
  35. metadata +14 -5
@@ -37,6 +37,10 @@ module DependencyHelper
37
37
  dependency_present? "actioncable"
38
38
  end
39
39
 
40
+ def action_mailer_present?
41
+ dependency_present? "actionmailer"
42
+ end
43
+
40
44
  def active_job_present?
41
45
  dependency_present? "activejob"
42
46
  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: 2.11.0.beta.5
4
+ version: 2.11.3
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: 2020-07-27 00:00:00.000000000 Z
13
+ date: 2021-01-19 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rack
@@ -207,6 +207,7 @@ files:
207
207
  - lib/appsignal/helpers/metrics.rb
208
208
  - lib/appsignal/hooks.rb
209
209
  - lib/appsignal/hooks/action_cable.rb
210
+ - lib/appsignal/hooks/action_mailer.rb
210
211
  - lib/appsignal/hooks/active_job.rb
211
212
  - lib/appsignal/hooks/active_support_notifications.rb
212
213
  - lib/appsignal/hooks/celluloid.rb
@@ -295,6 +296,10 @@ files:
295
296
  - spec/lib/appsignal/extension_spec.rb
296
297
  - spec/lib/appsignal/garbage_collection_profiler_spec.rb
297
298
  - spec/lib/appsignal/hooks/action_cable_spec.rb
299
+ - spec/lib/appsignal/hooks/action_mailer_spec.rb
300
+ - spec/lib/appsignal/hooks/active_support_notifications/finish_with_state_shared_examples.rb
301
+ - spec/lib/appsignal/hooks/active_support_notifications/instrument_shared_examples.rb
302
+ - spec/lib/appsignal/hooks/active_support_notifications/start_finish_shared_examples.rb
298
303
  - spec/lib/appsignal/hooks/active_support_notifications_spec.rb
299
304
  - spec/lib/appsignal/hooks/activejob_spec.rb
300
305
  - spec/lib/appsignal/hooks/celluloid_spec.rb
@@ -406,11 +411,11 @@ required_ruby_version: !ruby/object:Gem::Requirement
406
411
  version: '1.9'
407
412
  required_rubygems_version: !ruby/object:Gem::Requirement
408
413
  requirements:
409
- - - ">"
414
+ - - ">="
410
415
  - !ruby/object:Gem::Version
411
- version: 1.3.1
416
+ version: '0'
412
417
  requirements: []
413
- rubygems_version: 3.1.4
418
+ rubygems_version: 3.2.5
414
419
  signing_key:
415
420
  specification_version: 4
416
421
  summary: Logs performance and exception data from your app to appsignal.com
@@ -443,6 +448,10 @@ test_files:
443
448
  - spec/lib/appsignal/extension_spec.rb
444
449
  - spec/lib/appsignal/garbage_collection_profiler_spec.rb
445
450
  - spec/lib/appsignal/hooks/action_cable_spec.rb
451
+ - spec/lib/appsignal/hooks/action_mailer_spec.rb
452
+ - spec/lib/appsignal/hooks/active_support_notifications/finish_with_state_shared_examples.rb
453
+ - spec/lib/appsignal/hooks/active_support_notifications/instrument_shared_examples.rb
454
+ - spec/lib/appsignal/hooks/active_support_notifications/start_finish_shared_examples.rb
446
455
  - spec/lib/appsignal/hooks/active_support_notifications_spec.rb
447
456
  - spec/lib/appsignal/hooks/activejob_spec.rb
448
457
  - spec/lib/appsignal/hooks/celluloid_spec.rb