diff options
| author | Mike McQuaid | 2016-11-21 18:45:20 +0000 |
|---|---|---|
| committer | GitHub | 2016-11-21 18:45:20 +0000 |
| commit | c3f959d6af36f075600aac63f208d59c30cd602c (patch) | |
| tree | 336233a927c2be8b69f74dd704b73b3293d6ac33 /Library/Homebrew/dev-cmd/pull.rb | |
| parent | c7267b123d38d1c96c2ca786c942255d2417cd86 (diff) | |
| parent | d07b9ed7f2e8806b1840b4f60605ef45487655e1 (diff) | |
| download | brew-c3f959d6af36f075600aac63f208d59c30cd602c.tar.bz2 | |
Merge pull request #1542 from woodruffw/deprecate-utils-json
compat: deprecate Utils::JSON in favor of corelib JSON.
Diffstat (limited to 'Library/Homebrew/dev-cmd/pull.rb')
| -rw-r--r-- | Library/Homebrew/dev-cmd/pull.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/dev-cmd/pull.rb b/Library/Homebrew/dev-cmd/pull.rb index 7e6e86a85..f7006baaa 100644 --- a/Library/Homebrew/dev-cmd/pull.rb +++ b/Library/Homebrew/dev-cmd/pull.rb @@ -32,7 +32,7 @@ require "net/http" require "net/https" require "utils" -require "utils/json" +require "json" require "formula" require "formulary" require "tap" @@ -433,7 +433,7 @@ module Homebrew return nil unless $?.success? Homebrew.force_utf8!(json) - FormulaInfoFromJson.new(Utils::JSON.load(json)[0]) + FormulaInfoFromJson.new(JSON.parse(json)[0]) end def bottle_tags |
