From e2fed0202a163babae1a767490e62b4a922b7653 Mon Sep 17 00:00:00 2001 From: Douglas Eichelberger Date: Mon, 17 Apr 2023 15:12:37 -0700 Subject: [PATCH 1/2] Remove yaml require for 5% speedup --- Library/Homebrew/cask/utils.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/Library/Homebrew/cask/utils.rb b/Library/Homebrew/cask/utils.rb index e47510ca3c..74a531025b 100644 --- a/Library/Homebrew/cask/utils.rb +++ b/Library/Homebrew/cask/utils.rb @@ -2,7 +2,6 @@ # frozen_string_literal: true require "utils/user" -require "yaml" require "open3" require "stringio" From 6879dcad13299585f7e1b2cdfbf9ba47d531d6d3 Mon Sep 17 00:00:00 2001 From: Douglas Eichelberger Date: Mon, 17 Apr 2023 19:06:30 -0700 Subject: [PATCH 2/2] Remove stringio require too --- Library/Homebrew/cask/utils.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/Library/Homebrew/cask/utils.rb b/Library/Homebrew/cask/utils.rb index 74a531025b..c512e898d6 100644 --- a/Library/Homebrew/cask/utils.rb +++ b/Library/Homebrew/cask/utils.rb @@ -3,7 +3,6 @@ require "utils/user" require "open3" -require "stringio" BUG_REPORTS_URL = "https://github.com/Homebrew/homebrew-cask#reporting-bugs"