good_job 3.12.3 → 3.12.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +14 -0
- data/app/models/good_job/batch_record.rb +9 -2
- data/lib/good_job/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cbd9eea98505960c1c53863338762b4c814d2248caf2642fc5774e1fbc19fc1c
|
4
|
+
data.tar.gz: 2c84f9908144e29f509355010d0d9daf2c6ebda1360c411f41328e6a25c45aad
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 68e5e4df608a70845510c9790c10b350f1d5bf960f5574de146278d3e9a9b95270cd96116c70428815fd3e06ecab789566e82c5eaabdb64a9fdc07f7f9555d94
|
7
|
+
data.tar.gz: c56b476a28edd728c6791bb61f53e8f9c073c865301dd7a8cbf40b3f432a2eb9db5e5fe48e268b7c454b4f242f5f27c1bbcf866e2924a6150ec7f8f1a0148f58
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,19 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## [v3.12.4](https://github.com/bensheldon/good_job/tree/v3.12.4) (2023-02-24)
|
4
|
+
|
5
|
+
[Full Changelog](https://github.com/bensheldon/good_job/compare/v3.12.3...v3.12.4)
|
6
|
+
|
7
|
+
**Closed issues:**
|
8
|
+
|
9
|
+
- Rails 7.1 - Serialized columns like a store now needs a `coder: JSON` [\#863](https://github.com/bensheldon/good_job/issues/863)
|
10
|
+
- Does good\_job automatically retry on ActiveRecord::LockWaitTimeout? [\#860](https://github.com/bensheldon/good_job/issues/860)
|
11
|
+
- race condition for batches callback [\#832](https://github.com/bensheldon/good_job/issues/832)
|
12
|
+
|
13
|
+
**Merged pull requests:**
|
14
|
+
|
15
|
+
- Add serialize coder kwarg for Rails 7.1-alpha [\#864](https://github.com/bensheldon/good_job/pull/864) ([bensheldon](https://github.com/bensheldon))
|
16
|
+
|
3
17
|
## [v3.12.3](https://github.com/bensheldon/good_job/tree/v3.12.3) (2023-02-21)
|
4
18
|
|
5
19
|
[Full Changelog](https://github.com/bensheldon/good_job/compare/v3.12.2...v3.12.3)
|
@@ -72,8 +72,15 @@ module GoodJob
|
|
72
72
|
end
|
73
73
|
end
|
74
74
|
|
75
|
-
|
76
|
-
|
75
|
+
if Rails.gem_version < Gem::Version.new('6.1.0.alpha')
|
76
|
+
# serialize does not yet take a default value, must set via Attributes API
|
77
|
+
attribute :serialized_properties, :json, default: -> { {} }
|
78
|
+
serialize :serialized_properties, PropertySerializer
|
79
|
+
elsif Rails.gem_version < Gem::Version.new('7.1.0.alpha')
|
80
|
+
serialize :serialized_properties, PropertySerializer, default: -> { {} }
|
81
|
+
else
|
82
|
+
serialize :serialized_properties, coder: PropertySerializer, default: -> { {} }
|
83
|
+
end
|
77
84
|
alias_attribute :properties, :serialized_properties
|
78
85
|
|
79
86
|
def properties=(value)
|
data/lib/good_job/version.rb
CHANGED
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.12.
|
4
|
+
version: 3.12.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ben Sheldon
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-02-
|
11
|
+
date: 2023-02-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activejob
|