Skip to content

docs: add Ruby API reference, MCP details and network safeguards - #1308

Merged
gildesmarais merged 3 commits into
mainfrom
docs/gem-gaps-api
Nov 24, 2026
Merged

gildesmarais merged 3 commits into
mainfrom
docs/gem-gaps-api

Conversation

@gildesmarais

Copy link
Copy Markdown
Member

What changed

The Ruby gem docs gain a Ruby API reference, an up-to-date MCP page and a network safeguards section.

  • Ruby API reference (new page): every public Html2rss.* method with its options, defaults, return value and examples. It covers the apply result, validation reports, test, capture, scrape and the batch methods. An error-handling section explains Error#kind, retryable? and the error classes callers can rescue.
  • MCP server: checked against the 0.36.0 tools.
    • Adds the httpx strategy.
    • Adds the missing capture, test and batch parameters.
    • Documents the validate issue shape and codes, and test validation issues.
    • Documents apply's quality report and its zero-item next_step.
    • Adds mcp_contract_version 4 and a response cache section.
  • Network safeguards (strategy page):
    • Private-network denial and the IPv4 checks inside mapped, NAT64 and 6to4 addresses.
    • Support for IPv6-only (DNS64/NAT64) networks.
    • Stricter host validation, and skipping unsafe or malformed links.
    • Which checks each strategy runs.
    • A note that HTTPX has been the default transport since 0.30.0.
  • Guides and troubleshooting: an Html2rss.apply example, plus entries for empty feeds on IPv6-only hosts and for blocked or invalid URLs.

Why

These gem features shipped between 0.30.0 and 0.36.0 without docs, and the MCP page had drifted from the tools.

Validation

  • make lint and make build pass.
  • A fresh-context review checked every claim against the gem source and ran Ruby probes. It came back Readiness Yes with wording fixes, applied here. The per-strategy safeguard wording was then checked against the gem source again.

🤖 Generated with Claude Code

gildesmarais and others added 3 commits November 24, 2026 15:56
Add a Ruby API reference page with error handling, an apply example,
MCP response cache and validation issue shapes, and a network safeguards
section with troubleshooting entries.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@gildesmarais
gildesmarais marked this pull request as ready for review November 24, 2026 15:02
@gildesmarais
gildesmarais merged commit 8e3b117 into main Nov 24, 2026
5 checks passed
@gildesmarais
gildesmarais deleted the docs/gem-gaps-api branch November 24, 2026 15:16
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