diff options
| author | Charlie Sharpsteen | 2011-11-13 18:08:03 -0800 |
|---|---|---|
| committer | Charlie Sharpsteen | 2011-11-13 19:23:00 -0800 |
| commit | 7248afc490a62d0a13096d265544423f31324abc (patch) | |
| tree | f4f4a40275c753727a83dd68761274f78821659a /Library/Homebrew/vendor/multi_json | |
| parent | 0dc87a51000f75b5fb12c4de2c1b5f8d6e2cd1f0 (diff) | |
| download | brew-7248afc490a62d0a13096d265544423f31324abc.tar.bz2 | |
Hardwire multi_json backend
The `multi_json` gem dynamically selects a JSON implementation from a list of
candidates. Since we cannot control which gems are installed on a user's
machine, this patch hardwires `multi_json` to use the included copy of `ok_json`.
`ok_json` is a pure-Ruby JSON encoder/decoder that is bundled with
`multi_json`. `ok_json` may not be as fast as other choices, but speed is not
critical for our application.
Closes Homebrew/homebrew#8574.
Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
Diffstat (limited to 'Library/Homebrew/vendor/multi_json')
| -rw-r--r-- | Library/Homebrew/vendor/multi_json/engines/ok_json.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/vendor/multi_json/engines/ok_json.rb b/Library/Homebrew/vendor/multi_json/engines/ok_json.rb index c06f80123..07a110f6f 100644 --- a/Library/Homebrew/vendor/multi_json/engines/ok_json.rb +++ b/Library/Homebrew/vendor/multi_json/engines/ok_json.rb @@ -1,4 +1,4 @@ -require "multi_json/vendor/ok_json" unless defined?(::OkJson) +require "vendor/multi_json/vendor/ok_json" unless defined?(::OkJson) module MultiJson module Engines |
