upfluence-utils 0.12.12 → 0.12.14

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5ddcbd6854f88cf5645e0295a48ac21f9aec1da81d71cf20d49214c61d57f8d9
4
- data.tar.gz: 43907a8dc7d24c0609d914f46c8954dd67b6af664f474f26038ae5551eac6f65
3
+ metadata.gz: 9246a4383f82eb0561626ae3828a9335b1ad1950c565357366a1627bdcab9e0e
4
+ data.tar.gz: dc48034a0c08790d3b49d3ab90c9628949ea7655ceefef957396e42e99619baf
5
5
  SHA512:
6
- metadata.gz: 4a54773f0b7123115b0139bb417972df0b47347e10b03bfa9299adfe6e9921166510328776863ea5850ad6f36a9102c84a58c55a3e23fe6ad758c169ce9066f8
7
- data.tar.gz: 85b2ac6104fb0e8eeda611b6e7cc2027f24214e49e726e083b0ba111a237e8daade7ef18f40f256a03300cd21b80445989d674f5c8ca3ae9dfa5789b152b2447
6
+ metadata.gz: 1a10b267a27bff89fc841af1c6ad14587e7695437c8e493d28e3cf9be00b2bd358f01917d2bfc9ef6fd0bd2692816a43774945a4427dc2c5b91160112d53982d
7
+ data.tar.gz: a4708a2c07edad5142175ccc96c94ec3dafd62eba6596648fccba8153e6f5ac5ac4fc2af6078daf8bb344771d4da66f3696f1e5cd144f94db68a57f42caacf89
@@ -93,7 +93,9 @@ module Upfluence
93
93
  class RackMiddleware < ::Sentry::Rack::CaptureExceptions
94
94
  def capture_exception(exception, env)
95
95
  if env.key? 'sinatra.error'
96
- return if Sinatra::Base.errors.keys.any? { |klass| exception.is_a?(klass) }
96
+ return if Sinatra::Base.errors.keys.any? do |klass|
97
+ klass.is_a?(Class) && !klass.eql?(Exception) && exception.is_a?(klass)
98
+ end
97
99
  end
98
100
 
99
101
  super(exception, env)
@@ -1,5 +1,5 @@
1
1
  module Upfluence
2
2
  module Utils
3
- VERSION = '0.12.12'.freeze
3
+ VERSION = '0.12.14'.freeze
4
4
  end
5
5
  end
@@ -34,4 +34,5 @@ Gem::Specification.new do |spec|
34
34
  spec.add_runtime_dependency 'activerecord'
35
35
  spec.add_runtime_dependency 'loofah'
36
36
  spec.add_runtime_dependency 'rack-timeout'
37
+ spec.add_runtime_dependency 'mutex_m'
37
38
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: upfluence-utils
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.12
4
+ version: 0.12.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Upfluence
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-03-21 00:00:00.000000000 Z
11
+ date: 2025-03-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -248,6 +248,20 @@ dependencies:
248
248
  - - ">="
249
249
  - !ruby/object:Gem::Version
250
250
  version: '0'
251
+ - !ruby/object:Gem::Dependency
252
+ name: mutex_m
253
+ requirement: !ruby/object:Gem::Requirement
254
+ requirements:
255
+ - - ">="
256
+ - !ruby/object:Gem::Version
257
+ version: '0'
258
+ type: :runtime
259
+ prerelease: false
260
+ version_requirements: !ruby/object:Gem::Requirement
261
+ requirements:
262
+ - - ">="
263
+ - !ruby/object:Gem::Version
264
+ version: '0'
251
265
  description:
252
266
  email:
253
267
  - dev@upfluence.com