diff --git a/docs/BazaarDownloadStrategy.html b/docs/BazaarDownloadStrategy.html index a703ebec9..a5f757352 100644 --- a/docs/BazaarDownloadStrategy.html +++ b/docs/BazaarDownloadStrategy.html @@ -285,13 +285,13 @@
-1327 1328 1329 -1330+1330 +1331
# File 'download_strategy.rb', line 1327 +# File 'download_strategy.rb', line 1328 def initialize(url, name, version, **) super @@ -347,13 +347,13 @@
-1348 1349 1350 -1351+1351 +1352
# File 'download_strategy.rb', line 1348 +# File 'download_strategy.rb', line 1349 def last_commit out, = silent_command("bzr", args: ["revno", cached_location]) @@ -402,16 +402,16 @@
-1336 1337 1338 1339 1340 1341 -1342+1342 +1343
# File 'download_strategy.rb', line 1336 +# File 'download_strategy.rb', line 1337 def source_modified_time out, = silent_command("bzr", args: ["log", "-l", "1", "--timezone=utc", cached_location]) diff --git a/docs/CVSDownloadStrategy.html b/docs/CVSDownloadStrategy.html index b5e321a66..0452390ea 100644 --- a/docs/CVSDownloadStrategy.html +++ b/docs/CVSDownloadStrategy.html @@ -263,7 +263,6 @@
-1154 1155 1156 1157 @@ -274,10 +273,11 @@+1165 +11661162 1163 1164 -1165
# File 'download_strategy.rb', line 1154 +# File 'download_strategy.rb', line 1155 def initialize(url, name, version, **) super @@ -341,7 +341,6 @@
-1171 1172 1173 1174 @@ -353,10 +352,11 @@+1183 +11841180 1181 1182 -1183
# File 'download_strategy.rb', line 1171 +# File 'download_strategy.rb', line 1172 def source_modified_time # Filter CVS's files because the timestamp for each of them is the moment diff --git a/docs/CurlApacheMirrorDownloadStrategy.html b/docs/CurlApacheMirrorDownloadStrategy.html index 8795095c4..f4d37007d 100644 --- a/docs/CurlApacheMirrorDownloadStrategy.html +++ b/docs/CurlApacheMirrorDownloadStrategy.html @@ -275,12 +275,12 @@
-638 639 -640+640 +641
# File 'download_strategy.rb', line 638 +# File 'download_strategy.rb', line 639 def mirrors combined_mirrors diff --git a/docs/CurlDownloadStrategy.html b/docs/CurlDownloadStrategy.html index ee93f21be..5595e53b8 100644 --- a/docs/CurlDownloadStrategy.html +++ b/docs/CurlDownloadStrategy.html @@ -471,13 +471,13 @@
-456 457 458 -459+459 +460
# File 'download_strategy.rb', line 456 +# File 'download_strategy.rb', line 457 def clear_cache super @@ -572,7 +572,8 @@+454 +455451 452 453 -454
# File 'download_strategy.rb', line 395 @@ -590,6 +591,7 @@if (domain = Homebrew::EnvConfig.artifact_domain) url = url.sub(%r{^https?://#{GitHubPackages::URL_DOMAIN}/}o, "#{domain.chomp("/")}/") + urls = [] if Homebrew::EnvConfig.artifact_domain_no_fallback? end ohai "Downloading #{url}" @@ -666,13 +668,13 @@
-461 462 463 -464+464 +465
# File 'download_strategy.rb', line 461 +# File 'download_strategy.rb', line 462 def resolved_time_file_size(timeout: nil) _, _, time, file_size = resolve_url_basename_time_file_size(url, timeout:) diff --git a/docs/CurlGitHubPackagesDownloadStrategy.html b/docs/CurlGitHubPackagesDownloadStrategy.html index 09d0263a6..266c652a8 100644 --- a/docs/CurlGitHubPackagesDownloadStrategy.html +++ b/docs/CurlGitHubPackagesDownloadStrategy.html @@ -306,16 +306,16 @@
-617 618 619 620 621 622 -623+623 +624
# File 'download_strategy.rb', line 617 +# File 'download_strategy.rb', line 618 def initialize(url, name, version, **) [:headers] ||= [] @@ -360,12 +360,12 @@
-615 616 -617+617 +618
# File 'download_strategy.rb', line 615 +# File 'download_strategy.rb', line 616 def resolved_basename=(value) @resolved_basename = value diff --git a/docs/DownloadStrategyDetector.html b/docs/DownloadStrategyDetector.html index a17d7c03f..c12fd4cdb 100644 --- a/docs/DownloadStrategyDetector.html +++ b/docs/DownloadStrategyDetector.html @@ -230,7 +230,6 @@
-1443 1444 1445 1446 @@ -241,10 +240,11 @@+1454 +14551451 1452 1453 -1454
# File 'download_strategy.rb', line 1443 +# File 'download_strategy.rb', line 1444 def self.detect(url, using = nil) if using.nil? @@ -292,7 +292,6 @@
-1492 1493 1494 1495 @@ -307,10 +306,11 @@+1507 +15081504 1505 1506 -1507
# File 'download_strategy.rb', line 1492 +# File 'download_strategy.rb', line 1493 def self.detect_from_symbol(symbol) case symbol @@ -362,7 +362,6 @@
-1456 1457 1458 1459 @@ -396,10 +395,11 @@+1490 +14911487 1488 1489 -1490
# File 'download_strategy.rb', line 1456 +# File 'download_strategy.rb', line 1457 def self.detect_from_url(url) case url diff --git a/docs/FossilDownloadStrategy.html b/docs/FossilDownloadStrategy.html index 6e1b81916..b0076c1a3 100644 --- a/docs/FossilDownloadStrategy.html +++ b/docs/FossilDownloadStrategy.html @@ -306,13 +306,13 @@
-1392 1393 1394 -1395+1395 +1396
# File 'download_strategy.rb', line 1392 +# File 'download_strategy.rb', line 1393 def initialize(url, name, version, **) super @@ -368,13 +368,13 @@
-1410 1411 1412 -1413+1413 +1414
# File 'download_strategy.rb', line 1410 +# File 'download_strategy.rb', line 1411 def last_commit out, = silent_command("fossil", args: ["info", "tip", "-R", cached_location]) @@ -422,12 +422,12 @@
-1415 1416 -1417+1417 +1418
# File 'download_strategy.rb', line 1415 +# File 'download_strategy.rb', line 1416 def repo_valid? silent_command("fossil", args: ["branch", "-R", cached_location]).success? @@ -475,13 +475,13 @@
-1401 1402 1403 -1404+1404 +1405
# File 'download_strategy.rb', line 1401 +# File 'download_strategy.rb', line 1402 def source_modified_time out, = silent_command("fossil", args: ["info", "tip", "-R", cached_location]) diff --git a/docs/GitDownloadStrategy.html b/docs/GitDownloadStrategy.html index cb105acba..263962bc4 100644 --- a/docs/GitDownloadStrategy.html +++ b/docs/GitDownloadStrategy.html @@ -289,7 +289,6 @@
-831 832 833 834 @@ -303,10 +302,11 @@+845 +846842 843 844 -845
# File 'download_strategy.rb', line 831 +# File 'download_strategy.rb', line 832 def initialize(url, name, version, **) # Needs to be before the call to `super`, as the VCSDownloadStrategy's @@ -373,13 +373,13 @@
-860 861 862 -863+863 +864
# File 'download_strategy.rb', line 860 +# File 'download_strategy.rb', line 861 def last_commit out, = silent_command("git", args: ["--git-dir", git_dir, "rev-parse", "--short=7", "HEAD"]) @@ -428,13 +428,13 @@
-851 852 853 -854+854 +855
# File 'download_strategy.rb', line 851 +# File 'download_strategy.rb', line 852 def source_modified_time out, = silent_command("git", args: ["--git-dir", git_dir, "show", "-s", "--format=%cD"]) diff --git a/docs/GitHubGitDownloadStrategy.html b/docs/GitHubGitDownloadStrategy.html index 6a1f009aa..788b1054e 100644 --- a/docs/GitHubGitDownloadStrategy.html +++ b/docs/GitHubGitDownloadStrategy.html @@ -317,7 +317,6 @@
-1098 1099 1100 1101 @@ -325,10 +324,11 @@+1106 +11071103 1104 1105 -1106
# File 'download_strategy.rb', line 1098 +# File 'download_strategy.rb', line 1099 def initialize(url, name, version, **) super @@ -388,7 +388,6 @@
-1108 1109 1110 1111 @@ -403,10 +402,11 @@+1123 +11241120 1121 1122 -1123
# File 'download_strategy.rb', line 1108 +# File 'download_strategy.rb', line 1109 def commit_outdated?(commit) @last_commit ||= GitHub.last_commit(@user, @repo, @ref, version) @@ -471,7 +471,6 @@
-1135 1136 1137 1138 @@ -483,10 +482,11 @@+1147 +11481144 1145 1146 -1147
# File 'download_strategy.rb', line 1135 +# File 'download_strategy.rb', line 1136 def default_branch return @default_branch if defined?(@default_branch) @@ -548,16 +548,16 @@
-1126 1127 1128 1129 1130 1131 -1132+1132 +1133
# File 'download_strategy.rb', line 1126 +# File 'download_strategy.rb', line 1127 def default_refspec if default_branch diff --git a/docs/Homebrew/EnvConfig.html b/docs/Homebrew/EnvConfig.html index 8e73287a9..4c7ba0b8c 100644 --- a/docs/Homebrew/EnvConfig.html +++ b/docs/Homebrew/EnvConfig.html @@ -160,6 +160,12 @@"to instead be downloaded from " \ "`http://localhost:8080/v2/homebrew/core/gettext/manifests/0.21`", }, + HOMEBREW_ARTIFACT_DOMAIN_NO_FALLBACK: { + description: "If `HOMEBREW_ARTIFACT_DOMAIN` and `HOMEBREW_ARTIFACT_DOMAIN_NO_FALLBACK` are both set, " \ + "if the request to `HOMEBREW_ARTIFACT_DOMAIN` fails then it Homebrew will error rather than " \ + "trying any other/default URLs.", + boolean: true, + }, HOMEBREW_AUTO_UPDATE_SECS: { description: "Run `brew update` once every `HOMEBREW_AUTO_UPDATE_SECS` seconds before some commands, " \ "e.g. `brew install`, `brew upgrade` and `brew tap`. Alternatively, " \ @@ -741,6 +747,27 @@
+ private + + + + + + + +
+ This method is part of a private API. + This method may only be used in the Homebrew/brew repository. + Third parties should avoid using this method if possible, as it may be removed or changed without warning. +
+ + +
+ + + +29+ |
+
+ # File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 29 + +def artifact_domain_no_fallback?; end+ |
+
-29+32
# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 29 +# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 32 def auto_update_secs; end
-549 -550 -551+555 +556 +557
# File 'env_config.rb', line 549 +# File 'env_config.rb', line 555 def automatically_set_no_install_from_api? ENV["HOMEBREW_AUTOMATICALLY_SET_NO_INSTALL_FROM_API"].present? @@ -3139,10 +3219,10 @@
-32+35
# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 32 +# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 35 def bat?; end
-35+38
# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 35 +# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 38 def bat_config_path; end
-38+41
# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 38 +# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 41 def bat_theme; end
-41+44
# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 41 +# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 44 def bootsnap?; end
-44+47
# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 44 +# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 47 def bottle_domain; end
-47+50
# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 47 +# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 50 def brew_git_remote; end
-50+53
# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 50 +# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 53 def browser; end
-53+56
# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 53 +# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 56 def cache; end
-519 -520 -521+525 +526 +527
# File 'env_config.rb', line 519 +# File 'env_config.rb', line 525 def cask_opts Shellwords.shellsplit(ENV.fetch("HOMEBREW_CASK_OPTS", "")) @@ -3620,17 +3700,17 @@
-524 -525 -526 -527 -528 -529 530 -531+531 +532 +533 +534 +535 +536 +537
# File 'env_config.rb', line 524 +# File 'env_config.rb', line 530 def cask_opts_binaries? cask_opts.reverse_each do |opt| @@ -3687,17 +3767,17 @@
-534 -535 -536 -537 -538 -539 540 -541+541 +542 +543 +544 +545 +546 +547
# File 'env_config.rb', line 534 +# File 'env_config.rb', line 540 def cask_opts_quarantine? cask_opts.reverse_each do |opt| @@ -3754,12 +3834,12 @@
-544 -545 -546+550 +551 +552
# File 'env_config.rb', line 544 +# File 'env_config.rb', line 550 def cask_opts_require_sha? cask_opts.include?("--require-sha") @@ -3811,10 +3891,10 @@
-56+59
# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 56 +# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 59 def cleanup_max_age_days; end
-59+62
# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 59 +# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 62 def cleanup_periodic_full_days; end
-62+65
# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 62 +# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 65 def color?; end
-65+68
# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 65 +# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 68 def core_git_remote; end
-68+71
# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 68 +# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 71 def curl_path; end
-71+74
# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 71 +# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 74 def curl_retries; end
-74+77
# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 74 +# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 77 def curl_verbose?; end
-77+80
# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 77 +# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 80 def curlrc; end
-80+83
# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 80 +# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 83 def debug?; end
-83+86
# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 83 +# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 86 def developer?; end
-86+89
# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 86 +# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 89 def disable_load_formula?; end
-89+92
# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 89 +# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 92 def display; end
-92+95
# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 92 +# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 95 def display_install_times?; end
-95+98
# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 95 +# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 98 def docker_registry_basic_auth_token; end
-98+101
# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 98 +# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 101 def docker_registry_token; end
-101+104
# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 101 +# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 104 def editor; end
-471 -472 -473 -474 -475 -476 -477+477 +478 +479 +480 +481 +482 +483
# File 'env_config.rb', line 471 +# File 'env_config.rb', line 477 def env_method_name(env, hash) method_name = env.to_s @@ -4750,10 +4830,10 @@
-104+107
# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 104 +# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 107 def eval_all?; end
-107+110
# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 107 +# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 110 def fail_log_lines; end
-110+113
# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 110 +# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 113 def forbidden_casks; end
-113+116
# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 113 +# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 116 def forbidden_formulae; end
-116+119
# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 116 +# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 119 def forbidden_licenses; end
-119+122
# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 119 +# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 122 def forbidden_owner; end
-122+125
# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 122 +# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 125 def forbidden_owner_contact; end
-125+128
# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 125 +# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 128 def forbidden_taps; end
-128+131
# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 128 +# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 131 def force_brewed_ca_certificates?; end
-131+134
# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 131 +# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 134 def force_brewed_curl?; end
-134+137
# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 134 +# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 137 def force_brewed_git?; end
-137+140
# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 137 +# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 140 def force_vendor_ruby?; end
-140+143
# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 140 +# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 143 def formula_build_network; end
-143+146
# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 143 +# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 146 def formula_postinstall_network; end
-146+149
# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 146 +# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 149 def formula_test_network; end
-149+152
# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 149 +# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 152 def ftp_proxy; end
-152+155
# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 152 +# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 155 def git_email; end
-155+158
# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 155 +# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 158 def git_name; end
-158+161
# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 158 +# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 161 def git_path; end
-161+164
# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 161 +# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 164 def github_api_token; end
-164+167
# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 164 +# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 167 def github_packages_token; end
-167+170
# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 167 +# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 170 def github_packages_user; end
-170+173
# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 170 +# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 173 def http_proxy; end
-173+176
# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 173 +# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 176 def https_proxy; end
-176+179
# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 176 +# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 179 def install_badge; end
-179+182
# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 179 +# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 182 def livecheck_watchlist; end
-182+185
# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 182 +# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 185 def logs; end
-508 -509 -510 -511 -512 -513 514 515 -516+516 +517 +518 +519 +520 +521 +522
# File 'env_config.rb', line 508 +# File 'env_config.rb', line 514 def make_jobs jobs = ENV["HOMEBREW_MAKE_JOBS"].to_i @@ -6251,10 +6331,10 @@
-185+188
# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 185 +# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 188 def no_analytics?; end
-188+191
# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 188 +# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 191 def no_auto_update?; end
-191+194
# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 191 +# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 194 def no_autoremove?; end
-194+197
# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 194 +# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 197 def no_bootsnap?; end
-197+200
# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 197 +# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 200 def no_cleanup_formulae; end
-200+203
# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 200 +# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 203 def no_color?; end
-203+206
# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 203 +# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 206 def no_emoji?; end
-206+209
# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 206 +# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 209 def no_env_hints?; end
-209+212
# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 209 +# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 212 def no_github_api?; end
-212+215
# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 212 +# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 215 def no_insecure_redirect?; end
-215+218
# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 215 +# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 218 def no_install_cleanup?; end
-218+221
# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 218 +# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 221 def no_install_from_api?; end
-221+224
# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 221 +# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 224 def no_install_upgrade?; end
-224+227
# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 224 +# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 227 def no_installed_dependents_check?; end
-227+230
# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 227 +# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 230 def no_proxy; end
-230+233
# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 230 +# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 233 def no_update_report_new?; end
-233+236
# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 233 +# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 236 def pip_index_url; end
-236+239
# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 236 +# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 239 def pry?; end
-239+242
# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 239 +# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 242 def simulate_macos_on_linux?; end
-242+245
# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 242 +# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 245 def skip_or_later_bottles?; end
-245+248
# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 245 +# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 248 def sorbet_runtime?; end
-248+251
# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 248 +# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 251 def ssh_config_path; end
-251+254
# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 251 +# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 254 def sudo_askpass; end
-254+257
# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 254 +# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 257 def sudo_through_sudo_user?; end
-257+260
# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 257 +# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 260 def svn; end
-260+263
# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 260 +# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 263 def system_env_takes_priority?; end
-263+266
# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 263 +# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 266 def temp; end
-266+269
# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 266 +# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 269 def update_to_tag?; end
-269+272
# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 269 +# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 272 def upgrade_greedy?; end
-272+275
# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 272 +# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 275 def verbose?; end
-275+278
# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 275 +# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 278 def verbose_using_dots?; end
-278+281
# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 278 +# File 'sorbet/rbi/dsl/homebrew/env_config.rbi', line 281 def verify_attestations?; end
-706 707 708 -709+709 +710
# File 'download_strategy.rb', line 706 +# File 'download_strategy.rb', line 707 def initialize(path) # rubocop:disable Lint/MissingSuper @cached_location = path diff --git a/docs/MercurialDownloadStrategy.html b/docs/MercurialDownloadStrategy.html index 355cfb996..25f44517f 100644 --- a/docs/MercurialDownloadStrategy.html +++ b/docs/MercurialDownloadStrategy.html @@ -285,13 +285,13 @@
-1238 1239 1240 -1241+1241 +1242
# File 'download_strategy.rb', line 1238 +# File 'download_strategy.rb', line 1239 def initialize(url, name, version, **) super @@ -347,13 +347,13 @@
-1258 1259 1260 -1261+1261 +1262
# File 'download_strategy.rb', line 1258 +# File 'download_strategy.rb', line 1259 def last_commit out, = silent_command("hg", args: ["parent", "--template", "{node|short}", "-R", cached_location]) @@ -402,15 +402,15 @@
-1247 1248 1249 1250 1251 -1252+1252 +1253
# File 'download_strategy.rb', line 1247 +# File 'download_strategy.rb', line 1248 def source_modified_time out, = silent_command("hg", diff --git a/docs/NoUnzipCurlDownloadStrategy.html b/docs/NoUnzipCurlDownloadStrategy.html index f2659c4e3..9a9639cf1 100644 --- a/docs/NoUnzipCurlDownloadStrategy.html +++ b/docs/NoUnzipCurlDownloadStrategy.html @@ -281,15 +281,15 @@
-696 697 698 699 700 -701+701 +702
# File 'download_strategy.rb', line 696 +# File 'download_strategy.rb', line 697 def stage UnpackStrategy::Uncompressed.new(cached_location) diff --git a/docs/Resource/Go.html b/docs/Resource/Go.html index d8efd810e..a81f22c59 100644 --- a/docs/Resource/Go.html +++ b/docs/Resource/Go.html @@ -255,12 +255,12 @@
-261 -262 -263+265 +266 +267
# File 'resource.rb', line 261 +# File 'resource.rb', line 265 def stage(target, &block) super(target/name, &block) diff --git a/docs/Resource/PatchResource.html b/docs/Resource/PatchResource.html index 578455a5e..c34cff578 100644 --- a/docs/Resource/PatchResource.html +++ b/docs/Resource/PatchResource.html @@ -323,14 +323,14 @@
-270 -271 -272 -273 -274+274 +275 +276 +277 +278
# File 'resource.rb', line 270 +# File 'resource.rb', line 274 def initialize(&block) @patch_files = [] @@ -378,12 +378,12 @@
-268 -269 -270+272 +273 +274
# File 'resource.rb', line 268 +# File 'resource.rb', line 272 def patch_files @patch_files @@ -429,14 +429,14 @@
-276 -277 -278 -279 -280+280 +281 +282 +283 +284
# File 'resource.rb', line 276 +# File 'resource.rb', line 280 def apply(*paths) paths.flatten! @@ -477,14 +477,14 @@
-282 -283 -284 -285 -286+286 +287 +288 +289 +290
# File 'resource.rb', line 282 +# File 'resource.rb', line 286 def directory(val = nil) return @directory if val.nil? diff --git a/docs/ResourceStageContext.html b/docs/ResourceStageContext.html index 1d2f49e01..e9dcb2877 100644 --- a/docs/ResourceStageContext.html +++ b/docs/ResourceStageContext.html @@ -256,13 +256,13 @@
-305 -306 -307 -308+309 +310 +311 +312
# File 'resource.rb', line 305 +# File 'resource.rb', line 309 def initialize(resource, staging) @resource = resource @@ -310,12 +310,12 @@
-297 -298 -299+301 +302 +303
# File 'resource.rb', line 297 +# File 'resource.rb', line 301 def resource @resource @@ -357,12 +357,12 @@
-300 -301 -302+304 +305 +306
# File 'resource.rb', line 300 +# File 'resource.rb', line 304 def staging @staging diff --git a/docs/SubversionDownloadStrategy.html b/docs/SubversionDownloadStrategy.html index bfbd776ff..e0ce26301 100644 --- a/docs/SubversionDownloadStrategy.html +++ b/docs/SubversionDownloadStrategy.html @@ -307,13 +307,13 @@
-716 717 718 -719+719 +720
# File 'download_strategy.rb', line 716 +# File 'download_strategy.rb', line 717 def initialize(url, name, version, **) super @@ -356,15 +356,15 @@
-724 725 726 727 728 -729+729 +730
# File 'download_strategy.rb', line 724 +# File 'download_strategy.rb', line 725 def fetch(timeout: nil) if @url.chomp("/") != repo_url || !silent_command("svn", args: ["switch", @url, cached_location]).success? @@ -415,13 +415,13 @@
-750 751 752 -753+753 +754
# File 'download_strategy.rb', line 750 +# File 'download_strategy.rb', line 751 def last_commit out, = silent_command("svn", args: ["info", "--show-item", "revision"], chdir: cached_location) @@ -470,7 +470,6 @@
-735 736 737 738 @@ -479,10 +478,11 @@+744 +745741 742 743 -744
# File 'download_strategy.rb', line 735 +# File 'download_strategy.rb', line 736 def source_modified_time time = if Version.new(T.must(Utils::Svn.version)) >= Version.new("1.9") diff --git a/docs/method_list.html b/docs/method_list.html index 74c3c1ddd..92cdd00c3 100644 --- a/docs/method_list.html +++ b/docs/method_list.html @@ -2325,6 +2325,14 @@Method List