foreman-tasks 4.1.0 → 4.1.1

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: 99321b6a250c3166881128f05a88feb20cf24cc14e6ccbf813e5cc1853f4447a
4
- data.tar.gz: 99ce5e8f81c1dbbdf41a6980b0ff4cb98529928dfd0769676821e6c71f8e2302
3
+ metadata.gz: a995bfa758def81b00f25d1407ad36c4834473c8aab03786b71b54092329168a
4
+ data.tar.gz: d1da5ab84d17f85fbf8911b9cfd3fa6fc7d90e2958fe08efefbe20fccd5b2d7c
5
5
  SHA512:
6
- metadata.gz: 7284f7dd3ff25480f57f697ebe57cbff5f6b865afd1e6792c710ea880bc23f0a6f261333c727a7917be9a30c9d1de54d7e4bfeebc9bc43635244fdd1ca8f5d79
7
- data.tar.gz: 6580dd94504e0d9c5cf8f2d070bb42da3782feadbdba59ee9f1275e526b5b53b1cb34106163807f99eac09b59ba8991ea2f51bb224184007f7aee4bf30808553
6
+ metadata.gz: 5c977430ad99bf4e9cd92cb7371005d9b79be87d48a689bda6dae3f24a134e334b01583cc11a93186651c8271bd46946c86472ef408606b6e4758add63df20c7
7
+ data.tar.gz: '018184c654bee02017f2bd9da163eef278ee4515e39adcef3dc1338cffb381f5c60f986177450537c80ddedae8f61162e4bf55d0bfa6838b3eb554aba5f52522'
@@ -51,7 +51,7 @@ module ForemanTasks
51
51
  In case :type = 'resource', what resource id we're searching the tasks for
52
52
  DESC
53
53
  param :action_types, [String], :desc => <<-DESC
54
- Return just tasks of given action type, e.g. ["Actions::Katello::Repository::Synchronize"]
54
+ Return just tasks of given action type, e.g. `["Actions::Katello::Repository::Synchronize"]`
55
55
  DESC
56
56
  param :active_only, :bool
57
57
  param :page, String
@@ -219,7 +219,7 @@ module Actions
219
219
 
220
220
  def get_proxy_data(response)
221
221
  response['actions'].detect { |action| action.fetch('input', {})['task_id'] == task.id }
222
- .try(:fetch, 'output', {})
222
+ .try(:fetch, 'output', {}) || {}
223
223
  end
224
224
 
225
225
  def proxy_version(proxy)
@@ -1,3 +1,3 @@
1
1
  module ForemanTasks
2
- VERSION = '4.1.0'.freeze
2
+ VERSION = '4.1.1'.freeze
3
3
  end
@@ -14,6 +14,9 @@ module ForemanTasks
14
14
  Support::DummyProxyAction.any_instance.stubs(:with_batch_triggering?).returns(batch_triggering)
15
15
  Support::DummyProxyAction.reset
16
16
  RemoteTask.any_instance.stubs(:proxy).returns(Support::DummyProxyAction.proxy)
17
+ Setting.stubs(:[]).with('foreman_tasks_proxy_action_retry_interval')
18
+ Setting.stubs(:[]).with('foreman_tasks_proxy_action_retry_count')
19
+ Setting.stubs(:[]).with('foreman_tasks_proxy_batch_trigger')
17
20
  @action = create_and_plan_action(Support::DummyProxyAction,
18
21
  Support::DummyProxyAction.proxy,
19
22
  'Proxy::DummyAction',
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: 4.1.0
4
+ version: 4.1.1
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: 2021-04-09 00:00:00.000000000 Z
11
+ date: 2021-05-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dynflow