foreman_snapshot_management 2.0.3 → 3.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (46) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +6 -4
  3. data/Rakefile +1 -1
  4. data/app/assets/javascripts/foreman_snapshot_management/locale/cs_CZ/foreman_snapshot_management.js +203 -0
  5. data/app/assets/javascripts/foreman_snapshot_management/locale/de/foreman_snapshot_management.js +201 -0
  6. data/app/assets/javascripts/foreman_snapshot_management/locale/el/foreman_snapshot_management.js +201 -0
  7. data/app/assets/javascripts/foreman_snapshot_management/locale/en/foreman_snapshot_management.js +198 -0
  8. data/app/assets/javascripts/foreman_snapshot_management/locale/fr/foreman_snapshot_management.js +203 -0
  9. data/app/assets/javascripts/foreman_snapshot_management/locale/ja/foreman_snapshot_management.js +199 -0
  10. data/app/assets/javascripts/foreman_snapshot_management/locale/ka/foreman_snapshot_management.js +201 -0
  11. data/app/assets/javascripts/foreman_snapshot_management/locale/zh_CN/foreman_snapshot_management.js +199 -0
  12. data/app/controllers/api/v2/snapshots_controller.rb +5 -4
  13. data/app/controllers/foreman_snapshot_management/snapshots_controller.rb +6 -4
  14. data/app/helpers/foreman_snapshot_management/hosts_helper.rb +16 -0
  15. data/app/models/concerns/fog_extensions/proxmox/snapshots/mock.rb +1 -1
  16. data/app/models/concerns/fog_extensions/vsphere/snapshots/mock.rb +2 -2
  17. data/app/models/concerns/fog_extensions/vsphere/snapshots/real.rb +1 -1
  18. data/app/models/foreman_snapshot_management/proxmox_extensions.rb +2 -1
  19. data/app/models/foreman_snapshot_management/snapshot.rb +11 -10
  20. data/config/routes.rb +1 -1
  21. data/lib/foreman_snapshot_management/engine.rb +24 -29
  22. data/lib/foreman_snapshot_management/version.rb +1 -1
  23. data/lib/tasks/foreman_snapshot_management_tasks.rake +1 -1
  24. data/locale/Makefile +7 -8
  25. data/locale/cs_CZ/LC_MESSAGES/foreman_snapshot_management.mo +0 -0
  26. data/locale/cs_CZ/foreman_snapshot_management.po +12 -4
  27. data/locale/de/LC_MESSAGES/foreman_snapshot_management.mo +0 -0
  28. data/locale/de/foreman_snapshot_management.po +12 -4
  29. data/locale/el/LC_MESSAGES/foreman_snapshot_management.mo +0 -0
  30. data/locale/el/foreman_snapshot_management.po +12 -4
  31. data/locale/fr/LC_MESSAGES/foreman_snapshot_management.mo +0 -0
  32. data/locale/fr/foreman_snapshot_management.po +12 -4
  33. data/locale/ja/LC_MESSAGES/foreman_snapshot_management.mo +0 -0
  34. data/locale/ja/foreman_snapshot_management.po +12 -4
  35. data/locale/ka/LC_MESSAGES/foreman_snapshot_management.mo +0 -0
  36. data/locale/ka/foreman_snapshot_management.po +12 -4
  37. data/locale/zh_CN/LC_MESSAGES/foreman_snapshot_management.mo +0 -0
  38. data/locale/zh_CN/foreman_snapshot_management.po +12 -4
  39. data/package.json +1 -1
  40. data/test/controllers/api/v2/snapshots_test.rb +1 -1
  41. data/test/controllers/foreman_snapshot_management/snapshots_controller_test.rb +1 -1
  42. data/webpack/components/SnapshotManagementCard/SnapshotManagementCard.js +12 -9
  43. data/webpack/components/SnapshotManagementCard/__tests__/SnapshotManagementCard.test.js +1 -0
  44. data/webpack/components/SnapshotManagementCard/__tests__/__snapshots__/SnapshotManagementCard.test.js.snap +1 -16
  45. metadata +16 -8
  46. data/app/helpers/concerns/foreman_snapshot_management/hosts_helper_extension.rb +0 -9
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: 2.0.3
4
+ version: 3.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - ATIX AG
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-02-17 00:00:00.000000000 Z
11
+ date: 2024-01-08 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/concerns/foreman_snapshot_management/hosts_helper_extension.rb
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
@@ -112,7 +120,7 @@ homepage: https://www.orcharhino.com
112
120
  licenses:
113
121
  - GPL-3.0-only
114
122
  metadata: {}
115
- post_install_message:
123
+ post_install_message:
116
124
  rdoc_options: []
117
125
  require_paths:
118
126
  - lib
@@ -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.2.5
131
- signing_key:
138
+ rubygems_version: 3.3.15
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
@@ -1,9 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module ForemanSnapshotManagement
4
- module HostsHelperExtension
5
- def multiple_actions
6
- super + [[_('Create Snapshot'), select_multiple_host_snapshots_path]]
7
- end
8
- end
9
- end