foreman-tasks 1.1.2 → 1.1.3
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2763cf62835dc3d4375a83b6fdff446ef0f50b0229c732a0e6b17e681b45935b
|
4
|
+
data.tar.gz: 8845f763b8d400ed8e8dcf267798e4891234f7eada43ae3f38292409d0ca50fd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7aba491ebd02b8361ea237d588b256c8d4e6bc8e7d1b0d30872acc6267fce59cbaa46695c20c4099c897081cde81ae363de22c69456a97ddbb059a0be83303df
|
7
|
+
data.tar.gz: fa79277831760d12364f69f7390664e391531e98451e50861ffc174210be91073deae4bcb697b0d8adc944bc7cc3a3e28b092812e0186da5782a6ac554bc6869
|
@@ -1,9 +1,9 @@
|
|
1
|
-
class AddTaskLockIndexOnResourceTypeAndTaskId < ActiveRecord::Migration[
|
1
|
+
class AddTaskLockIndexOnResourceTypeAndTaskId < ActiveRecord::Migration[5.2]
|
2
2
|
def change
|
3
3
|
add_index :foreman_tasks_locks, [:task_id, :resource_type, :resource_id], name: 'index_tasks_locks_on_task_id_resource_type_and_resource_id'
|
4
4
|
# These indexes are not needed as they can be gained from partial index lookups
|
5
|
-
|
6
|
-
|
7
|
-
|
5
|
+
[:task_id, :name, :resource_type].each do |index|
|
6
|
+
remove_index :foreman_tasks_locks, index if index_exists?(:foreman_tasks_locks, index)
|
7
|
+
end
|
8
8
|
end
|
9
9
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: foreman-tasks
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ivan Nečas
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-07-
|
11
|
+
date: 2020-07-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: dynflow
|