Skip to content

Commit d2c451e

Browse files
authored
Merge pull request #68 from github/dependabot/bundler/dev-ruby-dependencies-5cea04730e
Bump the dev-ruby-dependencies group with 2 updates
2 parents 9f44064 + d2d0b16 commit d2c451e

File tree

14 files changed

+105
-105
lines changed

14 files changed

+105
-105
lines changed

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ gemspec
66

77
group :development do
88
gem "irb", "~> 1"
9-
gem "ostruct", "~> 0.6.1"
9+
gem "ostruct", "~> 0.6.2"
1010
gem "rack-test", "~> 2.2"
1111
gem "rspec", "~> 3"
1212
gem "rubocop", "~> 1"

Gemfile.lock

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PATH
22
remote: .
33
specs:
4-
hooks-ruby (0.6.0)
4+
hooks-ruby (0.6.1)
55
dry-schema (~> 1.14, >= 1.14.1)
66
grape (~> 2.3)
77
puma (~> 6.6)
@@ -95,7 +95,7 @@ GEM
9595
net-http (0.6.0)
9696
uri
9797
nio4r (2.7.4)
98-
ostruct (0.6.1)
98+
ostruct (0.6.2)
9999
parallel (1.27.0)
100100
parser (3.3.8.0)
101101
ast (~> 2.4.1)
@@ -125,7 +125,7 @@ GEM
125125
rack-test (2.2.0)
126126
rack (>= 1.3)
127127
rainbow (3.1.1)
128-
rdoc (6.14.0)
128+
rdoc (6.14.1)
129129
erb
130130
psych (>= 4.0.0)
131131
redacting-logger (1.5.0)
@@ -139,7 +139,7 @@ GEM
139139
rspec-core (~> 3.13.0)
140140
rspec-expectations (~> 3.13.0)
141141
rspec-mocks (~> 3.13.0)
142-
rspec-core (3.13.4)
142+
rspec-core (3.13.5)
143143
rspec-support (~> 3.13.0)
144144
rspec-expectations (3.13.5)
145145
diff-lcs (>= 1.2.0, < 2.0)
@@ -148,7 +148,7 @@ GEM
148148
diff-lcs (>= 1.2.0, < 2.0)
149149
rspec-support (~> 3.13.0)
150150
rspec-support (3.13.4)
151-
rubocop (1.76.2)
151+
rubocop (1.77.0)
152152
json (~> 2.3)
153153
language_server-protocol (~> 3.17.0.2)
154154
lint_roller (~> 1.1.0)
@@ -222,7 +222,7 @@ PLATFORMS
222222
DEPENDENCIES
223223
hooks-ruby!
224224
irb (~> 1)
225-
ostruct (~> 0.6.1)
225+
ostruct (~> 0.6.2)
226226
rack-test (~> 2.2)
227227
rspec (~> 3)
228228
rubocop (~> 1)

lib/hooks/plugins/auth/hmac.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ def self.valid?(payload:, headers:, config:)
127127
end
128128

129129
# Validate signature format using shared validation but with HMAC-specific length limit
130-
return false unless validate_signature_format(raw_signature)
130+
return false unless validate_signature_format?(raw_signature)
131131

132132
# Now we can safely normalize headers for the rest of the validation
133133
normalized_headers = normalize_headers(headers)
@@ -192,7 +192,7 @@ def self.valid?(payload:, headers:, config:)
192192
# @param signature [String] Raw signature to validate
193193
# @return [Boolean] true if signature is valid
194194
# @api private
195-
def self.validate_signature_format(signature)
195+
def self.validate_signature_format?(signature)
196196
# Check signature length with HMAC-specific limit
197197
if signature.length > MAX_SIGNATURE_LENGTH
198198
log.warn("Auth::HMAC validation failed: Signature length exceeds maximum limit of #{MAX_SIGNATURE_LENGTH} characters")

lib/hooks/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@
44
module Hooks
55
# Current version of the Hooks webhook framework
66
# @return [String] The version string following semantic versioning
7-
VERSION = "0.6.0".freeze
7+
VERSION = "0.6.1".freeze
88
end

0 commit comments

Comments
 (0)