good_job 3.21.4 → 3.21.5

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: b9e4ef5306eec4101ebed1018da4202479324823721d34e51bfb16e1809ee4ba
4
- data.tar.gz: 848574c70fb834dfa2bea8339bb7373466975fb84717c75ee51d7b4dd502235c
3
+ metadata.gz: fa13b9d970c63760bc8264906c0aeccf1f71f0b6e678338cca21778956fdba0a
4
+ data.tar.gz: cd4d0e5be595b266396a2ffa0d9da0955940f1afe7639a2456b9a8f67e9d205b
5
5
  SHA512:
6
- metadata.gz: d18fb332702f5c9deed1806cc370991a2c42dc18dc81627a2e2688571967771fa0bb503268e142095ed82a97a387dbca9989070b91bdc34652a65716b1919df0
7
- data.tar.gz: 988194bd1f4ffb95a0f41aae78bc5a3ecb2d2de1c8179dee58c7b0bed4ca01f4562adcd34b7e0986c75f1e80e081c78f6726d8328445df03d528ec1d680aad2f
6
+ metadata.gz: '0871dcec35bfe62dbc59f07e81aa048cd04300316e859080a7f61f1666e61a1641a52ce76e6d827d2bf6e7524dd3893cacda66d94fb7ec994d88ae2e7b616ead'
7
+ data.tar.gz: 7171bf22d85558b2f48bbecc80fbe5a57cea331be996b6324e266bc1e8a1da9a3a13f9ab191d5dac167797be5e2b64c0a7bb9ebb05e4937b2946de9bafc17193
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## [v3.21.5](https://github.com/bensheldon/good_job/tree/v3.21.5) (2023-12-12)
4
+
5
+ [Full Changelog](https://github.com/bensheldon/good_job/compare/v3.21.4...v3.21.5)
6
+
7
+ **Fixed bugs:**
8
+
9
+ - Fix conditional index migration to be rollbackable [\#1176](https://github.com/bensheldon/good_job/pull/1176) ([bensheldon](https://github.com/bensheldon))
10
+
3
11
  ## [v3.21.4](https://github.com/bensheldon/good_job/tree/v3.21.4) (2023-12-11)
4
12
 
5
13
  [Full Changelog](https://github.com/bensheldon/good_job/compare/v3.21.3...v3.21.4)
@@ -25,11 +25,11 @@ class RecreateGoodJobCronIndexesWithConditional < ActiveRecord::Migration<%= mig
25
25
 
26
26
  dir.down do
27
27
  unless connection.index_name_exists?(:good_jobs, :index_good_jobs_on_cron_key_and_created_at)
28
- add_index :good_jobs, [:cron_key, :created_at], where: "(cron_key IS NOT NULL)",
28
+ add_index :good_jobs, [:cron_key, :created_at],
29
29
  name: :index_good_jobs_on_cron_key_and_created_at, algorithm: :concurrently
30
30
  end
31
31
  unless connection.index_name_exists?(:good_jobs, :index_good_jobs_on_cron_key_and_cron_at)
32
- add_index :good_jobs, [:cron_key, :cron_at], where: "(cron_key IS NOT NULL)", unique: true,
32
+ add_index :good_jobs, [:cron_key, :cron_at], unique: true,
33
33
  name: :index_good_jobs_on_cron_key_and_cron_at, algorithm: :concurrently
34
34
  end
35
35
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  module GoodJob
4
4
  # GoodJob gem version.
5
- VERSION = '3.21.4'
5
+ VERSION = '3.21.5'
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.21.4
4
+ version: 3.21.5
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-12-11 00:00:00.000000000 Z
11
+ date: 2023-12-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activejob