aboutsummaryrefslogtreecommitdiffstats
path: root/Library
AgeCommit message (Collapse)Author
2015-01-06audit: improve ssl/tls detectionDominyk Tiller
I don’t know how maintainers are going to feel about this, to be honest. If it’s too clunky, perhaps we could externalise the entire two main blocks here and then require that file into the audit instead? Basically, I’m pushing changes here to better detect a wide-array of SSL/TLS available links that either have no auto-redirect in place or is a common linking error in formulae. I haven’t spotted any false positives yet, but obviously, feel free to try and break the changes and I’ll fix as necessary ;). IMO, this would allow us gradual updates without having to mass-update everything at once and stress the bot and inform users they have hundreds of updates pending when really it’s just style/basic changes. Closes Homebrew/homebrew#35551. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
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 Homebrew/homebrew#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 Homebrew/homebrew#35541.
2015-01-05rubocop.yml: tweak rules to match existing format.Mike McQuaid
Don't want to enforce more than we need to.
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 Homebrew/homebrew#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 Homebrew/homebrew#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 Homebrew/homebrew#35523.
2015-01-04audit: also run `brew style` on `--strict`.Mike McQuaid
Closes Homebrew/homebrew#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-04brew.rb: return exit code from internal commands.Mike McQuaid
2015-01-04Use more https in urls and updated some lost linksViktor Szakats
Closes Homebrew/homebrew#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 Homebrew/homebrew#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 Homebrew/homebrew#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 Homebrew/homebrew#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 Homebrew/homebrew#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 Homebrew/homebrew#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 Homebrew/homebrew#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 Homebrew/homebrew#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