sentry-ruby-core 5.15.1 → 5.15.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: 493a72c8231526784938c0903f33e4fa02159e5ecc9c740e0db1a3444547ca75
4
- data.tar.gz: 856d0936cb2ad123b3ca632e63cb8cf951e13f90755386dcb67b3cc63760ee69
3
+ metadata.gz: 436c8b034eb6e43db4923108f568478c0ebccfcf33ad3b26b77f3849cf7fef5b
4
+ data.tar.gz: 123678c45d2fe455db04c058c33a7f87c515c76d90dba6dfe7e44e558c8ecb6e
5
5
  SHA512:
6
- metadata.gz: 99cd2008b2d0a8b32d577d20333ca579e1a23581ca4aa8fab3907288e664a528c5e2a666449f9539f6b2be50093ba1f434c35d0250ac1149bbcd2a724151ae06
7
- data.tar.gz: 7fd7cadec651b7464409154ed26eb41852bb2cfbf89bb3f57cecc102058a9b8498bf9f29670ebcd6c25048a1a353878adaadc8a8c1b816baf5b08baf0c380e54
6
+ metadata.gz: 92ae7efe7836d68e832a5c26694a1c1b9c6b77439a5dfa6209ba930d0ef4f34acd222a72db66810b55fe39915c8437eecacc4790e10b642305a373dfde19f23e
7
+ data.tar.gz: 11b205d8ba4f3649ee42b66af1510a62673fa791d5ff28aa687c68ad94b17ed3e54c9c57536a07d3cf6d4a5ee5504e5bf9871ec00bb0dba457b661850b0f09b7
data/lib/sentry/client.rb CHANGED
@@ -48,7 +48,7 @@ module Sentry
48
48
  def capture_event(event, scope, hint = {})
49
49
  return unless configuration.sending_allowed?
50
50
 
51
- unless event.is_a?(TransactionEvent) || configuration.sample_allowed?
51
+ if event.is_a?(ErrorEvent) && !configuration.sample_allowed?
52
52
  transport.record_lost_event(:sample_rate, 'event')
53
53
  return
54
54
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Sentry
4
- VERSION = "5.15.1"
4
+ VERSION = "5.15.2"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sentry-ruby-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.15.1
4
+ version: 5.15.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sentry Team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-12-14 00:00:00.000000000 Z
11
+ date: 2023-12-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sentry-ruby
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 5.15.1
19
+ version: 5.15.2
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: 5.15.1
26
+ version: 5.15.2
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: concurrent-ruby
29
29
  requirement: !ruby/object:Gem::Requirement