Commit Graph
12 Commits
Author SHA1 Message Date
Jack Nagel 1f7e3e7ec8 Remove redundant return 2013-02-15 00:36:03 -06:00
Jack Nagel a19b7d5793 Make this more idiomatic 2013-02-15 00:35:52 -06:00
Max Howell 8c87b475a9 Record HEAD SHA and date of installs in receipt 2012-08-29 12:41:33 -04:00
Max Howell e51c59144c Improve libiconv diagnostic and suggestion
This is coming up a lot at the moment, so here is an attempt to be more helpful.
2012-08-14 11:46:18 -04:00
Adam Vandenberg 9659468ed3 inreplace: also warn on plain gsub! usage 2012-02-25 22:41:20 -06:00
Jack Nagel dbde261512 inreplace: warn if no substitutions were made
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-02-25 22:37:29 -06:00
Trevor Wennblom ee089053b3 Coerce flags to an array in remove_make_var!
This is needed for Ruby 1.9.x compatibility, but we still don't support
running Homebrew with anything other than a system provided 1.8.[67].

Fixes #6546

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-07-27 17:38:26 -07:00
Adam Vandenberg 75760b24e7 back-port start_with? from 1.8.7
This allows its use in Leopard, which has Ruby 1.8.6.
2011-06-19 21:32:37 -07:00
Adam Vandenberg 65f840fb06 Move string extensions 2011-03-12 11:55:03 -08:00
Jamie Macey 030888b42f fix warnings: ambiguous first arg
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-10-30 14:47:44 -07:00
Michael Morgan 447fb2f640 extract undent test to test case
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-10-17 21:13:16 -07:00
Max Howell c4decd76fb String.undent for prettier HEREDOCs 2010-03-07 17:57:05 +00:00