<commit_before>National IDs Validator for Ruby on Rails (Active Model)
======================

It provides validators for national identification numbers. Currently the following countries are supported:
* Norway (NO) - Fødselsnummer
* Poland (PL) - PESEL

## Usage

Add to your Gemfile:

```ruby
gem 'national-ids-validator'
```

Run:

```
bundle install
```

Then add the following to your model:
<commit_msg>travis badge<commit_after>[![Build Status](https://travis-ci.org/matfiz/national-ids-validator.svg?branch=master)](https://travis-ci.org/matfiz/national-ids-validator)

National IDs Validator for Ruby on Rails (Active Model)
======================

It provides validators for national identification numbers. Currently the following countries are supported:
* Norway (NO) - Fødselsnummer
* Poland (PL) - PESEL

## Usage

Add to your Gemfile:

```ruby
gem 'national-ids-validator'
```

Run:

```
bundle install
```

Then add the following to your model:

{'fraction_non_alphanumeric': 0.15145228215767634, 'fraction_numerical': 0.0, 'mean_word_length': 5.185897435897436, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6281950', 'n_tokens_mistral': 304, 'n_tokens_neox': 285, 'n_words': 95}