Go to file
Rob Watson 8df57065c6 Merge v0.3.0
Squashed commit of the following:

commit 8bee76eb76
Author: Rob Watson <rob@mixlr.com>
Date:   Thu Jan 18 19:47:00 2018 +0000

    Bump version > 0.3.0

commit be0036d747
Author: Rob Watson <rob@mixlr.com>
Date:   Thu Jan 18 19:31:35 2018 +0000

    routes_without_actions: Consider all public instance methods

commit 716d9117bb
Author: Rob Watson <rob@mixlr.com>
Date:   Thu Jan 18 19:30:39 2018 +0000

    Add missing dependency
2018-01-18 19:47:37 +00:00
bin Initial commit 2017-07-20 19:22:17 +01:00
lib Merge v0.3.0 2018-01-18 19:47:37 +00:00
spec Initial commit 2017-07-20 19:22:17 +01:00
.gitignore Initial commit 2017-07-20 19:22:17 +01:00
.rspec Initial commit 2017-07-20 19:22:17 +01:00
.travis.yml Initial commit 2017-07-20 19:22:17 +01:00
Gemfile Initial commit 2017-07-20 19:22:17 +01:00
LICENSE.txt Initial commit 2017-07-20 19:22:17 +01:00
README.md Initial commit 2017-07-20 19:22:17 +01:00
Rakefile Initial commit 2017-07-20 19:22:17 +01:00
routing_report.gemspec Merge v0.3.0 2018-01-18 19:47:37 +00:00

README.md

routing_report

Identify cruft in a Rails app.

Detects:

  • routes with no matching controller actions
  • controller actions with no matching routes

Installation

Add this line to your application's Gemfile:

gem 'routing_report'

And then execute:

$ bundle

Usage

bundle exec rake routing_report:run

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/rfwatson/routing_report.

License

The gem is available as open source under the terms of the MIT License.