Adam Vandenberg
32f637d590
Add minimum OS X version requirement
...
Closes Homebrew/homebrew#19998 .
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-06-16 20:36:50 -07:00
Jack Nagel
45d3e436ee
Simplify regexp match
2013-06-15 19:51:49 -05:00
Jack Nagel
d98ff95b3e
These also get coerced to strings
2013-06-15 19:51:35 -05:00
Jack Nagel
49c9097b07
Push MacOS.cat logic down into MacOS::Version
2013-06-15 19:40:42 -05:00
Jack Nagel
3cd1a0e696
Add MacOS::Version.from_symbol
2013-06-15 19:39:27 -05:00
Jack Nagel
cf66686a17
Add brew-profile to contrib
...
This command loads all formulae and dumps an HTML profile report to
stdout. So e.g. `brew profile >/tmp/report.html`
2013-06-15 16:41:14 -05:00
Jack Nagel
e9d245cf3a
Avoid unnecessary float to string conversion
2013-06-15 10:13:20 -05:00
Mike McQuaid
43b85e5865
brew-test-bot: further tweak pull request handling.
2013-06-15 11:15:31 +01:00
Mike McQuaid
52a935d5bc
brew-test-bot: fix testing pull request handling.
2013-06-15 11:00:32 +01:00
Mike McQuaid
66cefb7be6
brew-test-bot: handle Jenkins pull request plugin.
2013-06-15 10:44:29 +01:00
Mike McQuaid
731d4016f7
brew-test-bot: run Homebrew tests every time.
2013-06-15 10:44:29 +01:00
Jack Nagel
2e2d922190
Run tests under actual OS version
2013-06-14 19:19:26 -05:00
Jack Nagel
9e771b0e34
Simplify setting MACOS_VERSION
2013-06-14 19:19:25 -05:00
Jack Nagel
e59456515d
Pass these as strings, they get converted anyway
2013-06-14 19:10:14 -05:00
Jack Nagel
113125d394
Remove Version#to_a alias
...
Exposing this as "to_a" was a mistake, versions are not arrays and it
causes incorrect behavior when splatted or using Kernel#Array(). Use the
more correct name "tokens" instead.
2013-06-14 18:37:27 -05:00
Adam Vandenberg
ca10e5005a
Fix pretty names
2013-06-14 14:47:16 -07:00
Adam Vandenberg
8739eeab7d
Move pretty_name into MacOS::Version
...
Closes Homebrew/homebrew#20507 .
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-06-14 13:36:20 -07:00
Jack Nagel
5539c97191
Fix another constant reference
2013-06-14 11:49:00 -05:00
Jack Nagel
a463398a8b
Fix constant reference
2013-06-14 11:09:53 -05:00
Jack Nagel
eee5a09202
Favor compound if over compound unless
2013-06-14 10:34:20 -05:00
Jack Nagel
9427704176
Use ||= instead of unless
2013-06-14 10:34:20 -05:00
Jack Nagel
e73f869d84
Remove outdated comment
2013-06-14 10:34:20 -05:00
Jack Nagel
381255adec
Assign this inline
2013-06-14 10:34:19 -05:00
Jack Nagel
3252f9a2c9
Delete rather than assign nil
2013-06-14 10:34:19 -05:00
Jack Nagel
723f7ed111
Simplify nested conditional
2013-06-14 10:34:19 -05:00
Jack Nagel
4e4a5af731
Use has_key? rather than accessing the value
2013-06-14 10:34:18 -05:00
Jack Nagel
020a505970
Rename single-letter variable
2013-06-14 10:34:18 -05:00
Jack Nagel
a458555ccb
Make flag lists into constants
2013-06-14 10:34:18 -05:00
Jack Nagel
7d6371cd19
ENV: clean up set_cpu_flags and set_cpu_cflags usage
2013-06-14 10:34:18 -05:00
Jack Nagel
50db35e5d3
Use Hardware::CPU module
2013-06-14 10:34:17 -05:00
Jack Nagel
dc454aad92
Freeze optimization flags hash rather than duping it
2013-06-14 10:34:17 -05:00
Jack Nagel
4498db7887
Xcode 4.6.3
2013-06-13 18:22:28 -05:00
Adam Vandenberg
313134fbe3
ScriptFileFormula: remove override warning
...
Closes Homebrew/homebrew#20445 .
2013-06-13 09:34:43 -07:00
Clemens Gruber
fc649af17a
superenv: apply apr-1-config fix to 10.8+
...
Fixes Homebrew/homebrew#20417 .
Closes Homebrew/homebrew#20474 .
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2013-06-13 11:33:16 -05:00
Simon Sigurdhsson
776c08490f
Fix bug in brew list --pinned
...
Pinned formulae which were pinned at a previous version but then upgraded
would not be listed by `brew list --pinned`. This is due to the good old
"File.exist? thinks broken symlinks don't exist" gotcha, so the test in
the select block in list_pinned has been changed to check if the pin file
exists _or_ is a symlink.
Closes Homebrew/homebrew#20423 .
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2013-06-13 10:22:03 -05:00
Adam Vandenberg
7f9e4e11a3
Update fetch bash completion
...
Also complete --devel and the formula's install options.
2013-06-12 15:58:12 -07:00
Jack Nagel
0f314f9808
Remove unused variable
2013-06-12 17:25:29 -05:00
Jack Nagel
630aa27c56
Rename variables for clarity
2013-06-12 14:48:17 -05:00
Jack Nagel
5482092bd0
Extract search_taps method
2013-06-12 14:48:17 -05:00
Jack Nagel
e0fba99699
Pull tap list into a constant
2013-06-12 14:48:17 -05:00
Jack Nagel
c30f00c37c
Remove use of global variable
2013-06-12 14:48:17 -05:00
Jack Nagel
d1a1a3b031
Rename method
2013-06-12 14:48:16 -05:00
Jack Nagel
1d1c292bcb
Extract query construction
2013-06-12 14:48:16 -05:00
Jack Nagel
90768d03d2
Use inspect instead of escaping quotes
2013-06-12 14:48:16 -05:00
Jack Nagel
13a2ceef5c
Move require out of method
2013-06-12 12:23:45 -05:00
Misty De Meo
d23ce833d7
Add pkg-config files for 10.9
...
Seems to be that 10.9 needs the same ones as 10.8.
Fixes Homebrew/homebrew#20436 .
2013-06-12 09:51:22 -05:00
Jack Nagel
2045217a68
install: remove overcautious array manipulation
2013-06-12 09:02:20 -05:00
Jack Nagel
5369199df3
Fix version misdetection from fa582cb9ac65
2013-06-11 17:34:21 -05:00
Jack Nagel
fdaea3189d
Check method existence rather than Ruby version
2013-06-11 17:05:44 -05:00
Jack Nagel
28b9790dbd
FormulaInstaller: ensure locks are always released
2013-06-11 15:35:30 -05:00