Commit Graph

7 Commits

Author SHA1 Message Date
Dylan Knutson
19d96dfebe update tapioca, more type annotations 2025-07-16 16:24:35 +00:00
Dylan Knutson
30b017906f more ar hacking 2025-07-14 05:44:01 +00:00
Dylan Knutson
bb5c22b070 lefthook ignore vscode dir 2025-07-14 05:41:49 +00:00
Dylan Knutson
c38482c9d8 feat: add comprehensive Sorbet type annotations with ActiveSupport::Concern support
- Add sorbet-runtime dependency to gemspec
- Add comprehensive type annotations to Configuration class
- Create RBI file with mixes_in_class_methods for proper class method typing
- Add ActiveSupport::Concern shim to handle included and class_methods DSL
- Add parameter validation for edge cases when RBI bypasses runtime checks
- Update tests to expect correct error messages from manual validation
- All 26 tests passing with full type safety
- Sorbet type checker passes with no errors

This implements the ActiveSupport::Concern DSL generator approach from
https://github.com/Shopify/tapioca/pull/360 to properly handle Sorbet
type checking with ActiveSupport::Concern modules.
2025-07-13 02:12:56 +00:00
Dylan Knutson
164f16b048 fix: use POSIX-compliant shell syntax in json-lint hook 2025-07-13 02:02:26 +00:00
Dylan Knutson
51e7f9545b pre-commit checking of json,yaml,rb files 2025-07-13 01:37:31 +00:00
Dylan Knutson
6fc3f772c3 Set up lefthook for Ruby formatters and type checking 2025-07-13 01:22:54 +00:00