sentry-ruby 5.4.1 → 5.4.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: a63e249dfaf6fb45c9a4cfb897b604e96cb751b12920aa7371c8f503754001fd
4
- data.tar.gz: b27555038074ec03421cc287dbecf2fa7e85642c4bffaa71bb770232dc6eb4d1
3
+ metadata.gz: 310e7ac901b3da90fb400710f95be183627b1e35587f059810669469deb27763
4
+ data.tar.gz: 75cff84d0f7238ac444b5f6ce0a67f0150daefa38d9bac9e2b083a6f98ecff6e
5
5
  SHA512:
6
- metadata.gz: 3dd63a8eeadb199013c7c2387819e185f58751d733cf6c36f4a95d1653e85bca20b62b75ccea24f8c624eaffc3f4a5c1d2889352e6e4b80744ecc2974981a9bd
7
- data.tar.gz: ef0594cbf709b46819b970debebec8f2a5be3f49aa483ea15963640af3ab84ea9c180ffbf6138675d8354d840106fca5e4e178d1f40e13e22b5ff57b60402e83
6
+ metadata.gz: 76251bc9b7499bc40b30c1e20c3b638a3cc5bf0a3c5df9f5210fa2b2293a3ee7e6c8c7a1d3073b1055c8788855531c36ece0517ea38e203367c0c8bf6842e130
7
+ data.tar.gz: cc3b7a551b8d8c798c5843b895710244857bcf110e57cc4dd1de345e7fe6e09201bf3adf3e4645d9101df201cab8ce4cda0b547b88d137ef1faab8e7a6f1693f
@@ -22,7 +22,7 @@ module Sentry
22
22
  def add_breadcrumb(severity, message = nil, progname = nil)
23
23
  # because the breadcrumbs now belongs to different Hub's Scope in different threads
24
24
  # we need to make sure the current thread's Hub has been set before adding breadcrumbs
25
- return unless Sentry.get_current_hub
25
+ return unless Sentry.initialized? && Sentry.get_current_hub
26
26
 
27
27
  category = "logger"
28
28
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Sentry
4
- VERSION = "5.4.1"
4
+ VERSION = "5.4.2"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sentry-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.4.1
4
+ version: 5.4.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: 2022-07-26 00:00:00.000000000 Z
11
+ date: 2022-08-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: concurrent-ruby