bullet_train-outgoing_webhooks 1.2.24.1 → 1.2.25
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/app/models/concerns/webhooks/outgoing/delivery_attempt_support.rb +2 -2
- data/db/migrate/20221230223200_add_api_version_to_webhooks_outgoing_endpoints.rb +5 -0
- data/db/migrate/20221230235326_add_api_version_to_webhooks_outgoing_events.rb +5 -0
- data/db/migrate/20221231003437_remove_default_from_webhooks_outgoing_endpoints.rb +5 -0
- data/db/migrate/20221231003438_remove_default_from_webhooks_outgoing_events.rb +5 -0
- data/lib/bullet_train/outgoing_webhooks/version.rb +1 -1
- metadata +7 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e81637d68e3ae36f5f4fd1723c692b5d58577e5dd66db6b834ec843ed1b036a7
|
4
|
+
data.tar.gz: 9c422ab8041f69147fb38c5af3539c8742a2225073f27a70f49bf06455ee170c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f68ed169a9250f8c3d5e73e848125138cec0c4a44cac49d751de96be8ac471ab00e32556e36ad6db471582836a4db38e7b71da2ca7f806da7a8677543e95eaf1
|
7
|
+
data.tar.gz: d09b381b296a9ec78084aab2cadfdfd3b1ca6d421e3e7ba75147b4bb963e4b09c6849fb921fbe6a740bc2ecd0ef3600e831f00d899813c876b8904152a940773
|
@@ -46,8 +46,8 @@ module Webhooks::Outgoing::DeliveryAttemptSupport
|
|
46
46
|
end
|
47
47
|
|
48
48
|
# Net::HTTP will consider the url invalid (and not deliver the webhook) unless it ends with a '/'
|
49
|
-
|
50
|
-
uri.path = "/"
|
49
|
+
unless uri.path.end_with?("/")
|
50
|
+
uri.path = uri.path + "/"
|
51
51
|
end
|
52
52
|
|
53
53
|
http = Net::HTTP.new(hostname, uri.port)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bullet_train-outgoing_webhooks
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.25
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrew Culver
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-05-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: standard
|
@@ -147,6 +147,10 @@ files:
|
|
147
147
|
- db/migrate/20211127015712_drop_webhooks_outgoing_endpoint_event_types.rb
|
148
148
|
- db/migrate/20211127015713_drop_webhooks_outgoing_event_types.rb
|
149
149
|
- db/migrate/20221130063357_add_creative_concept_to_endpoints.rb
|
150
|
+
- db/migrate/20221230223200_add_api_version_to_webhooks_outgoing_endpoints.rb
|
151
|
+
- db/migrate/20221230235326_add_api_version_to_webhooks_outgoing_events.rb
|
152
|
+
- db/migrate/20221231003437_remove_default_from_webhooks_outgoing_endpoints.rb
|
153
|
+
- db/migrate/20221231003438_remove_default_from_webhooks_outgoing_events.rb
|
150
154
|
- lib/bullet_train/outgoing_webhooks.rb
|
151
155
|
- lib/bullet_train/outgoing_webhooks/engine.rb
|
152
156
|
- lib/bullet_train/outgoing_webhooks/version.rb
|
@@ -172,7 +176,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
172
176
|
- !ruby/object:Gem::Version
|
173
177
|
version: '0'
|
174
178
|
requirements: []
|
175
|
-
rubygems_version: 3.
|
179
|
+
rubygems_version: 3.3.7
|
176
180
|
signing_key:
|
177
181
|
specification_version: 4
|
178
182
|
summary: Allow users of your Rails application to subscribe and receive webhooks when
|