6354 Commits

Author SHA1 Message Date
Jack Nagel
480e3ec855 Make sure compatible gem versions are installed 2014-06-18 20:34:10 -05:00
Jack Nagel
66ffc46aba Use assert_silent 2014-06-18 20:34:10 -05:00
Jack Nagel
4b6abc7da2 Use assert_includes 2014-06-18 20:34:10 -05:00
Jack Nagel
58a75b0f71 Use assert_predicate 2014-06-18 20:34:09 -05:00
Jack Nagel
06305e6211 Switch to Minitest 2014-06-18 20:34:09 -05:00
Jack Nagel
89d74ec475 Move test helpers into Homebrew::TestCase 2014-06-18 20:32:51 -05:00
Jack Nagel
982e9239b8 Use a custom test class so we can avoid monkeypatching 2014-06-18 20:32:51 -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
fb7ce8c484 Fix a typo 2014-06-18 19:22:45 -05:00
Jack Nagel
ac36e6881f Undocument brew versions 2014-06-18 11:10:01 -05:00
Marc Sowen
ce78b11710 Modified tap regex to support formulas with a +-sign, e.g. gtk+.rb
Fixes Homebrew/homebrew#30204.
Closes Homebrew/homebrew#30217.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2014-06-17 22:47:58 -05:00
Jack Nagel
53afdae10e Use Pathname#subdirs 2014-06-17 22:12:46 -05:00
Jack Nagel
c73baa39cb Add explicit mkpath to Pathname#write_env_script 2014-06-17 21:51:45 -05:00
Jack Nagel
5cbc5437f5 Add explicit mkpath to Pathname#write_jar_script 2014-06-17 21:51:45 -05:00
Jack Nagel
d96f15e324 Add explicit mkpath to Pathname#write_exec_script 2014-06-17 21:51:45 -05:00
Jack Nagel
b2c42fc63c Make signature of Pathname#write compatible with Ruby 2.1+ 2014-06-17 12:14:51 -05:00
Mike McQuaid
40f552f891 connect: redact formula, move to boneyard.
Closes Homebrew/homebrew#30028.
2014-06-17 08:06:28 +01:00
Jack Nagel
9b4bb3d9e4 Fix retry condition when auto-tapping deps
Fixes Homebrew/homebrew#30212.
2014-06-17 00:06:10 -05:00
Adam Vandenberg
ff047a88a5 Move aplus to the boneyard
Does not compile with modern compilers and has not been updated
since 2008.

Closes Homebrew/homebrew#30040.
2014-06-16 20:27:36 -07: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
9d030f8397 Combine conditionals 2014-06-16 16:58:13 -05:00
Jack Nagel
be1822dd72 Place alias adjacent to aliased method 2014-06-16 16:40:09 -05:00
Jack Nagel
ff2d8fece3 Remove unused method alias
Unlike CompilerFailure, the interface of Compiler is entirely internal,
so we don't need to maintain compatibility with anything.
2014-06-16 16:39:07 -05:00
Jack Nagel
344f77e179 Don't load unused compat files for tests 2014-06-16 14:32:24 -05:00
Jack Nagel
3b3c03159a Remove compat/brewkit
Formulae from the "brewkit" era are no longer compatible with the
Formula class.

This file was (unintentionally) removed from the $LOAD_PATH quite
a while ago, and nobody has complained, so remove it.
2014-06-16 13:58:54 -05:00
Jack Nagel
86942aeaee Remove an internal method from compat 2014-06-16 13:53:30 -05:00
Jack Nagel
f3817b58ee install: move requires to top of file 2014-06-16 13:36:17 -05:00
Jack Nagel
e91f359a56 Remove an unnecessary use of ARGV.build_head? 2014-06-15 23:31:58 -05:00
Jack Nagel
5c24876d02 Fix audit suggestion 2014-06-15 23:28:06 -05:00
Jack Nagel
89ba5b2b0a brew-test-bot: fix FormulaUnavailableError handling 2014-06-15 20:23:21 -05:00
Jack Nagel
a57e49db39 brew-test-bot: use path-limited diff 2014-06-15 20:23:21 -05:00
Jack Nagel
4e29bab683 brew-test-bot: make git commands shell-safe 2014-06-15 20:23:20 -05:00
Jack Nagel
299b272c6c brew-test-bot: make test commands shell-safe 2014-06-15 20:23:20 -05:00
Jack Nagel
6e1450e974 Handle illegal constant names when fetching remote formulae 2014-06-15 20:23:20 -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
d487c3d978 brew-test-bot: remove dead code 2014-06-14 21:46:26 -05:00
Jack Nagel
c8fd1214bd Revert "Only do formula class sanity checks once"
This reverts commit ace78b1f3a59a893c7068e485555acf792470080.

Fixes Homebrew/homebrew#30154.
2014-06-14 16:04:38 -05:00
Ben Hale
014ac21193 Remove cloudfoundry-cli
This change removes the cloudfoundry-cli formula from the repository.
It will now be available from pivotal/tap tap.

Closes Homebrew/homebrew#30105.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2014-06-14 09:35:17 -05:00
Jack Nagel
03488424cb Handle non-ASCII output encoded as ASCII
Some tool involved in `brew install node` is emitting UTF-8 even though
LANG and LC_ALL are unset. Since the external encoding is US-ASCII, we
need to guard against bad data here.
2014-06-14 00:07:24 -05:00
Jack Nagel
4b07dbbf78 Only define intel family test on intel CPU 2014-06-13 16:32:26 -05:00
Jack Nagel
1b9aed4025 Always pass path to formula constructor 2014-06-12 23:14:01 -05:00
Jack Nagel
d3ad1212fb Make compiler objects directly 2014-06-12 23:13:17 -05:00
Jack Nagel
718b6f8b0c No need to send, just call the method 2014-06-12 21:47:36 -05:00
Jack Nagel
4c0d2c2bfb Handle failures in temporary_install better 2014-06-12 21:33:55 -05:00
Jack Nagel
1beefdb5d0 Remove repeated test code 2014-06-12 21:31:51 -05:00
Jack Nagel
e9cf30eb2c Support older Minitest constant 2014-06-12 21:28:00 -05:00
Jack Nagel
3f3ba8462e Always expand __FILE__ 2014-06-12 18:14:48 -05:00
Jack Nagel
8c2db70cf8 Always pass a path to formula constructor in tests 2014-06-12 17:58:12 -05:00