foreman_openscap 4.0.2 → 4.0.3

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
  SHA256:
3
- metadata.gz: 66351b5753044871382c381df255b7666a31e08fea8512d1012a3a09b63e7378
4
- data.tar.gz: 5a7a4cf20c67ae0a27365b5d6f9bdb5874aa4aa19cb792a8aaac348a477de104
3
+ metadata.gz: 9252b8e5a2b6e1d8c6fb846ad7d9057ba60791dd5f1dba7a64bb5e38899ddb56
4
+ data.tar.gz: ce78ad017257f0ed398b3e898d4e3245083e0fe6d0c0011e89f4760049090969
5
5
  SHA512:
6
- metadata.gz: 9e172a8489bd6a8df619438aeb1dafa2166241313d5770da82b889ce15193afad019dff653a4b86f014da6841bd3dfc06993fb2e72441091cd707c22907a2122
7
- data.tar.gz: fc59f280bc4614e94dac5d27c7d1806f2cd79b458dce66300eea6f3038533b7a936953a51b91331680b86767846d0b1fcc0f134d45056c2d70284a1b43497bba
6
+ metadata.gz: c15b7190aea03e446fa77c35c162453d93c755888630efc4db503543f823769dba36a3ab071631d522d9ed39d556ab0637758e9dd9cc2e35f019f0c7a20da7e3
7
+ data.tar.gz: 14de584928d7d4f2913deb9c93b9d634a8f5c491929eed27242c8ce05f9cd65927b3df2e9bf1f348d4285cd112500578516b7d0e4bd505b8469216bad65d14aa
@@ -7,9 +7,9 @@ if ForemanOpenscap.with_remote_execution?
7
7
  sync = !Rails.env.test? && Setting[:remote_execution_sync_templates]
8
8
  # import! was renamed to import_raw! around 1.3.1
9
9
  if JobTemplate.respond_to?('import_raw!')
10
- template = JobTemplate.import_raw!(File.read(template), :default => true, :locked => true, :update => sync)
10
+ template = JobTemplate.import_raw!(File.read(template), :default => true, :lock => true, :update => sync)
11
11
  else
12
- template = JobTemplate.import!(File.read(template), :default => true, :locked => true, :update => sync)
12
+ template = JobTemplate.import!(File.read(template), :default => true, :lock => true, :update => sync)
13
13
  end
14
14
  template.organizations = organizations if SETTINGS[:organizations_enabled] && template.present?
15
15
  template.locations = locations if SETTINGS[:locations_enabled] && template.present?
@@ -1,3 +1,3 @@
1
1
  module ForemanOpenscap
2
- VERSION = "4.0.2".freeze
2
+ VERSION = "4.0.3".freeze
3
3
  end
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: 4.0.2
4
+ version: 4.0.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: 2020-08-13 00:00:00.000000000 Z
11
+ date: 2020-09-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -349,52 +349,52 @@ required_rubygems_version: !ruby/object:Gem::Requirement
349
349
  - !ruby/object:Gem::Version
350
350
  version: '0'
351
351
  requirements: []
352
- rubygems_version: 3.1.2
352
+ rubygems_version: 3.0.3
353
353
  signing_key:
354
354
  specification_version: 4
355
355
  summary: Foreman plug-in for displaying OpenSCAP audit reports
356
356
  test_files:
357
+ - test/factories/policy_factory.rb
358
+ - test/factories/compliance_host_factory.rb
357
359
  - test/factories/arf_report_factory.rb
358
360
  - test/factories/asset_factory.rb
359
- - test/factories/compliance_host_factory.rb
360
361
  - test/factories/compliance_log_factory.rb
361
- - test/factories/policy_arf_report_factory.rb
362
- - test/factories/policy_factory.rb
363
362
  - test/factories/scap_content_related.rb
364
- - test/files/arf_report/arf_report.bz2
365
- - test/files/arf_report/arf_report.html
366
- - test/files/arf_report/arf_report.json
367
- - test/files/arf_report/arf_report_msg_desc_changed.json
368
- - test/files/arf_report/arf_report_msg_value_changed.json
369
- - test/files/scap_contents/ssg-fedora-ds.xml
370
- - test/files/tailoring_files/ssg-firefox-ds-tailoring-2.xml
371
- - test/files/tailoring_files/ssg-firefox-ds-tailoring.xml
372
- - test/functional/api/v2/compliance/arf_reports_controller_test.rb
373
- - test/functional/api/v2/compliance/policies_controller_test.rb
363
+ - test/factories/policy_arf_report_factory.rb
364
+ - test/test_plugin_helper.rb
365
+ - test/unit/policy_test.rb
366
+ - test/unit/services/lookup_key_overrider_test.rb
367
+ - test/unit/services/report_dashboard/data_test.rb
368
+ - test/unit/services/hostgroup_overrider_test.rb
369
+ - test/unit/services/config_name_service_test.rb
370
+ - test/unit/services/tailoring_files_proxy_check_test.rb
371
+ - test/unit/policy_mailer_test.rb
372
+ - test/unit/tailoring_file_test.rb
373
+ - test/unit/scap_content_test.rb
374
+ - test/unit/message_cleaner_test.rb
375
+ - test/unit/arf_report_status_calculator_test.rb
376
+ - test/unit/compliance_status_test.rb
377
+ - test/unit/openscap_host_test.rb
378
+ - test/unit/concerns/openscap_proxy_extenstions_test.rb
379
+ - test/unit/concerns/host_extensions_test.rb
380
+ - test/unit/arf_report_test.rb
381
+ - test/lib/foreman_openscap/bulk_upload_test.rb
382
+ - test/functional/tailoring_files_controller_test.rb
374
383
  - test/functional/api/v2/compliance/scap_content_profiles_controller_test.rb
375
- - test/functional/api/v2/compliance/scap_contents_controller_test.rb
376
384
  - test/functional/api/v2/compliance/tailoring_files_controller_test.rb
385
+ - test/functional/api/v2/compliance/policies_controller_test.rb
386
+ - test/functional/api/v2/compliance/scap_contents_controller_test.rb
387
+ - test/functional/api/v2/compliance/arf_reports_controller_test.rb
377
388
  - test/functional/api/v2/hosts_controller_test.rb
378
389
  - test/functional/arf_reports_controller_test.rb
379
390
  - test/functional/openscap_proxies_controller_test.rb
380
- - test/functional/tailoring_files_controller_test.rb
381
- - test/helpers/arf_report_dashboard_helper_test.rb
382
391
  - test/helpers/policy_dashboard_helper_test.rb
383
- - test/lib/foreman_openscap/bulk_upload_test.rb
384
- - test/unit/arf_report_status_calculator_test.rb
385
- - test/unit/arf_report_test.rb
386
- - test/unit/compliance_status_test.rb
387
- - test/unit/concerns/host_extensions_test.rb
388
- - test/unit/concerns/openscap_proxy_extenstions_test.rb
389
- - test/unit/message_cleaner_test.rb
390
- - test/unit/openscap_host_test.rb
391
- - test/unit/policy_mailer_test.rb
392
- - test/unit/scap_content_test.rb
393
- - test/unit/services/config_name_service_test.rb
394
- - test/unit/services/hostgroup_overrider_test.rb
395
- - test/unit/services/lookup_key_overrider_test.rb
396
- - test/unit/services/report_dashboard/data_test.rb
397
- - test/unit/services/tailoring_files_proxy_check_test.rb
398
- - test/unit/tailoring_file_test.rb
399
- - test/unit/policy_test.rb
400
- - test/test_plugin_helper.rb
392
+ - test/helpers/arf_report_dashboard_helper_test.rb
393
+ - test/files/arf_report/arf_report.json
394
+ - test/files/arf_report/arf_report_msg_desc_changed.json
395
+ - test/files/arf_report/arf_report.html
396
+ - test/files/arf_report/arf_report.bz2
397
+ - test/files/arf_report/arf_report_msg_value_changed.json
398
+ - test/files/scap_contents/ssg-fedora-ds.xml
399
+ - test/files/tailoring_files/ssg-firefox-ds-tailoring.xml
400
+ - test/files/tailoring_files/ssg-firefox-ds-tailoring-2.xml