aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test
AgeCommit message (Collapse)Author
2017-05-19Merge pull request #2638 from reitermarkus/matchersMarkus Reiter
Use scoped RSpec matchers.
2017-05-19Merge pull request #2623 from rednoah/masterMarkus Reiter
Support GPG (signed data) container in Homebrew Cask
2017-05-18Merge pull request #2537 from reitermarkus/pathname-to_strMarkus Reiter
Remove `to_s` from some `Pathname`s.
2017-05-15Use scoped RSpec matchers.Markus Reiter
2017-05-15Merge pull request #2631 from GauthamGoli/audit_homepage_rubocop1.2.1Mike McQuaid
audit: Port audit_homepage method to rubocop and add tests
2017-05-15Merge pull request #2628 from GauthamGoli/formula_desc_cop_fixMike McQuaid
audit: Detect multiline and interpolated strings in formula desc cop
2017-05-14Port audit_homepage method to rubocop and add testsGautham Goli
2017-05-14Merge pull request #2620 from MikeMcQuaid/more-env-filtering-tweaksMike McQuaid
More environment filtering tweaks
2017-05-13Update string_content method to support multiline strings, add test for sameGautham Goli
2017-05-13More environment filtering tweaksMike McQuaid
- only document HOMEBREW_* variables in the manpage (although still read from all the original environment variables). - resort manpage environment variables in alphabetical order - check the original path for trailing slashes
2017-05-13Add autocorrect method for ComponentsOrder rubocop and testsGautham Goli
2017-05-11Support GPG (signed data) container in Homebrew Cask (test case)Reinhard Pointner
2017-05-10diagnostic_spec.rb: check_access_lock_dir testmansimarkaur
Added assertion to check `HOMEBREW_LOCK_DIR.stat.mode` changes after `HOMEBREW_LOCK_DIR.chmod 0555`
2017-05-08Remove `to_s` from some `Pathname`s.Markus Reiter
2017-05-08Travis CI tweaks.Mike McQuaid
Attempt to improve Travis CI. This time without any vendoring gems nonsense.
2017-05-07Revert "Merge pull request #2597 from MikeMcQuaid/vendor-gems"Mike McQuaid
This reverts commit 3e4547f52e7ebec633f8bfefc8a396d944edf908, reversing changes made to 6edf9382bcc1240ad6f97c8b752cfe56cef9965d.
2017-05-07Revert "Merge pull request #2603 from MikeMcQuaid/tweak-gem-vendoring"Mike McQuaid
This reverts commit 2372872974d1049c2beafe7dedb7f8f882502058, reversing changes made to 3e4547f52e7ebec633f8bfefc8a396d944edf908.
2017-05-07Tweak Gem vendoring.Mike McQuaid
If people have `HOMEBREW_RUBY_PATH` set then things explode in a rather confusing fashion. Instead, run `bundle` for them with the arguments that they'd want. Also, move `macho` requires into the module itself; it's a pain having to do everything for Bundler before requiring `pathname` which is a core Ruby class.
2017-05-07Vendor all Homebrew's gems.Mike McQuaid
Homebrew's actually ended up using a fair few gems. While we want to avoid Bundler at runtime (and this PR still does that, in fact uses Bundler even less at runtime than it did before) writing our own version to use at build-time seems redundant.
2017-05-03Merge pull request #2531 from GauthamGoli/audit_cops_options_refactorMike McQuaid
audit: Allow skipping/selective running of cops and cops refactor
2017-05-03Merge pull request #2577 from DomT4/keg_only_style_tweaksMike McQuaid
caveats: tweak keg_only style
2017-05-03Add `--only-cops`,`--except-cops` options for brew style and simplify cop namesGautham Goli
2017-05-03Install etc/var files on postinstall.Mike McQuaid
Also, don't delete them after that. This means that `brew postinstall` becomes a way to easily reinstall configuration files for any formula without needing any changes to any bottles or requiring a reinstall.
2017-05-02audit_spec: add keg_only_style testsDominyk Tiller
2017-05-02Add `--only-cops`,`--except-cops` options for brew auditGautham Goli
Also refactor audit cops into two "departments" - FormulaAudit - FormulaAuditStrict
2017-04-30Add test and comment for `PATH#existing`.Markus Reiter
2017-04-30Add tests for `PATH#select` and `PATH#reject`.Markus Reiter
2017-04-30Rename `PATH#validate` to `PATH#existing`.Markus Reiter
2017-04-30Make `PATH` enumerable.Markus Reiter
2017-04-30Make sure duplicates are remove from `PATH`.Markus Reiter
2017-04-30Add `PATH` class.Markus Reiter
2017-04-28audit_spec: test go get banDominyk Tiller
2017-04-25formula_installer: improve install/upgrade messageMike McQuaid
If you `brew install` a formula that's already installed you get: Warning: ripgrep-0.5.1 already installed If you `brew install` an outdated formula that's installed you get: Error: ripgrep-0.5.1 already installed. To install this version, first `brew unlink ripgrep` Instead, suggest that the user should `brew upgrade` in this case. If the formula isn't outdated use the previous message.
2017-04-25Add test for `GitHub::search_code`.Markus Reiter
2017-04-25Add remote search to `brew cask search`.Markus Reiter
2017-04-25Add `GitHub::search_code` method.Markus Reiter
2017-04-24search: use single HTTP call for tap searches.Mike McQuaid
Use GitHub's code search API to search using the filename based on the search query. This means we only need a single HTTP call and no more multithreading madness. This also means we're able to search everything in the Homebrew and Caskroom organisation by default without having to maintain a list of things to search (and not) in here.
2017-04-24Remove puts_hash, require ppMike McQuaid
I wasn’t aware this existed when I created puts_hash so: may as well remove it.
2017-04-24Merge pull request #2465 from GauthamGoli/audit_components_port_rubocopMike McQuaid
audit: audit_components method to rubocops and tests
2017-04-24Merge pull request #2534 from MikeMcQuaid/which_editor_argsMike McQuaid
utils: make which_editor handle editor args.
2017-04-24Merge pull request #2490 from retokromer/patch-1Mike McQuaid
add date-based versioning
2017-04-24utils: make which_editor handle editor args.Mike McQuaid
Handle cases like e.g. `EDITOR="subl -w"`.
2017-04-23Fix audit version_scheme and revision checks.Mike McQuaid
Another attempt at fixing `brew audit` issues around detecting `revision` and `version_scheme` changes correctly. First done in #1754 and #2086 (reverted in #2099 and #2100). To ease future debugging a `ph` helper has been added to print a hash and a series of RSpec tests to verify that the `revision`, `version_scheme` and `version` formula version audits behave as expected. Fixes #1731.
2017-04-23Fix and remove various TODOs.Mike McQuaid
Fix those that can be done so without tearing Homebrew to pieces and remove the comments for those that can never be done.
2017-04-23Merge pull request #2524 from MikeMcQuaid/more-env-filtering-fixesMike McQuaid
Hide sensitive tokens from install/test/post.
2017-04-23Merge pull request #2362 from joshka/install-uninstall-messagesMarkus Reiter
Install uninstall messages
2017-04-22Merge pull request #2514 from reitermarkus/refactor-cask-metadataMarkus Reiter
Refactor cask metadata directory methods.
2017-04-22Merge pull request #2522 from MikeMcQuaid/more-deprecationsMike McQuaid
More deprecations.
2017-04-22Port audit_components method to rubocops and add corresponding testsGautham Goli
2017-04-22Merge pull request #2515 from MikeMcQuaid/travis-cache-bundlerMike McQuaid
travis.yml: cache Bundler output.