From b070f0a7cdca5eacd9b70d09f899f15482138b1c Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Sun, 9 Jun 2024 02:41:19 +0000 Subject: [PATCH] docs: updates from Homebrew/brew --- docs/Cask/CaskLoader.html | 36 +++++----- .../CaskLoader/FromInstalledPathLoader.html | 6 +- docs/Cask/CaskLoader/FromNameLoader.html | 4 +- docs/Cask/CaskLoader/NullLoader.html | 18 ++--- docs/Formulary.html | 72 +++++++++---------- docs/Formulary/FormulaContentsLoader.html | 18 ++--- docs/Formulary/FromAPILoader.html | 18 ++--- docs/Formulary/FromCacheLoader.html | 6 +- docs/Formulary/FromKegLoader.html | 6 +- docs/Formulary/FromNameLoader.html | 4 +- docs/Formulary/NullLoader.html | 18 ++--- 11 files changed, 105 insertions(+), 101 deletions(-) diff --git a/docs/Cask/CaskLoader.html b/docs/Cask/CaskLoader.html index 77b703d81..e1ce744f4 100644 --- a/docs/Cask/CaskLoader.html +++ b/docs/Cask/CaskLoader.html @@ -306,12 +306,12 @@

 
 
-574
 575
-576
+576 +577 -
# File 'cask/cask_loader.rb', line 574
+      
# File 'cask/cask_loader.rb', line 575
 
 def self.default_path(token)
   find_cask_in_tap(token.to_s.downcase, CoreCaskTap.instance)
@@ -350,14 +350,14 @@ 

 
 
-578
 579
 580
 581
-582
+582 +583

-
# File 'cask/cask_loader.rb', line 578
+      
# File 'cask/cask_loader.rb', line 579
 
 def self.find_cask_in_tap(token, tap)
   filename = "#{token}.rb"
@@ -398,7 +398,6 @@ 

 
 
-555
 556
 557
 558
@@ -415,10 +414,11 @@ 

569 570 571 -572

+572 +573

-
# File 'cask/cask_loader.rb', line 555
+      
# File 'cask/cask_loader.rb', line 556
 
 def self.for(ref, need_path: false, warn: true)
   [
@@ -472,12 +472,12 @@ 

 
 
-516
 517
-518
+518 +519

-
# File 'cask/cask_loader.rb', line 516
+      
# File 'cask/cask_loader.rb', line 517
 
 def self.load(ref, config: nil, warn: true)
   self.for(ref, warn:).load(config:)
@@ -516,12 +516,12 @@ 

 
 
-512
 513
-514
+514 +515

-
# File 'cask/cask_loader.rb', line 512
+      
# File 'cask/cask_loader.rb', line 513
 
 def self.path(ref)
   self.for(ref, need_path: true).path
@@ -599,7 +599,6 @@ 

 
 
-521
 522
 523
 524
@@ -631,10 +630,11 @@ 

550 551 552 -553

+553 +554

-
# File 'cask/cask_loader.rb', line 521
+      
# File 'cask/cask_loader.rb', line 522
 
 def self.tap_cask_token_type(tapped_token, warn:)
   return unless (tap_with_token = Tap.with_cask_token(tapped_token))
diff --git a/docs/Cask/CaskLoader/FromInstalledPathLoader.html b/docs/Cask/CaskLoader/FromInstalledPathLoader.html
index 8f9cb4fba..b92d902bb 100644
--- a/docs/Cask/CaskLoader/FromInstalledPathLoader.html
+++ b/docs/Cask/CaskLoader/FromInstalledPathLoader.html
@@ -279,17 +279,17 @@ 

 
 
-478
 479
 480
 481
 482
 483
 484
-485
+485 +486

-
# File 'cask/cask_loader.rb', line 478
+      
# File 'cask/cask_loader.rb', line 479
 
 def self.try_new(ref, warn: false)
   return unless ref.is_a?(String)
diff --git a/docs/Cask/CaskLoader/FromNameLoader.html b/docs/Cask/CaskLoader/FromNameLoader.html
index 1df595bc7..5ed51aad5 100644
--- a/docs/Cask/CaskLoader/FromNameLoader.html
+++ b/docs/Cask/CaskLoader/FromNameLoader.html
@@ -320,7 +320,8 @@ 

466 467 468 -469

+469 +470
# File 'cask/cask_loader.rb', line 447
@@ -339,6 +340,7 @@ 

loaders = Tap.select { |tap| tap.installed? && !tap.core_cask_tap? } .filter_map { |tap| super("#{tap}/#{token}", warn:) } + .uniq(&:path) .select { |tap| tap.path.exist? } case loaders.count diff --git a/docs/Cask/CaskLoader/NullLoader.html b/docs/Cask/CaskLoader/NullLoader.html index 5025bc700..5b09c5f74 100644 --- a/docs/Cask/CaskLoader/NullLoader.html +++ b/docs/Cask/CaskLoader/NullLoader.html @@ -287,13 +287,13 @@

 
 
-502
 503
 504
-505
+505 +506

-
# File 'cask/cask_loader.rb', line 502
+      
# File 'cask/cask_loader.rb', line 503
 
 def initialize(ref)
   token = File.basename(ref, ".rb")
@@ -381,15 +381,15 @@ 

 
 
-494
 495
 496
 497
 498
-499
+499 +500

-
# File 'cask/cask_loader.rb', line 494
+      
# File 'cask/cask_loader.rb', line 495
 
 def self.try_new(ref, warn: false)
   return if ref.is_a?(Cask)
@@ -450,12 +450,12 @@ 

 
 
-507
 508
-509
+509 +510

-
# File 'cask/cask_loader.rb', line 507
+      
# File 'cask/cask_loader.rb', line 508
 
 def load(config:)
   raise CaskUnavailableError.new(token, "No Cask with this name exists.")
diff --git a/docs/Formulary.html b/docs/Formulary.html
index e6fb04b6a..d8b5b0291 100644
--- a/docs/Formulary.html
+++ b/docs/Formulary.html
@@ -802,16 +802,16 @@ 

 
 
-1156
 1157
 1158
 1159
 1160
 1161
-1162
+1162 +1163

-
# File 'formulary.rb', line 1156
+      
# File 'formulary.rb', line 1157
 
 def self.canonical_name(ref)
   loader_for(ref).name
@@ -1030,12 +1030,12 @@ 

 
 
-1233
 1234
-1235
+1235 +1236

-
# File 'formulary.rb', line 1233
+      
# File 'formulary.rb', line 1234
 
 def self.core_path(name)
   find_formula_in_tap(name.to_s.downcase, CoreTap.instance)
@@ -1291,7 +1291,6 @@ 

 
 
-986
 987
 988
 989
@@ -1321,10 +1320,11 @@ 

1013 1014 1015 -1016

+1016 +1017

-
# File 'formulary.rb', line 986
+      
# File 'formulary.rb', line 987
 
 def self.factory(
   ref,
@@ -1487,7 +1487,6 @@ 

 
 
-1238
 1239
 1240
 1241
@@ -1495,10 +1494,11 @@ 

1243 1244 1245 -1246

+1246 +1247

-
# File 'formulary.rb', line 1238
+      
# File 'formulary.rb', line 1239
 
 def self.find_formula_in_tap(name, tap)
   filename = if name.end_with?(".rb")
@@ -1861,7 +1861,6 @@ 

 
 
-1124
 1125
 1126
 1127
@@ -1878,10 +1877,11 @@ 

1138 1139 1140 -1141

+1141 +1142

-
# File 'formulary.rb', line 1124
+      
# File 'formulary.rb', line 1125
 
 def self.from_contents(
   name,
@@ -2016,7 +2016,6 @@ 

 
 
-1074
 1075
 1076
 1077
@@ -2051,10 +2050,11 @@ 

1106 1107 1108 -1109

+1109 +1110

-
# File 'formulary.rb', line 1074
+      
# File 'formulary.rb', line 1075
 
 def self.from_keg(
   keg,
@@ -2217,7 +2217,6 @@ 

 
 
-1034
 1035
 1036
 1037
@@ -2237,10 +2236,11 @@ 

1051 1052 1053 -1054

+1054 +1055

-
# File 'formulary.rb', line 1034
+      
# File 'formulary.rb', line 1035
 
 def self.from_rack(
   rack, spec = T.unsafe(nil),
@@ -2311,14 +2311,14 @@ 

 
 
-1057
 1058
 1059
 1060
-1061
+1061 +1062

-
# File 'formulary.rb', line 1057
+      
# File 'formulary.rb', line 1058
 
 def self.keg_only?(rack)
   Formulary.from_rack(rack).keg_only?
@@ -3312,7 +3312,6 @@ 

 
 
-1212
 1213
 1214
 1215
@@ -3331,10 +3330,11 @@ 

1228 1229 1230 -1231

+1231 +1232

-
# File 'formulary.rb', line 1212
+      
# File 'formulary.rb', line 1213
 
 def self.loader_for(ref, from: T.unsafe(nil), warn: true)
   options = { from:, warn: }.compact
@@ -3466,12 +3466,12 @@ 

 
 
-1164
 1165
-1166
+1166 +1167

-
# File 'formulary.rb', line 1164
+      
# File 'formulary.rb', line 1165
 
 def self.path(ref)
   loader_for(ref).path
@@ -3784,7 +3784,6 @@ 

 
 
-1169
 1170
 1171
 1172
@@ -3825,10 +3824,11 @@ 

1207 1208 1209 -1210

+1210 +1211

-
# File 'formulary.rb', line 1169
+      
# File 'formulary.rb', line 1170
 
 def self.tap_formula_name_type(tapped_name, warn:)
   return unless (tap_with_name = Tap.with_formula_name(tapped_name))
@@ -3906,7 +3906,6 @@ 

 
 
-1143
 1144
 1145
 1146
@@ -3917,10 +3916,11 @@ 

1151 1152 1153 -1154

+1154 +1155

-
# File 'formulary.rb', line 1143
+      
# File 'formulary.rb', line 1144
 
 def self.to_rack(ref)
   # If using a fully-scoped reference, check if the formula can be resolved.
diff --git a/docs/Formulary/FormulaContentsLoader.html b/docs/Formulary/FormulaContentsLoader.html
index 0f45b1471..a4bc970a6 100644
--- a/docs/Formulary/FormulaContentsLoader.html
+++ b/docs/Formulary/FormulaContentsLoader.html
@@ -272,13 +272,13 @@ 

 
 
-899
 900
 901
-902
+902 +903

-
# File 'formulary.rb', line 899
+      
# File 'formulary.rb', line 900
 
 def initialize(name, path, contents)
   @contents = contents
@@ -326,12 +326,12 @@ 

 
 
-897
 898
-899
+899 +900

-
# File 'formulary.rb', line 897
+      
# File 'formulary.rb', line 898
 
 def contents
   @contents
@@ -377,13 +377,13 @@ 

 
 
-904
 905
 906
-907
+907 +908

-
# File 'formulary.rb', line 904
+      
# File 'formulary.rb', line 905
 
 def klass(flags:, ignore_errors:)
   namespace = "FormulaNamespace#{Digest::MD5.hexdigest(contents.to_s)}"
diff --git a/docs/Formulary/FromAPILoader.html b/docs/Formulary/FromAPILoader.html
index 8070ff7f5..37e830fca 100644
--- a/docs/Formulary/FromAPILoader.html
+++ b/docs/Formulary/FromAPILoader.html
@@ -309,17 +309,17 @@ 

 
 
-944
 945
 946
 947
 948
 949
 950
-951
+951 +952

-
# File 'formulary.rb', line 944
+      
# File 'formulary.rb', line 945
 
 def initialize(name, tap: T.unsafe(nil), alias_name: T.unsafe(nil))
   options = {
@@ -424,7 +424,6 @@ 

 
 
-916
 917
 918
 919
@@ -449,10 +448,11 @@ 

938 939 940 -941

+941 +942

-
# File 'formulary.rb', line 916
+      
# File 'formulary.rb', line 917
 
 def self.try_new(ref, from: T.unsafe(nil), warn: false)
   return if Homebrew::EnvConfig.no_install_from_api?
@@ -520,13 +520,13 @@ 

 
 
-953
 954
 955
-956
+956 +957

-
# File 'formulary.rb', line 953
+      
# File 'formulary.rb', line 954
 
 def klass(flags:, ignore_errors:)
   load_from_api(flags:) unless Formulary.formula_class_defined_from_api?(name)
diff --git a/docs/Formulary/FromCacheLoader.html b/docs/Formulary/FromCacheLoader.html
index 987b571ce..ab97c953c 100644
--- a/docs/Formulary/FromCacheLoader.html
+++ b/docs/Formulary/FromCacheLoader.html
@@ -278,16 +278,16 @@ 

 
 
-862
 863
 864
 865
 866
 867
-868
+868 +869

-
# File 'formulary.rb', line 862
+      
# File 'formulary.rb', line 863
 
 def self.try_new(ref, from: T.unsafe(nil), warn: false)
   ref = ref.to_s
diff --git a/docs/Formulary/FromKegLoader.html b/docs/Formulary/FromKegLoader.html
index fef3fee8f..574b4eba2 100644
--- a/docs/Formulary/FromKegLoader.html
+++ b/docs/Formulary/FromKegLoader.html
@@ -278,16 +278,16 @@ 

 
 
-847
 848
 849
 850
 851
 852
-853
+853 +854

-
# File 'formulary.rb', line 847
+      
# File 'formulary.rb', line 848
 
 def self.try_new(ref, from: T.unsafe(nil), warn: false)
   ref = ref.to_s
diff --git a/docs/Formulary/FromNameLoader.html b/docs/Formulary/FromNameLoader.html
index c3fc9f41b..472e64ad2 100644
--- a/docs/Formulary/FromNameLoader.html
+++ b/docs/Formulary/FromNameLoader.html
@@ -318,7 +318,8 @@ 

835 836 837 -838

+838 +839
# File 'formulary.rb', line 816
@@ -337,6 +338,7 @@ 

loaders = Tap.select { |tap| tap.installed? && !tap.core_tap? } .filter_map { |tap| super("#{tap}/#{name}", warn:) } + .uniq(&:path) .select { |tap| tap.path.exist? } case loaders.count diff --git a/docs/Formulary/NullLoader.html b/docs/Formulary/NullLoader.html index 72d641904..e80ae6843 100644 --- a/docs/Formulary/NullLoader.html +++ b/docs/Formulary/NullLoader.html @@ -283,13 +283,13 @@

 
 
-884
 885
 886
-887
+887 +888

-
# File 'formulary.rb', line 884
+      
# File 'formulary.rb', line 885
 
 def initialize(ref)
   name = File.basename(ref, ".rb")
@@ -390,14 +390,14 @@ 

 
 
-877
 878
 879
 880
-881
+881 +882

-
# File 'formulary.rb', line 877
+      
# File 'formulary.rb', line 878
 
 def self.try_new(ref, from: T.unsafe(nil), warn: false)
   return if ref.is_a?(URI::Generic)
@@ -457,12 +457,12 @@ 

 
 
-889
 890
-891
+891 +892

-
# File 'formulary.rb', line 889
+      
# File 'formulary.rb', line 890
 
 def get_formula(*)
   raise FormulaUnavailableError, name