sentry-ruby 5.3.1 → 5.16.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (76) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +11 -0
  3. data/.rspec +2 -0
  4. data/.yardopts +2 -0
  5. data/CHANGELOG.md +313 -0
  6. data/Gemfile +26 -0
  7. data/Makefile +4 -0
  8. data/README.md +11 -8
  9. data/Rakefile +20 -0
  10. data/bin/console +18 -0
  11. data/bin/setup +8 -0
  12. data/lib/sentry/background_worker.rb +79 -0
  13. data/lib/sentry/backpressure_monitor.rb +75 -0
  14. data/lib/sentry/backtrace.rb +124 -0
  15. data/lib/sentry/baggage.rb +70 -0
  16. data/lib/sentry/breadcrumb/sentry_logger.rb +90 -0
  17. data/lib/sentry/breadcrumb.rb +76 -0
  18. data/lib/sentry/breadcrumb_buffer.rb +64 -0
  19. data/lib/sentry/check_in_event.rb +60 -0
  20. data/lib/sentry/client.rb +248 -0
  21. data/lib/sentry/configuration.rb +650 -0
  22. data/lib/sentry/core_ext/object/deep_dup.rb +61 -0
  23. data/lib/sentry/core_ext/object/duplicable.rb +155 -0
  24. data/lib/sentry/cron/configuration.rb +23 -0
  25. data/lib/sentry/cron/monitor_check_ins.rb +75 -0
  26. data/lib/sentry/cron/monitor_config.rb +53 -0
  27. data/lib/sentry/cron/monitor_schedule.rb +42 -0
  28. data/lib/sentry/dsn.rb +53 -0
  29. data/lib/sentry/envelope.rb +93 -0
  30. data/lib/sentry/error_event.rb +38 -0
  31. data/lib/sentry/event.rb +156 -0
  32. data/lib/sentry/exceptions.rb +9 -0
  33. data/lib/sentry/hub.rb +316 -0
  34. data/lib/sentry/integrable.rb +32 -0
  35. data/lib/sentry/interface.rb +16 -0
  36. data/lib/sentry/interfaces/exception.rb +43 -0
  37. data/lib/sentry/interfaces/request.rb +134 -0
  38. data/lib/sentry/interfaces/single_exception.rb +67 -0
  39. data/lib/sentry/interfaces/stacktrace.rb +87 -0
  40. data/lib/sentry/interfaces/stacktrace_builder.rb +79 -0
  41. data/lib/sentry/interfaces/threads.rb +42 -0
  42. data/lib/sentry/linecache.rb +47 -0
  43. data/lib/sentry/logger.rb +20 -0
  44. data/lib/sentry/net/http.rb +106 -0
  45. data/lib/sentry/profiler.rb +233 -0
  46. data/lib/sentry/propagation_context.rb +134 -0
  47. data/lib/sentry/puma.rb +32 -0
  48. data/lib/sentry/rack/capture_exceptions.rb +79 -0
  49. data/lib/sentry/rack.rb +5 -0
  50. data/lib/sentry/rake.rb +28 -0
  51. data/lib/sentry/redis.rb +108 -0
  52. data/lib/sentry/release_detector.rb +39 -0
  53. data/lib/sentry/scope.rb +360 -0
  54. data/lib/sentry/session.rb +33 -0
  55. data/lib/sentry/session_flusher.rb +90 -0
  56. data/lib/sentry/span.rb +273 -0
  57. data/lib/sentry/test_helper.rb +84 -0
  58. data/lib/sentry/transaction.rb +359 -0
  59. data/lib/sentry/transaction_event.rb +80 -0
  60. data/lib/sentry/transport/configuration.rb +98 -0
  61. data/lib/sentry/transport/dummy_transport.rb +21 -0
  62. data/lib/sentry/transport/http_transport.rb +206 -0
  63. data/lib/sentry/transport/spotlight_transport.rb +50 -0
  64. data/lib/sentry/transport.rb +225 -0
  65. data/lib/sentry/utils/argument_checking_helper.rb +19 -0
  66. data/lib/sentry/utils/custom_inspection.rb +14 -0
  67. data/lib/sentry/utils/encoding_helper.rb +22 -0
  68. data/lib/sentry/utils/exception_cause_chain.rb +20 -0
  69. data/lib/sentry/utils/logging_helper.rb +26 -0
  70. data/lib/sentry/utils/real_ip.rb +84 -0
  71. data/lib/sentry/utils/request_id.rb +18 -0
  72. data/lib/sentry/version.rb +5 -0
  73. data/lib/sentry-ruby.rb +580 -0
  74. data/sentry-ruby-core.gemspec +23 -0
  75. data/sentry-ruby.gemspec +24 -0
  76. metadata +75 -16
metadata CHANGED
@@ -1,29 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sentry-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.3.1
4
+ version: 5.16.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sentry Team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-05-14 00:00:00.000000000 Z
11
+ date: 2024-01-09 00:00:00.000000000 Z
12
12
  dependencies:
13
- - !ruby/object:Gem::Dependency
14
- name: sentry-ruby-core
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - '='
18
- - !ruby/object:Gem::Version
19
- version: 5.3.1
20
- type: :runtime
21
- prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
24
- - - '='
25
- - !ruby/object:Gem::Version
26
- version: 5.3.1
27
13
  - !ruby/object:Gem::Dependency
28
14
  name: concurrent-ruby
29
15
  requirement: !ruby/object:Gem::Requirement
@@ -52,8 +38,81 @@ extra_rdoc_files:
52
38
  - README.md
53
39
  - LICENSE.txt
54
40
  files:
41
+ - ".gitignore"
42
+ - ".rspec"
43
+ - ".yardopts"
44
+ - CHANGELOG.md
45
+ - Gemfile
55
46
  - LICENSE.txt
47
+ - Makefile
56
48
  - README.md
49
+ - Rakefile
50
+ - bin/console
51
+ - bin/setup
52
+ - lib/sentry-ruby.rb
53
+ - lib/sentry/background_worker.rb
54
+ - lib/sentry/backpressure_monitor.rb
55
+ - lib/sentry/backtrace.rb
56
+ - lib/sentry/baggage.rb
57
+ - lib/sentry/breadcrumb.rb
58
+ - lib/sentry/breadcrumb/sentry_logger.rb
59
+ - lib/sentry/breadcrumb_buffer.rb
60
+ - lib/sentry/check_in_event.rb
61
+ - lib/sentry/client.rb
62
+ - lib/sentry/configuration.rb
63
+ - lib/sentry/core_ext/object/deep_dup.rb
64
+ - lib/sentry/core_ext/object/duplicable.rb
65
+ - lib/sentry/cron/configuration.rb
66
+ - lib/sentry/cron/monitor_check_ins.rb
67
+ - lib/sentry/cron/monitor_config.rb
68
+ - lib/sentry/cron/monitor_schedule.rb
69
+ - lib/sentry/dsn.rb
70
+ - lib/sentry/envelope.rb
71
+ - lib/sentry/error_event.rb
72
+ - lib/sentry/event.rb
73
+ - lib/sentry/exceptions.rb
74
+ - lib/sentry/hub.rb
75
+ - lib/sentry/integrable.rb
76
+ - lib/sentry/interface.rb
77
+ - lib/sentry/interfaces/exception.rb
78
+ - lib/sentry/interfaces/request.rb
79
+ - lib/sentry/interfaces/single_exception.rb
80
+ - lib/sentry/interfaces/stacktrace.rb
81
+ - lib/sentry/interfaces/stacktrace_builder.rb
82
+ - lib/sentry/interfaces/threads.rb
83
+ - lib/sentry/linecache.rb
84
+ - lib/sentry/logger.rb
85
+ - lib/sentry/net/http.rb
86
+ - lib/sentry/profiler.rb
87
+ - lib/sentry/propagation_context.rb
88
+ - lib/sentry/puma.rb
89
+ - lib/sentry/rack.rb
90
+ - lib/sentry/rack/capture_exceptions.rb
91
+ - lib/sentry/rake.rb
92
+ - lib/sentry/redis.rb
93
+ - lib/sentry/release_detector.rb
94
+ - lib/sentry/scope.rb
95
+ - lib/sentry/session.rb
96
+ - lib/sentry/session_flusher.rb
97
+ - lib/sentry/span.rb
98
+ - lib/sentry/test_helper.rb
99
+ - lib/sentry/transaction.rb
100
+ - lib/sentry/transaction_event.rb
101
+ - lib/sentry/transport.rb
102
+ - lib/sentry/transport/configuration.rb
103
+ - lib/sentry/transport/dummy_transport.rb
104
+ - lib/sentry/transport/http_transport.rb
105
+ - lib/sentry/transport/spotlight_transport.rb
106
+ - lib/sentry/utils/argument_checking_helper.rb
107
+ - lib/sentry/utils/custom_inspection.rb
108
+ - lib/sentry/utils/encoding_helper.rb
109
+ - lib/sentry/utils/exception_cause_chain.rb
110
+ - lib/sentry/utils/logging_helper.rb
111
+ - lib/sentry/utils/real_ip.rb
112
+ - lib/sentry/utils/request_id.rb
113
+ - lib/sentry/version.rb
114
+ - sentry-ruby-core.gemspec
115
+ - sentry-ruby.gemspec
57
116
  homepage: https://github.com/getsentry/sentry-ruby
58
117
  licenses:
59
118
  - MIT