Skip to content

feat: contracts-rb 0.3.0 — enforce must_change from:/to: bounds - #1

Merged
cursor[bot] merged 2 commits into
masterfrom
cursor/must-change-bounds-v030-fe96
Aug 11, 2026
Merged

feat: contracts-rb 0.3.0 — enforce must_change from:/to: bounds#1
cursor[bot] merged 2 commits into
masterfrom
cursor/must-change-bounds-v030-fe96

Conversation

@theworker02

Copy link
Copy Markdown
Owner

Summary

Enforces must_change … from:/to: bounds that the DSL already recorded but did not check. Released as 0.3.0.

What's new

  • Runtime enforcement of from: / to: (scalar or array) on observed mutations
  • Raises Contracts::MutationViolation when bounds fail
  • Gemspec + Contracts::VERSION bumped to 0.3.0
  • Extended stateful specs

Publish

After merge, tag v0.3.0 to trigger .github/workflows/release.yml (OIDC → RubyGems).

Test plan

  • Stateful specs covering pass/fail bounds
  • Full CI suite
  • Tag + release after merge
Open in Web Open in Cursor 

Co-authored-by: Matthew <matthewlooney5@gmail.com>
Co-authored-by: Matthew <matthewlooney5@gmail.com>
@cursor
cursor Bot merged commit b9456cf into master Aug 11, 2026
4 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants