foreman_snapshot_management 2.0.3 → 3.0.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 +4 -4
- data/README.md +6 -4
- data/Rakefile +1 -1
- data/app/assets/javascripts/foreman_snapshot_management/locale/cs_CZ/foreman_snapshot_management.js +203 -0
- data/app/assets/javascripts/foreman_snapshot_management/locale/de/foreman_snapshot_management.js +201 -0
- data/app/assets/javascripts/foreman_snapshot_management/locale/el/foreman_snapshot_management.js +201 -0
- data/app/assets/javascripts/foreman_snapshot_management/locale/en/foreman_snapshot_management.js +198 -0
- data/app/assets/javascripts/foreman_snapshot_management/locale/fr/foreman_snapshot_management.js +203 -0
- data/app/assets/javascripts/foreman_snapshot_management/locale/ja/foreman_snapshot_management.js +199 -0
- data/app/assets/javascripts/foreman_snapshot_management/locale/ka/foreman_snapshot_management.js +201 -0
- data/app/assets/javascripts/foreman_snapshot_management/locale/zh_CN/foreman_snapshot_management.js +199 -0
- data/app/controllers/api/v2/snapshots_controller.rb +5 -4
- data/app/controllers/foreman_snapshot_management/snapshots_controller.rb +6 -4
- data/app/helpers/foreman_snapshot_management/hosts_helper.rb +16 -0
- data/app/models/concerns/fog_extensions/proxmox/snapshots/mock.rb +1 -1
- data/app/models/concerns/fog_extensions/vsphere/snapshots/mock.rb +2 -2
- data/app/models/concerns/fog_extensions/vsphere/snapshots/real.rb +1 -1
- data/app/models/foreman_snapshot_management/proxmox_extensions.rb +2 -1
- data/app/models/foreman_snapshot_management/snapshot.rb +11 -10
- data/config/routes.rb +1 -1
- data/lib/foreman_snapshot_management/engine.rb +24 -29
- data/lib/foreman_snapshot_management/version.rb +1 -1
- data/lib/tasks/foreman_snapshot_management_tasks.rake +1 -1
- data/locale/Makefile +7 -8
- data/locale/cs_CZ/LC_MESSAGES/foreman_snapshot_management.mo +0 -0
- data/locale/cs_CZ/foreman_snapshot_management.po +12 -4
- data/locale/de/LC_MESSAGES/foreman_snapshot_management.mo +0 -0
- data/locale/de/foreman_snapshot_management.po +12 -4
- data/locale/el/LC_MESSAGES/foreman_snapshot_management.mo +0 -0
- data/locale/el/foreman_snapshot_management.po +12 -4
- data/locale/fr/LC_MESSAGES/foreman_snapshot_management.mo +0 -0
- data/locale/fr/foreman_snapshot_management.po +12 -4
- data/locale/ja/LC_MESSAGES/foreman_snapshot_management.mo +0 -0
- data/locale/ja/foreman_snapshot_management.po +12 -4
- data/locale/ka/LC_MESSAGES/foreman_snapshot_management.mo +0 -0
- data/locale/ka/foreman_snapshot_management.po +12 -4
- data/locale/zh_CN/LC_MESSAGES/foreman_snapshot_management.mo +0 -0
- data/locale/zh_CN/foreman_snapshot_management.po +12 -4
- data/package.json +7 -13
- data/test/controllers/api/v2/snapshots_test.rb +1 -1
- data/test/controllers/foreman_snapshot_management/snapshots_controller_test.rb +1 -1
- data/webpack/components/SnapshotManagementCard/SnapshotManagementCard.js +12 -9
- data/webpack/components/SnapshotManagementCard/__tests__/SnapshotManagementCard.test.js +1 -0
- data/webpack/components/SnapshotManagementCard/__tests__/__snapshots__/SnapshotManagementCard.test.js.snap +1 -16
- data/webpack/test_setup.js +0 -4
- metadata +13 -5
- data/app/helpers/concerns/foreman_snapshot_management/hosts_helper_extension.rb +0 -9
|
@@ -114,19 +114,4 @@ exports[`SnapshotManagementCard renders with VMWare capabilities 1`] = `
|
|
|
114
114
|
</CardTemplate>
|
|
115
115
|
`;
|
|
116
116
|
|
|
117
|
-
exports[`SnapshotManagementCard renders without optional Props 1`] = `
|
|
118
|
-
<CardTemplate
|
|
119
|
-
expandable={false}
|
|
120
|
-
header="Snapshots"
|
|
121
|
-
masonryLayout={false}
|
|
122
|
-
overrideDropdownProps={Object {}}
|
|
123
|
-
overrideGridProps={
|
|
124
|
-
Object {
|
|
125
|
-
"lg": 8,
|
|
126
|
-
"md": 12,
|
|
127
|
-
"xl": 8,
|
|
128
|
-
"xl2": 6,
|
|
129
|
-
}
|
|
130
|
-
}
|
|
131
|
-
/>
|
|
132
|
-
`;
|
|
117
|
+
exports[`SnapshotManagementCard renders without optional Props 1`] = `""`;
|
data/webpack/test_setup.js
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import 'core-js/shim';
|
|
2
2
|
import 'regenerator-runtime/runtime';
|
|
3
|
-
import MutationObserver from '@sheerun/mutationobserver-shim';
|
|
4
3
|
|
|
5
4
|
import { configure } from 'enzyme';
|
|
6
5
|
import Adapter from 'enzyme-adapter-react-16';
|
|
@@ -12,6 +11,3 @@ global.__ = text => text; // eslint-disable-line
|
|
|
12
11
|
|
|
13
12
|
// Mocking locales to prevent unnecessary fallback messages
|
|
14
13
|
window.locales = { en: { domain: 'app', locale_data: { app: { '': {} } } } };
|
|
15
|
-
|
|
16
|
-
// see https://github.com/testing-library/dom-testing-library/releases/tag/v7.0.0
|
|
17
|
-
window.MutationObserver = MutationObserver;
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: foreman_snapshot_management
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version:
|
|
4
|
+
version: 3.0.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- ATIX AG
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2024-04-15 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description: Foreman-plugin to manage snapshots in a virtual-hardware environments.
|
|
14
14
|
email:
|
|
@@ -20,10 +20,18 @@ files:
|
|
|
20
20
|
- LICENSE
|
|
21
21
|
- README.md
|
|
22
22
|
- Rakefile
|
|
23
|
+
- app/assets/javascripts/foreman_snapshot_management/locale/cs_CZ/foreman_snapshot_management.js
|
|
24
|
+
- app/assets/javascripts/foreman_snapshot_management/locale/de/foreman_snapshot_management.js
|
|
25
|
+
- app/assets/javascripts/foreman_snapshot_management/locale/el/foreman_snapshot_management.js
|
|
26
|
+
- app/assets/javascripts/foreman_snapshot_management/locale/en/foreman_snapshot_management.js
|
|
27
|
+
- app/assets/javascripts/foreman_snapshot_management/locale/fr/foreman_snapshot_management.js
|
|
28
|
+
- app/assets/javascripts/foreman_snapshot_management/locale/ja/foreman_snapshot_management.js
|
|
29
|
+
- app/assets/javascripts/foreman_snapshot_management/locale/ka/foreman_snapshot_management.js
|
|
30
|
+
- app/assets/javascripts/foreman_snapshot_management/locale/zh_CN/foreman_snapshot_management.js
|
|
23
31
|
- app/controllers/api/v2/snapshots_controller.rb
|
|
24
32
|
- app/controllers/concerns/foreman/controller/parameters/snapshot.rb
|
|
25
33
|
- app/controllers/foreman_snapshot_management/snapshots_controller.rb
|
|
26
|
-
- app/helpers/
|
|
34
|
+
- app/helpers/foreman_snapshot_management/hosts_helper.rb
|
|
27
35
|
- app/helpers/foreman_snapshot_management/snapshot_helper.rb
|
|
28
36
|
- app/models/concerns/fog_extensions/proxmox/snapshots/mock.rb
|
|
29
37
|
- app/models/concerns/fog_extensions/vsphere/snapshots/mock.rb
|
|
@@ -127,12 +135,12 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
127
135
|
- !ruby/object:Gem::Version
|
|
128
136
|
version: '0'
|
|
129
137
|
requirements: []
|
|
130
|
-
rubygems_version: 3.
|
|
138
|
+
rubygems_version: 3.3.26
|
|
131
139
|
signing_key:
|
|
132
140
|
specification_version: 4
|
|
133
141
|
summary: Snapshot Management for machines on virtualization-platforms
|
|
134
142
|
test_files:
|
|
135
|
-
- test/controllers/foreman_snapshot_management/snapshots_controller_test.rb
|
|
136
143
|
- test/controllers/api/v2/snapshots_test.rb
|
|
144
|
+
- test/controllers/foreman_snapshot_management/snapshots_controller_test.rb
|
|
137
145
|
- test/factories/proxmox_factory.rb
|
|
138
146
|
- test/test_plugin_helper.rb
|