bullet_train-outgoing_webhooks 1.2.21 → 1.2.23

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: 4a1893efb4249f57ea9ce43205fd8e1a85167498e528c99f03a7dbd5da60a910
4
- data.tar.gz: d6a8b69ec8547ba89927ae45b1f3a630a0dc293fcf6f5e1a21a066fdf65a6834
3
+ metadata.gz: ac76c8e3aa7521f2e6482ef7ef8c230a8129acc227229676a2bd5a989d31fed5
4
+ data.tar.gz: ec5813e9fcd2890c2e4c27acacadd96cdf56211bc417edea6349123f0fd7563f
5
5
  SHA512:
6
- metadata.gz: a98a312db63031ae377ef21aa111ff8590423020f76004c74823ceb6b9ef2e3f8e86e52e51f66ffb322fb649c29a9b7d24daec79298ce034e4e4790e0907206d
7
- data.tar.gz: a7816aafb5c507a87c902e9cd931c3f75843b6b4da51e8a37f38e2ee7defbc0b80cf3a6e6631511cb46ba6528ee2aec11eac472e3a95d7d517b0c8fbc24bb879
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)
@@ -1,5 +1,5 @@
1
1
  module BulletTrain
2
2
  module OutgoingWebhooks
3
- VERSION = "1.2.21"
3
+ VERSION = "1.2.23"
4
4
  end
5
5
  end
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.21
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-03-11 00:00:00.000000000 Z
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.4.1
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