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 +4 -4
- data/db/migrate/20160830113437_remove_deleted_policy.rb +1 -1
- data/lib/foreman_openscap/version.rb +1 -1
- metadata +30 -30
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ad4157deaab66df390533ddf754462b72401a7ba
|
4
|
+
data.tar.gz: 4ca0953424ab3c085461c8a3ae5ed7d53229d86c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
|
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.
|
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-
|
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.
|
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/
|
324
|
-
- test/
|
325
|
-
- test/
|
326
|
-
- test/
|
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/
|
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/
|
346
|
-
- test/
|
347
|
-
- test/
|
348
|
-
- test/
|
349
|
-
- test/
|
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
|