aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
AgeCommit message (Collapse)Author
2014-06-12Linuxbrew: Use xdg-openShaun Jackman
Closes #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 #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 #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 #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 #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
2014-06-08Work around encoding issue in Pathname#inspect on Ruby 2.0Jack Nagel
Pathname#inspect on Ruby 2.0 throws away the encoding of the object's underlying string and returns a string tagged as ASCII-8BIT. If you simply write puts Pathname.new("some string with non-ascii bytes").inspect no error will be raised, because the implementation of Pathname#inspect does not call into Object#inspect. However, if you wrap that pathname object in an array first, then puts [Pathname.new("some string with non-ascii bytes")].inspect will raise Encoding::CompatibilityError: "inspected result must be ASCII only or use the same encoding with default external". Raising an error in this codepath is new in Ruby 2.0, and this specific bug is fixed in Ruby 2.1. I've opened a bug upstream: https://bugs.ruby-lang.org/issues/9915 Fixes #29947.
2014-06-07metafiles: simplify #copy? furtherJack Nagel
2014-06-07Simplify Pathname#install_metafilesJack Nagel
2014-06-07Eliminate FORMULA_META_FILES constantJack Nagel
2014-06-07metafiles: combine #should_copy? and #include?Jack Nagel
2014-06-07metafiles: remove unused methodJack Nagel
2014-06-07metafiles: extract constant arraysJack Nagel
2014-06-07metafiles: reduce pathname conversions in #include?Jack Nagel
2014-06-07Update build error config dump for Ruby 2.0Jack Nagel
2014-06-07gromacs: move to homebrew-scienceGeoffrey Oxberry
Closes #29880. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-06-07cantera: move to homebrew-scienceGeoffrey Oxberry
2014-06-07sundials: move to homebrew-scienceGeoffrey Oxberry
2014-06-06Linuxbrew: Read CPU flags from /proc/cpuinfoShaun Jackman
Closes #29895. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>