Sha256: 161f2849807ae06a93c8c235ddf01127bf1d86a8cc07c4da30d845fbf3d917cb

Contents?: true

Size: 710 Bytes

Versions: 1

Compression:

Stored size: 710 Bytes

Contents

YAML Validator
==============

Validates .yml locale files for Ruby on Rails projects.

What does it validate?
----------------------

Given the following file tree:

```
config/
  locales/
    en.yml
    he.yml
    nl.yml
    fr.yml
    ...
```

Run the following command:

```bash
yaml-validator config/locales

or 

cd config/locales
yaml-validator
```

it will validate the files (in reference to en.yml) and show the following types of errors:

```
he.yml: parent_key.key1 doesn't exist in en.yml
fr.yml: found character that cannot start any token while scanning for the next token at line 19 column 14
nl.yml: parent_key.key1: missing variable 'var_with_typo' (available options var_without_type)

```

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
yaml-validator-0.0.1 README.md