raygun-apm-sidekiq 1.0.2 → 1.0.3

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: af30f0eb1dcdac88891a8d6a68093a8275b25e01be4dd64706a75f772fa5fa46
4
- data.tar.gz: 242d6c907a69718a33930f7551c9175558df8c179ce006fa26a6aa2aaca55a74
3
+ metadata.gz: f808eac26f114c7413ec2b473ffb3db42cccc72b4643213d56964059028894b9
4
+ data.tar.gz: 5e49226c8cd4478ce43d571bb97fc2a8fb0247d194a18fbae12401954ec8b83c
5
5
  SHA512:
6
- metadata.gz: 16e440bda991367fb6efe4c6deef06febbdd47f73af85558576e52da7bc36709ca07d3e5be856ff4598dd4463bc88b229ab16c399e8d7b0fbdcf1a2c7d70f159
7
- data.tar.gz: be5e486505b3c0d2771ffa124468257fcdf6ec1ca24bc051b56c6f2bf9a6f1d729fe6bd9581ecf86f7016df27c927f025219bc6d78a7abc54b1fa3feefbc2528
6
+ metadata.gz: a502c487ba837666a46f70462b2ec5585b40ac53a581ec055e53813f4ce21231bf6452082dfe71d0bd16b8bc1db4311bdc0ab740f3f9867566dfcad3178b069d
7
+ data.tar.gz: 198e763f627efa1a1a4989270cab907c85b090800497fe3148c1460e510cd5b14e56add1dc41fd4b81c1f7d8337c6f6a41b7a4f168a7718e33c3df99c0cd8dec
@@ -52,7 +52,7 @@ module Raygun
52
52
  # Let the GC clean up the sink thread through the finalizer below
53
53
  @tracer = nil
54
54
  Thread.current.thread_variable_set(:_raygun_apm_tracer, nil)
55
- unless (Raygun::Apm::FatalError === exception) raise(exception)
55
+ raise(exception) unless (Raygun::Apm::FatalError === exception)
56
56
  end
57
57
 
58
58
  def fake_http_in_handler(started, worker_instance, msg, queue, exception)
@@ -64,7 +64,7 @@ module Raygun
64
64
  event[:timestamp] = @tracer.now
65
65
  event[:tid] = @tracer.get_thread_id(Thread.current)
66
66
  @tracer.emit(event)
67
- if (exception) raise(exception)
67
+ raise(exception) if exception
68
68
  rescue => e
69
69
  warn "[Raygun APM] error reporting HTTP IN event"
70
70
  raygun_shutdown_handler(e)
@@ -1,7 +1,7 @@
1
1
  module Raygun
2
2
  module Apm
3
3
  module Sidekiq
4
- VERSION = "1.0.2"
4
+ VERSION = "1.0.3"
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: raygun-apm-sidekiq
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Erkki Eilonen