Markus Reiter
f863d61374
Move vendor/bundle
up one level to HOMEBREW_LIBRARY_PATH
.
2016-10-29 18:28:07 +02:00
Josh Hagins
9c519bbdbc
keg_relocate: refactor relocate_text_files
...
Replace relocate_text_files with three methods that clarify intent:
replace_locations_with_placeholders, replace_placeholders_with_locations
and replace_text_in_files, the first two calling the third.
2016-10-24 16:21:08 -04:00
Josh Hagins
c46155aba4
keg_relocate: cache files rewritten during brew bottle
...
`brew bottle` replaces instances of the Homebrew prefix, cellar, and
repository with placeholders in all text files. Cache these files in
INSTALL_RECEIPT.json so that we don't have to check every single text
file for placeholders on install.
2016-10-24 16:21:08 -04:00
Markus Reiter
e6bce5ec27
Merge pull request #1342 from reitermarkus/fixtures
...
Move cask's fixtures to `test/fixtures`.
2016-10-24 22:09:45 +02:00
Markus Reiter
b28b21fd7f
Don’t use bare percent literals.
2016-10-24 17:27:20 +02:00
Markus Reiter
31ec04704a
Move cask fixtures to test/fixtures/cask
.
2016-10-24 15:52:41 +02:00
Uladzislau Shablinski
4ec43d02f5
test_formula: fix tests
...
New name and old name must have different names
2016-10-20 03:09:28 +03:00
Josh Hagins
fba00f2bbf
testing_env: extract with_environment to helper module
2016-10-19 12:35:46 -04:00
ilovezfs
a53eca8cde
dependency_collector: need xz dep on <= macOS 10.8
...
Mountain Lion: http://opensource.apple.com/source/libarchive/libarchive-25.1/config.h
`/* #undef HAVE_LIBLZMA */`
Mavericks: http://opensource.apple.com/source/libarchive/libarchive-29/config.h
`#define HAVE_LIBLZMA 1`
2016-10-16 05:48:37 -07:00
Markus Reiter
198bf4d3bd
Convert puts_columns
to puts Formatter.columns
.
2016-10-15 17:13:38 +02:00
Markus Reiter
a89dc33834
Change test for puts_columns
with empty input.
2016-10-15 17:13:38 +02:00
Mike McQuaid
527a62b64b
Merge pull request #1279 from MikeMcQuaid/use-tar-xz
...
Use BSD tar's libarchive LZMA support if available
2016-10-15 13:37:35 +01:00
Mike McQuaid
b1a16deb19
Use BSD tar's libarchive LZMA support if available
...
Avoid using an unnecessary `xz` dependency when it's not needed.
2016-10-15 13:10:37 +01:00
Mike McQuaid
7ab39e184b
Improve integration command test case output.
2016-10-15 12:32:34 +01:00
Mike McQuaid
f435adc2d0
Rename tap-readme command to tap-new.
...
Write the README but also a `.travis.yml` file (and in future perhaps a
`Jenkinsfile`).
2016-10-15 12:32:34 +01:00
Alyssa Ross
cd615acd5f
tab: don't interpret unknown deps as no deps
2016-10-11 09:00:39 +01:00
Markus Reiter
b306f14b97
Rename FormulaMethodDeprecatedError to MethodDeprecatedError.
2016-10-08 13:26:10 +02:00
Markus Reiter
fca66e17b3
Make parsing locales more robust.
2016-10-07 20:03:50 +02:00
David Yun
2e9ec473e9
Fix HOMEBREW_PREFIX/Caskroom file leak
2016-10-07 17:09:24 +08:00
David Yun
81082303dc
Use odeprecated rather than remove it entirely
...
* Fix IntegrationCommandTestCask
2016-10-07 10:27:21 +08:00
Markus Reiter
ddf5583208
Refactor Cask’s extensions.
2016-10-04 15:43:58 +02:00
Markus Reiter
cafe149780
Merge pull request #1145 from reitermarkus/module-function
...
Use `module_function` for `Homebrew` module.
2016-10-04 10:31:49 +02:00
Markus Reiter
929c594f41
Add test for MacOS.languages
.
2016-10-03 02:34:52 +02:00
Mike McQuaid
8a57fee68c
*/diagnostic: tweak messaging.
...
Update some messaging based on recent user confusion and the
`/usr/local/Homebrew` and Ruby 2 migrations.
2016-10-02 17:30:08 +01:00
Markus Reiter
0ab750bf24
Use module_function
for commands.
2016-10-02 00:24:47 +02:00
Markus Reiter
6d8ee395fa
Refactor Tty.
2016-10-01 20:00:49 +02:00
Mike McQuaid
98e7fb6b60
Merge pull request #1052 from sjackman/store-formula
...
Store the formula used to build the keg in the keg
2016-10-01 12:24:19 +01:00
Mike McQuaid
cbae10a732
test/test_custom_command: fix rubocop style.
2016-09-27 13:02:07 +01:00
Mike McQuaid
0c472ea6d9
test/test_create: fix rubocop style.
2016-09-27 13:02:07 +01:00
Mike McQuaid
776785459b
test/test_audit: fix rubocop style.
2016-09-27 13:02:07 +01:00
Mike McQuaid
47fe231552
test/helper/integration_command_test_case: fix rubocop style.
2016-09-27 13:02:07 +01:00
Markus Reiter
d508b124a4
Rename/merge test files.
2016-09-27 00:15:56 +02:00
Markus Reiter
cd677cf3ae
Speed up parallel_tests
by splitting integration tests.
2016-09-26 19:55:50 +02:00
Zhiming Wang
b6f983120a
fixtures: add test.m4a
...
test.m4a contains an AAC LC stream inside an M4A (MPEG-4 Part 14)
container. It is generated by FFmpeg 3.1.3 from test.wav:
ffmpeg -y -i test.wav -c:a aac -profile:a aac_low -b:a 32k test.m4a
test.m4a facilitates testing utilities or libraries that work with the
AAC codec or the M4A container, e.g., alac.
2016-09-26 09:07:24 -04:00
Markus Reiter
50b635e276
Add test for search_tap
.
2016-09-25 16:27:43 +02:00
Markus Reiter
b987230ddf
RuboCop: Style/CaseEquality
2016-09-25 00:22:53 +02:00
Mike McQuaid
e767fd3df9
Merge branch 'master' into mkdir_with_intermediates
2016-09-24 20:48:03 +01:00
Mike McQuaid
232078df57
Merge pull request #1123 from reitermarkus/rubocop
...
RuboCop: Style/AccessorMethodName
2016-09-24 20:40:00 +01:00
Mike McQuaid
67a7417a68
Merge pull request #1122 from MikeMcQuaid/test-bot-tap
...
test-bot: move to tap.
2016-09-24 19:51:31 +01:00
Mike McQuaid
d5b403b1e9
test-bot: move to tap.
...
Migrate to https://github.com/Homebrew/homebrew-test-bot to be able to
work on this with a different, non-tagged workflow.
2016-09-24 18:55:03 +01:00
Markus Reiter
6c6a4c9fa7
RuboCop: Style/AccessorMethodName
2016-09-24 19:28:26 +02:00
Mike McQuaid
5b4b7b24e6
version: don't let a/b imply alpha/beta.
...
This is assumption is broken for at least OpenSSL which makes it a
bad general rule.
As discussed in #1102 .
2016-09-24 17:40:37 +01:00
Markus Reiter
e2c7509065
Merge pull request #1113 from reitermarkus/rubocop-guardclause
...
RuboCop: Fix Style/GuardClause.
2016-09-24 17:38:49 +02:00
Markus Reiter
58e36c7319
Fix Style/GuardClause.
2016-09-24 12:24:35 +02:00
Zhiming Wang
687f0fcf72
Merge pull request #1102 from zmwangx/alpha-rc-detection
...
version: improve alpha and rc detection (elasticsearch)
2016-09-24 05:53:17 -04:00
Shaun Jackman
25df0c03d6
Store the formula used to build the keg in the keg
...
Store the formula used to build the keg inside the keg in a
file named NAME/VERSION/.brew/NAME.rb after removing the
bottle do ... end block.
See https://github.com/Homebrew/brew-evolution/pull/6 .
Closes https://github.com/Homebrew/brew/issues/931 .
2016-09-23 17:11:24 -07:00
Markus Reiter
9ce3c8d8a4
Fix Style/NumericLiterals.
2016-09-23 15:30:06 +02:00
Markus Reiter
4064084c58
Fix Style/MethodName.
2016-09-23 15:30:06 +02:00
Zhiming Wang
19dcb2cf41
test_versions: add elasticsearch alpha test case
2016-09-23 06:23:37 -04:00
Markus Reiter
759ee585d5
Merge pull request #1089 from reitermarkus/coverage
...
Fix coverage reporting.
2016-09-23 10:33:42 +02:00