jwt_auth_cognito 1.0.0.pre.beta.5 → 1.0.0.pre.beta.6

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: 81416775877402a8d73ccc1404f223f8210f6fb757c3b9193c73718c81260dd7
4
- data.tar.gz: 89700ce4cbe9518ab25586b22f0ab46a315d60dd03e267e78c47b729d0641e9d
3
+ metadata.gz: 896962515046c707f948d1a236b851b9700629e49adaa9bff35bf91e4a058e56
4
+ data.tar.gz: 565a5a688657a4d6e9cb850ae941907f862c854e08cbb3ae115e54249dab2dc1
5
5
  SHA512:
6
- metadata.gz: fa00db084bed24d06c72f102332b453b561bb7dc8dd45e3b77d7caea097446dab1f292edac92b725da5b1ebd8e949a80b2b69ee4359fa6707b44a9b93c7af74b
7
- data.tar.gz: be08d9bea8482431b5df5c4d40ea32f450d25e8136cb66c3d8b80b18902c06b802c77645edbc2f7e0b6cc8ca58003530b5ef9fdb33ef65e392c9c6a4e3840df3
6
+ metadata.gz: 2eff19ca17051c17c660c3dcaa5249cae886af7c65d930158cc5b8d421ebc02840f972c6e01d19be265a5d8a702de9c1cb03cd8f6ada920e86cdaa6a5d021b03
7
+ data.tar.gz: 667468c0c4904c63993a66a7b2ccb42165afd22d56bf35fb8be3e9b92ae4c46681a5f0646715f374787a946359532289ce16e2e923ea1730b37d279f4cdc43da
data/CHANGELOG.md CHANGED
@@ -7,6 +7,28 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [1.0.0-beta.6] - 2025-01-22
11
+
12
+ ### Fixed
13
+
14
+ - **Pipeline Test Compatibility**: Resolved test failures in CI/CD environments
15
+ - Fixed keyword arguments vs options hash compatibility in SSM service tests
16
+ - Updated test expectations to use block syntax for cross-Ruby version compatibility
17
+ - Resolves pipeline failures while maintaining local test functionality
18
+
19
+ - **TLS Version Parsing**: Fixed TLS configuration parsing issues
20
+ - Enhanced `parse_tls_version` to handle both dot (TLSv1.2) and underscore (TLSv1_2) formats
21
+ - Resolves "unrecognized version TLSv1_2" error in JWT validation
22
+ - Case-insensitive parsing with proper fallback to TLS 1.2 default
23
+ - Maintains backward compatibility with existing configurations
24
+
25
+ ### Improved
26
+
27
+ - **Test Coverage**: Enhanced reliability and compatibility
28
+ - Added 4 comprehensive TLS version parsing tests
29
+ - All tests passing: 78 examples, 0 failures
30
+ - Improved test robustness across different Ruby versions and environments
31
+
10
32
  ## [1.0.0-beta.5] - 2025-01-22
11
33
 
12
34
  ### Fixed
data/CLAUDE.md CHANGED
@@ -304,16 +304,18 @@ JWKS_CACHE_TTL=3600 # 1 hour
304
304
 
305
305
  ## Version Compatibility
306
306
 
307
- ### ✅ **Updated January 2025 - Version 1.0.0-beta.5**
307
+ ### ✅ **Updated January 2025 - Version 1.0.0-beta.6**
308
308
 
309
- **Production-ready beta with deployment automation and API key support**
309
+ **Stable production-ready beta with complete pipeline compatibility**
310
310
 
311
311
  - ✅ UserDataService with auth-service compatibility
312
312
  - ✅ Enhanced error handling with ErrorUtils
313
313
  - ✅ Enriched token validation with user context
314
- - ✅ Automated CI/CD pipeline with Bitbucket (deployment issues resolved)
314
+ - ✅ Fully functional CI/CD pipeline with comprehensive test compatibility
315
315
  - ✅ Complete API key validation support with Redis storage
316
316
  - ✅ Generic Redis operations (`get`/`set`) for extensibility
317
+ - ✅ Robust TLS configuration with dual format support (TLSv1.2/TLSv1_2)
318
+ - ✅ Cross-platform test compatibility (local and CI/CD environments)
317
319
  - ✅ Synchronized feature set with Node.js package (maintaining independent versioning)
318
320
  - ✅ Maintains consistent API across language implementations
319
321
 
@@ -238,13 +238,13 @@ module JwtAuthCognito
238
238
 
239
239
  def parse_tls_version(version_string)
240
240
  case version_string.upcase
241
- when 'TLSV1.2'
241
+ when 'TLSV1.2', 'TLSV1_2'
242
242
  :TLSv1_2
243
- when 'TLSV1.3'
243
+ when 'TLSV1.3', 'TLSV1_3'
244
244
  :TLSv1_3
245
- when 'TLSV1.1'
245
+ when 'TLSV1.1', 'TLSV1_1'
246
246
  :TLSv1_1
247
- when 'TLSV1'
247
+ when 'TLSV1', 'TLSV1_0'
248
248
  :TLSv1
249
249
  else
250
250
  :TLSv1_2 # Default to TLS 1.2
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module JwtAuthCognito
4
- VERSION = '1.0.0-beta.5'
4
+ VERSION = '1.0.0-beta.6'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jwt_auth_cognito
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.pre.beta.5
4
+ version: 1.0.0.pre.beta.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - The Optimal