foreman_openscap 0.7.9 → 0.7.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: 04b41cc23453fdb1d7229c5ba811774c1f9cd118
4
- data.tar.gz: f96cdf0e6f73aa48b85ea9589325d6457a4e909a
3
+ metadata.gz: ad4157deaab66df390533ddf754462b72401a7ba
4
+ data.tar.gz: 4ca0953424ab3c085461c8a3ae5ed7d53229d86c
5
5
  SHA512:
6
- metadata.gz: 70f7c7df9e55fd79e5781dbfc2326b932c7214d37b42ece3bc7b8584710b9518a78da9f7e55fea13b20ec580e03c02966f47a99d6f308d2a4e61a8fff4a21e13
7
- data.tar.gz: 7fdd61dbbee9fe35a30bb31ed09a745ae24c8f15c84c0386dfc44d5f03a113f80a1c20513d05e42ceefb4e6be287b8db50e62f16855fb6266efb3e3e232f5ec5
6
+ metadata.gz: c5c0ca9b12945799c94d9472e2f0964c1a9971216d2e008b3705642af371a4b8e5bc645f60d4a018cced788fa61ee6b54795aef720476add1bd66436a58d0dd5
7
+ data.tar.gz: 73094775f64cebfad019aa3853946aaf934c7d83541bd5a34090f9bd905e095190787b319768efd482041e2ec10bb7402d6cb4c997d104ee20445f8d3d18f3a2
@@ -1,7 +1,7 @@
1
1
  class RemoveDeletedPolicy < ActiveRecord::Migration
2
2
  def up
3
3
  ForemanOpenscap::AssetPolicy.all.collect(&:policy_id).uniq.each do |policy_id|
4
- execute("DELETE FROM foreman_openscap_asset_policies WHERE policy_id = '#{policy_id}';") if ForemanOpenscap::Policy.find_by(id: policy_id).nil?
4
+ execute("DELETE FROM foreman_openscap_asset_policies WHERE policy_id = '#{policy_id}';") if ForemanOpenscap::Policy.unscoped.find_by(id: policy_id).nil?
5
5
  end
6
6
  end
7
7
 
@@ -1,3 +1,3 @@
1
1
  module ForemanOpenscap
2
- VERSION = "0.7.9".freeze
2
+ VERSION = "0.7.10".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: 0.7.9
4
+ version: 0.7.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: 2017-10-12 00:00:00.000000000 Z
11
+ date: 2017-10-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: deface
@@ -315,45 +315,45 @@ required_rubygems_version: !ruby/object:Gem::Requirement
315
315
  version: '0'
316
316
  requirements: []
317
317
  rubyforge_project:
318
- rubygems_version: 2.4.6
318
+ rubygems_version: 2.6.8
319
319
  signing_key:
320
320
  specification_version: 4
321
321
  summary: Foreman plug-in for displaying OpenSCAP audit reports
322
322
  test_files:
323
- - test/functional/tailoring_files_controller_test.rb
324
- - test/functional/api/v2/compliance/tailoring_files_controller_test.rb
325
- - test/functional/api/v2/compliance/policies_controller_test.rb
326
- - test/functional/api/v2/compliance/scap_contents_controller_test.rb
323
+ - test/lib/foreman_openscap/bulk_upload_test.rb
324
+ - test/unit/message_cleaner_test.rb
325
+ - test/unit/scap_content_test.rb
326
+ - test/unit/concerns/openscap_proxy_extenstions_test.rb
327
+ - test/unit/concerns/host_extensions_test.rb
328
+ - test/unit/openscap_host_test.rb
329
+ - test/unit/tailoring_file_test.rb
330
+ - test/unit/policy_test.rb
331
+ - test/unit/compliance_status_test.rb
332
+ - test/unit/arf_report_status_calculator_test.rb
333
+ - test/unit/policy_mailer_test.rb
334
+ - test/unit/services/tailoring_files_proxy_check_test.rb
335
+ - test/unit/services/report_dashboard/data_test.rb
336
+ - test/unit/arf_report_test.rb
337
+ - test/test_plugin_helper.rb
338
+ - test/functional/arf_reports_controller_test.rb
327
339
  - test/functional/api/v2/compliance/arf_reports_controller_test.rb
340
+ - test/functional/api/v2/compliance/scap_contents_controller_test.rb
341
+ - test/functional/api/v2/compliance/policies_controller_test.rb
342
+ - test/functional/api/v2/compliance/tailoring_files_controller_test.rb
328
343
  - test/functional/openscap_proxies_controller_test.rb
329
- - test/functional/arf_reports_controller_test.rb
344
+ - test/functional/tailoring_files_controller_test.rb
330
345
  - test/factories/asset_factory.rb
331
- - test/factories/compliance_host_factory.rb
332
- - test/factories/scap_content_related.rb
333
346
  - test/factories/compliance_log_factory.rb
334
347
  - test/factories/arf_report_factory.rb
348
+ - test/factories/scap_content_related.rb
349
+ - test/factories/compliance_host_factory.rb
335
350
  - test/factories/policy_arf_report_factory.rb
336
351
  - test/factories/policy_factory.rb
337
- - test/files/arf_report/arf_report.bz2
338
- - test/files/arf_report/arf_report.json
339
- - test/files/arf_report/arf_report_msg_value_changed.json
340
- - test/files/arf_report/arf_report_msg_desc_changed.json
341
- - test/files/arf_report/arf_report.html
342
352
  - test/files/scap_contents/ssg-fedora-ds.xml
343
353
  - test/files/tailoring_files/ssg-firefox-ds-tailoring-2.xml
344
354
  - test/files/tailoring_files/ssg-firefox-ds-tailoring.xml
345
- - test/lib/foreman_openscap/bulk_upload_test.rb
346
- - test/test_plugin_helper.rb
347
- - test/unit/arf_report_status_calculator_test.rb
348
- - test/unit/compliance_status_test.rb
349
- - test/unit/arf_report_test.rb
350
- - test/unit/policy_mailer_test.rb
351
- - test/unit/tailoring_file_test.rb
352
- - test/unit/message_cleaner_test.rb
353
- - test/unit/openscap_host_test.rb
354
- - test/unit/scap_content_test.rb
355
- - test/unit/concerns/openscap_proxy_extenstions_test.rb
356
- - test/unit/concerns/host_extensions_test.rb
357
- - test/unit/services/report_dashboard/data_test.rb
358
- - test/unit/services/tailoring_files_proxy_check_test.rb
359
- - test/unit/policy_test.rb
355
+ - test/files/arf_report/arf_report_msg_value_changed.json
356
+ - test/files/arf_report/arf_report.bz2
357
+ - test/files/arf_report/arf_report_msg_desc_changed.json
358
+ - test/files/arf_report/arf_report.json
359
+ - test/files/arf_report/arf_report.html