gitlabhq/gitlabhq — pull request #7858 by cirosantilli (2014-09-25 22:09:38+00:00)
Title: Add parenthesis to function def with arguments.

find . -iname '*.rb' | xargs perl -lapi -e 's/\bdef ([^ (]+)[ ]+([^(].*)/def $1($2)/'