mailgun-ruby 1.2.16 → 1.3.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.
@@ -48,7 +48,7 @@ http_interactions:
48
48
  encoding: UTF-8
49
49
  string: '{"address":"integration-test-email@DOMAIN.TEST","message":"Address
50
50
  has been added to the unsubscribes table"}'
51
- http_version:
51
+ http_version:
52
52
  recorded_at: Fri, 08 Jan 2016 18:55:05 GMT
53
53
  - request:
54
54
  method: get
@@ -94,7 +94,7 @@ http_interactions:
94
94
  encoding: UTF-8
95
95
  string: '{"address":"integration-test-email@DOMAIN.TEST","tags":["*"],"created_at":"Fri,
96
96
  08 Jan 2016 18:55:04 UTC"}'
97
- http_version:
97
+ http_version:
98
98
  recorded_at: Fri, 08 Jan 2016 18:55:05 GMT
99
99
  - request:
100
100
  method: get
@@ -140,7 +140,7 @@ http_interactions:
140
140
  encoding: UTF-8
141
141
  string: '{"items":[{"address":"integration-test-email@DOMAIN.TEST","tags":["*"],"created_at":"Fri,
142
142
  08 Jan 2016 18:55:04 UTC"}],"paging":{"first":"https://api.mailgun.net/v3/DOMAIN.TEST/unsubscribes?limit=100","last":"https://api.mailgun.net/v3/DOMAIN.TEST/unsubscribes?page=last\u0026limit=100","next":"https://api.mailgun.net/v3/DOMAIN.TEST/unsubscribes?page=next\u0026address=integration-test-email%40DOMAIN.TEST\u0026limit=100","previous":"https://api.mailgun.net/v3/DOMAIN.TEST/unsubscribes?page=previous\u0026address=integration-test-email%40DOMAIN.TEST\u0026limit=100"}}'
143
- http_version:
143
+ http_version:
144
144
  recorded_at: Fri, 08 Jan 2016 18:55:28 GMT
145
145
  - request:
146
146
  method: delete
@@ -186,6 +186,216 @@ http_interactions:
186
186
  encoding: UTF-8
187
187
  string: '{"address":"integration-test-email@DOMAIN.TEST","message":"Unsubscribe
188
188
  event has been removed"}'
189
- http_version:
189
+ http_version:
190
190
  recorded_at: Fri, 08 Jan 2016 18:55:28 GMT
191
- recorded_with: VCR 3.0.1
191
+ - request:
192
+ method: post
193
+ uri: https://api.mailgun.net/v3/DOMAIN.TEST/unsubscribes
194
+ body:
195
+ encoding: UTF-8
196
+ string: address=integration-test-email%40DOMAIN.TEST&tag=%2A
197
+ headers:
198
+ User-Agent:
199
+ - mailgun-sdk-ruby/1.3.0
200
+ Accept:
201
+ - "*/*"
202
+ Authorization:
203
+ - Basic xxx==
204
+ Content-Type:
205
+ - application/x-www-form-urlencoded
206
+ Accept-Encoding:
207
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
208
+ response:
209
+ status:
210
+ code: 200
211
+ message: OK
212
+ headers:
213
+ Access-Control-Allow-Credentials:
214
+ - 'true'
215
+ Access-Control-Allow-Origin:
216
+ - "*"
217
+ Cache-Control:
218
+ - no-store
219
+ Content-Length:
220
+ - '150'
221
+ Content-Type:
222
+ - application/json; charset=utf-8
223
+ Date:
224
+ - Sun, 26 Jan 2025 07:29:46 GMT
225
+ Strict-Transport-Security:
226
+ - max-age=63072000; includeSubDomains
227
+ X-Mailgun-Key-Id:
228
+ - 90b59dea-f2d12a53
229
+ X-Request-Limit:
230
+ - '2500'
231
+ X-Request-Remaining:
232
+ - '2484'
233
+ X-Request-Reset:
234
+ - '1737876591950'
235
+ X-Xss-Protection:
236
+ - 1; mode=block
237
+ body:
238
+ encoding: UTF-8
239
+ string: '{"address":"integration-test-email@DOMAIN.TEST","message":"Address
240
+ has been added to the unsubscribes table"}
241
+
242
+ '
243
+ http_version:
244
+ recorded_at: Sun, 26 Jan 2025 07:29:46 GMT
245
+ - request:
246
+ method: get
247
+ uri: https://api.mailgun.net/v3/DOMAIN.TEST/unsubscribes/integration-test-email@DOMAIN.TEST
248
+ body:
249
+ encoding: US-ASCII
250
+ string: ''
251
+ headers:
252
+ User-Agent:
253
+ - mailgun-sdk-ruby/1.3.0
254
+ Accept:
255
+ - "*/*"
256
+ Authorization:
257
+ - Basic xxx==
258
+ Accept-Encoding:
259
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
260
+ response:
261
+ status:
262
+ code: 200
263
+ message: OK
264
+ headers:
265
+ Access-Control-Allow-Credentials:
266
+ - 'true'
267
+ Access-Control-Allow-Origin:
268
+ - "*"
269
+ Cache-Control:
270
+ - no-store
271
+ Content-Length:
272
+ - '147'
273
+ Content-Type:
274
+ - application/json; charset=utf-8
275
+ Date:
276
+ - Sun, 26 Jan 2025 07:29:46 GMT
277
+ Strict-Transport-Security:
278
+ - max-age=63072000; includeSubDomains
279
+ X-Mailgun-Key-Id:
280
+ - 90b59dea-f2d12a53
281
+ X-Request-Limit:
282
+ - '2500'
283
+ X-Request-Remaining:
284
+ - '2483'
285
+ X-Request-Reset:
286
+ - '1737876591950'
287
+ X-Xss-Protection:
288
+ - 1; mode=block
289
+ body:
290
+ encoding: UTF-8
291
+ string: '{"address":"integration-test-email@DOMAIN.TEST","tags":["*"],"created_at":"Sun,
292
+ 26 Jan 2025 07:29:46 UTC"}
293
+
294
+ '
295
+ http_version:
296
+ recorded_at: Sun, 26 Jan 2025 07:29:47 GMT
297
+ - request:
298
+ method: get
299
+ uri: https://api.mailgun.net/v3/DOMAIN.TEST/unsubscribes
300
+ body:
301
+ encoding: US-ASCII
302
+ string: ''
303
+ headers:
304
+ User-Agent:
305
+ - mailgun-sdk-ruby/1.3.0
306
+ Accept:
307
+ - "*/*"
308
+ Authorization:
309
+ - Basic xxx==
310
+ Accept-Encoding:
311
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
312
+ response:
313
+ status:
314
+ code: 200
315
+ message: OK
316
+ headers:
317
+ Access-Control-Allow-Credentials:
318
+ - 'true'
319
+ Access-Control-Allow-Origin:
320
+ - "*"
321
+ Cache-Control:
322
+ - no-store
323
+ Content-Length:
324
+ - '847'
325
+ Content-Type:
326
+ - application/json; charset=utf-8
327
+ Date:
328
+ - Sun, 26 Jan 2025 07:29:47 GMT
329
+ Strict-Transport-Security:
330
+ - max-age=63072000; includeSubDomains
331
+ X-Mailgun-Key-Id:
332
+ - 90b59dea-f2d12a53
333
+ X-Request-Limit:
334
+ - '2500'
335
+ X-Request-Remaining:
336
+ - '2482'
337
+ X-Request-Reset:
338
+ - '1737876591950'
339
+ X-Xss-Protection:
340
+ - 1; mode=block
341
+ body:
342
+ encoding: UTF-8
343
+ string: '{"items":[{"address":"integration-test-email@DOMAIN.TEST","tags":["*"],"created_at":"Sun,
344
+ 26 Jan 2025 07:29:46 UTC"}],"paging":{"first":"https://api.mailgun.net/v3/DOMAIN.TEST/unsubscribes?limit=100&term=","last":"https://api.mailgun.net/v3/DOMAIN.TEST/unsubscribes?page=last&limit=100&term=","next":"https://api.mailgun.net/v3/DOMAIN.TEST/unsubscribes?page=next&address=integration-test-email%40DOMAIN.TEST&limit=100&term=","previous":"https://api.mailgun.net/v3/DOMAIN.TEST/unsubscribes?page=previous&address=integration-test-email%40DOMAIN.TEST&limit=100&term="}}
345
+
346
+ '
347
+ http_version:
348
+ recorded_at: Sun, 26 Jan 2025 07:29:47 GMT
349
+ - request:
350
+ method: delete
351
+ uri: https://api.mailgun.net/v3/DOMAIN.TEST/unsubscribes/integration-test-email@DOMAIN.TEST
352
+ body:
353
+ encoding: US-ASCII
354
+ string: ''
355
+ headers:
356
+ User-Agent:
357
+ - mailgun-sdk-ruby/1.3.0
358
+ Accept:
359
+ - "*/*"
360
+ Authorization:
361
+ - Basic xxx==
362
+ Accept-Encoding:
363
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
364
+ response:
365
+ status:
366
+ code: 200
367
+ message: OK
368
+ headers:
369
+ Access-Control-Allow-Credentials:
370
+ - 'true'
371
+ Access-Control-Allow-Origin:
372
+ - "*"
373
+ Cache-Control:
374
+ - no-store
375
+ Content-Length:
376
+ - '136'
377
+ Content-Type:
378
+ - application/json; charset=utf-8
379
+ Date:
380
+ - Sun, 26 Jan 2025 07:29:48 GMT
381
+ Strict-Transport-Security:
382
+ - max-age=63072000; includeSubDomains
383
+ X-Mailgun-Key-Id:
384
+ - 90b59dea-f2d12a53
385
+ X-Request-Limit:
386
+ - '2500'
387
+ X-Request-Remaining:
388
+ - '2481'
389
+ X-Request-Reset:
390
+ - '1737876591950'
391
+ X-Xss-Protection:
392
+ - 1; mode=block
393
+ body:
394
+ encoding: UTF-8
395
+ string: '{"address":"integration-test-email@DOMAIN.TEST","message":"Unsubscribe
396
+ event has been removed"}
397
+
398
+ '
399
+ http_version:
400
+ recorded_at: Sun, 26 Jan 2025 07:29:48 GMT
401
+ recorded_with: VCR 3.0.3
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mailgun-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.16
4
+ version: 1.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mailgun
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2024-11-29 00:00:00.000000000 Z
12
+ date: 2025-01-26 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler
@@ -124,19 +124,33 @@ dependencies:
124
124
  - !ruby/object:Gem::Version
125
125
  version: '0'
126
126
  - !ruby/object:Gem::Dependency
127
- name: rest-client
127
+ name: mime-types
128
128
  requirement: !ruby/object:Gem::Requirement
129
129
  requirements:
130
130
  - - ">="
131
131
  - !ruby/object:Gem::Version
132
- version: 2.0.2
132
+ version: '0'
133
133
  type: :runtime
134
134
  prerelease: false
135
135
  version_requirements: !ruby/object:Gem::Requirement
136
136
  requirements:
137
137
  - - ">="
138
138
  - !ruby/object:Gem::Version
139
- version: 2.0.2
139
+ version: '0'
140
+ - !ruby/object:Gem::Dependency
141
+ name: faraday
142
+ requirement: !ruby/object:Gem::Requirement
143
+ requirements:
144
+ - - "~>"
145
+ - !ruby/object:Gem::Version
146
+ version: '2.1'
147
+ type: :runtime
148
+ prerelease: false
149
+ version_requirements: !ruby/object:Gem::Requirement
150
+ requirements:
151
+ - - "~>"
152
+ - !ruby/object:Gem::Version
153
+ version: '2.1'
140
154
  description: Mailgun's Official Ruby SDK for interacting with the Mailgun API.
141
155
  email: support@mailgunhq.com
142
156
  executables: []
@@ -163,11 +177,11 @@ files:
163
177
  - docs/Snippets.md
164
178
  - docs/Subaccounts.md
165
179
  - docs/Suppressions.md
180
+ - docs/Templates.md
166
181
  - docs/Webhooks.md
167
182
  - docs/railgun/EmailValidation.md
168
183
  - docs/railgun/Overview.md
169
184
  - docs/railgun/Parameters.md
170
- - docs/railgun/Templates.md
171
185
  - lib/mailgun-ruby.rb
172
186
  - lib/mailgun.rb
173
187
  - lib/mailgun/address.rb
@@ -274,7 +288,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
274
288
  - !ruby/object:Gem::Version
275
289
  version: '0'
276
290
  requirements: []
277
- rubygems_version: 3.3.26
291
+ rubygems_version: 3.3.27
278
292
  signing_key:
279
293
  specification_version: 4
280
294
  summary: Mailgun's Official Ruby SDK
File without changes