A devise-active backend for ActiveJob
Adds an activejob backend to devise-async.
Note that did not I push (yet) a pull request to the original devise-async repository because right now
the activejob gem breaks compatiliby with older versions of Rails, due to explicit dependency to
activesupport 4.1.
Installation
Add this line to your application's Gemfile:
gem 'devise-async-activejob'
And then execute:
$ bundle
Or install it yourself as:
$ gem install devise-async-activejob
Usage
To use the gem you just have to configure devise-async the use the activejob backend.
For exemple if you use an initializer:
# config/initializers/devise_async.rb
Devise::Async.setup do |config|
config.enabled = true
config.backend = :active_job
# ...
end
See the docs for devise-async for an exntensive documentation.
Contributing
- Fork it ( https://github.com/[my-github-username]/devise-async-activejob/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