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

ruby-grape / grape / 26340653868 / 38
97%
master: 97%

Build:
Build:
LAST BUILD BRANCH: robust_mounted_app_comparison
DEFAULT BRANCH: master
Ran 23 May 2026 06:48PM UTC
Files 164
Run time 5s
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

23 May 2026 06:46PM UTC coverage: 95.69% (-0.001%) from 95.691%
26340653868.38

Pull #2742

github

ericproulx
Prune unused requires in lib/grape.rb

Three removals (verified via grep across `lib/` + full RSpec run):

- `active_support/version` — redundant; `require 'active_support'`
  itself loads the version file first.
- `pathname` — no `Pathname` reference anywhere in the gem.

One narrow:

- `active_support/inflector` → `active_support/core_ext/string/inflections`
  — only the String inflector extensions (`demodulize`, `underscore`) are
  used (in `validations.rb` and `util/registry.rb`); the rest of the
  Inflector class/rule machinery isn't reached.

Kept with a comment after a false start during the audit:

- `active_support/core_ext/hash/indifferent_access` — looked unused
  (we only construct `ActiveSupport::HashWithIndifferentAccess.new(...)`
  directly, never call `Hash#with_indifferent_access`), but
  `HashWithIndifferentAccess.new(hash)` internally calls
  `nested_under_indifferent_access` on its input, which is added by
  this core_ext. Dropping it broke ~200 specs.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Pull Request #2742: Prune unused requires in lib/grape.rb

1062 of 1171 branches covered (90.69%)

Branch coverage included in aggregate %.

3489 of 3585 relevant lines covered (97.32%)

989.54 hits per line

Source Files on job run-4.0-gemfiles/rails_7_2.gemfile - 26340653868.38
  • Tree
  • List 164
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 26340653868
  • 3eb1aab0 on github
  • Prev Job for on chore/prune-requires (#26292056269.18)
  • Next Job for on chore/prune-requires (#26340660986.27)
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