foreman_openscap 0.12.2 → 0.12.3
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/app/helpers/foreman_openscap_helper.rb +2 -0
- data/app/helpers/policies_helper.rb +2 -2
- data/lib/foreman_openscap/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ce7f1231ac98c8b2e24699151fda71aba37f3561
|
|
4
|
+
data.tar.gz: e8631cb1cc2a02dcaa84f14d974ad4d45dad804d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 178205d8a72c403f737e468b5bfef78327de3838545e28d7c776c8e6e8fa509854ff86dbea99ba710df84292e66a93b2ac9c280ba72c4e7d878bcc4d18db67e6
|
|
7
|
+
data.tar.gz: 5062f40577ecd10899465ffd45c4d384dd3c5c8e939e0fdc23957c718d3284a0798d2e8db8c5d7db72c55a0c4677d8f76f65985cd4926af2ccff17ef9c6e5aff
|
|
@@ -30,7 +30,7 @@ module PoliciesHelper
|
|
|
30
30
|
end
|
|
31
31
|
|
|
32
32
|
def config_inline_help(help_hash)
|
|
33
|
-
link = if help_hash[:route_helper_method]
|
|
33
|
+
link = if help_hash[:route_helper_method] && respond_to?(help_hash[:route_helper_method])
|
|
34
34
|
link_to_if_authorized help_hash[:replace_text], public_send(help_hash[:route_helper_method])
|
|
35
35
|
else
|
|
36
36
|
help_hash[:replace_text]
|
|
@@ -108,7 +108,6 @@ module PoliciesHelper
|
|
|
108
108
|
content_tag(:div, :class => "form-actions") do
|
|
109
109
|
text = overwrite ? overwrite : _("Submit")
|
|
110
110
|
options = { :class => "btn btn-primary" }
|
|
111
|
-
options[:'data-id'] = form_to_submit_id(form) unless options.key?(:'data-id')
|
|
112
111
|
previous = form.object.first_step? ? ' ' : previous_link(form)
|
|
113
112
|
cancel_and_submit = content_tag(:div, :class => "pull-right") do
|
|
114
113
|
link_to(_("Cancel"), args[:cancel_path], :class => "btn btn-default") + ' ' +
|
|
@@ -141,6 +140,7 @@ module PoliciesHelper
|
|
|
141
140
|
def policy_breadcrumbs
|
|
142
141
|
if @policy
|
|
143
142
|
breadcrumbs(:resource_url => api_compliance_policies_path,
|
|
143
|
+
:name_field => 'name',
|
|
144
144
|
:items => [
|
|
145
145
|
{ :caption => _('Policies'),
|
|
146
146
|
:url => url_for(policies_path) },
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: foreman_openscap
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.12.
|
|
4
|
+
version: 0.12.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- slukasik@redhat.com
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-
|
|
11
|
+
date: 2019-04-11 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: deface
|