sentry-rails 5.17.1 → 5.17.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/sentry/rails/tracing/active_record_subscriber.rb +1 -2
- data/lib/sentry/rails/version.rb +1 -1
- data/sentry-rails.gemspec +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2e492295055915f03b73b10b5869ce3d8807e184dc4d16bce9742c07dfb372e9
|
4
|
+
data.tar.gz: 5cf8b66973c52faf55b4aac1a49491939e10af98f97b5a6dc5b8927de5e6cf2b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ebe7dcf763a8e0d4ddd1621b681968196b45dc30502d5a054065786e6e84610f27b400b04c575df99a68282f89568d1ad99dbc149cac8e01e2183d3e56da3de1
|
7
|
+
data.tar.gz: a8b6a18a5bfaf3832252113f1c48667a8e61e573eb0e28d54225ac7b1f4fa8e9fa7e392032d448272bb743e9d58fbc21bed391eba636e9b507f95d4b2a72bf45
|
@@ -21,8 +21,7 @@ module Sentry
|
|
21
21
|
span.set_data(:connection_id, payload[:connection_id])
|
22
22
|
|
23
23
|
# we fallback to the base connection on rails < 6.0.0 since the payload doesn't have it
|
24
|
-
|
25
|
-
connection ||= base_connection if payload[:connection_id] == base_connection.object_id
|
24
|
+
connection ||= ActiveRecord::Base.connection_pool.connections.find { |conn| conn.object_id == payload[:connection_id] }
|
26
25
|
end
|
27
26
|
|
28
27
|
next unless connection
|
data/lib/sentry/rails/version.rb
CHANGED
data/sentry-rails.gemspec
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: 5.17.
|
4
|
+
version: 5.17.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: 2024-03
|
11
|
+
date: 2024-04-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: railties
|
@@ -30,14 +30,14 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 5.17.
|
33
|
+
version: 5.17.2
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 5.17.
|
40
|
+
version: 5.17.2
|
41
41
|
description: A gem that provides Rails integration for the Sentry error logger
|
42
42
|
email: accounts@sentry.io
|
43
43
|
executables: []
|