foreman_xen 0.5.4 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/app/models/concerns/foreman_xen/host_helper_extensions.rb +19 -17
- data/app/models/foreman_xen/xenserver.rb +1 -1
- data/lib/foreman_xen/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 38d3e12967ca3a203cf8eddc4fe6e21140a8c3e144106445caa4ad58537aba44
|
4
|
+
data.tar.gz: 476f8f8724212ff5957dc0ef97db17e2dc429dc9ecbba13744294b61c2e859a4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5ce56cbd64536a09f48107d62736fede701aded7459f4c75efacda2013a6990539b02d8df3e4d4073e47e00662da20e5e366cfad5098e8bf56704d482cfe126f
|
7
|
+
data.tar.gz: c2dcc3d30d8367684f0300d0038ea4da13d6a681097b7711b128149d17ffc50cbdb095dd8d2bb8a17725e8a9efcc8ed113ef25e109c4b50d79cd4df7d906efd7
|
data/README.md
CHANGED
@@ -2,27 +2,29 @@ module ForemanXen
|
|
2
2
|
module HostHelperExtensions
|
3
3
|
extend ActiveSupport::Concern
|
4
4
|
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
:id => :xen_snap_button,
|
19
|
-
:class => 'btn btn-default'
|
5
|
+
module Overrides
|
6
|
+
def host_title_actions(host)
|
7
|
+
unless @host.compute_resource.nil?
|
8
|
+
if @host.compute_resource.type == 'ForemanXen::Xenserver'
|
9
|
+
title_actions(
|
10
|
+
button_group(
|
11
|
+
link_to(
|
12
|
+
_('Xen Snapshots'),
|
13
|
+
"../foreman_xen/snapshots/#{@host.id}/",
|
14
|
+
:title => _('Manage machine snapshots'),
|
15
|
+
:id => :xen_snap_button,
|
16
|
+
:class => 'btn btn-default'
|
17
|
+
)
|
20
18
|
)
|
21
19
|
)
|
22
|
-
|
20
|
+
end
|
23
21
|
end
|
22
|
+
super(host)
|
24
23
|
end
|
25
|
-
|
24
|
+
end
|
25
|
+
|
26
|
+
included do
|
27
|
+
prepend Overrides
|
26
28
|
end
|
27
29
|
end
|
28
30
|
end
|
data/lib/foreman_xen/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: foreman_xen
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Pavel Nemirovsky
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2018-05-
|
13
|
+
date: 2018-05-04 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: fog-xenserver
|
@@ -83,7 +83,7 @@ files:
|
|
83
83
|
- test/test_helper.rb
|
84
84
|
homepage: http://github.com/theforeman/foreman-xen
|
85
85
|
licenses:
|
86
|
-
- GPL-3
|
86
|
+
- GPL-3
|
87
87
|
metadata: {}
|
88
88
|
post_install_message:
|
89
89
|
rdoc_options: []
|