foreman_patch 1.1.3 → 1.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/foreman_patch/version.rb +1 -1
- data/lib/foreman_patch.rb +3 -2
- data/webpack/index.js +8 -0
- data/webpack/src/ForemanPatch.js +11 -0
- data/webpack/src/Router/index.js +14 -0
- data/webpack/src/Router/routes.js +3 -0
- data/webpack/src/index.js +1 -0
- data/webpack/src/reducers.js +7 -0
- metadata +7 -9
- data/public/assets/foreman_patch/cycle_plans-e5667e178ba389908f5c815b24ec0ea77c340849d56bc39c5ce72bb626bd446a.scss +0 -6
- data/public/assets/foreman_patch/cycle_plans-e5667e178ba389908f5c815b24ec0ea77c340849d56bc39c5ce72bb626bd446a.scss.gz +0 -0
- data/public/assets/foreman_patch/foreman_patch-ce5805a60c0d5f896f557ff5246e5a09172043004c850b39bea54e618df1c485.css +0 -1
- data/public/assets/foreman_patch/foreman_patch-ce5805a60c0d5f896f557ff5246e5a09172043004c850b39bea54e618df1c485.css.gz +0 -0
- data/public/assets/foreman_patch/foreman_patch.json +0 -1
- data/public/assets/foreman_patch/plan_edit_windows-e656ba411642a7f983b51958ab30ac49c056322d19295a603cff4d5e6c71c8ed.js +0 -1
- data/public/assets/foreman_patch/plan_edit_windows-e656ba411642a7f983b51958ab30ac49c056322d19295a603cff4d5e6c71c8ed.js.gz +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a473d59ebcdd7af43140d851cf70939590e8c2aed90edad74a25d240731b89ad
|
4
|
+
data.tar.gz: e66e7708d5ed6a818dec500dd47901b73d51bced14eddf14d52a9159b013d6a7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 31dff9df811a5a787b494311e8e59987a3b269cb91f18796a4b1877e87b46f90feb7fb0a11149a552dd2630f7e0881d429aae560ef01a02019cd473552a240f9
|
7
|
+
data.tar.gz: 7152b81be31a962835ee8ac8da132355f5ee845d7ef7b8178d812dc6e338692f13e356988448ece1285d15d744bb7ac3f46693550f684f4788e640f8c80339f1
|
data/lib/foreman_patch.rb
CHANGED
data/webpack/index.js
CHANGED
@@ -2,6 +2,9 @@
|
|
2
2
|
/* eslint-disable import/no-extraneous-dependencies */
|
3
3
|
/* eslint-disable import/extensions */
|
4
4
|
import componentRegistry from 'foremanReact/components/componentRegistry';
|
5
|
+
import { registerReducer } from 'foremanReact/common/MountingService';
|
6
|
+
import reducers from './src/reducers';
|
7
|
+
import ForemanPatch from './src/ForemanPatch';
|
5
8
|
|
6
9
|
import Rounds from './components/Rounds';
|
7
10
|
import Plan from './components/Plan';
|
@@ -17,4 +20,9 @@ const components = [
|
|
17
20
|
{ name: 'RoundProgress', type: RoundProgress },
|
18
21
|
];
|
19
22
|
|
23
|
+
Object.entries(reducers).forEach(([key, reducer]) =>
|
24
|
+
registerReducer(key, reducer)
|
25
|
+
);
|
26
|
+
|
20
27
|
components.forEach(component => componentRegistry.register(component));
|
28
|
+
componentRegistry.register({ name: 'ForemanPatch', type: ForemanPatch });
|
@@ -0,0 +1,14 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import { Switch, Route } from 'react-router-dom';
|
3
|
+
|
4
|
+
import routes from './routes';
|
5
|
+
|
6
|
+
const Router = () => (
|
7
|
+
<Switch>
|
8
|
+
{Object.entries(routes).map(([key, props]) => (
|
9
|
+
<Route key={key} {...props} />
|
10
|
+
))}
|
11
|
+
</Switch>
|
12
|
+
);
|
13
|
+
|
14
|
+
export default Router;
|
@@ -0,0 +1 @@
|
|
1
|
+
export { default } from './ForemanPuppet';
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: foreman_patch
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jason Galens
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-04-
|
11
|
+
date: 2023-04-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: katello
|
@@ -287,13 +287,6 @@ files:
|
|
287
287
|
- locale/foreman_patch.pot
|
288
288
|
- locale/gemspec.rb
|
289
289
|
- package.json
|
290
|
-
- public/assets/foreman_patch/cycle_plans-e5667e178ba389908f5c815b24ec0ea77c340849d56bc39c5ce72bb626bd446a.scss
|
291
|
-
- public/assets/foreman_patch/cycle_plans-e5667e178ba389908f5c815b24ec0ea77c340849d56bc39c5ce72bb626bd446a.scss.gz
|
292
|
-
- public/assets/foreman_patch/foreman_patch-ce5805a60c0d5f896f557ff5246e5a09172043004c850b39bea54e618df1c485.css
|
293
|
-
- public/assets/foreman_patch/foreman_patch-ce5805a60c0d5f896f557ff5246e5a09172043004c850b39bea54e618df1c485.css.gz
|
294
|
-
- public/assets/foreman_patch/foreman_patch.json
|
295
|
-
- public/assets/foreman_patch/plan_edit_windows-e656ba411642a7f983b51958ab30ac49c056322d19295a603cff4d5e6c71c8ed.js
|
296
|
-
- public/assets/foreman_patch/plan_edit_windows-e656ba411642a7f983b51958ab30ac49c056322d19295a603cff4d5e6c71c8ed.js.gz
|
297
290
|
- test/factories/foreman_patch_factories.rb
|
298
291
|
- test/test_plugin_helper.rb
|
299
292
|
- test/unit/foreman_patch_test.rb
|
@@ -360,6 +353,11 @@ files:
|
|
360
353
|
- webpack/components/common/Terminal/Terminal.js
|
361
354
|
- webpack/components/common/Terminal/Terminal.scss
|
362
355
|
- webpack/index.js
|
356
|
+
- webpack/src/ForemanPatch.js
|
357
|
+
- webpack/src/Router/index.js
|
358
|
+
- webpack/src/Router/routes.js
|
359
|
+
- webpack/src/index.js
|
360
|
+
- webpack/src/reducers.js
|
363
361
|
homepage: https://github.com/ludovicus3/foreman_patch
|
364
362
|
licenses:
|
365
363
|
- GPL-3.0
|
Binary file
|
@@ -1 +0,0 @@
|
|
1
|
-
div.event{margin:2px 10px;border:1px solid black;border-color:#d1d1d1;padding:2px 3px}
|
Binary file
|
@@ -1 +0,0 @@
|
|
1
|
-
{"files":{"foreman_patch/plan_edit_windows-e656ba411642a7f983b51958ab30ac49c056322d19295a603cff4d5e6c71c8ed.js":{"logical_path":"foreman_patch/plan_edit_windows.js","mtime":"2022-11-10T10:09:15-05:00","size":144,"digest":"be5de0eef57205a38f90eda24c8f8aed707f5d30e8a5abbc3ce9f198ea55a620","integrity":"sha256-vl3g7vVyBaOPkO2iTI+K7XB/XTDopau8POnxmOpVpiA="},"foreman_patch/foreman_patch-ce5805a60c0d5f896f557ff5246e5a09172043004c850b39bea54e618df1c485.css":{"logical_path":"foreman_patch/foreman_patch.css","mtime":"2022-11-10T10:09:15-05:00","size":87,"digest":"d6fdcb3359ce0ca3edd9a493467bc366b5f2b52a0d3e2fd2b5d1dec121ef31ff","integrity":"sha256-1v3LM1nODKPt2aSTRnvDZrXytSoNPi/StdHewSHvMf8="},"foreman_patch/cycle_plans-e5667e178ba389908f5c815b24ec0ea77c340849d56bc39c5ce72bb626bd446a.scss":{"logical_path":"foreman_patch/cycle_plans.scss","mtime":"2022-11-10T10:09:15-05:00","size":106,"digest":"aa7bb2d36a98d83776b4dd9dd93431ba648b84a37478f93c445eb9bda0f84006","integrity":"sha256-qnuy02qY2Dd2tN2d2TQxumSLhKN0ePk8RF65vaD4QAY="}},"assets":{"foreman_patch/plan_edit_windows.js":"foreman_patch/plan_edit_windows-e656ba411642a7f983b51958ab30ac49c056322d19295a603cff4d5e6c71c8ed.js","foreman_patch/foreman_patch.css":"foreman_patch/foreman_patch-ce5805a60c0d5f896f557ff5246e5a09172043004c850b39bea54e618df1c485.css","foreman_patch/cycle_plans.scss":"foreman_patch/cycle_plans-e5667e178ba389908f5c815b24ec0ea77c340849d56bc39c5ce72bb626bd446a.scss"}}
|
@@ -1 +0,0 @@
|
|
1
|
-
function remove_window_plan(n){$("#windowPlan"+n).remove()}function edit_window_plan(n){form=null==n?null:$("#windowPlans #windowPlanHidden"+n)}
|