Release 0.2.7: bump rake constraint to allow rake 13.x#34
Release 0.2.7: bump rake constraint to allow rake 13.x#34
Conversation
Widens the rake runtime dependency from `< 13.1.0` to `< 14` so that downstream consumers (e.g. soundcloud/sonar#2077) can update rake to `~> 13.0` without dropping cando. - VERSION: 0.2.6 -> 0.2.7 - Gemfile: rake `~> 12.3.3` -> `>= 12.3.3, < 14` - cando.gemspec: rake `>= 10.3.2, < 13.1.0` -> `>= 10.3.2, < 14` Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
There was a problem hiding this comment.
Code Review
This pull request updates the gem version to 0.2.7 and expands the allowed rake version range to include versions up to 14. Feedback was provided regarding a discrepancy between the rake version constraints in the Gemfile and the gemspec, as the Gemfile's more restrictive lower bound prevents testing against the full range of supported versions defined in the gemspec.
|
|
||
| gem "sequel", "~> 4.10.0" | ||
| gem "rake", "~> 12.3.3" | ||
| gem "rake", ">= 12.3.3", "< 14" |
There was a problem hiding this comment.
The rake constraint in the Gemfile (>= 12.3.3) is more restrictive than the runtime dependency defined in the gemspec (>= 10.3.2). This prevents testing the gem against the full range of supported Rake versions in the development environment. Consider aligning the lower bound with the gemspec to ensure compatibility across all supported versions.
gem "rake", ">= 10.3.2", "< 14"
Replaces the original (no-longer-active) author/email with the current maintainer for the 0.2.7 release. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Summary
0.2.6->0.2.7>= 10.3.2, < 13.1.0to>= 10.3.2, < 14so downstream consumers can use rake 13.xGemfilerake constraint to match (>= 12.3.3, < 14)Why
soundcloud/sonar#2077 wants to update rake to
~> 13.0, but the currently published cando 0.2.7 — er, 0.2.6 — still pins rake to~> 10.3.2, which blocks the bump. Releasing 0.2.7 unblocks that PR.Test plan
gem build cando.gemspecsucceeds (verified locally, rake constraint shows>= 10.3.2, < 14in built gemspec)rake release(orgem build+gem push) to publish 0.2.7 to rubygems.org~> 0.2.7alongside the rake update, then verify sonar's CI passesNotes
Gemfile.lockleft untouched;bundle installon a modern Ruby fails because of pre-existing dev deps (mysql 2.9.1,json 1.8.1) — unrelated to this change. Lockfile rake (12.3.3) still satisfies the new constraint.🤖 Generated with Claude Code