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

gregschmit / rails-rest-framework / 30496619839
95%
master: 95%

Build:
Build:
LAST BUILD BRANCH: 2.0.0.beta6
DEFAULT BRANCH: master
Ran 29 Jul 2026 10:35PM UTC
Jobs 1
Files 23
Run time 1min
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

29 Jul 2026 10:31PM UTC coverage: 94.29% (+2.3%) from 91.975%
30496619839

Pull #40

github

gregschmit
Preserve propagated class-attribute values after local set.

A `propagate { self.x = ... }` followed by a plain `self.x = ...`
clobbered the propagated getter, since both were defined on the same
singleton class. Descendants then had no `super` to reach and fell back
to the default instead of the propagated value.

Store propagated values (and the default baseline) in a per-class module
included in the singleton class, keeping local assignments on the
singleton class itself. A local getter now supers into the module rather
than overwriting it, and descendants keep inheriting the propagated
value. `super` resolves dynamically, so a propagate that happens after an
earlier local override still reaches descendants.

Strengthen the regression test to assert the descendant still sees the
propagated value, not merely that it differs from the local one.
Pull Request #40: v2

209 of 214 new or added lines in 8 files covered. (97.66%)

1 existing line in 1 file now uncovered.

1222 of 1296 relevant lines covered (94.29%)

335.93 hits per line

Uncovered Changes

Lines Coverage ∆ File
3
96.77
lib/rest_framework/controller/actions.rb
1
91.67
6.04% lib/rest_framework/controller.rb
1
97.14
-2.86% lib/rest_framework/controller/crud.rb

Coverage Regressions

Lines Coverage ∆ File
1
97.56
5.56% lib/rest_framework/routers.rb
Jobs
ID Job ID Ran Files Coverage
1 30496619839.1 29 Jul 2026 10:35PM UTC 46
93.95
GitHub Action Run
Source Files on build 30496619839
  • Tree
  • List 23
  • Changed 14
  • Source Changed 9
  • Coverage Changed 14
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #30496619839
  • Pull Request #40
  • PR Base - master (#30385528957)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc