goodcheck 2.1.1 → 2.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/README.md +0 -2
- data/lib/goodcheck/config_loader.rb +2 -2
- data/lib/goodcheck/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 94606f9fbcb649e4d2d9a2b3303eb996ff6e6ff32eb2cdb1c8af04c960c472d3
|
|
4
|
+
data.tar.gz: a94dd27179da152c24ee0d8e05c6769c3ac9affcdc2f9f584eae7ab71634b25d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d2cf09aae369a903f182badb6c55cf23c1d510cd097f91b646adb091f623beaca27e062c7324abd7cbe028b586ff845fba791bb005ea189a76a8b4f5af78faa0
|
|
7
|
+
data.tar.gz: bae1cb3da7f6d92b7bd2f5d10b0f466e49b3a7aabc8bf46d3641cdc31b3e1b66aa48f355927b4b0bd743818b12db7b9e5b3a7bcf408ff62e22965a7a86fd537e
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
|
@@ -277,7 +277,6 @@ If your `pattern` definition includes `glob`, swithing `trigger` would make sens
|
|
|
277
277
|
`goodcheck.yml` can have optional `import` attribute.
|
|
278
278
|
|
|
279
279
|
```yaml
|
|
280
|
-
rules: []
|
|
281
280
|
import:
|
|
282
281
|
- /usr/share/goodcheck/rules.yml
|
|
283
282
|
- lib/goodcheck/rules.yml
|
|
@@ -297,7 +296,6 @@ The rules file is a YAML file with array of rules.
|
|
|
297
296
|
`goodcheck.yml` can have optional `exclude` attribute.
|
|
298
297
|
|
|
299
298
|
```yaml
|
|
300
|
-
rules: []
|
|
301
299
|
exclude:
|
|
302
300
|
- node_modules
|
|
303
301
|
- vendor
|
|
@@ -191,7 +191,7 @@ module Goodcheck
|
|
|
191
191
|
let :exclude, array_or(string)
|
|
192
192
|
|
|
193
193
|
let :config, object(
|
|
194
|
-
rules: rules,
|
|
194
|
+
rules: optional(rules),
|
|
195
195
|
import: optional(imports),
|
|
196
196
|
exclude: optional(exclude)
|
|
197
197
|
)
|
|
@@ -218,7 +218,7 @@ module Goodcheck
|
|
|
218
218
|
|
|
219
219
|
rules = []
|
|
220
220
|
|
|
221
|
-
load_rules(rules, content[:rules])
|
|
221
|
+
load_rules(rules, array(content[:rules]))
|
|
222
222
|
|
|
223
223
|
Array(content[:import]).each do |import|
|
|
224
224
|
load_import rules, import
|
data/lib/goodcheck/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: goodcheck
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.1.
|
|
4
|
+
version: 2.1.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Soutaro Matsumoto
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-06-
|
|
11
|
+
date: 2019-06-13 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|