Devise Async

在后台发送 Devise 的邮件。支持 Resque、Sidekiq、Delayed::Job 和 QueueClassic。「Send Devise's emails in background. Supports Resque, Sidekiq, Delayed::Job and QueueClassic.」

Github星跟踪图

Devise Async

Tag Build Status Code Climate

Devise Async provides an easy way to configure Devise to send its emails asynchronously using ActiveJob.

Installation

Add this line to your application's Gemfile:

gem 'devise-async'

And then execute:

$ bundle

Or install it yourself as:

$ gem install devise-async

Usage

  1. Setup ActiveJob,
  2. Add :async to the devise call in your model:
class User < ActiveRecord::Base
  devise :database_authenticatable, :async, :confirmable # etc ...
end

Options

Enabling via config

The gem can be enabled/disabled easily via config, for example based on environment.

# config/initializers/devise_async.rb
Devise::Async.enabled = true #

主要指标

概览
名称与所有者mhfs/devise-async
主编程语言Ruby
编程语言Ruby (语言数: 1)
平台Linux, Mac, Windows
许可证MIT License
所有者活动
创建于2012-05-14 22:03:50
推送于2021-09-20 23:55:23
最后一次提交2017-09-20 17:47:14
发布数21
最新版本名称v1.0.0 (发布于 2017-09-20 17:47:49)
第一版名称v0.0.1 (发布于 2012-05-14 19:05:34)
用户参与
星数573
关注者数11
派生数109
提交数168
已启用问题?
问题数62
打开的问题数10
拉请求数26
打开的拉请求数2
关闭的拉请求数18
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?