sentry-rails 5.22.1 → 5.22.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -1
- data/lib/sentry/rails/backtrace_cleaner.rb +1 -1
- data/lib/sentry/rails/tracing/active_record_subscriber.rb +1 -0
- data/lib/sentry/rails/version.rb +1 -1
- data/sentry-rails.gemspec +1 -1
- metadata +10 -13
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6e696fca3ba897a15e85cc2f0e8ff88307e836201e479d760b950cc80bf61a02
|
4
|
+
data.tar.gz: 60378500857b556630ad155ff95e148e0be0aeb28c8c8c1d62c3b4bb01e9b63b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c23c0f490be9c98690d9023c11048563bc5c16d7aa89f19bcc83c282196120ea22e06da0ddc064048d3d10654814ed31c90a1286563ee986dbd16f3d783c2036
|
7
|
+
data.tar.gz: f7f8850f7157adc963c63887d677243f9ba26e47b38c0db809078887289c6f0b6a3c47658b7d9fc5cada0b341fe4da78b61b2a69f9d23927ff927a8cd546cc25
|
data/Gemfile
CHANGED
@@ -22,7 +22,7 @@ gem "rails", "~> #{rails_version}"
|
|
22
22
|
|
23
23
|
if rails_version >= Gem::Version.new("8.0.0")
|
24
24
|
gem "rspec-rails"
|
25
|
-
gem "sqlite3", platform: :ruby
|
25
|
+
gem "sqlite3", "~> 2.1.1", platform: :ruby
|
26
26
|
elsif rails_version >= Gem::Version.new("7.1.0")
|
27
27
|
gem "rspec-rails"
|
28
28
|
gem "sqlite3", "~> 1.7.3", platform: :ruby
|
@@ -7,7 +7,7 @@ module Sentry
|
|
7
7
|
module Rails
|
8
8
|
class BacktraceCleaner < ActiveSupport::BacktraceCleaner
|
9
9
|
APP_DIRS_PATTERN = /\A(?:\.\/)?(?:app|config|lib|test|\(\w*\))/
|
10
|
-
RENDER_TEMPLATE_PATTERN = /:in
|
10
|
+
RENDER_TEMPLATE_PATTERN = /:in (?:`|').*_\w+_{2,3}\d+_\d+'/
|
11
11
|
|
12
12
|
def initialize
|
13
13
|
super
|
@@ -71,6 +71,7 @@ module Sentry
|
|
71
71
|
|
72
72
|
if source_location
|
73
73
|
backtrace_line = Sentry::Backtrace::Line.parse(source_location)
|
74
|
+
|
74
75
|
span.set_data(Span::DataConventions::FILEPATH, backtrace_line.file) if backtrace_line.file
|
75
76
|
span.set_data(Span::DataConventions::LINENO, backtrace_line.number) if backtrace_line.number
|
76
77
|
span.set_data(Span::DataConventions::FUNCTION, backtrace_line.method) if backtrace_line.method
|
data/lib/sentry/rails/version.rb
CHANGED
data/sentry-rails.gemspec
CHANGED
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sentry-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.22.
|
4
|
+
version: 5.22.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sentry Team
|
8
|
-
autorequire:
|
9
8
|
bindir: exe
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 2025-01-24 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: railties
|
@@ -30,14 +29,14 @@ dependencies:
|
|
30
29
|
requirements:
|
31
30
|
- - "~>"
|
32
31
|
- !ruby/object:Gem::Version
|
33
|
-
version: 5.22.
|
32
|
+
version: 5.22.2
|
34
33
|
type: :runtime
|
35
34
|
prerelease: false
|
36
35
|
version_requirements: !ruby/object:Gem::Requirement
|
37
36
|
requirements:
|
38
37
|
- - "~>"
|
39
38
|
- !ruby/object:Gem::Version
|
40
|
-
version: 5.22.
|
39
|
+
version: 5.22.2
|
41
40
|
description: A gem that provides Rails integration for the Sentry error logger
|
42
41
|
email: accounts@sentry.io
|
43
42
|
executables: []
|
@@ -85,16 +84,15 @@ files:
|
|
85
84
|
- lib/sentry/rails/tracing/active_support_subscriber.rb
|
86
85
|
- lib/sentry/rails/version.rb
|
87
86
|
- sentry-rails.gemspec
|
88
|
-
homepage: https://github.com/getsentry/sentry-ruby/tree/5.22.
|
87
|
+
homepage: https://github.com/getsentry/sentry-ruby/tree/5.22.2/sentry-rails
|
89
88
|
licenses:
|
90
89
|
- MIT
|
91
90
|
metadata:
|
92
|
-
homepage_uri: https://github.com/getsentry/sentry-ruby/tree/5.22.
|
93
|
-
source_code_uri: https://github.com/getsentry/sentry-ruby/tree/5.22.
|
94
|
-
changelog_uri: https://github.com/getsentry/sentry-ruby/blob/5.22.
|
91
|
+
homepage_uri: https://github.com/getsentry/sentry-ruby/tree/5.22.2/sentry-rails
|
92
|
+
source_code_uri: https://github.com/getsentry/sentry-ruby/tree/5.22.2/sentry-rails
|
93
|
+
changelog_uri: https://github.com/getsentry/sentry-ruby/blob/5.22.2/CHANGELOG.md
|
95
94
|
bug_tracker_uri: https://github.com/getsentry/sentry-ruby/issues
|
96
|
-
documentation_uri: http://www.rubydoc.info/gems/sentry-rails/5.22.
|
97
|
-
post_install_message:
|
95
|
+
documentation_uri: http://www.rubydoc.info/gems/sentry-rails/5.22.2
|
98
96
|
rdoc_options: []
|
99
97
|
require_paths:
|
100
98
|
- lib
|
@@ -109,8 +107,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
109
107
|
- !ruby/object:Gem::Version
|
110
108
|
version: '0'
|
111
109
|
requirements: []
|
112
|
-
rubygems_version: 3.
|
113
|
-
signing_key:
|
110
|
+
rubygems_version: 3.6.2
|
114
111
|
specification_version: 4
|
115
112
|
summary: A gem that provides Rails integration for the Sentry error logger
|
116
113
|
test_files: []
|