1419 Commits

Author SHA1 Message Date
Jack Nagel
4fd63dc4f8 Expose inreplace as a class method 2014-06-18 19:25:35 -05:00
Jack Nagel
53afdae10e Use Pathname#subdirs 2014-06-17 22:12:46 -05:00
Jack Nagel
c6d75bfcec Move head-only checks to cmd/install
Fixes Homebrew/homebrew#30084.
Closes Homebrew/homebrew#30203.
2014-06-16 18:39:59 -05:00
Jack Nagel
f3817b58ee install: move requires to top of file 2014-06-16 13:36:17 -05:00
Jack Nagel
5c24876d02 Fix audit suggestion 2014-06-15 23:28:06 -05:00
Adam Vandenberg
9c4d309a80 readall: fix permissions 2014-06-15 16:21:28 -07:00
Adam Vandenberg
53826bdb0e Migrate readall 2014-06-15 15:48:14 -07:00
Jack Nagel
e9cf30eb2c Support older Minitest constant 2014-06-12 21:28:00 -05:00
Jack Nagel
c0e0bd2984 Read df output in binary mode
Fixes Homebrew/homebrew#30046.
2014-06-11 00:42:51 -05:00
Jack Nagel
e3f082c294 Stop joining symbols to pathnames
Ruby 2.2's native Pathname#/ accepts only string-like objects.
2014-06-09 14:57:21 -05:00
Jack Nagel
fcacb25cd5 Eliminate FORMULA_META_FILES constant 2014-06-07 21:15:56 -05:00
Jack Nagel
cad5704fc7 Update build error config dump for Ruby 2.0 2014-06-07 15:57:17 -05:00
Jack Nagel
d0be32f60b Rescue Minitest::Assertion under Ruby 2.0 2014-06-04 15:38:33 -05:00
Jack Nagel
62e79c8d09 audit: read formula text in binmode 2014-06-04 15:37:36 -05:00
Jack Nagel
d29d5d7e92 Fix some places where encoding issues manifest on ruby 2.0 2014-06-04 01:37:56 -05:00
Misty De Meo
8cb980f7be doctor: Add check for install_name_tool
Closes Homebrew/homebrew#29593.
2014-06-03 22:50:37 -07:00
Dave Cottlehuber
bd05334487 test: improve docs for when using HEAD or similar flags
Closes Homebrew/homebrew#29791.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2014-06-03 20:17:45 -07:00
Jack Nagel
0e0bee9c50 Update ruby version doctor check 2014-06-03 11:04:07 -05:00
Jack Nagel
bf365fc23b Prefer Dir.glob when iterating over the result 2014-05-31 23:53:36 -05:00
Jack Nagel
56b041ca25 Extract history introspection from "versions" command 2014-05-28 16:23:33 -05:00
Jack Nagel
17a27d3464 versions: remove --compact option 2014-05-28 14:03:06 -05:00
Jack Nagel
c49e23e77a versions: don't recreate the relative path on each iteration 2014-05-28 14:02:06 -05:00
Jack Nagel
22e3e6c1e6 versions: use path attribute instead of reconstructing it 2014-05-28 14:01:13 -05:00
Jack Nagel
ecc01317b8 versions: drop redundant pathname creation 2014-05-28 14:00:26 -05:00
Jack Nagel
985eadbe69 Fix brew-versions for taps with a Formula directory 2014-05-28 12:53:11 -05:00
Jack Nagel
33cdff99ba Make some constant strings into actual constants
We only need one copy of each of these strings, not ~7500.
2014-05-27 21:16:15 -05:00
Adam Vandenberg
8d44db6b40 pluralize formulae in tap/untap
Closes Homebrew/homebrew#28560.
2014-05-26 18:33:31 -07:00
Jack Nagel
ff12b0e361 Skip over "mirror" lines when inserting bottle block 2014-05-23 20:42:36 -05:00
Adam Vandenberg
a9a5c53d75 fix permisions on tests 2014-05-21 16:56:10 -07:00
Adam Vandenberg
c6f1ccc215 make tests an internal command 2014-05-21 08:27:13 -07:00
Jack Nagel
b2b74260db Remove obsolete text 2014-05-20 23:23:41 -05:00
Jack Nagel
6278ffdba0 Remove ENV variable that is no longer used 2014-05-20 23:22:24 -05:00
Jack Nagel
fe597c00df Don't fetch the value just to throw it away 2014-05-20 23:18:18 -05:00
Jack Nagel
2d049ae05b Stop using superenv? method to dump ENV 2014-05-20 23:16:52 -05:00
Jack Nagel
ad7adcee97 Remove dead code 2014-05-20 19:12:06 -05:00
Jack Nagel
c5bcd99eb4 Re-enable Xcode-only support on 10.9
Closes Homebrew/homebrew#29377.
2014-05-19 14:41:03 -05:00
Jack Nagel
f6fda5651b Remove deprecated --use-{gcc,llvm,clang}
Closes Homebrew/homebrew#29380.
2014-05-19 10:37:45 -05:00
Jack Nagel
4676045bdd Less snark 2014-05-18 17:43:07 -05:00
Adam Vandenberg
48a7981c78 always use a top-level array for info JSON
Closes Homebrew/homebrew#29318.
2014-05-18 15:33:43 -07:00
Adam Vandenberg
2cb923649c only clean logs if logs exist
Closes Homebrew/homebrew#29355.
2014-05-17 16:59:14 -07:00
Jack Nagel
fbf1c189a7 Move brew-unpack to core 2014-05-17 17:12:40 -05:00
Adam Vandenberg
d9ed121c46 add --installed to json info
Closes Homebrew/homebrew#29315.
2014-05-16 09:03:12 -07:00
Jack Nagel
d6483c963a cleanup: prune old build logs
Closes Homebrew/homebrew#29231.
2014-05-14 14:36:34 -05:00
Tsukasa OMOTO
d1f15e967b Taps: cleanup regexps around Taps
Closes Homebrew/homebrew#29139.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2014-05-14 11:12:51 -05:00
Jack Nagel
1845b39d41 Separate Xcode and CLT doctor checks by OS X version
Closes Homebrew/homebrew#29206.
2014-05-12 18:59:52 -05:00
Masaki Muranaka
176e5ab72c Add an option "--root_url=" to bottle command.
Closes Homebrew/homebrew#29081.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2014-05-11 15:33:14 -07:00
Mike McQuaid
d90d3651b7 bottle: include revision in commit message. 2014-05-08 14:41:52 +01:00
tduehr
c101919a2e Add brew deps --union
The default behavior of `brew deps foo bar` is to return the
intersection of the deps of foo and bar. This option returns the union.

Closes Homebrew/homebrew#27480.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2014-05-06 21:06:23 -05:00
Jack Nagel
9f42b6b9c7 Drop emacs dep audit
cf. Homebrew/homebrew#24802.
2014-05-04 22:45:57 -05:00
Jack Nagel
d8c15c8fbf The \w character class already includes underscore
Newer versions of Ruby issue a warning for repeated character classes.
2014-05-03 15:03:22 -05:00