0.0
No commit activity in last 3 years
No release in over 3 years
depend_lister is a command line tool which displays a list sorted by belongs_to.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 2.1
>= 0
>= 12.3.3
~> 0
 Project Readme

DependLister Gem Version

DependLister analyzes belongs_to defined by a model and outputs a list of tables in order with a little dependence. When You begin the maintenance of the existing project, it may be helpful.

Installation

To use it, add it to your Gemfile:

gem 'depend_lister'

and bundle:

bundle

Post Installation

Install migrations:

rake db:migrate

Usage

rails depend_lister

Example of Result

$ rails depend_lister
Level	Table	BelongsTo
Lv1	accounts
Lv2	follows	accounts
Lv2	statuses	accounts
Lv2	users	accounts
Lv3	favourites	accounts, statuses
Lv3	mentions	accounts, statuses
Lv3	stream_entries	accounts, statuses

You can copy the result and paste to Excel Sheet or Google Spread Sheet.

Level Table BelongsTo
Lv1 accounts
Lv2 follows accounts
Lv2 statuses accounts
Lv2 users accounts
Lv3 favourites accounts, statuses
Lv3 mentions accounts, statuses
Lv3 stream_entries accounts, statuses

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/kayamak/depend_lister. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the code of conduct.

License

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

Code of Conduct

Everyone interacting in the DependLister project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.