hooks-ruby 0.6.0 → 0.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 001f3c92a2c07552f4293bc9b5d078e720a6d3ee601ffee80ca83ef1cf9425a5
4
- data.tar.gz: 51e7307ad34ea50049dcc2f148e7650626f332854f9f4e409fdf461f0c699547
3
+ metadata.gz: cbd8eab8f1b3453b5f7d25e31db64e1631f1974cfbc63305530fe9150ceb6b17
4
+ data.tar.gz: 178ac27f5b7036fef1decd7e8a237675aac0ce909395958af0b9cc582cb94a9f
5
5
  SHA512:
6
- metadata.gz: d36cbea00db3a9752a4acd20732bcb3c61072fb64593345a3b947110fbe29fbeb2b21afe47fb8821546679f003276561ba63caf79eba15838b9a185ea062afc6
7
- data.tar.gz: 2c7252c823b0e004a9877fb4c30c57e51ac2322fcf8e503485da526ad504f3345c3aaf08db37736ba9b04df653bf5fe901b6070e9bb92e0aa14d76f9f7a00f22
6
+ metadata.gz: 1d4fe7a469fc76d228da18b804c69ab7d088fad45ae627fb9489b319a52a5a533862bb1e237b68585b6a8db156bdd014495239b320ef8754655a31d7e47acf4c
7
+ data.tar.gz: 26fa0e76bfd46e44a19f8a6504f63020173c91ad714ec45bdbfc8a5a64c9522fba9e5ac782d952715a3447c67d34f48f5490f4b3a014d53506d077d07aa0a749
@@ -127,7 +127,7 @@ module Hooks
127
127
  end
128
128
 
129
129
  # 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)
131
131
 
132
132
  # Now we can safely normalize headers for the rest of the validation
133
133
  normalized_headers = normalize_headers(headers)
@@ -192,7 +192,7 @@ module Hooks
192
192
  # @param signature [String] Raw signature to validate
193
193
  # @return [Boolean] true if signature is valid
194
194
  # @api private
195
- def self.validate_signature_format(signature)
195
+ def self.validate_signature_format?(signature)
196
196
  # Check signature length with HMAC-specific limit
197
197
  if signature.length > MAX_SIGNATURE_LENGTH
198
198
  log.warn("Auth::HMAC validation failed: Signature length exceeds maximum limit of #{MAX_SIGNATURE_LENGTH} characters")
data/lib/hooks/version.rb CHANGED
@@ -4,5 +4,5 @@
4
4
  module Hooks
5
5
  # Current version of the Hooks webhook framework
6
6
  # @return [String] The version string following semantic versioning
7
- VERSION = "0.6.0".freeze
7
+ VERSION = "0.6.1".freeze
8
8
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hooks-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - github