sentry-rails 7.1.0 → 7.2.0
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/gemfiles/ruby-2.7_rails-5.2.0.gemfile.lock +10 -10
- data/gemfiles/ruby-2.7_rails-6.0.0.gemfile.lock +10 -10
- data/gemfiles/ruby-2.7_rails-6.1.0.gemfile.lock +10 -10
- data/gemfiles/ruby-2.7_rails-7.0.0.gemfile.lock +10 -10
- data/gemfiles/ruby-2.7_rails-7.1.0.gemfile.lock +11 -11
- data/gemfiles/ruby-3.0_rails-6.1.0.gemfile.lock +11 -11
- data/gemfiles/ruby-3.0_rails-7.0.0.gemfile.lock +11 -11
- data/gemfiles/ruby-3.0_rails-7.1.0.gemfile.lock +11 -11
- data/gemfiles/ruby-3.1_rails-6.1.0.gemfile.lock +21 -21
- data/gemfiles/ruby-3.1_rails-7.0.0.gemfile.lock +21 -21
- data/gemfiles/ruby-3.1_rails-7.1.0.gemfile.lock +21 -21
- data/gemfiles/ruby-3.1_rails-7.2.0.gemfile.lock +88 -88
- data/gemfiles/ruby-3.2_rails-6.1.0.gemfile.lock +29 -29
- data/gemfiles/ruby-3.2_rails-7.0.0.gemfile.lock +29 -29
- data/gemfiles/ruby-3.2_rails-7.1.0.gemfile.lock +29 -29
- data/gemfiles/ruby-3.2_rails-7.2.0.gemfile.lock +29 -29
- data/gemfiles/ruby-3.2_rails-8.0.0.gemfile.lock +31 -31
- data/gemfiles/ruby-3.3_rails-6.1.0.gemfile.lock +29 -29
- data/gemfiles/ruby-3.3_rails-7.0.0.gemfile.lock +29 -29
- data/gemfiles/ruby-3.3_rails-7.1.0.gemfile.lock +29 -29
- data/gemfiles/ruby-3.3_rails-7.2.0.gemfile.lock +29 -29
- data/gemfiles/ruby-3.3_rails-8.0.0.gemfile.lock +31 -31
- data/gemfiles/ruby-3.4_rails-7.1.0.gemfile.lock +29 -29
- data/gemfiles/ruby-3.4_rails-7.2.0.gemfile.lock +29 -29
- data/gemfiles/ruby-3.4_rails-8.0.0.gemfile.lock +31 -31
- data/gemfiles/ruby-3.4_rails-8.1.3.gemfile.lock +97 -97
- data/gemfiles/ruby-4.0_rails-6.1.0.gemfile.lock +29 -29
- data/gemfiles/ruby-4.0_rails-7.0.0.gemfile.lock +29 -29
- data/gemfiles/ruby-4.0_rails-7.1.0.gemfile.lock +29 -29
- data/gemfiles/ruby-4.0_rails-8.0.0.gemfile.lock +31 -31
- data/gemfiles/ruby-4.0_rails-8.1.3.gemfile.lock +97 -97
- data/gemfiles/ruby-jruby-9.4.14.0_rails-6.1.0.gemfile.lock +19 -19
- data/gemfiles/ruby-jruby-9.4.14.0_rails-7.0.0.gemfile.lock +19 -19
- data/gemfiles/ruby-jruby-9.4.14.0_rails-7.1.0.gemfile.lock +19 -19
- data/lib/sentry/rails/active_job.rb +1 -0
- data/lib/sentry/rails/configuration.rb +6 -0
- data/lib/sentry/rails/overrides/streaming_reporter.rb +2 -0
- data/lib/sentry/rails/railtie.rb +15 -1
- data/lib/sentry/rails/solid_queue_recurring.rb +118 -0
- data/lib/sentry/rails/version.rb +1 -1
- data/lib/sentry/rails.rb +1 -0
- data/sentry-rails.gemspec +1 -1
- metadata +9 -8
|
@@ -6,7 +6,7 @@ GIT
|
|
|
6
6
|
PATH
|
|
7
7
|
remote: ../../sentry-ruby
|
|
8
8
|
specs:
|
|
9
|
-
sentry-ruby (7.
|
|
9
|
+
sentry-ruby (7.1.0)
|
|
10
10
|
bigdecimal
|
|
11
11
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
|
12
12
|
logger
|
|
@@ -14,9 +14,9 @@ PATH
|
|
|
14
14
|
PATH
|
|
15
15
|
remote: ..
|
|
16
16
|
specs:
|
|
17
|
-
sentry-rails (7.
|
|
17
|
+
sentry-rails (7.1.0)
|
|
18
18
|
railties (>= 5.2.0)
|
|
19
|
-
sentry-ruby (~> 7.
|
|
19
|
+
sentry-ruby (~> 7.1.0)
|
|
20
20
|
|
|
21
21
|
GEM
|
|
22
22
|
remote: https://rubygems.org/
|
|
@@ -119,8 +119,8 @@ GEM
|
|
|
119
119
|
cgi (0.5.2-java)
|
|
120
120
|
concurrent-ruby (1.3.8)
|
|
121
121
|
connection_pool (2.5.5)
|
|
122
|
-
crass (1.0.
|
|
123
|
-
date (3.
|
|
122
|
+
crass (1.0.8)
|
|
123
|
+
date (3.6.0-java)
|
|
124
124
|
diff-lcs (1.6.2)
|
|
125
125
|
docile (1.4.1)
|
|
126
126
|
drb (2.2.3)
|
|
@@ -170,15 +170,15 @@ GEM
|
|
|
170
170
|
net-protocol
|
|
171
171
|
net-protocol (0.4.0)
|
|
172
172
|
timeout
|
|
173
|
-
net-smtp (0.5.
|
|
173
|
+
net-smtp (0.5.2)
|
|
174
174
|
net-protocol
|
|
175
175
|
nio4r (2.7.5-java)
|
|
176
176
|
nokogiri (1.18.10-java)
|
|
177
177
|
racc (~> 1.4)
|
|
178
178
|
pp (0.6.4)
|
|
179
179
|
prettyprint
|
|
180
|
-
prettyprint (0.2.
|
|
181
|
-
prism (
|
|
180
|
+
prettyprint (0.2.1)
|
|
181
|
+
prism (2.0.0)
|
|
182
182
|
psych (4.0.6-java)
|
|
183
183
|
jar-dependencies (>= 0.1.7)
|
|
184
184
|
raabro (1.5.0)
|
|
@@ -187,7 +187,7 @@ GEM
|
|
|
187
187
|
rack-session (2.1.2)
|
|
188
188
|
base64 (>= 0.1.0)
|
|
189
189
|
rack (>= 3.0.0)
|
|
190
|
-
rack-test (2.
|
|
190
|
+
rack-test (2.3.0)
|
|
191
191
|
rack (>= 1.3)
|
|
192
192
|
rackup (2.3.1)
|
|
193
193
|
rack (>= 3)
|
|
@@ -254,7 +254,7 @@ GEM
|
|
|
254
254
|
rspec-core (> 3.3)
|
|
255
255
|
rspec-support (3.13.7)
|
|
256
256
|
securerandom (0.4.1)
|
|
257
|
-
sequel (5.
|
|
257
|
+
sequel (5.109.0)
|
|
258
258
|
bigdecimal
|
|
259
259
|
simplecov (0.22.0)
|
|
260
260
|
docile (~> 1.1)
|
|
@@ -348,8 +348,8 @@ CHECKSUMS
|
|
|
348
348
|
cgi (0.5.2-java) sha256=08bbfe06e10e771d36f10db6c1dfb81727ea2a25c3dbcd28d890a1794414a73d
|
|
349
349
|
concurrent-ruby (1.3.8) sha256=b2f1be836e968ccc78ccfce277ea79c72a88633f22306782c16ff23fb415d1e1
|
|
350
350
|
connection_pool (2.5.5) sha256=e54ff92855753df1fd7c59fa04a398833355f27dd14c074f8c83a05f72a716ad
|
|
351
|
-
crass (1.0.
|
|
352
|
-
date (3.
|
|
351
|
+
crass (1.0.8) sha256=7a0145c7a2c59f8e7923b3a69ce819c444823a00a5127d805298fea13be24efe
|
|
352
|
+
date (3.6.0-java) sha256=7276986bbacc2357d0c6d41a863be5906e2f745ea2ccb47eed84bf761f6a7806
|
|
353
353
|
diff-lcs (1.6.2) sha256=9ae0d2cba7d4df3075fe8cd8602a8604993efc0dfa934cff568969efb1909962
|
|
354
354
|
docile (1.4.1) sha256=96159be799bfa73cdb721b840e9802126e4e03dfc26863db73647204c727f21e
|
|
355
355
|
drb (2.2.3) sha256=0b00d6fdb50995fe4a45dea13663493c841112e4068656854646f418fda13373
|
|
@@ -377,18 +377,18 @@ CHECKSUMS
|
|
|
377
377
|
net-imap (0.5.15) sha256=f64dc7f0b456d6a1b62007ead055994034f039f4aa6ff614e35f0b93395c0614
|
|
378
378
|
net-pop (0.1.2) sha256=848b4e982013c15b2f0382792268763b748cce91c9e91e36b0f27ed26420dff3
|
|
379
379
|
net-protocol (0.4.0) sha256=f9f90c8c6f64794a45160bf422177a336db12809de3beeeaa26b88fcd2e8c853
|
|
380
|
-
net-smtp (0.5.
|
|
380
|
+
net-smtp (0.5.2) sha256=35103cc04d6b2d94632f9928ede07483c24b70b9c0db1f231fea43909b678f3c
|
|
381
381
|
nio4r (2.7.5-java) sha256=d14779d2a9b012ec0148a53344fbb2ed2a3c4d90c5dd923bf281135ab983b2c9
|
|
382
382
|
nokogiri (1.18.10-java) sha256=cd431a09c45d84a2f870ba0b7e8f571199b3727d530f2b4888a73639f76510b5
|
|
383
383
|
pp (0.6.4) sha256=dfcb0fce700c41456265922884f9fe195d7fbb0674a3578e6c0f69588e82b570
|
|
384
|
-
prettyprint (0.2.
|
|
385
|
-
prism (
|
|
384
|
+
prettyprint (0.2.1) sha256=d555d57ea6d7cf001d4774b693546a6bd88bec1e778ddffb5c60b68ceec4b7d4
|
|
385
|
+
prism (2.0.0) sha256=fd551446f0c6ca71455ef8d1d40bd2ca1538044834fa22df8837e5095f3a5a39
|
|
386
386
|
psych (4.0.6-java) sha256=78f8708f8b139ee9b258c2f51b4d55dcccc8e7f567f728ba2f9868685bec8623
|
|
387
387
|
raabro (1.5.0) sha256=3f998a7bc84f9c84df3ab580634d2e0a5bda4f0841168d56035f529c9877440a
|
|
388
388
|
racc (1.8.1-java) sha256=54f2e6d1e1b91c154013277d986f52a90e5ececbe91465d29172e49342732b98
|
|
389
389
|
rack (3.2.7) sha256=93e13e1c24f93556671d85d2d79fa228c3485815c50d7e2f265b5330c6528fb7
|
|
390
390
|
rack-session (2.1.2) sha256=595434f8c0c3473ae7d7ac56ecda6cc6dfd9d37c0b2b5255330aa1576967ffe8
|
|
391
|
-
rack-test (2.
|
|
391
|
+
rack-test (2.3.0) sha256=b118d177cc002c572fc1b6fd8d19c9ed5881a36e8d6f689f9e618f9f861241e8
|
|
392
392
|
rackup (2.3.1) sha256=6c79c26753778e90983761d677a48937ee3192b3ffef6bc963c0950f94688868
|
|
393
393
|
rails (7.1.6) sha256=9a0a335e510de3daad7542cd791af3d8ff710c644e1da17ed12e96d2f28a7470
|
|
394
394
|
rails-dom-testing (2.3.0) sha256=8acc7953a7b911ca44588bf08737bc16719f431a1cc3091a292bca7317925c1d
|
|
@@ -406,9 +406,9 @@ CHECKSUMS
|
|
|
406
406
|
rspec-retry (0.6.2) sha256=6101ba23a38809811ae3484acde4ab481c54d846ac66d5037ccb40131a60d858
|
|
407
407
|
rspec-support (3.13.7) sha256=0640e5570872aafefd79867901deeeeb40b0c9875a36b983d85f54fb7381c47c
|
|
408
408
|
securerandom (0.4.1) sha256=cc5193d414a4341b6e225f0cb4446aceca8e50d5e1888743fac16987638ea0b1
|
|
409
|
-
sentry-rails (7.
|
|
410
|
-
sentry-ruby (7.
|
|
411
|
-
sequel (5.
|
|
409
|
+
sentry-rails (7.1.0)
|
|
410
|
+
sentry-ruby (7.1.0)
|
|
411
|
+
sequel (5.109.0) sha256=e0d1d474442d620c8497d7f4851c0cc3a277920519051b8014b2877aa55efffe
|
|
412
412
|
simplecov (0.22.0) sha256=fe2622c7834ff23b98066bb0a854284b2729a569ac659f82621fc22ef36213a5
|
|
413
413
|
simplecov-cobertura (3.2.0) sha256=70d702658677fcb20e5aceb6915ccf8bc62ff2ccd38b62b3ad5c9db5c0888740
|
|
414
414
|
simplecov-html (0.13.2) sha256=bd0b8e54e7c2d7685927e8d6286466359b6f16b18cb0df47b508e8d73c777246
|
|
@@ -253,6 +253,7 @@ module Sentry
|
|
|
253
253
|
# This handler does not capture error unless `active_job_report_on_retry_error` is true
|
|
254
254
|
def retry_handler(*args)
|
|
255
255
|
handle_error_event(*args) do |job, error|
|
|
256
|
+
return if error.nil?
|
|
256
257
|
return if !Sentry.initialized? || job.already_supported_by_sentry_integration?
|
|
257
258
|
return unless Sentry.configuration.rails.active_job_report_on_retry_error
|
|
258
259
|
|
|
@@ -183,6 +183,11 @@ module Sentry
|
|
|
183
183
|
# Defaults to true. Set to false to opt out.
|
|
184
184
|
attr_accessor :active_job_propagate_traces
|
|
185
185
|
|
|
186
|
+
# Solid Queue recurring task keys to skip when the :solid_queue_recurring patch is enabled.
|
|
187
|
+
# Strings match the key exactly; Regexps are matched against it.
|
|
188
|
+
# @return [Array<String, Regexp>]
|
|
189
|
+
attr_accessor :solid_queue_exclude_recurring_tasks
|
|
190
|
+
|
|
186
191
|
# Configuration for structured logging feature
|
|
187
192
|
# @return [StructuredLoggingConfiguration]
|
|
188
193
|
attr_reader :structured_logging
|
|
@@ -205,6 +210,7 @@ module Sentry
|
|
|
205
210
|
@active_support_logger_subscription_items = Sentry::Rails::ACTIVE_SUPPORT_LOGGER_SUBSCRIPTION_ITEMS_DEFAULT.dup
|
|
206
211
|
@active_job_report_on_retry_error = false
|
|
207
212
|
@active_job_propagate_traces = true
|
|
213
|
+
@solid_queue_exclude_recurring_tasks = []
|
|
208
214
|
@structured_logging = StructuredLoggingConfiguration.new
|
|
209
215
|
end
|
|
210
216
|
end
|
data/lib/sentry/rails/railtie.rb
CHANGED
|
@@ -6,6 +6,11 @@ require "sentry/rails/backtrace_cleaner"
|
|
|
6
6
|
|
|
7
7
|
module Sentry
|
|
8
8
|
class Railtie < ::Rails::Railtie
|
|
9
|
+
# Referencing ActionController::Live loads ActionDispatch::Response, and Rails
|
|
10
|
+
# warns when that happens before the application has initialized. Rails 8.1.4
|
|
11
|
+
# added the :action_controller_live load hook so we can wait for it instead.
|
|
12
|
+
SUPPORTS_ACTION_CONTROLLER_LIVE_LOAD_HOOK = Gem::Version.new(::Rails.version) >= Gem::Version.new("8.1.4")
|
|
13
|
+
|
|
9
14
|
# middlewares can't be injected after initialize
|
|
10
15
|
initializer "sentry.use_rack_middleware" do |app|
|
|
11
16
|
# placed after all the file-sending middlewares so we can avoid unnecessary transactions
|
|
@@ -99,7 +104,16 @@ module Sentry
|
|
|
99
104
|
ActiveSupport.on_load :action_controller do
|
|
100
105
|
include Sentry::Rails::ControllerMethods
|
|
101
106
|
include Sentry::Rails::ControllerTransaction
|
|
102
|
-
|
|
107
|
+
end
|
|
108
|
+
|
|
109
|
+
if SUPPORTS_ACTION_CONTROLLER_LIVE_LOAD_HOOK
|
|
110
|
+
ActiveSupport.on_load :action_controller_live do
|
|
111
|
+
prepend Sentry::Rails::Overrides::StreamingReporter
|
|
112
|
+
end
|
|
113
|
+
else
|
|
114
|
+
ActiveSupport.on_load :action_controller do
|
|
115
|
+
ActionController::Live.send(:prepend, Sentry::Rails::Overrides::StreamingReporter)
|
|
116
|
+
end
|
|
103
117
|
end
|
|
104
118
|
end
|
|
105
119
|
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Sentry
|
|
4
|
+
module Rails
|
|
5
|
+
# Sends Crons check-ins for Solid Queue recurring tasks.
|
|
6
|
+
# Enable with `config.enabled_patches << :solid_queue_recurring`.
|
|
7
|
+
module SolidQueueRecurring
|
|
8
|
+
PAYLOAD_KEY = "_sentry_recurring_task"
|
|
9
|
+
CURRENT_TASK = :sentry_solid_queue_recurring_task
|
|
10
|
+
|
|
11
|
+
module RecurringTask
|
|
12
|
+
def enqueue(at:)
|
|
13
|
+
Thread.current[CURRENT_TASK] = self unless Sentry::Rails::SolidQueueRecurring.excluded?(self)
|
|
14
|
+
super
|
|
15
|
+
ensure
|
|
16
|
+
Thread.current[CURRENT_TASK] = nil
|
|
17
|
+
end
|
|
18
|
+
end
|
|
19
|
+
|
|
20
|
+
module Job
|
|
21
|
+
def serialize
|
|
22
|
+
@_sentry_recurring_task ||= Sentry::Rails::SolidQueueRecurring.monitor_for(Thread.current[CURRENT_TASK], self)
|
|
23
|
+
payload = super
|
|
24
|
+
payload[PAYLOAD_KEY] = @_sentry_recurring_task if @_sentry_recurring_task
|
|
25
|
+
payload
|
|
26
|
+
end
|
|
27
|
+
|
|
28
|
+
def deserialize(job_data)
|
|
29
|
+
super
|
|
30
|
+
@_sentry_recurring_task = job_data[PAYLOAD_KEY]
|
|
31
|
+
end
|
|
32
|
+
end
|
|
33
|
+
|
|
34
|
+
class << self
|
|
35
|
+
def excluded?(task)
|
|
36
|
+
return false unless Sentry.initialized?
|
|
37
|
+
|
|
38
|
+
Array(Sentry.configuration.rails.solid_queue_exclude_recurring_tasks).any? { |pattern| pattern === task.key.to_s }
|
|
39
|
+
rescue StandardError => e
|
|
40
|
+
Sentry.sdk_logger.error(Sentry::LOGGER_PROGNAME) { "Could not check solid_queue_exclude_recurring_tasks for #{task.key}: #{e.class}: #{e.message}" }
|
|
41
|
+
false
|
|
42
|
+
end
|
|
43
|
+
|
|
44
|
+
# Runs in the scheduler, which is where Solid Queue evaluates the schedule.
|
|
45
|
+
def monitor_for(task, job)
|
|
46
|
+
return unless task && Sentry.initialized?
|
|
47
|
+
job_class = task.class_name.present? ? task.class_name.safe_constantize : task.class.default_job_class
|
|
48
|
+
return unless job.instance_of?(job_class)
|
|
49
|
+
return if job_class < Sentry::Cron::MonitorCheckIns::Patch
|
|
50
|
+
|
|
51
|
+
slug = Sentry::Cron::Slug.from(task.key)
|
|
52
|
+
return unless slug
|
|
53
|
+
|
|
54
|
+
config = Sentry::Cron::FugitSchedule.from_cron(cron_for(task))
|
|
55
|
+
{ "slug" => slug, "crontab" => config&.schedule&.value, "timezone" => config&.timezone }.compact
|
|
56
|
+
rescue StandardError => e
|
|
57
|
+
Sentry.sdk_logger.error(Sentry::LOGGER_PROGNAME) { "Not monitoring Solid Queue recurring task #{task.key}: #{e.class}: #{e.message}" }
|
|
58
|
+
nil
|
|
59
|
+
end
|
|
60
|
+
|
|
61
|
+
def perform(job)
|
|
62
|
+
data = job.instance_variable_get(:@_sentry_recurring_task)
|
|
63
|
+
return yield unless data && Sentry.initialized?
|
|
64
|
+
|
|
65
|
+
slug = data["slug"]
|
|
66
|
+
if data["crontab"]
|
|
67
|
+
cron_config = Sentry.configuration.cron
|
|
68
|
+
monitor_config = Sentry::Cron::MonitorConfig.from_crontab(
|
|
69
|
+
data["crontab"],
|
|
70
|
+
timezone: data["timezone"],
|
|
71
|
+
checkin_margin: cron_config.default_checkin_margin,
|
|
72
|
+
max_runtime: cron_config.default_max_runtime
|
|
73
|
+
)
|
|
74
|
+
end
|
|
75
|
+
|
|
76
|
+
Sentry::Cron::MonitorCheckIns.with_check_in(slug, monitor_config: monitor_config) { yield }
|
|
77
|
+
end
|
|
78
|
+
|
|
79
|
+
def patch
|
|
80
|
+
return if @patched
|
|
81
|
+
|
|
82
|
+
@patched = true
|
|
83
|
+
ActiveSupport.on_load(:active_job) do
|
|
84
|
+
prepend Sentry::Rails::SolidQueueRecurring::Job
|
|
85
|
+
around_perform { |job, block| Sentry::Rails::SolidQueueRecurring.perform(job, &block) }
|
|
86
|
+
end
|
|
87
|
+
|
|
88
|
+
apply = proc do
|
|
89
|
+
if defined?(::SolidQueue::RecurringTask) && !(::SolidQueue::RecurringTask < Sentry::Rails::SolidQueueRecurring::RecurringTask)
|
|
90
|
+
::SolidQueue::RecurringTask.prepend(Sentry::Rails::SolidQueueRecurring::RecurringTask)
|
|
91
|
+
end
|
|
92
|
+
end
|
|
93
|
+
::Rails.application.reloader.to_prepare(&apply)
|
|
94
|
+
apply.call if ::Rails.application.initialized?
|
|
95
|
+
end
|
|
96
|
+
|
|
97
|
+
private
|
|
98
|
+
|
|
99
|
+
# Mirrors RecurringTask, which applies SolidQueue.time_zone to zoneless schedules.
|
|
100
|
+
def cron_for(task)
|
|
101
|
+
cron = ::Fugit.parse(task.schedule)
|
|
102
|
+
zone = ::SolidQueue.time_zone if ::SolidQueue.respond_to?(:time_zone)
|
|
103
|
+
return cron unless cron.is_a?(::Fugit::Cron) && cron.zone.nil? && zone.present?
|
|
104
|
+
|
|
105
|
+
::Fugit.parse("#{cron.to_cron_s} #{zone}")
|
|
106
|
+
end
|
|
107
|
+
end
|
|
108
|
+
end
|
|
109
|
+
end
|
|
110
|
+
end
|
|
111
|
+
|
|
112
|
+
Sentry.register_patch(:solid_queue_recurring) do |config|
|
|
113
|
+
if defined?(::SolidQueue) && defined?(::Rails.application) && ::Rails.application
|
|
114
|
+
Sentry::Rails::SolidQueueRecurring.patch
|
|
115
|
+
else
|
|
116
|
+
config.sdk_logger.warn(Sentry::LOGGER_PROGNAME) { "You tried to enable the Solid Queue recurring task integration but the `solid_queue` gem was not detected." }
|
|
117
|
+
end
|
|
118
|
+
end
|
data/lib/sentry/rails/version.rb
CHANGED
data/lib/sentry/rails.rb
CHANGED
data/sentry-rails.gemspec
CHANGED
|
@@ -31,7 +31,7 @@ Gem::Specification.new do |spec|
|
|
|
31
31
|
spec.require_paths = ["lib"]
|
|
32
32
|
|
|
33
33
|
spec.add_dependency "railties", ">= 5.2.0"
|
|
34
|
-
spec.add_dependency "sentry-ruby", "~> 7.
|
|
34
|
+
spec.add_dependency "sentry-ruby", "~> 7.2.0"
|
|
35
35
|
|
|
36
36
|
spec.post_install_message = <<~MSG
|
|
37
37
|
Starting with sentry-rails 7.1.0, Rails structured logging is disabled by default.
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: sentry-rails
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 7.
|
|
4
|
+
version: 7.2.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Sentry Team
|
|
@@ -29,14 +29,14 @@ dependencies:
|
|
|
29
29
|
requirements:
|
|
30
30
|
- - "~>"
|
|
31
31
|
- !ruby/object:Gem::Version
|
|
32
|
-
version: 7.
|
|
32
|
+
version: 7.2.0
|
|
33
33
|
type: :runtime
|
|
34
34
|
prerelease: false
|
|
35
35
|
version_requirements: !ruby/object:Gem::Requirement
|
|
36
36
|
requirements:
|
|
37
37
|
- - "~>"
|
|
38
38
|
- !ruby/object:Gem::Version
|
|
39
|
-
version: 7.
|
|
39
|
+
version: 7.2.0
|
|
40
40
|
description: A gem that provides Rails integration for the Sentry error logger
|
|
41
41
|
email: accounts@sentry.io
|
|
42
42
|
executables: []
|
|
@@ -116,6 +116,7 @@ files:
|
|
|
116
116
|
- lib/sentry/rails/railtie.rb
|
|
117
117
|
- lib/sentry/rails/rescued_exception_interceptor.rb
|
|
118
118
|
- lib/sentry/rails/serializer.rb
|
|
119
|
+
- lib/sentry/rails/solid_queue_recurring.rb
|
|
119
120
|
- lib/sentry/rails/structured_logging.rb
|
|
120
121
|
- lib/sentry/rails/tracing.rb
|
|
121
122
|
- lib/sentry/rails/tracing/abstract_subscriber.rb
|
|
@@ -125,15 +126,15 @@ files:
|
|
|
125
126
|
- lib/sentry/rails/tracing/active_support_subscriber.rb
|
|
126
127
|
- lib/sentry/rails/version.rb
|
|
127
128
|
- sentry-rails.gemspec
|
|
128
|
-
homepage: https://github.com/getsentry/sentry-ruby/tree/7.
|
|
129
|
+
homepage: https://github.com/getsentry/sentry-ruby/tree/7.2.0/sentry-rails
|
|
129
130
|
licenses:
|
|
130
131
|
- MIT
|
|
131
132
|
metadata:
|
|
132
|
-
homepage_uri: https://github.com/getsentry/sentry-ruby/tree/7.
|
|
133
|
-
source_code_uri: https://github.com/getsentry/sentry-ruby/tree/7.
|
|
134
|
-
changelog_uri: https://github.com/getsentry/sentry-ruby/blob/7.
|
|
133
|
+
homepage_uri: https://github.com/getsentry/sentry-ruby/tree/7.2.0/sentry-rails
|
|
134
|
+
source_code_uri: https://github.com/getsentry/sentry-ruby/tree/7.2.0/sentry-rails
|
|
135
|
+
changelog_uri: https://github.com/getsentry/sentry-ruby/blob/7.2.0/CHANGELOG.md
|
|
135
136
|
bug_tracker_uri: https://github.com/getsentry/sentry-ruby/issues
|
|
136
|
-
documentation_uri: http://www.rubydoc.info/gems/sentry-rails/7.
|
|
137
|
+
documentation_uri: http://www.rubydoc.info/gems/sentry-rails/7.2.0
|
|
137
138
|
post_install_message: |
|
|
138
139
|
Starting with sentry-rails 7.1.0, Rails structured logging is disabled by default.
|
|
139
140
|
Set `config.rails.structured_logging.enabled = true` to enable it.
|