• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

ruby-grape / grape / 19808699283 / 33
97%
master: 97%

Build:
Build:
LAST BUILD BRANCH: fix_before_each_no_method_error
DEFAULT BRANCH: master
Ran 01 Dec 2025 01:58AM UTC
Files 155
Run time 7s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

01 Dec 2025 01:56AM UTC coverage: 57.202% (+0.003%) from 57.199%
19808699283.33

Pull #2629

github

ericproulx
Refactor router architecture for better encapsulation

- Convert Route classes to use explicit parameters instead of options hashes
- Add Forwardable delegation for cleaner interfaces
- Move Pattern construction to caller for better separation of concerns
- Improve API design with keyword arguments throughout router system
- Replace nested option access (route.options[:endpoint]) with direct methods
- Simplify code with flat_map and remove unnecessary splat operators
- Extract DSL_METHODS constant in ApiDescription for reusability

This refactoring improves code maintainability, testability, and performance
while maintaining backward compatibility with the public API.
Pull Request #2629: Refactor Router Architecture: Improve Encapsulation and API Design

277 of 1153 branches covered (24.02%)

Branch coverage included in aggregate %.

2332 of 3408 relevant lines covered (68.43%)

6.34 hits per line

Source Files on job run-3.3-gemfiles/dry_validation.gemfile - 19808699283.33
  • Tree
  • List 155
  • Changed 9
  • Source Changed 9
  • Coverage Changed 9
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 19808699283
  • 314f4559 on github
  • Prev Job for on refactor/router-pattern-delegation (#19643898903.18)
  • Next Job for on refactor/router-pattern-delegation (#19808742858.35)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc