<commit_before># Sequel::StringNilifier

Sequel plugin to convert empty string to nil. 
Adapted from `Sequel::Plugins::StringStripper` from <NAME>.

## Installation

Add this line to your application's Gemfile:

    gem 'sequel-string_nilifier'

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install sequel-string_nilifier

## Usage

```ruby
# Make all model subclass instances nilify strings (called before loading subclasses)
Sequel::Model.plugin :string_nilifier

# Make the Album class nilify strings
Album.plugin :string_nilifier
```

## Contributing

1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request
<commit_msg>Add build status to README [ci skip]<commit_after># Sequel::StringNilifier

[![Build Status](https://travis-ci.org/TalentBox/sequel-string_nilifier.png?branch=master)](https://travis-ci.org/TalentBox/sequel-string_nilifier)

Sequel plugin to convert empty string to nil.
Adapted from `Sequel::Plugins::StringStripper` from Jeremy Evans.

## Installation

Add this line to your application's Gemfile:

    gem 'sequel-string_nilifier'

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install sequel-string_nilifier

## Usage

```ruby
# Make all model subclass instances nilify strings (called before loading subclasses)
Sequel::Model.plugin :string_nilifier

# Make the Album class nilify strings
Album.plugin :string_nilifier
```

## Contributing

1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request

{'fraction_non_alphanumeric': 0.09629219701162148, 'fraction_numerical': 0.005534034311012728, 'mean_word_length': 4.632398753894081, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, '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': '1388632', 'n_tokens_mistral': 570, 'n_tokens_neox': 540, 'n_words': 203}