File tree Expand file tree Collapse file tree 2 files changed +26
-2
lines changed Expand file tree Collapse file tree 2 files changed +26
-2
lines changed Original file line number Diff line number Diff line change 3
3
.settings
4
4
test /output
5
5
.idea
6
+ openscap- * .gem
Original file line number Diff line number Diff line change @@ -23,7 +23,30 @@ Sample Scanner Implementation
23
23
24
24
Development Requirements
25
25
-------------
26
- On fedora you can install requirements by issuing
26
+ On Fedora, command is
27
27
28
- dnf install ruby-devel rubygem-ffi rubygem-rake rubygem-bundler openscap
28
+ dnf install ruby-devel rubygem-rake rubygem-ffi rubygem-bundler openscap
29
+
30
+ On RHEL you can install requirements by issuing
31
+
32
+ yum install ruby-devel rubygem-rake rubygem-bundler openscap
33
+ gem install ffi # or install rubygem-ffi RPM package from EPEL
34
+
35
+
36
+ Test Requirements
37
+ -------------
38
+ On Fedora, more packages are necessary, but rubocop can be of the latest version
39
+
40
+ dnf install rubygem-minitest rubygem-test-unit rubygems-devel bzip2
29
41
gem install rubocop
42
+
43
+ For tests on RHEL7, you need minitest package and specific older version of rubocop.
44
+ Newer versions of rubocop requires Ruby >= 2.1.0
45
+
46
+ yum install rubygem-minitest bzip2
47
+ gem install rubocop -v 0.50.0
48
+
49
+ Tests are then performed using script
50
+
51
+ ./runtest.sh
52
+
You can’t perform that action at this time.
0 commit comments