foreman-tasks 9.2.0 → 9.2.1

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: '09ec7edf2024b4efaeb9904c2f03672efbe85791d08bfe2eae0800cd99b837aa'
4
- data.tar.gz: 77057f77a6fe853422c8a45f3c100a70bd45d8b3e03582d58d27c692be192550
3
+ metadata.gz: b19a7608533279dea1ba293836c165f19f9aefcb8399bfde70c152251dbe6520
4
+ data.tar.gz: d4d528b42660eb71218ec50f96565647f7f068269f207523cc5f92bc8bfb1234
5
5
  SHA512:
6
- metadata.gz: 31f56309bd113a01bb91be4dc8d4d9c473ebbc438d3496dd18317a079c5a96301cf42771a7f1673e7bfee6cee5999a6cf92e92344e0e5cf56addf03e48e2dbf0
7
- data.tar.gz: 1885aa1016226b0230bcfcb0d4ad7e282b34bf716ed96f6b13a38db0023866fe07f9f4ef55a4ecdee76241618c365abc9c452525eefc7cf51beb5ce357aacc1a
6
+ metadata.gz: cbcee41ec2f46e7bf3e287222891713a9f43591485a5a6a2e183816a407950c25df6252d6a08ef861c4f5b7a2938bc3ca964fd9423941a805170543b871d191a
7
+ data.tar.gz: aca23feb27880694acc7322e55b225fa7c8fc61e4d57f3f14c82295edf42813b79b4dbe660d482902060638f17c85a1ebd39b036eadcddb44dbc5c7d5fd08921
@@ -1,3 +1,3 @@
1
1
  module ForemanTasks
2
- VERSION = '9.2.0'.freeze
2
+ VERSION = '9.2.1'.freeze
3
3
  end
@@ -42,7 +42,9 @@ export const cancelStep = (taskId, stepId) => async dispatch => {
42
42
  key: TASK_STEP_CANCEL,
43
43
  url: foremanTasksPath(`${taskId}/cancel_step?step_id=${stepId}`),
44
44
  handleSuccess: () => {
45
- dispatch(addToast(successToastData(`${stepId} {__('Step Canceled')}`)));
45
+ dispatch(
46
+ addToast(successToastData(`${stepId} ${__('Step Canceled')}`))
47
+ );
46
48
  },
47
49
  handleError: error => {
48
50
  dispatch(
@@ -1,15 +1,10 @@
1
1
  import { testActionSnapshotWithFixtures } from '@theforeman/test';
2
- import { API } from 'foremanReact/redux/API';
3
2
  import {
4
3
  taskReloadStop,
5
4
  taskReloadStart,
6
5
  cancelStep,
7
6
  } from '../TaskDetailsActions';
8
7
 
9
- jest.mock('foremanReact/redux/API');
10
-
11
- API.post.mockImplementation(async () => ({ data: 'some-data' }));
12
-
13
8
  const fixtures = {
14
9
  'should start reload': () => taskReloadStart(1),
15
10
  'should stop reload': () => taskReloadStop(),
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: 9.2.0
4
+ version: 9.2.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: 2024-06-12 00:00:00.000000000 Z
11
+ date: 2024-07-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dynflow
@@ -628,7 +628,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
628
628
  - !ruby/object:Gem::Version
629
629
  version: '0'
630
630
  requirements: []
631
- rubygems_version: 3.3.26
631
+ rubygems_version: 3.2.33
632
632
  signing_key:
633
633
  specification_version: 4
634
634
  summary: Foreman plugin for showing tasks information for resources and users