yaml_checker 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/yaml_checker.rb +2 -2
- data/lib/yaml_checker/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d7b1c841ad0ce3e0506a18844f2a9ebd50c860ae
|
4
|
+
data.tar.gz: 61b7676f2d8b3130c36f8ac58b706ebc7bd23223
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5afe02aebef68a87bc6124febcb0338cbe1197c54e4575589c855996bcae4ef47674c3a8d5a8c403d68ddf371d314ad01569f0d2cbf364c7311233722c772573
|
7
|
+
data.tar.gz: a5e92b96e56882d73567cb1bab512b324bc43421e5d70fc2fbc59f639e15d4deec0c9acc33da314d29b50b4233f7de5a7d1b6c368c01613c51c69ee4e045592b
|
data/lib/yaml_checker.rb
CHANGED
@@ -19,9 +19,9 @@ module YamlChecker
|
|
19
19
|
if File.directory?(path)
|
20
20
|
Dir.glob("#{path}/**/*.{yml,yaml}").each do |f|
|
21
21
|
load(f)
|
22
|
-
warn errors
|
23
|
-
return errors.empty?
|
24
22
|
end
|
23
|
+
warn errors
|
24
|
+
return errors.empty?
|
25
25
|
elsif File.file?(path)
|
26
26
|
if File.extname(path).match(/\.ya?ml/)
|
27
27
|
load(path)
|
data/lib/yaml_checker/version.rb
CHANGED