sentry-rails 5.14.0 → 5.16.1

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: 8a6aa240a1333c8d01ce8db9c622057faec2e4879b39b9a209a9156e4e5eb37a
4
- data.tar.gz: bb73a1d4d80a2438a497907e7c7fb32bc321f35b232be1324767febb1c4885f9
3
+ metadata.gz: 7ee07f40f442adc566067614916895a02d753d2a44c518a78d78528c6d967e1e
4
+ data.tar.gz: 71004c34b4c2798d8022a3d11dbda9daf19f9f9a39a9d4b9a8bdac0332a0b39f
5
5
  SHA512:
6
- metadata.gz: e64aeb3142b11c51aabe1f7fa75f0a89e8b3e908e38b34be43704dba2f3288eb132fd0860f944e218a393b9cc6b1cb10c0ec63af4d1224f5030075ba9b749855
7
- data.tar.gz: dfb5c2f71936de177e980b1bb6adb53de739a8cc19f1ae0d6c2dcba2463c703d6c86ecdeb89781c9df448c86a47b25e74c38e01cc91fc0e4cedbeba57fa95ebd
6
+ metadata.gz: 172c3ca6639f55e608db51ef7efb1837791b5bc8836273fed287b58f32a1b88377b50488e70e94134a4c3b9d230731fba03b7a2523cfde975dd6685c7a136d73
7
+ data.tar.gz: 3a8010027974f00f4c708e8b0356233c3ccddb7eb525df660b9d9aefbcc535870118dbf727b1658b1271bc5afddc9a93b13a4ce0c496fc22ba9c8db18c84d630
data/Gemfile CHANGED
@@ -17,7 +17,8 @@ rails_version = Gem::Version.new(rails_version)
17
17
  if rails_version < Gem::Version.new("6.0.0")
18
18
  gem "sqlite3", "~> 1.3.0", platform: :ruby
19
19
  else
20
- gem "sqlite3", platform: :ruby
20
+ # 1.7.0 dropped support for ruby < 3.0, remove later after upgrading craft setup
21
+ gem "sqlite3", "1.6.9", platform: :ruby
21
22
  end
22
23
 
23
24
  if rails_version >= Gem::Version.new("7.2.0.alpha")
@@ -35,12 +36,7 @@ gem "sprockets-rails"
35
36
 
36
37
  gem "sidekiq"
37
38
 
38
- gem "rspec", "~> 3.0"
39
- gem "rspec-retry"
40
39
  gem "rspec-rails", "~> 4.0"
41
- gem 'simplecov'
42
- gem "simplecov-cobertura", "~> 1.4"
43
- gem "rexml"
44
40
 
45
41
  ruby_version = Gem::Version.new(RUBY_VERSION)
46
42
 
@@ -50,20 +46,9 @@ if ruby_version < Gem::Version.new("2.5.0")
50
46
  gem "loofah", "2.20.0"
51
47
  end
52
48
 
53
- if ruby_version >= Gem::Version.new("2.6.0")
54
- gem "debug", github: "ruby/debug", platform: :ruby
55
- gem "irb"
56
-
57
- if ruby_version >= Gem::Version.new("3.0.0")
58
- gem "ruby-lsp-rspec"
59
- end
60
- end
61
-
62
- gem "rake", "~> 12.0"
63
-
64
- gem "pry"
65
-
66
49
  gem "benchmark-ips"
67
50
  gem "benchmark_driver"
68
51
  gem "benchmark-ipsa"
69
52
  gem "benchmark-memory"
53
+
54
+ eval_gemfile File.expand_path("../Gemfile", __dir__)
@@ -40,6 +40,7 @@ module Sentry
40
40
 
41
41
  configure_project_root
42
42
  configure_trusted_proxies
43
+ configure_cron_timezone
43
44
  extend_controller_methods if defined?(ActionController)
44
45
  patch_background_worker if defined?(ActiveRecord)
45
46
  override_streaming_reporter if defined?(ActionView)
@@ -70,6 +71,11 @@ module Sentry
70
71
  Sentry.configuration.trusted_proxies += Array(::Rails.application.config.action_dispatch.trusted_proxies)
71
72
  end
72
73
 
74
+ def configure_cron_timezone
75
+ tz_info = ::ActiveSupport::TimeZone.find_tzinfo(::Rails.application.config.time_zone)
76
+ Sentry.configuration.cron.default_timezone = tz_info.name
77
+ end
78
+
73
79
  def extend_controller_methods
74
80
  require "sentry/rails/controller_methods"
75
81
  require "sentry/rails/controller_transaction"
@@ -1,5 +1,5 @@
1
1
  module Sentry
2
2
  module Rails
3
- VERSION = "5.14.0"
3
+ VERSION = "5.16.1"
4
4
  end
5
5
  end
data/sentry-rails.gemspec CHANGED
@@ -23,5 +23,5 @@ Gem::Specification.new do |spec|
23
23
  spec.require_paths = ["lib"]
24
24
 
25
25
  spec.add_dependency "railties", ">= 5.0"
26
- spec.add_dependency "sentry-ruby", "~> 5.14.0"
26
+ spec.add_dependency "sentry-ruby", "~> 5.16.1"
27
27
  end
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.14.0
4
+ version: 5.16.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sentry Team
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-11-27 00:00:00.000000000 Z
11
+ date: 2024-01-09 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.14.0
33
+ version: 5.16.1
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.14.0
40
+ version: 5.16.1
41
41
  description: A gem that provides Rails integration for the Sentry error logger
42
42
  email: accounts@sentry.io
43
43
  executables: []