aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/os.rb
AgeCommit message (Collapse)Author
2017-11-05MACOS_*VERSION: move to compat.Mike McQuaid
2017-07-27Use https for all docs.brew.sh links.Mike McQuaid
May as well use the more secure link when possible.
2017-07-26OS: use RbConfig instead of RUBY_PLATFORMBaptiste Fontaine
`RUBY_PLATFORM` is always `"java"` when running JRuby, no matter what is the underlying platform. See also https://github.com/pry/pry/issues/386.
2017-01-04Use docs.brew.sh links.Mike McQuaid
2016-11-05os: don't tell people to report unsupported version issues.Mike McQuaid
2016-09-18os: update Linux troubleshooting urlBob W. Hogg
The existing one has two issues: * It doesn't reflect Linuxbrew's move to a separate GitHub org * It redirects to the legacy-linuxbrew (pre-core/brew split) wiki
2016-07-29os: don't assume Linux if testing generic OS.Mike McQuaid
2016-07-27os: fix Rubocop warnings.Mike McQuaid
2016-05-08Add support for testing generic OS.Mike McQuaid
If the environment variable HOMEBREW_TEST_GENERIC_OS is set ensure that neither Mac nor Linux-specific code is loaded. This allows easier testing of cross-platform code on OS X and will make it easier to port Homebrew to platforms other than OS X and Linux.
2016-04-04Make Homebrew user agent consistent, use a slash.Mike McQuaid
Generally it seems user agents are all `software/version` but ours is not. Also, set the user agent in a way that it's shared between Bash and Ruby code. Closes https://github.com/Homebrew/legacy-homebrew/pull/50480.
2015-10-18MacOS: full_version addedBaptiste Fontaine
Closes Homebrew/homebrew#44988. Signed-off-by: Xu Cheng <xucheng@me.com>
2015-03-12Use https for issue URL.Mike McQuaid
2014-11-14os: shorten troubleshooting URL.Mike McQuaid
2014-10-26Import docs from wiki.Mike McQuaid
Closes Homebrew/homebrew#33211.
2014-07-12Linuxbrew: Move ISSUES_URL to os from globalShaun Jackman
Closes Homebrew/linuxbrew#103 Closes Homebrew/homebrew#30830. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2014-06-12Linuxbrew: Use xdg-openShaun Jackman
Closes Homebrew/homebrew#29817. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2013-10-18Add OS.mac? and OS.linux?Jack Nagel