hub
https://github.com/mislav/hub
Go
A command-line tool that makes git easier to use with GitHub.
GrapeRouteHelpers::AllRoutes#decorated_routes
Bringing in PR https://github.com/reprah/grape-route-helpers/pull/21 due to abandonment. Without the following fix, when two helper methods are the same, but have different arguments (for example: api_v1_cats_owners_path(id: 1) vs api_v1_cats_owners_path(id: 1, owner_id: 2)) if the helper method with the least number of arguments is defined first (because the route was defined first) then it will shadow the longer route. The fix is to sort descending by amount of arguments
Edit
git clone [email protected]:mislav/hub.git
cd hub
open
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-GrapeRouteHelpers--AllRoutes-decorated_routes-for-pr
# Commit to gitgit add git commit -m "better docs for GrapeRouteHelpers::AllRoutes#decorated_routes"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-GrapeRouteHelpers--AllRoutes-decorated_routes-for-pr
hub pull-request
# Celebrate!