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?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?