aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
AgeCommit message (Collapse)Author
2014-06-12Make compiler objects directlyJack Nagel
2014-06-12No need to send, just call the methodJack Nagel
2014-06-12Handle failures in temporary_install betterJack Nagel
2014-06-12Remove repeated test codeJack Nagel
2014-06-12Support older Minitest constantJack Nagel
2014-06-12Always expand __FILE__Jack Nagel
2014-06-12Always pass a path to formula constructor in testsJack Nagel
2014-06-12Move a test class that is only used once into the testJack Nagel
2014-06-12Remove an extra slash in file:// URLs in testsJack Nagel
2014-06-12Use example.com as domain in testsJack Nagel
2014-06-12Remove dummy methodJack Nagel
2014-06-12Prefer self.class.name to self.class.to_sJack Nagel
2014-06-12Remove a const_defined? checkJack Nagel
2014-06-12Linuxbrew: Use xdg-openShaun Jackman
Closes Homebrew/homebrew#29817. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2014-06-12Deprecate Pathname#cp and Pathname#chmod_RJack Nagel
As far as I can tell these methods have only ever been used in the test suite. Since Formula includes FileUtils, it is generally simpler (and in the case of cp, more readable) to use the FileUtils methods directly. Closes Homebrew/homebrew#30081.
2014-06-12Deprecate Pathname#/ with non-string/non-pathname argumentsJack Nagel
Ruby 2.2 will define Pathname#/ as a simple alias of Pathname#+. In practice, this means that it will raise a TypeError unless the argument responds to to_path or to_str. Currently we blindly convert the argument to a string using to_s, so deprecate this in the interest of matching the upstream behavior. In the future we can replace this with alias_method :/, :+ unless method_defined?(:/) Closes Homebrew/homebrew#30079.
2014-06-11Eliminate an uninitialized ivar warningJack Nagel
2014-06-11Decouple CompilerSelector from MacOS, clean up testsJack Nagel
2014-06-11Pass the version into the Compiler constructor, eliminate a type checkJack Nagel
2014-06-11Fix up some assertionsJack Nagel
2014-06-11Use assert_emptyJack Nagel
2014-06-11Use Digest#file if it's availableJack Nagel
2014-06-11Read df output in binary modeJack Nagel
Fixes Homebrew/homebrew#30046.
2014-06-10Remove unnecessary requireJack Nagel
2014-06-10Remove unnecessary codeJack Nagel
2014-06-10Rename TEST_FOLDER to TEST_DIRECTORYJack Nagel
2014-06-10Remove ABS__FILE constant from test environmentJack Nagel
2014-06-10Scope setup to the tests that need itJack Nagel
2014-06-10Add methods for building test file pathsJack Nagel
2014-06-10Trust the fixtures and stop asserting on file(1) outputJack Nagel
2014-06-10Pull common code into setup methodJack Nagel
2014-06-10Extract constant stringsJack Nagel
2014-06-10Pull mock initialization code into initializeJack Nagel
2014-06-10Move updater mock into test class namespaceJack Nagel
2014-06-10Use external interface in testsJack Nagel
2014-06-10Simplify test setupJack Nagel
2014-06-10Remove rcov rake taskJack Nagel
rcov is not compatible with Ruby 2.0.
2014-06-10Remove ruby-prof rake taskJack Nagel
The areas that we are interested in optimizing for performance are things that are invoked repeatedly, and are not evident in the test suite.
2014-06-10Stop caching Superenv.binJack Nagel
It is not a hotspot and causes an ordering dependency in the tests.
2014-06-10Remove default values from formula constructor parametersJack Nagel
Closes Homebrew/homebrew#30017.
2014-06-10"exit $?" raises TypeError on Ruby 2.0Jack Nagel
2014-06-09Fix visibility of FileUtils extension methodsJack Nagel
2014-06-09Stop exposing mktemp as a public method on formula objectsJack Nagel
2014-06-09Use RbConfig.ruby if it's availableJack Nagel
2014-06-09Only do formula class sanity checks onceJack Nagel
2014-06-09Fix warning under Ruby 2.2Jack Nagel
2014-06-09Stop joining symbols to pathnamesJack Nagel
Ruby 2.2's native Pathname#/ accepts only string-like objects.
2014-06-09Use opt shortcut methodsJack Nagel
2014-06-09Fix formula test helper parametersJack Nagel
2014-06-08Just access the ivar directlyJack Nagel