Skip to content
This repository has been archived by the owner on Apr 17, 2024. It is now read-only.

Improve code base #66

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Improve code base #66

wants to merge 2 commits into from

Conversation

w8m8
Copy link

@w8m8 w8m8 commented Dec 19, 2015

  • Changed double quotes to single unless interpolation or special
    symbols are used in string
  • Rename methods prefixed with get (as all method essentially get
    something) to find
  • Use new Ruby (> v1.9) hash syntax
  • Swap out gsub with tr when there’s no regular expression for
    performance
  • Remove parenthesis for method calls with no argument

- Changed double quotes to single unless interpolation or special
symbols are used in string
- Rename methods prefixed with get (as all method essentially get
something) to find
- Use new Ruby (> v1.9) hash syntax
- Swap out gsub with tr when there’s no regular expression for
performance
- Remove parenthesis for method calls with no argument
@w8m8
Copy link
Author

w8m8 commented Dec 19, 2015

The reason why it fails with Travis appears to be an issue with the bundler and the configuration, rather than the code, so should be problem free.

@oskarlakner
Copy link
Contributor

@yatish27

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants