bullet_train-outgoing_webhooks 1.2.21 → 1.2.23
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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ac76c8e3aa7521f2e6482ef7ef8c230a8129acc227229676a2bd5a989d31fed5
|
|
4
|
+
data.tar.gz: ec5813e9fcd2890c2e4c27acacadd96cdf56211bc417edea6349123f0fd7563f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 754b0e2c9c5454fe2d3157043140f4ea363f4242c68f55589c214b436d48711cf3a8fd9713b2d07cf390560dd84a9c19ba8c663ceeb5aede543eb9daf3ba6336
|
|
7
|
+
data.tar.gz: 34007d9cc55bf55ce6948813248f4c071548a4a92369e2e3f910f7a3ef04b765f9239d892b218c772f5f0ed3cf0de1375577992ec45b6d19f2043d7957b2eb18
|
|
@@ -45,6 +45,11 @@ module Webhooks::Outgoing::DeliveryAttemptSupport
|
|
|
45
45
|
uri.hostname.downcase
|
|
46
46
|
end
|
|
47
47
|
|
|
48
|
+
# Net::HTTP will consider the url invalid (and not deliver the webhook) unless it ends with a '/'
|
|
49
|
+
unless uri.path.end_with?("/")
|
|
50
|
+
uri.path = uri.path + "/"
|
|
51
|
+
end
|
|
52
|
+
|
|
48
53
|
http = Net::HTTP.new(hostname, uri.port)
|
|
49
54
|
http.use_ssl = true if uri.scheme == "https"
|
|
50
55
|
request = Net::HTTP::Post.new(uri.path)
|
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.23
|
|
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-04-01 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: standard
|
|
@@ -173,7 +173,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
173
173
|
- !ruby/object:Gem::Version
|
|
174
174
|
version: '0'
|
|
175
175
|
requirements: []
|
|
176
|
-
rubygems_version: 3.
|
|
176
|
+
rubygems_version: 3.3.7
|
|
177
177
|
signing_key:
|
|
178
178
|
specification_version: 4
|
|
179
179
|
summary: Allow users of your Rails application to subscribe and receive webhooks when
|