mailtea 0.6.0 → 0.7.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/CHANGELOG.md +8 -0
- data/lib/mailtea/domains.rb +4 -2
- data/lib/mailtea/version.rb +1 -1
- 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: adc8b860a8bb646bf8074ad072bed0df5bdbf6ff0b90d822f6112bdba096484e
|
|
4
|
+
data.tar.gz: 2243c744c3159bfd970897e36d16b3dc5ff25a0f319dd60edd55fc8f1e9b99ce
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a875f5852117438871507eca3639a26e4a1cfcb865e11896ab7ff585b38285b3d2762faf316ab1a9a9ac666a6f04555f415b52673632a9a5b2f6cb2565c23ed3
|
|
7
|
+
data.tar.gz: 3a418426b613b8def9ad85494f49368d79371a0e29ecba3469c783efdfe02a4ae1481a298ab864d599fb561ec67b48ea37279d4126b7d7ac5d590f9bc6bf7a2e
|
data/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to the `mailtea` Ruby gem are documented here.
|
|
4
4
|
|
|
5
|
+
## 0.7.0 (2026-10-01)
|
|
6
|
+
|
|
7
|
+
- Docs: a domain claim takes an optional `purpose` (`email`, `site` or
|
|
8
|
+
`both`, default `email`), and the domain the claim produces is created with
|
|
9
|
+
that purpose; every claim response carries `purpose`. The parameter passes
|
|
10
|
+
through the existing claim call; only the doc comments change here. Needs the
|
|
11
|
+
API deployed with this change.
|
|
12
|
+
|
|
5
13
|
## 0.6.0 (2026-09-29)
|
|
6
14
|
|
|
7
15
|
- Docs: template history now records the sender. Each entry from the template
|
data/lib/mailtea/domains.rb
CHANGED
|
@@ -54,8 +54,10 @@ module Mailtea
|
|
|
54
54
|
# lists to prove you control the DNS, then #verify it. On success the other
|
|
55
55
|
# team's domain is released and a fresh one is created for you.
|
|
56
56
|
class DomainClaims < Resource
|
|
57
|
-
# Open a claim. Takes +publication_id+, +name+ and
|
|
58
|
-
#
|
|
57
|
+
# Open a claim. Takes +publication_id+, +name+ and optional +region+ and
|
|
58
|
+
# +purpose+ ("email", "site" or "both", default "email"): the domain the
|
|
59
|
+
# claim produces is created with that purpose. The response +records+ lists
|
|
60
|
+
# the TXT record to publish, and every claim carries +purpose+.
|
|
59
61
|
def create(params = nil, **fields)
|
|
60
62
|
request("POST", "/v1/domains/claim", payload(params, fields))
|
|
61
63
|
end
|
data/lib/mailtea/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: mailtea
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.7.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Mailtea
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-
|
|
11
|
+
date: 2026-10-01 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description: 'The official Ruby SDK for Mailtea: a thin, zero-dependency wrapper over
|
|
14
14
|
the Mailtea REST API, built on net/http and json.'
|