1589 Commits

Author SHA1 Message Date
Jack Nagel
76e86891e4 Remove opt link in Keg#uninstall 2014-06-23 22:34:41 -05:00
Jack Nagel
de24d73172 Use Keg#uninstall to uninstall kegs 2014-06-23 22:34:41 -05:00
Jack Nagel
3dbcba0c03 Call original backtick using super 2014-06-23 18:50:55 -05:00
Jack Nagel
8d12684efe Pass repository path into the updater 2014-06-23 18:41:50 -05:00
Jack Nagel
4d9d01893e Move deprecated Formula class methods to compat
These have all been moved to Formulary.
2014-06-22 15:03:17 -05:00
Vladimír Kriška
70d0035d37 Show file contents instead of commits
Closes Homebrew/homebrew#30324.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2014-06-21 09:14:35 -07:00
Jack Nagel
f0e13ee97b Use multiple argument form of system 2014-06-20 18:37:24 -05:00
Mike McQuaid
1c176348ca doctor: add caveats to avoid scaring people.
Sporadically people ask to whitelist doctor warnings or file issues when
there's nothing actually wrong. Help reassure such people with a
friendly message.

Closes Homebrew/homebrew#30230.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-06-20 11:14:35 +01:00
Jack Nagel
4f8be5bb66 Remove obsolete doctor check
Both build environments remove MACOSX_DEPLOYMENT_TARGET by default.
2014-06-19 19:32:37 -05:00
Jack Nagel
d9c586e201 Remove unnecessary string evals from doctor 2014-06-19 19:32:37 -05:00
Jack Nagel
c4cdd2b7ac Use .each, not .all? to enumerate formulae 2014-06-19 19:15:40 -05:00
Jack Nagel
09e483c946 Fix typo 2014-06-19 19:15:40 -05:00
Jack Nagel
83b9043c8e Remove more unused requires 2014-06-19 19:15:35 -05:00
Jack Nagel
88aaa36bec Remove unused require 2014-06-19 17:55:04 -05:00
Jack Nagel
b87f9b37d6 Pull requires out of methods 2014-06-19 17:55:04 -05:00
Jack Nagel
21ffc89a8e Use rack accessor instead of building pathname manually 2014-06-19 13:27:19 -05:00
Jack Nagel
10a1952d2c Only "extend self" once on the Homebrew module 2014-06-19 13:10:36 -05:00
Jack Nagel
2afad083ee Stop hiding exceptions completely in brew test 2014-06-18 23:33:31 -05:00
Jack Nagel
2122620d71 Fix brew test when conflicting minitest gems are installed 2014-06-18 23:20:56 -05:00
Jack Nagel
55950bec59 bottle: cd to the repository before committing 2014-06-18 19:31:18 -05:00
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