26 Commits

Author SHA1 Message Date
Mike McQuaid
b2b413165f Upgrade vendored Ruby to 2.3.3.
Use this version whenever 2.3.3 isn't installed. Also, remove the Linux
portable Ruby for now until it's built to be the same version.
2017-09-21 14:27:17 +01:00
Misty De Meo
ffa65c7498
String: backport #match? from 2.4.0 2017-06-03 20:47:39 -07:00
Mike McQuaid
57db2e539e Revert "Merge pull request #2597 from MikeMcQuaid/vendor-gems"
This reverts commit 3e4547f52e7ebec633f8bfefc8a396d944edf908, reversing
changes made to 6edf9382bcc1240ad6f97c8b752cfe56cef9965d.
2017-05-07 17:28:39 +01:00
Mike McQuaid
ee253e465b Vendor all Homebrew's gems.
Homebrew's actually ended up using a fair few gems. While we want to
avoid Bundler at runtime (and this PR still does that, in fact uses
Bundler even less at runtime than it did before) writing our own version
to use at build-time seems redundant.
2017-05-07 13:52:57 +01:00
Markus Reiter
989a19b676 Update plist to 3.3.0. 2017-04-28 20:51:07 +02:00
Markus Reiter
625a950b46 Fix plist parser failing when encoded with ASCII. 2017-04-20 02:41:41 +02:00
William Woodruff
024264c381
vendor: Update ruby-macho to 1.1.0. 2017-03-26 01:25:32 -04:00
Viktor Szakats
cc8f029f22 secure urls + remove -k from in-doc curl command 2017-03-14 17:27:11 +00:00
William Woodruff
4278ec38e4
utils/json: Replace OkJson with Ruby's core JSON.
Removes OkJson from vendor/, as Ruby has included its own JSON
parser in corelib since 1.9.x and Homebrew is now guaranteed to be
running on 2.x+.
2016-11-17 23:16:21 -05:00
William Woodruff
7e09379669
vendor: Update ruby-macho to 0.2.6.
This brings fixes for behavior expected in #1460.
2016-11-09 17:35:56 -05:00
Markus Reiter
1e1a8bf626 Use version 3.1.0 of vendored plist. 2016-08-23 23:36:17 +02:00
Markus Reiter
963337aede Add vendored plist, version 3.1.0. 2016-08-23 23:36:17 +02:00
Markus Reiter
0dbf485c4f Move Cask’s vendored plist to Homebrew/vendor. 2016-08-22 23:13:43 +02:00
William Woodruff
5caa812e2c vendor: Update vendored ruby-macho to 0.2.5. 2016-08-11 22:34:49 +02:00
Xu Cheng
8f178187c0
add file directory for vendor Ruby
The vendor Ruby will be put inside `Library/Homebrew/vendor/portable-ruby/<version>`,
with a symlink `Library/Homebrew/vendor/portable-ruby/current` pointed to it.

In addition, a `Library/Homebrew/vendor/portable-ruby-version` will
track the latest version of vendor binaries.

This gives us version control on vendor Ruby and enables us to bump vendor
Ruby whenever needed such as security update.
2016-07-11 19:23:00 +08:00
William Woodruff
27e489e4c0 vendor: Update vendored ruby-macho to 0.2.4. 2016-06-20 23:36:18 +02:00
Martin Afanasjew
01d642f150 vendor/macho: update to 0.2.2-39-ge2fbedc9 2016-02-25 21:54:41 +01:00
William Woodruff
1cb6a2ad18 vendor: vendor ruby_macho library. 2016-02-03 21:25:20 +00:00
Jack Nagel
b754ad0d0b Update vendored OkJson 2014-02-10 13:17:16 -05:00
Jack Nagel
e445bdc717 Remove MultiJson
Closes Homebrew/homebrew#20696.
2013-06-22 21:40:26 -05:00
Jack Nagel
d8aab8cb04 Vendor OkJson directly 2013-06-22 21:34:02 -05:00
Jack Nagel
b568742428 Fix JSON smoke test
- Simplify encoding example because hashes are unordered.
 - Fix broken require
2013-01-17 22:29:20 -06:00
Jack Nagel
997f9d0075 Update multi_json to 1.5.0
This contains updates to the OkJson library that allow objects to define
to_json for serialization, and this will be used in the upcoming options
and deps work.
2013-01-17 21:39:43 -06:00
Charlie Sharpsteen
7248afc490 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>
2011-11-13 19:23:00 -08:00
Charlie Sharpsteen
0dc87a5100 Add copyright notice for MultiJson 2011-11-13 13:15:06 -08:00
Charlie Sharpsteen
1d1cd374b3 Vendor Library: multi-json 1.0.3
Multi-JSON is a library that provides encode/decode support for casting Ruby
objects to JSON strings and back again. This version of the library has been
tested against ruby versions 1.8.6 and later.

Having a JSON encoder/decoder in the toolbox helps now that the GitHub API only
returns results in JSON format.
2011-11-13 12:14:55 -08:00