Skip to content

Update config redaction and streamed response handling - #5

Merged
MudassarTariq merged 2 commits into
mainfrom
fix/ruby-transport-and-config-output
Nov 2, 2026
Merged

MudassarTariq merged 2 commits into
mainfrom
fix/ruby-transport-and-config-output

Conversation

@MudassarTariq

@MudassarTariq MudassarTariq commented Nov 2, 2026 •

Copy link
Copy Markdown
Member

Stream HTTP responses and enforce the configured character limit as data arrives. Preserve UTF-8 characters across chunk boundaries and retain replacement handling for malformed input. Redact API keys from configuration serialization and client/config inspection while keeping authentication unchanged.

Fix Bundler setup and the BigDecimal test dependency, and add regression tests and Ruby CI jobs. Update the README description of configuration serialization.

Validation: 33 offline examples passed on JRuby; 15 local HTTP scenarios passed against the built and installed gem, including single/bulk lookups, raw XML, origin authentication, split UTF-8, compressed responses, errors and timeouts. Gem build and install passed. The 28 credential-dependent live tests were skipped. All eight GitHub CI jobs passed: Ruby 2.7, 3.0–3.4, 4.0, and JRuby, including gem build and install.

Public methods and Ruby 2.7+ support are retained. Configuration hashes and JSON now mask the API key; config.api_key still returns the original value.

@MudassarTariq
MudassarTariq marked this pull request as ready for review November 2, 2026 11:06
@MudassarTariq
MudassarTariq merged commit a2f01bf into main Nov 2, 2026
8 checks passed
@MudassarTariq
MudassarTariq deleted the fix/ruby-transport-and-config-output branch November 2, 2026 11:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant