yaml-lint 0.0.1 → 0.0.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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/bin/yaml-lint +1 -1
  3. metadata +3 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b2b67729cb48d53e71145f812507b730219140ed
4
- data.tar.gz: 84bdf134e0acae707050f7ad89e73df8c4b2cfcc
3
+ metadata.gz: c7b5f9927180f94ca3f4de28347e298590bf4a19
4
+ data.tar.gz: 9a449dceb9a007daad46119ad3dff01a9dedd677
5
5
  SHA512:
6
- metadata.gz: be399913ebc9af60c94c9d1dcafdc75b67872cf385a7c202574d843a7f029608b54fb9a1c07b084f008f49d6fcd204216ebaf17f9f9d4d3f50c928c5bec04b0b
7
- data.tar.gz: f2c3916a0a2a0fa6344a700f4f6da413967d435654fd56fcf840accce7ad5aedf765cd60ba25301e5f30db1b65ab6896e8e66cb52ab1ce0ee4c28a4318c04418
6
+ metadata.gz: a0dce2ea6eecb51c90451ec5082aee022550a3a36679983cda41ebd738a17657280c8abce47e4f502e40a829cf21fbe066245a958d397b1c50ac8b455be87f55
7
+ data.tar.gz: b0b7874c060b8a9c8bc28e3e31a1fcf51fce516b9b93940561f22f375d1c1847ca9fdcf02b932544a6d515d493812361cc446849249e2bfa80e3dc1595cd323e
@@ -9,7 +9,7 @@ rescue LoadError
9
9
  require 'yaml-lint'
10
10
  end
11
11
 
12
- if ARGV.any? {|arg| arg =~ /help|--help|-h/} or ARGV.empty?
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.1
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: