Files
whetrails/whetrails.gemspec
bill 286db51fcd Add Rails engine with browser UI at /whetrails
Mounts a Rails engine that lists app models in a sidebar and renders
the full callback/validator chain for any model. Source locations are
linked via vscode:// URIs. Condition badges and concern module tags
distinguish at-a-glance where each callback comes from.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-08 20:12:24 -06:00

21 lines
860 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", "app/**/*.rb", "app/views/**/*.erb", "config/**/*.rb", "exe/*", "LICENSE", "README.md"]
spec.executables = ["whetrails"]
spec.add_dependency "railties", ">= 7.0"
spec.add_dependency "activerecord", ">= 7.0"
end