mailkite 0.10.0 → 0.11.0
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.
- checksums.yaml +4 -4
- data/lib/mailkite.rb +3 -2
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6150a49b6aeb81a4a2f47110dca45c08d0369de7492de5f09a93ba962aae6e22
|
|
4
|
+
data.tar.gz: 7432bb5749a2e701d4a08cbaf92e0a386853e9953c7b4db4cfb23834f480c96d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e8651f3331f64a40afca30a2b3191d40deb9a9cf71393e8d9df8a1ae9273ad5d73828dc67b38a3f928d80b063ed32c03e337f418a7df1646eb0806dcbb70862c
|
|
7
|
+
data.tar.gz: d8989b2cc0b1581990b0b4c0c1622e65fc89b9acec5ad26e4de734b583354fd777f779072d696d84cf267457e9a415c2b57c470872417c138caec224e6e13272
|
data/lib/mailkite.rb
CHANGED
|
@@ -15,7 +15,7 @@ require "base64"
|
|
|
15
15
|
require "cgi"
|
|
16
16
|
|
|
17
17
|
module Mailkite
|
|
18
|
-
VERSION = "0.
|
|
18
|
+
VERSION = "0.11.0"
|
|
19
19
|
DEFAULT_BASE_URL = "https://api.mailkite.dev"
|
|
20
20
|
# Reject webhook events older than this (ms) to block replays. Pass 0 to disable.
|
|
21
21
|
DEFAULT_TOLERANCE_MS = 5 * 60 * 1000
|
|
@@ -355,10 +355,11 @@ module Mailkite
|
|
|
355
355
|
end
|
|
356
356
|
|
|
357
357
|
# --- Messages & deliveries -----------------------------------------
|
|
358
|
-
def listMessages(before = nil, limit = nil)
|
|
358
|
+
def listMessages(before = nil, limit = nil, search = nil)
|
|
359
359
|
params = []
|
|
360
360
|
params << "before=#{CGI.escape(before.to_s)}" unless before.nil?
|
|
361
361
|
params << "limit=#{CGI.escape(limit.to_s)}" unless limit.nil?
|
|
362
|
+
params << "search=#{CGI.escape(search.to_s)}" unless search.nil?
|
|
362
363
|
path = "/api/messages"
|
|
363
364
|
path += "?#{params.join('&')}" unless params.empty?
|
|
364
365
|
request("GET", path)
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: mailkite
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.11.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- MailKite
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-06-
|
|
11
|
+
date: 2026-06-29 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description: Send and manage email over your own authenticated domain with MailKite.
|
|
14
14
|
email:
|