good_job 3.29.0 → 3.29.2

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: dba2ffb689b77716dac30f6c89c02a8ddd2cad9d340ca72fe86405d4cee446e1
4
- data.tar.gz: 43c511926416fe1360e312ceb375b7db10e9c95ed9c8db040d9828e497b77eb0
3
+ metadata.gz: '035847331e792e45f5ecc5c94f6038bd9955e022fc3dcdf27263be0bf1e3c02d'
4
+ data.tar.gz: 7068ca56d21b29509841b37386e74ef9b0d3f761e0ce454b3d46522a685ffaa4
5
5
  SHA512:
6
- metadata.gz: b52422348cb25a90c17b755978b13278591ee5e388e3b16648fcd89fd77f6570a796ec44d7c64d4e9b0111b5102f2b80edfcbcd9236d13a2394a9ea5cc32297a
7
- data.tar.gz: 91fab8760f5fbf4ff137fc66da09ead108201d0a47dd5d6859a4afed9d66b88f26c758ed95e4243591e6b719d417d7fa1d9ae3a85e5d3619f6c1b374435996c6
6
+ metadata.gz: 0a3bd5801bcc975e25ac1586b7b392ec3d4e6113338ac18d89c29296a4e28c746c54f9e7c4e4e1343a0ba2f033e5debffb337b4bb54e576f05812d9d7751315d
7
+ data.tar.gz: 8b004560dc95421b474e5ec129b5a0dc2ef2ec20d7ee419d141d591bf29998eb5aaca585cb8a94b146ed9ecd691819062d2faffb66a247b0287488e3e0a62943
data/CHANGELOG.md CHANGED
@@ -1,5 +1,30 @@
1
1
  # Changelog
2
2
 
3
+ ## [v3.29.2](https://github.com/bensheldon/good_job/tree/v3.29.2) (2024-05-23)
4
+
5
+ [Full Changelog](https://github.com/bensheldon/good_job/compare/v3.29.1...v3.29.2)
6
+
7
+ **Fixed bugs:**
8
+
9
+ - Fix label modifications on job instance polluting labels on job class [\#1355](https://github.com/bensheldon/good_job/pull/1355) ([bensheldon](https://github.com/bensheldon))
10
+
11
+ **Closed issues:**
12
+
13
+ - `#good_job_labels` retains values across job instances [\#1354](https://github.com/bensheldon/good_job/issues/1354)
14
+
15
+ ## [v3.29.1](https://github.com/bensheldon/good_job/tree/v3.29.1) (2024-05-23)
16
+
17
+ [Full Changelog](https://github.com/bensheldon/good_job/compare/v3.29.0...v3.29.1)
18
+
19
+ **Fixed bugs:**
20
+
21
+ - Fix AdvisoryLockable using wrong `advisory_lockable_column` attribute when aborting `create_with_advisory_lock` [\#1360](https://github.com/bensheldon/good_job/pull/1360) ([bensheldon](https://github.com/bensheldon))
22
+
23
+ **Closed issues:**
24
+
25
+ - Warn on unapplied migrations [\#1361](https://github.com/bensheldon/good_job/issues/1361)
26
+ - Undefined `GoodJob::Process.advisory_lockable_column` [\#1358](https://github.com/bensheldon/good_job/issues/1358)
27
+
3
28
  ## [v3.29.0](https://github.com/bensheldon/good_job/tree/v3.29.0) (2024-05-22)
4
29
 
5
30
  [Full Changelog](https://github.com/bensheldon/good_job/compare/v3.28.3...v3.29.0)
@@ -133,7 +133,7 @@ module GoodJob
133
133
 
134
134
  after_create lambda {
135
135
  advisory_lock || begin
136
- errors.add(self.class.advisory_lockable_column, "Failed to acquire advisory lock: #{lockable_key}")
136
+ errors.add(self.class._advisory_lockable_column, "Failed to acquire advisory lock: #{lockable_key}")
137
137
  raise ActiveRecord::RecordInvalid # do not reference the record because it can cause I18n missing translation error
138
138
  end
139
139
  }, if: :create_with_advisory_lock
@@ -8,7 +8,7 @@ module GoodJob
8
8
  module Prepends
9
9
  def initialize(*arguments)
10
10
  super
11
- self.good_job_labels = Array(self.class.good_job_labels)
11
+ self.good_job_labels = Array(self.class.good_job_labels.dup)
12
12
  end
13
13
 
14
14
  def enqueue(options = {})
@@ -2,7 +2,7 @@
2
2
 
3
3
  module GoodJob
4
4
  # GoodJob gem version.
5
- VERSION = '3.29.0'
5
+ VERSION = '3.29.2'
6
6
 
7
7
  # GoodJob version as Gem::Version object
8
8
  GEM_VERSION = Gem::Version.new(VERSION)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: good_job
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.29.0
4
+ version: 3.29.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben Sheldon
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-05-22 00:00:00.000000000 Z
11
+ date: 2024-05-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activejob