mailgun-ruby 1.3.2 → 1.3.3

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.
@@ -2,185 +2,13 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: post
5
- uri: https://api:<APIKEY>@api.mailgun.net/v3/DOMAIN.TEST/bounces
6
- body:
7
- encoding: US-ASCII
8
- string: address=integration-test%2Bemail%40DOMAIN.TEST&code=550&error=Integration%20Test
9
- headers:
10
- Accept:
11
- - "*/*; q=0.5, application/xml"
12
- Accept-Encoding:
13
- - gzip, deflate
14
- Content-Length:
15
- - '113'
16
- Content-Type:
17
- - application/x-www-form-urlencoded
18
- User-Agent:
19
- - Ruby
20
- response:
21
- status:
22
- code: 200
23
- message: OK
24
- headers:
25
- Server:
26
- - nginx
27
- Date:
28
- - Fri, 08 Jan 2016 20:33:28 GMT
29
- Content-Type:
30
- - application/json; charset=utf-8
31
- Content-Length:
32
- - '139'
33
- Connection:
34
- - keep-alive
35
- Access-Control-Allow-Origin:
36
- - "*"
37
- Access-Control-Max-Age:
38
- - '600'
39
- Access-Control-Allow-Methods:
40
- - GET, POST, PUT, DELETE, OPTIONS
41
- Access-Control-Allow-Headers:
42
- - Content-Type, x-requested-with
5
+ uri: https://api.mailgun.net/bounces
43
6
  body:
44
7
  encoding: UTF-8
45
- string: '{"address":"integration-test+email@DOMAIN.TEST","message":"Address
46
- has been added to the bounces table"}'
47
- http_version:
48
- recorded_at: Fri, 08 Jan 2016 20:33:29 GMT
49
- - request:
50
- method: get
51
- uri: https://api:<APIKEY>@api.mailgun.net/v3/DOMAIN.TEST/bounces/integration-test+email@DOMAIN.TEST
52
- body:
53
- encoding: US-ASCII
54
- string: ''
8
+ string: address=integration-test%2Bemail%40&code=550&error=Integration+Test
55
9
  headers:
56
- Accept:
57
- - "*/*"
58
- Accept-Encoding:
59
- - gzip, deflate
60
10
  User-Agent:
61
- - Ruby
62
- response:
63
- status:
64
- code: 200
65
- message: OK
66
- headers:
67
- Server:
68
- - nginx
69
- Date:
70
- - Fri, 08 Jan 2016 20:33:28 GMT
71
- Content-Type:
72
- - application/json; charset=utf-8
73
- Content-Length:
74
- - '168'
75
- Connection:
76
- - keep-alive
77
- Access-Control-Allow-Origin:
78
- - "*"
79
- Access-Control-Max-Age:
80
- - '600'
81
- Access-Control-Allow-Methods:
82
- - GET, POST, PUT, DELETE, OPTIONS
83
- Access-Control-Allow-Headers:
84
- - Content-Type, x-requested-with
85
- body:
86
- encoding: UTF-8
87
- string: '{"address":"integration-test+email@DOMAIN.TEST","code":"550","error":"Integration
88
- Test","created_at":"Fri, 08 Jan 2016 20:33:28 UTC"}'
89
- http_version:
90
- recorded_at: Fri, 08 Jan 2016 20:33:29 GMT
91
- - request:
92
- method: get
93
- uri: https://api:<APIKEY>@api.mailgun.net/v3/DOMAIN.TEST/bounces
94
- body:
95
- encoding: US-ASCII
96
- string: ''
97
- headers:
98
- Accept:
99
- - "*/*"
100
- Accept-Encoding:
101
- - gzip, deflate
102
- User-Agent:
103
- - Ruby
104
- response:
105
- status:
106
- code: 200
107
- message: OK
108
- headers:
109
- Server:
110
- - nginx
111
- Date:
112
- - Fri, 08 Jan 2016 20:33:29 GMT
113
- Content-Type:
114
- - application/json; charset=utf-8
115
- Content-Length:
116
- - '819'
117
- Connection:
118
- - keep-alive
119
- Access-Control-Allow-Origin:
120
- - "*"
121
- Access-Control-Max-Age:
122
- - '600'
123
- Access-Control-Allow-Methods:
124
- - GET, POST, PUT, DELETE, OPTIONS
125
- Access-Control-Allow-Headers:
126
- - Content-Type, x-requested-with
127
- body:
128
- encoding: UTF-8
129
- string: '{"items":[{"address":"integration-test+email@DOMAIN.TEST","code":"550","error":"Integration
130
- Test","created_at":"Fri, 08 Jan 2016 20:33:28 UTC"}],"paging":{"first":"https://api.mailgun.net/v3/DOMAIN.TEST/bounces?limit=100","last":"https://api.mailgun.net/v3/DOMAIN.TEST/bounces?page=last\u0026limit=100","next":"https://api.mailgun.net/v3/DOMAIN.TEST/bounces?page=next\u0026address=integration-test%2Bemaill%40DOMAIN.TEST\u0026limit=100","previous":"https://api.mailgun.net/v3/DOMAIN.TEST/bounces?page=previous\u0026address=integration-test%2Bemail%40DOMAIN.TEST\u0026limit=100"}}'
131
- http_version:
132
- recorded_at: Fri, 08 Jan 2016 20:33:29 GMT
133
- - request:
134
- method: delete
135
- uri: https://api:<APIKEY>@api.mailgun.net/v3/DOMAIN.TEST/bounces/integration-test+email@DOMAIN.TEST
136
- body:
137
- encoding: US-ASCII
138
- string: ''
139
- headers:
140
- Accept:
141
- - "*/*; q=0.5, application/xml"
142
- Accept-Encoding:
143
- - gzip, deflate
144
- User-Agent:
145
- - Ruby
146
- response:
147
- status:
148
- code: 200
149
- message: OK
150
- headers:
151
- Server:
152
- - nginx
153
- Date:
154
- - Fri, 08 Jan 2016 20:33:29 GMT
155
- Content-Type:
156
- - application/json; charset=utf-8
157
- Content-Length:
158
- - '128'
159
- Connection:
160
- - keep-alive
161
- Access-Control-Allow-Origin:
162
- - "*"
163
- Access-Control-Max-Age:
164
- - '600'
165
- Access-Control-Allow-Methods:
166
- - GET, POST, PUT, DELETE, OPTIONS
167
- Access-Control-Allow-Headers:
168
- - Content-Type, x-requested-with
169
- body:
170
- encoding: UTF-8
171
- string: '{"address":"integration-test+email@DOMAIN.TEST","message":"Bounced
172
- address has been removed"}'
173
- http_version:
174
- recorded_at: Fri, 08 Jan 2016 20:33:30 GMT
175
- - request:
176
- method: post
177
- uri: https://api.mailgun.net/v3/DOMAIN.TEST/bounces
178
- body:
179
- encoding: UTF-8
180
- string: address=integration-test%2Bemail%40DOMAIN.TEST&code=550&error=Integration+Test
181
- headers:
182
- User-Agent:
183
- - mailgun-sdk-ruby/1.3.0
11
+ - mailgun-sdk-ruby/1.3.2
184
12
  Accept:
185
13
  - "*/*"
186
14
  Authorization:
@@ -194,46 +22,26 @@ http_interactions:
194
22
  code: 200
195
23
  message: OK
196
24
  headers:
197
- Access-Control-Allow-Credentials:
198
- - 'true'
199
- Access-Control-Allow-Origin:
200
- - "*"
201
- Cache-Control:
202
- - no-store
203
- Content-Length:
204
- - '145'
205
- Content-Type:
206
- - application/json; charset=utf-8
207
25
  Date:
208
- - Sun, 26 Jan 2025 07:29:04 GMT
209
- Strict-Transport-Security:
210
- - max-age=63072000; includeSubDomains
211
- X-Mailgun-Key-Id:
212
- - 90b59dea-f2d12a53
213
- X-Request-Limit:
214
- - '2500'
215
- X-Request-Remaining:
216
- - '2499'
217
- X-Request-Reset:
218
- - '1737876559178'
219
- X-Xss-Protection:
220
- - 1; mode=block
26
+ - Mon, 24 Feb 2025 23:15:10 GMT
27
+ Content-Length:
28
+ - '0'
221
29
  body:
222
30
  encoding: UTF-8
223
- string: '{"message":"Address has been added to the bounces table","address":"integration-test+email@DOMAIN.TEST"}
31
+ string: '{"message":"Address has been added to the bounces table","address":"integration-test+email@"}
224
32
 
225
33
  '
226
34
  http_version:
227
- recorded_at: Sun, 26 Jan 2025 07:29:04 GMT
35
+ recorded_at: Mon, 24 Feb 2025 23:15:10 GMT
228
36
  - request:
229
37
  method: get
230
- uri: https://api.mailgun.net/v3/DOMAIN.TEST/bounces/integration-test+email@DOMAIN.TEST
38
+ uri: https://api.mailgun.net/bounces/integration-test+email@
231
39
  body:
232
40
  encoding: US-ASCII
233
41
  string: ''
234
42
  headers:
235
43
  User-Agent:
236
- - mailgun-sdk-ruby/1.3.0
44
+ - mailgun-sdk-ruby/1.3.2
237
45
  Accept:
238
46
  - "*/*"
239
47
  Authorization:
@@ -245,47 +53,27 @@ http_interactions:
245
53
  code: 200
246
54
  message: OK
247
55
  headers:
248
- Access-Control-Allow-Credentials:
249
- - 'true'
250
- Access-Control-Allow-Origin:
251
- - "*"
252
- Cache-Control:
253
- - no-store
254
- Content-Length:
255
- - '174'
256
- Content-Type:
257
- - application/json; charset=utf-8
258
56
  Date:
259
- - Sun, 26 Jan 2025 07:29:04 GMT
260
- Strict-Transport-Security:
261
- - max-age=63072000; includeSubDomains
262
- X-Mailgun-Key-Id:
263
- - 90b59dea-f2d12a53
264
- X-Request-Limit:
265
- - '2500'
266
- X-Request-Remaining:
267
- - '2498'
268
- X-Request-Reset:
269
- - '1737876559178'
270
- X-Xss-Protection:
271
- - 1; mode=block
57
+ - Mon, 24 Feb 2025 23:15:11 GMT
58
+ Content-Length:
59
+ - '0'
272
60
  body:
273
61
  encoding: UTF-8
274
- string: '{"address":"integration-test+email@DOMAIN.TEST","code":"550","error":"Integration
62
+ string: '{"address":"integration-test+email@","code":"550","error":"Integration
275
63
  Test","created_at":"Sun, 26 Jan 2025 07:29:04 UTC"}
276
64
 
277
65
  '
278
66
  http_version:
279
- recorded_at: Sun, 26 Jan 2025 07:29:04 GMT
67
+ recorded_at: Mon, 24 Feb 2025 23:15:11 GMT
280
68
  - request:
281
69
  method: get
282
- uri: https://api.mailgun.net/v3/DOMAIN.TEST/bounces
70
+ uri: https://api.mailgun.net/bounces
283
71
  body:
284
72
  encoding: US-ASCII
285
73
  string: ''
286
74
  headers:
287
75
  User-Agent:
288
- - mailgun-sdk-ruby/1.3.0
76
+ - mailgun-sdk-ruby/1.3.2
289
77
  Accept:
290
78
  - "*/*"
291
79
  Authorization:
@@ -297,30 +85,10 @@ http_interactions:
297
85
  code: 200
298
86
  message: OK
299
87
  headers:
300
- Access-Control-Allow-Credentials:
301
- - 'true'
302
- Access-Control-Allow-Origin:
303
- - "*"
304
- Cache-Control:
305
- - no-store
306
- Content-Length:
307
- - '858'
308
- Content-Type:
309
- - application/json; charset=utf-8
310
88
  Date:
311
- - Sun, 26 Jan 2025 07:29:05 GMT
312
- Strict-Transport-Security:
313
- - max-age=63072000; includeSubDomains
314
- X-Mailgun-Key-Id:
315
- - 90b59dea-f2d12a53
316
- X-Request-Limit:
317
- - '2500'
318
- X-Request-Remaining:
319
- - '2497'
320
- X-Request-Reset:
321
- - '1737876559178'
322
- X-Xss-Protection:
323
- - 1; mode=block
89
+ - Mon, 24 Feb 2025 23:15:11 GMT
90
+ Content-Length:
91
+ - '0'
324
92
  body:
325
93
  encoding: UTF-8
326
94
  string: '{"items":[{"address":"integration-test+email@DOMAIN.TEST","code":"550","error":"Integration
@@ -328,16 +96,16 @@ http_interactions:
328
96
 
329
97
  '
330
98
  http_version:
331
- recorded_at: Sun, 26 Jan 2025 07:29:05 GMT
99
+ recorded_at: Mon, 24 Feb 2025 23:15:11 GMT
332
100
  - request:
333
101
  method: delete
334
- uri: https://api.mailgun.net/v3/DOMAIN.TEST/bounces/integration-test+email@DOMAIN.TEST
102
+ uri: https://api.mailgun.net/bounces/integration-test+email@
335
103
  body:
336
104
  encoding: US-ASCII
337
105
  string: ''
338
106
  headers:
339
107
  User-Agent:
340
- - mailgun-sdk-ruby/1.3.0
108
+ - mailgun-sdk-ruby/1.3.2
341
109
  Accept:
342
110
  - "*/*"
343
111
  Authorization:
@@ -349,30 +117,14 @@ http_interactions:
349
117
  code: 200
350
118
  message: OK
351
119
  headers:
352
- Access-Control-Allow-Credentials:
353
- - 'true'
354
- Access-Control-Allow-Origin:
355
- - "*"
356
- Cache-Control:
357
- - no-store
358
- Content-Length:
359
- - '134'
360
120
  Content-Type:
361
- - application/json; charset=utf-8
121
+ - text/plain; charset=utf-8
122
+ X-Content-Type-Options:
123
+ - nosniff
362
124
  Date:
363
- - Sun, 26 Jan 2025 07:29:06 GMT
364
- Strict-Transport-Security:
365
- - max-age=63072000; includeSubDomains
366
- X-Mailgun-Key-Id:
367
- - 90b59dea-f2d12a53
368
- X-Request-Limit:
369
- - '2500'
370
- X-Request-Remaining:
371
- - '2496'
372
- X-Request-Reset:
373
- - '1737876559178'
374
- X-Xss-Protection:
375
- - 1; mode=block
125
+ - Mon, 24 Feb 2025 23:15:12 GMT
126
+ Content-Length:
127
+ - '19'
376
128
  body:
377
129
  encoding: UTF-8
378
130
  string: '{"address":"integration-test+email@DOMAIN.TEST","message":"Bounced