broadcast-ruby 0.5.0 → 0.6.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 +12 -0
- data/Gemfile.lock +2 -2
- data/README.md +6 -2
- data/SDK-COVERAGE.md +2 -1
- data/lib/broadcast/resources/migration.rb +2 -2
- data/lib/broadcast/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: 98cb127e971456521ce14ecd8b2f3f8a90b5ce295623c6ad3e8b60495f3b231f
|
|
4
|
+
data.tar.gz: ac3dab036f2d6bfdf07108e82e14c57821010ecbbc0434355b85319f71c63868
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 901e3de9e03327d7750e80b55ef9db13dd615eb258ddef2ec36d0c6063d7b3307689798b626a05fcc6c38e611a0954977f2341de0584f89be103d2e16bfae2e2
|
|
7
|
+
data.tar.gz: b657ab5a20df302fc9e0c5b217937deb50ddec49dc4f87200f95292433e4464eb0c89ae7104b741f787909d2a9b1b5d5f9117e1a2730c3d2c0e3c29cf502e849
|
data/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,18 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
|
|
5
|
+
## [Unreleased]
|
|
6
|
+
|
|
7
|
+
## [0.6.0] - 2026-10-03
|
|
8
|
+
|
|
9
|
+
### Added
|
|
10
|
+
|
|
11
|
+
- `Migration#unsubscribed_emails` for `GET /api/migration/v1/unsubscribed_emails`,
|
|
12
|
+
the channel's own suppression list (rows `id`, `email`,
|
|
13
|
+
`broadcast_channel_id`, `created_at`, `updated_at`). `each_record(:unsubscribed_emails)`
|
|
14
|
+
pages it. `suppressions` returns only the global suppression list, so an
|
|
15
|
+
export needs both.
|
|
16
|
+
|
|
5
17
|
## [0.5.0] - 2026-09-25
|
|
6
18
|
|
|
7
19
|
### Added
|
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
broadcast-ruby (0.
|
|
4
|
+
broadcast-ruby (0.6.0)
|
|
5
5
|
base64
|
|
6
6
|
|
|
7
7
|
GEM
|
|
@@ -177,7 +177,7 @@ CHECKSUMS
|
|
|
177
177
|
ast (2.4.3) sha256=954615157c1d6a382bc27d690d973195e79db7f55e9765ac7c481c60bdb4d383
|
|
178
178
|
base64 (0.3.0) sha256=27337aeabad6ffae05c265c450490628ef3ebd4b67be58257393227588f5a97b
|
|
179
179
|
bigdecimal (4.0.1) sha256=8b07d3d065a9f921c80ceaea7c9d4ae596697295b584c296fe599dd0ad01c4a7
|
|
180
|
-
broadcast-ruby (0.
|
|
180
|
+
broadcast-ruby (0.6.0)
|
|
181
181
|
builder (3.3.0) sha256=497918d2f9dca528fdca4b88d84e4ef4387256d984b8154e9d5d3fe5a9c8835f
|
|
182
182
|
concurrent-ruby (1.3.6) sha256=6b56837e1e7e5292f9864f34b69c5a2cbc75c0cf5338f1ce9903d10fa762d5ab
|
|
183
183
|
connection_pool (3.0.2) sha256=33fff5ba71a12d2aa26cb72b1db8bba2a1a01823559fb01d29eb74c286e62e0a
|
data/README.md
CHANGED
|
@@ -1380,10 +1380,14 @@ Available collections:
|
|
|
1380
1380
|
```
|
|
1381
1381
|
channels subscribers templates segments sequences email_servers
|
|
1382
1382
|
opt_in_forms broadcasts outbound_receipts webhook_endpoints tokens
|
|
1383
|
-
suppressions tags users link_redirects
|
|
1384
|
-
subscriber_histories file_assets
|
|
1383
|
+
suppressions unsubscribed_emails tags users link_redirects
|
|
1384
|
+
link_clicks subscriber_histories file_assets
|
|
1385
1385
|
```
|
|
1386
1386
|
|
|
1387
|
+
`suppressions` is the global suppression list (GlobalSuppression rows, global
|
|
1388
|
+
or scoped to the channel). `unsubscribed_emails` is the channel's own
|
|
1389
|
+
suppression list. Export both to keep every suppressed address.
|
|
1390
|
+
|
|
1387
1391
|
File assets are downloaded separately and return raw bytes:
|
|
1388
1392
|
|
|
1389
1393
|
```ruby
|
data/SDK-COVERAGE.md
CHANGED
|
@@ -53,7 +53,7 @@ Two details worth knowing when reading the map below:
|
|
|
53
53
|
- **PATCH is canonical.** Rails' `resources` routes `update` to both PATCH and
|
|
54
54
|
PUT. They are one operation; the generator drops the PUT alias. Counting both
|
|
55
55
|
would inflate the denominator by 8 and make this gem look 8 endpoints short.
|
|
56
|
-
- **Metaprogrammed endpoints are declared.** The
|
|
56
|
+
- **Metaprogrammed endpoints are declared.** The 19 migration collections are
|
|
57
57
|
defined by `define_method` over `Migration::COLLECTIONS`, so no path literal
|
|
58
58
|
exists to scan. They are listed in `.api-coverage.yml` and marked
|
|
59
59
|
*(generated)* below. That file is produced from the gem's own constants — it
|
|
@@ -268,6 +268,7 @@ on the client and the gem attaches it.
|
|
|
268
268
|
| GET | `/api/migration/v1/webhook_endpoints` | *(generated)* `Migration#webhook_endpoints` |
|
|
269
269
|
| GET | `/api/migration/v1/tokens` | *(generated)* `Migration#tokens` |
|
|
270
270
|
| GET | `/api/migration/v1/suppressions` | *(generated)* `Migration#suppressions` |
|
|
271
|
+
| GET | `/api/migration/v1/unsubscribed_emails` | *(generated)* `Migration#unsubscribed_emails` |
|
|
271
272
|
| GET | `/api/migration/v1/tags` | *(generated)* `Migration#tags` |
|
|
272
273
|
| GET | `/api/migration/v1/users` | *(generated)* `Migration#users` |
|
|
273
274
|
| GET | `/api/migration/v1/link_redirects` | *(generated)* `Migration#link_redirects` |
|
|
@@ -20,8 +20,8 @@ module Broadcast
|
|
|
20
20
|
COLLECTIONS = %i[
|
|
21
21
|
channels subscribers templates segments sequences email_servers
|
|
22
22
|
opt_in_forms broadcasts outbound_receipts webhook_endpoints tokens
|
|
23
|
-
suppressions tags users link_redirects link_clicks
|
|
24
|
-
file_assets
|
|
23
|
+
suppressions unsubscribed_emails tags users link_redirects link_clicks
|
|
24
|
+
subscriber_histories file_assets
|
|
25
25
|
].freeze
|
|
26
26
|
|
|
27
27
|
COLLECTIONS.each do |collection|
|
data/lib/broadcast/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: broadcast-ruby
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.6.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Simon Chiu
|
|
@@ -90,7 +90,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
90
90
|
- !ruby/object:Gem::Version
|
|
91
91
|
version: '0'
|
|
92
92
|
requirements: []
|
|
93
|
-
rubygems_version: 4.0.
|
|
93
|
+
rubygems_version: 4.0.10
|
|
94
94
|
specification_version: 4
|
|
95
95
|
summary: Ruby client for the Broadcast email platform
|
|
96
96
|
test_files: []
|