aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/utils/inreplace.rb
diff options
context:
space:
mode:
authorMike McQuaid2016-03-25 18:35:06 +0800
committerXu Cheng2016-03-28 18:22:47 +0800
commit6135da800e4f93ded3a5a331d0efa691f4822afb (patch)
treeba02645a64a9a866bb77bcb586f07addee060c7c /Library/Homebrew/utils/inreplace.rb
parentca2abb2be6686a8f2e7c64f5d334ab70be97a1b7 (diff)
downloadbrew-6135da800e4f93ded3a5a331d0efa691f4822afb.tar.bz2
utils, gist-logs: improve/fix credential handling.
The API used (`Net::HTTP::Post`) does not handle basic authentication credentials in the same way as `open` so fix both cases so they work. Also, do some general usability tweaks to point out to people what could be wrong with their tokens or credentials to help them debug. Closes Homebrew/homebrew#50410. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Homebrew/utils/inreplace.rb')
0 files changed, 0 insertions, 0 deletions