https://rubygems.org/gems/debride2okuribito
DebrideToOkuribito converts the execution result of "Debride" to yaml for "Okuribito".
Analyze code for potentially uncalled / dead methods, now with auto-removal.
Please, refer to the github repository for details: https://github.com/seattlerb/debride
Okuribito monitors the method call with YAML, and exec specified code.
In other words, it can be used in order to extract the really uncalled method.
Please, refer to the github repository for details: https://github.com/muramurasan/okuribito
Add this line to your application's Gemfile:
gem 'debride2okuribito'
And then execute:
$ bundle
Or install it yourself as:
$ gem install debride2okuribito
Usage is very easy.
If you enter the following command, you can get yaml for "Okuribito" with potentially uncalled methods written.
$ debride2okuribito ./
--- Run debride and convert to yaml...
--- 'okuribito.yml' has been generated.
The available options are "Debride" compliant.
$ debride2okuribito --rails app
--- Run debride and convert to yaml...
--- 'okuribito.yml' has been generated.
The gem is available as open source under the terms of the MIT License. Copyright 2016 Yasuhiro Matsumura.