10755 Commits

Author SHA1 Message Date
Markus Reiter
246bb1a3b1 Merge pull request #1050 from reitermarkus/rubocop
RuboCop changes.
2016-09-23 17:17:49 +02:00
Markus Reiter
fe2d51e0b9 Fix Style/IfUnlessModifier. 2016-09-23 15:30:07 +02:00
Markus Reiter
a5b11a6a5c Fix Style/GuardClause. 2016-09-23 15:30:07 +02:00
Markus Reiter
6d3de5cf60 Temporarily disable Style/TernaryParentheses. 2016-09-23 15:30:07 +02:00
Markus Reiter
b5f8de8bf4 Fix Style/RegexpLiteral. 2016-09-23 15:30:07 +02:00
Markus Reiter
4861ee6c2d Fix Style/Semicolon. 2016-09-23 15:30:07 +02:00
Markus Reiter
0406f918a6 Fix Style/SingleLineBlockParams. 2016-09-23 15:30:07 +02:00
Markus Reiter
d7a312f6cf Fix Style/IdenticalConditionalBranches. 2016-09-23 15:30:06 +02:00
Markus Reiter
ce6994b001 RuboCop has to be run inside HOMEBREW_LIBRARY. 2016-09-23 15:30:06 +02:00
Markus Reiter
21e0a7efb9 Update rubocop dependency to 0.43.0. 2016-09-23 15:30:06 +02:00
Markus Reiter
4be3aff253 Fix Lint/NonLocalExitFromIterator. 2016-09-23 15:30:06 +02:00
Markus Reiter
0b473ebba9 Fix Style/PredicateName. 2016-09-23 15:30:06 +02:00
Markus Reiter
9ce3c8d8a4 Fix Style/NumericLiterals. 2016-09-23 15:30:06 +02:00
Markus Reiter
23dacc7525 Fix Style/Next. 2016-09-23 15:30:06 +02:00
Markus Reiter
4064084c58 Fix Style/MethodName. 2016-09-23 15:30:06 +02:00
Markus Reiter
1c632f9c1e Fix Style/CaseIndentation. 2016-09-23 15:30:06 +02:00
Markus Reiter
240e49052c Fix Performance/FixedSize. 2016-09-23 15:30:06 +02:00
Markus Reiter
42efb44e7d Fix Lint/EndAlignment. 2016-09-23 15:30:06 +02:00
Markus Reiter
3540c94df6 Add define_method and define_singleton_method. 2016-09-23 15:30:06 +02:00
Markus Reiter
b97b0bac6c Update .rubocop_todo.yml. 2016-09-23 15:30:06 +02:00
Markus Reiter
23eac7ab89 Fix DoubleNegation. 2016-09-23 15:30:06 +02:00
Markus Reiter
52ff988530 Fix RuboCop CaseEquality. 2016-09-23 15:30:06 +02:00
Markus Reiter
db37920fa7 Run rubocop. 2016-09-23 15:30:06 +02:00
Markus Reiter
be22265860 Set Style/NumericLiterals MinDigits to 7. 2016-09-23 15:30:06 +02:00
Markus Reiter
129dfcac4a Remove .simplecov from cask’s RuboCop config. 2016-09-23 15:30:06 +02:00
Markus Reiter
8b921c087c Disable new Style/VariableNumber cop. 2016-09-23 15:30:06 +02:00
Markus Reiter
eec68a1e05 Disable Style/IfUnlessModifier only in Taps. 2016-09-23 15:30:06 +02:00
Markus Reiter
77bd30574b Disable Style/GuardClause only in Taps. 2016-09-23 15:30:06 +02:00
Markus Reiter
0581dda187 Auto-correct guard clauses. 2016-09-23 15:30:05 +02:00
Markus Reiter
14362a7e5f Include .simplecov in RuboCop. 2016-09-23 15:30:05 +02:00
Markus Reiter
a5f050245e Add Regex for Style/FileName cop. 2016-09-23 15:30:05 +02:00
Markus Reiter
59212445da Run rubocop —auto-correct. 2016-09-23 15:30:05 +02:00
Markus Reiter
b957a1b7e6 Enable Style/EmptyElse cop. 2016-09-23 15:30:05 +02:00
Markus Reiter
2a1788484a Remove dependency on rubocop-cask. 2016-09-23 15:30:05 +02:00
Mike McQuaid
4cbeb1e981 Merge pull request #1103 from MikeMcQuaid/update-upstream-tag-strict
update.sh: only update to semver tags.
2016-09-23 14:26:04 +01:00
Mike McQuaid
28a3cec21a test-bot: cleanup Cellar/etc/var after each build.
This has been causing issues when bottling files that are installed to
these paths due to the diff algorithm we use for figuring out whether
files installed into etc/var belong to a given bottle. Additionally,
sometimes not all formulae were uninstalled which meant `brew doctor`
would fail.
2016-09-23 14:24:41 +01:00
Mike McQuaid
8989275473 Merge pull request #1084 from penman/fast_integration_tests
tests: speed up integration tests coverage
2016-09-23 11:35:45 +01:00
Mike McQuaid
b0dfd2d435 update.sh: only update to semver tags.
Otherwise random e.g. `pr-123` tags may cause `brew update` to update
to the wrong version.
2016-09-23 11:26:24 +01:00
Zhiming Wang
19dcb2cf41
test_versions: add elasticsearch alpha test case 2016-09-23 06:23:37 -04:00
Zhiming Wang
58a2ef9b58
version: improve alpha and rc detection 2016-09-23 06:23:36 -04:00
Mike McQuaid
597a92af44 Merge pull request #1101 from MikeMcQuaid/sandbox-repository
sandbox: tweak HOMEBREW_REPOSITORY handling.
2016-09-23 11:12:08 +01:00
Alyssa Ross
5f6a8d407a tests: speed up integration tests coverage
Previously, .simplecov called `SimpleCov.result` to store the coverage
result, and ignored the return value. `SimpleCov.result`'s return can be
slow to calculate, which wastes a lot of time when it's ignored.

This commit extracts the code needed to store the SimpleCov result from
`SimpleCov.result`, and calls it directly, without doing the busywork to
compute the return value every time.

In my testing, this more than halves the time taken to run all the
integration tests.
2016-09-23 10:40:08 +01:00
Mike McQuaid
9001855d64 Merge pull request #1086 from woodruffw/macho-cosmetics
Remove old cctools references now that only ruby-macho is used.
2016-09-23 10:40:08 +01:00
Markus Reiter
759ee585d5 Merge pull request #1089 from reitermarkus/coverage
Fix coverage reporting.
2016-09-23 10:33:42 +02:00
Mike McQuaid
bc52932e5a Merge pull request #1014 from rwhogg/upstream-ant-dep-linux-fix
dependency_collector: Fix ant_dep for Linux
2016-09-23 08:41:45 +01:00
Mike McQuaid
289cd0580e Merge pull request #1085 from penman/docs-update_test
docs: more accurate update-test parameter name
2016-09-23 08:34:20 +01:00
Mike McQuaid
536c48e804 sandbox: tweak HOMEBREW_REPOSITORY handling.
If we have a HOMEBREW_REPOSITORY and HOMEBREW_PREFIX mismatch (now the
default) then we can block access to the whole of HOMEBREW_REPOSITORY
rather than just the HOMEBREW_LIBRARY and `.git`.
2016-09-23 08:29:05 +01:00
Markus Reiter
6b85593895 Fix coverage reporting. 2016-09-23 09:17:55 +02:00
Mike McQuaid
5cf3838f42 Merge pull request #1041 from penman/parallel_tests
Parallelise test suite
2016-09-23 07:57:35 +01:00
Alex
b63f024b07 Updated accessibility test for Sierra 2016-09-22 22:25:12 -07:00