bullet_train-outgoing_webhooks 1.2.24 → 1.2.24.2
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: 135b75b4699116255ec411678cabc3bed1f9c29dfcd562d6e51da2328af48d6c
|
4
|
+
data.tar.gz: 94e0e985bdc059d7d7f708f9fdeeeadd19087b56f3f8b77e714b9cdf060d14a8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bab3534edee146fe1ba6d764062673f3033abc5991c18706dc48d42804e9272e8d88540def775fc739d59a787f36611d1beed6d9bf46ad9f7d16720355fa5d01
|
7
|
+
data.tar.gz: 9bc6ff6167bcee7fea7c5320152ed37920825ae198afb5f05ea4e9bb461465cfcc58964a7241f4da86bb91ddadb4e8e883a97941f0ed542cbc7e4b87ac511cd4
|
@@ -46,13 +46,13 @@ 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
|
+
if uri.path == ""
|
50
|
+
uri.path = "/"
|
51
51
|
end
|
52
52
|
|
53
53
|
http = Net::HTTP.new(hostname, uri.port)
|
54
54
|
http.use_ssl = true if uri.scheme == "https"
|
55
|
-
request = Net::HTTP::Post.new(uri.
|
55
|
+
request = Net::HTTP::Post.new(uri.request_uri)
|
56
56
|
request.add_field("Host", uri.host)
|
57
57
|
request.add_field("Content-Type", "application/json")
|
58
58
|
request.body = delivery.event.payload.to_json
|
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.24
|
4
|
+
version: 1.2.24.2
|
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-07-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: standard
|
@@ -172,7 +172,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
172
172
|
- !ruby/object:Gem::Version
|
173
173
|
version: '0'
|
174
174
|
requirements: []
|
175
|
-
rubygems_version: 3.4.
|
175
|
+
rubygems_version: 3.4.10
|
176
176
|
signing_key:
|
177
177
|
specification_version: 4
|
178
178
|
summary: Allow users of your Rails application to subscribe and receive webhooks when
|