Conversation
Three of the five header badges were rendering errors instead of values:
- `badge.fury.io/rb/modal_stack.svg` → empty SVG (service flaky).
Replaced with shields.io `gem/v` which renders "v0.2.0" correctly.
- `img.shields.io/gem/ruby-version/modal_stack` → "404 badge not found"
(endpoint does not exist on shields.io). Replaced with a static
badge derived from the gemspec's `required_ruby_version >= 3.2.0`.
- `img.shields.io/gem/dv/modal_stack/railties` → "version should be
stable or valid semver". The `gem/dv` endpoint requires the format
`gem/dv/{gem}/{version}/{dep}`; `railties` was being read as the
version. Replaced with a static "rails 7.2 | 8.0 | 8.1" badge.
Also added a `gem/dt` downloads badge for free.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Three of the five header badges in the README were rendering error messages instead of values:
badge.fury.io/rb/modal_stack.svgimg.shields.io/gem/ruby-version/modal_stackimg.shields.io/gem/dv/modal_stack/railtiesgem/dvrequiresgem/dv/{gem}/{version}/{dep};railtieswas being parsed as the versionReplacements
gem/v/modal_stackfrom shields.io (rendersv0.2.0).gem/dt/modal_stackdownloads badge added for free.ruby >= 3.2badge, sourced from the gemspec'srequired_ruby_version.rails 7.2 | 8.0 | 8.1badge — supersedes the brokengem/dvconstraint badge with the actually-supported Rails range from the CI matrix.No version bump (README-only).
Test plan
curlverified).🤖 Generated with Claude Code