Imran Iqbal
|
cb2758d86e
|
test(freebsd): add specific tests for FreeBSD
|
pirms 3 gadiem |
Daniel Dehennin
|
b8e3c2c2fa
|
chore(rubocop): allow use of `YAML.load` for `_mapdata.rb` [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/296
|
pirms 3 gadiem |
Imran Iqbal
|
2154f60c51
|
chore: standardise structure (`.gitignore` & `_mapdata.rb`) [skip ci]
* Automated using https://github.com/myii/ssf-formula/pull/292
|
pirms 4 gadiem |
Imran Iqbal
|
46ad65e39e
|
refactor(map): use top-level `values:` key in `map.jinja` dumps
* Semi-automated using https://github.com/myii/ssf-formula/pull/284
|
pirms 4 gadiem |
Imran Iqbal
|
1a4d20877c
|
test: fix rubocop violations
Use method:
1. `rubocop -a --safe`
2. `rubocop -A --safe`
3. Use `rubocop:disable`
```
Offenses:
test/integration/default/controls/config_spec.rb:1:1: C: Style/FrozenStringLiteralComment: Missing frozen string literal
comment.
control 'Php configuration' do
^
test/integration/default/controls/config_spec.rb:4:3: C: Metrics/AbcSize: Assignment Branch Condition size for
test_debian is too high. [<0, 26, 0> 26/17]
(http://c2.com/cgi/wiki?AbcMetric, https://en.wikipedia.org/wiki/ABC_Software_Metric)
def test_debian ...
^^^^^^^^^^^^^^^
test/integration/default/controls/config_spec.rb:4:3: C: Metrics/MethodLength: Method has too many lines. [14/10]
(https://rubystyle.guide#short-methods)
def test_debian ...
^^^^^^^^^^^^^^^
test/integration/default/controls/config_spec.rb:24:3: C: Style/EmptyMethod: Put empty method definitions on a single
line. (https://rubystyle.guide#no-single-line-methods)
def test_redhat ...
^^^^^^^^^^^^^^^
test/integration/default/controls/config_spec.rb:27:3: C: Style/EmptyMethod: Put empty method definitions on a single
line. (https://rubystyle.guide#no-single-line-methods)
def test_suse ...
^^^^^^^^^^^^^
test/integration/default/controls/package_spec.rb:1:1: C: Style/FrozenStringLiteralComment: Missing frozen string
literal comment.
control 'Php package' do
^
test/integration/default/controls/package_spec.rb:4:3: C: Metrics/AbcSize: Assignment Branch Condition size for
test_debian is too high. [<1, 26, 1> 26.04/17] (http://c2.com/cgi/wiki?AbcMetric,
https://en.wikipedia.org/wiki/ABC_Software_Metric)
def test_debian ...
^^^^^^^^^^^^^^^
test/integration/default/controls/package_spec.rb:4:3: C: Metrics/MethodLength: Method has too many lines. [20/10]
(https://rubystyle.guide#short-methods)
def test_debian ...
^^^^^^^^^^^^^^^
test/integration/default/controls/package_spec.rb:21:1: C: Layout/EmptyLinesAroundBlockBody: Extra empty line detected
at block body beginning. (https://rubystyle.guide#empty-lines-around-bodies)
test/integration/default/controls/service_spec.rb:1:1: C: Style/FrozenStringLiteralComment: Missing frozen string
literal comment.
control 'Php service' do
^
test/integration/default/controls/service_spec.rb:16:3: C: Style/EmptyMethod: Put empty method definitions on a single
line. (https://rubystyle.guide#no-single-line-methods)
def test_redhat ...
^^^^^^^^^^^^^^^
test/integration/default/controls/service_spec.rb:19:3: C: Style/EmptyMethod: Put empty method definitions on a single
line. (https://rubystyle.guide#no-single-line-methods)
def test_suse ...
^^^^^^^^^^^^^
7 files inspected, 12 offenses detected, 8 offenses auto-correctable
```
|
pirms 4 gadiem |
Imran Iqbal
|
e9591db355
|
test(map): verify `map.jinja` dump using `_mapdata` state
* Automated using https://github.com/myii/ssf-formula/pull/283
|
pirms 4 gadiem |
Imran Iqbal
|
fd675701a5
|
test(suse): update version to `7.0` for `opensuse-leap-15`
|
pirms 5 gadiem |
Nicolas Rodriguez
|
496ec28dae
|
fix(xdebug): fix xdebug package name
|
pirms 5 gadiem |
Nicolas Rodriguez
|
b13bed2a48
|
test(ubuntu): fix tests on Ubuntu distro
|
pirms 5 gadiem |
Nicolas Rodriguez
|
23214bfa78
|
fix(tests): don't test services on Suse and RedHat
|
pirms 5 gadiem |
Nicolas Rodriguez
|
6555cf0432
|
test(config): add tests on Php config
|
pirms 5 gadiem |
Nicolas Rodriguez
|
dc12a0bbf2
|
style(spec): remove empty lines
|
pirms 5 gadiem |
Nicolas Rodriguez
|
baeac04bd9
|
test(service): add tests on Php services
|
pirms 5 gadiem |
Nicolas Rodriguez
|
59f648c067
|
test(package): fix package spec in case of multi Php versions
|
pirms 5 gadiem |
sticky-note
|
4f75eac5fe
|
fix(tests): fix package name for debian
|
pirms 5 gadiem |
Nicolas Rodriguez
|
cdd206a10a
|
feat(semantic-release): add support of semantic-release
|
pirms 5 gadiem |