foreman_nutanix 0.0.1 → 0.0.2

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: 72f1e26e3c671aaf28a8bac7d0cf5096d806b68f6eb5f0cc0a804f00fc093615
4
- data.tar.gz: b7208fcee1fbc1862cb51660450768dcded3667515d26497e82feb277f645c3f
3
+ metadata.gz: '027238040c344ca3341abaab35032e996594c6b178f98e9b5ce63123e2f652f2'
4
+ data.tar.gz: 89e729a1d3fae9f47bb87ad543af657b9ef6f7e914a76654a552c8513926b554
5
5
  SHA512:
6
- metadata.gz: 7821fc531b943cf9fd9313275250de30f98147e9e7d3b677d5cd1d1162d309c21a0f8f659e32a642c3f03121d0db3ad82745e31c222487634f401611c8a2e966
7
- data.tar.gz: 05f0992cc5f62bf0981bfa5b3525f41b880bd8a0553ae14c72e3778769660a926e19b8b15a6920aadd24404a29979364b435d1dc18aada78a8e116603acc41ce
6
+ metadata.gz: 4a00fcbb45acad9af0a90646eefbf0edf497a606f494ade5fe706543979826dce1b692d1290220ac69497163788455ccd15313d8e3f94bd4de6970ced036fca7
7
+ data.tar.gz: 6a575466d0d9865a670114e5ca983cf88c3436fc5108fddc61e6409a94b6a3d692902203b4e618bb2e80640bed7b4bc8b639da723d9b47bb77885bdc288a7c50
@@ -1,3 +1,3 @@
1
1
  module ForemanNutanix
2
- VERSION = '0.0.1'.freeze
2
+ VERSION = '0.0.2'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: foreman_nutanix
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - The Foreman Team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-11-27 00:00:00.000000000 Z
11
+ date: 2025-11-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rdoc
@@ -49,9 +49,7 @@ files:
49
49
  - app/views/compute_resources/show/_nutanix.html.erb
50
50
  - app/views/compute_resources_vms/form/nutanix/_base.html.erb
51
51
  - app/views/compute_resources_vms/form/nutanix/_volume.html.erb
52
- - app/views/compute_resources_vms/index/_gce.html.erb
53
52
  - app/views/compute_resources_vms/index/_nutanix.html.erb
54
- - app/views/compute_resources_vms/show/_gce.html.erb
55
53
  - app/views/compute_resources_vms/show/_nutanix.html.erb
56
54
  - config/initializers/zeitwerk.rb
57
55
  - config/routes.rb
@@ -1,41 +0,0 @@
1
- <thead>
2
- <tr>
3
- <th><%= _("Name") %></th>
4
- <th><%= _("Type") %></th>
5
- <th><%= _("State") %></th>
6
- <th><%= _("Actions") %></th>
7
- </tr>
8
- </thead>
9
- <tbody>
10
- <% @vms.each do |vm| %>
11
- <% view_path =
12
- hash_for_compute_resource_vm_path(
13
- compute_resource_id: @compute_resource,
14
- id: vm.identity,
15
- ).merge(
16
- auth_object: @compute_resource.id,
17
- auth_action: "view",
18
- authorizer: authorizer,
19
- )
20
- delete_link =
21
- display_delete_if_authorized(
22
- hash_for_compute_resource_vm_path(
23
- compute_resource_id: @compute_resource,
24
- id: vm.identity,
25
- ).merge(auth_object: @compute_resource, authorizer: authorizer),
26
- ) %>
27
- <tr>
28
- <td><%= link_to_if_authorized vm.name, view_path %></td>
29
- <td><%= vm.pretty_machine_type %></td>
30
- <td><%= vm.status.downcase %></td>
31
- <td>
32
- <%= action_buttons(
33
- vm_power_action(vm, authorizer),
34
- vm_import_action(vm),
35
- vm_associate_link(vm),
36
- delete_link,
37
- ) %>
38
- </td>
39
- </tr>
40
- <% end %>
41
- </tbody>
@@ -1,18 +0,0 @@
1
- <% title @vm.name %>
2
-
3
- <div class='col-md-12'>
4
- <table class="<%= table_css_classes %>">
5
- <thead>
6
- <tr><th colspan="2"><%= _("Properties") %></th></tr>
7
- </thead>
8
- <tbody>
9
- <tr>
10
- <td>Created</td>
11
- <td><%= date_time_relative(@vm.creation_timestamp) %></td>
12
- </tr>
13
- <%= prop :private_ip_address %>
14
- <%= prop :public_ip_address %>
15
- <%= prop :pretty_image_name, _("Image") %>
16
- </tbody>
17
- </table>
18
- </div>