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

dblock / distance_of_time_in_words / 34403430329
99%
master: 99%

Build:
Build:
LAST BUILD BRANCH: restore-same-clock-coverage
DEFAULT BRANCH: master
Ran 09 Sep 2026 08:50PM UTC
Jobs 8
Files 5
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

09 Sep 2026 08:50PM UTC coverage: 99.286% (-0.7%) from 100.0%
34403430329

push

github

dblock
Fix #165: only fold UTC offset changes into the sub-day leftover, not the top-level distance

offset_delta previously applied its correction to the top-level distance
used to pick which build_* branch to use, which could overcorrect past
zero when the real elapsed time was smaller than the DST/tzdata offset
change itself (e.g. Europe/Dublin's 1 hour fall-back masking a genuine
1 minute difference, reported as "less than 1 second"). The correction
is now applied only once the distance has already been split into
calendar fields (years/months/weeks/days), to the sub-day leftover
only, guarded against being re-applied when both build_years and
build_months invoke the same calculation (accumulate_on: :years).

Also removes the Rails >= 8.0 skip on the regression spec: with the
fix in place, it passes on every supported Rails version, not just
those where #to_time preserves the TimeZone object.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

6 of 6 new or added lines in 1 file covered. (100.0%)

2 existing lines in 1 file now uncovered.

278 of 280 relevant lines covered (99.29%)

605.43 hits per line

Coverage Regressions

Lines Coverage ∆ File
2
98.32
-1.68% lib/dotiw/time_hash.rb
Jobs
ID Job ID Ran Files Coverage
1 ruby-3.4-gemfiles/rails_7.2.gemfile - 34403430329.1 09 Sep 2026 08:51PM UTC 5
98.57
GitHub Action Run
2 ruby-3.4-gemfiles/rails_8.1_i18n.gemfile - 34403430329.2 09 Sep 2026 08:51PM UTC 5
98.57
GitHub Action Run
3 ruby-3.4-gemfiles/rails_6.0.gemfile - 34403430329.3 09 Sep 2026 08:51PM UTC 5
98.57
GitHub Action Run
4 ruby-3.4- - 34403430329.4 09 Sep 2026 08:50PM UTC 4
98.82
GitHub Action Run
5 ruby-3.4-gemfiles/rails_8.0.gemfile - 34403430329.5 09 Sep 2026 08:51PM UTC 5
98.57
GitHub Action Run
6 ruby-3.4-gemfiles/rails_8.1.gemfile - 34403430329.6 09 Sep 2026 08:51PM UTC 5
98.57
GitHub Action Run
7 ruby-3.4-gemfiles/rails_7.1.gemfile - 34403430329.7 09 Sep 2026 08:51PM UTC 5
98.57
GitHub Action Run
8 ruby-3.4-gemfiles/rails_7.0.gemfile - 34403430329.8 09 Sep 2026 08:51PM UTC 5
98.57
GitHub Action Run
Source Files on build 34403430329
  • Tree
  • List 5
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #34403430329
  • 77dff3c5 on github
  • Prev Build on add-dublin-cross-zone-example (#34358747948)
  • Delete
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