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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f2948b15c64519057adfdac9e871d8cc43b1bd460a24d20d663bc94328aced2a
4
- data.tar.gz: 4e1313e0b4b5ee7be191a7dde122b704f10fe868130552f54fd5f988f408b7a4
3
+ metadata.gz: 6e696fca3ba897a15e85cc2f0e8ff88307e836201e479d760b950cc80bf61a02
4
+ data.tar.gz: 60378500857b556630ad155ff95e148e0be0aeb28c8c8c1d62c3b4bb01e9b63b
5
5
  SHA512:
6
- metadata.gz: 3feff4005efedb10b5adeac293b082aa11cde83eb07703202be32a2ba90283c0577f9ae20198e58fb4d594293c870b0e43ec465734f4e455949e1db13454dc6d
7
- data.tar.gz: 42321b1c07e3c82851850df9f277920da6ce816da933afbda3ce049db40394abcdef1309ffaa73d703a40e6063ea40e301206c85c63d4f6728b03d7c341b8e98
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 `.*_\w+_{2,3}\d+_\d+'/
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
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Sentry
4
4
  module Rails
5
- VERSION = "5.22.1"
5
+ VERSION = "5.22.2"
6
6
  end
7
7
  end
data/sentry-rails.gemspec CHANGED
@@ -31,5 +31,5 @@ Gem::Specification.new do |spec|
31
31
  spec.require_paths = ["lib"]
32
32
 
33
33
  spec.add_dependency "railties", ">= 5.0"
34
- spec.add_dependency "sentry-ruby", "~> 5.22.1"
34
+ spec.add_dependency "sentry-ruby", "~> 5.22.2"
35
35
  end
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.1
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: 2024-12-16 00:00:00.000000000 Z
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.1
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.1
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.1/sentry-rails
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.1/sentry-rails
93
- source_code_uri: https://github.com/getsentry/sentry-ruby/tree/5.22.1/sentry-rails
94
- changelog_uri: https://github.com/getsentry/sentry-ruby/blob/5.22.1/CHANGELOG.md
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.1
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.5.22
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: []