Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

33 lines (27 sloc) 1.445 kb
# coding: UTF-8
$:.push File.expand_path("../lib", __FILE__)
require "resque/plugins/async_deliver/version" do |s| = "resque-async_deliver"
s.version = Resque::Plugins::AsyncDeliver::VERSION
s.platform = Gem::Platform::RUBY
s.authors = ["Philipe Fatio"] = [""]
s.homepage = ""
s.summary = %q{Deliver mails asynchronously using Resque without explicitly creating a performable job.}
s.description = <<-description
This gem makes it possible to send mails asynchronously using Resque by
simply rewriting `SomeMailer.some_mail(ar_resource, 1234).deliver` to
`SomeMailer.async_deliver.some_mail(ar_resource, 1234)`. Using ActiveRecord
objects as arguments to mailers is still possible. This is achieved by storing
the class name and the record id as arguments in the Resque queue which will be
transformed back to records by the mailer job and passed along to the mailer.
s.files = `git ls-files`.split("\n")
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
s.require_paths = ["lib"]
s.add_dependency 'resque' , '~> 1.0'
s.add_dependency 'actionmailer', '>= 3', '< 5'
s.add_development_dependency 'rspec', '>= 3.0.0.beta1'
Jump to Line
Something went wrong with that request. Please try again.