Skip to content

A tool for tracking down not resolving constants in Ruby projects

Notifications You must be signed in to change notification settings

arkency/constants-resolver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

constants-resolver

A tool for tracking down not resolving constants in Ruby projects. See the context: https://blog.arkency.com/tracking-down-not-resolving-constants-with-parser/

Usage:

bundle exec ruby collector.rb app/

Expected output:

[PROJECT_ROOT]/app/controllers/vehicles/cars_controller.rb:3:15   ::Car

[PROJECT_ROOT]/app/controllers/vehicles/plains_controller.rb:3:30 ::Paginatiors::SimplePaginator
[PROJECT_ROOT]/app/controllers/vehicles/plains_controller.rb:3:60 Vehicles::Plain

[PROJECT_ROOT]/app/models/vehicles/car.rb:5:19    Presenters::CarPresenter

About

A tool for tracking down not resolving constants in Ruby projects

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published