amatsuda / traceroute

A Rake task gem that helps you find the unused routes and controller actions for your Rails 3+ app
MIT License
903 stars 38 forks source link

Support ignoring routes or actions #20

Closed distributedlife closed 6 years ago

distributedlife commented 9 years ago

Added support for a .traceroute, .traceroute.yml or .traceroute.yaml file. If it's found in the root directory then it'll read the file in and add the ignore regexes to the array of routes/actions to ignore.

I've added some doco to the readme. Tests are included.

lowjoel commented 9 years ago

:+1:

misteral commented 9 years ago

:+1:

MehdiK commented 8 years ago

Is there any chance you can merge this PR and release it please? We have been pointing to the GitHub url from our project and just want to point to the gem. Thanks.

piotr-galas commented 7 years ago

What about this pr? I can help fix it if somebody will merge it.

StephanMeijer commented 6 years ago

Please. Merge.

amatsuda commented 6 years ago

Just published 0.6.0 gem with this feature. But TBH I'm doubting if you guys still need this feature.

Another big feature intruduced in 0.6.0, Rails Engines support, would totally cover your Jasmine or other mounted Engines use case, so I guess most of you who showed up in this thread might not in fact need to deal with the YAML file thing.

Anyway, sorry for letting you wait so long, and please enjoy the new gem :)