2836 Commits

Author SHA1 Message Date
commitay
c2bf97bdee audit: use core_tap instead of official_tap 2018-10-12 09:12:12 +10:00
L. E. Segovia
70fc2af647
Cask: fix all homepages now that they are audited 2018-10-10 21:36:06 +00:00
dependabot[bot]
b666aa407f
Bump rspec-expectations from 3.8.1 to 3.8.2 in /Library/Homebrew/test
Bumps [rspec-expectations](https://github.com/rspec/rspec-expectations) from 3.8.1 to 3.8.2.
- [Release notes](https://github.com/rspec/rspec-expectations/releases)
- [Changelog](https://github.com/rspec/rspec-expectations/blob/master/Changelog.md)
- [Commits](https://github.com/rspec/rspec-expectations/compare/v3.8.1...v3.8.2)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-10-09 20:49:19 +00:00
Jan Viljanen
ce530fd0f5 move rspec pattern 2018-10-09 22:10:25 +02:00
Mike McQuaid
cf1c951e2f
Merge pull request #5063 from Homebrew/dependabot/bundler/Library/Homebrew/test/codecov-0.1.13
Bump codecov from 0.1.11 to 0.1.13 in /Library/Homebrew/test
2018-10-09 10:32:23 +01:00
commitay
5024efa506
Merge pull request #5059 from commitay/remove-checkpoint
remove appcast checkpoint audit
2018-10-09 15:21:24 +10:00
Jan Viljanen
aa6912425e rubocop: move rspec include to root config file
To avoid confusion and bugs in rubocop robucop-spec should be required
from the root config.
2018-10-08 20:08:38 +02:00
Markus Reiter
711bb4977f
Merge pull request #5056 from reitermarkus/accessibility_access
Remove the `accessibility_access` stanza.
2018-10-08 18:24:18 +02:00
Markus Reiter
7a951fe5a8
Merge pull request #5062 from Homebrew/dependabot/bundler/Library/Homebrew/test/rubocop-rspec-1.30.0
Bump rubocop-rspec from 1.29.1 to 1.30.0 in /Library/Homebrew/test
2018-10-08 15:16:49 +02:00
dependabot[bot]
ef5ddc6bfb
Bump codecov from 0.1.11 to 0.1.13 in /Library/Homebrew/test
Bumps [codecov](https://github.com/codecov/codecov-ruby) from 0.1.11 to 0.1.13.
- [Release notes](https://github.com/codecov/codecov-ruby/releases)
- [Changelog](https://github.com/codecov/codecov-ruby/blob/master/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-ruby/compare/v0.1.11...v0.1.13)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-10-08 12:43:11 +00:00
dependabot[bot]
11f0851622
Bump rubocop-rspec from 1.29.1 to 1.30.0 in /Library/Homebrew/test
Bumps [rubocop-rspec](https://github.com/rubocop-hq/rubocop-rspec) from 1.29.1 to 1.30.0.
- [Release notes](https://github.com/rubocop-hq/rubocop-rspec/releases)
- [Changelog](https://github.com/rubocop-hq/rubocop-rspec/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop-hq/rubocop-rspec/compare/v1.29.1...v1.30.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-10-08 06:48:33 +00:00
commitay
da7d46aa14 remove appcast checkpoint audit 2018-10-08 10:54:30 +10:00
Markus Reiter
16618d0fc7 Use ActiveSupport’s #pluralize and #to_sentence. 2018-10-07 23:10:56 +02:00
Markus Reiter
c4d418e126 Use ActiveSupport’s #second. 2018-10-07 23:10:56 +02:00
Markus Reiter
a9128c543c Use ActiveSupport’s #days. 2018-10-07 23:10:56 +02:00
Markus Reiter
b7cf925da8 Remove unused methods in Staged module. 2018-10-07 22:00:07 +02:00
Markus Reiter
59e3a532ff Remove the accessibility_access stanza. 2018-10-07 21:53:31 +02:00
dependabot[bot]
cc7bf45d37
Bump codecov from 0.1.10 to 0.1.11 in /Library/Homebrew/test
Bumps [codecov](https://github.com/codecov/codecov-ruby) from 0.1.10 to 0.1.11.
- [Release notes](https://github.com/codecov/codecov-ruby/releases)
- [Changelog](https://github.com/codecov/codecov-ruby/blob/master/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-ruby/compare/v0.1.10...v0.1.11)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-10-05 16:57:31 +00:00
Mike McQuaid
3cba4737a8
Merge pull request #5028 from MikeMcQuaid/setup_remote_tap_symlink
setup_remote_tap: use system taps.
2018-10-03 19:45:52 +01:00
Mike McQuaid
ac2aabf287
setup_remote_tap: use system taps.
This saves recloning the taps we use multiple times when already done by
the user.
2018-10-03 19:14:04 +01:00
Gautham Goli
b5b988cbb1
help_spec: fix and generate help text in help.rb 2018-10-03 21:12:44 +05:30
Markus Reiter
2308f0c571 Skip quitting applications when not logged into GUI. 2018-10-02 16:27:45 +02:00
Mike McQuaid
1f53099020
Merge pull request #4991 from javian/moverubocopoption
rubocop: move requirement to configuration file
2018-10-01 14:19:11 +01:00
Markus Reiter
bec5272c77
Merge pull request #5000 from reitermarkus/7z
Don’t treat `.7z` as part of a version.
2018-10-01 10:25:41 +02:00
Shaun Jackman
47fdc3dfc9 test/compiler_selector: :gcc was renamed to :gcc_4_2 2018-09-30 11:20:35 -07:00
Jan Viljanen
e5b3b7e326 further updates 2018-09-30 15:35:49 +02:00
Markus Reiter
c430baaee8 Don’t treat .7z as part of a version. 2018-09-29 10:32:18 +02:00
Mike McQuaid
bb177b3055
Merge pull request #4970 from MikeMcQuaid/keg-more-dirs-cleanup
keg: further tweak directory constants.
2018-09-26 09:14:57 +01:00
Mike McQuaid
9a698d2130
keg: further tweak directory constants.
- ensure that `HOMEBREW_CELLAR` is always created on `install`.
- remove the need for a special `PRUNEABLE_DIRECTORIES` variable
- reuse values from existing variables and get `uniq`s.
2018-09-25 22:03:29 +01:00
Mike McQuaid
8b5f64881c
cache_store: use JSON.
After all our recent troubles with DBM I figured I'd benchmark the
performance of DBM vs. JSON. At read time (what we care more about) the
performance is pretty much identical and JSON is only 1.5x slower at
write time. This seems worth it for the reliability increases to avoid
messing with unreliable native code.
2018-09-25 21:07:01 +01:00
Jonathan Chang
3ce4caeb1a Add tests for language/python 2018-09-24 17:13:51 -04:00
Mike McQuaid
f99f1b611f
cache_store_spec: fix bad rebase.
https://github.com/Homebrew/brew/pull/4948#discussion_r219276137
2018-09-21 14:36:38 +01:00
Mike McQuaid
359fb27cfe
Manually fix RuboCop RSpec autofix failures. 2018-09-20 13:40:38 +01:00
Mike McQuaid
78eba5b815
Autofix RuboCop RSpec failures 2018-09-20 13:36:42 +01:00
Mike McQuaid
da404fcb4e
Install and use RuboCop RSpec by default. 2018-09-20 13:36:41 +01:00
Mike McQuaid
a11fe57cd2
cache_store: handle corrupt DBM database.
When the DBM database cannot be read by the current version of Ruby's
DBM library (due to corruption or another incompatibility) it segfaults
or freezes which takes down the entire Homebrew Ruby process.

This isn't desirable so instead perform a shell out with the Homebrew
Ruby to see if it can read the DBM database before we try to use the
information. If this hangs or crashes: silently delete the database and
recreate it.
2018-09-20 10:57:27 +01:00
Markus Reiter
e5aaf36f7d Add spec for FormulaInstaller#audit_installed. 2018-09-19 20:07:15 +02:00
Markus Reiter
7a991985a4 Run tests with HOMEBREW_DEVELOPER unset. 2018-09-19 19:43:45 +02:00
Mike McQuaid
59c858a8e8
Cleanup Travis and CI configuration.
Use the environment variables set by `brew test-bot`. Eventually we'll
disable Travis CI running CodeCov so move `TRAVIS` references to
`HOMEBREW_TRAVIS_CI` so it doesn't need whitelisted.

Also, fix `azure-pipelines.yml` so it's testing the correct version of
Homebrew/brew (the one checked out in the `pwd`).
2018-09-19 15:01:33 +01:00
Markus Reiter
91b0794329 Add SystemCommand::Result#merged_output. 2018-09-19 04:02:59 +02:00
Markus Reiter
f1a2fa5601
Merge pull request #4935 from reitermarkus/gemfile
Update `Gemfile.lock`.
2018-09-19 03:58:20 +02:00
Markus Reiter
9b667af552
Merge pull request #4915 from alexbostock/code-coverage
Improve code coverage
2018-09-19 03:46:59 +02:00
Markus Reiter
846fa45c03 Update Gemfile.lock. 2018-09-19 03:35:11 +02:00
commitay
02219f91d1
Merge pull request #4862 from commitay/dependency-order
make dependency_order_cop a regular audit
2018-09-19 07:51:42 +10:00
Mike McQuaid
49273c1997
test/Gemfile: add ronn.
This now gets installed into the same place with or without a Bundler
installation but this saves an extra install for `brew test-bot` or
people running `brew man` after `brew tests`.
2018-09-18 21:23:43 +01:00
Mike McQuaid
ead23d1f4c
Use ActiveSupport File.atomic_write
nd delete our own implementation.
2018-09-18 09:20:40 +01:00
alexbostock
188aca1075 Remove blank line 2018-09-17 21:13:19 +01:00
alexbostock
122738709a Add a_json_string matcher and improve tests 2018-09-17 20:49:43 +01:00
alexbostock
e733657f04 Separate and improve tests 2018-09-17 09:50:02 +01:00
Markus Reiter
e9b9ea49a1 Update to RuboCop 0.59.1. 2018-09-17 03:45:59 +02:00