yaml-lint 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/yaml-lint +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c7b5f9927180f94ca3f4de28347e298590bf4a19
|
4
|
+
data.tar.gz: 9a449dceb9a007daad46119ad3dff01a9dedd677
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a0dce2ea6eecb51c90451ec5082aee022550a3a36679983cda41ebd738a17657280c8abce47e4f502e40a829cf21fbe066245a958d397b1c50ac8b455be87f55
|
7
|
+
data.tar.gz: b0b7874c060b8a9c8bc28e3e31a1fcf51fce516b9b93940561f22f375d1c1847ca9fdcf02b932544a6d515d493812361cc446849249e2bfa80e3dc1595cd323e
|
data/bin/yaml-lint
CHANGED
@@ -9,7 +9,7 @@ rescue LoadError
|
|
9
9
|
require 'yaml-lint'
|
10
10
|
end
|
11
11
|
|
12
|
-
if ARGV.any? {|arg| arg =~
|
12
|
+
if ARGV.any? {|arg| arg =~ /^help$|^--help|^-h|^-/} or ARGV.empty?
|
13
13
|
puts 'yaml-lint is a tool to check the syntax of your YAML files'
|
14
14
|
puts 'Usage: yaml-lint <file(s) or folder(s)>'
|
15
15
|
exit 1
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: yaml-lint
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Julien Fabre
|
@@ -12,7 +12,8 @@ date: 2014-05-06 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
13
13
|
description: Check if your YAML files can be loaded.
|
14
14
|
email: ju.pryz@gmail.com
|
15
|
-
executables:
|
15
|
+
executables:
|
16
|
+
- yaml-lint
|
16
17
|
extensions: []
|
17
18
|
extra_rdoc_files: []
|
18
19
|
files:
|