Conversation
Add Mustache-based custom output with canonical template containment, use ISO 8601 dates, and match version labels precisely. Preserve object-based YAML serialization and compatible Markdown table output. Update runtime and development dependencies, require Ruby 3.3, and bump the version to 2.1.0.
Cover configuration, clients, pulls, formatters, rows, tables, and CLI behavior. Add network-free Cucumber scenarios and VCR-backed replay tooling, excluding VCR scenarios from the default test task.
Clarify CLI version output, custom templates, and VCR tooling. Record release changes and ignore local AI-assistant directories.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Purpose
Adds a
customoutput format backed by Mustache templates, closes out test coverage gaps across the gem, hardens the CI lint workflow, and bumps the version to 2.1.0.What changed and why
CustomFormatter, which renders PR rows through a project-supplied Mustache template (templates.customconfig key, path validated to stay inside the project directory) and writes tocustom_output. Markdown output uses the bundled Mustache template while retaining the existing four-column, headerless layout and whitespace behavior. YAML retains object-basedto_yamlserialization.Row#to_hsupplies the full row fields for YAML and custom templates; Markdown builds its own four-field template data.Config,Client,EnterpriseClient,Pulls,RowCollector,Row,Runner,CLI, and the output formatters (98 examples), plus SimpleCov and WebMock (network calls disabled in specs).--configpaths, all output formats, missingcustom_output, and the enterprise SSRF guard. Added VCR-backed scaffolding (tagged@vcr, excluded from the default run) with a recorded cassette for replay-only testing against a real GitHub repository.super-linterfailures surfaced across two CI runs:actions/checkoutto v6 andsuper-linterto v8, and pinned both to commit SHAs (zizmor).faradayandjsoninGemfile.lockto patched versions (Trivy CVEs).required_ruby_versionto>= 3.3so RuboCop's auto-detectedTargetRubyVersionmatches the Ruby 3.1+ hash-punning syntax used in specs.VALIDATE_JSON_PRETTIER(conflicted with Biome's formatting of.markdownlint.json)..rubocop.ymlto the existing.github/linters/.ruby-lint.ymland addedrubocop-githubas a development dependency, so CI and local/IDE RuboCop share the same config.customoutput format and the new test tooling (SimpleCov, WebMock, VCR,cucumber -p vcr) in the README, and added a CHANGELOG entry.Row#dateand generated row dates now use ISO 8601 (YYYY-MM-DD) rather than human-readable dates;Row#date_stringprovides the human-readable form. Consumers that parse the previous date format must adapt..claude/,.scout/) in.gitignore.Testing
bundle exec rspec— 98 examples, 0 failuresbundle exec rubocop lib spec— 0 offensesbundle exec cucumber— 10 scenarios, 10 passed (default, network-free)bundle exec cucumber -p vcr— 1 scenario, replays from cassette with no live network accessbundle exec rake test— full suite greensuper-linter) — green