foreman_openscap 1.0.9 → 1.0.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/helpers/foreman_openscap_helper.rb +10 -2
- data/lib/foreman_openscap/version.rb +1 -1
- data/locale/de/foreman_openscap.edit.po +0 -0
- data/locale/en_GB/foreman_openscap.edit.po +0 -0
- data/locale/es/foreman_openscap.edit.po +0 -0
- data/locale/fr/foreman_openscap.edit.po +0 -0
- data/locale/gl/foreman_openscap.edit.po +0 -0
- data/locale/it/foreman_openscap.edit.po +0 -0
- data/locale/ja/foreman_openscap.edit.po +0 -0
- data/locale/ko/foreman_openscap.edit.po +0 -0
- data/locale/pt_BR/foreman_openscap.edit.po +0 -0
- data/locale/ru/foreman_openscap.edit.po +0 -0
- data/locale/sv_SE/foreman_openscap.edit.po +0 -0
- data/locale/zh_CN/foreman_openscap.edit.po +0 -0
- data/locale/zh_TW/foreman_openscap.edit.po +0 -0
- metadata +15 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 87ddf6db13920646845c140e0407a5dbb273b1a9
|
4
|
+
data.tar.gz: c3548218d58677c3cf5851ed068458819284ad1d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e24471d79d5e07ba29882f1e82494d1592ae903b6c2aaab8f5232a5ff9bc9a15da4206268c8c40333162e0e2d7838539917bca0bf6518cf4d03cc0f3ac057013
|
7
|
+
data.tar.gz: e979eacc2fc7f2c9ccc8fc201b8df0468f2ba0a49c9c6d8a492bab62829ade22a0110655771f2413b9901192688b90b73bacee3896052965271b8bb35f2f3b9c
|
@@ -10,7 +10,15 @@ module ForemanOpenscapHelper
|
|
10
10
|
end
|
11
11
|
|
12
12
|
def scap_doc_url(section = '')
|
13
|
-
|
14
|
-
|
13
|
+
return scap_root_url if section.empty?
|
14
|
+
|
15
|
+
documentation_url(section, root_url: scap_root_url)
|
16
|
+
end
|
17
|
+
|
18
|
+
def scap_root_url
|
19
|
+
@scap_root_url ||= begin
|
20
|
+
version = ForemanOpenscap::VERSION.split('.')[0..-2].join('.')
|
21
|
+
"https://theforeman.org/plugins/foreman_openscap/#{version}/index.html"
|
22
|
+
end
|
15
23
|
end
|
16
24
|
end
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
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: 1.0.
|
4
|
+
version: 1.0.10
|
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-
|
11
|
+
date: 2019-11-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: deface
|
@@ -254,32 +254,45 @@ files:
|
|
254
254
|
- locale/Makefile
|
255
255
|
- locale/action_names.rb
|
256
256
|
- locale/de/LC_MESSAGES/foreman_openscap.mo
|
257
|
+
- locale/de/foreman_openscap.edit.po
|
257
258
|
- locale/de/foreman_openscap.po
|
258
259
|
- locale/en_GB/LC_MESSAGES/foreman_openscap.mo
|
260
|
+
- locale/en_GB/foreman_openscap.edit.po
|
259
261
|
- locale/en_GB/foreman_openscap.po
|
260
262
|
- locale/es/LC_MESSAGES/foreman_openscap.mo
|
263
|
+
- locale/es/foreman_openscap.edit.po
|
261
264
|
- locale/es/foreman_openscap.po
|
262
265
|
- locale/foreman_openscap.pot
|
263
266
|
- locale/fr/LC_MESSAGES/foreman_openscap.mo
|
267
|
+
- locale/fr/foreman_openscap.edit.po
|
264
268
|
- locale/fr/foreman_openscap.po
|
265
269
|
- locale/gl/LC_MESSAGES/foreman_openscap.mo
|
270
|
+
- locale/gl/foreman_openscap.edit.po
|
266
271
|
- locale/gl/foreman_openscap.po
|
267
272
|
- locale/it/LC_MESSAGES/foreman_openscap.mo
|
273
|
+
- locale/it/foreman_openscap.edit.po
|
268
274
|
- locale/it/foreman_openscap.po
|
269
275
|
- locale/ja/LC_MESSAGES/foreman_openscap.mo
|
276
|
+
- locale/ja/foreman_openscap.edit.po
|
270
277
|
- locale/ja/foreman_openscap.po
|
271
278
|
- locale/ko/LC_MESSAGES/foreman_openscap.mo
|
279
|
+
- locale/ko/foreman_openscap.edit.po
|
272
280
|
- locale/ko/foreman_openscap.po
|
273
281
|
- locale/pt_BR/LC_MESSAGES/foreman_openscap.mo
|
282
|
+
- locale/pt_BR/foreman_openscap.edit.po
|
274
283
|
- locale/pt_BR/foreman_openscap.po
|
275
284
|
- locale/ru/LC_MESSAGES/foreman_openscap.mo
|
285
|
+
- locale/ru/foreman_openscap.edit.po
|
276
286
|
- locale/ru/foreman_openscap.po
|
277
287
|
- locale/sv_SE/LC_MESSAGES/foreman_openscap.mo
|
288
|
+
- locale/sv_SE/foreman_openscap.edit.po
|
278
289
|
- locale/sv_SE/foreman_openscap.po
|
279
290
|
- locale/zanata.xml
|
280
291
|
- locale/zh_CN/LC_MESSAGES/foreman_openscap.mo
|
292
|
+
- locale/zh_CN/foreman_openscap.edit.po
|
281
293
|
- locale/zh_CN/foreman_openscap.po
|
282
294
|
- locale/zh_TW/LC_MESSAGES/foreman_openscap.mo
|
295
|
+
- locale/zh_TW/foreman_openscap.edit.po
|
283
296
|
- locale/zh_TW/foreman_openscap.po
|
284
297
|
- test/factories/arf_report_factory.rb
|
285
298
|
- test/factories/asset_factory.rb
|