24630 Commits

Author SHA1 Message Date
Jack Nagel
c816ad70b6 Simplify tests 2013-04-07 20:59:52 -05:00
Jack Nagel
9013b3a0c9 Define RUBY_PATH for tests 2013-04-07 20:59:52 -05:00
Jack Nagel
34bcb10b54 test_patching: inline test classes 2013-04-07 20:59:51 -05:00
Jack Nagel
bafbd07c9e Isolate ARGV extension tests 2013-04-07 20:59:51 -05:00
Jack Nagel
a79b7d6e0f Delete pointless test 2013-04-07 20:59:51 -05:00
Jack Nagel
8cf0f34aa7 Download strategies require a usable name
We should handle this case in some predictable way, but until we do,
let's raise a more appropriate exception. It would also be good to get
rid of the duplication here.
2013-04-07 20:59:50 -05:00
Jack Nagel
2288f63197 Tests for AbstractDownloadStrategy 2013-04-07 20:59:50 -05:00
Jack Nagel
9db0e68eb6 Unify indentation of access modifiers
These are class method calls, not some special keyword, and should be
indented as such (also all standard Ruby indenters do this).
2013-04-07 20:59:49 -05:00
Jack Nagel
349cdab76f Tests for Checksum class 2013-04-07 20:59:49 -05:00
Misty De Meo
3882603ba8 MacCPUs: add .avx? helper 2013-04-07 12:47:56 -05:00
Jack Nagel
8bd619e03b audit: clean up some regexps 2013-04-06 22:12:21 -05:00
Jack Nagel
4a8653ba7d audit: check build-time deps programmatically 2013-04-06 22:11:02 -05:00
Jack Nagel
d6b5e4f2ed audit: rescue only FormulaUnavailableError 2013-04-06 22:10:43 -05:00
Jack Nagel
7f55a6089e audit: clean up URL audits 2013-04-06 22:10:33 -05:00
Jack Nagel
d4a8813e86 mxcl.github.com/homebrew => brew.sh 2013-04-06 15:51:03 -05:00
Jaime Marquínez Ferrándiz
254f3b2c3c brew audit: find *.github.com pages
And suggest changing them to *.github.io

Closes Homebrew/homebrew#19012.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-04-06 13:12:53 -07:00
Jack Nagel
89bb6664c4 Replace literal paths to ruby with RUBY_PATH 2013-04-06 13:10:12 -05:00
Mike McQuaid
64ef95e676 Add Kickstarter supporters file. 2013-04-06 17:32:47 +01:00
Jack Nagel
aa58a404ed Fix another handful of warnings 2013-04-06 00:14:03 -05:00
Jack Nagel
8234ac22e9 FormulaLock: fix uninitialized ivar 2013-04-05 22:07:11 -05:00
Jack Nagel
05a8c1913c FormulaInstaller: this local is an ivar now 2013-04-05 22:07:02 -05:00
Jack Nagel
6eac9679c0 FormulaInstaller: initialize @tab 2013-04-05 22:00:36 -05:00
Jack Nagel
e0d6ee863f Make some groups non-capturing 2013-04-05 22:00:36 -05:00
Jack Nagel
62a0b3f18d Use #grep where it will suffice 2013-04-05 22:00:36 -05:00
Jack Nagel
9f9608e6c5 Allow pipe fd to be inherited under Ruby 2.0 2013-04-05 17:42:53 -05:00
Jack Nagel
62d25f9c8b Remove obsolete comment about download_strategy
The canonical way to select a custom download strategy is to pass

  :using => StrategyClass

as an argument to the url DSL method.
2013-04-05 14:41:14 -05:00
Jack Nagel
dda22a3562 Rename checksums.rb to match class name 2013-04-04 12:34:24 -05:00
Jack Nagel
ae9060fc54 Remove circular require 2013-04-04 10:53:01 -05:00
Jack Nagel
df29049222 Recognize 7z files by magic bytes, not filename 2013-04-03 23:30:32 -05:00
Jack Nagel
12932a51b3 Don't error out when a package is already installed
Fixes Homebrew/homebrew#17010.
2013-04-03 18:27:28 -05:00
Jack Nagel
d25b4e40c1 brew-server: clean up 2013-04-03 18:15:12 -05:00
Jan-Henrik Bruhn
e8503e9354 brew-server: add Bootstrap styling
Closes Homebrew/homebrew#18041.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2013-04-03 17:59:25 -05:00
Adam Vandenberg
b1bc967f23 use separate args in brew create 2013-04-03 11:24:45 -07:00
Jack Nagel
36cc8ee361 Document brew deps --installed 2013-04-03 11:24:38 -05:00
Misty De Meo
22f2f6aed3 tap/untap: use Array#length, not #count
Array#count was apparently introduced in 1.8.7.
2013-04-02 16:28:46 -05:00
Jack Nagel
d13a39d1ac Fix missing require in x11_dependency.rb
Fixes Homebrew/homebrew#18918.
2013-04-02 16:18:56 -05:00
Jack Nagel
4ebafbf62f Suppress warnings in test_pathname_install 2013-04-02 15:47:25 -05:00
Jack Nagel
3bceaf8f5e Add test for differing module and import name 2013-04-02 15:41:51 -05:00
Jack Nagel
5b5361b92e Fix requires in test_x11_dependency.rb 2013-04-02 15:33:35 -05:00
Jack Nagel
b82ae7067d Shrink requirements.rb 2013-04-02 15:33:35 -05:00
Jack Nagel
c3d48b5d8a Don't use "assert_not_nil" 2013-04-02 15:33:34 -05:00
Jack Nagel
207f24be07 Split out and fix LanguageModuleDependency tests 2013-04-02 15:33:34 -05:00
Jack Nagel
34f3f76932 Simplify setting this ivar 2013-04-02 15:33:34 -05:00
Jack Nagel
e4c43b4f8c Fix chicken scheme imports 2013-04-02 15:33:34 -05:00
Jack Nagel
9dd6d74b44 Add new tests for fails_with DSL 2013-04-02 13:19:04 -05:00
Jack Nagel
2f49fd07b1 Isolate compiler selector tests 2013-04-02 13:19:04 -05:00
Jack Nagel
c679e557ba CompilerSelector: don't use non-existent compilers 2013-04-02 13:19:04 -05:00
Jack Nagel
c61c1fb813 Bump useable clang version to 318
Build 211 can build most things, but I've seen intermittent
miscompilation and slower code. Also it comes from Xcode 4.2, so most
people don't have it anyway. Let's use 218 as the minimum viable
version.
2013-04-02 13:19:04 -05:00
Jack Nagel
ee7178562f Move x86_64 Requirement into core
Closes Homebrew/homebrew#18886.
2013-04-02 13:17:24 -05:00
Jack Nagel
9f1e6af879 Use satisfy syntax for CLTDependency 2013-04-02 13:17:23 -05:00