# yip_validator **Repository Path**: yfinance/yip_validator ## Basic Information - **Project Name**: yip_validator - **Description**: No description available - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-11-11 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # YIP validator [![Gem](https://img.shields.io/gem/v/yip_validator.svg?style=flat)](http://rubygems.org/gems/yip_validator "View this project in Rubygems") ## Validation rules ### Mandatory fields - yip - title - author - status - created ### Optional fields - discussions-to - layer - replaces - requires - resolution - review-period-end - superseded-by - updated ### Mandatory values - `status` must be: * 'WIP' * 'Proposed' * 'Approved' * 'Implemented' * 'Withdrawn' * 'Deferred' * 'Rejected' * 'Moribund' ## Prerequisite - ruby ## Setup ``` gem install yip_validator ``` ## Usage (command line) ```ruby yip_validator INPUT_FILES ``` ## Usage (as a lib) ```ruby require 'yip_validator YipValidator::Runner.run ``` ### Example ``` $yip_validator ~/src/YIPs/YIPS/*[0-9].md total:1, valid:1, invalid:0, errors:0 statuses: [["Implemented", 1]] ``` ## Running tests ``` bundle exec rspec ``` ## Releasing new gem ``` gem bump --version patch|minor|major bundle exec rake release ```