postmark 0.7.0 → 0.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README.rdoc +1 -1
- data/VERSION +1 -1
- data/lib/postmark.rb +2 -0
- data/postmark.gemspec +2 -2
- data/spec/postmark_spec.rb +5 -0
- metadata +3 -3
data/README.rdoc
CHANGED
@@ -37,7 +37,7 @@ Then
|
|
37
37
|
|
38
38
|
p Postmark.send_through_postmark(message).body
|
39
39
|
|
40
|
-
You can retrieve various information about your server state using the
|
40
|
+
You can retrieve various information about your server state using the Public bounces API - http://developer.postmarkapp.com/bounces
|
41
41
|
|
42
42
|
# get delivery stats
|
43
43
|
Postmark.delivery_stats # json
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.7.
|
1
|
+
0.7.1
|
data/lib/postmark.rb
CHANGED
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.7.
|
8
|
+
s.version = "0.7.1"
|
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"]
|
12
|
-
s.date = %q{2010-04-
|
12
|
+
s.date = %q{2010-04-23}
|
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 = [
|
data/spec/postmark_spec.rb
CHANGED
@@ -117,6 +117,11 @@ describe "Postmark" do
|
|
117
117
|
message.should be_serialized_to %q[{"Cc":"a@a.com, b@b.com", "Subject":"Hello!", "From":"sheldon@bigbangtheory.com", "To":"lenard@bigbangtheory.com", "TextBody":"Hello Sheldon!"}]
|
118
118
|
end
|
119
119
|
|
120
|
+
it "should encode multiple recepients (BCC)" do
|
121
|
+
message.bcc = ['a@a.com', 'b@b.com']
|
122
|
+
message.should be_serialized_to %q[{"Bcc":"a@a.com, b@b.com", "Subject":"Hello!", "From":"sheldon@bigbangtheory.com", "To":"lenard@bigbangtheory.com", "TextBody":"Hello Sheldon!"}]
|
123
|
+
end
|
124
|
+
|
120
125
|
context "JSON library support" do
|
121
126
|
[:Json, :ActiveSupport, :Yajl].each do |lib|
|
122
127
|
begin
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 7
|
8
|
-
-
|
9
|
-
version: 0.7.
|
8
|
+
- 1
|
9
|
+
version: 0.7.1
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Petyo Ivanov
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2010-04-
|
17
|
+
date: 2010-04-23 00:00:00 +03:00
|
18
18
|
default_executable:
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|