From e98e668a34ab11757d847b8395662fd31c2b1c1c Mon Sep 17 00:00:00 2001 From: Douglas Eichelberger Date: Sat, 28 Jan 2023 08:20:36 -0800 Subject: [PATCH] remove redundant string extension --- Library/Homebrew/extend/string.rb | 4 ---- Library/Homebrew/global.rb | 2 -- Library/Homebrew/rubocops/conflicts.rb | 1 - Library/Homebrew/rubocops/extend/formula.rb | 1 - Library/Homebrew/rubocops/formula_desc.rb | 1 - Library/Homebrew/rubocops/patches.rb | 1 - 6 files changed, 10 deletions(-) delete mode 100644 Library/Homebrew/extend/string.rb diff --git a/Library/Homebrew/extend/string.rb b/Library/Homebrew/extend/string.rb deleted file mode 100644 index 21105e71f4..0000000000 --- a/Library/Homebrew/extend/string.rb +++ /dev/null @@ -1,4 +0,0 @@ -# typed: strict -# frozen_string_literal: true - -require "active_support/core_ext/object/blank" diff --git a/Library/Homebrew/global.rb b/Library/Homebrew/global.rb index ce6a84ee56..6291f4b17b 100644 --- a/Library/Homebrew/global.rb +++ b/Library/Homebrew/global.rb @@ -129,8 +129,6 @@ end.compact.freeze require "set" -require "extend/string" - require "system_command" require "exceptions" require "utils" diff --git a/Library/Homebrew/rubocops/conflicts.rb b/Library/Homebrew/rubocops/conflicts.rb index 757c6b5e95..411ba92e5c 100644 --- a/Library/Homebrew/rubocops/conflicts.rb +++ b/Library/Homebrew/rubocops/conflicts.rb @@ -2,7 +2,6 @@ # frozen_string_literal: true require "rubocops/extend/formula" -require "extend/string" module RuboCop module Cop diff --git a/Library/Homebrew/rubocops/extend/formula.rb b/Library/Homebrew/rubocops/extend/formula.rb index 89c513997f..a92d8a7780 100644 --- a/Library/Homebrew/rubocops/extend/formula.rb +++ b/Library/Homebrew/rubocops/extend/formula.rb @@ -1,7 +1,6 @@ # typed: false # frozen_string_literal: true -require "extend/string" require "rubocops/shared/helper_functions" module RuboCop diff --git a/Library/Homebrew/rubocops/formula_desc.rb b/Library/Homebrew/rubocops/formula_desc.rb index 771951f962..0093e752e1 100644 --- a/Library/Homebrew/rubocops/formula_desc.rb +++ b/Library/Homebrew/rubocops/formula_desc.rb @@ -3,7 +3,6 @@ require "rubocops/extend/formula" require "rubocops/shared/desc_helper" -require "extend/string" module RuboCop module Cop diff --git a/Library/Homebrew/rubocops/patches.rb b/Library/Homebrew/rubocops/patches.rb index 34518d1092..e16c370686 100644 --- a/Library/Homebrew/rubocops/patches.rb +++ b/Library/Homebrew/rubocops/patches.rb @@ -2,7 +2,6 @@ # frozen_string_literal: true require "rubocops/extend/formula" -require "extend/string" module RuboCop module Cop