Spinel
SpinelはRedisをバックエンドに用いた軽量なサジェストシステムです。
Installation
Add this line to your application's Gemfile:
gem 'spinel'
And then execute:
$ bundle
Or install it yourself as:
$ gem install spinel
Usage
Configuration
Spinel.configure do |config|
config.redis = 'redis://127.0.0.1:6379/0'
config.min_complete = 3
config.cache_expire = 300
end
Contributing
- Fork it ( https://github.com/k-shogo/spinel/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