No commit activity in last 3 years
No release in over 3 years
An ISAF ID validator for Rails 4. See homepage for details: https://github.com/alexander-lazarov/isaf_id_validator
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 2.11

Runtime

 Project Readme

Readme

Gem Version

This gem is validator for ISAF Sailor ID. It works with Rails 4 but it should work with Rails 3 too.

Usage

Add to your Gemfile:

gem 'isaf_id_validator'

Run:

bundle install

Then add the following to your model:

validates :isaf_id_attribute, isaf_id: true

Testing

Use rspec to run the tests.

bundle exec rspec

Credit

Used email_validator as a template for this.

Contributing

Your contributions are welcome. Please fork the project, make a new branch and send me a pull request.