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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 056531aa3c871eb747ecd1364ac40020c3a277fc
4
- data.tar.gz: 434233078cacc20933a67485eeeb070479984089
3
+ metadata.gz: d7b1c841ad0ce3e0506a18844f2a9ebd50c860ae
4
+ data.tar.gz: 61b7676f2d8b3130c36f8ac58b706ebc7bd23223
5
5
  SHA512:
6
- metadata.gz: 0a17d07a98aed34c35cc30a77763a1fa404b2d2fe7cd05ff10aec80be09237847ecae64fbad6fe16bd65fc6e41131cfc9c6b2c5e41c7afa2d74f7758be641631
7
- data.tar.gz: a6520819080472cbc990987943a0321e8c19e3b8435729daf10de41540e6445438bb6d3c8707d27cb760e653762ad6c2859da3cf8749276049e401fb817c1379
6
+ metadata.gz: 5afe02aebef68a87bc6124febcb0338cbe1197c54e4575589c855996bcae4ef47674c3a8d5a8c403d68ddf371d314ad01569f0d2cbf364c7311233722c772573
7
+ data.tar.gz: a5e92b96e56882d73567cb1bab512b324bc43421e5d70fc2fbc59f639e15d4deec0c9acc33da314d29b50b4233f7de5a7d1b6c368c01613c51c69ee4e045592b
@@ -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)
@@ -1,3 +1,3 @@
1
1
  module YamlChecker
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: yaml_checker
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - 284km