Mike McQuaid
36dbad3922
Add frozen_string_literal to all files.
2019-04-20 13:27:36 +09:00
Mike McQuaid
1aa8ad09e2
Deprecate macOS versions below Mavericks
...
And remove all dead/unneeded code.
2019-01-27 12:27:47 +00:00
Mike McQuaid
170c5493a4
Update deprecations
...
- Add some `odeprecated`
- Make some `odeprecated` now `odisabled`
- Remove `odisabled` code.
- Remove old update migrations
- Remove GCC 4.0 compiler
- Remove Tiger-only code
- Remove 32-bit-only code
- Remove use of LD64
- Remove GCC 4.3 - 4.8 support.
2019-01-08 19:13:46 +00:00
Mike McQuaid
737b84b54b
brew style --fix
fixes.
2018-11-02 17:29:23 +00:00
EricFromCanada
20167e5f1b
Adjust comments to tidy API docs output.
2018-10-18 21:42:43 -04:00
Markus Reiter
b91628a614
Refactor Hardware::CPU
spec.
2018-04-20 19:11:22 +02:00
Mike McQuaid
9fca172d03
Fix HOMEBREW_RUBY_WARNINGS="-w"
...
Fix various circular requirements, method redefinitions, etc.
2018-04-07 20:28:56 +01:00
Shaun Jackman
0ce7a74c58
Hardware::CPU: Implement OS-agnostic methods
2017-12-01 15:18:35 -08:00
Maxim Belkin
de0b93f912
pathname: improvements, cleanups, and new methods
...
- atomic_write: close file before renaming to prevent error:
'Device or resource busy'
- ensure_writable: preserve executable bit
- new elf? and dynamic? methods
2017-11-07 14:18:25 -06:00
Dominyk Tiller
9899a5d0a8
mac/hardware/cpu: recognise Kaby Lake
...
The 2017 MacBook Pro line shipped with Kaby Lake CPUs.
2017-09-05 03:16:18 +01:00
Misty De Meo
944bff4de2
Mac Hardware: provide a more Mac-specific implementation of can_run?
2017-04-15 22:59:55 +08:00
Viktor Szakats
cc8f029f22
secure urls + remove -k from in-doc curl command
2017-03-14 17:27:11 +00:00
Alyssa Ross
9e97eadccb
rubocop: trailing comma in multiline method calls
...
Discussed in
https://github.com/Homebrew/brew/pull/1987/files#r100693581 .
This was originally ommitted because it wasn't compatible with Ruby 1.8.
(See https://github.com/Homebrew/legacy-homebrew/pull/48144#r49928971 ).
2017-02-12 15:11:38 +00:00
Mike McQuaid
3982950e61
rubocop --auto-correct all hash-rocket usage.
2016-09-17 16:14:13 +01:00
Mike McQuaid
11624b9a7d
hardware: move generic logic from linux. ( #454 )
2016-07-06 10:43:54 +01:00
Mike McQuaid
8d995e961f
Make hardware code cross-platform.
2016-05-08 16:51:22 +01:00