foreman-tasks 0.15.3 → 0.15.4

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: 6eeb338059e6663ed8fffe8dc6bee396a1eb96bae7a695c2f56eff9ac5e44763
4
- data.tar.gz: 7b9d63c8663eeece3479d9c3628dd514d00e5ff00595ee66097cae917342bd29
3
+ metadata.gz: 1a46a9b83e2940388c697cb6f0d2d4412ab2f324ab35c6996e61e75128f40e9d
4
+ data.tar.gz: 39ab0d32e58bbbefd08850f846dcfb845d5a9aa646c4ecf6477b9db19bbd7a5c
5
5
  SHA512:
6
- metadata.gz: 8d46d737bcfe6f9aef1ce43c53de352e598653e3de2134d72d913cc63047d1867697c00b0aae5373c31d3664023167f332b277c0eaa352c80e62e03688a51271
7
- data.tar.gz: 783a5b165f308ddb6571660598f19d85e5e20323be9a467851569f57ebf15f9bb1b4e35390d2f412510feb1a4c6f91269726800be8e18acf9fdf365785516a1f
6
+ metadata.gz: 508b95686e4d405baca1405226482f475bb57933773e349fbd301f0ec84f4a111be1564d34e7b9fff83b4f1d30f1a8bca2da332c349e2d37d9cb5fd252239a1e
7
+ data.tar.gz: 595b0e0dec575616dd328c297fd8e7efad94aef1e304f365e4b683a8cf04f53b77a517ee42fb85100b7ca44a2b6e9827350f5f38acec00262fad263b52b42a8a
@@ -156,13 +156,15 @@ module ForemanTasks
156
156
  end
157
157
 
158
158
  def_param_group :callback do
159
- param_group :callback_target
159
+ param_group :callback_target, TasksController
160
160
  param :data, Hash, :desc => N_('Data to be sent to the action')
161
161
  end
162
162
 
163
163
  api :POST, '/tasks/callback', N_('Send data to the task from external executor (such as smart_proxy_dynflow)')
164
164
  param_group :callback
165
- param :callbacks, Array, :of => param_group(:callback)
165
+ param :callbacks, Array do
166
+ param_group :callback, TasksController
167
+ end
166
168
  def callback
167
169
  callbacks = params.key?(:callback) ? Array(params) : params[:callbacks]
168
170
  ids = callbacks.map { |payload| payload[:callback][:task_id] }
@@ -1,3 +1,3 @@
1
1
  module ForemanTasks
2
- VERSION = '0.15.3'.freeze
2
+ VERSION = '0.15.4'.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: 0.15.3
4
+ version: 0.15.4
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: 2019-05-03 00:00:00.000000000 Z
11
+ date: 2019-05-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: foreman-tasks-core