aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test/test_software_spec.rb
AgeCommit message (Collapse)Author
2014-04-01Stop jumping through hoops to get at the collector objectJack Nagel
2014-03-18Set bottle download strategy directlyJack Nagel
We know what strategy we want, so going through DownloadStrategyDetector is wasted work. Now we can remove those patterns from the detector and have two fewer branches each time through.
2014-03-13New patch implementation and DSLJack Nagel
This commit introduces a new patch implementation that supports checksums and caching. Patches are declared in blocks: patch do url ... sha1 ... end A strip level of -p1 is assumed. It can be overridden using a symbol argument: patch :p0 do url ... sha1 ... end Patches can be declared in stable, devel, and head blocks. This form is preferred over using conditionals. stable do # ... patch do url ... sha1 ... end end Embedded (__END__) patches are declared like so: patch :DATA patch :p0, :DATA Patches can also be embedded by passing a string. This makes it possible to provide multiple embedded patches while making only some of them conditional. patch :p0, "..."
2014-03-10Make bottle implementation more genericJack Nagel
2014-02-27Set owner ivar in SoftwareSpecJack Nagel
2013-12-05Use BottleCollector in Bottle SoftwareSpecMisty De Meo
2013-11-26Add test for 5c1ee9c1aeee00e512919f37d3fa66fcf637e070Jack Nagel
2013-09-23Set owner of resources to SoftwareSpec objectJack Nagel
2013-09-21Move dependencies to SoftwareSpecJack Nagel
2013-09-21Move options to SoftwareSpecJack Nagel
2013-09-17Make spec-scoped resources override top-level resourcesJack Nagel
2013-09-17SoftwareSpec tests are now Resource testsJack Nagel
2013-09-14Move SoftwareSpec to a separate fileJack Nagel
2013-06-28Reject versions that aren't stringsJack Nagel
2013-06-28Detect versions in tag specsJack Nagel
Closes Homebrew/homebrew#18300. Closes Homebrew/homebrew#20891.
2013-06-01Require hardware where it is neededJack Nagel
2013-04-13Remove obsolete testsJack Nagel
This behavior is now tested at more appropriate levels in test_software_spec, test_formula_spec_selection, and test_formula_validation.
2013-04-08Tests for SoftwareSpec and subclassesJack Nagel