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

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

Build:
Build:
LAST BUILD BRANCH: fix-hash-inspect-format-drift
DEFAULT BRANCH: master
Repo Added 05 Aug 2023 01:50PM UTC
Token rI2cAUnctI3wly1KRUhnABrG5Lqd0qR39 regen
Build 79 Last
Files 262
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

LAST BUILD ON BRANCH fix-hash-inspect-format-drift
branch: fix-hash-inspect-format-drift
CHANGE BRANCH
x
Reset
Sync Branches
  • fix-hash-inspect-format-drift
  • 1-item-arg-groups
  • 2.5.0-connection-options
  • add-code-coverage
  • added-ruby-3.4
  • calm-down-the-cron
  • chat-api-patch
  • fix-apps-user-connection-group
  • fix-channel-id
  • fix-ci
  • fix-coveralls
  • fix-files-upload-v2-multiple-files
  • fix-generator
  • fix-markdown-text-mutual-exclusion
  • gregsaab-add_files_upload_v2
  • master
  • migrate-danger-pr-comment
  • milestruecar-async-cache-build-485
  • oauth-file-upload-samples
  • rack-3.0-rewind
  • remove-rtm
  • rid-code-climate
  • support_channel_id_s
  • translate-channels-file-upload

05 Jul 2026 07:12PM UTC coverage: 91.075%. Remained the same
28751994615

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

Relevant lines Covered
Build:
Build:
5759 RELEVANT LINES 5245 COVERED LINES
110.66 HITS PER LINE
Source Files on fix-hash-inspect-format-drift
  • Tree
  • List 262
  • Changed 257
  • Source Changed 0
  • Coverage Changed 257
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
28751994615 fix-hash-inspect-format-drift 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... push 05 Jul 2026 07:19PM UTC dblock github
91.07
28751692233 fix-hash-inspect-format-drift Update CHANGELOG Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Signed-off-by: Daniel (dB.) Doubrovkine <dblock@dblock.org> push 05 Jul 2026 07:08PM UTC dblock github
91.07
28751676684 fix-hash-inspect-format-drift 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... push 05 Jul 2026 07:07PM UTC dblock github
91.07
See All Builds (64)

Badge your Repo: slack-ruby-client

We detected this repo isn’t badged! Grab the embed code to the right, add it to your repo to show off your code coverage, and when the badge is live hit the refresh button to remove this message.

Could not find badge in README.

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

Refresh
  • Settings
  • Repo on GitHub
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