This file contains hidden or 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
# Run brew install git bash-completion | |
# Add bash-completion to your ~/.bash_profile: | |
[ -f /usr/local/etc/bash_completion ] && . /usr/local/etc/bash_completion || { | |
# if not found in /usr/local/etc, try the brew --prefix location | |
[ -f "$(brew --prefix)/etc/bash_completion.d/git-completion.bash" ] && \ | |
. $(brew --prefix)/etc/bash_completion.d/git-completion.bash | |
} | |
DULL=0 | |
BRIGHT=1 |
This file contains hidden or 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 Devise | |
module Strategies | |
class Token < Base | |
attr_reader :email, :token | |
def initialize(env, scope = nil) | |
super | |
return unless auth = ActionController::HttpAuthentication::Token.token_and_options(request) |
OlderNewer