good_job 2.0.0 → 2.0.1

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: 70c12a8c0e633dfc5f0ecb073c9a9993f1d7a4ab06df8f273e034b0ddf4513c1
4
- data.tar.gz: f8d8ecd9ba7dd4cf0ad1687d519e4dd7eb87e06cb3c6a4ab1ed05586bcfe573a
3
+ metadata.gz: 917d4630bb8be8ea639b3516e8c4fc5465c5dfd52e0ea361259cf68d58bafe90
4
+ data.tar.gz: 867861782ccd6cc20934162c3ca7c2c76ed09407d9e9a7d00ee4d33f9de120cf
5
5
  SHA512:
6
- metadata.gz: 1ff20a3ef1bf4e585d96094884cad5d682c11111d44a2d6ac61e1bb0773060cade2f4ced22008ef9dd01cb58cc477b695c02669c20505baf7f3515f42dde391d
7
- data.tar.gz: e367c08cbf87a8203fd1d091401f49e1684fa247f86ab70fae782bbdbc826131ea0ef5b2c20589e7edfe580a257226686424c302c61fdc5d98010152ddbd52c4
6
+ metadata.gz: a45d3b4eb52724ef8faf8d86c74f7051500aa33b3a98c0482bfc1568df95b444088e9ead34820606abf8f2389f3dc6b8ca51f84e6c07421b861a5f49dd825e38
7
+ data.tar.gz: 11790854220ca578a92f8b3e4a37fe5cc2d23205cd41e4cb55acfe3e7db5547b091ea4d542b3c466aa12cc59da35903d1566cbf3911cae9c153b8ec1a547e293
data/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # Changelog
2
2
 
3
+ ## [v2.0.1](https://github.com/bensheldon/good_job/tree/v2.0.1) (2021-08-24)
4
+
5
+ [Full Changelog](https://github.com/bensheldon/good_job/compare/v2.0.0...v2.0.1)
6
+
7
+ **Closed issues:**
8
+
9
+ - Is there any value in seeing a backtrace for ConcurrencyExceededError? [\#347](https://github.com/bensheldon/good_job/issues/347)
10
+ - Release GoodJob 2.0 [\#307](https://github.com/bensheldon/good_job/issues/307)
11
+ - Unhandled ActiveJob errors should trigger GoodJob.on\_thread\_error [\#247](https://github.com/bensheldon/good_job/issues/247)
12
+
13
+ **Merged pull requests:**
14
+
15
+ - Suppress backtrace of ConcurrencyExceededError [\#348](https://github.com/bensheldon/good_job/pull/348) ([reczy](https://github.com/reczy))
16
+
3
17
  ## [v2.0.0](https://github.com/bensheldon/good_job/tree/v2.0.0) (2021-08-24)
4
18
 
5
19
  [Full Changelog](https://github.com/bensheldon/good_job/compare/v1.99.0...v2.0.0)
@@ -4,7 +4,11 @@ module GoodJob
4
4
  module Concurrency
5
5
  extend ActiveSupport::Concern
6
6
 
7
- ConcurrencyExceededError = Class.new(StandardError)
7
+ class ConcurrencyExceededError < StandardError
8
+ def backtrace
9
+ [] # suppress backtrace
10
+ end
11
+ end
8
12
 
9
13
  included do
10
14
  class_attribute :good_job_concurrency_config, instance_accessor: false, default: {}
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
  module GoodJob
3
3
  # GoodJob gem version.
4
- VERSION = '2.0.0'
4
+ VERSION = '2.0.1'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: good_job
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben Sheldon