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

ruby-grape / grape / 19808699283 / 4
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 6s
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: 95.639% (+0.06%) from 95.575%
19808699283.4

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

1046 of 1153 branches covered (90.72%)

Branch coverage included in aggregate %.

3318 of 3410 relevant lines covered (97.3%)

1249.47 hits per line

Source Files on job run-3.1-gemfiles/rails_7_0.gemfile - 19808699283.4
  • Tree
  • List 155
  • Changed 10
  • Source Changed 9
  • Coverage Changed 10
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.1)
  • 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