good_job 3.12.2 → 3.12.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: caa82da35ecdc7a40488de110b0e52b0a0e073abd8ca6e0cf877b3df4f770fce
4
- data.tar.gz: 2bb351a541183ccd8f5b5d58209c09813ecc09cebafd4cea1daad462a66337fc
3
+ metadata.gz: '08adcef39550aab73cfa2e2e09f059bb8c9a27154e7282f004f0ce6fa8cdb489'
4
+ data.tar.gz: 01a7beeab908846daf3b4a7aefdb92288aa5fa88bd5782aa93852f8c254596b1
5
5
  SHA512:
6
- metadata.gz: a15ac0a81f3efcc6184ed7717430f67aa59d857a873ced5824922e36f499a275ec141636edbb80a3a7c587a9fdd64c3b98c3c189d09d4db45807829957259ca6
7
- data.tar.gz: 3b948c09db4ca2a60a90770937960db944e2569b3f54fc570e597f97a3b8da3ee247b96d734e0d593be87eac9de0b3a75c20e08daa77590dd94be9d6b3219f36
6
+ metadata.gz: 4b28e1d6f9a92d31e50abfbc45b8b8be1d4db5639b26faad68cf14c489d7bfbf3b94332df6bdbc4df25260d1f56406444205a3c37b688568bee6ae3a4c879a58
7
+ data.tar.gz: 8b83770a89e8aeeb28bc3571d797ea0e284b6dd3fd6787653b8d714a246856a9a88dfcc752e4208719bbe81085ea16689da1131c672222d739fa89b9469d3f31
data/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # Changelog
2
2
 
3
+ ## [v3.12.3](https://github.com/bensheldon/good_job/tree/v3.12.3) (2023-02-21)
4
+
5
+ [Full Changelog](https://github.com/bensheldon/good_job/compare/v3.12.2...v3.12.3)
6
+
7
+ **Closed issues:**
8
+
9
+ - \[Not Critical\] Too much space \(One\) in db/migrate/XXXXXX\_create\_index\_good\_jobs\_jobs\_on\_priority\_created\_at\_when\_unfinished.rb [\#851](https://github.com/bensheldon/good_job/issues/851)
10
+ - Use timestamps with timezone when set as the default for postgresql. [\#668](https://github.com/bensheldon/good_job/issues/668)
11
+
12
+ **Merged pull requests:**
13
+
14
+ - Fix bug where notification check does not use configuration [\#857](https://github.com/bensheldon/good_job/pull/857) ([mitchellhenke](https://github.com/mitchellhenke))
15
+ - Fix template for the update migrations 03 index \(\#851\) [\#852](https://github.com/bensheldon/good_job/pull/852) ([julienanne](https://github.com/julienanne))
16
+
3
17
  ## [v3.12.2](https://github.com/bensheldon/good_job/tree/v3.12.2) (2023-02-16)
4
18
 
5
19
  [Full Changelog](https://github.com/bensheldon/good_job/compare/v3.12.1...v3.12.2)
@@ -2,7 +2,7 @@
2
2
  class CreateIndexGoodJobsJobsOnPriorityCreatedAtWhenUnfinished < ActiveRecord::Migration<%= migration_version %>
3
3
  disable_ddl_transaction!
4
4
 
5
- def change
5
+ def change
6
6
  reversible do |dir|
7
7
  dir.up do
8
8
  # Ensure this incremental update migration is idempotent
@@ -234,8 +234,8 @@ module GoodJob
234
234
  end
235
235
 
236
236
  def send_notify?(active_job)
237
- return true unless active_job.respond_to?(:good_job_notify)
238
237
  return false unless GoodJob.configuration.enable_listen_notify
238
+ return true unless active_job.respond_to?(:good_job_notify)
239
239
 
240
240
  !(active_job.good_job_notify == false || (active_job.class.good_job_notify == false && active_job.good_job_notify.nil?))
241
241
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
  module GoodJob
3
3
  # GoodJob gem version.
4
- VERSION = '3.12.2'
4
+ VERSION = '3.12.3'
5
5
  end
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.2
4
+ version: 3.12.3
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-16 00:00:00.000000000 Z
11
+ date: 2023-02-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activejob