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

dblock / slack-ruby-client / 28751676684
91%
master: 91%

Build:
Build:
LAST BUILD BRANCH: fix-hash-inspect-format-drift
DEFAULT BRANCH: master
Ran 05 Jul 2026 07:07PM UTC
Jobs 8
Files 262
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

05 Jul 2026 07:04PM UTC coverage: 91.075%. First build
28751676684

push

github

dblock
Render hash/array literals deterministically in generated specs

Ruby 3.4 changed Hash#inspect's default rendering of symbol keys from
the hash-rocket form (:foo=>1) to the modern shorthand (foo: 1). The
method_spec.erb template relied on implicit string interpolation of a
real Hash object when building the "encodes ... as json" test's
params, so the literal syntax emitted into generated spec files
depended on whichever Ruby version ran the generator. Since CI's
scheduled update_api.yml workflow pins Ruby 3.2, automated PRs could
flip-flop between hash-rocket and shorthand syntax on every run,
causing spurious diffs.

Add a ruby_literal helper that explicitly renders Hash/Array values as
source text using the modern key: value syntax (valid since Ruby 1.9,
well within our supported Ruby 2.7+ range), so generated output is
identical regardless of the Ruby version used to run
rake slack:web:api:update.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Signed-off-by: Daniel (dB.) Doubrovkine <dblock@dblock.org>

5245 of 5759 relevant lines covered (91.07%)

110.66 hits per line

Jobs
ID Job ID Ran Files Coverage
1 run-3.2 - 28751676684.1 05 Jul 2026 07:08PM UTC 524
90.94
GitHub Action Run
2 run-2.7 - 28751676684.2 05 Jul 2026 07:08PM UTC 524
91.01
GitHub Action Run
3 run-3.0 - 28751676684.3 05 Jul 2026 07:07PM UTC 524
90.94
GitHub Action Run
4 run-3.1 - 28751676684.4 05 Jul 2026 07:07PM UTC 524
90.94
GitHub Action Run
5 run-3.4 - 28751676684.5 05 Jul 2026 07:08PM UTC 524
90.94
GitHub Action Run
6 run-jruby-head - 28751676684.6 05 Jul 2026 07:10PM UTC 524
90.04
GitHub Action Run
7 run-3.3 - 28751676684.7 05 Jul 2026 07:08PM UTC 524
90.94
GitHub Action Run
8 run-ruby-head - 28751676684.8 05 Jul 2026 07:07PM UTC 524
90.94
GitHub Action Run
Source Files on build 28751676684
  • Tree
  • List 262
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #28751676684
  • fba1e1b1 on github
  • Next Build on fix-hash-inspect-format-drift (#28751692233)
  • Delete
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