This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Keywords | |
extend self | |
def create(attributes: nil, parent_id: nil) | |
puts attributes | |
end | |
def hello | |
puts "hello" | |
end | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Feature List - Needs to be implemented | |
1. Yelp result, sort by highest rating rather than first | |
2. Use the Chosen jQuery plugin from Harvest for the Yelp categories | |
a. http://www.yelp.com/developers/documentation/category_list | |
3. Top three results or ability to pass and get the new one | |
4. Open at a specific time, when they want to go | |
5. Train directions from both addresses to the yelp midpoint | |
6. Option to switch between transit, driving and walking directions | |
7. Find the midpoint based on travel time rather than distance |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bundler-installed() | |
{ | |
which bundle > /dev/null 2>&1 | |
} | |
within-bundled-project() | |
{ | |
local dir="$(pwd)" | |
while [ "$(dirname $dir)" != "/" ]; do | |
[ -f "$dir/Gemfile" ] && return |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bundle_commands=( spec rspec cucumber cap watchr rails rackup shotgun ) | |
function run_bundler_cmd () { | |
if [ -e ./Gemfile ]; then | |
echo "bundle exec $@" | |
bundle exec $@ | |
else | |
echo "$@" | |
$@ | |
fi |