Files
whetrails/whetrails.gemspec
bill df3f7e1c75
Some checks failed
CI / scan_ruby (push) Has been cancelled
CI / scan_js (push) Has been cancelled
CI / lint (push) Has been cancelled
CI / test (push) Has been cancelled
CI / system-test (push) Has been cancelled
Add core inspector, CLI, and formatter
- Inspector extracts callbacks and validators from any AR model,
  resolves source locations, and filters Rails internals
- CLI: `whetrails inspect <ModelName>` boots Rails and renders chain
- Formatter produces clean lifecycle-ordered terminal output
- Order model added as development fixture

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-08 10:24:09 -06:00

21 lines
805 B
Ruby

require_relative "lib/whetrails/version"
Gem::Specification.new do |spec|
spec.name = "whetrails"
spec.version = Whetrails::VERSION
spec.authors = ["Bill Holcombe"]
spec.email = ["billholcombe30@gmail.com"]
spec.summary = "Makes ActiveRecord callback and validation chains visible"
spec.description = "Inspects Rails models and surfaces the full ordered callback and validation chain, including source locations and conditions."
spec.homepage = "https://github.com/whetforge/whetrails"
spec.license = "MIT"
spec.required_ruby_version = ">= 3.0"
spec.files = Dir["lib/**/*.rb", "exe/*", "LICENSE", "README.md"]
spec.executables = ["whetrails"]
spec.add_dependency "railties", ">= 7.0"
spec.add_dependency "activerecord", ">= 7.0"
end