Skip to content

Build documentation and agents file#13

Merged
lomefin merged 7 commits intomasterfrom
build-documentation-and-agents-file
Mar 28, 2026
Merged

Build documentation and agents file#13
lomefin merged 7 commits intomasterfrom
build-documentation-and-agents-file

Conversation

@lomefin
Copy link
Copy Markdown
Contributor

@lomefin lomefin commented Feb 3, 2026

Summary

  • Fixed block forwarding in callback aliases (validates_with, prepares_with, done_criteria) — previously passed the block as a positional arg instead of forwarding it
  • Upgraded Ruby support to 3.3.11–4.0; updated .mise.toml to 3.4.7 and required_ruby_version to >= 3.3.11
  • Switched from RuboCop to StandardRB for linting
  • Added bin/ci script to run rspec + standardrb locally against Ruby 3.3, 3.4, and 4.0 via mise
  • Added explicit dev dependencies for gems removed from Ruby defaults: benchmark, racc, ostruct
  • Fixed copy-paste bug in specs using wrong class name in two test cases
  • Added/updated specs to cover alias behavior, after_init callbacks, and check with multiple callbacks
  • Added developer docs (docs/DEVELOPERS.md, AGENTS.md) and linked from README

Key Files

  • lib/storyteller.rb — block forwarding fix
  • .github/workflows/main.yml — CI matrix over Ruby 3.3, 3.4, 4.0 with standardrb
  • bin/ci — local CI script
  • .standard.yml — StandardRB config
  • storyteller.gemspec — updated Ruby version requirement and deps
  • spec/storyteller_spec.rb — bug fix + new coverage

Test plan

  • bin/ci passes on Ruby 3.3.11, 3.4.7, and 4.0.x (24 examples, 0 failures, standardrb clean)
  • GitHub Actions CI passes on all matrix Ruby versions

lomefin and others added 6 commits February 3, 2026 19:18
- Bump required_ruby_version to >= 3.3.11
- Update mise config to Ruby 3.4.7
- Overhaul CI workflow: target master branch, matrix over 3.3/3.4/4.0, run rspec and rubocop separately

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Bump minitest to 6.0.2 (removes ruby < 4.0 constraint) and activesupport
to 8.1.3 (declares bigdecimal explicitly, required since Ruby 3.4 removed
it from default gems)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Ruby 4.0 removed ostruct from default gems; declare it explicitly since
activesupport requires it at runtime.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@lomefin lomefin self-assigned this Mar 28, 2026
- Replace rubocop/rubocop-rspec/rubocop-rake with standard (>= 1.35.1)
- Add .standard.yml disabling Lint/ConstantDefinitionInBlock in specs
- Remove .rubocop.yml; update CI and bin/ci to use standardrb
- Add benchmark and racc as explicit dev deps for Ruby 4 compatibility
- Fix copy-paste bug in specs using wrong class name (SingleInvalidCriteriaClass)
- Apply standard style fixes across lib and spec files

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@lomefin lomefin merged commit b4f98ab into master Mar 28, 2026
3 checks passed
@lomefin lomefin deleted the build-documentation-and-agents-file branch March 28, 2026 03:28
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.

1 participant