Sha256: 8527dc4902e8690ad384f816413e2b921c50f15def5c52c46caa664a7d79f5ac

Contents?: true

Size: 1.41 KB

Versions: 2

Compression:

Stored size: 1.41 KB

Contents

# coding: UTF-8

$:.push File.expand_path("../lib", __FILE__)
require "resque/plugins/async_deliver/version"

Gem::Specification.new do |s|
  s.name        = "resque-async_deliver"
  s.version     = Resque::Plugins::AsyncDeliver::VERSION
  s.platform    = Gem::Platform::RUBY
  s.authors     = ["Philipe Fatio"]
  s.email       = ["philipe.fatio@gmail.com"]
  s.homepage    = "https://github.com/fphilipe/resque-async_deliver"
  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.
                  description

  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'
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
resque-async_deliver-1.3.1 resque-async_deliver.gemspec
resque-async_deliver-1.3.0 resque-async_deliver.gemspec