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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c2f96f75e92ea6a90059936e4fd04f011bb7d611
4
- data.tar.gz: 2367475cc432b886fde4ee2f4f04bd4a96f4a5e7
3
+ metadata.gz: 87ddf6db13920646845c140e0407a5dbb273b1a9
4
+ data.tar.gz: c3548218d58677c3cf5851ed068458819284ad1d
5
5
  SHA512:
6
- metadata.gz: 5b274cb4438466a6e64d26aa156a01eb73874b07bb8c2961258ec28e71ae593a86b801b7c6f329482c9445b9c6e3d4c4f9ee7f0c3bb2ae9959e631ea2abc756d
7
- data.tar.gz: 2903776ce7a7a94f76f3abb994ca8cc3cf096a062c59f539515380a4d9b85cb4b89c38a2886f3f316b3599ced55b360af4ef9a489b83b556a0ff78128b38816b
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
- version = ForemanOpenscap::VERSION.split('.')[0..-2].join('.')
14
- "https://theforeman.org/plugins/foreman_openscap/#{version}/index.html#{section}"
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
@@ -1,3 +1,3 @@
1
1
  module ForemanOpenscap
2
- VERSION = "1.0.9".freeze
2
+ VERSION = "1.0.10".freeze
3
3
  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.9
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-01 00:00:00.000000000 Z
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