From 5595deaec6220ea3185e8fddf5838e0d16be78e7 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Mon, 11 Nov 2019 19:20:17 +0000 Subject: [PATCH] os/mac: remove MacOS.cat. None of the supported versions are "cats" any more. --- Library/Homebrew/extend/os/mac/utils/bottles.rb | 2 +- Library/Homebrew/os/mac.rb | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/Library/Homebrew/extend/os/mac/utils/bottles.rb b/Library/Homebrew/extend/os/mac/utils/bottles.rb index 7db7f48b24..f500d41450 100644 --- a/Library/Homebrew/extend/os/mac/utils/bottles.rb +++ b/Library/Homebrew/extend/os/mac/utils/bottles.rb @@ -6,7 +6,7 @@ module Utils undef tag def tag - MacOS.cat + MacOS.version.to_sym end end diff --git a/Library/Homebrew/os/mac.rb b/Library/Homebrew/os/mac.rb index c0c898fb6a..dd918bbc21 100644 --- a/Library/Homebrew/os/mac.rb +++ b/Library/Homebrew/os/mac.rb @@ -58,10 +58,6 @@ module OS version > latest_stable_version end - def cat - version.to_sym - end - def languages @languages ||= [ *ARGV.value("language")&.split(","),