bullet_train-outgoing_webhooks 1.2.21 → 1.2.22
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a7892e94a0f4e8d2ef359ce53ff0dc55043273627c61a0b2ad088b64d51378b1
|
4
|
+
data.tar.gz: f9ec6e43f0606addbb1f9bb44860181e46e36e924101304cd5e02816ce389ee6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 58f1e6581c3c93842c5d30ba110b752c35314b941ee3189726168e54c9566430da5be8fa428feec75ff4be3ead93a72e538e580761bbe17974954f5f8fbe0cbb
|
7
|
+
data.tar.gz: 73fe1dfc32310479af78c11e8088eea671dc0b571ac4c4136bcf96b437f5c2e77ec21ad1a1561c208df65fe5e254ff00d99577a4d199b4655ee94a5718c188ad
|
@@ -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.22
|
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-03-
|
11
|
+
date: 2023-03-24 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
|