hookbridge 2.0.0 → 2.2.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 +9 -0
- data/README.md +12 -0
- data/lib/hookbridge/client.rb +57 -7
- data/lib/hookbridge/types.rb +25 -8
- data/lib/hookbridge/version.rb +1 -1
- metadata +181 -160
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8221c17464c826bbc82d8e608a6c8fbcba5456c566785c86ac6a46fd71c7b85c
|
|
4
|
+
data.tar.gz: 996a2bf64d7df299399473559519acfd4b9dd2fee941b9f2f22a363f9b2c59db
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a81d89576bb57d0641c2938fa3472af51f0f5e295313cd60aa3ea10076cf428bc49e71c352158f37ac2757a684a3eae54758db71b00bfa9a28117762f45c4383
|
|
7
|
+
data.tar.gz: 90a270e8805a1774c3b93367be32a9e4a38777457719cdd0a3b08a64c18cb406e2640c7eda142aff4b1ebe6a15475cb8b5eed0725585090f94d35fa104acd9fa
|
data/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,15 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [2.2.0] - 2026-11-19
|
|
9
|
+
|
|
10
|
+
### Added
|
|
11
|
+
|
|
12
|
+
- `replay_all_messages_dry_run` - Preview a bulk replay of messages; returns `would_replay`
|
|
13
|
+
- `replay_all_inbound_messages_dry_run` - Preview a bulk replay of inbound messages; returns `would_replay`
|
|
14
|
+
- `list_message_actions` - List actions taken on a message, with cursor paging
|
|
15
|
+
- `list_inbound_message_actions` - List actions taken on an inbound message, with cursor paging
|
|
16
|
+
|
|
8
17
|
## [1.0.0] - 2024-01-15
|
|
9
18
|
|
|
10
19
|
### Added
|
data/README.md
CHANGED
|
@@ -68,6 +68,13 @@ timeseries = client.get_timeseries_metrics(endpoint_id: endpoint.id)
|
|
|
68
68
|
|
|
69
69
|
client.replay(message.id)
|
|
70
70
|
client.replay_all_messages(status: "failed_permanent", endpoint_id: endpoint.id, limit: 50)
|
|
71
|
+
|
|
72
|
+
preview = client.replay_all_messages_dry_run(status: "failed_permanent", endpoint_id: endpoint.id, limit: 50)
|
|
73
|
+
puts preview.would_replay # Nothing is replayed
|
|
74
|
+
|
|
75
|
+
page = client.list_message_actions(message.id, limit: 50)
|
|
76
|
+
page.actions.each { |action| puts "#{action.action} via #{action.via}" }
|
|
77
|
+
page = client.list_message_actions(message.id, cursor: page.next_cursor) if page.has_more
|
|
71
78
|
```
|
|
72
79
|
|
|
73
80
|
## Inbound Webhooks
|
|
@@ -108,6 +115,11 @@ inbound_logs = client.get_inbound_logs(inbound_endpoint_id: inbound.id, limit: 5
|
|
|
108
115
|
inbound_metrics = client.get_inbound_metrics(inbound_endpoint_id: inbound.id)
|
|
109
116
|
inbound_timeseries = client.get_inbound_timeseries_metrics(inbound_endpoint_id: inbound.id)
|
|
110
117
|
rejections = client.list_inbound_rejections(inbound_endpoint_id: inbound.id, limit: 25)
|
|
118
|
+
|
|
119
|
+
preview = client.replay_all_inbound_messages_dry_run(status: "failed_permanent", inbound_endpoint_id: inbound.id)
|
|
120
|
+
puts preview.would_replay # Nothing is replayed
|
|
121
|
+
|
|
122
|
+
actions = client.list_inbound_message_actions(inbound_message_id, limit: 50)
|
|
111
123
|
```
|
|
112
124
|
|
|
113
125
|
## Billing and Exports
|
data/lib/hookbridge/client.rb
CHANGED
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
require "faraday"
|
|
4
4
|
require "faraday/retry"
|
|
5
5
|
require "json"
|
|
6
|
+
require "erb"
|
|
6
7
|
|
|
7
8
|
module HookBridge
|
|
8
9
|
class Client
|
|
@@ -25,10 +26,11 @@ module HookBridge
|
|
|
25
26
|
@send_connection = build_connection(@send_url)
|
|
26
27
|
end
|
|
27
28
|
|
|
28
|
-
def send(endpoint_id:, payload:, headers: nil, idempotency_key: nil)
|
|
29
|
+
def send(endpoint_id:, payload:, headers: nil, idempotency_key: nil, retention_hours: nil)
|
|
29
30
|
body = { endpoint_id: endpoint_id, payload: payload }
|
|
30
31
|
body[:headers] = headers if headers
|
|
31
32
|
body[:idempotency_key] = idempotency_key if idempotency_key
|
|
33
|
+
body[:retention_hours] = retention_hours unless retention_hours.nil?
|
|
32
34
|
SendResponse.new(extract_data(request(:post, "/v1/webhooks/send", body, use_send_connection: true)))
|
|
33
35
|
end
|
|
34
36
|
|
|
@@ -62,6 +64,18 @@ module HookBridge
|
|
|
62
64
|
ReplayAllMessagesResponse.new(extract_data(request(:post, "/v1/messages/replay-all", nil, params)))
|
|
63
65
|
end
|
|
64
66
|
|
|
67
|
+
def replay_all_messages_dry_run(status:, endpoint_id: nil, limit: nil)
|
|
68
|
+
params = { status: status }
|
|
69
|
+
params[:endpoint_id] = endpoint_id if endpoint_id
|
|
70
|
+
params[:limit] = limit if limit
|
|
71
|
+
params[:dry_run] = "true"
|
|
72
|
+
ReplayAllDryRunResponse.new(extract_data(request(:post, "/v1/messages/replay-all", nil, params)))
|
|
73
|
+
end
|
|
74
|
+
|
|
75
|
+
def list_message_actions(message_id, cursor: nil, limit: nil)
|
|
76
|
+
fetch_message_actions("/v1/messages/#{ERB::Util.url_encode(message_id)}/actions", cursor, limit)
|
|
77
|
+
end
|
|
78
|
+
|
|
65
79
|
def replay_batch_messages(message_ids)
|
|
66
80
|
ReplayBatchMessagesResponse.new(
|
|
67
81
|
extract_data(request(:post, "/v1/messages/replay-batch", { message_ids: message_ids }))
|
|
@@ -128,13 +142,16 @@ module HookBridge
|
|
|
128
142
|
true
|
|
129
143
|
end
|
|
130
144
|
|
|
131
|
-
def create_endpoint(url:, description: nil, hmac_enabled: nil, rate_limit_rps: 0, burst: 0, headers: nil
|
|
145
|
+
def create_endpoint(url:, description: nil, hmac_enabled: nil, rate_limit_rps: 0, burst: 0, headers: nil,
|
|
146
|
+
ephemeral: nil, ttl_minutes: nil)
|
|
132
147
|
body = { url: url }
|
|
133
148
|
body[:description] = description if description
|
|
134
149
|
body[:hmac_enabled] = hmac_enabled unless hmac_enabled.nil?
|
|
135
150
|
body[:rate_limit_rps] = rate_limit_rps if rate_limit_rps.positive?
|
|
136
151
|
body[:burst] = burst if burst.positive?
|
|
137
152
|
body[:headers] = headers if headers
|
|
153
|
+
body[:ephemeral] = ephemeral unless ephemeral.nil?
|
|
154
|
+
body[:ttl_minutes] = ttl_minutes unless ttl_minutes.nil?
|
|
138
155
|
CreateEndpointResponse.new(extract_data(request(:post, "/v1/endpoints", body)))
|
|
139
156
|
end
|
|
140
157
|
|
|
@@ -198,11 +215,13 @@ module HookBridge
|
|
|
198
215
|
create_endpoint_signing_key(endpoint_id)
|
|
199
216
|
end
|
|
200
217
|
|
|
201
|
-
def create_pull_endpoint(name: nil, description: nil, retention_days: nil, event_type_source: nil,
|
|
218
|
+
def create_pull_endpoint(name: nil, description: nil, retention_days: nil, event_type_source: nil,
|
|
219
|
+
event_type_path: nil,
|
|
202
220
|
verify_static_token: nil, token_header_name: nil, token_query_param: nil, token_value: nil,
|
|
203
221
|
verify_hmac: nil, hmac_header_name: nil, hmac_secret: nil, timestamp_header_name: nil,
|
|
204
222
|
timestamp_ttl_seconds: nil, verify_ip_allowlist: nil, allowed_cidrs: nil,
|
|
205
|
-
idempotency_header_names: nil, ingest_response_code: nil
|
|
223
|
+
idempotency_header_names: nil, ingest_response_code: nil,
|
|
224
|
+
hmac_signature_encoding: nil)
|
|
206
225
|
body = compact_hash(
|
|
207
226
|
name: name,
|
|
208
227
|
description: description,
|
|
@@ -215,6 +234,7 @@ module HookBridge
|
|
|
215
234
|
token_value: token_value,
|
|
216
235
|
verify_hmac: verify_hmac,
|
|
217
236
|
hmac_header_name: hmac_header_name,
|
|
237
|
+
hmac_signature_encoding: hmac_signature_encoding,
|
|
218
238
|
hmac_secret: hmac_secret,
|
|
219
239
|
timestamp_header_name: timestamp_header_name,
|
|
220
240
|
timestamp_ttl_seconds: timestamp_ttl_seconds,
|
|
@@ -326,7 +346,7 @@ module HookBridge
|
|
|
326
346
|
InvoicesResponse.new(extract_data(response), extract_meta(response))
|
|
327
347
|
end
|
|
328
348
|
|
|
329
|
-
def create_inbound_endpoint(url: nil, name: nil, description: nil, mode: nil, verify_static_token: nil, token_header_name: nil, token_query_param: nil, token_value: nil, verify_hmac: nil, hmac_header_name: nil, hmac_secret: nil, timestamp_header_name: nil, timestamp_ttl_seconds: nil, verify_ip_allowlist: nil, allowed_cidrs: nil, idempotency_header_names: nil, ingest_response_code: nil, signing_enabled: nil)
|
|
349
|
+
def create_inbound_endpoint(url: nil, name: nil, description: nil, mode: nil, verify_static_token: nil, token_header_name: nil, token_query_param: nil, token_value: nil, verify_hmac: nil, hmac_header_name: nil, hmac_secret: nil, timestamp_header_name: nil, timestamp_ttl_seconds: nil, verify_ip_allowlist: nil, allowed_cidrs: nil, idempotency_header_names: nil, ingest_response_code: nil, signing_enabled: nil, ephemeral: nil, ttl_minutes: nil, hmac_signature_encoding: nil)
|
|
330
350
|
body = {}
|
|
331
351
|
body[:url] = url unless url.nil?
|
|
332
352
|
{
|
|
@@ -339,6 +359,7 @@ module HookBridge
|
|
|
339
359
|
token_value: token_value,
|
|
340
360
|
verify_hmac: verify_hmac,
|
|
341
361
|
hmac_header_name: hmac_header_name,
|
|
362
|
+
hmac_signature_encoding: hmac_signature_encoding,
|
|
342
363
|
hmac_secret: hmac_secret,
|
|
343
364
|
timestamp_header_name: timestamp_header_name,
|
|
344
365
|
timestamp_ttl_seconds: timestamp_ttl_seconds,
|
|
@@ -346,7 +367,9 @@ module HookBridge
|
|
|
346
367
|
allowed_cidrs: allowed_cidrs,
|
|
347
368
|
idempotency_header_names: idempotency_header_names,
|
|
348
369
|
ingest_response_code: ingest_response_code,
|
|
349
|
-
signing_enabled: signing_enabled
|
|
370
|
+
signing_enabled: signing_enabled,
|
|
371
|
+
ephemeral: ephemeral,
|
|
372
|
+
ttl_minutes: ttl_minutes
|
|
350
373
|
}.each do |key, value|
|
|
351
374
|
body[key] = value unless value.nil?
|
|
352
375
|
end
|
|
@@ -427,6 +450,18 @@ module HookBridge
|
|
|
427
450
|
ReplayAllMessagesResponse.new(extract_data(request(:post, "/v1/inbound-messages/replay-all", nil, params)))
|
|
428
451
|
end
|
|
429
452
|
|
|
453
|
+
def replay_all_inbound_messages_dry_run(status:, inbound_endpoint_id: nil, limit: nil)
|
|
454
|
+
params = { status: status }
|
|
455
|
+
params[:inbound_endpoint_id] = inbound_endpoint_id if inbound_endpoint_id
|
|
456
|
+
params[:limit] = limit if limit
|
|
457
|
+
params[:dry_run] = "true"
|
|
458
|
+
ReplayAllDryRunResponse.new(extract_data(request(:post, "/v1/inbound-messages/replay-all", nil, params)))
|
|
459
|
+
end
|
|
460
|
+
|
|
461
|
+
def list_inbound_message_actions(message_id, cursor: nil, limit: nil)
|
|
462
|
+
fetch_message_actions("/v1/inbound-messages/#{ERB::Util.url_encode(message_id)}/actions", cursor, limit)
|
|
463
|
+
end
|
|
464
|
+
|
|
430
465
|
def replay_batch_inbound_messages(message_ids)
|
|
431
466
|
ReplayBatchMessagesResponse.new(
|
|
432
467
|
extract_data(request(:post, "/v1/inbound-messages/replay-batch", { message_ids: message_ids }))
|
|
@@ -476,10 +511,12 @@ module HookBridge
|
|
|
476
511
|
)
|
|
477
512
|
end
|
|
478
513
|
|
|
479
|
-
def create_export(start_time:, end_time:, status: nil, endpoint_id: nil)
|
|
514
|
+
def create_export(start_time:, end_time:, status: nil, endpoint_id: nil, direction: nil, inbound_endpoint_id: nil)
|
|
480
515
|
body = { start_time: format_time(start_time), end_time: format_time(end_time) }
|
|
481
516
|
body[:status] = status if status
|
|
482
517
|
body[:endpoint_id] = endpoint_id if endpoint_id
|
|
518
|
+
body[:direction] = direction if direction
|
|
519
|
+
body[:inbound_endpoint_id] = inbound_endpoint_id if inbound_endpoint_id
|
|
483
520
|
ExportRecord.new(extract_data(request(:post, "/v1/exports", body)))
|
|
484
521
|
end
|
|
485
522
|
|
|
@@ -661,6 +698,19 @@ module HookBridge
|
|
|
661
698
|
{ code: nil, message: "Request failed", request_id: nil }
|
|
662
699
|
end
|
|
663
700
|
|
|
701
|
+
def fetch_message_actions(path, cursor, limit)
|
|
702
|
+
params = {}
|
|
703
|
+
params[:cursor] = cursor if cursor
|
|
704
|
+
params[:limit] = limit if limit
|
|
705
|
+
response = request(:get, path, nil, params)
|
|
706
|
+
meta = extract_meta(response)
|
|
707
|
+
ListMessageActionsResponse.new(
|
|
708
|
+
"actions" => extract_data(response),
|
|
709
|
+
"has_more" => meta["has_more"] || false,
|
|
710
|
+
"next_cursor" => meta["next_cursor"]
|
|
711
|
+
)
|
|
712
|
+
end
|
|
713
|
+
|
|
664
714
|
def extract_data(response)
|
|
665
715
|
response.is_a?(Hash) && response.key?("data") ? response["data"] : response
|
|
666
716
|
end
|
data/lib/hookbridge/types.rb
CHANGED
|
@@ -75,13 +75,13 @@ module HookBridge
|
|
|
75
75
|
|
|
76
76
|
class Message < BaseModel
|
|
77
77
|
def initialize(data)
|
|
78
|
-
super(data, time_fields: %w[next_attempt_at created_at updated_at deleted_at])
|
|
78
|
+
super(data, time_fields: %w[next_attempt_at first_attempt_at created_at updated_at deleted_at])
|
|
79
79
|
end
|
|
80
80
|
end
|
|
81
81
|
|
|
82
82
|
class MessageSummary < BaseModel
|
|
83
83
|
def initialize(data)
|
|
84
|
-
super(data, time_fields: %w[created_at delivered_at next_attempt_at deleted_at])
|
|
84
|
+
super(data, time_fields: %w[created_at delivered_at next_attempt_at first_attempt_at deleted_at])
|
|
85
85
|
end
|
|
86
86
|
end
|
|
87
87
|
|
|
@@ -162,19 +162,19 @@ module HookBridge
|
|
|
162
162
|
|
|
163
163
|
class CreateEndpointResponse < BaseModel
|
|
164
164
|
def initialize(data)
|
|
165
|
-
super(data, time_fields: %w[created_at])
|
|
165
|
+
super(data, time_fields: %w[created_at expires_at])
|
|
166
166
|
end
|
|
167
167
|
end
|
|
168
168
|
|
|
169
169
|
class Endpoint < BaseModel
|
|
170
170
|
def initialize(data)
|
|
171
|
-
super(data, time_fields: %w[created_at updated_at])
|
|
171
|
+
super(data, time_fields: %w[created_at updated_at expires_at])
|
|
172
172
|
end
|
|
173
173
|
end
|
|
174
174
|
|
|
175
175
|
class EndpointSummary < BaseModel
|
|
176
176
|
def initialize(data)
|
|
177
|
-
super(data, time_fields: %w[created_at])
|
|
177
|
+
super(data, time_fields: %w[created_at expires_at])
|
|
178
178
|
end
|
|
179
179
|
end
|
|
180
180
|
|
|
@@ -203,6 +203,23 @@ module HookBridge
|
|
|
203
203
|
class ReplayAllMessagesResponse < BaseModel
|
|
204
204
|
end
|
|
205
205
|
|
|
206
|
+
class ReplayAllDryRunResponse < BaseModel
|
|
207
|
+
end
|
|
208
|
+
|
|
209
|
+
class MessageAction < BaseModel
|
|
210
|
+
def initialize(data)
|
|
211
|
+
super(data, time_fields: %w[created_at])
|
|
212
|
+
end
|
|
213
|
+
end
|
|
214
|
+
|
|
215
|
+
class ListMessageActionsResponse < BaseModel
|
|
216
|
+
def initialize(data)
|
|
217
|
+
super
|
|
218
|
+
@attributes["actions"] = (data["actions"] || []).map { |entry| MessageAction.new(entry) }
|
|
219
|
+
@attributes["has_more"] ||= false
|
|
220
|
+
end
|
|
221
|
+
end
|
|
222
|
+
|
|
206
223
|
class ReplayBatchResult < BaseModel
|
|
207
224
|
end
|
|
208
225
|
|
|
@@ -310,19 +327,19 @@ module HookBridge
|
|
|
310
327
|
|
|
311
328
|
class CreateInboundEndpointResponse < BaseModel
|
|
312
329
|
def initialize(data)
|
|
313
|
-
super(data, time_fields: %w[created_at])
|
|
330
|
+
super(data, time_fields: %w[created_at expires_at])
|
|
314
331
|
end
|
|
315
332
|
end
|
|
316
333
|
|
|
317
334
|
class InboundEndpoint < BaseModel
|
|
318
335
|
def initialize(data)
|
|
319
|
-
super(data, time_fields: %w[created_at updated_at])
|
|
336
|
+
super(data, time_fields: %w[created_at updated_at expires_at])
|
|
320
337
|
end
|
|
321
338
|
end
|
|
322
339
|
|
|
323
340
|
class InboundEndpointSummary < BaseModel
|
|
324
341
|
def initialize(data)
|
|
325
|
-
super(data, time_fields: %w[created_at])
|
|
342
|
+
super(data, time_fields: %w[created_at expires_at])
|
|
326
343
|
end
|
|
327
344
|
end
|
|
328
345
|
|
data/lib/hookbridge/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,186 +1,207 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: hookbridge
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.
|
|
4
|
+
version: 2.2.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
|
-
- HookBridge
|
|
7
|
+
- HookBridge
|
|
8
8
|
bindir: bin
|
|
9
9
|
cert_chain: []
|
|
10
10
|
date: 1980-01-02 00:00:00.000000000 Z
|
|
11
11
|
dependencies:
|
|
12
|
-
- !ruby/object:Gem::Dependency
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
- !ruby/object:Gem::
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
- !ruby/object:Gem::Dependency
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
- !ruby/object:Gem::
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
12
|
+
- !ruby/object:Gem::Dependency
|
|
13
|
+
name: faraday
|
|
14
|
+
requirement: !ruby/object:Gem::Requirement
|
|
15
|
+
requirements:
|
|
16
|
+
-
|
|
17
|
+
- ">="
|
|
18
|
+
- !ruby/object:Gem::Version
|
|
19
|
+
version: "2.0"
|
|
20
|
+
-
|
|
21
|
+
- "<"
|
|
22
|
+
- !ruby/object:Gem::Version
|
|
23
|
+
version: "3.0"
|
|
24
|
+
type: :runtime
|
|
25
|
+
prerelease: false
|
|
26
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
27
|
+
requirements:
|
|
28
|
+
-
|
|
29
|
+
- ">="
|
|
30
|
+
- !ruby/object:Gem::Version
|
|
31
|
+
version: "2.0"
|
|
32
|
+
-
|
|
33
|
+
- "<"
|
|
34
|
+
- !ruby/object:Gem::Version
|
|
35
|
+
version: "3.0"
|
|
36
|
+
- !ruby/object:Gem::Dependency
|
|
37
|
+
name: faraday-retry
|
|
38
|
+
requirement: !ruby/object:Gem::Requirement
|
|
39
|
+
requirements:
|
|
40
|
+
-
|
|
41
|
+
- ~>
|
|
42
|
+
- !ruby/object:Gem::Version
|
|
43
|
+
version: "2.0"
|
|
44
|
+
type: :runtime
|
|
45
|
+
prerelease: false
|
|
46
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
47
|
+
requirements:
|
|
48
|
+
-
|
|
49
|
+
- ~>
|
|
50
|
+
- !ruby/object:Gem::Version
|
|
51
|
+
version: "2.0"
|
|
52
|
+
- !ruby/object:Gem::Dependency
|
|
53
|
+
name: bundler
|
|
54
|
+
requirement: !ruby/object:Gem::Requirement
|
|
55
|
+
requirements:
|
|
56
|
+
-
|
|
57
|
+
- ~>
|
|
58
|
+
- !ruby/object:Gem::Version
|
|
59
|
+
version: "2.0"
|
|
60
|
+
type: :development
|
|
61
|
+
prerelease: false
|
|
62
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
63
|
+
requirements:
|
|
64
|
+
-
|
|
65
|
+
- ~>
|
|
66
|
+
- !ruby/object:Gem::Version
|
|
67
|
+
version: "2.0"
|
|
68
|
+
- !ruby/object:Gem::Dependency
|
|
69
|
+
name: rake
|
|
70
|
+
requirement: !ruby/object:Gem::Requirement
|
|
71
|
+
requirements:
|
|
72
|
+
-
|
|
73
|
+
- ~>
|
|
74
|
+
- !ruby/object:Gem::Version
|
|
75
|
+
version: "13.0"
|
|
76
|
+
type: :development
|
|
77
|
+
prerelease: false
|
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
79
|
+
requirements:
|
|
80
|
+
-
|
|
81
|
+
- ~>
|
|
82
|
+
- !ruby/object:Gem::Version
|
|
83
|
+
version: "13.0"
|
|
84
|
+
- !ruby/object:Gem::Dependency
|
|
85
|
+
name: rspec
|
|
86
|
+
requirement: !ruby/object:Gem::Requirement
|
|
87
|
+
requirements:
|
|
88
|
+
-
|
|
89
|
+
- ~>
|
|
90
|
+
- !ruby/object:Gem::Version
|
|
91
|
+
version: "3.12"
|
|
92
|
+
type: :development
|
|
93
|
+
prerelease: false
|
|
94
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
95
|
+
requirements:
|
|
96
|
+
-
|
|
97
|
+
- ~>
|
|
98
|
+
- !ruby/object:Gem::Version
|
|
99
|
+
version: "3.12"
|
|
100
|
+
- !ruby/object:Gem::Dependency
|
|
101
|
+
name: webmock
|
|
102
|
+
requirement: !ruby/object:Gem::Requirement
|
|
103
|
+
requirements:
|
|
104
|
+
-
|
|
105
|
+
- ~>
|
|
106
|
+
- !ruby/object:Gem::Version
|
|
107
|
+
version: "3.18"
|
|
108
|
+
type: :development
|
|
109
|
+
prerelease: false
|
|
110
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
111
|
+
requirements:
|
|
112
|
+
-
|
|
113
|
+
- ~>
|
|
114
|
+
- !ruby/object:Gem::Version
|
|
115
|
+
version: "3.18"
|
|
116
|
+
- !ruby/object:Gem::Dependency
|
|
117
|
+
name: rubocop
|
|
118
|
+
requirement: !ruby/object:Gem::Requirement
|
|
119
|
+
requirements:
|
|
120
|
+
-
|
|
121
|
+
- ~>
|
|
122
|
+
- !ruby/object:Gem::Version
|
|
123
|
+
version: "1.50"
|
|
124
|
+
type: :development
|
|
125
|
+
prerelease: false
|
|
126
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
127
|
+
requirements:
|
|
128
|
+
-
|
|
129
|
+
- ~>
|
|
130
|
+
- !ruby/object:Gem::Version
|
|
131
|
+
version: "1.50"
|
|
132
|
+
- !ruby/object:Gem::Dependency
|
|
133
|
+
name: rubocop-rspec
|
|
134
|
+
requirement: !ruby/object:Gem::Requirement
|
|
135
|
+
requirements:
|
|
136
|
+
-
|
|
137
|
+
- ~>
|
|
138
|
+
- !ruby/object:Gem::Version
|
|
139
|
+
version: "2.20"
|
|
140
|
+
type: :development
|
|
141
|
+
prerelease: false
|
|
142
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
143
|
+
requirements:
|
|
144
|
+
-
|
|
145
|
+
- ~>
|
|
146
|
+
- !ruby/object:Gem::Version
|
|
147
|
+
version: "2.20"
|
|
148
|
+
- !ruby/object:Gem::Dependency
|
|
149
|
+
name: yard
|
|
150
|
+
requirement: !ruby/object:Gem::Requirement
|
|
151
|
+
requirements:
|
|
152
|
+
-
|
|
153
|
+
- ~>
|
|
154
|
+
- !ruby/object:Gem::Version
|
|
155
|
+
version: "0.9"
|
|
156
|
+
type: :development
|
|
157
|
+
prerelease: false
|
|
158
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
159
|
+
requirements:
|
|
160
|
+
-
|
|
161
|
+
- ~>
|
|
162
|
+
- !ruby/object:Gem::Version
|
|
163
|
+
version: "0.9"
|
|
164
|
+
description: "Official Ruby client library for the HookBridge API. Send webhooks with guaranteed delivery, automatic retries, and comprehensive delivery tracking."
|
|
146
165
|
email:
|
|
147
|
-
- support@hookbridge.io
|
|
166
|
+
- support@hookbridge.io
|
|
148
167
|
executables: []
|
|
149
168
|
extensions: []
|
|
150
169
|
extra_rdoc_files: []
|
|
151
170
|
files:
|
|
152
|
-
- CHANGELOG.md
|
|
153
|
-
- LICENSE
|
|
154
|
-
- README.md
|
|
155
|
-
- lib/hookbridge.rb
|
|
156
|
-
- lib/hookbridge/client.rb
|
|
157
|
-
- lib/hookbridge/errors.rb
|
|
158
|
-
- lib/hookbridge/types.rb
|
|
159
|
-
- lib/hookbridge/version.rb
|
|
160
|
-
homepage: https://github.com/hookbridge/hookbridge-ruby
|
|
171
|
+
- CHANGELOG.md
|
|
172
|
+
- LICENSE
|
|
173
|
+
- README.md
|
|
174
|
+
- lib/hookbridge.rb
|
|
175
|
+
- lib/hookbridge/client.rb
|
|
176
|
+
- lib/hookbridge/errors.rb
|
|
177
|
+
- lib/hookbridge/types.rb
|
|
178
|
+
- lib/hookbridge/version.rb
|
|
179
|
+
homepage: "https://github.com/hookbridge/hookbridge-ruby"
|
|
161
180
|
licenses:
|
|
162
|
-
- MIT
|
|
181
|
+
- MIT
|
|
163
182
|
metadata:
|
|
164
|
-
homepage_uri: https://github.com/hookbridge/hookbridge-ruby
|
|
165
|
-
source_code_uri: https://github.com/hookbridge/hookbridge-ruby
|
|
166
|
-
changelog_uri: https://github.com/hookbridge/hookbridge-ruby/blob/main/CHANGELOG.md
|
|
167
|
-
documentation_uri: https://docs.hookbridge.io
|
|
168
|
-
rubygems_mfa_required:
|
|
183
|
+
homepage_uri: "https://github.com/hookbridge/hookbridge-ruby"
|
|
184
|
+
source_code_uri: "https://github.com/hookbridge/hookbridge-ruby"
|
|
185
|
+
changelog_uri: "https://github.com/hookbridge/hookbridge-ruby/blob/main/CHANGELOG.md"
|
|
186
|
+
documentation_uri: "https://docs.hookbridge.io"
|
|
187
|
+
rubygems_mfa_required: "true"
|
|
169
188
|
rdoc_options: []
|
|
170
189
|
require_paths:
|
|
171
|
-
- lib
|
|
190
|
+
- lib
|
|
172
191
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
173
192
|
requirements:
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
193
|
+
-
|
|
194
|
+
- ">="
|
|
195
|
+
- !ruby/object:Gem::Version
|
|
196
|
+
version: 3.0.0
|
|
177
197
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
178
198
|
requirements:
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
199
|
+
-
|
|
200
|
+
- ">="
|
|
201
|
+
- !ruby/object:Gem::Version
|
|
202
|
+
version: "0"
|
|
182
203
|
requirements: []
|
|
183
|
-
rubygems_version: 4.0
|
|
204
|
+
rubygems_version: 4.1.0
|
|
184
205
|
specification_version: 4
|
|
185
206
|
summary: Ruby SDK for HookBridge - Guaranteed webhook delivery
|
|
186
207
|
test_files: []
|