aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Contributions
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Contributions')
-rwxr-xr-xLibrary/Contributions/cmd/brew-ls-taps.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Contributions/cmd/brew-ls-taps.rb b/Library/Contributions/cmd/brew-ls-taps.rb
index 98c14dccf..40cf0cafe 100755
--- a/Library/Contributions/cmd/brew-ls-taps.rb
+++ b/Library/Contributions/cmd/brew-ls-taps.rb
@@ -1,7 +1,7 @@
-require 'vendor/multi_json'
+require 'utils/json'
GitHub.open "https://api.github.com/legacy/repos/search/homebrew" do |f|
- MultiJson.decode(f.read)["repositories"].each do |repo|
+ Utils::JSON.load(f.read)["repositories"].each do |repo|
if repo['name'] =~ /^homebrew-(\S+)$/
puts tap = if repo['username'] == "Homebrew"
"homebrew/#{$1}"