-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refactor make code more idiomatic #18
Refactor make code more idiomatic #18
Commits on Jul 27, 2016
-
Since the contribution is substantial, and following the usage instructions described in https://www.gnu.org/licenses/gpl-howto.html
Configuration menu - View commit details
-
Copy full SHA for e8a2369 - Browse repository at this point
Copy the full SHA e8a2369View commit details -
Refactor simplify file lists in gemspec
These lists of files are not modified often, and the Git versions are cryptic enough to allow useless files to be added to the gem.
Configuration menu - View commit details
-
Copy full SHA for 8b97eee - Browse repository at this point
Copy the full SHA 8b97eeeView commit details -
Refactor remove unused file requirements
The entry points for the gem are: - the executable, which depends on the FileLoader and Server - the include in the hooks files, which I suggest taking care of later I think that the executable should probably not know about the internal organization of the gem, but it's mostly matter of appreciation (YMMV).
Configuration menu - View commit details
-
Copy full SHA for 81ad17e - Browse repository at this point
Copy the full SHA 81ad17eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 027cf3a - Browse repository at this point
Copy the full SHA 027cf3aView commit details -
Configuration menu - View commit details
-
Copy full SHA for bb937ae - Browse repository at this point
Copy the full SHA bb937aeView commit details -
Refactor make method accessibilty explicit
The FileLoader.unique_paths is not part of its API and should not be used by other classes/modules.
Configuration menu - View commit details
-
Copy full SHA for 46c92d5 - Browse repository at this point
Copy the full SHA 46c92d5View commit details -
Minor refactor remove assertion on class
Asserting on the objects class is not used much in Ruby, and in this case it was used in case 'hooks' were nil. Instead, 'hooks' could default to an empty array (which conveys more meaning that nil) and it would always responds to "#each". The solution only builds on top of the existing duplication, but that's a different problem.
Configuration menu - View commit details
-
Copy full SHA for 606239b - Browse repository at this point
Copy the full SHA 606239bView commit details -
Refactor rename variables for clarity
Minor use parens around arguments in method definitions and non-trivial method calls.
Configuration menu - View commit details
-
Copy full SHA for 7668853 - Browse repository at this point
Copy the full SHA 7668853View commit details -
Configuration menu - View commit details
-
Copy full SHA for f83259c - Browse repository at this point
Copy the full SHA f83259cView commit details -
Refactor move instance variables intialization
Minor refactor use Array#inject to group statements Minor use parens in multi-arguments method calls
Configuration menu - View commit details
-
Copy full SHA for 9ab28ad - Browse repository at this point
Copy the full SHA 9ab28adView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3e19d75 - Browse repository at this point
Copy the full SHA 3e19d75View commit details