aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
AgeCommit message (Collapse)Author
2015-01-06Stop caching the downloader on the resource instanceJack Nagel
2015-01-05Fix syntax errorJack Nagel
2015-01-05Always use exec_editor to exec the editorJack Nagel
2015-01-05Emit warning when no editor is setJack Nagel
Closes #34647.
2015-01-05utils: install_gem_setup_path! now checks PATH.Mike McQuaid
Check the executable is present to give a better error message if it isn't. Closes #35541.
2015-01-05Avoid shell quoting issues when extracting xz and lz archivesJack Nagel
2015-01-05Buffer 16K at a timeJack Nagel
2015-01-05style: explicitly point to config file.Mike McQuaid
Closes #35556.
2015-01-05audit (strict): only run `brew style` with Ruby 2.Mike McQuaid
2015-01-05install: fail on devel where devel doesn't existDominyk Tiller
Just equalises a little how we treat HEAD and devel. The former already fails if there isn’t a head defined, It seemed logical that devel should fail in the same way. Closes #35554. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2015-01-04Forward arguments in IRB formula helpersJack Nagel
2015-01-04Include selected spec in Formula#inspectJack Nagel
2015-01-04Remove unused assignmentJack Nagel
2015-01-04Make active_spec protectedJack Nagel
2015-01-04Decouple LocalBottleDownloadStrategy from CurlDownloadStrategyJack Nagel
2015-01-04Extract non-curl parts of CurlDownloadStrategy into a base classJack Nagel
2015-01-04Remove unused argumentJack Nagel
2015-01-04Doc most DSL methods as write-onlyJack Nagel
The public readers for these attributes are on the instance, not the class.
2015-01-04Fix markupJack Nagel
2015-01-04Top-level DSL methods only manipulate the stable specJack Nagel
2015-01-04Checkout outdatedness in `brew upgrade <formula>`Jack Nagel
Fixes #35523.
2015-01-04audit: also run `brew style` on `--strict`.Mike McQuaid
Closes #35465. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-01-04style: run Rubocop on formulae (new command)Mike McQuaid
2015-01-04tests.rb: use Homebrew.failed to send exit code.Mike McQuaid
2015-01-04Use more https in urls and updated some lost linksViktor Szakats
Closes #35531. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2015-01-04Explicitly pass formulae to outdated_brewsJack Nagel
2015-01-03Remove unnecessary encoding commentsJack Nagel
These files do not contain any non-ASCII characters.
2015-01-03Use more https links and some link updates along the wayViktor Szakats
Closes #35529. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2015-01-03Remove readline and zlib hacksJack Nagel
2015-01-03Load formulae into private namespaceJack Nagel
2015-01-03fixtures add test.icoXu Cheng
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2015-01-03brew irb --help replaced with --examplesBaptiste Fontaine
The --help flag is intercepted by brew.rb and prints the global usage string. `irb` is never called when `brew irb --help` is executed. Closes #35466. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2015-01-03Get rid of mixed operator stylesJack Nagel
2015-01-03replace fixture png to 8x8 in size and rgb scale colorXu Cheng
Closes #35456. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-01-02utils: always set PATH in install_gem_setup_path.Mike McQuaid
2015-01-02utils: tweak install_gem_setup_path to not warn.Mike McQuaid
If the `Gem.user_dir/bin` is not already in the PATH it'll complain unnecessarily (as we add it to the PATH ourselves) so just add it to the PATH before running the install.
2015-01-02Add Homebrew.install_gem_setup_path! function.Mike McQuaid
This uses the logic from tests.rb in man.rb too so that this can be shared in a few places.
2015-01-02audit: system check fixed for multiple argumentsBaptiste Fontaine
Closes #35459. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-01-02formula_versions: ignore another exception.Mike McQuaid
2015-01-02test-bot: do not --cleanup outside CI.Shaun Jackman
Closes #35424. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-01-02pull: fix tap URL regex for devel/head-only.Mike McQuaid
2015-01-01ID3 tags stripped from MP3 test fixtureBaptiste Fontaine
Closes #35427. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-01-01Avoid formula lookup when we know it will failJack Nagel
Formulary.loader_for cannot raise exceptions, as canonical_name must work for nonexistent formulae. However, we can skip the constant lookup and a redundant file existence check by returning a loader that raises immediately in #get_formula.
2015-01-01Get rid of StandardLoader classJack Nagel
2015-01-01minimal MP3 test file addedBaptiste Fontaine
Closes #35417. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-12-31Re-raise NameError when it doesn't match our constantJack Nagel
2014-12-31Check file existence instead of rescuing LoadErrorJack Nagel
2014-12-31Stop rescuing NameErrorJack Nagel
This clause originated in 4a36c56ac7b36904712aa472b9bd50ef1b0c80d3, attempting to catch NameErrors raised by const_defined? calls earlier in the method body. Those const_defined? calls have since been moved out of the body of the begin block. Stop rescuing NameError here, which will make true programming errors in formulae easier to debug.
2014-12-31Don't attempt to detect version if URL is not setJack Nagel
2014-12-31Handle newer ruby versions correctly in config outputJack Nagel
Since Ruby 2.1, patch releases take the form "2.x.y" rather than "2.x.y-pnum".