postmark 0.9.10 → 0.9.11
Sign up to get free protection for your applications and to get access to all the features.
- data/.bundle/config +2 -3
- data/.gitignore +4 -0
- data/.rspec +2 -0
- data/CHANGELOG.rdoc +7 -0
- data/Gemfile +11 -0
- data/README.rdoc +4 -1
- data/Rakefile +3 -63
- data/VERSION +1 -1
- data/lib/postmark.rb +115 -114
- data/lib/postmark/http_client.rb +55 -56
- data/lib/postmark/message_extensions/shared.rb +8 -8
- data/lib/postmark/version.rb +3 -0
- data/postmark.gemspec +39 -82
- data/spec/postmark_spec.rb +37 -115
- data/spec/shared_examples.rb +41 -0
- data/spec/spec_helper.rb +15 -4
- metadata +135 -131
- data/spec/spec.opts +0 -3
metadata
CHANGED
@@ -1,151 +1,155 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: postmark
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
prerelease:
|
6
|
-
segments:
|
7
|
-
- 0
|
8
|
-
- 9
|
9
|
-
- 10
|
10
|
-
version: 0.9.10
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.9.11
|
5
|
+
prerelease:
|
11
6
|
platform: ruby
|
12
|
-
authors:
|
7
|
+
authors:
|
13
8
|
- Petyo Ivanov
|
14
9
|
- Ilya Sabanin
|
15
10
|
- Artem Chistyakov
|
16
11
|
autorequire:
|
17
12
|
bindir: bin
|
18
13
|
cert_chain: []
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
14
|
+
date: 2012-01-31 00:00:00.000000000Z
|
15
|
+
dependencies:
|
16
|
+
- !ruby/object:Gem::Dependency
|
17
|
+
name: rake
|
18
|
+
requirement: &70183890117500 !ruby/object:Gem::Requirement
|
19
|
+
none: false
|
20
|
+
requirements:
|
21
|
+
- - ! '>='
|
22
|
+
- !ruby/object:Gem::Version
|
23
|
+
version: '0'
|
24
|
+
type: :runtime
|
25
|
+
prerelease: false
|
26
|
+
version_requirements: *70183890117500
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: json
|
29
|
+
requirement: &70183890116520 !ruby/object:Gem::Requirement
|
30
|
+
none: false
|
31
|
+
requirements:
|
32
|
+
- - ! '>='
|
33
|
+
- !ruby/object:Gem::Version
|
34
|
+
version: '0'
|
35
|
+
type: :runtime
|
25
36
|
prerelease: false
|
26
|
-
|
37
|
+
version_requirements: *70183890116520
|
38
|
+
- !ruby/object:Gem::Dependency
|
39
|
+
name: tmail
|
40
|
+
requirement: &70183890115520 !ruby/object:Gem::Requirement
|
27
41
|
none: false
|
28
|
-
requirements:
|
29
|
-
- -
|
30
|
-
- !ruby/object:Gem::Version
|
31
|
-
|
32
|
-
segments:
|
33
|
-
- 0
|
34
|
-
version: "0"
|
42
|
+
requirements:
|
43
|
+
- - ! '>='
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: '0'
|
35
46
|
type: :development
|
36
|
-
version_requirements: *id001
|
37
|
-
- !ruby/object:Gem::Dependency
|
38
|
-
name: activesupport
|
39
47
|
prerelease: false
|
40
|
-
|
48
|
+
version_requirements: *70183890115520
|
49
|
+
- !ruby/object:Gem::Dependency
|
50
|
+
name: mail
|
51
|
+
requirement: &70183890114000 !ruby/object:Gem::Requirement
|
41
52
|
none: false
|
42
|
-
requirements:
|
43
|
-
- -
|
44
|
-
- !ruby/object:Gem::Version
|
45
|
-
|
46
|
-
segments:
|
47
|
-
- 0
|
48
|
-
version: "0"
|
53
|
+
requirements:
|
54
|
+
- - ! '>='
|
55
|
+
- !ruby/object:Gem::Version
|
56
|
+
version: '0'
|
49
57
|
type: :development
|
50
|
-
version_requirements: *id002
|
51
|
-
- !ruby/object:Gem::Dependency
|
52
|
-
name: json
|
53
58
|
prerelease: false
|
54
|
-
|
59
|
+
version_requirements: *70183890114000
|
60
|
+
- !ruby/object:Gem::Dependency
|
61
|
+
name: rspec-core
|
62
|
+
requirement: &70183890113040 !ruby/object:Gem::Requirement
|
55
63
|
none: false
|
56
|
-
requirements:
|
57
|
-
- -
|
58
|
-
- !ruby/object:Gem::Version
|
59
|
-
|
60
|
-
segments:
|
61
|
-
- 0
|
62
|
-
version: "0"
|
64
|
+
requirements:
|
65
|
+
- - ~>
|
66
|
+
- !ruby/object:Gem::Version
|
67
|
+
version: '2.0'
|
63
68
|
type: :development
|
64
|
-
version_requirements: *id003
|
65
|
-
- !ruby/object:Gem::Dependency
|
66
|
-
name: ruby-debug
|
67
69
|
prerelease: false
|
68
|
-
|
70
|
+
version_requirements: *70183890113040
|
71
|
+
- !ruby/object:Gem::Dependency
|
72
|
+
name: activesupport
|
73
|
+
requirement: &70183890111940 !ruby/object:Gem::Requirement
|
69
74
|
none: false
|
70
|
-
requirements:
|
71
|
-
- -
|
72
|
-
- !ruby/object:Gem::Version
|
73
|
-
|
74
|
-
segments:
|
75
|
-
- 0
|
76
|
-
version: "0"
|
75
|
+
requirements:
|
76
|
+
- - ~>
|
77
|
+
- !ruby/object:Gem::Version
|
78
|
+
version: '3.0'
|
77
79
|
type: :development
|
78
|
-
version_requirements: *id004
|
79
|
-
- !ruby/object:Gem::Dependency
|
80
|
-
name: fakeweb
|
81
80
|
prerelease: false
|
82
|
-
|
81
|
+
version_requirements: *70183890111940
|
82
|
+
- !ruby/object:Gem::Dependency
|
83
|
+
name: fakeweb
|
84
|
+
requirement: &70183890110780 !ruby/object:Gem::Requirement
|
83
85
|
none: false
|
84
|
-
requirements:
|
85
|
-
- -
|
86
|
-
- !ruby/object:Gem::Version
|
87
|
-
|
88
|
-
segments:
|
89
|
-
- 0
|
90
|
-
version: "0"
|
86
|
+
requirements:
|
87
|
+
- - ! '>='
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
91
90
|
type: :development
|
92
|
-
version_requirements: *id005
|
93
|
-
- !ruby/object:Gem::Dependency
|
94
|
-
name: fakeweb-matcher
|
95
91
|
prerelease: false
|
96
|
-
|
92
|
+
version_requirements: *70183890110780
|
93
|
+
- !ruby/object:Gem::Dependency
|
94
|
+
name: fakeweb-matcher
|
95
|
+
requirement: &70183890109980 !ruby/object:Gem::Requirement
|
97
96
|
none: false
|
98
|
-
requirements:
|
99
|
-
- -
|
100
|
-
- !ruby/object:Gem::Version
|
101
|
-
|
102
|
-
segments:
|
103
|
-
- 0
|
104
|
-
version: "0"
|
97
|
+
requirements:
|
98
|
+
- - ! '>='
|
99
|
+
- !ruby/object:Gem::Version
|
100
|
+
version: '0'
|
105
101
|
type: :development
|
106
|
-
version_requirements: *id006
|
107
|
-
- !ruby/object:Gem::Dependency
|
108
|
-
name: timecop
|
109
102
|
prerelease: false
|
110
|
-
|
103
|
+
version_requirements: *70183890109980
|
104
|
+
- !ruby/object:Gem::Dependency
|
105
|
+
name: timecop
|
106
|
+
requirement: &70183890109260 !ruby/object:Gem::Requirement
|
111
107
|
none: false
|
112
|
-
requirements:
|
113
|
-
- -
|
114
|
-
- !ruby/object:Gem::Version
|
115
|
-
|
116
|
-
segments:
|
117
|
-
- 0
|
118
|
-
version: "0"
|
108
|
+
requirements:
|
109
|
+
- - ! '>='
|
110
|
+
- !ruby/object:Gem::Version
|
111
|
+
version: '0'
|
119
112
|
type: :development
|
120
|
-
|
121
|
-
|
113
|
+
prerelease: false
|
114
|
+
version_requirements: *70183890109260
|
115
|
+
- !ruby/object:Gem::Dependency
|
122
116
|
name: yajl-ruby
|
117
|
+
requirement: &70183890108540 !ruby/object:Gem::Requirement
|
118
|
+
none: false
|
119
|
+
requirements:
|
120
|
+
- - ! '>='
|
121
|
+
- !ruby/object:Gem::Version
|
122
|
+
version: '0'
|
123
|
+
type: :development
|
123
124
|
prerelease: false
|
124
|
-
|
125
|
+
version_requirements: *70183890108540
|
126
|
+
- !ruby/object:Gem::Dependency
|
127
|
+
name: ruby-debug19
|
128
|
+
requirement: &70183890107520 !ruby/object:Gem::Requirement
|
125
129
|
none: false
|
126
|
-
requirements:
|
127
|
-
- -
|
128
|
-
- !ruby/object:Gem::Version
|
129
|
-
|
130
|
-
segments:
|
131
|
-
- 0
|
132
|
-
version: "0"
|
130
|
+
requirements:
|
131
|
+
- - ! '>='
|
132
|
+
- !ruby/object:Gem::Version
|
133
|
+
version: '0'
|
133
134
|
type: :development
|
134
|
-
|
135
|
-
|
135
|
+
prerelease: false
|
136
|
+
version_requirements: *70183890107520
|
137
|
+
description: Use this gem to send emails through Postmark HTTP API and retrieve info
|
138
|
+
about bounces.
|
136
139
|
email: ilya@wildbit.com
|
137
140
|
executables: []
|
138
|
-
|
139
141
|
extensions: []
|
140
|
-
|
141
|
-
extra_rdoc_files:
|
142
|
+
extra_rdoc_files:
|
142
143
|
- LICENSE
|
143
144
|
- README.rdoc
|
144
|
-
files:
|
145
|
+
files:
|
145
146
|
- .bundle/config
|
146
147
|
- .document
|
148
|
+
- .gitignore
|
147
149
|
- .rake_tasks
|
150
|
+
- .rspec
|
148
151
|
- CHANGELOG.rdoc
|
152
|
+
- Gemfile
|
149
153
|
- LICENSE
|
150
154
|
- README.rdoc
|
151
155
|
- Rakefile
|
@@ -163,44 +167,44 @@ files:
|
|
163
167
|
- lib/postmark/response_parsers/active_support.rb
|
164
168
|
- lib/postmark/response_parsers/json.rb
|
165
169
|
- lib/postmark/response_parsers/yajl.rb
|
170
|
+
- lib/postmark/version.rb
|
166
171
|
- postmark.gemspec
|
167
172
|
- spec/bounce_spec.rb
|
168
173
|
- spec/postmark_spec.rb
|
169
|
-
- spec/
|
174
|
+
- spec/shared_examples.rb
|
170
175
|
- spec/spec_helper.rb
|
171
|
-
has_rdoc: true
|
172
176
|
homepage: http://postmarkapp.com
|
173
177
|
licenses: []
|
174
|
-
|
175
|
-
|
178
|
+
post_install_message: ! "\n ==================\n Thanks for installing the postmark
|
179
|
+
gem. If you don't have an account, please sign up at http://postmarkapp.com/.\n
|
180
|
+
\ Review the README.rdoc for implementation details and examples.\n ==================\n
|
181
|
+
\ "
|
176
182
|
rdoc_options: []
|
177
|
-
|
178
|
-
require_paths:
|
183
|
+
require_paths:
|
179
184
|
- lib
|
180
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
185
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
181
186
|
none: false
|
182
|
-
requirements:
|
183
|
-
- -
|
184
|
-
- !ruby/object:Gem::Version
|
185
|
-
|
186
|
-
segments:
|
187
|
+
requirements:
|
188
|
+
- - ! '>='
|
189
|
+
- !ruby/object:Gem::Version
|
190
|
+
version: '0'
|
191
|
+
segments:
|
187
192
|
- 0
|
188
|
-
|
189
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
193
|
+
hash: 840760196048598273
|
194
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
190
195
|
none: false
|
191
|
-
requirements:
|
192
|
-
- -
|
193
|
-
- !ruby/object:Gem::Version
|
194
|
-
|
195
|
-
segments:
|
196
|
-
- 0
|
197
|
-
version: "0"
|
196
|
+
requirements:
|
197
|
+
- - ! '>='
|
198
|
+
- !ruby/object:Gem::Version
|
199
|
+
version: 1.3.7
|
198
200
|
requirements: []
|
199
|
-
|
200
201
|
rubyforge_project:
|
201
|
-
rubygems_version: 1.
|
202
|
+
rubygems_version: 1.7.2
|
202
203
|
signing_key:
|
203
204
|
specification_version: 3
|
204
205
|
summary: Official Postmark API wrapper.
|
205
|
-
test_files:
|
206
|
-
|
206
|
+
test_files:
|
207
|
+
- spec/bounce_spec.rb
|
208
|
+
- spec/postmark_spec.rb
|
209
|
+
- spec/shared_examples.rb
|
210
|
+
- spec/spec_helper.rb
|
data/spec/spec.opts
DELETED