1701 Commits

Author SHA1 Message Date
Mike McQuaid
9c5943d97a bottle: use revision to find bottle block too. 2014-07-03 22:33:20 +01:00
Jack Nagel
330e18bb17 Use predicate methods instead of inspecting the tags array 2014-07-01 21:57:30 -05:00
Jack Nagel
804872fc94 Use sort_by in missing deps doctor check 2014-07-01 20:11:55 -05:00
Jack Nagel
6a1ad36fbd Use sort_by in PrettyListing 2014-07-01 13:33:49 -05:00
Jack Nagel
4c05d411f3 Add a method for getting the repo HEAD 2014-06-30 19:18:28 -05:00
Jack Nagel
7cd31377a4 Convert update report to use composition 2014-06-27 21:58:15 -05:00
Jack Nagel
346fa5098f Simplify valid_formula_location? method 2014-06-27 21:58:15 -05:00
Jack Nagel
85b6953816 Pass strings, not keg objects, to exec 2014-06-26 14:15:58 -05:00
Jack Nagel
51326e0b63 Extend with a module instead of aliasing on the singleton class 2014-06-25 11:19:00 -05:00
Mike McQuaid
49658cd46b brew-versions: move to Contributions.
Eventually we'll move Contributions to a tap too.

Closes Homebrew/homebrew#30298.
2014-06-25 09:35:37 +01:00
Jack Nagel
3d69e5ab7b Rename Keg#fname to Keg#name 2014-06-24 19:09:09 -05:00
Jack Nagel
def6b1eaf7 Use Keg#uninstall to clean up kegs 2014-06-24 09:56:37 -05:00
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