foreman-tasks 1.1.2 → 1.1.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: 88767e3fa6070985ad11cf3ebe2ffec115a849a35d68ba9822b799ada08f20fd
4
- data.tar.gz: 9e839c4b8fcca99cba833f26950c784589477c7efa487953adf20622575e1e92
3
+ metadata.gz: 2763cf62835dc3d4375a83b6fdff446ef0f50b0229c732a0e6b17e681b45935b
4
+ data.tar.gz: 8845f763b8d400ed8e8dcf267798e4891234f7eada43ae3f38292409d0ca50fd
5
5
  SHA512:
6
- metadata.gz: 0bf4b6de277203877b5b9d88d330458f6ba53bb0e968041b1f7148a06851a5b2b963b1b3febea3d17ea84ffb51ce4085fe96169e1615e10e7a81a1db50b61f38
7
- data.tar.gz: 2fe44f74fc96870485075b7cd294d27aa13108eeb3ddbc48fe8aaeb1bd39fa58fdf20dc584362f4bbbea6f52d54510b78bb987cffdd551b9c19c03886847e64a
6
+ metadata.gz: 7aba491ebd02b8361ea237d588b256c8d4e6bc8e7d1b0d30872acc6267fce59cbaa46695c20c4099c897081cde81ae363de22c69456a97ddbb059a0be83303df
7
+ data.tar.gz: fa79277831760d12364f69f7390664e391531e98451e50861ffc174210be91073deae4bcb697b0d8adc944bc7cc3a3e28b092812e0186da5782a6ac554bc6869
@@ -1,9 +1,9 @@
1
- class AddTaskLockIndexOnResourceTypeAndTaskId < ActiveRecord::Migration[6.0]
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
- remove_index :foreman_tasks_locks, :task_id
6
- remove_index :foreman_tasks_locks, :name
7
- remove_index :foreman_tasks_locks, :resource_type
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
@@ -1,3 +1,3 @@
1
1
  module ForemanTasks
2
- VERSION = '1.1.2'.freeze
2
+ VERSION = '1.1.3'.freeze
3
3
  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.2
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-01 00:00:00.000000000 Z
11
+ date: 2020-07-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dynflow