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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b19a7608533279dea1ba293836c165f19f9aefcb8399bfde70c152251dbe6520
|
4
|
+
data.tar.gz: d4d528b42660eb71218ec50f96565647f7f068269f207523cc5f92bc8bfb1234
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cbcee41ec2f46e7bf3e287222891713a9f43591485a5a6a2e183816a407950c25df6252d6a08ef861c4f5b7a2938bc3ca964fd9423941a805170543b871d191a
|
7
|
+
data.tar.gz: aca23feb27880694acc7322e55b225fa7c8fc61e4d57f3f14c82295edf42813b79b4dbe660d482902060638f17c85a1ebd39b036eadcddb44dbc5c7d5fd08921
|
@@ -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(
|
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.
|
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-
|
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.
|
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
|