sentry-rails 4.3.1 → 4.3.2
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/CHANGELOG.md +7 -0
- data/app/jobs/sentry/send_event_job.rb +5 -0
- data/lib/sentry/rails/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 71d4bb2da0b6b6702dd19f4af1587d708d1cd74dabff09bb1419544851de273b
|
|
4
|
+
data.tar.gz: 306860e508e67cd7ba564dac54111c9bfac796ff6e7a96092cdba22e03c4336b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5ef3910fbe7c2ab373e0642949d7d82babb83e0569cdd7481e423346fa89b26b26426d9175137e0293be99152c27489978ac4c02d29539de5ef0e386f4b31bcc
|
|
7
|
+
data.tar.gz: b36840b16c8c46ddc1e8d5036135a250f5d2f391cbc94916b85dda206fd17b68194192625d0c4a89e86ae0ef8e5ba8288083e897eb533bfa8c7f5303650de04b
|
data/CHANGELOG.md
CHANGED
|
@@ -1,9 +1,16 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 4.3.2
|
|
4
|
+
|
|
5
|
+
- Avoid recording SendEventJob's transaction [#1351](https://github.com/getsentry/sentry-ruby/pull/1351)
|
|
6
|
+
- Fixes [#1348](https://github.com/getsentry/sentry-ruby/issues/1348)
|
|
7
|
+
|
|
3
8
|
## 4.3.1
|
|
4
9
|
|
|
5
10
|
- Only apply background worker patch if ActiveRecord is loaded [#1350](https://github.com/getsentry/sentry-ruby/pull/1350)
|
|
6
11
|
- Fixes [#1342](https://github.com/getsentry/sentry-ruby/issues/1342) and [#1346](https://github.com/getsentry/sentry-ruby/issues/1346)
|
|
12
|
+
- Avoid recording SendEventJob's transaction [#1351](https://github.com/getsentry/sentry-ruby/pull/1351)
|
|
13
|
+
- Fixes [#1348](https://github.com/getsentry/sentry-ruby/issues/1348)
|
|
7
14
|
|
|
8
15
|
## 4.3.0
|
|
9
16
|
|
|
@@ -22,6 +22,11 @@ if defined?(ActiveJob)
|
|
|
22
22
|
end
|
|
23
23
|
|
|
24
24
|
def perform(event, hint = {})
|
|
25
|
+
# users don't need the tracing result of this job
|
|
26
|
+
if transaction = Sentry.get_current_scope.span
|
|
27
|
+
transaction.instance_variable_set(:@sampled, false)
|
|
28
|
+
end
|
|
29
|
+
|
|
25
30
|
Sentry.send_event(event, hint)
|
|
26
31
|
end
|
|
27
32
|
end
|
data/lib/sentry/rails/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: sentry-rails
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 4.3.
|
|
4
|
+
version: 4.3.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Sentry Team
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2021-03-
|
|
11
|
+
date: 2021-03-22 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|