sidekiq_metered_exceptions 0.2.0 → 0.2.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
  SHA1:
3
- metadata.gz: 79b03042f7659b991d71c1fb5a5d5fe2f200fbd7
4
- data.tar.gz: 0b71c4a04f953025c6bd7f271dd4d7e683323d21
3
+ metadata.gz: 5559035e512931e92f57dc4f549b8745dcfc2fe4
4
+ data.tar.gz: deb9de3d744473dadb9ff1faf2657400ea041cdd
5
5
  SHA512:
6
- metadata.gz: dc885bc0c0ea35ccce8c3062f0d6628f8dbb965f366e44d92592ce11c67b7bd97dee60b65cdf2d0e799320c4a134f98bb15ecbeb3bc51432ef97bf70da65dedb
7
- data.tar.gz: 4253bab7736d40e71d42fd1a2e1584e5a2f904f83eb2891b72d354ba5d1e7dcb0c625cbd1e2f4d187578c1efd9ab6ffad4368630aa3632d231cf7d4be9f7baa7
6
+ metadata.gz: 3c2a22180c1be3f17c813a15c083e6ae017f3ea087715da959e978964ff704244c1b1275c80f2b2aa3c0830450f2d033530623f91efb2134b97b5b191973fb65
7
+ data.tar.gz: bbfb6c1aed680e9ca810ffafdda4ef8afdbaf52cd988478bab9a9dea2d0a18237717e0026c71513a4e435aad62f1d998f939e5fd919e101c013b507ac16804bd
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.0
1
+ 0.2.1
@@ -6,7 +6,7 @@ module SidekiqMeteredExceptions
6
6
  def call(ex, context)
7
7
  retry_count = (context['retry_count'] || (context['job'] && context['job']['retry_count']))
8
8
 
9
- if retry_count > 1
9
+ if retry_count.nil? || retry_count > 1
10
10
  super(ex, context)
11
11
  end
12
12
  end
@@ -2,11 +2,11 @@
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
3
  # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
- # stub: sidekiq_metered_exceptions 0.2.0 ruby lib
5
+ # stub: sidekiq_metered_exceptions 0.2.1 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "sidekiq_metered_exceptions".freeze
9
- s.version = "0.2.0"
9
+ s.version = "0.2.1"
10
10
 
11
11
  s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
12
12
  s.require_paths = ["lib".freeze]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sidekiq_metered_exceptions
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nathan Woodhull