pakyow-mailer 0.7.1 → 0.7.2
Sign up to get free protection for your applications and to get access to all the features.
- data/pakyow-mailer/CHANGES +4 -0
- data/pakyow-mailer/lib/mailer/mailer.rb +6 -1
- metadata +87 -49
data/pakyow-mailer/CHANGES
CHANGED
@@ -12,7 +12,12 @@ module Pakyow
|
|
12
12
|
end
|
13
13
|
|
14
14
|
def deliver_to(recipient, subject = nil)
|
15
|
-
|
15
|
+
html_content = self.view.to_html
|
16
|
+
@message.html_part do
|
17
|
+
content_type 'text/html; charset=UTF-8'
|
18
|
+
body html_content
|
19
|
+
end
|
20
|
+
|
16
21
|
@message.subject = subject if subject
|
17
22
|
|
18
23
|
if recipient.is_a?(Array)
|
metadata
CHANGED
@@ -1,67 +1,94 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: pakyow-mailer
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
hash: 7
|
5
5
|
prerelease:
|
6
|
+
segments:
|
7
|
+
- 0
|
8
|
+
- 7
|
9
|
+
- 2
|
10
|
+
version: 0.7.2
|
6
11
|
platform: ruby
|
7
|
-
authors:
|
12
|
+
authors:
|
8
13
|
- Bryan Powell
|
9
14
|
- Bret Young
|
10
15
|
autorequire:
|
11
16
|
bindir: bin
|
12
17
|
cert_chain: []
|
13
|
-
|
14
|
-
|
15
|
-
|
18
|
+
|
19
|
+
date: 2012-02-29 00:00:00 Z
|
20
|
+
dependencies:
|
21
|
+
- !ruby/object:Gem::Dependency
|
16
22
|
name: pakyow-core
|
17
|
-
|
23
|
+
prerelease: false
|
24
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
18
25
|
none: false
|
19
|
-
requirements:
|
20
|
-
- - =
|
21
|
-
- !ruby/object:Gem::Version
|
22
|
-
|
26
|
+
requirements:
|
27
|
+
- - "="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
hash: 7
|
30
|
+
segments:
|
31
|
+
- 0
|
32
|
+
- 7
|
33
|
+
- 2
|
34
|
+
version: 0.7.2
|
23
35
|
type: :runtime
|
24
|
-
|
25
|
-
|
26
|
-
- !ruby/object:Gem::Dependency
|
36
|
+
version_requirements: *id001
|
37
|
+
- !ruby/object:Gem::Dependency
|
27
38
|
name: pakyow-presenter
|
28
|
-
|
39
|
+
prerelease: false
|
40
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
29
41
|
none: false
|
30
|
-
requirements:
|
31
|
-
- - =
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
|
42
|
+
requirements:
|
43
|
+
- - "="
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
hash: 7
|
46
|
+
segments:
|
47
|
+
- 0
|
48
|
+
- 7
|
49
|
+
- 2
|
50
|
+
version: 0.7.2
|
34
51
|
type: :runtime
|
35
|
-
|
36
|
-
|
37
|
-
- !ruby/object:Gem::Dependency
|
52
|
+
version_requirements: *id002
|
53
|
+
- !ruby/object:Gem::Dependency
|
38
54
|
name: mail
|
39
|
-
|
55
|
+
prerelease: false
|
56
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
40
57
|
none: false
|
41
|
-
requirements:
|
58
|
+
requirements:
|
42
59
|
- - ~>
|
43
|
-
- !ruby/object:Gem::Version
|
44
|
-
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
hash: 5
|
62
|
+
segments:
|
63
|
+
- 2
|
64
|
+
- 3
|
65
|
+
version: "2.3"
|
45
66
|
type: :runtime
|
46
|
-
|
47
|
-
|
48
|
-
- !ruby/object:Gem::Dependency
|
67
|
+
version_requirements: *id003
|
68
|
+
- !ruby/object:Gem::Dependency
|
49
69
|
name: shoulda
|
50
|
-
|
70
|
+
prerelease: false
|
71
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
51
72
|
none: false
|
52
|
-
requirements:
|
73
|
+
requirements:
|
53
74
|
- - ~>
|
54
|
-
- !ruby/object:Gem::Version
|
55
|
-
|
75
|
+
- !ruby/object:Gem::Version
|
76
|
+
hash: 21
|
77
|
+
segments:
|
78
|
+
- 2
|
79
|
+
- 11
|
80
|
+
version: "2.11"
|
56
81
|
type: :development
|
57
|
-
|
58
|
-
version_requirements: *70312520591400
|
82
|
+
version_requirements: *id004
|
59
83
|
description: pakyow-mailer
|
60
84
|
email: bryan@metabahn.com
|
61
85
|
executables: []
|
86
|
+
|
62
87
|
extensions: []
|
88
|
+
|
63
89
|
extra_rdoc_files: []
|
64
|
-
|
90
|
+
|
91
|
+
files:
|
65
92
|
- pakyow-mailer/CHANGES
|
66
93
|
- pakyow-mailer/README
|
67
94
|
- pakyow-mailer/MIT-LICENSE
|
@@ -71,27 +98,38 @@ files:
|
|
71
98
|
- pakyow-mailer/lib/pakyow-mailer.rb
|
72
99
|
homepage: http://pakyow.com
|
73
100
|
licenses: []
|
101
|
+
|
74
102
|
post_install_message:
|
75
103
|
rdoc_options: []
|
76
|
-
|
104
|
+
|
105
|
+
require_paths:
|
77
106
|
- pakyow-mailer/lib
|
78
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
107
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
79
108
|
none: false
|
80
|
-
requirements:
|
81
|
-
- -
|
82
|
-
- !ruby/object:Gem::Version
|
109
|
+
requirements:
|
110
|
+
- - ">="
|
111
|
+
- !ruby/object:Gem::Version
|
112
|
+
hash: 57
|
113
|
+
segments:
|
114
|
+
- 1
|
115
|
+
- 8
|
116
|
+
- 7
|
83
117
|
version: 1.8.7
|
84
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
118
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
85
119
|
none: false
|
86
|
-
requirements:
|
87
|
-
- -
|
88
|
-
- !ruby/object:Gem::Version
|
89
|
-
|
120
|
+
requirements:
|
121
|
+
- - ">="
|
122
|
+
- !ruby/object:Gem::Version
|
123
|
+
hash: 3
|
124
|
+
segments:
|
125
|
+
- 0
|
126
|
+
version: "0"
|
90
127
|
requirements: []
|
128
|
+
|
91
129
|
rubyforge_project: pakyow-mailer
|
92
|
-
rubygems_version: 1.8.
|
130
|
+
rubygems_version: 1.8.11
|
93
131
|
signing_key:
|
94
132
|
specification_version: 3
|
95
133
|
summary: pakyow-mailer
|
96
134
|
test_files: []
|
97
|
-
|
135
|
+
|