| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2016-11-16 | Reorder and rename test files. | Markus Reiter | |
| 2016-09-27 | Rename/merge test files. | Markus Reiter | |
| 2015-08-03 | Core files style updates. | BrewTestBot | |
| Closes Homebrew/homebrew#42354. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com> | |||
| 2015-07-25 | more unit tests | Baptiste Fontaine | |
| Closes Homebrew/homebrew#42096. Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr> | |||
| 2014-12-02 | Fix duplicated test methods | Jack Nagel | |
| 2014-10-19 | Add deprecated_option to software_spec. | Mike McQuaid | |
| Allows remapping one option name to another and updates build options and flags accordingly. | |||
| 2014-10-19 | Add DeprecatedOption class. | Mike McQuaid | |
| Used to capture options that are being renamed. | |||
| 2014-08-29 | Options internals no longer need to support switches | Jack Nagel | |
| 2014-08-29 | Move handling of leading dashes to Options.create | Jack Nagel | |
| 2014-08-27 | Remove to_str from Option | Jack Nagel | |
| We no longer need implicit conversion of options to strings. | |||
| 2014-08-20 | Options no longer needs deep-copy semantics | Jack Nagel | |
| Follow-up to 23d90a6a187a57fbdf4eeac146993e3b37c3d4d9. | |||
| 2014-08-13 | Remove Options#concat | Jack Nagel | |
| 2014-08-13 | Drop unnecessary parens in tests | Jack Nagel | |
| 2014-08-13 | Drop unnecessary to_a calls in options tests | Jack Nagel | |
| 2014-08-13 | Replace Options.coerce with an alternate constructor | Jack Nagel | |
| 2014-08-13 | Remove unused branches from Options.coerce | Jack Nagel | |
| 2014-08-13 | Revert "Remove unused branches from Options.coerce" | Mike McQuaid | |
| This reverts commit cee42c339e7632eab15111e2c4e6c121ace6f9e2. | |||
| 2014-08-13 | Revert "Replace Options.coerce with an alternate constructor" | Mike McQuaid | |
| This reverts commit 8d2ef974a3a87bf4207f71ccb8a7b4776e16a016. | |||
| 2014-08-13 | Revert "Drop unnecessary to_a calls in options tests" | Mike McQuaid | |
| This reverts commit 6f29c36aed9d951499146054a4caca702fa33d1a. | |||
| 2014-08-13 | Drop unnecessary to_a calls in options tests | Jack Nagel | |
| 2014-08-12 | Replace Options.coerce with an alternate constructor | Jack Nagel | |
| 2014-08-12 | Remove unused branches from Options.coerce | Jack Nagel | |
| 2014-07-03 | Option does not need to be Comparable | Jack Nagel | |
| 2014-07-03 | Add assert_eql to provide better failure messages for eql? tests | Jack Nagel | |
| 2014-06-18 | Use assert_includes | Jack Nagel | |
| 2014-06-18 | Switch to Minitest | Jack Nagel | |
| 2014-06-18 | Use a custom test class so we can avoid monkeypatching | Jack Nagel | |
| 2014-06-11 | Fix up some assertions | Jack Nagel | |
| 2014-02-27 | Add set union to Options | Jack Nagel | |
| 2013-08-22 | Options: ensure copies do not share the underlying collection | Jack Nagel | |
| 2013-08-22 | Demonstrate the Set-like nature of Options collections | Jack Nagel | |
| Options collections are backed by Sets, and thus trying to push a new option with a name that duplicates an existing option cannot succeed. Later, we can exploit this behavior and remove some conditionals. | |||
| 2013-06-22 | Use OkJson directly | Jack Nagel | |
| 2013-01-30 | Fix passing multiple switches as a single word to the build | Jack Nagel | |
| Fixes Homebrew/homebrew#17434. | |||
| 2013-01-26 | FormulaInstaller: construct new ARGV from an Options collection | Jack Nagel | |
| The array of options that is passed to the spawned build process is a combination of the current ARGV, options passed in by a dependent formula, and an existing install receipt. The objects that are interacting here each expect the resulting collection to have certain properties, and the expectations are not consistent. Clear up this confusing mess by only dealing with Options collections. This keeps our representation of options uniform across the codebase. We can remove BuildOptions dependency on HomebrewArgvExtension, which allows us to pass any Array-like collection to Tab.create. The only other site inside of FormulaInstaller that uses the array is the #exec call, and there it is splatted and thus we can substitute our Options collection there as well. | |||
| 2013-01-26 | Refactor option handling internals | Jack Nagel | |
| Currently we handle options in several ways, and it is hard to remember what code needs an option string ("--foo"), what needs only the name ("foo") and what needs an Option object. Now that Option objects can act as strings and be converted to JSON, we can start using them instead of passing around strings between Formula objects, Tab objects, and ARGV-style arrays. The Options class is a special collection that can be queried for the inclusion of options in any form: '--foo', 'foo', or Option.new("foo"). | |||
