Devise Async

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

Github stars Tracking Chart

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 #

Main metrics

Overview
Name With Ownermhfs/devise-async
Primary LanguageRuby
Program languageRuby (Language Count: 1)
PlatformLinux, Mac, Windows
License:MIT License
所有者活动
Created At2012-05-14 22:03:50
Pushed At2021-09-20 23:55:23
Last Commit At2017-09-20 17:47:14
Release Count21
Last Release Namev1.0.0 (Posted on 2017-09-20 17:47:49)
First Release Namev0.0.1 (Posted on 2012-05-14 19:05:34)
用户参与
Stargazers Count573
Watchers Count11
Fork Count109
Commits Count168
Has Issues Enabled
Issues Count62
Issue Open Count10
Pull Requests Count26
Pull Requests Open Count2
Pull Requests Close Count18
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private