openscap 0.3.0 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -1
- data/lib/openscap/ds/arf.rb +32 -3
- data/lib/openscap/ds/sds.rb +58 -0
- data/lib/openscap/openscap.rb +6 -2
- data/lib/openscap/source.rb +45 -5
- data/lib/openscap/text.rb +55 -0
- data/lib/openscap/version.rb +1 -1
- data/lib/openscap/{helper.rb → xccdf.rb} +6 -6
- data/lib/openscap/xccdf/benchmark.rb +62 -0
- data/lib/openscap/xccdf/profile.rb +43 -0
- data/lib/openscap/xccdf/ruleresult.rb +71 -0
- data/lib/openscap/xccdf/testresult.rb +114 -0
- data/test/common/testcase.rb +11 -0
- data/test/data/invalid.xml +20 -0
- data/test/data/testresult.xml +225 -0
- data/test/data/xccdf.xml +3043 -17
- data/test/ds/arf_test.rb +36 -10
- data/test/ds/sds_test.rb +79 -0
- data/test/integration/arf_waiver_test.rb +99 -0
- data/test/source_test.rb +56 -1
- data/test/text_test.rb +28 -0
- data/test/xccdf/benchmark_test.rb +48 -0
- data/test/xccdf/profile_test.rb +29 -0
- data/test/xccdf/testresult_test.rb +106 -0
- metadata +17 -3
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: openscap
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Simon Lukasik
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-12-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -47,22 +47,36 @@ extensions: []
|
|
47
47
|
extra_rdoc_files: []
|
48
48
|
files:
|
49
49
|
- lib/openscap.rb
|
50
|
+
- lib/openscap/xccdf.rb
|
50
51
|
- lib/openscap/ds/arf.rb
|
52
|
+
- lib/openscap/ds/sds.rb
|
51
53
|
- lib/openscap/libc.rb
|
54
|
+
- lib/openscap/xccdf/testresult.rb
|
55
|
+
- lib/openscap/xccdf/benchmark.rb
|
52
56
|
- lib/openscap/xccdf/session.rb
|
53
|
-
- lib/openscap/
|
57
|
+
- lib/openscap/xccdf/ruleresult.rb
|
58
|
+
- lib/openscap/xccdf/profile.rb
|
54
59
|
- lib/openscap/source.rb
|
55
60
|
- lib/openscap/openscap.rb
|
56
61
|
- lib/openscap/version.rb
|
62
|
+
- lib/openscap/text.rb
|
57
63
|
- lib/openscap/exceptions.rb
|
58
64
|
- test/openscap_test.rb
|
65
|
+
- test/text_test.rb
|
59
66
|
- test/ds/arf_test.rb
|
67
|
+
- test/ds/sds_test.rb
|
60
68
|
- test/data/sds-complex.xml
|
61
69
|
- test/data/xccdf.xml
|
70
|
+
- test/data/invalid.xml
|
71
|
+
- test/data/testresult.xml
|
62
72
|
- test/xccdf/session_test.rb
|
63
73
|
- test/xccdf/session_ds_test.rb
|
74
|
+
- test/xccdf/profile_test.rb
|
75
|
+
- test/xccdf/testresult_test.rb
|
76
|
+
- test/xccdf/benchmark_test.rb
|
64
77
|
- test/common/testcase.rb
|
65
78
|
- test/source_test.rb
|
79
|
+
- test/integration/arf_waiver_test.rb
|
66
80
|
- COPYING
|
67
81
|
- README.md
|
68
82
|
- Rakefile
|