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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e6de9e47220eef51098f31f9a3e054c48f85daa6340455f0c0687717d50cc2dd
4
- data.tar.gz: 798cd7c86055391acefb0615bc45f48f2da7efc989c501b3e8910b50228d91cd
3
+ metadata.gz: adc8b860a8bb646bf8074ad072bed0df5bdbf6ff0b90d822f6112bdba096484e
4
+ data.tar.gz: 2243c744c3159bfd970897e36d16b3dc5ff25a0f319dd60edd55fc8f1e9b99ce
5
5
  SHA512:
6
- metadata.gz: d6b1d8db6ecc94236b517d7391560037348b025c570a85f16372695ae7c8ba88e3d0fdcdb4c36c851883b4cd587a1639769668de13b7d0e4bb298f423fe834c7
7
- data.tar.gz: 60170ae839ce1c15ed4c6cafb2961f1b119f9d2a7875fed2d040fb26e1bd7faf1c17dfa42f1486cdfc715fed8975d60f4105d82ec4b19b4f444fff3072ce0d1d
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
@@ -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 an optional +region+.
58
- # The response +records+ lists the TXT record to publish.
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Mailtea
4
- VERSION = "0.6.0"
4
+ VERSION = "0.7.0"
5
5
  end
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.6.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-09-29 00:00:00.000000000 Z
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.'