Developer Setup¶
Prerequisites¶
| Tool | Version | Purpose |
|---|---|---|
| Ruby | 3.2+ | Build and test |
| Bundler | Latest | Dependency management |
| git | Latest | Version control |
| Docker | Latest | Local MQ containers (integration tests) |
Required repositories¶
mq-rest-admin depends on two sibling repositories:
| Repository | Purpose |
|---|---|
| mq-rest-admin-ruby | This project |
| standards-and-conventions | Canonical project standards (referenced by AGENTS.md and git hooks) |
| mq-rest-admin-dev-environment | Dockerized MQ test infrastructure (local and CI) |
Recommended directory layout¶
Clone all three repositories as siblings:
cd ~/dev
git clone https://github.com/wphillipmoore/mq-rest-admin-ruby.git
git clone https://github.com/wphillipmoore/standards-and-conventions.git
git clone https://github.com/wphillipmoore/mq-rest-admin-dev-environment.git
Installing dependencies¶
Testing¶
Coverage is enforced at 100% line and branch via SimpleCov.
Linting¶
Building the gem¶
Git hooks¶
Enable repository git hooks before committing:
The hooks enforce:
- pre-commit: Branch naming conventions and protected branch rules
- commit-msg: Conventional Commits format and co-author trailer validation