resque_action_mailer_backend 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +3 -0
- data/README.rdoc +5 -1
- data/VERSION +1 -1
- data/lib/headbanger/resque_mailer.rb +3 -2
- data/resque_action_mailer_backend.gemspec +20 -21
- metadata +8 -8
- data/.gitignore +0 -22
data/CHANGELOG
ADDED
data/README.rdoc
CHANGED
@@ -40,4 +40,8 @@ This gem was tested with Ruby 1.8.7 and Rails 2.2.
|
|
40
40
|
|
41
41
|
== Copyright
|
42
42
|
|
43
|
-
Copyright (c) 2010 Maurício Linhares. See LICENSE for details.
|
43
|
+
Copyright (c) 2010 Maurício Linhares. See LICENSE for details.
|
44
|
+
|
45
|
+
== Contributors
|
46
|
+
|
47
|
+
* Fábio Yamate - @fabioyamate
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.3
|
@@ -16,10 +16,11 @@ class Headbanger::ResqueMailer
|
|
16
16
|
end
|
17
17
|
|
18
18
|
def deliver( mail )
|
19
|
+
destinations = mail.destinations
|
19
20
|
mail.ready_to_send
|
20
|
-
Resque.enqueue(
|
21
|
+
Resque.enqueue(
|
21
22
|
Headbanger::ResqueMailer,
|
22
|
-
:destinations =>
|
23
|
+
:destinations => destinations,
|
23
24
|
:mail => mail.encoded,
|
24
25
|
:from => mail.from )
|
25
26
|
end
|
@@ -1,15 +1,15 @@
|
|
1
1
|
# Generated by jeweler
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
-
# Instead, edit Jeweler::Tasks in Rakefile, and run
|
3
|
+
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{resque_action_mailer_backend}
|
8
|
-
s.version = "0.0.
|
8
|
+
s.version = "0.0.3"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Maur\303\255cio Linhares"]
|
12
|
-
s.date = %q{
|
12
|
+
s.date = %q{2011-01-16}
|
13
13
|
s.description = %q{
|
14
14
|
With this gem you will be able to enqueue your emails
|
15
15
|
on your Resque workers to avoid making your user wait for the email to be
|
@@ -27,35 +27,34 @@ Gem::Specification.new do |s|
|
|
27
27
|
s.email = %q{mauricio.linhares@gmail.com}
|
28
28
|
s.extra_rdoc_files = [
|
29
29
|
"LICENSE",
|
30
|
-
|
30
|
+
"README.rdoc"
|
31
31
|
]
|
32
32
|
s.files = [
|
33
33
|
".document",
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
34
|
+
"CHANGELOG",
|
35
|
+
"LICENSE",
|
36
|
+
"README.rdoc",
|
37
|
+
"Rakefile",
|
38
|
+
"VERSION",
|
39
|
+
"lib/headbanger/resque_mailer.rb",
|
40
|
+
"lib/init.rb",
|
41
|
+
"lib/resque_action_mailer_backend.rb",
|
42
|
+
"resque_action_mailer_backend.gemspec",
|
43
|
+
"spec/resque_action_mailer_backend_spec.rb",
|
44
|
+
"spec/spec.opts",
|
45
|
+
"spec/spec_helper.rb",
|
46
|
+
"spec/test_mailer.rb",
|
47
|
+
"spec/test_mailer/test.erb"
|
48
48
|
]
|
49
49
|
s.homepage = %q{http://github.com/mauricio/resque_action_mailer_backend}
|
50
|
-
s.rdoc_options = ["--charset=UTF-8"]
|
51
50
|
s.require_paths = ["lib"]
|
52
51
|
s.rubyforge_project = %q{resque_action_mailer_backend}
|
53
52
|
s.rubygems_version = %q{1.3.7}
|
54
53
|
s.summary = %q{Use Resque to enqueue and send your emails}
|
55
54
|
s.test_files = [
|
56
55
|
"spec/resque_action_mailer_backend_spec.rb",
|
57
|
-
|
58
|
-
|
56
|
+
"spec/spec_helper.rb",
|
57
|
+
"spec/test_mailer.rb"
|
59
58
|
]
|
60
59
|
|
61
60
|
if s.respond_to? :specification_version then
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: resque_action_mailer_backend
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 25
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 3
|
10
|
+
version: 0.0.3
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- "Maur\xC3\xADcio Linhares"
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date:
|
18
|
+
date: 2011-01-16 00:00:00 -03:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
@@ -77,7 +77,7 @@ extra_rdoc_files:
|
|
77
77
|
- README.rdoc
|
78
78
|
files:
|
79
79
|
- .document
|
80
|
-
-
|
80
|
+
- CHANGELOG
|
81
81
|
- LICENSE
|
82
82
|
- README.rdoc
|
83
83
|
- Rakefile
|
@@ -96,8 +96,8 @@ homepage: http://github.com/mauricio/resque_action_mailer_backend
|
|
96
96
|
licenses: []
|
97
97
|
|
98
98
|
post_install_message:
|
99
|
-
rdoc_options:
|
100
|
-
|
99
|
+
rdoc_options: []
|
100
|
+
|
101
101
|
require_paths:
|
102
102
|
- lib
|
103
103
|
required_ruby_version: !ruby/object:Gem::Requirement
|
@@ -127,5 +127,5 @@ specification_version: 3
|
|
127
127
|
summary: Use Resque to enqueue and send your emails
|
128
128
|
test_files:
|
129
129
|
- spec/resque_action_mailer_backend_spec.rb
|
130
|
-
- spec/test_mailer.rb
|
131
130
|
- spec/spec_helper.rb
|
131
|
+
- spec/test_mailer.rb
|