foreman_remote_execution 16.4.1 → 16.5.0

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: 333437bf54f6ee394e7907fed5a0ca0e6ace34779c0c8be0058321fc9bf2f349
4
- data.tar.gz: 7ef126b1d96ec06426ed1177b21eed35e0187abf31f32a8c758eed36df9b6ad8
3
+ metadata.gz: 0ee86c3d2c60e946efec14a58caa7da9b89a128fe9bed74b6cfa710f056efc6c
4
+ data.tar.gz: a4317300b6709a6f2c27fc0ade8871da56866c05063bb786f766deaa98d21b16
5
5
  SHA512:
6
- metadata.gz: 6cb95d3b02f8ea6dd2427150be9f555ee04b0ee66dc2080e9049bcb48c68c7fc4a134783dfe35b4a4e5e8e69f68ca922580b395c368284e56d0f829a9a698923
7
- data.tar.gz: 89262556775f2a4d9c09ce361f7fe2c1c49b45621488f577d5289c2a48d22af52ba59f0ebcb8f5fe0f93b0f7d3f0b5d78a4149aa46c5f730d8170f385f49bf93
6
+ metadata.gz: 15bbc2341fb8ca3d7923cd62faae65327841bd7946917ccbf46d6e9d1f27e2dba84ae11cdea4b4d7a585d51bc8a02334368531885b2cd94ad8fd1a9dcc04830b
7
+ data.tar.gz: b238ffa26c8faacb95c7b9033eed05367af2b37810c979c71a5c32ce0baaf9015c2e73ffb025e777cc63da08724f8dff2a7deda89ad0172788f1559ef3859d90
@@ -1,3 +1,3 @@
1
1
  module ForemanRemoteExecution
2
- VERSION = '16.4.1'.freeze
2
+ VERSION = '16.5.0'.freeze
3
3
  end
@@ -11,6 +11,7 @@ import {
11
11
  DataListItemRow,
12
12
  } from '@patternfly/react-core';
13
13
  import { translate as __ } from 'foremanReact/common/I18n';
14
+ import Slot from 'foremanReact/components/common/Slot';
14
15
  import { TARGETING_TYPES } from './JobInvocationConstants';
15
16
 
16
17
  const ItemsParser = ({ items }) => (
@@ -188,12 +189,14 @@ const Inputs = ({ data }) => {
188
189
  </ExpandableSection>
189
190
  );
190
191
  };
192
+
191
193
  export const JobAdditionInfo = ({ data }) => (
192
194
  <>
193
195
  <Recurring data={data} />
194
196
  <TargetHosts data={data} />
195
197
  <Inputs data={data} />
196
198
  <Schedule data={data} />
199
+ <Slot id="job-invocation-additional-info" data={data} />
197
200
  </>
198
201
  );
199
202
 
@@ -31,6 +31,19 @@ import {
31
31
 
32
32
  jest.spyOn(api, 'get');
33
33
 
34
+ // Mock toLocaleString to always use UTC timezone for consistent test results
35
+ const originalToLocaleString = Date.prototype.toLocaleString;
36
+ beforeAll(() => {
37
+ // eslint-disable-next-line no-extend-native
38
+ Date.prototype.toLocaleString = function (locale, options) {
39
+ return originalToLocaleString.call(this, locale, { ...options, timeZone: 'UTC' });
40
+ };
41
+ });
42
+ afterAll(() => {
43
+ // eslint-disable-next-line no-extend-native
44
+ Date.prototype.toLocaleString = originalToLocaleString;
45
+ });
46
+
34
47
  jest.mock('foremanReact/common/hooks/API/APIHooks', () => ({
35
48
  useAPI: jest.fn(() => ({
36
49
  response: mockPermissionsData,
@@ -52,12 +65,14 @@ const initialState = {
52
65
  response: jobInvocationData,
53
66
  },
54
67
  GET_REPORT_TEMPLATES: mockReportTemplatesResponse,
68
+ extendable: {},
55
69
  };
56
70
 
57
71
  const initialStateScheduled = {
58
72
  JOB_INVOCATION_KEY: {
59
73
  response: jobInvocationDataScheduled,
60
74
  },
75
+ extendable: {},
61
76
  };
62
77
 
63
78
  api.get.mockImplementation(({ handleSuccess, ...action }) => {
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: foreman_remote_execution
3
3
  version: !ruby/object:Gem::Version
4
- version: 16.4.1
4
+ version: 16.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Foreman Remote Execution team
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2026-01-07 00:00:00.000000000 Z
10
+ date: 2026-01-19 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: deface