online_migrations 0.29.0 → 0.29.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: babb68ddc337cbc52cb3a10d842dfb427031544fa8b32716b9b0166996f45252
4
- data.tar.gz: '08e334985d6ecbe603831ad44a9b535d3e39ee1b7f17bb576fc035b9de11c84c'
3
+ metadata.gz: cdc577e6585babba94ffe21df14f59b4a41681a0f80046e677452741123534d1
4
+ data.tar.gz: 25f2d76cece9c0c1ae1a61d099e69599391a67f2ac3690abc537852873862df6
5
5
  SHA512:
6
- metadata.gz: ca383bfa73dd712076f3ac5ade02767955a7da7ec99306258d70a61b32331226fc22f4a84fea3f37423e7ebce2e805b514077bd13fcee1fcb09ae3ac637ac53f
7
- data.tar.gz: 470a1d00e16f00b70a248c0ea2e0a3acfcb3e05b165fe5d12fa966c3f03d2a40c953fe4dd9265d210c330fca0b2536143716a47adfb9f1a8749d3348183e4959
6
+ metadata.gz: 14049ce85c5832741d1b0d5928b8e1d69924601f69c56a07d534c0aa558be60928c71d37eb3715cd892e9af68a44e7dd3d69d048c9bb52f5464a2ac7ad97f512
7
+ data.tar.gz: 7b96a5bea220ea7283bd7a2bacc82b646de611d1b9704abafc412948ea77279cd2fbbf26908a43f1877a99e36d54ad52323a038297e4340600c4ce52d1cbada7
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  ## master (unreleased)
2
2
 
3
+ ## 0.29.1 (2025-07-17)
4
+
5
+ - Fix idempotency for adding/removing indexes in background
6
+
3
7
  ## 0.29.0 (2025-07-10)
4
8
 
5
9
  - Add `iteration_pause` column to background data migrations
@@ -133,7 +133,7 @@ module OnlineMigrations
133
133
 
134
134
  with_statement_timeout(connection, statement_timeout) do
135
135
  if index_addition?
136
- index = connection.indexes(table_name).find { |i| i.name == name }
136
+ index = connection.indexes(table_name).find { |i| name.include?(i.name) }
137
137
  if index
138
138
  if index.valid?
139
139
  return
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module OnlineMigrations
4
- VERSION = "0.29.0"
4
+ VERSION = "0.29.1"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: online_migrations
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.29.0
4
+ version: 0.29.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - fatkodima
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-07-10 00:00:00.000000000 Z
11
+ date: 2025-07-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord