postmark 0.9.2 → 0.9.3
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.rdoc +4 -0
- data/VERSION +1 -1
- data/lib/postmark.rb +5 -5
- data/postmark.gemspec +2 -2
- metadata +4 -4
data/CHANGELOG.rdoc
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.9.
|
1
|
+
0.9.3
|
data/lib/postmark.rb
CHANGED
@@ -98,11 +98,11 @@ module Postmark
|
|
98
98
|
options = Hash.new
|
99
99
|
headers = extract_headers_according_to_message_format(message)
|
100
100
|
|
101
|
-
options["From"] = message.from.
|
102
|
-
options["ReplyTo"] = message.reply_to.
|
103
|
-
options["To"] = message.to.
|
104
|
-
options["Cc"] = message.cc.
|
105
|
-
options["Bcc"] = message.bcc.
|
101
|
+
options["From"] = message.from.first if message.from
|
102
|
+
options["ReplyTo"] = message.reply_to.join(", ") if message.reply_to
|
103
|
+
options["To"] = message.to.join(", ") if message.to
|
104
|
+
options["Cc"] = message.cc.join(", ") if message.cc
|
105
|
+
options["Bcc"] = message.bcc.join(", ") if message.bcc
|
106
106
|
options["Subject"] = message.subject
|
107
107
|
options["Attachments"] = message.postmark_attachments
|
108
108
|
options["Tag"] = message.tag.to_s if message.tag
|
data/postmark.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{postmark}
|
8
|
-
s.version = "0.9.
|
8
|
+
s.version = "0.9.3"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Petyo Ivanov", "Ilya Sabanin"]
|
12
|
-
s.date = %q{2010-
|
12
|
+
s.date = %q{2010-10-11}
|
13
13
|
s.description = %q{Ruby gem for sending emails through http://postmarkapp.com HTTP API. It relieas on TMail::Mail for message construction.}
|
14
14
|
s.email = %q{underlog@gmail.com}
|
15
15
|
s.extra_rdoc_files = [
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: postmark
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 61
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 9
|
9
|
-
-
|
10
|
-
version: 0.9.
|
9
|
+
- 3
|
10
|
+
version: 0.9.3
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Petyo Ivanov
|
@@ -16,7 +16,7 @@ autorequire:
|
|
16
16
|
bindir: bin
|
17
17
|
cert_chain: []
|
18
18
|
|
19
|
-
date: 2010-
|
19
|
+
date: 2010-10-11 00:00:00 +08:00
|
20
20
|
default_executable:
|
21
21
|
dependencies:
|
22
22
|
- !ruby/object:Gem::Dependency
|