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.
@@ -1,217 +1,5 @@
1
1
  ---
2
2
  http_interactions:
3
- - request:
4
- method: get
5
- uri: https://api:<APIKEY>@api.mailgun.net/v3/address/parse?addresses=Alice%20%3Calice@example.com%3E%3Bbob@example.com%3Bexample.org&syntax_only=true
6
- body:
7
- encoding: US-ASCII
8
- string: ''
9
- headers:
10
- Accept:
11
- - "*/*"
12
- Accept-Encoding:
13
- - gzip, deflate
14
- User-Agent:
15
- - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
16
- Host:
17
- - api.mailgun.net
18
- response:
19
- status:
20
- code: 200
21
- message: OK
22
- headers:
23
- Server:
24
- - nginx
25
- Date:
26
- - Wed, 26 Oct 2016 22:44:07 GMT
27
- Content-Type:
28
- - application/json
29
- Content-Length:
30
- - '118'
31
- Connection:
32
- - keep-alive
33
- Content-Disposition:
34
- - inline
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
43
- body:
44
- encoding: UTF-8
45
- string: |-
46
- {
47
- "parsed": [
48
- "Alice <alice@example.com>",
49
- "bob@example.com"
50
- ],
51
- "unparsable": [
52
- "example.org"
53
- ]
54
- }
55
- http_version:
56
- recorded_at: Wed, 26 Oct 2016 22:44:50 GMT
57
- - request:
58
- method: get
59
- uri: https://api:<APIKEY>@api.mailgun.net/v3/address/validate?address=alice@mailgun.net
60
- body:
61
- encoding: US-ASCII
62
- string: ''
63
- headers:
64
- Accept:
65
- - "*/*"
66
- Accept-Encoding:
67
- - gzip, deflate
68
- User-Agent:
69
- - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
70
- Host:
71
- - api.mailgun.net
72
- response:
73
- status:
74
- code: 200
75
- message: OK
76
- headers:
77
- Server:
78
- - nginx
79
- Date:
80
- - Wed, 26 Oct 2016 22:44:08 GMT
81
- Content-Type:
82
- - application/json
83
- Content-Length:
84
- - '179'
85
- Connection:
86
- - keep-alive
87
- Content-Disposition:
88
- - inline
89
- Access-Control-Allow-Origin:
90
- - "*"
91
- Access-Control-Max-Age:
92
- - '600'
93
- Access-Control-Allow-Methods:
94
- - GET, POST, PUT, DELETE, OPTIONS
95
- Access-Control-Allow-Headers:
96
- - Content-Type, x-requested-with
97
- body:
98
- encoding: UTF-8
99
- string: |-
100
- {
101
- "address": "alice@mailgun.net",
102
- "did_you_mean": null,
103
- "is_valid": true,
104
- "parts": {
105
- "display_name": null,
106
- "domain": "mailgun.net",
107
- "local_part": "alice"
108
- }
109
- }
110
- http_version:
111
- recorded_at: Wed, 26 Oct 2016 22:44:50 GMT
112
- - request:
113
- method: get
114
- uri: https://api:<APIKEY>@api.mailgun.net/v3/address/validate?address=example.org
115
- body:
116
- encoding: US-ASCII
117
- string: ''
118
- headers:
119
- Accept:
120
- - "*/*"
121
- Accept-Encoding:
122
- - gzip, deflate
123
- User-Agent:
124
- - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
125
- Host:
126
- - api.mailgun.net
127
- response:
128
- status:
129
- code: 200
130
- message: OK
131
- headers:
132
- Server:
133
- - nginx
134
- Date:
135
- - Wed, 26 Oct 2016 22:44:08 GMT
136
- Content-Type:
137
- - application/json
138
- Content-Length:
139
- - '162'
140
- Connection:
141
- - keep-alive
142
- Content-Disposition:
143
- - inline
144
- Access-Control-Allow-Origin:
145
- - "*"
146
- Access-Control-Max-Age:
147
- - '600'
148
- Access-Control-Allow-Methods:
149
- - GET, POST, PUT, DELETE, OPTIONS
150
- Access-Control-Allow-Headers:
151
- - Content-Type, x-requested-with
152
- body:
153
- encoding: UTF-8
154
- string: |-
155
- {
156
- "address": "example.org",
157
- "did_you_mean": null,
158
- "is_valid": false,
159
- "parts": {
160
- "display_name": null,
161
- "domain": null,
162
- "local_part": null
163
- }
164
- }
165
- http_version:
166
- recorded_at: Wed, 26 Oct 2016 22:44:50 GMT
167
- - request:
168
- method: get
169
- uri: https://api:<APIKEY>@api.mailgun.net/v3/address/validate?address=alice@mailgun.net&mailbox_verification=true
170
- body:
171
- encoding: US-ASCII
172
- string: ''
173
- headers:
174
- Accept:
175
- - "*/*"
176
- Accept-Encoding:
177
- - gzip, deflate
178
- User-Agent:
179
- - rest-client/2.0.2 (darwin16.7.0 x86_64) ruby/2.0.0p0
180
- Host:
181
- - api.mailgun.net
182
- response:
183
- status:
184
- code: 200
185
- message: OK
186
- headers:
187
- Access-Control-Allow-Headers:
188
- - Content-Type, x-requested-with
189
- Access-Control-Allow-Methods:
190
- - GET, POST, PUT, DELETE, OPTIONS
191
- Access-Control-Allow-Origin:
192
- - "*"
193
- Access-Control-Max-Age:
194
- - '600'
195
- Content-Disposition:
196
- - inline
197
- Content-Type:
198
- - application/json
199
- Date:
200
- - Tue, 12 Sep 2017 16:55:09 GMT
201
- Server:
202
- - nginx
203
- Content-Length:
204
- - '243'
205
- Connection:
206
- - keep-alive
207
- body:
208
- encoding: UTF-8
209
- string: '{"address": "alice@mailgun.net", "did_you_mean": null, "is_disposable_address":
210
- false, "is_role_address": false, "is_valid": true, "mailbox_verification":
211
- "true", "parts": {"display_name": null, "domain": "mailgun.net", "local_part":
212
- "alice"}}'
213
- http_version:
214
- recorded_at: Tue, 12 Sep 2017 16:55:09 GMT
215
3
  - request:
216
4
  method: get
217
5
  uri: https://api.mailgun.net/v4/address/validate?address=alice@mailgun.net
@@ -229,8 +17,8 @@ http_interactions:
229
17
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
230
18
  response:
231
19
  status:
232
- code: 401
233
- message: Unauthorized
20
+ code: 200
21
+ message: OK
234
22
  headers:
235
23
  Access-Control-Allow-Credentials:
236
24
  - 'true'
@@ -243,7 +31,7 @@ http_interactions:
243
31
  Content-Type:
244
32
  - application/json
245
33
  Date:
246
- - Sun, 26 Jan 2025 07:29:18 GMT
34
+ - Mon, 24 Feb 2025 23:51:09 GMT
247
35
  Strict-Transport-Security:
248
36
  - max-age=63072000; includeSubDomains
249
37
  Www-Authenticate:
@@ -252,9 +40,23 @@ http_interactions:
252
40
  - 1; mode=block
253
41
  body:
254
42
  encoding: UTF-8
255
- string: '{"message":"Need authorization header"}'
43
+ string: |-
44
+ {
45
+ "address": "alice@mailgun.net",
46
+ "did_you_mean": null,
47
+ "is_disposable_address": false,
48
+ "is_role_address": false,
49
+ "is_valid": true,
50
+ "mailbox_verification": "true",
51
+ "reason": null,
52
+ "parts": {
53
+ "display_name": null,
54
+ "domain": "mailgun.net",
55
+ "local_part": "alice"
56
+ }
57
+ }
256
58
  http_version:
257
- recorded_at: Sun, 26 Jan 2025 07:29:18 GMT
59
+ recorded_at: Mon, 24 Feb 2025 23:51:09 GMT
258
60
  - request:
259
61
  method: get
260
62
  uri: https://api.mailgun.net/v4/address/validate?address=alice@mailgun.net&mailbox_verification=true
@@ -263,7 +65,7 @@ http_interactions:
263
65
  string: ''
264
66
  headers:
265
67
  User-Agent:
266
- - mailgun-sdk-ruby/1.3.0
68
+ - mailgun-sdk-ruby/1.3.2
267
69
  Accept:
268
70
  - "*/*"
269
71
  Authorization:
@@ -272,8 +74,8 @@ http_interactions:
272
74
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
273
75
  response:
274
76
  status:
275
- code: 401
276
- message: Unauthorized
77
+ code: 200
78
+ message: OK
277
79
  headers:
278
80
  Access-Control-Allow-Credentials:
279
81
  - 'true'
@@ -286,7 +88,7 @@ http_interactions:
286
88
  Content-Type:
287
89
  - application/json
288
90
  Date:
289
- - Sun, 26 Jan 2025 07:29:19 GMT
91
+ - Mon, 24 Feb 2025 23:51:09 GMT
290
92
  Strict-Transport-Security:
291
93
  - max-age=63072000; includeSubDomains
292
94
  Www-Authenticate:
@@ -295,9 +97,12 @@ http_interactions:
295
97
  - 1; mode=block
296
98
  body:
297
99
  encoding: UTF-8
298
- string: '{"message":"Need authorization header"}'
100
+ string: '{"address": "alice@mailgun.net", "did_you_mean": null, "is_disposable_address":
101
+ false, "is_role_address": false, "is_valid": true, "mailbox_verification":
102
+ "true", "parts": {"display_name": null, "domain": "mailgun.net", "local_part":
103
+ "alice"}}'
299
104
  http_version:
300
- recorded_at: Sun, 26 Jan 2025 07:29:19 GMT
105
+ recorded_at: Mon, 24 Feb 2025 23:51:09 GMT
301
106
  - request:
302
107
  method: get
303
108
  uri: https://api.mailgun.net/v4/address/validate?address=example.org
@@ -306,7 +111,7 @@ http_interactions:
306
111
  string: ''
307
112
  headers:
308
113
  User-Agent:
309
- - mailgun-sdk-ruby/1.3.0
114
+ - mailgun-sdk-ruby/1.3.2
310
115
  Accept:
311
116
  - "*/*"
312
117
  Authorization:
@@ -315,8 +120,8 @@ http_interactions:
315
120
  - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
316
121
  response:
317
122
  status:
318
- code: 401
319
- message: Unauthorized
123
+ code: 200
124
+ message: OK
320
125
  headers:
321
126
  Access-Control-Allow-Credentials:
322
127
  - 'true'
@@ -329,7 +134,7 @@ http_interactions:
329
134
  Content-Type:
330
135
  - application/json
331
136
  Date:
332
- - Sun, 26 Jan 2025 07:29:20 GMT
137
+ - Mon, 24 Feb 2025 23:51:10 GMT
333
138
  Strict-Transport-Security:
334
139
  - max-age=63072000; includeSubDomains
335
140
  Www-Authenticate:
@@ -338,7 +143,10 @@ http_interactions:
338
143
  - 1; mode=block
339
144
  body:
340
145
  encoding: UTF-8
341
- string: '{"message":"Need authorization header"}'
146
+ string: '{"address": "example.org", "did_you_mean": null, "is_disposable_address":
147
+ false, "is_role_address": false, "is_valid": false, "mailbox_verification":
148
+ "unknown", "parts": {"display_name": null, "domain": null, "local_part":
149
+ null}}'
342
150
  http_version:
343
- recorded_at: Sun, 26 Jan 2025 07:29:20 GMT
151
+ recorded_at: Mon, 24 Feb 2025 23:51:10 GMT
344
152
  recorded_with: VCR 3.0.3