bullet_train-outgoing_webhooks 1.2.26 → 1.2.27

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: 80905f13e7e6e9e6424874889ab01e3453c09964dcca85b6d1db2018d3b14477
4
- data.tar.gz: 825e91d17793b14734582f3ba16af8a78e698d297910a90d57ac83dc37d26f7f
3
+ metadata.gz: 68d98fba925e3acd68c9398bd0c4e3da64b5203f46ec73063cfc0ead7afefed7
4
+ data.tar.gz: 85ac3398ca43a402ea366f240c2f8ed76506915c07a87010fb8af671d22a677c
5
5
  SHA512:
6
- metadata.gz: fad84a50961d10ba92c72ed13cffecd01ad5367420d49c2ee0168198f8dab486c359eecdbbe1f596bfbca31193f19b5a18d6231587d8fed96d32a516e4868767
7
- data.tar.gz: f1e08a797ba0c93e5ecd18900563d1064403a6fff77524db4e641294c12bc84ccee81a915aba49be7fa4d991da9c79bb41380472288079def4bcafc09759eca4
6
+ metadata.gz: 9216310333b361c58044b0c3ae24ddf59fc5e6c5620d85699f7af7f162338b642e35291cca45955ef8ddcbb779dea5b4bcdd4766749ce42e8d0659a14c64622a
7
+ data.tar.gz: 1c5c4df291d58e547919e6acae32453c9aa6e8303c45ba0e5678e7439436fa7a95f8e96f14bcd63e202793a25859ab09545a96b09eaf6bf8e10fba60ef144afc
@@ -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
- unless uri.path.end_with?("/")
50
- uri.path = uri.path + "/"
49
+ if uri.path == ""
50
+ uri.path = "/"
51
51
  end
52
52
 
53
53
  http = Net::HTTP.new(hostname, uri.port)
@@ -1,5 +1,5 @@
1
1
  module BulletTrain
2
2
  module OutgoingWebhooks
3
- VERSION = "1.2.26"
3
+ VERSION = "1.2.27"
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.26
4
+ version: 1.2.27
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-05-18 00:00:00.000000000 Z
11
+ date: 2023-07-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: standard
@@ -176,7 +176,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
176
176
  - !ruby/object:Gem::Version
177
177
  version: '0'
178
178
  requirements: []
179
- rubygems_version: 3.3.7
179
+ rubygems_version: 3.4.10
180
180
  signing_key:
181
181
  specification_version: 4
182
182
  summary: Allow users of your Rails application to subscribe and receive webhooks when