Skip to content

Align the Mongoid example documentation and CI - #15

Merged
dblock merged 1 commit into
with-mongoidfrom
fix/mongoid-hyperclient-example
Oct 27, 2026
Merged

dblock merged 1 commit into
with-mongoidfrom
fix/mongoid-hyperclient-example

Conversation

@dblock

@dblock dblock commented Oct 27, 2026 •

Copy link
Copy Markdown
Member

Fixes #9.

Align the active Mongoid example with the master baseline merged in #16. Shared CI is identical apart from the target branch, a MongoDB-compatible Ubuntu 22.04 runner, and a health-checked MongoDB 8.0 service: the same five Ruby 3.3/3.4/4.0, Grape 2/3/4, and Rack 2/3 combinations, independent RuboCop, bounded jobs, read-only permissions, and parallel Coveralls reporting.

Carry the shared HTTPS dependency setup, JSON compatibility constraint, deterministic requires, Rack-compliant HAL redirects, static fallback, and root-route coverage. Refresh the Mongoid bundle without adding lint exclusions. Keep Mongoid persistence, string IDs, and cursor/size pagination intact.

Align README structure and branch-specific badges, startup/database requirements, persisted JSON POST/PUT examples, coverage/development commands, and the table of all three active examples. Preserve the canonical codegram/Hyperclient link and the verified reusable-client example from #9, with fresh collection-link expansion after writes.

Locally verified all 32 examples using the updated dependencies and a dedicated MongoDB instance, including actual database reloads for JSON writes and both JSON media types. RuboCop and actionlint pass. The moving ubuntu-latest image and some updated Ubuntu 24.04 runners exposed MongoDB 8.0’s explicit rejection of Linux 6.19 and newer before Ruby setup. Pin only this branch’s test runner to Ubuntu 22.04; preserve all five compatibility jobs. Hosted verification for 435b701882e69fb0c5001397c3f8af9befb52942: all five MongoDB 8 compatibility jobs and Coveralls finalization and RuboCop pass.

Targets with-mongoid. No existing database instances or the dirty fork checkout are modified. GitHub does not automatically close issues when merging into a non-default branch; leave #9 open until this fix is merged.

AI-authored on behalf of @dblock.

@dblock
dblock force-pushed the fix/mongoid-hyperclient-example branch 2 times, most recently from 9b227e3 to abc6d98 Compare October 27, 2026 17:14
@dblock dblock changed the title Exercise and clarify the Mongoid Hyperclient example Align the Mongoid example documentation and CI Oct 27, 2026
@dblock
dblock force-pushed the fix/mongoid-hyperclient-example branch 2 times, most recently from 103d9d9 to b74e9d2 Compare October 27, 2026 17:23
Carry the master compatibility matrix, coverage, lint, and Rack compliance fixes to the Mongoid branch. Add an isolated MongoDB 8 service, preserve cursor pagination and string IDs, and verify persisted JSON writes and the reusable Hyperclient demo.

Fixes #9.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@dblock
dblock force-pushed the fix/mongoid-hyperclient-example branch from b74e9d2 to 435b701 Compare October 27, 2026 17:25
@dblock
dblock merged commit e577f36 into with-mongoid Oct 27, 2026
7 checks passed
@dblock
dblock deleted the fix/mongoid-hyperclient-example branch October 27, 2026 17:26
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