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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1a46a9b83e2940388c697cb6f0d2d4412ab2f324ab35c6996e61e75128f40e9d
|
4
|
+
data.tar.gz: 39ab0d32e58bbbefd08850f846dcfb845d5a9aa646c4ecf6477b9db19bbd7a5c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
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] }
|
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.
|
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-
|
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
|