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

dblock / strava-ruby-client
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: fix-json-3-compat
DEFAULT BRANCH: master
Repo Added 24 Aug 2026 08:48PM UTC
Files 163
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 appraisals-json
branch: appraisals-json
CHANGE BRANCH
x
Reset
  • appraisals-json
  • dblock/add-coveralls
  • dblock/coveralls-github-token
  • dblock/revert-api-v3-url
  • fix-json-3-compat
  • master
  • remove-deprecated-club-endpoints
  • reorder-club-functions
  • update-releasing-docs
  • v3.1.0

12 Sep 2026 05:06PM UTC coverage: 99.817%. Remained the same
34707207645

Pull #114

github

dblock
Add Appraisals to reproduce and track json 3.x incompatibility

Adds an Appraisal-based test matrix (json-2, json-3) run in CI so the
existing spec suite is exercised against both the currently supported
json < 3.0 and json >= 3.0, reproducing the Faraday::ParsingError /
ArgumentError described in #113 whenever json 3.x is resolved.

- Add 'appraisal' gem and an Appraisals file defining 'json-2' and
  'json-3' appraisals.
- Move rubocop, rubocop-rake, and rubocop-rspec out of the main Gemfile
  into their own gemfiles/rubocop.gemfile, since rubocop < 1.90 pins
  json ~> 2.3, which otherwise made it impossible to resolve a Gemfile
  that also depends on json ~> 3.0.
- Update the Rakefile default task and .github/workflows/rubocop.yml to
  use gemfiles/rubocop.gemfile via BUNDLE_GEMFILE.
- Add a CI job in .github/workflows/test.yml that runs 'rake spec'
  against each appraisal gemfile; the json-3 job is currently expected
  to fail, tracking when the incompatibility is resolved.
- Exclude generated gemfiles/*.gemfile from rubocop and
  gemfiles/*.gemfile.lock from git.
- Document the new workflow in CONTRIBUTING.md and CHANGELOG.md.

Verified locally: the existing oauth/api/webhooks specs pass under
gemfiles/json_2.gemfile (0 failures) and fail under
gemfiles/json_3.gemfile with the exact reported error, reproducing
https://github.com/dblock/strava-ruby-client/issues/113.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Pull Request #114: Add Appraisals to test against multiple json gem versions

3808 of 3815 relevant lines covered (99.82%)

226.46 hits per line

Relevant lines Covered
Build:
Build:
3815 RELEVANT LINES 3808 COVERED LINES
226.46 HITS PER LINE
Source Files on appraisals-json
  • Tree
  • List 163
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
34707207645 appraisals-json Add Appraisals to reproduce and track json 3.x incompatibility Adds an Appraisal-based test matrix (json-2, json-3) run in CI so the existing spec suite is exercised against both the currently supported json < 3.0 and json >= 3.0, reproducing the... Pull #114 12 Sep 2026 05:06PM UTC dblock github
99.82
34707096123 appraisals-json Add Appraisals to reproduce and track json 3.x incompatibility Adds an Appraisal-based test matrix (json-2, json-3) run in CI so the existing spec suite is exercised against both the currently supported json < 3.0 and json >= 3.0, reproducing the... Pull #114 12 Sep 2026 05:04PM UTC dblock github
99.82
See All Builds (33)
  • Repo on GitHub
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