Sequel::Enhancements
peer60 plugins and extensions for Sequel
Installation
Add this line to your application's Gemfile:
gem 'sequel-enhancements'
And then execute:
$ bundle
Or install it yourself as:
$ gem install sequel-enhancements
Usage
Require plugins and extensions as normal
Sequel::Model.plugin :string_nilifier
Included plugins
hash_cleaner
strips trailing and leading invisibles fromstring_cleaner
a stronger version ofstring_stripper
, removing all invisiblesstring_downcaser
force downcasing of specified columnsstring_nilifier
sets empty strings to nilstring_upcaser
force upcasing of specified columns
Included extensions
sqlite_json
json support for SQLite
Contributing
- Fork it ( https://github.com/[my-github-username]/sequel-enhancements/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request