From 652f5966d469b226f12f94a9e869464ee1580ac3 Mon Sep 17 00:00:00 2001 From: Caleb Xu Date: Mon, 3 Feb 2025 22:57:37 -0500 Subject: [PATCH 001/322] Clean pod2man-generated manpages after formula build --- Library/Homebrew/build.rb | 7 +++++++ Library/Homebrew/keg.rb | 25 +++++++++++++++++++++++++ 2 files changed, 32 insertions(+) diff --git a/Library/Homebrew/build.rb b/Library/Homebrew/build.rb index ae869d5e08..af091b6112 100644 --- a/Library/Homebrew/build.rb +++ b/Library/Homebrew/build.rb @@ -185,6 +185,8 @@ class Build # Find and link metafiles formula.prefix.install_metafiles formula.buildpath formula.prefix.install_metafiles formula.libexec if formula.libexec.exist? + + normalize_pod2man_outputs!(formula) end end end @@ -214,6 +216,11 @@ class Build rescue raise "#{formula.opt_prefix} not present or broken\nPlease reinstall #{formula.full_name}. Sorry :(" end + + def normalize_pod2man_outputs!(formula) + keg = Keg.new(formula.prefix) + keg.normalize_pod2man_outputs! + end end begin diff --git a/Library/Homebrew/keg.rb b/Library/Homebrew/keg.rb index 0b0f67d256..bfc863f4d2 100644 --- a/Library/Homebrew/keg.rb +++ b/Library/Homebrew/keg.rb @@ -554,6 +554,31 @@ class Keg path.find { |pn| FileUtils.rm_rf pn if pn.basename.to_s == "__pycache__" } end + def normalize_pod2man_outputs! + manpages = Dir[path/"share/man/*/*"] + generated_regex = /^\.\\"\s*Automatically generated by .*\n/ + manpages.each do |f| + manpage = Pathname.new(f) + next unless manpage.file? + + content = manpage.read + content = content.gsub(generated_regex, "") + content = content.lines.map do |line| + next line unless line.start_with?(".TH") + + # Split the line by spaces, but preserve quoted strings + parts = line.split(/\s(?=(?:[^"]|"[^"]*")*$)/) + next line if parts.length != 6 + + # pod2man embeds the perl version used into the 5th field of the footer + T.must(parts[4]).gsub!(/^"perl v.*"$/, "\"\"") + "#{parts.join(" ")}\n" + end.join + + manpage.atomic_write(content) + end + end + def binary_executable_or_library_files [] end From e7e34c40f1f8135884b74b39c48971c4234fdb91 Mon Sep 17 00:00:00 2001 From: thibhero Date: Wed, 5 Feb 2025 19:06:09 -0500 Subject: [PATCH 002/322] Adding the function ask to check if option is present --- Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/install_cmd.rbi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/install_cmd.rbi b/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/install_cmd.rbi index 2bd0d91e02..c6967205e7 100644 --- a/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/install_cmd.rbi +++ b/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/install_cmd.rbi @@ -166,4 +166,7 @@ class Homebrew::Cmd::InstallCmd::Args < Homebrew::CLI::Args sig { returns(T::Boolean) } def zap?; end + + sig { returns(T::Boolean) } + def ask?; end end From 87492f8fbe7dca02b585d682d1fb7ad891d51d6e Mon Sep 17 00:00:00 2001 From: thibhero Date: Wed, 5 Feb 2025 20:50:05 -0500 Subject: [PATCH 003/322] fetching dependencies and calculating bottle and install size --- Library/Homebrew/cmd/install.rb | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/Library/Homebrew/cmd/install.rb b/Library/Homebrew/cmd/install.rb index cd31c888be..471d63a48c 100644 --- a/Library/Homebrew/cmd/install.rb +++ b/Library/Homebrew/cmd/install.rb @@ -120,6 +120,9 @@ module Homebrew [:switch, "--overwrite", { description: "Delete files that already exist in the prefix while linking.", }], + [:switch, "--ask", { + description: "Ask for confirmation before downloading and installing software. Print bottles and dependencies download size and install size.", + }] ].each do |args| options = args.pop send(*args, **options) @@ -302,6 +305,35 @@ module Homebrew Install.perform_preinstall_checks_once Install.check_cc_argv(args.cc) + if args.ask? + ohai "Looking for dependencies..." + installed_formulae.each do |f| + if (bottle = f.bottle) + begin + package = [] + bottle.fetch_tab(quiet: !args.debug?) + bottle_size = bottle.bottle_size + installed_size = bottle.installed_size + package.push(f, f.recursive_dependencies) + unless f.deps.empty? + puts "Packages : #{package.join(", ")}\n\n" + f.recursive_dependencies.each do |dep| + bottle = dep.to_formula.bottle + bottle.fetch_tab(quiet: !args.debug?) + bottle_size += bottle.bottle_size if bottle.bottle_size + installed_size += bottle.installed_size if bottle.installed_size + end + puts "Bottle Size: #{disk_usage_readable(bottle_size)}" if bottle_size + puts "Installed Size: #{disk_usage_readable(installed_size)}" if installed_size + return + end + rescue RuntimeError => e + odebug e + end + end + end + end + Install.install_formulae( installed_formulae, build_bottle: args.build_bottle?, From e47bdd9ad056eb2c0d3715428e1faf6199f00f84 Mon Sep 17 00:00:00 2001 From: thibhero Date: Wed, 5 Feb 2025 21:20:17 -0500 Subject: [PATCH 004/322] Getting input of user and proceeding the different output --- Library/Homebrew/cmd/install.rb | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) diff --git a/Library/Homebrew/cmd/install.rb b/Library/Homebrew/cmd/install.rb index 471d63a48c..23b647fcbe 100644 --- a/Library/Homebrew/cmd/install.rb +++ b/Library/Homebrew/cmd/install.rb @@ -305,6 +305,7 @@ module Homebrew Install.perform_preinstall_checks_once Install.check_cc_argv(args.cc) + # Showing dependencies and required size to install if args.ask? ohai "Looking for dependencies..." installed_formulae.each do |f| @@ -316,16 +317,28 @@ module Homebrew installed_size = bottle.installed_size package.push(f, f.recursive_dependencies) unless f.deps.empty? - puts "Packages : #{package.join(", ")}\n\n" f.recursive_dependencies.each do |dep| bottle = dep.to_formula.bottle bottle.fetch_tab(quiet: !args.debug?) bottle_size += bottle.bottle_size if bottle.bottle_size installed_size += bottle.installed_size if bottle.installed_size end - puts "Bottle Size: #{disk_usage_readable(bottle_size)}" if bottle_size - puts "Installed Size: #{disk_usage_readable(installed_size)}" if installed_size - return + end + puts "Packages : #{package.join(", ")}\n\n" + puts "Bottle Size: #{disk_usage_readable(bottle_size)}" if bottle_size + puts "Installed Size: #{disk_usage_readable(installed_size)}\n\n" if installed_size + ohai "Do you want to proceed with the installation? [Y/y/yes/N/n]" + loop do + result = STDIN.gets.chomp.strip.downcase + + if result == "y" || result == "yes" + puts "Proceeding with installation..." + break + elsif result == "n" + return + else + puts "Invalid input. Please enter 'Y', 'y', or 'yes' to proceed, or 'N' to abort." + end end rescue RuntimeError => e odebug e From f989e9a67489a7b0fb083e8a888c6dd6388ede60 Mon Sep 17 00:00:00 2001 From: thibhero Date: Wed, 5 Feb 2025 21:58:31 -0500 Subject: [PATCH 005/322] rearranging code to work with many formula and not only with last one --- Library/Homebrew/cmd/install.rb | 39 +++++++++++++++++---------------- 1 file changed, 20 insertions(+), 19 deletions(-) diff --git a/Library/Homebrew/cmd/install.rb b/Library/Homebrew/cmd/install.rb index 23b647fcbe..1a083b93c9 100644 --- a/Library/Homebrew/cmd/install.rb +++ b/Library/Homebrew/cmd/install.rb @@ -308,13 +308,15 @@ module Homebrew # Showing dependencies and required size to install if args.ask? ohai "Looking for dependencies..." + package = [] + bottle_size = 0 + installed_size = 0 installed_formulae.each do |f| if (bottle = f.bottle) begin - package = [] bottle.fetch_tab(quiet: !args.debug?) - bottle_size = bottle.bottle_size - installed_size = bottle.installed_size + bottle_size += bottle.bottle_size if bottle.bottle_size + installed_size += bottle.installed_size if bottle.installed_size package.push(f, f.recursive_dependencies) unless f.deps.empty? f.recursive_dependencies.each do |dep| @@ -324,27 +326,26 @@ module Homebrew installed_size += bottle.installed_size if bottle.installed_size end end - puts "Packages : #{package.join(", ")}\n\n" - puts "Bottle Size: #{disk_usage_readable(bottle_size)}" if bottle_size - puts "Installed Size: #{disk_usage_readable(installed_size)}\n\n" if installed_size - ohai "Do you want to proceed with the installation? [Y/y/yes/N/n]" - loop do - result = STDIN.gets.chomp.strip.downcase - - if result == "y" || result == "yes" - puts "Proceeding with installation..." - break - elsif result == "n" - return - else - puts "Invalid input. Please enter 'Y', 'y', or 'yes' to proceed, or 'N' to abort." - end - end rescue RuntimeError => e odebug e end end end + puts "Packages : #{package.join(", ")}\n\n" + puts "Bottle Size: #{disk_usage_readable(bottle_size)}" if bottle_size + puts "Installed Size: #{disk_usage_readable(installed_size)}\n\n" if installed_size + ohai "Do you want to proceed with the installation? [Y/y/yes/N/n]" + loop do + result = STDIN.gets.chomp.strip.downcase + if result == "y" || result == "yes" + puts "Proceeding with installation..." + break + elsif result == "n" + return + else + puts "Invalid input. Please enter 'Y', 'y', or 'yes' to proceed, or 'N' to abort." + end + end end Install.install_formulae( From c8a9cfa4d0165348ad1b3c7e735cb97179a3be8f Mon Sep 17 00:00:00 2001 From: thibhero Date: Thu, 6 Feb 2025 09:07:55 -0500 Subject: [PATCH 006/322] Add support for the HOMEBREW_ASK environment variable --- Library/Homebrew/cmd/install.rb | 2 +- Library/Homebrew/env_config.rb | 4 ++++ Library/Homebrew/sorbet/rbi/dsl/homebrew/env_config.rbi | 3 +++ 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/Library/Homebrew/cmd/install.rb b/Library/Homebrew/cmd/install.rb index 1a083b93c9..7649f52855 100644 --- a/Library/Homebrew/cmd/install.rb +++ b/Library/Homebrew/cmd/install.rb @@ -306,7 +306,7 @@ module Homebrew Install.check_cc_argv(args.cc) # Showing dependencies and required size to install - if args.ask? + if args.ask? || !Homebrew::EnvConfig.ask? ohai "Looking for dependencies..." package = [] bottle_size = 0 diff --git a/Library/Homebrew/env_config.rb b/Library/Homebrew/env_config.rb index 5a1e68207f..f91b3ac786 100644 --- a/Library/Homebrew/env_config.rb +++ b/Library/Homebrew/env_config.rb @@ -500,6 +500,10 @@ module Homebrew "of build provenance for bottles from homebrew-core.", boolean: true, }, + HOMEBREW_ASK: { + description: "If set, pass `--ask`to all formula install commands.", + boolean: true, + }, SUDO_ASKPASS: { description: "If set, pass the `-A` option when calling `sudo`(8).", }, diff --git a/Library/Homebrew/sorbet/rbi/dsl/homebrew/env_config.rbi b/Library/Homebrew/sorbet/rbi/dsl/homebrew/env_config.rbi index bc71d5feb7..a6a0e07bc0 100644 --- a/Library/Homebrew/sorbet/rbi/dsl/homebrew/env_config.rbi +++ b/Library/Homebrew/sorbet/rbi/dsl/homebrew/env_config.rbi @@ -315,5 +315,8 @@ module Homebrew::EnvConfig sig { returns(T::Boolean) } def verify_attestations?; end + + sig { returns(T::Boolean) } + def ask?; end end end From 2c4d404cdbbef8dd3f2fb7a9e2ae97b309ccf6c8 Mon Sep 17 00:00:00 2001 From: thibhero Date: Thu, 6 Feb 2025 09:26:52 -0500 Subject: [PATCH 007/322] Reordering by alphabetic order --- Library/Homebrew/env_config.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Library/Homebrew/env_config.rb b/Library/Homebrew/env_config.rb index f91b3ac786..4d4b8f5f79 100644 --- a/Library/Homebrew/env_config.rb +++ b/Library/Homebrew/env_config.rb @@ -48,6 +48,10 @@ module Homebrew "trying any other/default URLs.", boolean: true, }, + HOMEBREW_ASK: { + description: "If set, pass `--ask`to all formula install commands.", + 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, " \ @@ -500,10 +504,6 @@ module Homebrew "of build provenance for bottles from homebrew-core.", boolean: true, }, - HOMEBREW_ASK: { - description: "If set, pass `--ask`to all formula install commands.", - boolean: true, - }, SUDO_ASKPASS: { description: "If set, pass the `-A` option when calling `sudo`(8).", }, From 0d2afcffe613dca3ff76890c8d93ed341e045c42 Mon Sep 17 00:00:00 2001 From: thibhero Date: Thu, 6 Feb 2025 09:53:57 -0500 Subject: [PATCH 008/322] Erratum on environment variable if condition --- Library/Homebrew/cmd/install.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/cmd/install.rb b/Library/Homebrew/cmd/install.rb index 7649f52855..8a771e62f4 100644 --- a/Library/Homebrew/cmd/install.rb +++ b/Library/Homebrew/cmd/install.rb @@ -306,7 +306,7 @@ module Homebrew Install.check_cc_argv(args.cc) # Showing dependencies and required size to install - if args.ask? || !Homebrew::EnvConfig.ask? + if args.ask? || Homebrew::EnvConfig.ask? ohai "Looking for dependencies..." package = [] bottle_size = 0 From 0cc688f843bf8f1dacfef01c6941cd979f96d62e Mon Sep 17 00:00:00 2001 From: thibhero Date: Thu, 6 Feb 2025 12:37:19 -0500 Subject: [PATCH 009/322] resolving typecheck and final tests --- Library/Homebrew/cmd/install.rb | 43 ++++++++++++++++++--------------- Library/Homebrew/env_config.rb | 2 +- 2 files changed, 24 insertions(+), 21 deletions(-) diff --git a/Library/Homebrew/cmd/install.rb b/Library/Homebrew/cmd/install.rb index 8a771e62f4..d03615047b 100644 --- a/Library/Homebrew/cmd/install.rb +++ b/Library/Homebrew/cmd/install.rb @@ -121,8 +121,9 @@ module Homebrew description: "Delete files that already exist in the prefix while linking.", }], [:switch, "--ask", { - description: "Ask for confirmation before downloading and installing software. Print bottles and dependencies download size and install size.", - }] + description: "Ask for confirmation before downloading and installing software. " \ + "Print bottles and dependencies download size and install size.", + }], ].each do |args| options = args.pop send(*args, **options) @@ -312,35 +313,37 @@ module Homebrew bottle_size = 0 installed_size = 0 installed_formulae.each do |f| - if (bottle = f.bottle) - begin - bottle.fetch_tab(quiet: !args.debug?) - bottle_size += bottle.bottle_size if bottle.bottle_size - installed_size += bottle.installed_size if bottle.installed_size - package.push(f, f.recursive_dependencies) - unless f.deps.empty? - f.recursive_dependencies.each do |dep| - bottle = dep.to_formula.bottle - bottle.fetch_tab(quiet: !args.debug?) - bottle_size += bottle.bottle_size if bottle.bottle_size - installed_size += bottle.installed_size if bottle.installed_size - end + next unless (bottle = f.bottle) + + begin + bottle.fetch_tab(quiet: !args.debug?) + bottle_size += T.must(bottle.bottle_size) if bottle.bottle_size + installed_size += T.must(bottle.installed_size) if bottle.installed_size + package.push(f, f.recursive_dependencies) + unless f.deps.empty? + f.recursive_dependencies.each do |dep| + bottle_dep = dep.to_formula.bottle + bottle_dep.fetch_tab(quiet: !args.debug?) + bottle_size += bottle_dep.bottle_size if bottle_dep.bottle_size + installed_size += bottle_dep.installed_size if bottle_dep.installed_size end - rescue RuntimeError => e - odebug e end + rescue RuntimeError => e + odebug e end end puts "Packages : #{package.join(", ")}\n\n" puts "Bottle Size: #{disk_usage_readable(bottle_size)}" if bottle_size puts "Installed Size: #{disk_usage_readable(installed_size)}\n\n" if installed_size ohai "Do you want to proceed with the installation? [Y/y/yes/N/n]" + accepted_inputs = %w[y yes] + declined_inputs = %w[n no] loop do - result = STDIN.gets.chomp.strip.downcase - if result == "y" || result == "yes" + result = $stdin.gets.chomp.strip.downcase + if accepted_inputs.include?(result) puts "Proceeding with installation..." break - elsif result == "n" + elsif declined_inputs.include?(result) return else puts "Invalid input. Please enter 'Y', 'y', or 'yes' to proceed, or 'N' to abort." diff --git a/Library/Homebrew/env_config.rb b/Library/Homebrew/env_config.rb index 4d4b8f5f79..309f86bfa1 100644 --- a/Library/Homebrew/env_config.rb +++ b/Library/Homebrew/env_config.rb @@ -48,7 +48,7 @@ module Homebrew "trying any other/default URLs.", boolean: true, }, - HOMEBREW_ASK: { + HOMEBREW_ASK: { description: "If set, pass `--ask`to all formula install commands.", boolean: true, }, From bbd8aeb80f8904425ea67791da9d9fdc7d5cda35 Mon Sep 17 00:00:00 2001 From: thibhero Date: Fri, 7 Feb 2025 11:49:38 -0500 Subject: [PATCH 010/322] Applying the changes discussed --- Library/Homebrew/cmd/install.rb | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/Library/Homebrew/cmd/install.rb b/Library/Homebrew/cmd/install.rb index d03615047b..64b85daff1 100644 --- a/Library/Homebrew/cmd/install.rb +++ b/Library/Homebrew/cmd/install.rb @@ -121,8 +121,9 @@ module Homebrew description: "Delete files that already exist in the prefix while linking.", }], [:switch, "--ask", { - description: "Ask for confirmation before downloading and installing software. " \ + description: "Ask for confirmation before downloading and installing formulae. " \ "Print bottles and dependencies download size and install size.", + env: :install_ask, }], ].each do |args| options = args.pop @@ -308,10 +309,10 @@ module Homebrew # Showing dependencies and required size to install if args.ask? || Homebrew::EnvConfig.ask? - ohai "Looking for dependencies..." - package = [] - bottle_size = 0 - installed_size = 0 + ohai "Looking for bottle sizes..." + sized_formulae = [] + total_download_size = 0 + total_installed_size = 0 installed_formulae.each do |f| next unless (bottle = f.bottle) @@ -332,9 +333,9 @@ module Homebrew odebug e end end - puts "Packages : #{package.join(", ")}\n\n" - puts "Bottle Size: #{disk_usage_readable(bottle_size)}" if bottle_size - puts "Installed Size: #{disk_usage_readable(installed_size)}\n\n" if installed_size + puts "Formulae: #{sized_formulae(", ")}\n\n" + puts "Download Size: #{disk_usage_readable(total_download_size)}" if bottle_size + puts "Install Size: #{disk_usage_readable(total_installed_size)}\n" if installed_size ohai "Do you want to proceed with the installation? [Y/y/yes/N/n]" accepted_inputs = %w[y yes] declined_inputs = %w[n no] From f3c2d27cd04dc813c240c26cc8f819b1347963de Mon Sep 17 00:00:00 2001 From: thibhero Date: Fri, 7 Feb 2025 13:57:51 -0500 Subject: [PATCH 011/322] Updating env and option, now using --install-ask --- Library/Homebrew/env_config.rb | 4 ++-- Library/Homebrew/sorbet/rbi/dsl/homebrew/env_config.rbi | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Library/Homebrew/env_config.rb b/Library/Homebrew/env_config.rb index bdc89ed3da..b1049f7b24 100644 --- a/Library/Homebrew/env_config.rb +++ b/Library/Homebrew/env_config.rb @@ -48,8 +48,8 @@ module Homebrew "trying any other/default URLs.", boolean: true, }, - HOMEBREW_ASK: { - description: "If set, pass `--ask`to all formula install commands.", + HOMEBREW_INSTALL_ASK: { + description: "If set, pass `--install-ask`to all formula install commands.", boolean: true, }, HOMEBREW_AUTO_UPDATE_SECS: { diff --git a/Library/Homebrew/sorbet/rbi/dsl/homebrew/env_config.rbi b/Library/Homebrew/sorbet/rbi/dsl/homebrew/env_config.rbi index a6a0e07bc0..071c6a8dbc 100644 --- a/Library/Homebrew/sorbet/rbi/dsl/homebrew/env_config.rbi +++ b/Library/Homebrew/sorbet/rbi/dsl/homebrew/env_config.rbi @@ -317,6 +317,6 @@ module Homebrew::EnvConfig def verify_attestations?; end sig { returns(T::Boolean) } - def ask?; end + def install_ask?; end end end From be1a4c03af5d7feed02e2719e0db5edb862ea240 Mon Sep 17 00:00:00 2001 From: thibhero Date: Fri, 7 Feb 2025 14:02:53 -0500 Subject: [PATCH 012/322] optimising the code, removing begin block --- Library/Homebrew/cmd/install.rb | 70 +++++++++++++++++---------------- 1 file changed, 36 insertions(+), 34 deletions(-) diff --git a/Library/Homebrew/cmd/install.rb b/Library/Homebrew/cmd/install.rb index 64b85daff1..f309fdf980 100644 --- a/Library/Homebrew/cmd/install.rb +++ b/Library/Homebrew/cmd/install.rb @@ -120,7 +120,7 @@ module Homebrew [:switch, "--overwrite", { description: "Delete files that already exist in the prefix while linking.", }], - [:switch, "--ask", { + [:switch, "--install-ask", { description: "Ask for confirmation before downloading and installing formulae. " \ "Print bottles and dependencies download size and install size.", env: :install_ask, @@ -308,48 +308,31 @@ module Homebrew Install.check_cc_argv(args.cc) # Showing dependencies and required size to install - if args.ask? || Homebrew::EnvConfig.ask? + if args.install_ask? ohai "Looking for bottle sizes..." sized_formulae = [] total_download_size = 0 total_installed_size = 0 installed_formulae.each do |f| next unless (bottle = f.bottle) - - begin - bottle.fetch_tab(quiet: !args.debug?) - bottle_size += T.must(bottle.bottle_size) if bottle.bottle_size - installed_size += T.must(bottle.installed_size) if bottle.installed_size - package.push(f, f.recursive_dependencies) - unless f.deps.empty? - f.recursive_dependencies.each do |dep| - bottle_dep = dep.to_formula.bottle - bottle_dep.fetch_tab(quiet: !args.debug?) - bottle_size += bottle_dep.bottle_size if bottle_dep.bottle_size - installed_size += bottle_dep.installed_size if bottle_dep.installed_size - end + # keep it quiet as there could be a lot of json fetch, it’s not intuitive to show them all. + bottle.fetch_tab(quiet: !args.debug?) + total_download_size += T.must(bottle.bottle_size) if bottle.bottle_size + total_installed_size += T.must(bottle.installed_size) if bottle.installed_size + sized_formulae.push(f, f.recursive_dependencies) + unless f.deps.empty? + f.recursive_dependencies.each do |dep| + bottle_dep = dep.to_formula.bottle + bottle_dep.fetch_tab(quiet: !args.debug?) + total_download_size += bottle_dep.bottle_size if bottle_dep.bottle_size + total_installed_size += bottle_dep.installed_size if bottle_dep.installed_size end - rescue RuntimeError => e - odebug e - end - end - puts "Formulae: #{sized_formulae(", ")}\n\n" - puts "Download Size: #{disk_usage_readable(total_download_size)}" if bottle_size - puts "Install Size: #{disk_usage_readable(total_installed_size)}\n" if installed_size - ohai "Do you want to proceed with the installation? [Y/y/yes/N/n]" - accepted_inputs = %w[y yes] - declined_inputs = %w[n no] - loop do - result = $stdin.gets.chomp.strip.downcase - if accepted_inputs.include?(result) - puts "Proceeding with installation..." - break - elsif declined_inputs.include?(result) - return - else - puts "Invalid input. Please enter 'Y', 'y', or 'yes' to proceed, or 'N' to abort." end end + puts "Formulae: #{sized_formulae.join(", ")}\n\n" + puts "Download Size: #{disk_usage_readable(total_download_size)}" if total_download_size + puts "Install Size: #{disk_usage_readable(total_installed_size)}\n" if total_installed_size + ask_input end Install.install_formulae( @@ -466,6 +449,25 @@ module Homebrew odie "No #{package_types.join(" or ")} found for #{name}." end + + private + + def ask_input + ohai "Do you want to proceed with the installation? [Y/y/yes/N/n]" + accepted_inputs = %w[y yes] + declined_inputs = %w[n no] + loop do + result = $stdin.gets.chomp.strip.downcase + if accepted_inputs.include?(result) + puts "Proceeding with installation..." + break + elsif declined_inputs.include?(result) + return + else + puts "Invalid input. Please enter 'Y', 'y', or 'yes' to proceed, or 'N' to abort." + end + end + end end end end From 73758398e1de8aeeb05cf0aa60c9b672f6bb5093 Mon Sep 17 00:00:00 2001 From: thibhero Date: Fri, 7 Feb 2025 14:14:52 -0500 Subject: [PATCH 013/322] resolving typecheck error --- Library/Homebrew/cmd/install.rb | 38 ++++++++++++++++----------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/Library/Homebrew/cmd/install.rb b/Library/Homebrew/cmd/install.rb index f309fdf980..8abb00a84c 100644 --- a/Library/Homebrew/cmd/install.rb +++ b/Library/Homebrew/cmd/install.rb @@ -180,6 +180,25 @@ module Homebrew odisabled "brew install --env", "`env :std` in specific formula files" end + sig { returns(NilClass) } + + def ask_input + ohai "Do you want to proceed with the installation? [Y/y/yes/N/n]" + accepted_inputs = %w[y yes] + declined_inputs = %w[n no] + loop do + result = $stdin.gets.chomp.strip.downcase + if accepted_inputs.include?(result) + puts "Proceeding with installation..." + break + elsif declined_inputs.include?(result) + return + else + puts "Invalid input. Please enter 'Y', 'y', or 'yes' to proceed, or 'N' to abort." + end + end + end + args.named.each do |name| if (tap_with_name = Tap.with_formula_name(name)) tap, = tap_with_name @@ -449,25 +468,6 @@ module Homebrew odie "No #{package_types.join(" or ")} found for #{name}." end - - private - - def ask_input - ohai "Do you want to proceed with the installation? [Y/y/yes/N/n]" - accepted_inputs = %w[y yes] - declined_inputs = %w[n no] - loop do - result = $stdin.gets.chomp.strip.downcase - if accepted_inputs.include?(result) - puts "Proceeding with installation..." - break - elsif declined_inputs.include?(result) - return - else - puts "Invalid input. Please enter 'Y', 'y', or 'yes' to proceed, or 'N' to abort." - end - end - end end end end From 1992bb44b28300513a15da328fd8ef1e12d54c47 Mon Sep 17 00:00:00 2001 From: thibhero Date: Fri, 7 Feb 2025 14:15:41 -0500 Subject: [PATCH 014/322] moving `ask?` to `install_ask?` --- Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/install_cmd.rbi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/install_cmd.rbi b/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/install_cmd.rbi index c6967205e7..86f722e56a 100644 --- a/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/install_cmd.rbi +++ b/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/install_cmd.rbi @@ -168,5 +168,5 @@ class Homebrew::Cmd::InstallCmd::Args < Homebrew::CLI::Args def zap?; end sig { returns(T::Boolean) } - def ask?; end + def install_ask?; end end From 354849895ac6621c2cf4a0cafae3e277c63b9077 Mon Sep 17 00:00:00 2001 From: thibhero Date: Fri, 7 Feb 2025 14:39:22 -0500 Subject: [PATCH 015/322] changing `ask_input` function to lambda --- Library/Homebrew/cmd/install.rb | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/Library/Homebrew/cmd/install.rb b/Library/Homebrew/cmd/install.rb index 8abb00a84c..12dbc82b60 100644 --- a/Library/Homebrew/cmd/install.rb +++ b/Library/Homebrew/cmd/install.rb @@ -180,9 +180,7 @@ module Homebrew odisabled "brew install --env", "`env :std` in specific formula files" end - sig { returns(NilClass) } - - def ask_input + ask_input = lambda { ohai "Do you want to proceed with the installation? [Y/y/yes/N/n]" accepted_inputs = %w[y yes] declined_inputs = %w[n no] @@ -197,7 +195,7 @@ module Homebrew puts "Invalid input. Please enter 'Y', 'y', or 'yes' to proceed, or 'N' to abort." end end - end + } args.named.each do |name| if (tap_with_name = Tap.with_formula_name(name)) @@ -351,7 +349,7 @@ module Homebrew puts "Formulae: #{sized_formulae.join(", ")}\n\n" puts "Download Size: #{disk_usage_readable(total_download_size)}" if total_download_size puts "Install Size: #{disk_usage_readable(total_installed_size)}\n" if total_installed_size - ask_input + ask_input.call end Install.install_formulae( From bebbd6274e07e7176897282cd6a6e4a1764fd33b Mon Sep 17 00:00:00 2001 From: thibhero Date: Fri, 7 Feb 2025 15:10:27 -0500 Subject: [PATCH 016/322] corrected version for brew style --- Library/Homebrew/cmd/install.rb | 17 +++++++++-------- Library/Homebrew/env_config.rb | 8 ++++---- 2 files changed, 13 insertions(+), 12 deletions(-) diff --git a/Library/Homebrew/cmd/install.rb b/Library/Homebrew/cmd/install.rb index 12dbc82b60..6ff3790946 100644 --- a/Library/Homebrew/cmd/install.rb +++ b/Library/Homebrew/cmd/install.rb @@ -123,7 +123,7 @@ module Homebrew [:switch, "--install-ask", { description: "Ask for confirmation before downloading and installing formulae. " \ "Print bottles and dependencies download size and install size.", - env: :install_ask, + env: :install_ask, }], ].each do |args| options = args.pop @@ -332,18 +332,19 @@ module Homebrew total_installed_size = 0 installed_formulae.each do |f| next unless (bottle = f.bottle) + # keep it quiet as there could be a lot of json fetch, it’s not intuitive to show them all. bottle.fetch_tab(quiet: !args.debug?) total_download_size += T.must(bottle.bottle_size) if bottle.bottle_size total_installed_size += T.must(bottle.installed_size) if bottle.installed_size sized_formulae.push(f, f.recursive_dependencies) - unless f.deps.empty? - f.recursive_dependencies.each do |dep| - bottle_dep = dep.to_formula.bottle - bottle_dep.fetch_tab(quiet: !args.debug?) - total_download_size += bottle_dep.bottle_size if bottle_dep.bottle_size - total_installed_size += bottle_dep.installed_size if bottle_dep.installed_size - end + next if f.deps.empty? + + f.recursive_dependencies.each do |dep| + bottle_dep = dep.to_formula.bottle + bottle_dep.fetch_tab(quiet: !args.debug?) + total_download_size += bottle_dep.bottle_size if bottle_dep.bottle_size + total_installed_size += bottle_dep.installed_size if bottle_dep.installed_size end end puts "Formulae: #{sized_formulae.join(", ")}\n\n" diff --git a/Library/Homebrew/env_config.rb b/Library/Homebrew/env_config.rb index b1049f7b24..8b906ec51c 100644 --- a/Library/Homebrew/env_config.rb +++ b/Library/Homebrew/env_config.rb @@ -48,10 +48,6 @@ module Homebrew "trying any other/default URLs.", boolean: true, }, - HOMEBREW_INSTALL_ASK: { - description: "If set, pass `--install-ask`to all formula install commands.", - 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, " \ @@ -308,6 +304,10 @@ module Homebrew description: "Linux only: Set this value to a new enough `git` executable for Homebrew to use.", default: "git", }, + HOMEBREW_INSTALL_ASK: { + description: "If set, pass `--install-ask`to all formula install commands.", + boolean: true, + }, HOMEBREW_INSTALL_BADGE: { description: "Print this text before the installation summary of each successful build.", default_text: 'The "Beer Mug" emoji.', From 403887deb619213c429e5a1e8ad96e4314959a98 Mon Sep 17 00:00:00 2001 From: thibhero Date: Fri, 7 Feb 2025 15:23:36 -0500 Subject: [PATCH 017/322] moving back to `--ask` option --- Library/Homebrew/cmd/install.rb | 6 +++--- Library/Homebrew/env_config.rb | 8 ++++---- .../Homebrew/sorbet/rbi/dsl/homebrew/cmd/install_cmd.rbi | 2 +- Library/Homebrew/sorbet/rbi/dsl/homebrew/env_config.rbi | 2 +- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/Library/Homebrew/cmd/install.rb b/Library/Homebrew/cmd/install.rb index 6ff3790946..91800deee6 100644 --- a/Library/Homebrew/cmd/install.rb +++ b/Library/Homebrew/cmd/install.rb @@ -120,10 +120,10 @@ module Homebrew [:switch, "--overwrite", { description: "Delete files that already exist in the prefix while linking.", }], - [:switch, "--install-ask", { + [:switch, "--ask", { description: "Ask for confirmation before downloading and installing formulae. " \ "Print bottles and dependencies download size and install size.", - env: :install_ask, + env: :ask, }], ].each do |args| options = args.pop @@ -325,7 +325,7 @@ module Homebrew Install.check_cc_argv(args.cc) # Showing dependencies and required size to install - if args.install_ask? + if args.ask? ohai "Looking for bottle sizes..." sized_formulae = [] total_download_size = 0 diff --git a/Library/Homebrew/env_config.rb b/Library/Homebrew/env_config.rb index 8b906ec51c..bdc89ed3da 100644 --- a/Library/Homebrew/env_config.rb +++ b/Library/Homebrew/env_config.rb @@ -48,6 +48,10 @@ module Homebrew "trying any other/default URLs.", boolean: true, }, + HOMEBREW_ASK: { + description: "If set, pass `--ask`to all formula install commands.", + 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, " \ @@ -304,10 +308,6 @@ module Homebrew description: "Linux only: Set this value to a new enough `git` executable for Homebrew to use.", default: "git", }, - HOMEBREW_INSTALL_ASK: { - description: "If set, pass `--install-ask`to all formula install commands.", - boolean: true, - }, HOMEBREW_INSTALL_BADGE: { description: "Print this text before the installation summary of each successful build.", default_text: 'The "Beer Mug" emoji.', diff --git a/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/install_cmd.rbi b/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/install_cmd.rbi index 86f722e56a..c6967205e7 100644 --- a/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/install_cmd.rbi +++ b/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/install_cmd.rbi @@ -168,5 +168,5 @@ class Homebrew::Cmd::InstallCmd::Args < Homebrew::CLI::Args def zap?; end sig { returns(T::Boolean) } - def install_ask?; end + def ask?; end end diff --git a/Library/Homebrew/sorbet/rbi/dsl/homebrew/env_config.rbi b/Library/Homebrew/sorbet/rbi/dsl/homebrew/env_config.rbi index 071c6a8dbc..a6a0e07bc0 100644 --- a/Library/Homebrew/sorbet/rbi/dsl/homebrew/env_config.rbi +++ b/Library/Homebrew/sorbet/rbi/dsl/homebrew/env_config.rbi @@ -317,6 +317,6 @@ module Homebrew::EnvConfig def verify_attestations?; end sig { returns(T::Boolean) } - def install_ask?; end + def ask?; end end end From 0fc1eb534ba942c19cfbbbe02f74fdb9b12c6651 Mon Sep 17 00:00:00 2001 From: Issy Long Date: Sat, 1 Feb 2025 23:54:35 +0000 Subject: [PATCH 018/322] More Sorbet `typed: strict` RuboCops - Some of these I bumped to `typed: strict`, some of them I added intermediary type signatures to some of the methods to make my life easier in the (near, hopefully) future. - Turns out that RuboCop node matchers that end in `?` can return `nil` if they don't match anything, not `false`. --- Library/Homebrew/rubocops/blank.rb | 7 +- Library/Homebrew/rubocops/bottle.rb | 4 +- .../rubocops/cask/array_alphabetization.rb | 1 + Library/Homebrew/rubocops/checksum.rb | 11 +-- Library/Homebrew/rubocops/compact_blank.rb | 4 + Library/Homebrew/rubocops/conflicts.rb | 6 +- .../Homebrew/rubocops/deprecate_disable.rb | 6 +- Library/Homebrew/rubocops/desc.rb | 4 +- .../Homebrew/rubocops/extend/formula_cop.rb | 74 ++++++++++++++----- Library/Homebrew/rubocops/io_read.rb | 6 +- Library/Homebrew/rubocops/keg_only.rb | 9 ++- Library/Homebrew/rubocops/lines.rb | 74 +++++++++++-------- .../Homebrew/rubocops/move_to_extend_os.rb | 3 +- Library/Homebrew/rubocops/negate_include.rb | 3 +- Library/Homebrew/rubocops/patches.rb | 22 ++++-- Library/Homebrew/rubocops/presence.rb | 1 + Library/Homebrew/rubocops/present.rb | 8 +- .../rubocops/safe_navigation_with_blank.rb | 3 +- Library/Homebrew/rubocops/service.rb | 21 +++--- .../Homebrew/rubocops/shared/desc_helper.rb | 5 +- .../rubocops/shared/helper_functions.rb | 6 +- .../rubocops/shared/homepage_helper.rb | 11 ++- .../shared/on_system_conditionals_helper.rb | 67 +++++++++++++++-- Library/Homebrew/rubocops/shell_commands.rb | 9 ++- Library/Homebrew/rubocops/text.rb | 6 +- Library/Homebrew/rubocops/urls.rb | 2 +- Library/Homebrew/rubocops/uses_from_macos.rb | 2 +- 27 files changed, 260 insertions(+), 115 deletions(-) diff --git a/Library/Homebrew/rubocops/blank.rb b/Library/Homebrew/rubocops/blank.rb index f71839eafb..d0efa0bf82 100644 --- a/Library/Homebrew/rubocops/blank.rb +++ b/Library/Homebrew/rubocops/blank.rb @@ -1,4 +1,4 @@ -# typed: true # rubocop:todo Sorbet/StrictSigil +# typed: strict # frozen_string_literal: true module RuboCop @@ -44,6 +44,7 @@ module RuboCop ) PATTERN + sig { params(node: RuboCop::AST::Node).void } def on_or(node) nil_or_empty?(node) do |var1, var2| return if var1 != var2 @@ -57,14 +58,16 @@ module RuboCop private + sig { params(corrector: RuboCop::Cop::Corrector, node: RuboCop::AST::Node).void } def autocorrect(corrector, node) variable1, _variable2 = nil_or_empty?(node) range = node.source_range corrector.replace(range, replacement(variable1)) end + sig { params(node: T.nilable(RuboCop::AST::Node)).returns(String) } def replacement(node) - node.respond_to?(:source) ? "#{node.source}.blank?" : "blank?" + node.respond_to?(:source) ? "#{node&.source}.blank?" : "blank?" end end end diff --git a/Library/Homebrew/rubocops/bottle.rb b/Library/Homebrew/rubocops/bottle.rb index 0255f1e4ae..e6de4adc11 100644 --- a/Library/Homebrew/rubocops/bottle.rb +++ b/Library/Homebrew/rubocops/bottle.rb @@ -1,4 +1,4 @@ -# typed: true # rubocop:todo Sorbet/StrictSigil +# typed: strict # frozen_string_literal: true require "rubocops/extend/formula_cop" @@ -174,12 +174,14 @@ module RuboCop end end + sig { params(nodes: T::Array[RuboCop::AST::SendNode]).returns(T::Array[T.any(String, Symbol)]) } def sha256_order(nodes) nodes.map do |node| sha256_bottle_tag node end end + sig { params(node: AST::SendNode).returns(T.any(String, Symbol)) } def sha256_bottle_tag(node) hash_pair = node.last_argument.pairs.last if hash_pair.key.sym_type? diff --git a/Library/Homebrew/rubocops/cask/array_alphabetization.rb b/Library/Homebrew/rubocops/cask/array_alphabetization.rb index 2237052fce..6f2f60d71b 100644 --- a/Library/Homebrew/rubocops/cask/array_alphabetization.rb +++ b/Library/Homebrew/rubocops/cask/array_alphabetization.rb @@ -7,6 +7,7 @@ module RuboCop class ArrayAlphabetization < Base extend AutoCorrector + sig { params(node: RuboCop::AST::SendNode).void } def on_send(node) return unless [:zap, :uninstall].include?(node.method_name) diff --git a/Library/Homebrew/rubocops/checksum.rb b/Library/Homebrew/rubocops/checksum.rb index c1776b2d74..44d749db0d 100644 --- a/Library/Homebrew/rubocops/checksum.rb +++ b/Library/Homebrew/rubocops/checksum.rb @@ -1,4 +1,4 @@ -# typed: true # rubocop:todo Sorbet/StrictSigil +# typed: strict # frozen_string_literal: true require "rubocops/extend/formula_cop" @@ -23,6 +23,7 @@ module RuboCop end end + sig { params(checksum: T.nilable(RuboCop::AST::Node)).void } def audit_sha256(checksum) return if checksum.nil? @@ -37,7 +38,7 @@ module RuboCop return unless regex_match_group(checksum, /[^a-f0-9]+/i) - add_offense(@offensive_source_range, message: "sha256 contains invalid characters") + add_offense(T.must(@offensive_source_range), message: "sha256 contains invalid characters") end end @@ -54,9 +55,9 @@ module RuboCop next unless regex_match_group(checksum, /[A-F]+/) add_offense(@offensive_source_range, message: "sha256 should be lowercase") do |corrector| - correction = @offensive_node.source.downcase - corrector.insert_before(@offensive_node.source_range, correction) - corrector.remove(@offensive_node.source_range) + correction = T.must(@offensive_node).source.downcase + corrector.insert_before(T.must(@offensive_node).source_range, correction) + corrector.remove(T.must(@offensive_node).source_range) end end end diff --git a/Library/Homebrew/rubocops/compact_blank.rb b/Library/Homebrew/rubocops/compact_blank.rb index b020db3447..ed3f17011a 100644 --- a/Library/Homebrew/rubocops/compact_blank.rb +++ b/Library/Homebrew/rubocops/compact_blank.rb @@ -62,6 +62,7 @@ module RuboCop (sym :blank?))) PATTERN + sig { params(node: RuboCop::AST::SendNode).void } def on_send(node) return unless bad_method?(node) @@ -74,6 +75,7 @@ module RuboCop private + sig { params(node: RuboCop::AST::SendNode).returns(T::Boolean) } def bad_method?(node) return true if reject_with_block_pass?(node) @@ -93,6 +95,7 @@ module RuboCop arguments.length == 2 && arguments[1].source == receiver_in_block.source end + sig { params(node: RuboCop::AST::SendNode).returns(Parser::Source::Range) } def offense_range(node) end_pos = if node.parent&.block_type? && node.parent&.send_node == node node.parent.source_range.end_pos @@ -103,6 +106,7 @@ module RuboCop range_between(node.loc.selector.begin_pos, end_pos) end + sig { params(node: RuboCop::AST::SendNode).returns(String) } def preferred_method(node) node.method?(:reject) ? "compact_blank" : "compact_blank!" end diff --git a/Library/Homebrew/rubocops/conflicts.rb b/Library/Homebrew/rubocops/conflicts.rb index 36eadf0465..f7ee2f9124 100644 --- a/Library/Homebrew/rubocops/conflicts.rb +++ b/Library/Homebrew/rubocops/conflicts.rb @@ -1,4 +1,4 @@ -# typed: true # rubocop:todo Sorbet/StrictSigil +# typed: strict # frozen_string_literal: true require "rubocops/extend/formula_cop" @@ -22,7 +22,7 @@ module RuboCop reason = parameters(conflicts_with_call).last.values.first offending_node(reason) - name = Regexp.new(@formula_name, Regexp::IGNORECASE) + name = Regexp.new(T.must(@formula_name), Regexp::IGNORECASE) reason_text = string_content(reason).sub(name, "") first_word = reason_text.split.first @@ -45,7 +45,7 @@ module RuboCop if !tap_style_exception?(:versioned_formulae_conflicts_allowlist) && method_called_ever?(body_node, :conflicts_with) problem MSG do |corrector| - corrector.replace(@offensive_node.source_range, "keg_only :versioned_formula") + corrector.replace(T.must(@offensive_node).source_range, "keg_only :versioned_formula") end end end diff --git a/Library/Homebrew/rubocops/deprecate_disable.rb b/Library/Homebrew/rubocops/deprecate_disable.rb index 127ec5de57..4078f910a9 100644 --- a/Library/Homebrew/rubocops/deprecate_disable.rb +++ b/Library/Homebrew/rubocops/deprecate_disable.rb @@ -1,4 +1,4 @@ -# typed: true # rubocop:todo Sorbet/StrictSigil +# typed: strict # frozen_string_literal: true require "rubocops/extend/formula_cop" @@ -61,13 +61,13 @@ module RuboCop if reason_string.start_with?("it ") problem "Do not start the reason with `it`" do |corrector| - corrector.replace(@offensive_node.source_range, "\"#{reason_string[3..]}\"") + corrector.replace(T.must(@offensive_node).source_range, "\"#{reason_string[3..]}\"") end end if PUNCTUATION_MARKS.include?(reason_string[-1]) problem "Do not end the reason with a punctuation mark" do |corrector| - corrector.replace(@offensive_node.source_range, "\"#{reason_string.chop}\"") + corrector.replace(T.must(@offensive_node).source_range, "\"#{reason_string.chop}\"") end end end diff --git a/Library/Homebrew/rubocops/desc.rb b/Library/Homebrew/rubocops/desc.rb index c68ac5d8e8..ca3da3ffd7 100644 --- a/Library/Homebrew/rubocops/desc.rb +++ b/Library/Homebrew/rubocops/desc.rb @@ -1,4 +1,4 @@ -# typed: true # rubocop:todo Sorbet/StrictSigil +# typed: strict # frozen_string_literal: true require "rubocops/extend/formula_cop" @@ -17,7 +17,7 @@ module RuboCop def audit_formula(formula_nodes) body_node = formula_nodes.body_node - @name = @formula_name + @name = T.let(@formula_name, T.nilable(String)) desc_call = find_node_method_by_name(body_node, :desc) offending_node(formula_nodes.class_node) if body_node.nil? audit_desc(:formula, @name, desc_call) diff --git a/Library/Homebrew/rubocops/extend/formula_cop.rb b/Library/Homebrew/rubocops/extend/formula_cop.rb index bc771d8523..47cdbc3ed3 100644 --- a/Library/Homebrew/rubocops/extend/formula_cop.rb +++ b/Library/Homebrew/rubocops/extend/formula_cop.rb @@ -1,4 +1,4 @@ -# typed: true # rubocop:todo Sorbet/StrictSigil +# typed: strict # frozen_string_literal: true require "rubocops/shared/helper_functions" @@ -14,9 +14,10 @@ module RuboCop abstract! exclude_from_registry + sig { returns(T.nilable(String)) } attr_accessor :file_path - @registry = Registry.global + @registry = T.let(Registry.global, RuboCop::Cop::Registry) class FormulaNodes < T::Struct prop :node, RuboCop::AST::ClassNode @@ -26,15 +27,18 @@ module RuboCop end # This method is called by RuboCop and is the main entry point. + sig { params(node: RuboCop::AST::ClassNode).void } def on_class(node) - @file_path = processed_source.file_path + @file_path = T.let(processed_source.file_path, T.nilable(String)) return unless file_path_allowed? return unless formula_class?(node) - class_node, parent_class_node, @body = *node - @formula_name = Pathname.new(@file_path).basename(".rb").to_s - @tap_style_exceptions = nil - audit_formula(FormulaNodes.new(node:, class_node:, parent_class_node:, body_node: @body)) + class_node, parent_class_node, body = *node + @body = T.let(body, T.nilable(RuboCop::AST::Node)) + + @formula_name = T.let(Pathname.new(@file_path).basename(".rb").to_s, T.nilable(String)) + @tap_style_exceptions = T.let(nil, T.nilable(T::Hash[Symbol, T::Array[String]])) + audit_formula(FormulaNodes.new(node:, class_node:, parent_class_node:, body_node: T.must(@body))) end sig { abstract.params(formula_nodes: FormulaNodes).void } @@ -44,7 +48,13 @@ module RuboCop # # @param urls [Array] url/mirror method call nodes # @param regex [Regexp] pattern to match URLs - def audit_urls(urls, regex) + sig { + params( + urls: T::Array[RuboCop::AST::Node], regex: Regexp, + _block: T.proc.params(arg0: T::Array[RuboCop::AST::Node], arg1: String, arg2: Integer).void + ).void + } + def audit_urls(urls, regex, &_block) urls.each_with_index do |url_node, index| url_string_node = parameters(url_node).first url_string = string_content(url_string_node) @@ -59,6 +69,7 @@ module RuboCop # Returns if the formula depends on dependency_name. # # @param dependency_name dependency's name + sig { params(dependency_name: T.any(String, Symbol), types: Symbol).returns(T::Boolean) } def depends_on?(dependency_name, *types) return false if @body.nil? @@ -69,13 +80,20 @@ module RuboCop end return false if idx.nil? - @offensive_node = dependency_nodes[idx] + @offensive_node = T.let(dependency_nodes[idx], T.nilable(RuboCop::AST::Node)) true end # Returns true if given dependency name and dependency type exist in given dependency method call node. # TODO: Add case where key of hash is an array + sig { + params( + node: RuboCop::AST::Node, name: T.nilable(T.any(String, Symbol)), type: Symbol, + ).returns( + T::Boolean, + ) + } def depends_on_name_type?(node, name = nil, type = :required) name_match = !name # Match only by type when name is nil @@ -88,8 +106,8 @@ module RuboCop name_match ||= dependency_name_hash_match?(node, name) if type_match when :any type_match = true - name_match ||= required_dependency_name?(node, name) - name_match ||= dependency_name_hash_match?(node, name) + name_match ||= required_dependency_name?(node, name) || false + name_match ||= dependency_name_hash_match?(node, name) || false else type_match = false end @@ -115,13 +133,15 @@ module RuboCop EOS # Return all the caveats' string nodes in an array. + sig { returns(T::Array[RuboCop::AST::Node]) } def caveats_strings return [] if @body.nil? - find_strings(find_method_def(@body, :caveats)) + find_strings(find_method_def(@body, :caveats)).to_a end # Returns the sha256 str node given a sha256 call node. + sig { params(call: RuboCop::AST::Node).returns(T.nilable(RuboCop::AST::Node)) } def get_checksum_node(call) return if parameters(call).empty? || parameters(call).nil? @@ -144,7 +164,8 @@ module RuboCop end # Yields to a block with comment text as parameter. - def audit_comments + sig { params(_block: T.proc.params(arg0: String).void).void } + def audit_comments(&_block) processed_source.comments.each do |comment_node| @offensive_node = comment_node yield comment_node.text @@ -152,20 +173,26 @@ module RuboCop end # Returns true if the formula is versioned. + sig { returns(T::Boolean) } def versioned_formula? + return false if @formula_name.nil? + @formula_name.include?("@") end # Returns the formula tap. + sig { returns(T.nilable(String)) } def formula_tap - return unless (match_obj = @file_path.match(%r{/(homebrew-\w+)/})) + return unless (match_obj = @file_path&.match(%r{/(homebrew-\w+)/})) match_obj[1] end # Returns the style exceptions directory from the file path. + sig { returns(T.nilable(String)) } def style_exceptions_dir - file_directory = File.dirname(@file_path) + file_directory = File.dirname(@file_path) if @file_path + return unless file_directory # if we're in a sharded subdirectory, look below that. directory_name = File.basename(file_directory) @@ -189,6 +216,7 @@ module RuboCop # Returns whether the given formula exists in the given style exception list. # Defaults to the current formula being checked. + sig { params(list: Symbol, formula: T.nilable(String)).returns(T::Boolean) } def tap_style_exception?(list, formula = nil) if @tap_style_exceptions.nil? && !formula_tap.nil? @tap_style_exceptions = {} @@ -209,11 +237,12 @@ module RuboCop return false if @tap_style_exceptions.nil? || @tap_style_exceptions.count.zero? return false unless @tap_style_exceptions.key? list - @tap_style_exceptions[list].include?(formula || @formula_name) + T.must(@tap_style_exceptions[list]).include?(formula || @formula_name) end private + sig { params(node: RuboCop::AST::Node).returns(T::Boolean) } def formula_class?(node) _, class_node, = *node class_names = %w[ @@ -223,19 +252,24 @@ module RuboCop AmazonWebServicesFormula ] - class_node && class_names.include?(string_content(class_node)) + !!(class_node && class_names.include?(string_content(class_node))) end + sig { returns(T::Boolean) } def file_path_allowed? return true if @file_path.nil? # file_path is nil when source is directly passed to the cop, e.g. in specs !@file_path.include?("/Library/Homebrew/test/") end + sig { returns(T::Array[Symbol]) } def on_system_methods - @on_system_methods ||= [:intel, :arm, :macos, :linux, :system, *MacOSVersion::SYMBOLS.keys].map do |m| - :"on_#{m}" - end + @on_system_methods ||= T.let( + [:intel, :arm, :macos, :linux, :system, *MacOSVersion::SYMBOLS.keys].map do |m| + :"on_#{m}" + end, + T.nilable(T::Array[Symbol]), + ) end end end diff --git a/Library/Homebrew/rubocops/io_read.rb b/Library/Homebrew/rubocops/io_read.rb index 7e20f3e7b5..4eb74b39ec 100644 --- a/Library/Homebrew/rubocops/io_read.rb +++ b/Library/Homebrew/rubocops/io_read.rb @@ -1,4 +1,4 @@ -# typed: true # rubocop:todo Sorbet/StrictSigil +# typed: strict # frozen_string_literal: true module RuboCop @@ -10,6 +10,7 @@ module RuboCop RESTRICT_ON_SEND = [:read, :readlines].freeze + sig { params(node: RuboCop::AST::SendNode).void } def on_send(node) return if node.receiver != s(:const, nil, :IO) return if safe?(node.arguments.first) @@ -19,10 +20,11 @@ module RuboCop private + sig { params(node: RuboCop::AST::Node).returns(T::Boolean) } def safe?(node) if node.str_type? !node.str_content.empty? && !node.str_content.start_with?("|") - elsif node.dstr_type? || (node.send_type? && node.method?(:+)) + elsif node.dstr_type? || (node.send_type? && T.cast(node, RuboCop::AST::SendNode).method?(:+)) safe?(node.children.first) else false diff --git a/Library/Homebrew/rubocops/keg_only.rb b/Library/Homebrew/rubocops/keg_only.rb index 765f05ba3b..309d8f1d66 100644 --- a/Library/Homebrew/rubocops/keg_only.rb +++ b/Library/Homebrew/rubocops/keg_only.rb @@ -1,4 +1,4 @@ -# typed: true # rubocop:todo Sorbet/StrictSigil +# typed: strict # frozen_string_literal: true require "rubocops/extend/formula_cop" @@ -29,24 +29,25 @@ module RuboCop reason = parameters(keg_only_node).first offending_node(reason) - name = Regexp.new(@formula_name, Regexp::IGNORECASE) + name = Regexp.new(T.must(@formula_name), Regexp::IGNORECASE) reason = string_content(reason).sub(name, "") first_word = reason.split.first if /\A[A-Z]/.match?(reason) && !reason.start_with?(*allowlist) problem "'#{first_word}' from the `keg_only` reason should be '#{first_word.downcase}'." do |corrector| reason[0] = reason[0].downcase - corrector.replace(@offensive_node.source_range, "\"#{reason}\"") + corrector.replace(T.must(@offensive_node).source_range, "\"#{reason}\"") end end return unless reason.end_with?(".") problem "`keg_only` reason should not end with a period." do |corrector| - corrector.replace(@offensive_node.source_range, "\"#{reason.chop}\"") + corrector.replace(T.must(@offensive_node).source_range, "\"#{reason.chop}\"") end end + sig { params(node: RuboCop::AST::Node).void } def autocorrect(node) lambda do |corrector| reason = string_content(node) diff --git a/Library/Homebrew/rubocops/lines.rb b/Library/Homebrew/rubocops/lines.rb index 599e31d650..0e3e0edbb1 100644 --- a/Library/Homebrew/rubocops/lines.rb +++ b/Library/Homebrew/rubocops/lines.rb @@ -40,7 +40,7 @@ module RuboCop return if begin_pos-end_pos == 3 problem "Use a space in class inheritance: " \ - "class #{@formula_name.capitalize} < #{class_name(parent_class_node)}" + "class #{T.must(@formula_name).capitalize} < #{class_name(parent_class_node)}" end end @@ -181,9 +181,11 @@ module RuboCop end end + sig { params(node: RuboCop::AST::Node).returns(T::Boolean) } def unless_modifier?(node) return false unless node.if_type? + node = T.cast(node, RuboCop::AST::IfNode) node.modifier_form? && node.unless? end @@ -207,8 +209,8 @@ module RuboCop find_method_with_args(body_node, :depends_on, "mpich") do problem "Formulae in homebrew/core should use 'depends_on \"open-mpi\"' " \ - "instead of '#{@offensive_node.source}'." do |corrector| - corrector.replace(@offensive_node.source_range, "depends_on \"open-mpi\"") + "instead of '#{T.must(@offensive_node).source}'." do |corrector| + corrector.replace(T.must(@offensive_node).source_range, "depends_on \"open-mpi\"") end end end @@ -224,17 +226,19 @@ module RuboCop return if (body_node = formula_nodes.body_node).nil? find_method_with_args(body_node, :local_npm_install_args) do - problem "Use 'std_npm_args' instead of '#{@offensive_node.method_name}'." do |corrector| - corrector.replace(@offensive_node.source_range, "std_npm_args(prefix: false)") + problem "Use 'std_npm_args' instead of '#{T.cast(@offensive_node, + RuboCop::AST::SendNode).method_name}'." do |corrector| + corrector.replace(T.must(@offensive_node).source_range, "std_npm_args(prefix: false)") end end find_method_with_args(body_node, :std_npm_install_args) do |method| - problem "Use 'std_npm_args' instead of '#{@offensive_node.method_name}'." do |corrector| + problem "Use 'std_npm_args' instead of '#{T.cast(@offensive_node, + RuboCop::AST::SendNode).method_name}'." do |corrector| if (param = parameters(method).first.source) == "libexec" - corrector.replace(@offensive_node.source_range, "std_npm_args") + corrector.replace(T.must(@offensive_node).source_range, "std_npm_args") else - corrector.replace(@offensive_node.source_range, "std_npm_args(prefix: #{param})") + corrector.replace(T.must(@offensive_node).source_range, "std_npm_args(prefix: #{param})") end end end @@ -264,8 +268,8 @@ module RuboCop find_method_with_args(body_node, :depends_on, "quictls") do problem "Formulae in homebrew/core should use 'depends_on \"openssl@3\"' " \ - "instead of '#{@offensive_node.source}'." do |corrector| - corrector.replace(@offensive_node.source_range, "depends_on \"openssl@3\"") + "instead of '#{T.must(@offensive_node).source}'." do |corrector| + corrector.replace(T.must(@offensive_node).source_range, "depends_on \"openssl@3\"") end end end @@ -281,7 +285,7 @@ module RuboCop return if formula_tap != "homebrew-core" return unless depends_on?("pyoxidizer") - problem "Formulae in homebrew/core should not use '#{@offensive_node.source}'." + problem "Formulae in homebrew/core should not use '#{T.must(@offensive_node).source}'." end end @@ -307,7 +311,8 @@ module RuboCop find_instance_method_call(body_node, "Utils", unsafe_command) do |method| unless test_methods.include?(method.source_range) problem "Use `Utils.safe_#{unsafe_command}` instead of `Utils.#{unsafe_command}`" do |corrector| - corrector.replace(@offensive_node.loc.selector, "safe_#{@offensive_node.method_name}") + corrector.replace(T.must(@offensive_node).loc.selector, + "safe_#{T.cast(@offensive_node, RuboCop::AST::SendNode).method_name}") end end end @@ -478,7 +483,10 @@ module RuboCop class MacOSOnLinux < FormulaCop include OnSystemConditionalsHelper - ON_MACOS_BLOCKS = [:macos, *MACOS_VERSION_OPTIONS].map { |os| :"on_#{os}" }.freeze + ON_MACOS_BLOCKS = T.let( + [:macos, *MACOS_VERSION_OPTIONS].map { |os| :"on_#{os}" }.freeze, + T::Array[Symbol], + ) sig { override.params(formula_nodes: FormulaNodes).void } def audit_formula(formula_nodes) @@ -529,8 +537,8 @@ module RuboCop offending_node(node) replacement = "generate_completions_from_executable(#{replacement_args.join(", ")})" - problem "Use `#{replacement}` instead of `#{@offensive_node.source}`." do |corrector| - corrector.replace(@offensive_node.source_range, replacement) + problem "Use `#{replacement}` instead of `#{T.must(@offensive_node).source}`." do |corrector| + corrector.replace(T.must(@offensive_node).source_range, replacement) end end @@ -539,7 +547,7 @@ module RuboCop next if node.source.match?(/{.*=>.*}/) # skip commands needing custom ENV variables offending_node(node) - problem "Use `generate_completions_from_executable` DSL instead of `#{@offensive_node.source}`." + problem "Use `generate_completions_from_executable` DSL instead of `#{T.must(@offensive_node).source}`." end end @@ -608,7 +616,7 @@ module RuboCop problem "Use a single `generate_completions_from_executable` " \ "call combining all specified shells." do |corrector| # adjust range by -4 and +1 to also include & remove leading spaces and trailing \n - corrector.replace(@offensive_node.source_range.adjust(begin_pos: -4, end_pos: 1), "") + corrector.replace(T.must(@offensive_node).source_range.adjust(begin_pos: -4, end_pos: 1), "") end end @@ -616,17 +624,18 @@ module RuboCop offending_node(offenses.last) replacement = if (%w[:bash :zsh :fish] - shells).empty? - @offensive_node.source.sub(/shells: \[(:bash|:zsh|:fish)\]/, "") - .sub(", )", ")") # clean up dangling trailing comma - .sub("(, ", "(") # clean up dangling leading comma - .sub(", , ", ", ") # clean up dangling enclosed comma + T.must(@offensive_node).source + .sub(/shells: \[(:bash|:zsh|:fish)\]/, "") + .sub(", )", ")") # clean up dangling trailing comma + .sub("(, ", "(") # clean up dangling leading comma + .sub(", , ", ", ") # clean up dangling enclosed comma else - @offensive_node.source.sub(/shells: \[(:bash|:zsh|:fish)\]/, - "shells: [#{shells.join(", ")}]") + T.must(@offensive_node).source.sub(/shells: \[(:bash|:zsh|:fish)\]/, + "shells: [#{shells.join(", ")}]") end - problem "Use `#{replacement}` instead of `#{@offensive_node.source}`." do |corrector| - corrector.replace(@offensive_node.source_range, replacement) + problem "Use `#{replacement}` instead of `#{T.must(@offensive_node).source}`." do |corrector| + corrector.replace(T.must(@offensive_node).source_range, replacement) end end end @@ -783,7 +792,7 @@ module RuboCop end find_method_with_args(body_node, :system, /^(otool|install_name_tool|lipo)/) do - problem "Use ruby-macho instead of calling #{@offensive_node.source}" + problem "Use ruby-macho instead of calling #{T.must(@offensive_node).source}" end problem "Use new-style test definitions (test do)" if find_method_def(body_node, :test) @@ -854,10 +863,11 @@ module RuboCop end end + sig { params(node: RuboCop::AST::Node).returns(T::Boolean) } def modifier?(node) return false unless node.if_type? - node.modifier_form? + T.cast(node, RuboCop::AST::IfNode).modifier_form? end def_node_search :conditional_dependencies, <<~EOS @@ -892,7 +902,7 @@ module RuboCop # Avoid build-time checks in homebrew/core find_every_method_call_by_name(formula_nodes.body_node, :system).each do |method| - next if @formula_name.start_with?("lib") + next if @formula_name&.start_with?("lib") next if tap_style_exception? :make_check_allowlist params = parameters(method) @@ -933,8 +943,8 @@ module RuboCop find_method_with_args(body_node, :depends_on, "rustup") do problem "Formulae in homebrew/core should use 'depends_on \"rust\"' " \ - "instead of '#{@offensive_node.source}'." do |corrector| - corrector.replace(@offensive_node.source_range, "depends_on \"rust\"") + "instead of '#{T.must(@offensive_node).source}'." do |corrector| + corrector.replace(T.must(@offensive_node).source_range, "depends_on \"rust\"") end end @@ -943,8 +953,8 @@ module RuboCop [:build, [:build, :test], [:test, :build]].each do |type| find_method_with_args(body_node, :depends_on, "rustup" => type) do problem "Formulae in homebrew/core should use 'depends_on \"rust\" => #{type}' " \ - "instead of '#{@offensive_node.source}'." do |corrector| - corrector.replace(@offensive_node.source_range, "depends_on \"rust\" => #{type}") + "instead of '#{T.must(@offensive_node).source}'." do |corrector| + corrector.replace(T.must(@offensive_node).source_range, "depends_on \"rust\" => #{type}") end end end diff --git a/Library/Homebrew/rubocops/move_to_extend_os.rb b/Library/Homebrew/rubocops/move_to_extend_os.rb index 00aa8742c6..018f82bbc7 100644 --- a/Library/Homebrew/rubocops/move_to_extend_os.rb +++ b/Library/Homebrew/rubocops/move_to_extend_os.rb @@ -1,4 +1,4 @@ -# typed: true # rubocop:todo Sorbet/StrictSigil +# typed: strict # frozen_string_literal: true module RuboCop @@ -12,6 +12,7 @@ module RuboCop (send (const nil? :OS) {:mac? | :linux?}) PATTERN + sig { params(node: RuboCop::AST::Node).void } def on_send(node) return unless os_check?(node) diff --git a/Library/Homebrew/rubocops/negate_include.rb b/Library/Homebrew/rubocops/negate_include.rb index 37ffd6092c..05e1502c30 100644 --- a/Library/Homebrew/rubocops/negate_include.rb +++ b/Library/Homebrew/rubocops/negate_include.rb @@ -1,4 +1,4 @@ -# typed: true # rubocop:todo Sorbet/StrictSigil +# typed: strict # frozen_string_literal: true module RuboCop @@ -32,6 +32,7 @@ module RuboCop (send (send $!nil? :include? $_) :!) PATTERN + sig { params(node: RuboCop::AST::SendNode).void } def on_send(node) return unless (receiver, obj = negate_include_call?(node)) diff --git a/Library/Homebrew/rubocops/patches.rb b/Library/Homebrew/rubocops/patches.rb index 32d2f87e9e..781117d9f1 100644 --- a/Library/Homebrew/rubocops/patches.rb +++ b/Library/Homebrew/rubocops/patches.rb @@ -1,4 +1,4 @@ -# typed: true # rubocop:todo Sorbet/StrictSigil +# typed: strict # frozen_string_literal: true require "rubocops/extend/formula_cop" @@ -14,7 +14,7 @@ module RuboCop sig { override.params(formula_nodes: FormulaNodes).void } def audit_formula(formula_nodes) node = formula_nodes.node - @full_source_content = source_buffer(node).source + @full_source_content = T.let(source_buffer(node).source, T.nilable(String)) return if (body_node = formula_nodes.body_node).nil? @@ -43,6 +43,7 @@ module RuboCop private + sig { params(patch_url_node: RuboCop::AST::Node).void } def patch_problems(patch_url_node) patch_url = string_content(patch_url_node) @@ -103,6 +104,7 @@ module RuboCop end end + sig { params(patch: RuboCop::AST::Node).void } def inline_patch_problems(patch) return if !patch_data?(patch) || patch_end? @@ -119,13 +121,17 @@ module RuboCop /^__END__$/.match?(@full_source_content) end + sig { params(node: RuboCop::AST::Node).void } def offending_patch_end_node(node) - @offensive_node = node - @source_buf = source_buffer(node) - @line_no = node.loc.last_line + 1 - @column = 0 - @length = 7 # "__END__".size - @offense_source_range = source_range(@source_buf, @line_no, @column, @length) + @offensive_node = T.let(node, T.nilable(RuboCop::AST::Node)) + @source_buf = T.let(source_buffer(node), T.nilable(Parser::Source::Buffer)) + @line_no = T.let(node.loc.last_line + 1, T.nilable(Integer)) + @column = T.let(0, T.nilable(Integer)) + @length = T.let(7, T.nilable(Integer)) # "__END__".size + @offense_source_range = T.let( + source_range(@source_buf, @line_no, @column, @length), + T.nilable(Parser::Source::Range), + ) end end end diff --git a/Library/Homebrew/rubocops/presence.rb b/Library/Homebrew/rubocops/presence.rb index c924de724e..e710713d13 100644 --- a/Library/Homebrew/rubocops/presence.rb +++ b/Library/Homebrew/rubocops/presence.rb @@ -78,6 +78,7 @@ module RuboCop } PATTERN + sig { params(node: RuboCop::AST::IfNode).void } def on_if(node) return if ignore_if_node?(node) diff --git a/Library/Homebrew/rubocops/present.rb b/Library/Homebrew/rubocops/present.rb index c77a2eed5a..ebca2f5aba 100644 --- a/Library/Homebrew/rubocops/present.rb +++ b/Library/Homebrew/rubocops/present.rb @@ -1,4 +1,4 @@ -# typed: true # rubocop:todo Sorbet/StrictSigil +# typed: strict # frozen_string_literal: true module RuboCop @@ -37,6 +37,7 @@ module RuboCop ) PATTERN + sig { params(node: RuboCop::AST::AndNode).void } def on_and(node) exists_and_not_empty?(node) do |var1, var2| return if var1 != var2 @@ -49,6 +50,7 @@ module RuboCop end end + sig { params(node: RuboCop::AST::OrNode).void } def on_or(node) exists_and_not_empty?(node) do |var1, var2| return if var1 != var2 @@ -59,6 +61,7 @@ module RuboCop end end + sig { params(corrector: RuboCop::Cop::Corrector, node: RuboCop::AST::Node).void } def autocorrect(corrector, node) variable1, _variable2 = exists_and_not_empty?(node) range = node.source_range @@ -67,8 +70,9 @@ module RuboCop private + sig { params(node: T.nilable(RuboCop::AST::Node)).returns(String) } def replacement(node) - node.respond_to?(:source) ? "#{node.source}.present?" : "present?" + node.respond_to?(:source) ? "#{node&.source}.present?" : "present?" end end end diff --git a/Library/Homebrew/rubocops/safe_navigation_with_blank.rb b/Library/Homebrew/rubocops/safe_navigation_with_blank.rb index 74f83fe32a..473ceeea92 100644 --- a/Library/Homebrew/rubocops/safe_navigation_with_blank.rb +++ b/Library/Homebrew/rubocops/safe_navigation_with_blank.rb @@ -1,4 +1,4 @@ -# typed: true # rubocop:todo Sorbet/StrictSigil +# typed: strict # frozen_string_literal: true module RuboCop @@ -36,6 +36,7 @@ module RuboCop (if $(csend ... :blank?) ...) PATTERN + sig { params(node: RuboCop::AST::IfNode).void } def on_if(node) return unless safe_navigation_blank_in_conditional?(node) diff --git a/Library/Homebrew/rubocops/service.rb b/Library/Homebrew/rubocops/service.rb index d7f76b17ad..32300d97c6 100644 --- a/Library/Homebrew/rubocops/service.rb +++ b/Library/Homebrew/rubocops/service.rb @@ -1,4 +1,4 @@ -# typed: true # rubocop:todo Sorbet/StrictSigil +# typed: strict # frozen_string_literal: true require "rubocops/extend/formula_cop" @@ -10,14 +10,17 @@ module RuboCop class Service < FormulaCop extend AutoCorrector - CELLAR_PATH_AUDIT_CORRECTIONS = { - bin: :opt_bin, - libexec: :opt_libexec, - pkgshare: :opt_pkgshare, - prefix: :opt_prefix, - sbin: :opt_sbin, - share: :opt_share, - }.freeze + CELLAR_PATH_AUDIT_CORRECTIONS = T.let( + { + bin: :opt_bin, + libexec: :opt_libexec, + pkgshare: :opt_pkgshare, + prefix: :opt_prefix, + sbin: :opt_sbin, + share: :opt_share, + }.freeze, + T::Hash[Symbol, Symbol], + ) # At least one of these methods must be defined in a service block. REQUIRED_METHOD_CALLS = [:run, :name].freeze diff --git a/Library/Homebrew/rubocops/shared/desc_helper.rb b/Library/Homebrew/rubocops/shared/desc_helper.rb index ac2504a5f7..6e458f1378 100644 --- a/Library/Homebrew/rubocops/shared/desc_helper.rb +++ b/Library/Homebrew/rubocops/shared/desc_helper.rb @@ -17,6 +17,7 @@ module RuboCop macOS ].freeze + sig { params(type: Symbol, name: T.nilable(String), desc_call: T.nilable(RuboCop::AST::Node)).void } def audit_desc(type, name, desc_call) # Check if a desc is present. if desc_call.nil? @@ -26,7 +27,7 @@ module RuboCop @offensive_node = desc_call - desc = desc_call.first_argument + desc = T.cast(desc_call, RuboCop::AST::SendNode).first_argument # Check if the desc is empty. desc_length = string_content(desc).length @@ -56,7 +57,7 @@ module RuboCop end # Check if the desc starts with the formula's or cask's name. - name_regex = name.delete("-").chars.join('[\s\-]?') + name_regex = T.must(name).delete("-").chars.join('[\s\-]?') if regex_match_group(desc, /^#{name_regex}\b/i) desc_problem "Description shouldn't start with the #{type} name." end diff --git a/Library/Homebrew/rubocops/shared/helper_functions.rb b/Library/Homebrew/rubocops/shared/helper_functions.rb index 823d4c26c0..42147e6f67 100644 --- a/Library/Homebrew/rubocops/shared/helper_functions.rb +++ b/Library/Homebrew/rubocops/shared/helper_functions.rb @@ -32,7 +32,10 @@ module RuboCop @line_no = line_number(node) @source_buf = source_buffer(node) @offensive_node = node - @offensive_source_range = source_range(@source_buf, @line_no, @column, @length) + @offensive_source_range = T.let( + source_range(@source_buf, @line_no, @column, @length), + T.nilable(Parser::Source::Range), + ) match_object end @@ -53,6 +56,7 @@ module RuboCop end # Source buffer is required as an argument to report style violations. + sig { params(node: RuboCop::AST::Node).returns(Parser::Source::Buffer) } def source_buffer(node) node.source_range.source_buffer end diff --git a/Library/Homebrew/rubocops/shared/homepage_helper.rb b/Library/Homebrew/rubocops/shared/homepage_helper.rb index b0f743190c..f5f53d3544 100644 --- a/Library/Homebrew/rubocops/shared/homepage_helper.rb +++ b/Library/Homebrew/rubocops/shared/homepage_helper.rb @@ -1,4 +1,4 @@ -# typed: true # rubocop:todo Sorbet/StrictSigil +# typed: strict # frozen_string_literal: true require "rubocops/shared/helper_functions" @@ -9,8 +9,15 @@ module RuboCop module HomepageHelper include HelperFunctions + sig { + params( + type: Symbol, content: String, + homepage_node: RuboCop::AST::Node, + homepage_parameter_node: RuboCop::AST::Node + ).void + } def audit_homepage(type, content, homepage_node, homepage_parameter_node) - @offensive_node = homepage_node + @offensive_node = T.let(homepage_node, T.nilable(RuboCop::AST::Node)) problem "#{type.to_s.capitalize} should have a homepage." if content.empty? diff --git a/Library/Homebrew/rubocops/shared/on_system_conditionals_helper.rb b/Library/Homebrew/rubocops/shared/on_system_conditionals_helper.rb index 8d074add7a..f973dd72b6 100644 --- a/Library/Homebrew/rubocops/shared/on_system_conditionals_helper.rb +++ b/Library/Homebrew/rubocops/shared/on_system_conditionals_helper.rb @@ -1,4 +1,4 @@ -# typed: true # rubocop:todo Sorbet/StrictSigil +# typed: strict # frozen_string_literal: true require "macos_version" @@ -13,16 +13,23 @@ module RuboCop ARCH_OPTIONS = [:arm, :intel].freeze BASE_OS_OPTIONS = [:macos, :linux].freeze - MACOS_VERSION_OPTIONS = MacOSVersion::SYMBOLS.keys.freeze - ON_SYSTEM_OPTIONS = [*ARCH_OPTIONS, *BASE_OS_OPTIONS, *MACOS_VERSION_OPTIONS, :system].freeze + MACOS_VERSION_OPTIONS = T.let(MacOSVersion::SYMBOLS.keys.freeze, T::Array[Symbol]) + ON_SYSTEM_OPTIONS = T.let( + [*ARCH_OPTIONS, *BASE_OS_OPTIONS, *MACOS_VERSION_OPTIONS, :system].freeze, + T::Array[Symbol], + ) MACOS_MODULE_NAMES = ["MacOS", "OS::Mac"].freeze - MACOS_VERSION_CONDITIONALS = { - "==" => nil, - "<=" => :or_older, - ">=" => :or_newer, - }.freeze + MACOS_VERSION_CONDITIONALS = T.let( + { + "==" => nil, + "<=" => :or_older, + ">=" => :or_newer, + }.freeze, + T::Hash[String, T.nilable(Symbol)], + ) + sig { params(body_node: RuboCop::AST::Node, parent_name: Symbol).void } def audit_on_system_blocks(body_node, parent_name) parent_string = if body_node.def_type? "def #{parent_name}" @@ -77,6 +84,12 @@ module RuboCop end end + sig { + params( + body_node: RuboCop::AST::Node, allowed_methods: T::Array[Symbol], + allowed_blocks: T::Array[Symbol] + ).void + } def audit_arch_conditionals(body_node, allowed_methods: [], allowed_blocks: []) ARCH_OPTIONS.each do |arch_option| else_method = (arch_option == :arm) ? :on_intel : :on_arm @@ -100,6 +113,12 @@ module RuboCop end end + sig { + params( + body_node: RuboCop::AST::Node, allowed_methods: T::Array[Symbol], + allowed_blocks: T::Array[Symbol] + ).void + } def audit_base_os_conditionals(body_node, allowed_methods: [], allowed_blocks: []) BASE_OS_OPTIONS.each do |base_os_option| os_method, else_method = if base_os_option == :macos @@ -116,12 +135,21 @@ module RuboCop end end + sig { + params( + body_node: RuboCop::AST::Node, + allowed_methods: T::Array[Symbol], + allowed_blocks: T::Array[Symbol], + recommend_on_system: T::Boolean, + ).void + } def audit_macos_version_conditionals(body_node, allowed_methods: [], allowed_blocks: [], recommend_on_system: true) MACOS_VERSION_OPTIONS.each do |macos_version_option| if_macos_version_node_search(body_node, os_version: macos_version_option) do |if_node, operator, else_node| next if node_is_allowed?(if_node, allowed_methods:, allowed_blocks:) + else_node = T.let(else_node, T.nilable(RuboCop::AST::Node)) autocorrect = else_node.blank? && MACOS_VERSION_CONDITIONALS.key?(operator.to_s) on_system_method_string = if recommend_on_system && operator == :< "on_system" @@ -148,6 +176,13 @@ module RuboCop end end + sig { + params( + body_node: RuboCop::AST::Node, + allowed_methods: T::Array[Symbol], + allowed_blocks: T::Array[Symbol], + ).void + } def audit_macos_references(body_node, allowed_methods: [], allowed_blocks: []) MACOS_MODULE_NAMES.each do |macos_module_name| find_const(body_node, macos_module_name) do |node| @@ -161,6 +196,16 @@ module RuboCop private + sig { + params( + if_node: RuboCop::AST::IfNode, + if_statement_string: String, + on_system_method_string: String, + else_method: T.nilable(Symbol), + else_node: T.nilable(RuboCop::AST::Node), + autocorrect: T::Boolean, + ).void + } def if_statement_problem(if_node, if_statement_string, on_system_method_string, else_method: nil, else_node: nil, autocorrect: true) offending_node(if_node) @@ -180,6 +225,12 @@ module RuboCop end end + sig { + params( + node: RuboCop::AST::Node, allowed_methods: T::Array[Symbol], + allowed_blocks: T::Array[Symbol] + ).returns(T::Boolean) + } def node_is_allowed?(node, allowed_methods: [], allowed_blocks: []) # TODO: check to see if it's legal valid = T.let(false, T::Boolean) diff --git a/Library/Homebrew/rubocops/shell_commands.rb b/Library/Homebrew/rubocops/shell_commands.rb index a776e58e8b..6dafc4d145 100644 --- a/Library/Homebrew/rubocops/shell_commands.rb +++ b/Library/Homebrew/rubocops/shell_commands.rb @@ -1,4 +1,4 @@ -# typed: true # rubocop:todo Sorbet/StrictSigil +# typed: strict # frozen_string_literal: true require "extend/array" @@ -64,8 +64,12 @@ module RuboCop ].freeze private_constant :TARGET_METHODS - RESTRICT_ON_SEND = TARGET_METHODS.map(&:second).uniq.freeze + RESTRICT_ON_SEND = T.let( + TARGET_METHODS.map(&:second).uniq.freeze, + T::Array[T.nilable(Symbol)], + ) + sig { params(node: RuboCop::AST::SendNode).void } def on_send(node) TARGET_METHODS.each do |target_class, target_method| next if node.method_name != target_method @@ -119,6 +123,7 @@ module RuboCop RESTRICT_ON_SEND = [:exec].freeze + sig { params(node: RuboCop::AST::SendNode).void } def on_send(node) return if node.receiver.present? && node.receiver != s(:const, nil, :Kernel) return if node.arguments.count != 1 diff --git a/Library/Homebrew/rubocops/text.rb b/Library/Homebrew/rubocops/text.rb index d7f0101fea..6bbe47f371 100644 --- a/Library/Homebrew/rubocops/text.rb +++ b/Library/Homebrew/rubocops/text.rb @@ -1,4 +1,4 @@ -# typed: true # rubocop:todo Sorbet/StrictSigil +# typed: strict # frozen_string_literal: true require "rubocops/extend/formula_cop" @@ -133,7 +133,7 @@ module RuboCop problem "`env :userpaths` in homebrew/core formulae is deprecated" end - share_path_starts_with(body_node, @formula_name) do |share_node| + share_path_starts_with(body_node, T.must(@formula_name)) do |share_node| offending_node(share_node) problem "Use `pkgshare` instead of `share/\"#{@formula_name}\"`" end @@ -162,11 +162,13 @@ module RuboCop # Check whether value starts with the formula name and then a "/", " " or EOS. # If we're checking for "#{bin}", we also check for "-" since similar binaries also don't need interpolation. + sig { params(path: String, starts_with: String, bin: T::Boolean).returns(T::Boolean) } def path_starts_with?(path, starts_with, bin: false) ending = bin ? "/|-|$" : "/| |$" path.match?(/^#{Regexp.escape(starts_with)}(#{ending})/) end + sig { params(path: String, starts_with: String).returns(T::Boolean) } def path_starts_with_bin?(path, starts_with) return false if path.include?(" ") diff --git a/Library/Homebrew/rubocops/urls.rb b/Library/Homebrew/rubocops/urls.rb index af13b6cfb5..5bdd2dc6a9 100644 --- a/Library/Homebrew/rubocops/urls.rb +++ b/Library/Homebrew/rubocops/urls.rb @@ -30,7 +30,7 @@ module RuboCop # Check for binary URLs audit_urls(urls, /(darwin|macos|osx)/i) do |match, url| - next if @formula_name.include?(match.to_s.downcase) + next if T.must(@formula_name).include?(match.to_s.downcase) next if url.match?(/.(patch|diff)(\?full_index=1)?$/) next if tap_style_exception? :not_a_binary_url_prefix_allowlist next if tap_style_exception? :binary_bootstrap_formula_urls_allowlist diff --git a/Library/Homebrew/rubocops/uses_from_macos.rb b/Library/Homebrew/rubocops/uses_from_macos.rb index 2639f09d22..621f3bc3ed 100644 --- a/Library/Homebrew/rubocops/uses_from_macos.rb +++ b/Library/Homebrew/rubocops/uses_from_macos.rb @@ -1,4 +1,4 @@ -# typed: true # rubocop:todo Sorbet/StrictSigil +# typed: strict # frozen_string_literal: true require "rubocops/extend/formula_cop" From fa288953001ab03b9c2aa4b88336065dbc4a8d05 Mon Sep 17 00:00:00 2001 From: Douglas Eichelberger Date: Sat, 8 Feb 2025 16:42:45 -0800 Subject: [PATCH 019/322] Refactor Livecheck::Strategy to remove module_function use --- Library/Homebrew/livecheck/strategy.rb | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/Library/Homebrew/livecheck/strategy.rb b/Library/Homebrew/livecheck/strategy.rb index 950c8578e7..ca67feef36 100644 --- a/Library/Homebrew/livecheck/strategy.rb +++ b/Library/Homebrew/livecheck/strategy.rb @@ -12,8 +12,6 @@ module Homebrew module Strategy extend Utils::Curl - module_function - # {Strategy} priorities informally range from 1 to 10, where 10 is the # highest priority. 5 is the default priority because it's roughly in # the middle of this range. Strategies with a priority of 0 (or lower) @@ -98,7 +96,7 @@ module Homebrew # loaded, otherwise livecheck won't be able to use them. # @return [Hash] sig { returns(T::Hash[Symbol, T.untyped]) } - def strategies + def self.strategies @strategies ||= T.let(Strategy.constants.sort.each_with_object({}) do |const_symbol, hash| constant = Strategy.const_get(const_symbol) next unless constant.is_a?(Class) @@ -116,7 +114,7 @@ module Homebrew # `Symbol` (e.g. `:page_match`) # @return [Class, nil] sig { params(symbol: T.nilable(Symbol)).returns(T.untyped) } - def from_symbol(symbol) + def self.from_symbol(symbol) strategies[symbol] if symbol.present? end @@ -138,7 +136,7 @@ module Homebrew block_provided: T::Boolean, ).returns(T::Array[T.untyped]) } - def from_url(url, livecheck_strategy: nil, regex_provided: false, block_provided: false) + def self.from_url(url, livecheck_strategy: nil, regex_provided: false, block_provided: false) usable_strategies = strategies.select do |strategy_symbol, strategy| if strategy == PageMatch # Only treat the strategy as usable if the `livecheck` block @@ -178,7 +176,7 @@ module Homebrew post_json: T.nilable(T::Hash[T.any(String, Symbol), String]), ).returns(T::Array[String]) } - def post_args(post_form: nil, post_json: nil) + def self.post_args(post_form: nil, post_json: nil) if post_form.present? require "uri" ["--data", URI.encode_www_form(post_form)] From 208acd8e437e224a7c447008b53af42883a40472 Mon Sep 17 00:00:00 2001 From: Roman Romanov Date: Sun, 9 Feb 2025 20:16:16 +0300 Subject: [PATCH 020/322] Fix "can't modify frozen String" error Fix "can't modify frozen String" error if bottle requires Command Line Tools when installing/updating several packages, which causes install/update process failure. --- Library/Homebrew/formula.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb index 889b6b6f58..1bfd73a0e2 100644 --- a/Library/Homebrew/formula.rb +++ b/Library/Homebrew/formula.rb @@ -4216,7 +4216,7 @@ class Formula lambda do |_| on_macos do T.bind(self, PourBottleCheck) - reason(<<~EOS) + reason(+<<~EOS) The bottle needs the Xcode Command Line Tools to be installed at /Library/Developer/CommandLineTools. Development tools provided by Xcode.app are not sufficient. From d9b376a9cdba1b889a998a513af7f4bab49911ae Mon Sep 17 00:00:00 2001 From: Issy Long Date: Sun, 9 Feb 2025 18:33:12 +0000 Subject: [PATCH 021/322] rubocops/lines: Clean up an old TODO - I considered writing a cop for this, but it's not worth it: there are no `[:test, :build]` occurrences in Core and this Rust rule only applies in Core formulae. --- Library/Homebrew/rubocops/lines.rb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Library/Homebrew/rubocops/lines.rb b/Library/Homebrew/rubocops/lines.rb index 599e31d650..638dac4409 100644 --- a/Library/Homebrew/rubocops/lines.rb +++ b/Library/Homebrew/rubocops/lines.rb @@ -938,9 +938,7 @@ module RuboCop end end - # TODO: Enforce order of dependency types so we don't need to check for - # depends_on "rustup" => [:test, :build] - [:build, [:build, :test], [:test, :build]].each do |type| + [:build, [:build, :test]].each do |type| find_method_with_args(body_node, :depends_on, "rustup" => type) do problem "Formulae in homebrew/core should use 'depends_on \"rust\" => #{type}' " \ "instead of '#{@offensive_node.source}'." do |corrector| From 92470e00284e0f8379752a2746dd82abb7e35795 Mon Sep 17 00:00:00 2001 From: thibhero Date: Sun, 9 Feb 2025 20:47:35 -0500 Subject: [PATCH 022/322] adding the `--ask` option for the upgrade command --- Library/Homebrew/cmd/upgrade.rb | 63 +++++++++++++++++++ Library/Homebrew/env_config.rb | 4 ++ .../rbi/dsl/homebrew/cmd/upgrade_cmd.rbi | 3 + .../sorbet/rbi/dsl/homebrew/env_config.rbi | 3 + 4 files changed, 73 insertions(+) diff --git a/Library/Homebrew/cmd/upgrade.rb b/Library/Homebrew/cmd/upgrade.rb index 6ab70581ac..d716178060 100644 --- a/Library/Homebrew/cmd/upgrade.rb +++ b/Library/Homebrew/cmd/upgrade.rb @@ -71,6 +71,11 @@ module Homebrew [:switch, "--overwrite", { description: "Delete files that already exist in the prefix while linking.", }], + [:switch, "--ask", { + description: "Ask for confirmation before downloading and upgrading formulae. " \ + "Print bottles and dependencies download size, install and net install size.", + env: :ask, + }], ].each do |args| options = args.pop send(*args, **options) @@ -216,6 +221,64 @@ module Homebrew Install.perform_preinstall_checks_once + ask_input = lambda { + ohai "Do you want to proceed with the installation? [Y/y/yes/N/n]" + accepted_inputs = %w[y yes] + declined_inputs = %w[n no] + loop do + result = $stdin.gets.chomp.strip.downcase + if accepted_inputs.include?(result) + puts "Proceeding with installation..." + break + elsif declined_inputs.include?(result) + return + else + puts "Invalid input. Please enter 'Y', 'y', or 'yes' to proceed, or 'N' to abort." + end + end + } + + # Showing dependencies and required size to install + if args.ask? + ohai "Looking for bottles..." + sized_formulae = [] + total_download_size = 0 + total_installed_size = 0 + total_net_size = 0 + formulae_to_install.each do |f| + next unless (bottle = f.bottle) + kegs_size = 0 + # keep it quiet as there could be a lot of json fetch, it’s not intuitive to show them all. + bottle.fetch_tab(quiet: !args.debug?) + total_download_size += T.must(bottle.bottle_size) if bottle.bottle_size + total_installed_size += T.must(bottle.installed_size) if bottle.installed_size + f.installed_kegs.each do |keg| + kegs_size += keg.disk_usage if keg.disk_usage + end + total_net_size += (bottle.installed_size - kegs_size) if bottle.installed_size + sized_formulae.push(f) + next if f.deps.empty? + + # f.recursive_dependencies.each do |dep| + # f_dep = dep.to_formula + # kegs_dep_size = 0 + # bottle_dep = f_dep.bottle + # bottle_dep.fetch_tab(quiet: !args.debug?) + # total_download_size += bottle_dep.bottle_size if bottle_dep.bottle_size + # total_installed_size += bottle_dep.installed_size if bottle_dep.installed_size + # f_dep.installed_kegs.each do |keg| + # kegs_dep_size += keg.disk_usage if keg.disk_usage + # end + # total_net_size += (bottle_dep.installed_size - kegs_dep_size) if bottle_dep.installed_size + # end + end + puts "Formulae: #{sized_formulae.join(", ")}\n\n" + puts "Download Size: #{disk_usage_readable(total_download_size)}" if total_download_size + puts "Install Size: #{disk_usage_readable(total_installed_size)}\n" if total_installed_size + puts "Net Install Size: #{disk_usage_readable(total_net_size)}\n" if total_net_size + ask_input.call + end + Upgrade.upgrade_formulae( formulae_to_install, flags: args.flags_only, diff --git a/Library/Homebrew/env_config.rb b/Library/Homebrew/env_config.rb index 1157ad0780..bdc89ed3da 100644 --- a/Library/Homebrew/env_config.rb +++ b/Library/Homebrew/env_config.rb @@ -48,6 +48,10 @@ module Homebrew "trying any other/default URLs.", boolean: true, }, + HOMEBREW_ASK: { + description: "If set, pass `--ask`to all formula install commands.", + 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, " \ diff --git a/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/upgrade_cmd.rbi b/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/upgrade_cmd.rbi index bc2ba6224b..3eb336f954 100644 --- a/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/upgrade_cmd.rbi +++ b/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/upgrade_cmd.rbi @@ -14,6 +14,9 @@ class Homebrew::Cmd::UpgradeCmd::Args < Homebrew::CLI::Args sig { returns(T.nilable(String)) } def appdir; end + sig { returns(T::Boolean) } + def ask?; end + sig { returns(T.nilable(String)) } def audio_unit_plugindir; end diff --git a/Library/Homebrew/sorbet/rbi/dsl/homebrew/env_config.rbi b/Library/Homebrew/sorbet/rbi/dsl/homebrew/env_config.rbi index bc71d5feb7..0405588ab3 100644 --- a/Library/Homebrew/sorbet/rbi/dsl/homebrew/env_config.rbi +++ b/Library/Homebrew/sorbet/rbi/dsl/homebrew/env_config.rbi @@ -28,6 +28,9 @@ module Homebrew::EnvConfig sig { returns(T::Boolean) } def artifact_domain_no_fallback?; end + sig { returns(T::Boolean) } + def ask?; end + sig { returns(T.nilable(::String)) } def auto_update_secs; end From 20a251bc8896fa7fb0dbdd508f636a65c2049fa8 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 10 Feb 2025 19:15:39 +0000 Subject: [PATCH 023/322] build(deps): bump the sorbet group in /Library/Homebrew with 4 updates Bumps the sorbet group in /Library/Homebrew with 4 updates: [sorbet-static-and-runtime](https://github.com/sorbet/sorbet), [sorbet-runtime](https://github.com/sorbet/sorbet), [sorbet](https://github.com/sorbet/sorbet) and [sorbet-static](https://github.com/sorbet/sorbet). Updates `sorbet-static-and-runtime` from 0.5.11812 to 0.5.11813 - [Release notes](https://github.com/sorbet/sorbet/releases) - [Commits](https://github.com/sorbet/sorbet/commits) Updates `sorbet-runtime` from 0.5.11812 to 0.5.11813 - [Release notes](https://github.com/sorbet/sorbet/releases) - [Commits](https://github.com/sorbet/sorbet/commits) Updates `sorbet` from 0.5.11812 to 0.5.11813 - [Release notes](https://github.com/sorbet/sorbet/releases) - [Commits](https://github.com/sorbet/sorbet/commits) Updates `sorbet-static` from 0.5.11812 to 0.5.11813 - [Release notes](https://github.com/sorbet/sorbet/releases) - [Commits](https://github.com/sorbet/sorbet/commits) --- updated-dependencies: - dependency-name: sorbet-static-and-runtime dependency-type: direct:development update-type: version-update:semver-patch dependency-group: sorbet - dependency-name: sorbet-runtime dependency-type: direct:production update-type: version-update:semver-patch dependency-group: sorbet - dependency-name: sorbet dependency-type: indirect update-type: version-update:semver-patch dependency-group: sorbet - dependency-name: sorbet-static dependency-type: indirect update-type: version-update:semver-patch dependency-group: sorbet ... Signed-off-by: dependabot[bot] --- Library/Homebrew/Gemfile.lock | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/Library/Homebrew/Gemfile.lock b/Library/Homebrew/Gemfile.lock index 8028d7eda5..4a93ea5c09 100644 --- a/Library/Homebrew/Gemfile.lock +++ b/Library/Homebrew/Gemfile.lock @@ -114,15 +114,15 @@ GEM simplecov-html (0.13.1) simplecov_json_formatter (0.1.4) simpleidn (0.2.3) - sorbet (0.5.11812) - sorbet-static (= 0.5.11812) - sorbet-runtime (0.5.11812) - sorbet-static (0.5.11812-aarch64-linux) - sorbet-static (0.5.11812-universal-darwin) - sorbet-static (0.5.11812-x86_64-linux) - sorbet-static-and-runtime (0.5.11812) - sorbet (= 0.5.11812) - sorbet-runtime (= 0.5.11812) + sorbet (0.5.11813) + sorbet-static (= 0.5.11813) + sorbet-runtime (0.5.11813) + sorbet-static (0.5.11813-aarch64-linux) + sorbet-static (0.5.11813-universal-darwin) + sorbet-static (0.5.11813-x86_64-linux) + sorbet-static-and-runtime (0.5.11813) + sorbet (= 0.5.11813) + sorbet-runtime (= 0.5.11813) spoom (1.5.3) erubi (>= 1.10.0) prism (>= 0.28.0) @@ -153,7 +153,6 @@ GEM PLATFORMS aarch64-linux - arm-linux arm64-darwin x86_64-darwin x86_64-linux From acb32820becd3f8bf98f1137df70e79e282bf8f9 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 10 Feb 2025 19:15:59 +0000 Subject: [PATCH 024/322] build(deps-dev): bump json from 2.9.1 to 2.10.0 in /Library/Homebrew Bumps [json](https://github.com/ruby/json) from 2.9.1 to 2.10.0. - [Release notes](https://github.com/ruby/json/releases) - [Changelog](https://github.com/ruby/json/blob/master/CHANGES.md) - [Commits](https://github.com/ruby/json/compare/v2.9.1...v2.10.0) --- updated-dependencies: - dependency-name: json dependency-type: indirect update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- Library/Homebrew/Gemfile.lock | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Library/Homebrew/Gemfile.lock b/Library/Homebrew/Gemfile.lock index 8028d7eda5..498bf4f13a 100644 --- a/Library/Homebrew/Gemfile.lock +++ b/Library/Homebrew/Gemfile.lock @@ -16,7 +16,7 @@ GEM bindata (~> 2) erubi (1.13.1) hana (1.3.7) - json (2.9.1) + json (2.10.0) json_schemer (2.4.0) bigdecimal hana (~> 1.3) @@ -153,7 +153,6 @@ GEM PLATFORMS aarch64-linux - arm-linux arm64-darwin x86_64-darwin x86_64-linux From a45360460fdb624ce07f9805a2f1611bea1c1d03 Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Mon, 10 Feb 2025 19:20:52 +0000 Subject: [PATCH 025/322] brew vendor-gems: commit updates. --- Library/Homebrew/Gemfile.lock | 1 + Library/Homebrew/vendor/bundle/bundler/setup.rb | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Library/Homebrew/Gemfile.lock b/Library/Homebrew/Gemfile.lock index 498bf4f13a..58dcc78d95 100644 --- a/Library/Homebrew/Gemfile.lock +++ b/Library/Homebrew/Gemfile.lock @@ -153,6 +153,7 @@ GEM PLATFORMS aarch64-linux + arm-linux arm64-darwin x86_64-darwin x86_64-linux diff --git a/Library/Homebrew/vendor/bundle/bundler/setup.rb b/Library/Homebrew/vendor/bundle/bundler/setup.rb index 697e52ed5c..701a3d3827 100644 --- a/Library/Homebrew/vendor/bundle/bundler/setup.rb +++ b/Library/Homebrew/vendor/bundle/bundler/setup.rb @@ -49,8 +49,8 @@ $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/elftools-1.3.1/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/erubi-1.13.1/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/hana-1.3.7/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/extensions/arm64-darwin-20/#{Gem.extension_api_version}/json-2.9.1") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/json-2.9.1/lib") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/extensions/arm64-darwin-20/#{Gem.extension_api_version}/json-2.10.0") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/json-2.10.0/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/regexp_parser-2.10.0/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/simpleidn-0.2.3/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/json_schemer-2.4.0/lib") From 80137329f0e1706178b316d458125f5a740854b8 Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Mon, 10 Feb 2025 22:27:36 +0000 Subject: [PATCH 026/322] brew vendor-gems: commit updates. --- Library/Homebrew/Gemfile.lock | 1 + Library/Homebrew/vendor/bundle/bundler/setup.rb | 8 ++++---- .../lib/sorbet-runtime.rb | 0 .../lib/types/_types.rb | 0 .../lib/types/abstract_utils.rb | 0 .../lib/types/boolean.rb | 0 .../lib/types/compatibility_patches.rb | 0 .../lib/types/configuration.rb | 0 .../lib/types/enum.rb | 0 .../lib/types/generic.rb | 0 .../lib/types/helpers.rb | 0 .../lib/types/non_forcing_constants.rb | 0 .../lib/types/private/abstract/data.rb | 0 .../lib/types/private/abstract/declare.rb | 0 .../lib/types/private/abstract/hooks.rb | 0 .../lib/types/private/abstract/validate.rb | 0 .../lib/types/private/caller_utils.rb | 0 .../lib/types/private/casts.rb | 0 .../lib/types/private/class_utils.rb | 0 .../lib/types/private/decl_state.rb | 0 .../lib/types/private/final.rb | 0 .../lib/types/private/methods/_methods.rb | 0 .../lib/types/private/methods/call_validation.rb | 0 .../lib/types/private/methods/call_validation_2_6.rb | 0 .../lib/types/private/methods/call_validation_2_7.rb | 0 .../lib/types/private/methods/decl_builder.rb | 0 .../lib/types/private/methods/modes.rb | 0 .../lib/types/private/methods/signature.rb | 0 .../lib/types/private/methods/signature_validation.rb | 0 .../lib/types/private/mixins/mixins.rb | 0 .../lib/types/private/retry.rb | 0 .../lib/types/private/runtime_levels.rb | 0 .../lib/types/private/sealed.rb | 0 .../lib/types/private/types/not_typed.rb | 0 .../lib/types/private/types/simple_pair_union.rb | 0 .../lib/types/private/types/string_holder.rb | 0 .../lib/types/private/types/type_alias.rb | 0 .../lib/types/private/types/void.rb | 0 .../lib/types/props/_props.rb | 0 .../lib/types/props/constructor.rb | 0 .../lib/types/props/custom_type.rb | 0 .../lib/types/props/decorator.rb | 0 .../lib/types/props/errors.rb | 0 .../lib/types/props/generated_code_validation.rb | 0 .../lib/types/props/has_lazily_specialized_methods.rb | 0 .../lib/types/props/optional.rb | 0 .../lib/types/props/plugin.rb | 0 .../lib/types/props/pretty_printable.rb | 0 .../lib/types/props/private/apply_default.rb | 0 .../lib/types/props/private/deserializer_generator.rb | 0 .../lib/types/props/private/parser.rb | 0 .../lib/types/props/private/serde_transform.rb | 0 .../lib/types/props/private/serializer_generator.rb | 0 .../lib/types/props/private/setter_factory.rb | 0 .../lib/types/props/serializable.rb | 0 .../lib/types/props/type_validation.rb | 0 .../lib/types/props/utils.rb | 0 .../lib/types/props/weak_constructor.rb | 0 .../lib/types/sig.rb | 0 .../lib/types/struct.rb | 0 .../lib/types/types/anything.rb | 0 .../lib/types/types/attached_class.rb | 0 .../lib/types/types/base.rb | 0 .../lib/types/types/class_of.rb | 0 .../lib/types/types/enum.rb | 0 .../lib/types/types/fixed_array.rb | 0 .../lib/types/types/fixed_hash.rb | 0 .../lib/types/types/intersection.rb | 0 .../lib/types/types/noreturn.rb | 0 .../lib/types/types/proc.rb | 0 .../lib/types/types/self_type.rb | 0 .../lib/types/types/simple.rb | 0 .../lib/types/types/t_enum.rb | 0 .../lib/types/types/type_member.rb | 0 .../lib/types/types/type_parameter.rb | 0 .../lib/types/types/type_template.rb | 0 .../lib/types/types/type_variable.rb | 0 .../lib/types/types/typed_array.rb | 0 .../lib/types/types/typed_class.rb | 0 .../lib/types/types/typed_enumerable.rb | 0 .../lib/types/types/typed_enumerator.rb | 0 .../lib/types/types/typed_enumerator_chain.rb | 0 .../lib/types/types/typed_enumerator_lazy.rb | 0 .../lib/types/types/typed_hash.rb | 0 .../lib/types/types/typed_range.rb | 0 .../lib/types/types/typed_set.rb | 0 .../lib/types/types/union.rb | 0 .../lib/types/types/untyped.rb | 0 .../lib/types/utils.rb | 0 89 files changed, 5 insertions(+), 4 deletions(-) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11812 => sorbet-runtime-0.5.11813}/lib/sorbet-runtime.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11812 => sorbet-runtime-0.5.11813}/lib/types/_types.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11812 => sorbet-runtime-0.5.11813}/lib/types/abstract_utils.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11812 => sorbet-runtime-0.5.11813}/lib/types/boolean.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11812 => sorbet-runtime-0.5.11813}/lib/types/compatibility_patches.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11812 => sorbet-runtime-0.5.11813}/lib/types/configuration.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11812 => sorbet-runtime-0.5.11813}/lib/types/enum.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11812 => sorbet-runtime-0.5.11813}/lib/types/generic.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11812 => sorbet-runtime-0.5.11813}/lib/types/helpers.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11812 => sorbet-runtime-0.5.11813}/lib/types/non_forcing_constants.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11812 => sorbet-runtime-0.5.11813}/lib/types/private/abstract/data.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11812 => sorbet-runtime-0.5.11813}/lib/types/private/abstract/declare.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11812 => sorbet-runtime-0.5.11813}/lib/types/private/abstract/hooks.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11812 => sorbet-runtime-0.5.11813}/lib/types/private/abstract/validate.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11812 => sorbet-runtime-0.5.11813}/lib/types/private/caller_utils.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11812 => sorbet-runtime-0.5.11813}/lib/types/private/casts.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11812 => sorbet-runtime-0.5.11813}/lib/types/private/class_utils.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11812 => sorbet-runtime-0.5.11813}/lib/types/private/decl_state.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11812 => sorbet-runtime-0.5.11813}/lib/types/private/final.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11812 => sorbet-runtime-0.5.11813}/lib/types/private/methods/_methods.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11812 => sorbet-runtime-0.5.11813}/lib/types/private/methods/call_validation.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11812 => sorbet-runtime-0.5.11813}/lib/types/private/methods/call_validation_2_6.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11812 => sorbet-runtime-0.5.11813}/lib/types/private/methods/call_validation_2_7.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11812 => sorbet-runtime-0.5.11813}/lib/types/private/methods/decl_builder.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11812 => sorbet-runtime-0.5.11813}/lib/types/private/methods/modes.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11812 => sorbet-runtime-0.5.11813}/lib/types/private/methods/signature.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11812 => sorbet-runtime-0.5.11813}/lib/types/private/methods/signature_validation.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11812 => sorbet-runtime-0.5.11813}/lib/types/private/mixins/mixins.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11812 => sorbet-runtime-0.5.11813}/lib/types/private/retry.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11812 => sorbet-runtime-0.5.11813}/lib/types/private/runtime_levels.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11812 => sorbet-runtime-0.5.11813}/lib/types/private/sealed.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11812 => sorbet-runtime-0.5.11813}/lib/types/private/types/not_typed.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11812 => sorbet-runtime-0.5.11813}/lib/types/private/types/simple_pair_union.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11812 => sorbet-runtime-0.5.11813}/lib/types/private/types/string_holder.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11812 => sorbet-runtime-0.5.11813}/lib/types/private/types/type_alias.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11812 => sorbet-runtime-0.5.11813}/lib/types/private/types/void.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11812 => sorbet-runtime-0.5.11813}/lib/types/props/_props.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11812 => sorbet-runtime-0.5.11813}/lib/types/props/constructor.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11812 => sorbet-runtime-0.5.11813}/lib/types/props/custom_type.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11812 => sorbet-runtime-0.5.11813}/lib/types/props/decorator.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11812 => sorbet-runtime-0.5.11813}/lib/types/props/errors.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11812 => sorbet-runtime-0.5.11813}/lib/types/props/generated_code_validation.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11812 => sorbet-runtime-0.5.11813}/lib/types/props/has_lazily_specialized_methods.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11812 => sorbet-runtime-0.5.11813}/lib/types/props/optional.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11812 => sorbet-runtime-0.5.11813}/lib/types/props/plugin.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11812 => sorbet-runtime-0.5.11813}/lib/types/props/pretty_printable.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11812 => sorbet-runtime-0.5.11813}/lib/types/props/private/apply_default.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11812 => sorbet-runtime-0.5.11813}/lib/types/props/private/deserializer_generator.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11812 => sorbet-runtime-0.5.11813}/lib/types/props/private/parser.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11812 => sorbet-runtime-0.5.11813}/lib/types/props/private/serde_transform.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11812 => sorbet-runtime-0.5.11813}/lib/types/props/private/serializer_generator.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11812 => sorbet-runtime-0.5.11813}/lib/types/props/private/setter_factory.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11812 => sorbet-runtime-0.5.11813}/lib/types/props/serializable.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11812 => sorbet-runtime-0.5.11813}/lib/types/props/type_validation.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11812 => sorbet-runtime-0.5.11813}/lib/types/props/utils.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11812 => sorbet-runtime-0.5.11813}/lib/types/props/weak_constructor.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11812 => sorbet-runtime-0.5.11813}/lib/types/sig.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11812 => sorbet-runtime-0.5.11813}/lib/types/struct.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11812 => sorbet-runtime-0.5.11813}/lib/types/types/anything.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11812 => sorbet-runtime-0.5.11813}/lib/types/types/attached_class.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11812 => sorbet-runtime-0.5.11813}/lib/types/types/base.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11812 => sorbet-runtime-0.5.11813}/lib/types/types/class_of.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11812 => sorbet-runtime-0.5.11813}/lib/types/types/enum.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11812 => sorbet-runtime-0.5.11813}/lib/types/types/fixed_array.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11812 => sorbet-runtime-0.5.11813}/lib/types/types/fixed_hash.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11812 => sorbet-runtime-0.5.11813}/lib/types/types/intersection.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11812 => sorbet-runtime-0.5.11813}/lib/types/types/noreturn.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11812 => sorbet-runtime-0.5.11813}/lib/types/types/proc.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11812 => sorbet-runtime-0.5.11813}/lib/types/types/self_type.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11812 => sorbet-runtime-0.5.11813}/lib/types/types/simple.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11812 => sorbet-runtime-0.5.11813}/lib/types/types/t_enum.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11812 => sorbet-runtime-0.5.11813}/lib/types/types/type_member.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11812 => sorbet-runtime-0.5.11813}/lib/types/types/type_parameter.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11812 => sorbet-runtime-0.5.11813}/lib/types/types/type_template.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11812 => sorbet-runtime-0.5.11813}/lib/types/types/type_variable.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11812 => sorbet-runtime-0.5.11813}/lib/types/types/typed_array.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11812 => sorbet-runtime-0.5.11813}/lib/types/types/typed_class.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11812 => sorbet-runtime-0.5.11813}/lib/types/types/typed_enumerable.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11812 => sorbet-runtime-0.5.11813}/lib/types/types/typed_enumerator.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11812 => sorbet-runtime-0.5.11813}/lib/types/types/typed_enumerator_chain.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11812 => sorbet-runtime-0.5.11813}/lib/types/types/typed_enumerator_lazy.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11812 => sorbet-runtime-0.5.11813}/lib/types/types/typed_hash.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11812 => sorbet-runtime-0.5.11813}/lib/types/types/typed_range.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11812 => sorbet-runtime-0.5.11813}/lib/types/types/typed_set.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11812 => sorbet-runtime-0.5.11813}/lib/types/types/union.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11812 => sorbet-runtime-0.5.11813}/lib/types/types/untyped.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11812 => sorbet-runtime-0.5.11813}/lib/types/utils.rb (100%) diff --git a/Library/Homebrew/Gemfile.lock b/Library/Homebrew/Gemfile.lock index 4a93ea5c09..9a550fca4f 100644 --- a/Library/Homebrew/Gemfile.lock +++ b/Library/Homebrew/Gemfile.lock @@ -153,6 +153,7 @@ GEM PLATFORMS aarch64-linux + arm-linux arm64-darwin x86_64-darwin x86_64-linux diff --git a/Library/Homebrew/vendor/bundle/bundler/setup.rb b/Library/Homebrew/vendor/bundle/bundler/setup.rb index 697e52ed5c..588305e5af 100644 --- a/Library/Homebrew/vendor/bundle/bundler/setup.rb +++ b/Library/Homebrew/vendor/bundle/bundler/setup.rb @@ -74,7 +74,7 @@ $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/extensions/arm64-darwin-20/#{Gem.extension_api_version}/pycall-1.5.2") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/pycall-1.5.2/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rainbow-3.1.1/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-runtime-0.5.11812/lib") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-runtime-0.5.11813/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rbi-0.2.4/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/extensions/arm64-darwin-20/#{Gem.extension_api_version}/rbs-3.8.1") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rbs-3.8.1/lib") @@ -106,9 +106,9 @@ $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/simplecov_json_formatter-0.1.4/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/simplecov-0.22.0/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/simplecov-cobertura-2.1.0/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-static-0.5.11812-universal-darwin/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-0.5.11812/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-static-and-runtime-0.5.11812/lib") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-static-0.5.11813-universal-darwin/lib") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-0.5.11813/lib") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-static-and-runtime-0.5.11813/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/thor-1.3.2/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/spoom-1.5.3/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/extensions/arm64-darwin-20/#{Gem.extension_api_version}/stackprof-0.2.27") diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/sorbet-runtime.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/sorbet-runtime.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/sorbet-runtime.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/sorbet-runtime.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/_types.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/_types.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/_types.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/_types.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/abstract_utils.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/abstract_utils.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/abstract_utils.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/abstract_utils.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/boolean.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/boolean.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/boolean.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/boolean.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/compatibility_patches.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/compatibility_patches.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/compatibility_patches.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/compatibility_patches.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/configuration.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/configuration.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/configuration.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/configuration.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/enum.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/enum.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/enum.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/enum.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/generic.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/generic.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/generic.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/generic.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/helpers.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/helpers.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/helpers.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/helpers.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/non_forcing_constants.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/non_forcing_constants.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/non_forcing_constants.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/non_forcing_constants.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/private/abstract/data.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/private/abstract/data.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/private/abstract/data.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/private/abstract/data.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/private/abstract/declare.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/private/abstract/declare.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/private/abstract/declare.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/private/abstract/declare.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/private/abstract/hooks.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/private/abstract/hooks.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/private/abstract/hooks.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/private/abstract/hooks.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/private/abstract/validate.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/private/abstract/validate.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/private/abstract/validate.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/private/abstract/validate.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/private/caller_utils.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/private/caller_utils.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/private/caller_utils.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/private/caller_utils.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/private/casts.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/private/casts.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/private/casts.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/private/casts.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/private/class_utils.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/private/class_utils.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/private/class_utils.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/private/class_utils.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/private/decl_state.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/private/decl_state.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/private/decl_state.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/private/decl_state.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/private/final.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/private/final.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/private/final.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/private/final.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/private/methods/_methods.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/private/methods/_methods.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/private/methods/_methods.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/private/methods/_methods.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/private/methods/call_validation.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/private/methods/call_validation.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/private/methods/call_validation.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/private/methods/call_validation.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/private/methods/call_validation_2_6.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/private/methods/call_validation_2_6.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/private/methods/call_validation_2_6.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/private/methods/call_validation_2_6.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/private/methods/call_validation_2_7.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/private/methods/call_validation_2_7.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/private/methods/call_validation_2_7.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/private/methods/call_validation_2_7.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/private/methods/decl_builder.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/private/methods/decl_builder.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/private/methods/decl_builder.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/private/methods/decl_builder.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/private/methods/modes.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/private/methods/modes.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/private/methods/modes.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/private/methods/modes.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/private/methods/signature.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/private/methods/signature.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/private/methods/signature.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/private/methods/signature.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/private/methods/signature_validation.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/private/methods/signature_validation.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/private/methods/signature_validation.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/private/methods/signature_validation.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/private/mixins/mixins.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/private/mixins/mixins.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/private/mixins/mixins.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/private/mixins/mixins.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/private/retry.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/private/retry.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/private/retry.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/private/retry.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/private/runtime_levels.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/private/runtime_levels.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/private/runtime_levels.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/private/runtime_levels.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/private/sealed.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/private/sealed.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/private/sealed.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/private/sealed.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/private/types/not_typed.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/private/types/not_typed.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/private/types/not_typed.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/private/types/not_typed.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/private/types/simple_pair_union.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/private/types/simple_pair_union.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/private/types/simple_pair_union.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/private/types/simple_pair_union.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/private/types/string_holder.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/private/types/string_holder.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/private/types/string_holder.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/private/types/string_holder.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/private/types/type_alias.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/private/types/type_alias.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/private/types/type_alias.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/private/types/type_alias.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/private/types/void.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/private/types/void.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/private/types/void.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/private/types/void.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/props/_props.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/props/_props.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/props/_props.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/props/_props.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/props/constructor.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/props/constructor.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/props/constructor.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/props/constructor.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/props/custom_type.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/props/custom_type.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/props/custom_type.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/props/custom_type.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/props/decorator.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/props/decorator.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/props/decorator.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/props/decorator.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/props/errors.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/props/errors.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/props/errors.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/props/errors.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/props/generated_code_validation.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/props/generated_code_validation.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/props/generated_code_validation.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/props/generated_code_validation.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/props/has_lazily_specialized_methods.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/props/has_lazily_specialized_methods.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/props/has_lazily_specialized_methods.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/props/has_lazily_specialized_methods.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/props/optional.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/props/optional.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/props/optional.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/props/optional.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/props/plugin.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/props/plugin.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/props/plugin.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/props/plugin.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/props/pretty_printable.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/props/pretty_printable.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/props/pretty_printable.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/props/pretty_printable.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/props/private/apply_default.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/props/private/apply_default.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/props/private/apply_default.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/props/private/apply_default.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/props/private/deserializer_generator.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/props/private/deserializer_generator.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/props/private/deserializer_generator.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/props/private/deserializer_generator.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/props/private/parser.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/props/private/parser.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/props/private/parser.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/props/private/parser.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/props/private/serde_transform.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/props/private/serde_transform.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/props/private/serde_transform.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/props/private/serde_transform.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/props/private/serializer_generator.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/props/private/serializer_generator.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/props/private/serializer_generator.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/props/private/serializer_generator.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/props/private/setter_factory.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/props/private/setter_factory.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/props/private/setter_factory.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/props/private/setter_factory.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/props/serializable.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/props/serializable.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/props/serializable.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/props/serializable.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/props/type_validation.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/props/type_validation.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/props/type_validation.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/props/type_validation.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/props/utils.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/props/utils.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/props/utils.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/props/utils.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/props/weak_constructor.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/props/weak_constructor.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/props/weak_constructor.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/props/weak_constructor.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/sig.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/sig.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/sig.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/sig.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/struct.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/struct.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/struct.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/struct.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/types/anything.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/types/anything.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/types/anything.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/types/anything.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/types/attached_class.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/types/attached_class.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/types/attached_class.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/types/attached_class.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/types/base.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/types/base.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/types/base.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/types/base.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/types/class_of.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/types/class_of.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/types/class_of.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/types/class_of.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/types/enum.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/types/enum.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/types/enum.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/types/enum.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/types/fixed_array.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/types/fixed_array.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/types/fixed_array.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/types/fixed_array.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/types/fixed_hash.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/types/fixed_hash.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/types/fixed_hash.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/types/fixed_hash.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/types/intersection.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/types/intersection.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/types/intersection.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/types/intersection.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/types/noreturn.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/types/noreturn.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/types/noreturn.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/types/noreturn.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/types/proc.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/types/proc.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/types/proc.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/types/proc.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/types/self_type.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/types/self_type.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/types/self_type.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/types/self_type.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/types/simple.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/types/simple.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/types/simple.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/types/simple.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/types/t_enum.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/types/t_enum.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/types/t_enum.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/types/t_enum.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/types/type_member.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/types/type_member.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/types/type_member.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/types/type_member.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/types/type_parameter.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/types/type_parameter.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/types/type_parameter.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/types/type_parameter.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/types/type_template.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/types/type_template.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/types/type_template.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/types/type_template.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/types/type_variable.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/types/type_variable.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/types/type_variable.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/types/type_variable.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/types/typed_array.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/types/typed_array.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/types/typed_array.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/types/typed_array.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/types/typed_class.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/types/typed_class.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/types/typed_class.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/types/typed_class.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/types/typed_enumerable.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/types/typed_enumerable.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/types/typed_enumerable.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/types/typed_enumerable.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/types/typed_enumerator.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/types/typed_enumerator.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/types/typed_enumerator.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/types/typed_enumerator.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/types/typed_enumerator_chain.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/types/typed_enumerator_chain.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/types/typed_enumerator_chain.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/types/typed_enumerator_chain.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/types/typed_enumerator_lazy.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/types/typed_enumerator_lazy.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/types/typed_enumerator_lazy.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/types/typed_enumerator_lazy.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/types/typed_hash.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/types/typed_hash.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/types/typed_hash.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/types/typed_hash.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/types/typed_range.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/types/typed_range.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/types/typed_range.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/types/typed_range.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/types/typed_set.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/types/typed_set.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/types/typed_set.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/types/typed_set.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/types/union.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/types/union.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/types/union.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/types/union.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/types/untyped.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/types/untyped.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/types/untyped.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/types/untyped.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/utils.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/utils.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11812/lib/types/utils.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/utils.rb From 3ed1d6ccfba92ce9ccde56a120e01b5c6235ce84 Mon Sep 17 00:00:00 2001 From: thibhero Date: Mon, 10 Feb 2025 20:56:58 -0500 Subject: [PATCH 027/322] option `--ask` implementation for formulae dependency and dependant --- Library/Homebrew/cmd/upgrade.rb | 59 +++++++++++++++++++-------------- 1 file changed, 35 insertions(+), 24 deletions(-) diff --git a/Library/Homebrew/cmd/upgrade.rb b/Library/Homebrew/cmd/upgrade.rb index d716178060..4af765a736 100644 --- a/Library/Homebrew/cmd/upgrade.rb +++ b/Library/Homebrew/cmd/upgrade.rb @@ -246,36 +246,47 @@ module Homebrew total_installed_size = 0 total_net_size = 0 formulae_to_install.each do |f| - next unless (bottle = f.bottle) - kegs_size = 0 - # keep it quiet as there could be a lot of json fetch, it’s not intuitive to show them all. - bottle.fetch_tab(quiet: !args.debug?) - total_download_size += T.must(bottle.bottle_size) if bottle.bottle_size - total_installed_size += T.must(bottle.installed_size) if bottle.installed_size - f.installed_kegs.each do |keg| - kegs_size += keg.disk_usage if keg.disk_usage - end - total_net_size += (bottle.installed_size - kegs_size) if bottle.installed_size sized_formulae.push(f) next if f.deps.empty? + outdated_dependents = f.recursive_dependencies{ |_, dep| + next :prune if dep.to_formula.deps.empty? + next :prune unless dep.to_formula.outdated? + next :prune unless dep.to_formula.bottled? + }.flatten + + sized_formulae.concat(outdated_dependents.flat_map { |dep| + dep.to_formula + }).flatten - # f.recursive_dependencies.each do |dep| - # f_dep = dep.to_formula - # kegs_dep_size = 0 - # bottle_dep = f_dep.bottle - # bottle_dep.fetch_tab(quiet: !args.debug?) - # total_download_size += bottle_dep.bottle_size if bottle_dep.bottle_size - # total_installed_size += bottle_dep.installed_size if bottle_dep.installed_size - # f_dep.installed_kegs.each do |keg| - # kegs_dep_size += keg.disk_usage if keg.disk_usage - # end - # total_net_size += (bottle_dep.installed_size - kegs_dep_size) if bottle_dep.installed_size - # end end + + # check if formulae are dependant of those formulae and add if outdated + unless Homebrew::EnvConfig.no_installed_dependents_check? + sized_formulae.concat(Formula.installed.select do |f| + f.deps.any? { |dep| + sized_formulae.include?(dep.to_formula) && f.outdated? + } + end) + end + sized_formulae = sized_formulae.uniq { |dep| + dep.to_s + } + sized_formulae.each do |f| + kegs_dep_size = 0 + next unless (bottle = f.bottle) + bottle.fetch_tab(quiet: !args.debug?) + total_download_size += bottle.bottle_size if bottle.bottle_size + total_installed_size += bottle.installed_size if bottle.installed_size + f.installed_kegs.each do |keg| + kegs_dep_size += keg.disk_usage if keg.disk_usage + end + total_net_size += (bottle.installed_size - kegs_dep_size) if bottle.installed_size + end + puts "Formulae: #{sized_formulae.join(", ")}\n\n" puts "Download Size: #{disk_usage_readable(total_download_size)}" if total_download_size - puts "Install Size: #{disk_usage_readable(total_installed_size)}\n" if total_installed_size - puts "Net Install Size: #{disk_usage_readable(total_net_size)}\n" if total_net_size + puts "Install Size: #{disk_usage_readable(total_installed_size)}" if total_installed_size + puts "Net Install Size: #{disk_usage_readable(total_net_size)}" if total_net_size ask_input.call end From d9846ceda55455207ba09d5a3c8965fb8c665dbc Mon Sep 17 00:00:00 2001 From: thibhero Date: Mon, 10 Feb 2025 20:59:27 -0500 Subject: [PATCH 028/322] refactoring the code to make it clearer --- Library/Homebrew/cmd/upgrade.rb | 116 ++++++++++++++++++++------------ 1 file changed, 72 insertions(+), 44 deletions(-) diff --git a/Library/Homebrew/cmd/upgrade.rb b/Library/Homebrew/cmd/upgrade.rb index 4af765a736..d947560485 100644 --- a/Library/Homebrew/cmd/upgrade.rb +++ b/Library/Homebrew/cmd/upgrade.rb @@ -238,55 +238,83 @@ module Homebrew end } - # Showing dependencies and required size to install + # Build a unique list of formulae to size by including: + # 1. The original formulae to install. + # 2. Their outdated dependents (subject to pruning criteria). + # 3. Optionally, any installed formula that depends on one of these and is outdated. + def compute_sized_formulae(formulae_to_install) + sized_formulae = formulae_to_install.flat_map do |formula| + # Always include the formula itself. + formula_list = [formula] + + # If there are dependencies, try to gather outdated, bottled ones. + if formula.deps.any? + outdated_dependents = formula.recursive_dependencies do |_, dep| + dep_formula = dep.to_formula + next :prune if dep_formula.deps.empty? + next :prune unless dep_formula.outdated? + next :prune unless dep_formula.bottled? + end.flatten + + # Convert each dependency to its formula. + formula_list.concat(outdated_dependents.flat_map { |dep| Array(dep.to_formula) }) + end + + formula_list + end + + # Add any installed formula that depends on one of the sized formulae and is outdated. + unless Homebrew::EnvConfig.no_installed_dependents_check? + installed_outdated = Formula.installed.select do |installed_formula| + installed_formula.outdated? && + installed_formula.deps.any? { |dep| sized_formulae.include?(dep.to_formula) } + end + sized_formulae.concat(installed_outdated) + end + + # Uniquify based on a string representation (or any unique identifier) + sized_formulae.uniq { |f| f.to_s } + end + + # Compute the total sizes (download, installed, and net) for the given formulae. + def compute_total_sizes(sized_formulae, debug: false) + total_download_size = 0 + total_installed_size = 0 + total_net_size = 0 + + sized_formulae.each do |formula| + next unless (bottle = formula.bottle) + + # Fetch additional bottle metadata (if necessary). + bottle.fetch_tab(quiet: !debug) + + total_download_size += bottle.bottle_size.to_i if bottle.bottle_size + total_installed_size += bottle.installed_size.to_i if bottle.installed_size + + # Sum disk usage for all installed kegs of the formula. + kegs_dep_size = formula.installed_kegs.sum { |keg| keg.disk_usage.to_i } + if bottle.installed_size + total_net_size += bottle.installed_size.to_i - kegs_dep_size + end + end + + { download: total_download_size, + installed: total_installed_size, + net: total_net_size } + end + + # Main block: if asking the user is enabled, show dependency and size information. if args.ask? ohai "Looking for bottles..." - sized_formulae = [] - total_download_size = 0 - total_installed_size = 0 - total_net_size = 0 - formulae_to_install.each do |f| - sized_formulae.push(f) - next if f.deps.empty? - outdated_dependents = f.recursive_dependencies{ |_, dep| - next :prune if dep.to_formula.deps.empty? - next :prune unless dep.to_formula.outdated? - next :prune unless dep.to_formula.bottled? - }.flatten - sized_formulae.concat(outdated_dependents.flat_map { |dep| - dep.to_formula - }).flatten - - end - - # check if formulae are dependant of those formulae and add if outdated - unless Homebrew::EnvConfig.no_installed_dependents_check? - sized_formulae.concat(Formula.installed.select do |f| - f.deps.any? { |dep| - sized_formulae.include?(dep.to_formula) && f.outdated? - } - end) - end - sized_formulae = sized_formulae.uniq { |dep| - dep.to_s - } - sized_formulae.each do |f| - kegs_dep_size = 0 - next unless (bottle = f.bottle) - bottle.fetch_tab(quiet: !args.debug?) - total_download_size += bottle.bottle_size if bottle.bottle_size - total_installed_size += bottle.installed_size if bottle.installed_size - f.installed_kegs.each do |keg| - kegs_dep_size += keg.disk_usage if keg.disk_usage - end - total_net_size += (bottle.installed_size - kegs_dep_size) if bottle.installed_size - end + sized_formulae = compute_sized_formulae(formulae_to_install) + sizes = compute_total_sizes(sized_formulae, debug: args.debug?) puts "Formulae: #{sized_formulae.join(", ")}\n\n" - puts "Download Size: #{disk_usage_readable(total_download_size)}" if total_download_size - puts "Install Size: #{disk_usage_readable(total_installed_size)}" if total_installed_size - puts "Net Install Size: #{disk_usage_readable(total_net_size)}" if total_net_size + puts "Download Size: #{disk_usage_readable(sizes[:download])}" if sizes[:download] > 0 + puts "Install Size: #{disk_usage_readable(sizes[:installed])}" if sizes[:installed] > 0 + puts "Net Install Size: #{disk_usage_readable(sizes[:net])}" if sizes[:net] > 0 + ask_input.call end From 987363da1590d081b8088c5b3e6008fada0944e7 Mon Sep 17 00:00:00 2001 From: Adrian Ho Date: Mon, 10 Feb 2025 14:55:20 +0800 Subject: [PATCH 029/322] clear core tap cache on formula creation Addresses inability to find just-created formula, see https://github.com/Homebrew/brew/pull/19244#issuecomment-2646030394 for context. --- Library/Homebrew/dev-cmd/create.rb | 1 + Library/Homebrew/formula_creator.rb | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Library/Homebrew/dev-cmd/create.rb b/Library/Homebrew/dev-cmd/create.rb index 7b1f87ca6b..ad73d5b4ee 100644 --- a/Library/Homebrew/dev-cmd/create.rb +++ b/Library/Homebrew/dev-cmd/create.rb @@ -220,6 +220,7 @@ module Homebrew path = fc.write_formula! formula = Homebrew.with_no_api_env do + CoreTap.instance.clear_cache Formula[fc.name] end PyPI.update_python_resources! formula, ignore_non_pypi_packages: true if args.python? diff --git a/Library/Homebrew/formula_creator.rb b/Library/Homebrew/formula_creator.rb index 4c60c468c6..7aea843537 100644 --- a/Library/Homebrew/formula_creator.rb +++ b/Library/Homebrew/formula_creator.rb @@ -100,9 +100,9 @@ module Homebrew sig { params(name: String).returns(String) } def latest_versioned_formula(name) name_prefix = "#{name}@" - Tap.fetch("homebrew/core").formula_names - .select { |f| f.start_with?(name_prefix) } - .max_by { |v| Gem::Version.new(v.sub(name_prefix, "")) } || "python" + CoreTap.instance.formula_names + .select { |f| f.start_with?(name_prefix) } + .max_by { |v| Gem::Version.new(v.sub(name_prefix, "")) } || "python" end sig { returns(String) } From 4854113cf9e23dbc72453022d8f385a0e32be9cc Mon Sep 17 00:00:00 2001 From: thibhero Date: Mon, 10 Feb 2025 23:17:24 -0500 Subject: [PATCH 030/322] Add parameter to unify function arguments with reinstall.rb --- Library/Homebrew/cmd/upgrade.rb | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/Library/Homebrew/cmd/upgrade.rb b/Library/Homebrew/cmd/upgrade.rb index d947560485..a6e5454d0e 100644 --- a/Library/Homebrew/cmd/upgrade.rb +++ b/Library/Homebrew/cmd/upgrade.rb @@ -242,13 +242,13 @@ module Homebrew # 1. The original formulae to install. # 2. Their outdated dependents (subject to pruning criteria). # 3. Optionally, any installed formula that depends on one of these and is outdated. - def compute_sized_formulae(formulae_to_install) + def compute_sized_formulae(formulae_to_install, check_dep: true) sized_formulae = formulae_to_install.flat_map do |formula| # Always include the formula itself. formula_list = [formula] # If there are dependencies, try to gather outdated, bottled ones. - if formula.deps.any? + if formula.deps.any? && check_dep outdated_dependents = formula.recursive_dependencies do |_, dep| dep_formula = dep.to_formula next :prune if dep_formula.deps.empty? @@ -264,7 +264,7 @@ module Homebrew end # Add any installed formula that depends on one of the sized formulae and is outdated. - unless Homebrew::EnvConfig.no_installed_dependents_check? + unless Homebrew::EnvConfig.no_installed_dependents_check? || !check_dep installed_outdated = Formula.installed.select do |installed_formula| installed_formula.outdated? && installed_formula.deps.any? { |dep| sized_formulae.include?(dep.to_formula) } @@ -292,9 +292,11 @@ module Homebrew total_installed_size += bottle.installed_size.to_i if bottle.installed_size # Sum disk usage for all installed kegs of the formula. - kegs_dep_size = formula.installed_kegs.sum { |keg| keg.disk_usage.to_i } - if bottle.installed_size - total_net_size += bottle.installed_size.to_i - kegs_dep_size + if formula.installed_kegs.any? + kegs_dep_size = formula.installed_kegs.sum { |keg| keg.disk_usage.to_i } + if bottle.installed_size + total_net_size += bottle.installed_size.to_i - kegs_dep_size + end end end @@ -304,6 +306,7 @@ module Homebrew end # Main block: if asking the user is enabled, show dependency and size information. + # This part should be if args.ask? ohai "Looking for bottles..." @@ -311,9 +314,9 @@ module Homebrew sizes = compute_total_sizes(sized_formulae, debug: args.debug?) puts "Formulae: #{sized_formulae.join(", ")}\n\n" - puts "Download Size: #{disk_usage_readable(sizes[:download])}" if sizes[:download] > 0 - puts "Install Size: #{disk_usage_readable(sizes[:installed])}" if sizes[:installed] > 0 - puts "Net Install Size: #{disk_usage_readable(sizes[:net])}" if sizes[:net] > 0 + puts "Download Size: #{disk_usage_readable(sizes[:download])}" + puts "Install Size: #{disk_usage_readable(sizes[:installed])}" + puts "Net Install Size: #{disk_usage_readable(sizes[:net])}" if sizes[:net] != 0 ask_input.call end From 478035ed901e40cb6d3f4f8b5c1e55653950a57a Mon Sep 17 00:00:00 2001 From: thibhero Date: Mon, 10 Feb 2025 23:18:47 -0500 Subject: [PATCH 031/322] Copying function from upgrade.rb and implementing with `check_dep: false` --- Library/Homebrew/cmd/reinstall.rb | 105 ++++++++++++++++++++++++++++++ 1 file changed, 105 insertions(+) diff --git a/Library/Homebrew/cmd/reinstall.rb b/Library/Homebrew/cmd/reinstall.rb index cadda01cbe..14bdaf57e2 100644 --- a/Library/Homebrew/cmd/reinstall.rb +++ b/Library/Homebrew/cmd/reinstall.rb @@ -63,6 +63,11 @@ module Homebrew [:switch, "-g", "--git", { description: "Create a Git repository, useful for creating patches to the software.", }], + [:switch, "--ask", { + description: "Ask for confirmation before downloading and upgrading formulae. " \ + "Print bottles and dependencies download size, install and net install size.", + env: :ask, + }], ].each do |args| options = args.pop send(*args, **options) @@ -126,6 +131,106 @@ module Homebrew unless formulae.empty? Install.perform_preinstall_checks_once + ask_input = lambda { + ohai "Do you want to proceed with the installation? [Y/y/yes/N/n]" + accepted_inputs = %w[y yes] + declined_inputs = %w[n no] + loop do + result = $stdin.gets.chomp.strip.downcase + if accepted_inputs.include?(result) + puts "Proceeding with installation..." + break + elsif declined_inputs.include?(result) + exit 0 + else + puts "Invalid input. Please enter 'Y', 'y', or 'yes' to proceed, or 'N' to abort." + end + end + } + + # Build a unique list of formulae to size by including: + # 1. The original formulae to install. + # 2. Their outdated dependents (subject to pruning criteria). + # 3. Optionally, any installed formula that depends on one of these and is outdated. + def compute_sized_formulae(formulae_to_install, check_dep: true) + sized_formulae = formulae_to_install.flat_map do |formula| + # Always include the formula itself. + formula_list = [formula] + + # If there are dependencies, try to gather outdated, bottled ones. + if formula.deps.any? && check_dep + outdated_dependents = formula.recursive_dependencies do |_, dep| + dep_formula = dep.to_formula + next :prune if dep_formula.deps.empty? + next :prune unless dep_formula.outdated? + next :prune unless dep_formula.bottled? + end.flatten + + # Convert each dependency to its formula. + formula_list.concat(outdated_dependents.flat_map { |dep| Array(dep.to_formula) }) + end + + formula_list + end + + # Add any installed formula that depends on one of the sized formulae and is outdated. + unless Homebrew::EnvConfig.no_installed_dependents_check? || !check_dep + installed_outdated = Formula.installed.select do |installed_formula| + installed_formula.outdated? && + installed_formula.deps.any? { |dep| sized_formulae.include?(dep.to_formula) } + end + sized_formulae.concat(installed_outdated) + end + + # Uniquify based on a string representation (or any unique identifier) + sized_formulae.uniq { |f| f.to_s } + end + + # Compute the total sizes (download, installed, and net) for the given formulae. + def compute_total_sizes(sized_formulae, debug: false) + total_download_size = 0 + total_installed_size = 0 + total_net_size = 0 + + sized_formulae.each do |formula| + next unless (bottle = formula.bottle) + + # Fetch additional bottle metadata (if necessary). + bottle.fetch_tab(quiet: !debug) + + total_download_size += bottle.bottle_size.to_i if bottle.bottle_size + total_installed_size += bottle.installed_size.to_i if bottle.installed_size + + # Sum disk usage for all installed kegs of the formula. + if formula.installed_kegs.any? + kegs_dep_size = formula.installed_kegs.sum { |keg| keg.disk_usage.to_i } + if bottle.installed_size + total_net_size += bottle.installed_size.to_i - kegs_dep_size + end + end + end + + { download: total_download_size, + installed: total_installed_size, + net: total_net_size } + end + + # Main block: if asking the user is enabled, show dependency and size information. + # This part should be + if args.ask? + ohai "Looking for bottles..." + + sized_formulae = compute_sized_formulae(formulae, check_dep: false) + sizes = compute_total_sizes(sized_formulae, debug: args.debug?) + + puts "Formulae: #{sized_formulae.join(", ")}\n\n" + puts "Download Size: #{disk_usage_readable(sizes[:download])}" + puts "Install Size: #{disk_usage_readable(sizes[:installed])}" + puts "Net Install Size: #{disk_usage_readable(sizes[:net])}" if sizes[:net] != 0 + + ask_input.call + end + formulae.each do |formula| if formula.pinned? onoe "#{formula.full_name} is pinned. You must unpin it to reinstall." From db10b644ad93f2154043be7e8075a540d5151228 Mon Sep 17 00:00:00 2001 From: thibhero Date: Mon, 10 Feb 2025 23:18:56 -0500 Subject: [PATCH 032/322] updating typecheck --- Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/reinstall.rbi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/reinstall.rbi b/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/reinstall.rbi index 10f9c8fb8f..beee25bbbe 100644 --- a/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/reinstall.rbi +++ b/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/reinstall.rbi @@ -17,6 +17,9 @@ class Homebrew::Cmd::Reinstall::Args < Homebrew::CLI::Args sig { returns(T.nilable(String)) } def appdir; end + sig { returns(T::Boolean) } + def ask?; end + sig { returns(T.nilable(String)) } def audio_unit_plugindir; end From 9359292db0f1ba8c20993cf130b3f2417f109adf Mon Sep 17 00:00:00 2001 From: Issy Long Date: Tue, 11 Feb 2025 10:28:52 +0000 Subject: [PATCH 033/322] Retain the mis-ordered dependency case. Co-authored-by: Carlo Cabrera --- Library/Homebrew/rubocops/lines.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/rubocops/lines.rb b/Library/Homebrew/rubocops/lines.rb index 638dac4409..579efd258a 100644 --- a/Library/Homebrew/rubocops/lines.rb +++ b/Library/Homebrew/rubocops/lines.rb @@ -938,7 +938,7 @@ module RuboCop end end - [:build, [:build, :test]].each do |type| + [:build, [:build, :test], [:test, :build]].each do |type| find_method_with_args(body_node, :depends_on, "rustup" => type) do problem "Formulae in homebrew/core should use 'depends_on \"rust\" => #{type}' " \ "instead of '#{@offensive_node.source}'." do |corrector| From a1111396823989cf31c4211acd3d472b4ee01ce8 Mon Sep 17 00:00:00 2001 From: thibhero Date: Tue, 11 Feb 2025 11:06:16 -0500 Subject: [PATCH 034/322] moving to lambda expressions to respect `brew style` --- Library/Homebrew/cmd/reinstall.rb | 12 ++++++------ Library/Homebrew/cmd/upgrade.rb | 8 ++++---- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/Library/Homebrew/cmd/reinstall.rb b/Library/Homebrew/cmd/reinstall.rb index 14bdaf57e2..d336233313 100644 --- a/Library/Homebrew/cmd/reinstall.rb +++ b/Library/Homebrew/cmd/reinstall.rb @@ -152,7 +152,7 @@ module Homebrew # 1. The original formulae to install. # 2. Their outdated dependents (subject to pruning criteria). # 3. Optionally, any installed formula that depends on one of these and is outdated. - def compute_sized_formulae(formulae_to_install, check_dep: true) + compute_sized_formulae = lambda { |formulae_to_install, check_dep: true| sized_formulae = formulae_to_install.flat_map do |formula| # Always include the formula itself. formula_list = [formula] @@ -184,10 +184,10 @@ module Homebrew # Uniquify based on a string representation (or any unique identifier) sized_formulae.uniq { |f| f.to_s } - end + } # Compute the total sizes (download, installed, and net) for the given formulae. - def compute_total_sizes(sized_formulae, debug: false) + compute_total_sizes = lambda { |sized_formulae, debug: false| total_download_size = 0 total_installed_size = 0 total_net_size = 0 @@ -213,15 +213,15 @@ module Homebrew { download: total_download_size, installed: total_installed_size, net: total_net_size } - end + } # Main block: if asking the user is enabled, show dependency and size information. # This part should be if args.ask? ohai "Looking for bottles..." - sized_formulae = compute_sized_formulae(formulae, check_dep: false) - sizes = compute_total_sizes(sized_formulae, debug: args.debug?) + sized_formulae = compute_sized_formulae.call(formulae, check_dep: false) + sizes = compute_total_sizes.call(sized_formulae, debug: args.debug?) puts "Formulae: #{sized_formulae.join(", ")}\n\n" puts "Download Size: #{disk_usage_readable(sizes[:download])}" diff --git a/Library/Homebrew/cmd/upgrade.rb b/Library/Homebrew/cmd/upgrade.rb index a6e5454d0e..54893ad18a 100644 --- a/Library/Homebrew/cmd/upgrade.rb +++ b/Library/Homebrew/cmd/upgrade.rb @@ -242,7 +242,7 @@ module Homebrew # 1. The original formulae to install. # 2. Their outdated dependents (subject to pruning criteria). # 3. Optionally, any installed formula that depends on one of these and is outdated. - def compute_sized_formulae(formulae_to_install, check_dep: true) + compute_sized_formulae = lambda { |formulae_to_install, check_dep: true| sized_formulae = formulae_to_install.flat_map do |formula| # Always include the formula itself. formula_list = [formula] @@ -274,10 +274,10 @@ module Homebrew # Uniquify based on a string representation (or any unique identifier) sized_formulae.uniq { |f| f.to_s } - end + } # Compute the total sizes (download, installed, and net) for the given formulae. - def compute_total_sizes(sized_formulae, debug: false) + compute_total_sizes = lambda { |sized_formulae, debug: false| total_download_size = 0 total_installed_size = 0 total_net_size = 0 @@ -303,7 +303,7 @@ module Homebrew { download: total_download_size, installed: total_installed_size, net: total_net_size } - end + } # Main block: if asking the user is enabled, show dependency and size information. # This part should be From d8c790dddc34a221fdc9c0a8526a1573d4024c6a Mon Sep 17 00:00:00 2001 From: Douglas Eichelberger Date: Mon, 10 Feb 2025 19:25:55 -0800 Subject: [PATCH 035/322] Use delegation to create Cask DSL methods --- Library/Homebrew/cask/cask.rb | 4 +- Library/Homebrew/cask/cask.rbi | 67 ------- Library/Homebrew/sorbet/rbi/dsl/cask/cask.rbi | 186 ++++++++++++++++++ .../sorbet/tapioca/compilers/delegators.rb | 2 +- .../sorbet/tapioca/compilers/forwardables.rb | 26 +-- 5 files changed, 203 insertions(+), 82 deletions(-) delete mode 100644 Library/Homebrew/cask/cask.rbi diff --git a/Library/Homebrew/cask/cask.rb b/Library/Homebrew/cask/cask.rb index ee1f6dcae6..7eba153bdf 100644 --- a/Library/Homebrew/cask/cask.rb +++ b/Library/Homebrew/cask/cask.rb @@ -117,9 +117,7 @@ module Cask @dsl.language_eval end - ::Cask::DSL::DSL_METHODS.each do |method_name| - define_method(method_name) { |*args, &block| @dsl.send(method_name, *args, &block) } - end + def_delegators :@dsl, *::Cask::DSL::DSL_METHODS sig { params(caskroom_path: Pathname).returns(T::Array[[String, String]]) } def timestamped_versions(caskroom_path: self.caskroom_path) diff --git a/Library/Homebrew/cask/cask.rbi b/Library/Homebrew/cask/cask.rbi deleted file mode 100644 index 1f789206e3..0000000000 --- a/Library/Homebrew/cask/cask.rbi +++ /dev/null @@ -1,67 +0,0 @@ -# typed: strict - -module Cask - class Cask - def appdir; end - - def artifacts; end - - def auto_updates; end - - def caveats; end - - def conflicts_with; end - - def container; end - - def depends_on; end - - def desc; end - - def discontinued?; end - - def deprecated?; end - - def deprecation_date; end - - def deprecation_reason; end - - def deprecation_replacement; end - - def disabled?; end - - def disable_date; end - - def disable_reason; end - - def disable_replacement; end - - def homepage; end - - def language; end - - def languages; end - - def livecheck; end - - def livecheck_defined?; end - - def livecheckable?; end - - def name; end - - def on_system_blocks_exist?; end - - sig { returns(T.nilable(MacOSVersion)) } - def on_system_block_min_os; end - - def sha256; end - - def staged_path; end - - sig { returns(T.nilable(::Cask::URL)) } - def url; end - - def version; end - end -end diff --git a/Library/Homebrew/sorbet/rbi/dsl/cask/cask.rbi b/Library/Homebrew/sorbet/rbi/dsl/cask/cask.rbi index 0c1b092222..789d386ab2 100644 --- a/Library/Homebrew/sorbet/rbi/dsl/cask/cask.rbi +++ b/Library/Homebrew/sorbet/rbi/dsl/cask/cask.rbi @@ -6,6 +6,192 @@ class Cask::Cask + sig { params(args: T.untyped, block: T.untyped).returns(T.untyped) } + def app(*args, &block); end + + sig { params(args: T.untyped, block: T.untyped).returns(T.untyped) } + def appcast(*args, &block); end + + sig { params(args: T.untyped, block: T.untyped).returns(T.untyped) } + def appdir(*args, &block); end + + sig { params(args: T.untyped, block: T.untyped).returns(T.untyped) } + def arch(*args, &block); end + + sig { params(args: T.untyped, block: T.untyped).returns(T.untyped) } + def artifact(*args, &block); end + + sig { params(args: T.untyped, block: T.untyped).returns(T.untyped) } + def artifacts(*args, &block); end + + sig { params(args: T.untyped, block: T.untyped).returns(T.untyped) } + def audio_unit_plugin(*args, &block); end + + sig { params(args: T.untyped, block: T.untyped).returns(T.untyped) } + def auto_updates(*args, &block); end + + sig { params(args: T.untyped, block: T.untyped).returns(T.untyped) } + def binary(*args, &block); end + + sig { params(args: T.untyped, block: T.untyped).returns(T.untyped) } + def caveats(*args, &block); end + + sig { params(args: T.untyped, block: T.untyped).returns(T.untyped) } + def colorpicker(*args, &block); end + + sig { params(args: T.untyped, block: T.untyped).returns(T.untyped) } + def conflicts_with(*args, &block); end + + sig { params(args: T.untyped, block: T.untyped).returns(T.untyped) } + def container(*args, &block); end + + sig { params(args: T.untyped, block: T.untyped).returns(T.untyped) } + def depends_on(*args, &block); end + + sig { params(args: T.untyped, block: T.untyped).returns(T::Boolean) } + def depends_on_set_in_block?(*args, &block); end + + sig { params(args: T.untyped, block: T.untyped).returns(T.untyped) } + def deprecate!(*args, &block); end + + sig { params(args: T.untyped, block: T.untyped).returns(T::Boolean) } + def deprecated?(*args, &block); end + + sig { params(args: T.untyped, block: T.untyped).returns(T.untyped) } + def deprecation_date(*args, &block); end + + sig { params(args: T.untyped, block: T.untyped).returns(T.untyped) } + def deprecation_reason(*args, &block); end + + sig { params(args: T.untyped, block: T.untyped).returns(T.untyped) } + def deprecation_replacement(*args, &block); end + + sig { params(args: T.untyped, block: T.untyped).returns(T.untyped) } + def desc(*args, &block); end + + sig { params(args: T.untyped, block: T.untyped).returns(T.untyped) } + def dictionary(*args, &block); end + + sig { params(args: T.untyped, block: T.untyped).returns(T.untyped) } + def disable!(*args, &block); end + + sig { params(args: T.untyped, block: T.untyped).returns(T.untyped) } + def disable_date(*args, &block); end + + sig { params(args: T.untyped, block: T.untyped).returns(T.untyped) } + def disable_reason(*args, &block); end + + sig { params(args: T.untyped, block: T.untyped).returns(T.untyped) } + def disable_replacement(*args, &block); end + + sig { params(args: T.untyped, block: T.untyped).returns(T::Boolean) } + def disabled?(*args, &block); end + + sig { params(args: T.untyped, block: T.untyped).returns(T::Boolean) } + def discontinued?(*args, &block); end + + sig { params(args: T.untyped, block: T.untyped).returns(T.untyped) } + def font(*args, &block); end + + sig { params(args: T.untyped, block: T.untyped).returns(T.untyped) } + def homepage(*args, &block); end + + sig { params(args: T.untyped, block: T.untyped).returns(T.untyped) } + def input_method(*args, &block); end + + sig { params(args: T.untyped, block: T.untyped).returns(T.untyped) } + def installer(*args, &block); end + + sig { params(args: T.untyped, block: T.untyped).returns(T.untyped) } + def internet_plugin(*args, &block); end + + sig { params(args: T.untyped, block: T.untyped).returns(T.untyped) } + def keyboard_layout(*args, &block); end + + sig { params(args: T.untyped, block: T.untyped).returns(T.untyped) } + def language(*args, &block); end + + sig { params(args: T.untyped, block: T.untyped).returns(T.untyped) } + def livecheck(*args, &block); end + + sig { params(args: T.untyped, block: T.untyped).returns(T::Boolean) } + def livecheck_defined?(*args, &block); end + + sig { params(args: T.untyped, block: T.untyped).returns(T::Boolean) } + def livecheckable?(*args, &block); end + sig { returns(T::Boolean) } def loaded_from_api?; end + + sig { params(args: T.untyped, block: T.untyped).returns(T.untyped) } + def manpage(*args, &block); end + + sig { params(args: T.untyped, block: T.untyped).returns(T.untyped) } + def mdimporter(*args, &block); end + + sig { params(args: T.untyped, block: T.untyped).returns(T.untyped) } + def name(*args, &block); end + + sig { params(args: T.untyped, block: T.untyped).returns(T.nilable(MacOSVersion)) } + def on_system_block_min_os(*args, &block); end + + sig { params(args: T.untyped, block: T.untyped).returns(T::Boolean) } + def on_system_blocks_exist?(*args, &block); end + + sig { params(args: T.untyped, block: T.untyped).returns(T.untyped) } + def pkg(*args, &block); end + + sig { params(args: T.untyped, block: T.untyped).returns(T.untyped) } + def postflight(*args, &block); end + + sig { params(args: T.untyped, block: T.untyped).returns(T.untyped) } + def preflight(*args, &block); end + + sig { params(args: T.untyped, block: T.untyped).returns(T.untyped) } + def prefpane(*args, &block); end + + sig { params(args: T.untyped, block: T.untyped).returns(T.untyped) } + def qlplugin(*args, &block); end + + sig { params(args: T.untyped, block: T.untyped).returns(T.untyped) } + def screen_saver(*args, &block); end + + sig { params(args: T.untyped, block: T.untyped).returns(T.untyped) } + def service(*args, &block); end + + sig { params(args: T.untyped, block: T.untyped).returns(T.untyped) } + def sha256(*args, &block); end + + sig { params(args: T.untyped, block: T.untyped).returns(T.untyped) } + def stage_only(*args, &block); end + + sig { params(args: T.untyped, block: T.untyped).returns(T.untyped) } + def staged_path(*args, &block); end + + sig { params(args: T.untyped, block: T.untyped).returns(T.untyped) } + def suite(*args, &block); end + + sig { params(args: T.untyped, block: T.untyped).returns(T.untyped) } + def uninstall(*args, &block); end + + sig { params(args: T.untyped, block: T.untyped).returns(T.untyped) } + def uninstall_postflight(*args, &block); end + + sig { params(args: T.untyped, block: T.untyped).returns(T.untyped) } + def uninstall_preflight(*args, &block); end + + sig { params(args: T.untyped, block: T.untyped).returns(T.nilable(::Cask::URL)) } + def url(*args, &block); end + + sig { params(args: T.untyped, block: T.untyped).returns(T.untyped) } + def version(*args, &block); end + + sig { params(args: T.untyped, block: T.untyped).returns(T.untyped) } + def vst3_plugin(*args, &block); end + + sig { params(args: T.untyped, block: T.untyped).returns(T.untyped) } + def vst_plugin(*args, &block); end + + sig { params(args: T.untyped, block: T.untyped).returns(T.untyped) } + def zap(*args, &block); end end diff --git a/Library/Homebrew/sorbet/tapioca/compilers/delegators.rb b/Library/Homebrew/sorbet/tapioca/compilers/delegators.rb index 681d7fcc3d..14d1c359e8 100644 --- a/Library/Homebrew/sorbet/tapioca/compilers/delegators.rb +++ b/Library/Homebrew/sorbet/tapioca/compilers/delegators.rb @@ -7,7 +7,7 @@ require "cask/url" module Tapioca module Compilers # A compiler for subclasses of Delegator. - # To add a new delegator: require it above add add it to the DELEGATIONS hash below. + # To add a new delegator: require it above and add it to the DELEGATIONS hash below. class Delegators < Tapioca::Dsl::Compiler # Mapping of delegator classes to the classes they delegate to (as defined in `__getobj__`). DELEGATIONS = T.let({ diff --git a/Library/Homebrew/sorbet/tapioca/compilers/forwardables.rb b/Library/Homebrew/sorbet/tapioca/compilers/forwardables.rb index 6898beef6e..f0185cb522 100644 --- a/Library/Homebrew/sorbet/tapioca/compilers/forwardables.rb +++ b/Library/Homebrew/sorbet/tapioca/compilers/forwardables.rb @@ -12,6 +12,13 @@ module Tapioca ARRAY_METHODS = T.let(["to_a", "to_ary"].freeze, T::Array[String]) HASH_METHODS = T.let(["to_h", "to_hash"].freeze, T::Array[String]) STRING_METHODS = T.let(["to_s", "to_str", "to_json"].freeze, T::Array[String]) + # Use this to override the default return type of a forwarded method: + RETURN_TYPE_OVERRIDES = T.let({ + "::Cask::Cask" => { + "on_system_block_min_os" => "T.nilable(MacOSVersion)", + "url" => "T.nilable(::Cask::URL)", + }, + }.freeze, T::Hash[String, T::Hash[String, String]]) ConstantType = type_member { { fixed: Module } } @@ -38,7 +45,7 @@ module Tapioca sig { params(klass: RBI::Scope, method: T.any(Method, UnboundMethod), class_method: T::Boolean).void } def compile_forwardable_method(klass, method, class_method: false) name = method.name.to_s - return_type = return_type(name) + return_type = return_type(klass.to_s, name) klass.create_method( name, parameters: [ @@ -50,16 +57,13 @@ module Tapioca ) end - sig { params(name: String).returns(String) } - def return_type(name) - if name.end_with?("?") - "T::Boolean" - elsif ARRAY_METHODS.include?(name) - "Array" - elsif HASH_METHODS.include?(name) - "Hash" - elsif STRING_METHODS.include?(name) - "String" + sig { params(klass: String, name: String).returns(String) } + def return_type(klass, name) + if (override = RETURN_TYPE_OVERRIDES.dig(klass, name)) then override + elsif name.end_with?("?") then "T::Boolean" + elsif ARRAY_METHODS.include?(name) then "Array" + elsif HASH_METHODS.include?(name) then "Hash" + elsif STRING_METHODS.include?(name) then "String" else "T.untyped" end From a0817382e0ff9ce41623b8fe53d9b335d30b80c0 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 11 Feb 2025 18:17:39 +0000 Subject: [PATCH 036/322] build(deps): bump the sorbet group in /Library/Homebrew with 4 updates Bumps the sorbet group in /Library/Homebrew with 4 updates: [sorbet-static-and-runtime](https://github.com/sorbet/sorbet), [sorbet-runtime](https://github.com/sorbet/sorbet), [sorbet](https://github.com/sorbet/sorbet) and [sorbet-static](https://github.com/sorbet/sorbet). Updates `sorbet-static-and-runtime` from 0.5.11813 to 0.5.11820 - [Release notes](https://github.com/sorbet/sorbet/releases) - [Commits](https://github.com/sorbet/sorbet/commits) Updates `sorbet-runtime` from 0.5.11813 to 0.5.11820 - [Release notes](https://github.com/sorbet/sorbet/releases) - [Commits](https://github.com/sorbet/sorbet/commits) Updates `sorbet` from 0.5.11813 to 0.5.11820 - [Release notes](https://github.com/sorbet/sorbet/releases) - [Commits](https://github.com/sorbet/sorbet/commits) Updates `sorbet-static` from 0.5.11813 to 0.5.11820 - [Release notes](https://github.com/sorbet/sorbet/releases) - [Commits](https://github.com/sorbet/sorbet/commits) --- updated-dependencies: - dependency-name: sorbet-static-and-runtime dependency-type: direct:development update-type: version-update:semver-patch dependency-group: sorbet - dependency-name: sorbet-runtime dependency-type: direct:production update-type: version-update:semver-patch dependency-group: sorbet - dependency-name: sorbet dependency-type: indirect update-type: version-update:semver-patch dependency-group: sorbet - dependency-name: sorbet-static dependency-type: indirect update-type: version-update:semver-patch dependency-group: sorbet ... Signed-off-by: dependabot[bot] --- Library/Homebrew/Gemfile.lock | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/Library/Homebrew/Gemfile.lock b/Library/Homebrew/Gemfile.lock index 8062d0360c..d7fa7fd5f0 100644 --- a/Library/Homebrew/Gemfile.lock +++ b/Library/Homebrew/Gemfile.lock @@ -114,15 +114,15 @@ GEM simplecov-html (0.13.1) simplecov_json_formatter (0.1.4) simpleidn (0.2.3) - sorbet (0.5.11813) - sorbet-static (= 0.5.11813) - sorbet-runtime (0.5.11813) - sorbet-static (0.5.11813-aarch64-linux) - sorbet-static (0.5.11813-universal-darwin) - sorbet-static (0.5.11813-x86_64-linux) - sorbet-static-and-runtime (0.5.11813) - sorbet (= 0.5.11813) - sorbet-runtime (= 0.5.11813) + sorbet (0.5.11820) + sorbet-static (= 0.5.11820) + sorbet-runtime (0.5.11820) + sorbet-static (0.5.11820-aarch64-linux) + sorbet-static (0.5.11820-universal-darwin) + sorbet-static (0.5.11820-x86_64-linux) + sorbet-static-and-runtime (0.5.11820) + sorbet (= 0.5.11820) + sorbet-runtime (= 0.5.11820) spoom (1.5.3) erubi (>= 1.10.0) prism (>= 0.28.0) @@ -153,7 +153,6 @@ GEM PLATFORMS aarch64-linux - arm-linux arm64-darwin x86_64-darwin x86_64-linux From 140badb1b1e56c3d01b9007fb8e0de7ca927ba3d Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 11 Feb 2025 18:17:47 +0000 Subject: [PATCH 037/322] build(deps-dev): bump json from 2.10.0 to 2.10.1 in /Library/Homebrew Bumps [json](https://github.com/ruby/json) from 2.10.0 to 2.10.1. - [Release notes](https://github.com/ruby/json/releases) - [Changelog](https://github.com/ruby/json/blob/master/CHANGES.md) - [Commits](https://github.com/ruby/json/compare/v2.10.0...v2.10.1) --- updated-dependencies: - dependency-name: json dependency-type: indirect update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- Library/Homebrew/Gemfile.lock | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Library/Homebrew/Gemfile.lock b/Library/Homebrew/Gemfile.lock index 8062d0360c..5d00f1b3f5 100644 --- a/Library/Homebrew/Gemfile.lock +++ b/Library/Homebrew/Gemfile.lock @@ -16,7 +16,7 @@ GEM bindata (~> 2) erubi (1.13.1) hana (1.3.7) - json (2.10.0) + json (2.10.1) json_schemer (2.4.0) bigdecimal hana (~> 1.3) @@ -153,7 +153,6 @@ GEM PLATFORMS aarch64-linux - arm-linux arm64-darwin x86_64-darwin x86_64-linux From 0a29cf8cd0ad899e94ae3d03ede3ff0ddaa52cbb Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 11 Feb 2025 18:18:14 +0000 Subject: [PATCH 038/322] build(deps-dev): bump ruby-lsp in /Library/Homebrew Bumps [ruby-lsp](https://github.com/Shopify/ruby-lsp) from 0.23.9 to 0.23.10. - [Release notes](https://github.com/Shopify/ruby-lsp/releases) - [Commits](https://github.com/Shopify/ruby-lsp/compare/v0.23.9...v0.23.10) --- updated-dependencies: - dependency-name: ruby-lsp dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- Library/Homebrew/Gemfile.lock | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Library/Homebrew/Gemfile.lock b/Library/Homebrew/Gemfile.lock index 8062d0360c..61b62dcbec 100644 --- a/Library/Homebrew/Gemfile.lock +++ b/Library/Homebrew/Gemfile.lock @@ -96,7 +96,7 @@ GEM rubocop (~> 1.61) rubocop-sorbet (0.8.7) rubocop (>= 1) - ruby-lsp (0.23.9) + ruby-lsp (0.23.10) language_server-protocol (~> 3.17.0) prism (>= 1.2, < 2.0) rbs (>= 3, < 4) @@ -153,7 +153,6 @@ GEM PLATFORMS aarch64-linux - arm-linux arm64-darwin x86_64-darwin x86_64-linux From 1bd75ffbe2b1c14b8a757815b755f68fd2e2b581 Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Tue, 11 Feb 2025 18:29:20 +0000 Subject: [PATCH 039/322] brew vendor-gems: commit updates. --- Library/Homebrew/Gemfile.lock | 1 + Library/Homebrew/vendor/bundle/bundler/setup.rb | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Library/Homebrew/Gemfile.lock b/Library/Homebrew/Gemfile.lock index 61b62dcbec..ba0580ef5d 100644 --- a/Library/Homebrew/Gemfile.lock +++ b/Library/Homebrew/Gemfile.lock @@ -153,6 +153,7 @@ GEM PLATFORMS aarch64-linux + arm-linux arm64-darwin x86_64-darwin x86_64-linux diff --git a/Library/Homebrew/vendor/bundle/bundler/setup.rb b/Library/Homebrew/vendor/bundle/bundler/setup.rb index 790261d336..f7d2b9394a 100644 --- a/Library/Homebrew/vendor/bundle/bundler/setup.rb +++ b/Library/Homebrew/vendor/bundle/bundler/setup.rb @@ -98,7 +98,7 @@ $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rubocop-performance-1.23.1/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rubocop-rspec-3.4.0/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rubocop-sorbet-0.8.7/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/ruby-lsp-0.23.9/lib") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/ruby-lsp-0.23.10/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/ruby-macho-4.1.0/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/extensions/arm64-darwin-20/#{Gem.extension_api_version}/ruby-prof-1.7.1") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/ruby-prof-1.7.1/lib") From eb6bc4e9543ad703c8df37d98f75e03bce0a0c5c Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Tue, 11 Feb 2025 18:29:25 +0000 Subject: [PATCH 040/322] brew vendor-gems: commit updates. --- Library/Homebrew/Gemfile.lock | 1 + Library/Homebrew/vendor/bundle/bundler/setup.rb | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Library/Homebrew/Gemfile.lock b/Library/Homebrew/Gemfile.lock index 5d00f1b3f5..a5f83a122b 100644 --- a/Library/Homebrew/Gemfile.lock +++ b/Library/Homebrew/Gemfile.lock @@ -153,6 +153,7 @@ GEM PLATFORMS aarch64-linux + arm-linux arm64-darwin x86_64-darwin x86_64-linux diff --git a/Library/Homebrew/vendor/bundle/bundler/setup.rb b/Library/Homebrew/vendor/bundle/bundler/setup.rb index 790261d336..0148113342 100644 --- a/Library/Homebrew/vendor/bundle/bundler/setup.rb +++ b/Library/Homebrew/vendor/bundle/bundler/setup.rb @@ -49,8 +49,8 @@ $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/elftools-1.3.1/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/erubi-1.13.1/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/hana-1.3.7/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/extensions/arm64-darwin-20/#{Gem.extension_api_version}/json-2.10.0") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/json-2.10.0/lib") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/extensions/arm64-darwin-20/#{Gem.extension_api_version}/json-2.10.1") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/json-2.10.1/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/regexp_parser-2.10.0/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/simpleidn-0.2.3/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/json_schemer-2.4.0/lib") From 9e9ae00f92192a9d1a18c7fba3715a8822ee087d Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Tue, 11 Feb 2025 18:29:28 +0000 Subject: [PATCH 041/322] Update RBI files for ruby-lsp. Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow. --- .../sorbet/rbi/gems/{ruby-lsp@0.23.9.rbi => ruby-lsp@0.23.10.rbi} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename Library/Homebrew/sorbet/rbi/gems/{ruby-lsp@0.23.9.rbi => ruby-lsp@0.23.10.rbi} (100%) diff --git a/Library/Homebrew/sorbet/rbi/gems/ruby-lsp@0.23.9.rbi b/Library/Homebrew/sorbet/rbi/gems/ruby-lsp@0.23.10.rbi similarity index 100% rename from Library/Homebrew/sorbet/rbi/gems/ruby-lsp@0.23.9.rbi rename to Library/Homebrew/sorbet/rbi/gems/ruby-lsp@0.23.10.rbi From ccd8ca87a4a4a0826931c16541f632fd43cc6e96 Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Tue, 11 Feb 2025 18:29:34 +0000 Subject: [PATCH 042/322] brew vendor-gems: commit updates. --- Library/Homebrew/Gemfile.lock | 1 + Library/Homebrew/vendor/bundle/bundler/setup.rb | 8 ++++---- .../lib/sorbet-runtime.rb | 0 .../lib/types/_types.rb | 0 .../lib/types/abstract_utils.rb | 0 .../lib/types/boolean.rb | 0 .../lib/types/compatibility_patches.rb | 0 .../lib/types/configuration.rb | 0 .../lib/types/enum.rb | 0 .../lib/types/generic.rb | 0 .../lib/types/helpers.rb | 0 .../lib/types/non_forcing_constants.rb | 0 .../lib/types/private/abstract/data.rb | 0 .../lib/types/private/abstract/declare.rb | 0 .../lib/types/private/abstract/hooks.rb | 0 .../lib/types/private/abstract/validate.rb | 0 .../lib/types/private/caller_utils.rb | 0 .../lib/types/private/casts.rb | 0 .../lib/types/private/class_utils.rb | 0 .../lib/types/private/decl_state.rb | 0 .../lib/types/private/final.rb | 0 .../lib/types/private/methods/_methods.rb | 0 .../lib/types/private/methods/call_validation.rb | 0 .../lib/types/private/methods/call_validation_2_6.rb | 0 .../lib/types/private/methods/call_validation_2_7.rb | 0 .../lib/types/private/methods/decl_builder.rb | 0 .../lib/types/private/methods/modes.rb | 0 .../lib/types/private/methods/signature.rb | 0 .../lib/types/private/methods/signature_validation.rb | 0 .../lib/types/private/mixins/mixins.rb | 0 .../lib/types/private/retry.rb | 0 .../lib/types/private/runtime_levels.rb | 0 .../lib/types/private/sealed.rb | 0 .../lib/types/private/types/not_typed.rb | 0 .../lib/types/private/types/simple_pair_union.rb | 0 .../lib/types/private/types/string_holder.rb | 0 .../lib/types/private/types/type_alias.rb | 0 .../lib/types/private/types/void.rb | 0 .../lib/types/props/_props.rb | 0 .../lib/types/props/constructor.rb | 0 .../lib/types/props/custom_type.rb | 0 .../lib/types/props/decorator.rb | 0 .../lib/types/props/errors.rb | 0 .../lib/types/props/generated_code_validation.rb | 0 .../lib/types/props/has_lazily_specialized_methods.rb | 0 .../lib/types/props/optional.rb | 0 .../lib/types/props/plugin.rb | 0 .../lib/types/props/pretty_printable.rb | 0 .../lib/types/props/private/apply_default.rb | 0 .../lib/types/props/private/deserializer_generator.rb | 0 .../lib/types/props/private/parser.rb | 0 .../lib/types/props/private/serde_transform.rb | 0 .../lib/types/props/private/serializer_generator.rb | 0 .../lib/types/props/private/setter_factory.rb | 0 .../lib/types/props/serializable.rb | 0 .../lib/types/props/type_validation.rb | 0 .../lib/types/props/utils.rb | 0 .../lib/types/props/weak_constructor.rb | 0 .../lib/types/sig.rb | 0 .../lib/types/struct.rb | 0 .../lib/types/types/anything.rb | 0 .../lib/types/types/attached_class.rb | 0 .../lib/types/types/base.rb | 0 .../lib/types/types/class_of.rb | 0 .../lib/types/types/enum.rb | 0 .../lib/types/types/fixed_array.rb | 0 .../lib/types/types/fixed_hash.rb | 0 .../lib/types/types/intersection.rb | 0 .../lib/types/types/noreturn.rb | 0 .../lib/types/types/proc.rb | 0 .../lib/types/types/self_type.rb | 0 .../lib/types/types/simple.rb | 0 .../lib/types/types/t_enum.rb | 0 .../lib/types/types/type_member.rb | 0 .../lib/types/types/type_parameter.rb | 0 .../lib/types/types/type_template.rb | 0 .../lib/types/types/type_variable.rb | 0 .../lib/types/types/typed_array.rb | 0 .../lib/types/types/typed_class.rb | 0 .../lib/types/types/typed_enumerable.rb | 0 .../lib/types/types/typed_enumerator.rb | 0 .../lib/types/types/typed_enumerator_chain.rb | 0 .../lib/types/types/typed_enumerator_lazy.rb | 0 .../lib/types/types/typed_hash.rb | 0 .../lib/types/types/typed_range.rb | 0 .../lib/types/types/typed_set.rb | 0 .../lib/types/types/union.rb | 0 .../lib/types/types/untyped.rb | 0 .../lib/types/utils.rb | 0 89 files changed, 5 insertions(+), 4 deletions(-) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11813 => sorbet-runtime-0.5.11820}/lib/sorbet-runtime.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11813 => sorbet-runtime-0.5.11820}/lib/types/_types.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11813 => sorbet-runtime-0.5.11820}/lib/types/abstract_utils.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11813 => sorbet-runtime-0.5.11820}/lib/types/boolean.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11813 => sorbet-runtime-0.5.11820}/lib/types/compatibility_patches.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11813 => sorbet-runtime-0.5.11820}/lib/types/configuration.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11813 => sorbet-runtime-0.5.11820}/lib/types/enum.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11813 => sorbet-runtime-0.5.11820}/lib/types/generic.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11813 => sorbet-runtime-0.5.11820}/lib/types/helpers.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11813 => sorbet-runtime-0.5.11820}/lib/types/non_forcing_constants.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11813 => sorbet-runtime-0.5.11820}/lib/types/private/abstract/data.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11813 => sorbet-runtime-0.5.11820}/lib/types/private/abstract/declare.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11813 => sorbet-runtime-0.5.11820}/lib/types/private/abstract/hooks.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11813 => sorbet-runtime-0.5.11820}/lib/types/private/abstract/validate.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11813 => sorbet-runtime-0.5.11820}/lib/types/private/caller_utils.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11813 => sorbet-runtime-0.5.11820}/lib/types/private/casts.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11813 => sorbet-runtime-0.5.11820}/lib/types/private/class_utils.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11813 => sorbet-runtime-0.5.11820}/lib/types/private/decl_state.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11813 => sorbet-runtime-0.5.11820}/lib/types/private/final.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11813 => sorbet-runtime-0.5.11820}/lib/types/private/methods/_methods.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11813 => sorbet-runtime-0.5.11820}/lib/types/private/methods/call_validation.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11813 => sorbet-runtime-0.5.11820}/lib/types/private/methods/call_validation_2_6.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11813 => sorbet-runtime-0.5.11820}/lib/types/private/methods/call_validation_2_7.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11813 => sorbet-runtime-0.5.11820}/lib/types/private/methods/decl_builder.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11813 => sorbet-runtime-0.5.11820}/lib/types/private/methods/modes.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11813 => sorbet-runtime-0.5.11820}/lib/types/private/methods/signature.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11813 => sorbet-runtime-0.5.11820}/lib/types/private/methods/signature_validation.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11813 => sorbet-runtime-0.5.11820}/lib/types/private/mixins/mixins.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11813 => sorbet-runtime-0.5.11820}/lib/types/private/retry.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11813 => sorbet-runtime-0.5.11820}/lib/types/private/runtime_levels.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11813 => sorbet-runtime-0.5.11820}/lib/types/private/sealed.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11813 => sorbet-runtime-0.5.11820}/lib/types/private/types/not_typed.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11813 => sorbet-runtime-0.5.11820}/lib/types/private/types/simple_pair_union.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11813 => sorbet-runtime-0.5.11820}/lib/types/private/types/string_holder.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11813 => sorbet-runtime-0.5.11820}/lib/types/private/types/type_alias.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11813 => sorbet-runtime-0.5.11820}/lib/types/private/types/void.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11813 => sorbet-runtime-0.5.11820}/lib/types/props/_props.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11813 => sorbet-runtime-0.5.11820}/lib/types/props/constructor.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11813 => sorbet-runtime-0.5.11820}/lib/types/props/custom_type.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11813 => sorbet-runtime-0.5.11820}/lib/types/props/decorator.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11813 => sorbet-runtime-0.5.11820}/lib/types/props/errors.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11813 => sorbet-runtime-0.5.11820}/lib/types/props/generated_code_validation.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11813 => sorbet-runtime-0.5.11820}/lib/types/props/has_lazily_specialized_methods.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11813 => sorbet-runtime-0.5.11820}/lib/types/props/optional.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11813 => sorbet-runtime-0.5.11820}/lib/types/props/plugin.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11813 => sorbet-runtime-0.5.11820}/lib/types/props/pretty_printable.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11813 => sorbet-runtime-0.5.11820}/lib/types/props/private/apply_default.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11813 => sorbet-runtime-0.5.11820}/lib/types/props/private/deserializer_generator.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11813 => sorbet-runtime-0.5.11820}/lib/types/props/private/parser.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11813 => sorbet-runtime-0.5.11820}/lib/types/props/private/serde_transform.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11813 => sorbet-runtime-0.5.11820}/lib/types/props/private/serializer_generator.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11813 => sorbet-runtime-0.5.11820}/lib/types/props/private/setter_factory.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11813 => sorbet-runtime-0.5.11820}/lib/types/props/serializable.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11813 => sorbet-runtime-0.5.11820}/lib/types/props/type_validation.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11813 => sorbet-runtime-0.5.11820}/lib/types/props/utils.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11813 => sorbet-runtime-0.5.11820}/lib/types/props/weak_constructor.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11813 => sorbet-runtime-0.5.11820}/lib/types/sig.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11813 => sorbet-runtime-0.5.11820}/lib/types/struct.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11813 => sorbet-runtime-0.5.11820}/lib/types/types/anything.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11813 => sorbet-runtime-0.5.11820}/lib/types/types/attached_class.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11813 => sorbet-runtime-0.5.11820}/lib/types/types/base.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11813 => sorbet-runtime-0.5.11820}/lib/types/types/class_of.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11813 => sorbet-runtime-0.5.11820}/lib/types/types/enum.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11813 => sorbet-runtime-0.5.11820}/lib/types/types/fixed_array.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11813 => sorbet-runtime-0.5.11820}/lib/types/types/fixed_hash.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11813 => sorbet-runtime-0.5.11820}/lib/types/types/intersection.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11813 => sorbet-runtime-0.5.11820}/lib/types/types/noreturn.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11813 => sorbet-runtime-0.5.11820}/lib/types/types/proc.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11813 => sorbet-runtime-0.5.11820}/lib/types/types/self_type.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11813 => sorbet-runtime-0.5.11820}/lib/types/types/simple.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11813 => sorbet-runtime-0.5.11820}/lib/types/types/t_enum.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11813 => sorbet-runtime-0.5.11820}/lib/types/types/type_member.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11813 => sorbet-runtime-0.5.11820}/lib/types/types/type_parameter.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11813 => sorbet-runtime-0.5.11820}/lib/types/types/type_template.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11813 => sorbet-runtime-0.5.11820}/lib/types/types/type_variable.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11813 => sorbet-runtime-0.5.11820}/lib/types/types/typed_array.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11813 => sorbet-runtime-0.5.11820}/lib/types/types/typed_class.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11813 => sorbet-runtime-0.5.11820}/lib/types/types/typed_enumerable.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11813 => sorbet-runtime-0.5.11820}/lib/types/types/typed_enumerator.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11813 => sorbet-runtime-0.5.11820}/lib/types/types/typed_enumerator_chain.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11813 => sorbet-runtime-0.5.11820}/lib/types/types/typed_enumerator_lazy.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11813 => sorbet-runtime-0.5.11820}/lib/types/types/typed_hash.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11813 => sorbet-runtime-0.5.11820}/lib/types/types/typed_range.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11813 => sorbet-runtime-0.5.11820}/lib/types/types/typed_set.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11813 => sorbet-runtime-0.5.11820}/lib/types/types/union.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11813 => sorbet-runtime-0.5.11820}/lib/types/types/untyped.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11813 => sorbet-runtime-0.5.11820}/lib/types/utils.rb (100%) diff --git a/Library/Homebrew/Gemfile.lock b/Library/Homebrew/Gemfile.lock index d7fa7fd5f0..4db450f88b 100644 --- a/Library/Homebrew/Gemfile.lock +++ b/Library/Homebrew/Gemfile.lock @@ -153,6 +153,7 @@ GEM PLATFORMS aarch64-linux + arm-linux arm64-darwin x86_64-darwin x86_64-linux diff --git a/Library/Homebrew/vendor/bundle/bundler/setup.rb b/Library/Homebrew/vendor/bundle/bundler/setup.rb index 790261d336..c6c5dd8461 100644 --- a/Library/Homebrew/vendor/bundle/bundler/setup.rb +++ b/Library/Homebrew/vendor/bundle/bundler/setup.rb @@ -74,7 +74,7 @@ $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/extensions/arm64-darwin-20/#{Gem.extension_api_version}/pycall-1.5.2") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/pycall-1.5.2/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rainbow-3.1.1/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-runtime-0.5.11813/lib") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-runtime-0.5.11820/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rbi-0.2.4/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/extensions/arm64-darwin-20/#{Gem.extension_api_version}/rbs-3.8.1") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rbs-3.8.1/lib") @@ -106,9 +106,9 @@ $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/simplecov_json_formatter-0.1.4/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/simplecov-0.22.0/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/simplecov-cobertura-2.1.0/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-static-0.5.11813-universal-darwin/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-0.5.11813/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-static-and-runtime-0.5.11813/lib") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-static-0.5.11820-universal-darwin/lib") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-0.5.11820/lib") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-static-and-runtime-0.5.11820/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/thor-1.3.2/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/spoom-1.5.3/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/extensions/arm64-darwin-20/#{Gem.extension_api_version}/stackprof-0.2.27") diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/sorbet-runtime.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/sorbet-runtime.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/sorbet-runtime.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/sorbet-runtime.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/_types.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/_types.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/_types.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/_types.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/abstract_utils.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/abstract_utils.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/abstract_utils.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/abstract_utils.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/boolean.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/boolean.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/boolean.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/boolean.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/compatibility_patches.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/compatibility_patches.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/compatibility_patches.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/compatibility_patches.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/configuration.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/configuration.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/configuration.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/configuration.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/enum.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/enum.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/enum.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/enum.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/generic.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/generic.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/generic.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/generic.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/helpers.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/helpers.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/helpers.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/helpers.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/non_forcing_constants.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/non_forcing_constants.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/non_forcing_constants.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/non_forcing_constants.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/private/abstract/data.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/private/abstract/data.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/private/abstract/data.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/private/abstract/data.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/private/abstract/declare.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/private/abstract/declare.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/private/abstract/declare.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/private/abstract/declare.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/private/abstract/hooks.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/private/abstract/hooks.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/private/abstract/hooks.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/private/abstract/hooks.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/private/abstract/validate.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/private/abstract/validate.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/private/abstract/validate.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/private/abstract/validate.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/private/caller_utils.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/private/caller_utils.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/private/caller_utils.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/private/caller_utils.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/private/casts.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/private/casts.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/private/casts.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/private/casts.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/private/class_utils.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/private/class_utils.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/private/class_utils.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/private/class_utils.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/private/decl_state.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/private/decl_state.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/private/decl_state.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/private/decl_state.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/private/final.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/private/final.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/private/final.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/private/final.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/private/methods/_methods.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/private/methods/_methods.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/private/methods/_methods.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/private/methods/_methods.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/private/methods/call_validation.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/private/methods/call_validation.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/private/methods/call_validation.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/private/methods/call_validation.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/private/methods/call_validation_2_6.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/private/methods/call_validation_2_6.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/private/methods/call_validation_2_6.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/private/methods/call_validation_2_6.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/private/methods/call_validation_2_7.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/private/methods/call_validation_2_7.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/private/methods/call_validation_2_7.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/private/methods/call_validation_2_7.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/private/methods/decl_builder.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/private/methods/decl_builder.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/private/methods/decl_builder.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/private/methods/decl_builder.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/private/methods/modes.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/private/methods/modes.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/private/methods/modes.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/private/methods/modes.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/private/methods/signature.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/private/methods/signature.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/private/methods/signature.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/private/methods/signature.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/private/methods/signature_validation.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/private/methods/signature_validation.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/private/methods/signature_validation.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/private/methods/signature_validation.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/private/mixins/mixins.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/private/mixins/mixins.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/private/mixins/mixins.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/private/mixins/mixins.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/private/retry.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/private/retry.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/private/retry.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/private/retry.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/private/runtime_levels.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/private/runtime_levels.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/private/runtime_levels.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/private/runtime_levels.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/private/sealed.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/private/sealed.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/private/sealed.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/private/sealed.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/private/types/not_typed.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/private/types/not_typed.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/private/types/not_typed.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/private/types/not_typed.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/private/types/simple_pair_union.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/private/types/simple_pair_union.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/private/types/simple_pair_union.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/private/types/simple_pair_union.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/private/types/string_holder.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/private/types/string_holder.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/private/types/string_holder.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/private/types/string_holder.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/private/types/type_alias.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/private/types/type_alias.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/private/types/type_alias.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/private/types/type_alias.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/private/types/void.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/private/types/void.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/private/types/void.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/private/types/void.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/props/_props.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/props/_props.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/props/_props.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/props/_props.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/props/constructor.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/props/constructor.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/props/constructor.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/props/constructor.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/props/custom_type.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/props/custom_type.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/props/custom_type.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/props/custom_type.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/props/decorator.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/props/decorator.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/props/decorator.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/props/decorator.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/props/errors.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/props/errors.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/props/errors.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/props/errors.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/props/generated_code_validation.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/props/generated_code_validation.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/props/generated_code_validation.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/props/generated_code_validation.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/props/has_lazily_specialized_methods.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/props/has_lazily_specialized_methods.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/props/has_lazily_specialized_methods.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/props/has_lazily_specialized_methods.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/props/optional.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/props/optional.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/props/optional.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/props/optional.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/props/plugin.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/props/plugin.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/props/plugin.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/props/plugin.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/props/pretty_printable.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/props/pretty_printable.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/props/pretty_printable.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/props/pretty_printable.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/props/private/apply_default.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/props/private/apply_default.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/props/private/apply_default.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/props/private/apply_default.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/props/private/deserializer_generator.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/props/private/deserializer_generator.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/props/private/deserializer_generator.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/props/private/deserializer_generator.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/props/private/parser.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/props/private/parser.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/props/private/parser.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/props/private/parser.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/props/private/serde_transform.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/props/private/serde_transform.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/props/private/serde_transform.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/props/private/serde_transform.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/props/private/serializer_generator.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/props/private/serializer_generator.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/props/private/serializer_generator.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/props/private/serializer_generator.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/props/private/setter_factory.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/props/private/setter_factory.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/props/private/setter_factory.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/props/private/setter_factory.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/props/serializable.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/props/serializable.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/props/serializable.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/props/serializable.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/props/type_validation.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/props/type_validation.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/props/type_validation.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/props/type_validation.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/props/utils.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/props/utils.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/props/utils.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/props/utils.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/props/weak_constructor.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/props/weak_constructor.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/props/weak_constructor.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/props/weak_constructor.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/sig.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/sig.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/sig.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/sig.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/struct.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/struct.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/struct.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/struct.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/types/anything.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/types/anything.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/types/anything.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/types/anything.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/types/attached_class.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/types/attached_class.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/types/attached_class.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/types/attached_class.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/types/base.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/types/base.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/types/base.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/types/base.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/types/class_of.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/types/class_of.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/types/class_of.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/types/class_of.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/types/enum.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/types/enum.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/types/enum.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/types/enum.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/types/fixed_array.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/types/fixed_array.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/types/fixed_array.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/types/fixed_array.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/types/fixed_hash.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/types/fixed_hash.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/types/fixed_hash.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/types/fixed_hash.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/types/intersection.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/types/intersection.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/types/intersection.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/types/intersection.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/types/noreturn.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/types/noreturn.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/types/noreturn.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/types/noreturn.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/types/proc.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/types/proc.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/types/proc.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/types/proc.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/types/self_type.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/types/self_type.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/types/self_type.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/types/self_type.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/types/simple.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/types/simple.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/types/simple.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/types/simple.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/types/t_enum.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/types/t_enum.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/types/t_enum.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/types/t_enum.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/types/type_member.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/types/type_member.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/types/type_member.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/types/type_member.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/types/type_parameter.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/types/type_parameter.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/types/type_parameter.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/types/type_parameter.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/types/type_template.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/types/type_template.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/types/type_template.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/types/type_template.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/types/type_variable.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/types/type_variable.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/types/type_variable.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/types/type_variable.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/types/typed_array.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/types/typed_array.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/types/typed_array.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/types/typed_array.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/types/typed_class.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/types/typed_class.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/types/typed_class.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/types/typed_class.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/types/typed_enumerable.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/types/typed_enumerable.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/types/typed_enumerable.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/types/typed_enumerable.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/types/typed_enumerator.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/types/typed_enumerator.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/types/typed_enumerator.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/types/typed_enumerator.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/types/typed_enumerator_chain.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/types/typed_enumerator_chain.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/types/typed_enumerator_chain.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/types/typed_enumerator_chain.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/types/typed_enumerator_lazy.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/types/typed_enumerator_lazy.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/types/typed_enumerator_lazy.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/types/typed_enumerator_lazy.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/types/typed_hash.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/types/typed_hash.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/types/typed_hash.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/types/typed_hash.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/types/typed_range.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/types/typed_range.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/types/typed_range.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/types/typed_range.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/types/typed_set.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/types/typed_set.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/types/typed_set.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/types/typed_set.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/types/union.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/types/union.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/types/union.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/types/union.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/types/untyped.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/types/untyped.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/types/untyped.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/types/untyped.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/utils.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/utils.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11813/lib/types/utils.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/utils.rb From 9891653aa8db5a8f02532116f2edfd39f7eec24a Mon Sep 17 00:00:00 2001 From: thibhero Date: Tue, 11 Feb 2025 18:53:10 -0500 Subject: [PATCH 043/322] corrected code with `brew typecheck` --- Library/Homebrew/cmd/reinstall.rb | 20 +++++++++----------- Library/Homebrew/cmd/upgrade.rb | 28 +++++++++++++--------------- 2 files changed, 22 insertions(+), 26 deletions(-) diff --git a/Library/Homebrew/cmd/reinstall.rb b/Library/Homebrew/cmd/reinstall.rb index d336233313..a546389b38 100644 --- a/Library/Homebrew/cmd/reinstall.rb +++ b/Library/Homebrew/cmd/reinstall.rb @@ -65,7 +65,7 @@ module Homebrew }], [:switch, "--ask", { description: "Ask for confirmation before downloading and upgrading formulae. " \ - "Print bottles and dependencies download size, install and net install size.", + "Print bottles and dependencies download size, install and net install size.", env: :ask, }], ].each do |args| @@ -174,7 +174,7 @@ module Homebrew end # Add any installed formula that depends on one of the sized formulae and is outdated. - unless Homebrew::EnvConfig.no_installed_dependents_check? || !check_dep + if !Homebrew::EnvConfig.no_installed_dependents_check? && check_dep installed_outdated = Formula.installed.select do |installed_formula| installed_formula.outdated? && installed_formula.deps.any? { |dep| sized_formulae.include?(dep.to_formula) } @@ -183,7 +183,7 @@ module Homebrew end # Uniquify based on a string representation (or any unique identifier) - sized_formulae.uniq { |f| f.to_s } + sized_formulae.uniq(&:to_s) } # Compute the total sizes (download, installed, and net) for the given formulae. @@ -202,17 +202,15 @@ module Homebrew total_installed_size += bottle.installed_size.to_i if bottle.installed_size # Sum disk usage for all installed kegs of the formula. - if formula.installed_kegs.any? - kegs_dep_size = formula.installed_kegs.sum { |keg| keg.disk_usage.to_i } - if bottle.installed_size - total_net_size += bottle.installed_size.to_i - kegs_dep_size - end - end + next if formula.installed_kegs.none? + + kegs_dep_size = formula.installed_kegs.sum { |keg| keg.disk_usage.to_i } + total_net_size += bottle.installed_size.to_i - kegs_dep_size if bottle.installed_size end - { download: total_download_size, + { download: total_download_size, installed: total_installed_size, - net: total_net_size } + net: total_net_size } } # Main block: if asking the user is enabled, show dependency and size information. diff --git a/Library/Homebrew/cmd/upgrade.rb b/Library/Homebrew/cmd/upgrade.rb index 54893ad18a..01391ea3d5 100644 --- a/Library/Homebrew/cmd/upgrade.rb +++ b/Library/Homebrew/cmd/upgrade.rb @@ -73,7 +73,7 @@ module Homebrew }], [:switch, "--ask", { description: "Ask for confirmation before downloading and upgrading formulae. " \ - "Print bottles and dependencies download size, install and net install size.", + "Print bottles and dependencies download size, install and net install size.", env: :ask, }], ].each do |args| @@ -242,8 +242,8 @@ module Homebrew # 1. The original formulae to install. # 2. Their outdated dependents (subject to pruning criteria). # 3. Optionally, any installed formula that depends on one of these and is outdated. - compute_sized_formulae = lambda { |formulae_to_install, check_dep: true| - sized_formulae = formulae_to_install.flat_map do |formula| + compute_sized_formulae = lambda { |f, check_dep: true| + sized_formulae = f.flat_map do |formula| # Always include the formula itself. formula_list = [formula] @@ -264,7 +264,7 @@ module Homebrew end # Add any installed formula that depends on one of the sized formulae and is outdated. - unless Homebrew::EnvConfig.no_installed_dependents_check? || !check_dep + if !Homebrew::EnvConfig.no_installed_dependents_check? && check_dep installed_outdated = Formula.installed.select do |installed_formula| installed_formula.outdated? && installed_formula.deps.any? { |dep| sized_formulae.include?(dep.to_formula) } @@ -273,7 +273,7 @@ module Homebrew end # Uniquify based on a string representation (or any unique identifier) - sized_formulae.uniq { |f| f.to_s } + sized_formulae.uniq(&:to_s) } # Compute the total sizes (download, installed, and net) for the given formulae. @@ -292,17 +292,15 @@ module Homebrew total_installed_size += bottle.installed_size.to_i if bottle.installed_size # Sum disk usage for all installed kegs of the formula. - if formula.installed_kegs.any? - kegs_dep_size = formula.installed_kegs.sum { |keg| keg.disk_usage.to_i } - if bottle.installed_size - total_net_size += bottle.installed_size.to_i - kegs_dep_size - end - end + next if formula.installed_kegs.none? + + kegs_dep_size = formula.installed_kegs.sum { |keg| keg.disk_usage.to_i } + total_net_size += bottle.installed_size.to_i - kegs_dep_size if bottle.installed_size end - { download: total_download_size, + { download: total_download_size, installed: total_installed_size, - net: total_net_size } + net: total_net_size } } # Main block: if asking the user is enabled, show dependency and size information. @@ -310,8 +308,8 @@ module Homebrew if args.ask? ohai "Looking for bottles..." - sized_formulae = compute_sized_formulae(formulae_to_install) - sizes = compute_total_sizes(sized_formulae, debug: args.debug?) + sized_formulae = compute_sized_formulae.call(formulae_to_install) + sizes = compute_total_sizes.call(sized_formulae, debug: args.debug?) puts "Formulae: #{sized_formulae.join(", ")}\n\n" puts "Download Size: #{disk_usage_readable(sizes[:download])}" From 081db50196a56b664600f313a9702bb3b34525b3 Mon Sep 17 00:00:00 2001 From: thibhero Date: Tue, 11 Feb 2025 19:46:38 -0500 Subject: [PATCH 044/322] Copying function from branch `upgrade-reinstall-size` into install.rb and adding parameter --- Library/Homebrew/cmd/install.rb | 132 ++++++++++++++++++++++---------- 1 file changed, 92 insertions(+), 40 deletions(-) diff --git a/Library/Homebrew/cmd/install.rb b/Library/Homebrew/cmd/install.rb index 91800deee6..fb3d5f3c6d 100644 --- a/Library/Homebrew/cmd/install.rb +++ b/Library/Homebrew/cmd/install.rb @@ -180,23 +180,6 @@ module Homebrew odisabled "brew install --env", "`env :std` in specific formula files" end - ask_input = lambda { - ohai "Do you want to proceed with the installation? [Y/y/yes/N/n]" - accepted_inputs = %w[y yes] - declined_inputs = %w[n no] - loop do - result = $stdin.gets.chomp.strip.downcase - if accepted_inputs.include?(result) - puts "Proceeding with installation..." - break - elsif declined_inputs.include?(result) - return - else - puts "Invalid input. Please enter 'Y', 'y', or 'yes' to proceed, or 'N' to abort." - end - end - } - args.named.each do |name| if (tap_with_name = Tap.with_formula_name(name)) tap, = tap_with_name @@ -324,32 +307,101 @@ module Homebrew Install.perform_preinstall_checks_once Install.check_cc_argv(args.cc) - # Showing dependencies and required size to install - if args.ask? - ohai "Looking for bottle sizes..." - sized_formulae = [] - total_download_size = 0 - total_installed_size = 0 - installed_formulae.each do |f| - next unless (bottle = f.bottle) - - # keep it quiet as there could be a lot of json fetch, it’s not intuitive to show them all. - bottle.fetch_tab(quiet: !args.debug?) - total_download_size += T.must(bottle.bottle_size) if bottle.bottle_size - total_installed_size += T.must(bottle.installed_size) if bottle.installed_size - sized_formulae.push(f, f.recursive_dependencies) - next if f.deps.empty? - - f.recursive_dependencies.each do |dep| - bottle_dep = dep.to_formula.bottle - bottle_dep.fetch_tab(quiet: !args.debug?) - total_download_size += bottle_dep.bottle_size if bottle_dep.bottle_size - total_installed_size += bottle_dep.installed_size if bottle_dep.installed_size + ask_input = lambda { + ohai "Do you want to proceed with the installation? [Y/y/yes/N/n]" + accepted_inputs = %w[y yes] + declined_inputs = %w[n no] + loop do + result = $stdin.gets.chomp.strip.downcase + if accepted_inputs.include?(result) + puts "Proceeding with installation..." + break + elsif declined_inputs.include?(result) + return + else + puts "Invalid input. Please enter 'Y', 'y', or 'yes' to proceed, or 'N' to abort." end end + } + + # Build a unique list of formulae to size by including: + # 1. The original formulae to install. + # 2. Their outdated dependents (subject to pruning criteria). + # 3. Optionally, any installed formula that depends on one of these and is outdated. + compute_sized_formulae = lambda { |f, check_dep: true, upgrade: true| + sized_formulae = f.flat_map do |formula| + # Always include the formula itself. + formula_list = [formula] + + # If there are dependencies, try to gather outdated, bottled ones. + if formula.deps.any? && check_dep + outdated_dependents = formula.recursive_dependencies do |_, dep| + dep_formula = dep.to_formula + next :prune if dep_formula.deps.empty? + next :prune if !upgrade || !dep_formula.outdated? + next :prune unless dep_formula.bottled? + end.flatten + + # Convert each dependency to its formula. + formula_list.concat(outdated_dependents.flat_map { |dep| Array(dep.to_formula) }) + end + + formula_list + end + + # Add any installed formula that depends on one of the sized formulae and is outdated. + if !Homebrew::EnvConfig.no_installed_dependents_check? && check_dep + installed_outdated = Formula.installed.select do |installed_formula| + installed_formula.outdated? && + installed_formula.deps.any? { |dep| sized_formulae.include?(dep.to_formula) } + end + sized_formulae.concat(installed_outdated) + end + + # Uniquify based on a string representation (or any unique identifier) + sized_formulae.uniq(&:to_s) + } + + # Compute the total sizes (download, installed, and net) for the given formulae. + compute_total_sizes = lambda { |sized_formulae, debug: false| + total_download_size = 0 + total_installed_size = 0 + total_net_size = 0 + + sized_formulae.each do |formula| + next unless (bottle = formula.bottle) + + # Fetch additional bottle metadata (if necessary). + bottle.fetch_tab(quiet: !debug) + + total_download_size += bottle.bottle_size.to_i if bottle.bottle_size + total_installed_size += bottle.installed_size.to_i if bottle.installed_size + + # Sum disk usage for all installed kegs of the formula. + next if formula.installed_kegs.none? + + kegs_dep_size = formula.installed_kegs.sum { |keg| keg.disk_usage.to_i } + total_net_size += bottle.installed_size.to_i - kegs_dep_size if bottle.installed_size + end + + { download: total_download_size, + installed: total_installed_size, + net: total_net_size } + } + + # Main block: if asking the user is enabled, show dependency and size information. + # This part should be + if args.ask? + ohai "Looking for bottles..." + + sized_formulae = compute_sized_formulae.call(formulae_to_install, check_dep: true, upgrade: false) + sizes = compute_total_sizes.call(sized_formulae, debug: args.debug?) + puts "Formulae: #{sized_formulae.join(", ")}\n\n" - puts "Download Size: #{disk_usage_readable(total_download_size)}" if total_download_size - puts "Install Size: #{disk_usage_readable(total_installed_size)}\n" if total_installed_size + puts "Download Size: #{disk_usage_readable(sizes[:download])}" + puts "Install Size: #{disk_usage_readable(sizes[:installed])}" + puts "Net Install Size: #{disk_usage_readable(sizes[:net])}" if sizes[:net] != 0 + ask_input.call end From 1ba3f32026e6f0a772f5ce6a2a2d85c8a4c9f837 Mon Sep 17 00:00:00 2001 From: thibhero Date: Tue, 11 Feb 2025 20:15:19 -0500 Subject: [PATCH 045/322] Adding upgrade arguments in lambda --- Library/Homebrew/cmd/reinstall.rb | 6 +++--- Library/Homebrew/cmd/upgrade.rb | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Library/Homebrew/cmd/reinstall.rb b/Library/Homebrew/cmd/reinstall.rb index a546389b38..122d73bd26 100644 --- a/Library/Homebrew/cmd/reinstall.rb +++ b/Library/Homebrew/cmd/reinstall.rb @@ -152,7 +152,7 @@ module Homebrew # 1. The original formulae to install. # 2. Their outdated dependents (subject to pruning criteria). # 3. Optionally, any installed formula that depends on one of these and is outdated. - compute_sized_formulae = lambda { |formulae_to_install, check_dep: true| + compute_sized_formulae = lambda { |formulae_to_install, check_dep: true, upgrade: true| sized_formulae = formulae_to_install.flat_map do |formula| # Always include the formula itself. formula_list = [formula] @@ -162,7 +162,7 @@ module Homebrew outdated_dependents = formula.recursive_dependencies do |_, dep| dep_formula = dep.to_formula next :prune if dep_formula.deps.empty? - next :prune unless dep_formula.outdated? + next :prune if !upgrade || !dep_formula.outdated? next :prune unless dep_formula.bottled? end.flatten @@ -218,7 +218,7 @@ module Homebrew if args.ask? ohai "Looking for bottles..." - sized_formulae = compute_sized_formulae.call(formulae, check_dep: false) + sized_formulae = compute_sized_formulae.call(formulae, check_dep: false, upgrade: false) sizes = compute_total_sizes.call(sized_formulae, debug: args.debug?) puts "Formulae: #{sized_formulae.join(", ")}\n\n" diff --git a/Library/Homebrew/cmd/upgrade.rb b/Library/Homebrew/cmd/upgrade.rb index 01391ea3d5..fc8d1a2cef 100644 --- a/Library/Homebrew/cmd/upgrade.rb +++ b/Library/Homebrew/cmd/upgrade.rb @@ -242,7 +242,7 @@ module Homebrew # 1. The original formulae to install. # 2. Their outdated dependents (subject to pruning criteria). # 3. Optionally, any installed formula that depends on one of these and is outdated. - compute_sized_formulae = lambda { |f, check_dep: true| + compute_sized_formulae = lambda { |f, check_dep: true, upgrade: true| sized_formulae = f.flat_map do |formula| # Always include the formula itself. formula_list = [formula] @@ -252,7 +252,7 @@ module Homebrew outdated_dependents = formula.recursive_dependencies do |_, dep| dep_formula = dep.to_formula next :prune if dep_formula.deps.empty? - next :prune unless dep_formula.outdated? + next :prune if !upgrade || !dep_formula.outdated? next :prune unless dep_formula.bottled? end.flatten From 7aa1725afff4f23bb6481914efffccfb8a58bf7f Mon Sep 17 00:00:00 2001 From: Ruoyu Zhong Date: Thu, 13 Feb 2025 01:39:21 +0800 Subject: [PATCH 046/322] cmd/info: only display keg info if tap matches Fixes #19294. --- Library/Homebrew/cmd/info.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/cmd/info.rb b/Library/Homebrew/cmd/info.rb index 495b85aa6e..72a8b47b25 100644 --- a/Library/Homebrew/cmd/info.rb +++ b/Library/Homebrew/cmd/info.rb @@ -298,7 +298,7 @@ module Homebrew kegs = [ *heads.sort_by { |keg| -keg.tab.time.to_i }, *versioned.sort_by(&:scheme_and_version), - ] + ].select { |keg| keg.tab.tap == formula.tap } if kegs.empty? puts "Not installed" if (bottle = formula.bottle) From 5b667cffe0d1107ef3233f7edc14227acedaef21 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 12 Feb 2025 18:26:13 +0000 Subject: [PATCH 047/322] build(deps-dev): bump tapioca in /Library/Homebrew Bumps [tapioca](https://github.com/Shopify/tapioca) from 0.16.9 to 0.16.10. - [Release notes](https://github.com/Shopify/tapioca/releases) - [Commits](https://github.com/Shopify/tapioca/compare/v0.16.9...v0.16.10) --- updated-dependencies: - dependency-name: tapioca dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- Library/Homebrew/Gemfile.lock | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Library/Homebrew/Gemfile.lock b/Library/Homebrew/Gemfile.lock index d51464201f..a4e322f9f6 100644 --- a/Library/Homebrew/Gemfile.lock +++ b/Library/Homebrew/Gemfile.lock @@ -130,7 +130,7 @@ GEM sorbet-static-and-runtime (>= 0.5.10187) thor (>= 0.19.2) stackprof (0.2.27) - tapioca (0.16.9) + tapioca (0.16.10) benchmark bundler (>= 2.2.25) netrc (>= 0.11.0) @@ -153,7 +153,6 @@ GEM PLATFORMS aarch64-linux - arm-linux arm64-darwin x86_64-darwin x86_64-linux From cb947b9cf4de04dcb7974580cc74b5f7e11b3064 Mon Sep 17 00:00:00 2001 From: thibhero Date: Wed, 12 Feb 2025 15:57:12 -0500 Subject: [PATCH 048/322] erratum on variable --- Library/Homebrew/cmd/install.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/cmd/install.rb b/Library/Homebrew/cmd/install.rb index fb3d5f3c6d..64bcee9a80 100644 --- a/Library/Homebrew/cmd/install.rb +++ b/Library/Homebrew/cmd/install.rb @@ -394,7 +394,7 @@ module Homebrew if args.ask? ohai "Looking for bottles..." - sized_formulae = compute_sized_formulae.call(formulae_to_install, check_dep: true, upgrade: false) + sized_formulae = compute_sized_formulae.call(installed_formulae, check_dep: true, upgrade: false) sizes = compute_total_sizes.call(sized_formulae, debug: args.debug?) puts "Formulae: #{sized_formulae.join(", ")}\n\n" From f1906c1682a7eb49245b282721452f20e0b29e93 Mon Sep 17 00:00:00 2001 From: thibhero Date: Wed, 12 Feb 2025 15:59:35 -0500 Subject: [PATCH 049/322] adding exit status if declined --- Library/Homebrew/cmd/install.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/cmd/install.rb b/Library/Homebrew/cmd/install.rb index 64bcee9a80..9d866b1952 100644 --- a/Library/Homebrew/cmd/install.rb +++ b/Library/Homebrew/cmd/install.rb @@ -317,7 +317,7 @@ module Homebrew puts "Proceeding with installation..." break elsif declined_inputs.include?(result) - return + exit 0 else puts "Invalid input. Please enter 'Y', 'y', or 'yes' to proceed, or 'N' to abort." end From 97678708dba0affa4ab116e0d3473d6a17572790 Mon Sep 17 00:00:00 2001 From: thibhero Date: Wed, 12 Feb 2025 16:05:11 -0500 Subject: [PATCH 050/322] removing useless statements --- Library/Homebrew/cmd/install.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/Library/Homebrew/cmd/install.rb b/Library/Homebrew/cmd/install.rb index 9d866b1952..089db1c1fa 100644 --- a/Library/Homebrew/cmd/install.rb +++ b/Library/Homebrew/cmd/install.rb @@ -314,7 +314,6 @@ module Homebrew loop do result = $stdin.gets.chomp.strip.downcase if accepted_inputs.include?(result) - puts "Proceeding with installation..." break elsif declined_inputs.include?(result) exit 0 From baea0d3ec9c6d67e0ea91a63f18028aeeb481276 Mon Sep 17 00:00:00 2001 From: Bevan Kay Date: Thu, 13 Feb 2025 10:56:13 +1100 Subject: [PATCH 051/322] docs/Homebrew-Governance.md: fix broken link --- docs/Homebrew-Governance.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/Homebrew-Governance.md b/docs/Homebrew-Governance.md index 24df3d4796..4ef558aba1 100644 --- a/docs/Homebrew-Governance.md +++ b/docs/Homebrew-Governance.md @@ -64,7 +64,7 @@ last_review_date: "1970-01-01" 1. The financial administration of Homebrew, organisation of the AGM, enforcement of the code of conduct and removal of members are performed by the PLC. The PLC will represent Homebrew in all dealings with Open Collective. -1. The PLC consists of five members, one of whom is the Project Leader. The other committee members are elected by Homebrew members in a [Meek Single Transferable Vote](https://en.wikipedia.org/wiki/Counting_single_transferable_votes#Meek) election using the Droop quota. Each PLC member will serve a term of two years or until the member's successor is elected. The maximum number of consecutive terms a (non-PL) PLC member can serve is two, even if this means they have no successor. Any sudden vacancy in the PLC will be filled by the usual procedure for electing PLC members at the next general meeting, typically the next AGM. +1. The PLC consists of five members, one of whom is the Project Leader. The other committee members are elected by Homebrew members in a [Meek Single Transferable Vote](https://en.wikipedia.org/wiki/Counting_single_transferable_votes#Meek's_method) election using the Droop quota. Each PLC member will serve a term of two years or until the member's successor is elected. The maximum number of consecutive terms a (non-PL) PLC member can serve is two, even if this means they have no successor. Any sudden vacancy in the PLC will be filled by the usual procedure for electing PLC members at the next general meeting, typically the next AGM. 1. When a PLC seat is up for election or is vacant, any member may become a candidate for the PLC by providing a brief statement in the `#members` channel in Homebrew's Slack expressing relevant experience and intentions if elected no later than three weeks before the AGM. The PLC will maintain the candidate list until ballots are sent out one week before the AGM, during which time members should cast their votes. Candidates should deliver remarks in writing or verbally before or during the AGM but votes already cast are not changeable. The current PLC should vote on and publish a statement recommending their preferred candidates within the three-week period between the candidate deadline and the AGM. From 0f8fd5e512185aceffc4fbe9662b02aa88471db5 Mon Sep 17 00:00:00 2001 From: Bevan Kay Date: Thu, 13 Feb 2025 10:56:14 +1100 Subject: [PATCH 052/322] docs/governance/2021-agm-minutes.md: fix broken link --- docs/governance/2021-agm-minutes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/governance/2021-agm-minutes.md b/docs/governance/2021-agm-minutes.md index 249767e8e3..6d2ca643e6 100644 --- a/docs/governance/2021-agm-minutes.md +++ b/docs/governance/2021-agm-minutes.md @@ -60,6 +60,6 @@ Voting by proxy is permitted, and proxy votes count towards the quorum for the e #### Project Leadership Committee (PLC) -The Homebrew Project Leadership Committee will be chosen by holding a [Meek Single Transferable Vote (STV)](https://en.wikipedia.org/wiki/Counting_single_transferable_votes#Meek) election. The quota (threshold) of votes for a candidate to be elected will be calculated using the [Droop quota](https://en.wikipedia.org/wiki/Droop_quota). +The Homebrew Project Leadership Committee will be chosen by holding a [Meek Single Transferable Vote (STV)](https://en.wikipedia.org/wiki/Counting_single_transferable_votes#Meek's_method) election. The quota (threshold) of votes for a candidate to be elected will be calculated using the [Droop quota](https://en.wikipedia.org/wiki/Droop_quota). Voting by proxy is permitted, and proxy votes count towards the quorum for the election. From fc8e2c1f3b9c37d55a4ecd5de4991af83265fa45 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 12 Feb 2025 20:29:45 +0000 Subject: [PATCH 053/322] build(deps): bump the sorbet group in /Library/Homebrew with 4 updates Bumps the sorbet group in /Library/Homebrew with 4 updates: [sorbet-static-and-runtime](https://github.com/sorbet/sorbet), [sorbet-runtime](https://github.com/sorbet/sorbet), [sorbet](https://github.com/sorbet/sorbet) and [sorbet-static](https://github.com/sorbet/sorbet). Updates `sorbet-static-and-runtime` from 0.5.11820 to 0.5.11823 - [Release notes](https://github.com/sorbet/sorbet/releases) - [Commits](https://github.com/sorbet/sorbet/commits) Updates `sorbet-runtime` from 0.5.11820 to 0.5.11823 - [Release notes](https://github.com/sorbet/sorbet/releases) - [Commits](https://github.com/sorbet/sorbet/commits) Updates `sorbet` from 0.5.11820 to 0.5.11823 - [Release notes](https://github.com/sorbet/sorbet/releases) - [Commits](https://github.com/sorbet/sorbet/commits) Updates `sorbet-static` from 0.5.11820 to 0.5.11823 - [Release notes](https://github.com/sorbet/sorbet/releases) - [Commits](https://github.com/sorbet/sorbet/commits) --- updated-dependencies: - dependency-name: sorbet-static-and-runtime dependency-type: direct:development update-type: version-update:semver-patch dependency-group: sorbet - dependency-name: sorbet-runtime dependency-type: direct:production update-type: version-update:semver-patch dependency-group: sorbet - dependency-name: sorbet dependency-type: indirect update-type: version-update:semver-patch dependency-group: sorbet - dependency-name: sorbet-static dependency-type: indirect update-type: version-update:semver-patch dependency-group: sorbet ... Signed-off-by: dependabot[bot] --- Library/Homebrew/Gemfile.lock | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/Library/Homebrew/Gemfile.lock b/Library/Homebrew/Gemfile.lock index a4e322f9f6..dc06670586 100644 --- a/Library/Homebrew/Gemfile.lock +++ b/Library/Homebrew/Gemfile.lock @@ -114,15 +114,15 @@ GEM simplecov-html (0.13.1) simplecov_json_formatter (0.1.4) simpleidn (0.2.3) - sorbet (0.5.11820) - sorbet-static (= 0.5.11820) - sorbet-runtime (0.5.11820) - sorbet-static (0.5.11820-aarch64-linux) - sorbet-static (0.5.11820-universal-darwin) - sorbet-static (0.5.11820-x86_64-linux) - sorbet-static-and-runtime (0.5.11820) - sorbet (= 0.5.11820) - sorbet-runtime (= 0.5.11820) + sorbet (0.5.11823) + sorbet-static (= 0.5.11823) + sorbet-runtime (0.5.11823) + sorbet-static (0.5.11823-aarch64-linux) + sorbet-static (0.5.11823-universal-darwin) + sorbet-static (0.5.11823-x86_64-linux) + sorbet-static-and-runtime (0.5.11823) + sorbet (= 0.5.11823) + sorbet-runtime (= 0.5.11823) spoom (1.5.3) erubi (>= 1.10.0) prism (>= 0.28.0) From b3a53bef7d300f737c67115a89bda8e0e297d48c Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Wed, 12 Feb 2025 21:51:26 +0000 Subject: [PATCH 054/322] brew vendor-gems: commit updates. --- Library/Homebrew/Gemfile.lock | 1 + Library/Homebrew/vendor/bundle/bundler/setup.rb | 10 +++++----- .../lib/sorbet-runtime.rb | 0 .../lib/types/_types.rb | 0 .../lib/types/abstract_utils.rb | 0 .../lib/types/boolean.rb | 0 .../lib/types/compatibility_patches.rb | 0 .../lib/types/configuration.rb | 0 .../lib/types/enum.rb | 0 .../lib/types/generic.rb | 0 .../lib/types/helpers.rb | 0 .../lib/types/non_forcing_constants.rb | 0 .../lib/types/private/abstract/data.rb | 0 .../lib/types/private/abstract/declare.rb | 0 .../lib/types/private/abstract/hooks.rb | 0 .../lib/types/private/abstract/validate.rb | 0 .../lib/types/private/caller_utils.rb | 0 .../lib/types/private/casts.rb | 0 .../lib/types/private/class_utils.rb | 0 .../lib/types/private/decl_state.rb | 0 .../lib/types/private/final.rb | 0 .../lib/types/private/methods/_methods.rb | 0 .../lib/types/private/methods/call_validation.rb | 0 .../lib/types/private/methods/call_validation_2_6.rb | 0 .../lib/types/private/methods/call_validation_2_7.rb | 0 .../lib/types/private/methods/decl_builder.rb | 0 .../lib/types/private/methods/modes.rb | 0 .../lib/types/private/methods/signature.rb | 0 .../lib/types/private/methods/signature_validation.rb | 0 .../lib/types/private/mixins/mixins.rb | 0 .../lib/types/private/retry.rb | 0 .../lib/types/private/runtime_levels.rb | 0 .../lib/types/private/sealed.rb | 0 .../lib/types/private/types/not_typed.rb | 0 .../lib/types/private/types/simple_pair_union.rb | 0 .../lib/types/private/types/string_holder.rb | 0 .../lib/types/private/types/type_alias.rb | 0 .../lib/types/private/types/void.rb | 0 .../lib/types/props/_props.rb | 0 .../lib/types/props/constructor.rb | 0 .../lib/types/props/custom_type.rb | 0 .../lib/types/props/decorator.rb | 0 .../lib/types/props/errors.rb | 0 .../lib/types/props/generated_code_validation.rb | 0 .../lib/types/props/has_lazily_specialized_methods.rb | 0 .../lib/types/props/optional.rb | 0 .../lib/types/props/plugin.rb | 0 .../lib/types/props/pretty_printable.rb | 0 .../lib/types/props/private/apply_default.rb | 0 .../lib/types/props/private/deserializer_generator.rb | 0 .../lib/types/props/private/parser.rb | 0 .../lib/types/props/private/serde_transform.rb | 0 .../lib/types/props/private/serializer_generator.rb | 0 .../lib/types/props/private/setter_factory.rb | 0 .../lib/types/props/serializable.rb | 0 .../lib/types/props/type_validation.rb | 0 .../lib/types/props/utils.rb | 0 .../lib/types/props/weak_constructor.rb | 0 .../lib/types/sig.rb | 0 .../lib/types/struct.rb | 0 .../lib/types/types/anything.rb | 0 .../lib/types/types/attached_class.rb | 0 .../lib/types/types/base.rb | 0 .../lib/types/types/class_of.rb | 0 .../lib/types/types/enum.rb | 0 .../lib/types/types/fixed_array.rb | 0 .../lib/types/types/fixed_hash.rb | 0 .../lib/types/types/intersection.rb | 0 .../lib/types/types/noreturn.rb | 0 .../lib/types/types/proc.rb | 0 .../lib/types/types/self_type.rb | 0 .../lib/types/types/simple.rb | 0 .../lib/types/types/t_enum.rb | 0 .../lib/types/types/type_member.rb | 0 .../lib/types/types/type_parameter.rb | 0 .../lib/types/types/type_template.rb | 0 .../lib/types/types/type_variable.rb | 0 .../lib/types/types/typed_array.rb | 0 .../lib/types/types/typed_class.rb | 0 .../lib/types/types/typed_enumerable.rb | 0 .../lib/types/types/typed_enumerator.rb | 0 .../lib/types/types/typed_enumerator_chain.rb | 0 .../lib/types/types/typed_enumerator_lazy.rb | 0 .../lib/types/types/typed_hash.rb | 0 .../lib/types/types/typed_range.rb | 0 .../lib/types/types/typed_set.rb | 0 .../lib/types/types/union.rb | 0 .../lib/types/types/untyped.rb | 0 .../lib/types/utils.rb | 0 89 files changed, 6 insertions(+), 5 deletions(-) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11820 => sorbet-runtime-0.5.11823}/lib/sorbet-runtime.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11820 => sorbet-runtime-0.5.11823}/lib/types/_types.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11820 => sorbet-runtime-0.5.11823}/lib/types/abstract_utils.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11820 => sorbet-runtime-0.5.11823}/lib/types/boolean.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11820 => sorbet-runtime-0.5.11823}/lib/types/compatibility_patches.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11820 => sorbet-runtime-0.5.11823}/lib/types/configuration.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11820 => sorbet-runtime-0.5.11823}/lib/types/enum.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11820 => sorbet-runtime-0.5.11823}/lib/types/generic.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11820 => sorbet-runtime-0.5.11823}/lib/types/helpers.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11820 => sorbet-runtime-0.5.11823}/lib/types/non_forcing_constants.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11820 => sorbet-runtime-0.5.11823}/lib/types/private/abstract/data.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11820 => sorbet-runtime-0.5.11823}/lib/types/private/abstract/declare.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11820 => sorbet-runtime-0.5.11823}/lib/types/private/abstract/hooks.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11820 => sorbet-runtime-0.5.11823}/lib/types/private/abstract/validate.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11820 => sorbet-runtime-0.5.11823}/lib/types/private/caller_utils.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11820 => sorbet-runtime-0.5.11823}/lib/types/private/casts.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11820 => sorbet-runtime-0.5.11823}/lib/types/private/class_utils.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11820 => sorbet-runtime-0.5.11823}/lib/types/private/decl_state.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11820 => sorbet-runtime-0.5.11823}/lib/types/private/final.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11820 => sorbet-runtime-0.5.11823}/lib/types/private/methods/_methods.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11820 => sorbet-runtime-0.5.11823}/lib/types/private/methods/call_validation.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11820 => sorbet-runtime-0.5.11823}/lib/types/private/methods/call_validation_2_6.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11820 => sorbet-runtime-0.5.11823}/lib/types/private/methods/call_validation_2_7.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11820 => sorbet-runtime-0.5.11823}/lib/types/private/methods/decl_builder.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11820 => sorbet-runtime-0.5.11823}/lib/types/private/methods/modes.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11820 => sorbet-runtime-0.5.11823}/lib/types/private/methods/signature.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11820 => sorbet-runtime-0.5.11823}/lib/types/private/methods/signature_validation.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11820 => sorbet-runtime-0.5.11823}/lib/types/private/mixins/mixins.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11820 => sorbet-runtime-0.5.11823}/lib/types/private/retry.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11820 => sorbet-runtime-0.5.11823}/lib/types/private/runtime_levels.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11820 => sorbet-runtime-0.5.11823}/lib/types/private/sealed.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11820 => sorbet-runtime-0.5.11823}/lib/types/private/types/not_typed.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11820 => sorbet-runtime-0.5.11823}/lib/types/private/types/simple_pair_union.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11820 => sorbet-runtime-0.5.11823}/lib/types/private/types/string_holder.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11820 => sorbet-runtime-0.5.11823}/lib/types/private/types/type_alias.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11820 => sorbet-runtime-0.5.11823}/lib/types/private/types/void.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11820 => sorbet-runtime-0.5.11823}/lib/types/props/_props.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11820 => sorbet-runtime-0.5.11823}/lib/types/props/constructor.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11820 => sorbet-runtime-0.5.11823}/lib/types/props/custom_type.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11820 => sorbet-runtime-0.5.11823}/lib/types/props/decorator.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11820 => sorbet-runtime-0.5.11823}/lib/types/props/errors.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11820 => sorbet-runtime-0.5.11823}/lib/types/props/generated_code_validation.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11820 => sorbet-runtime-0.5.11823}/lib/types/props/has_lazily_specialized_methods.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11820 => sorbet-runtime-0.5.11823}/lib/types/props/optional.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11820 => sorbet-runtime-0.5.11823}/lib/types/props/plugin.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11820 => sorbet-runtime-0.5.11823}/lib/types/props/pretty_printable.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11820 => sorbet-runtime-0.5.11823}/lib/types/props/private/apply_default.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11820 => sorbet-runtime-0.5.11823}/lib/types/props/private/deserializer_generator.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11820 => sorbet-runtime-0.5.11823}/lib/types/props/private/parser.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11820 => sorbet-runtime-0.5.11823}/lib/types/props/private/serde_transform.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11820 => sorbet-runtime-0.5.11823}/lib/types/props/private/serializer_generator.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11820 => sorbet-runtime-0.5.11823}/lib/types/props/private/setter_factory.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11820 => sorbet-runtime-0.5.11823}/lib/types/props/serializable.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11820 => sorbet-runtime-0.5.11823}/lib/types/props/type_validation.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11820 => sorbet-runtime-0.5.11823}/lib/types/props/utils.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11820 => sorbet-runtime-0.5.11823}/lib/types/props/weak_constructor.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11820 => sorbet-runtime-0.5.11823}/lib/types/sig.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11820 => sorbet-runtime-0.5.11823}/lib/types/struct.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11820 => sorbet-runtime-0.5.11823}/lib/types/types/anything.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11820 => sorbet-runtime-0.5.11823}/lib/types/types/attached_class.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11820 => sorbet-runtime-0.5.11823}/lib/types/types/base.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11820 => sorbet-runtime-0.5.11823}/lib/types/types/class_of.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11820 => sorbet-runtime-0.5.11823}/lib/types/types/enum.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11820 => sorbet-runtime-0.5.11823}/lib/types/types/fixed_array.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11820 => sorbet-runtime-0.5.11823}/lib/types/types/fixed_hash.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11820 => sorbet-runtime-0.5.11823}/lib/types/types/intersection.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11820 => sorbet-runtime-0.5.11823}/lib/types/types/noreturn.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11820 => sorbet-runtime-0.5.11823}/lib/types/types/proc.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11820 => sorbet-runtime-0.5.11823}/lib/types/types/self_type.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11820 => sorbet-runtime-0.5.11823}/lib/types/types/simple.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11820 => sorbet-runtime-0.5.11823}/lib/types/types/t_enum.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11820 => sorbet-runtime-0.5.11823}/lib/types/types/type_member.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11820 => sorbet-runtime-0.5.11823}/lib/types/types/type_parameter.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11820 => sorbet-runtime-0.5.11823}/lib/types/types/type_template.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11820 => sorbet-runtime-0.5.11823}/lib/types/types/type_variable.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11820 => sorbet-runtime-0.5.11823}/lib/types/types/typed_array.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11820 => sorbet-runtime-0.5.11823}/lib/types/types/typed_class.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11820 => sorbet-runtime-0.5.11823}/lib/types/types/typed_enumerable.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11820 => sorbet-runtime-0.5.11823}/lib/types/types/typed_enumerator.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11820 => sorbet-runtime-0.5.11823}/lib/types/types/typed_enumerator_chain.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11820 => sorbet-runtime-0.5.11823}/lib/types/types/typed_enumerator_lazy.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11820 => sorbet-runtime-0.5.11823}/lib/types/types/typed_hash.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11820 => sorbet-runtime-0.5.11823}/lib/types/types/typed_range.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11820 => sorbet-runtime-0.5.11823}/lib/types/types/typed_set.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11820 => sorbet-runtime-0.5.11823}/lib/types/types/union.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11820 => sorbet-runtime-0.5.11823}/lib/types/types/untyped.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11820 => sorbet-runtime-0.5.11823}/lib/types/utils.rb (100%) diff --git a/Library/Homebrew/Gemfile.lock b/Library/Homebrew/Gemfile.lock index dc06670586..97756f137f 100644 --- a/Library/Homebrew/Gemfile.lock +++ b/Library/Homebrew/Gemfile.lock @@ -153,6 +153,7 @@ GEM PLATFORMS aarch64-linux + arm-linux arm64-darwin x86_64-darwin x86_64-linux diff --git a/Library/Homebrew/vendor/bundle/bundler/setup.rb b/Library/Homebrew/vendor/bundle/bundler/setup.rb index afbab41af4..bec9e3a28c 100644 --- a/Library/Homebrew/vendor/bundle/bundler/setup.rb +++ b/Library/Homebrew/vendor/bundle/bundler/setup.rb @@ -74,7 +74,7 @@ $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/extensions/arm64-darwin-20/#{Gem.extension_api_version}/pycall-1.5.2") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/pycall-1.5.2/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rainbow-3.1.1/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-runtime-0.5.11820/lib") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-runtime-0.5.11823/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rbi-0.2.4/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/extensions/arm64-darwin-20/#{Gem.extension_api_version}/rbs-3.8.1") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rbs-3.8.1/lib") @@ -106,16 +106,16 @@ $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/simplecov_json_formatter-0.1.4/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/simplecov-0.22.0/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/simplecov-cobertura-2.1.0/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-static-0.5.11820-universal-darwin/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-0.5.11820/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-static-and-runtime-0.5.11820/lib") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-static-0.5.11823-universal-darwin/lib") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-0.5.11823/lib") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-static-and-runtime-0.5.11823/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/thor-1.3.2/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/spoom-1.5.3/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/extensions/arm64-darwin-20/#{Gem.extension_api_version}/stackprof-0.2.27") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/stackprof-0.2.27/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/yard-0.9.37/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/yard-sorbet-0.9.0/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/tapioca-0.16.9/lib") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/tapioca-0.16.10/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/extensions/arm64-darwin-20/#{Gem.extension_api_version}/vernier-1.5.0") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/vernier-1.5.0/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/warning-1.5.0/lib") diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/sorbet-runtime.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/sorbet-runtime.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/sorbet-runtime.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/sorbet-runtime.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/_types.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/_types.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/_types.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/_types.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/abstract_utils.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/abstract_utils.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/abstract_utils.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/abstract_utils.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/boolean.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/boolean.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/boolean.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/boolean.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/compatibility_patches.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/compatibility_patches.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/compatibility_patches.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/compatibility_patches.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/configuration.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/configuration.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/configuration.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/configuration.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/enum.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/enum.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/enum.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/enum.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/generic.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/generic.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/generic.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/generic.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/helpers.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/helpers.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/helpers.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/helpers.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/non_forcing_constants.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/non_forcing_constants.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/non_forcing_constants.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/non_forcing_constants.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/private/abstract/data.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/private/abstract/data.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/private/abstract/data.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/private/abstract/data.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/private/abstract/declare.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/private/abstract/declare.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/private/abstract/declare.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/private/abstract/declare.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/private/abstract/hooks.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/private/abstract/hooks.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/private/abstract/hooks.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/private/abstract/hooks.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/private/abstract/validate.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/private/abstract/validate.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/private/abstract/validate.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/private/abstract/validate.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/private/caller_utils.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/private/caller_utils.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/private/caller_utils.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/private/caller_utils.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/private/casts.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/private/casts.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/private/casts.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/private/casts.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/private/class_utils.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/private/class_utils.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/private/class_utils.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/private/class_utils.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/private/decl_state.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/private/decl_state.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/private/decl_state.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/private/decl_state.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/private/final.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/private/final.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/private/final.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/private/final.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/private/methods/_methods.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/private/methods/_methods.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/private/methods/_methods.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/private/methods/_methods.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/private/methods/call_validation.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/private/methods/call_validation.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/private/methods/call_validation.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/private/methods/call_validation.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/private/methods/call_validation_2_6.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/private/methods/call_validation_2_6.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/private/methods/call_validation_2_6.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/private/methods/call_validation_2_6.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/private/methods/call_validation_2_7.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/private/methods/call_validation_2_7.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/private/methods/call_validation_2_7.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/private/methods/call_validation_2_7.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/private/methods/decl_builder.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/private/methods/decl_builder.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/private/methods/decl_builder.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/private/methods/decl_builder.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/private/methods/modes.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/private/methods/modes.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/private/methods/modes.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/private/methods/modes.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/private/methods/signature.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/private/methods/signature.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/private/methods/signature.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/private/methods/signature.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/private/methods/signature_validation.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/private/methods/signature_validation.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/private/methods/signature_validation.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/private/methods/signature_validation.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/private/mixins/mixins.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/private/mixins/mixins.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/private/mixins/mixins.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/private/mixins/mixins.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/private/retry.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/private/retry.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/private/retry.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/private/retry.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/private/runtime_levels.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/private/runtime_levels.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/private/runtime_levels.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/private/runtime_levels.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/private/sealed.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/private/sealed.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/private/sealed.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/private/sealed.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/private/types/not_typed.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/private/types/not_typed.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/private/types/not_typed.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/private/types/not_typed.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/private/types/simple_pair_union.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/private/types/simple_pair_union.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/private/types/simple_pair_union.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/private/types/simple_pair_union.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/private/types/string_holder.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/private/types/string_holder.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/private/types/string_holder.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/private/types/string_holder.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/private/types/type_alias.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/private/types/type_alias.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/private/types/type_alias.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/private/types/type_alias.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/private/types/void.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/private/types/void.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/private/types/void.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/private/types/void.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/props/_props.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/props/_props.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/props/_props.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/props/_props.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/props/constructor.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/props/constructor.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/props/constructor.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/props/constructor.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/props/custom_type.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/props/custom_type.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/props/custom_type.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/props/custom_type.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/props/decorator.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/props/decorator.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/props/decorator.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/props/decorator.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/props/errors.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/props/errors.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/props/errors.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/props/errors.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/props/generated_code_validation.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/props/generated_code_validation.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/props/generated_code_validation.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/props/generated_code_validation.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/props/has_lazily_specialized_methods.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/props/has_lazily_specialized_methods.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/props/has_lazily_specialized_methods.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/props/has_lazily_specialized_methods.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/props/optional.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/props/optional.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/props/optional.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/props/optional.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/props/plugin.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/props/plugin.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/props/plugin.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/props/plugin.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/props/pretty_printable.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/props/pretty_printable.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/props/pretty_printable.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/props/pretty_printable.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/props/private/apply_default.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/props/private/apply_default.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/props/private/apply_default.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/props/private/apply_default.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/props/private/deserializer_generator.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/props/private/deserializer_generator.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/props/private/deserializer_generator.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/props/private/deserializer_generator.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/props/private/parser.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/props/private/parser.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/props/private/parser.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/props/private/parser.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/props/private/serde_transform.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/props/private/serde_transform.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/props/private/serde_transform.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/props/private/serde_transform.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/props/private/serializer_generator.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/props/private/serializer_generator.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/props/private/serializer_generator.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/props/private/serializer_generator.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/props/private/setter_factory.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/props/private/setter_factory.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/props/private/setter_factory.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/props/private/setter_factory.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/props/serializable.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/props/serializable.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/props/serializable.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/props/serializable.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/props/type_validation.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/props/type_validation.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/props/type_validation.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/props/type_validation.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/props/utils.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/props/utils.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/props/utils.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/props/utils.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/props/weak_constructor.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/props/weak_constructor.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/props/weak_constructor.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/props/weak_constructor.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/sig.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/sig.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/sig.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/sig.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/struct.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/struct.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/struct.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/struct.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/types/anything.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/types/anything.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/types/anything.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/types/anything.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/types/attached_class.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/types/attached_class.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/types/attached_class.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/types/attached_class.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/types/base.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/types/base.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/types/base.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/types/base.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/types/class_of.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/types/class_of.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/types/class_of.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/types/class_of.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/types/enum.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/types/enum.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/types/enum.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/types/enum.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/types/fixed_array.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/types/fixed_array.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/types/fixed_array.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/types/fixed_array.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/types/fixed_hash.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/types/fixed_hash.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/types/fixed_hash.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/types/fixed_hash.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/types/intersection.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/types/intersection.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/types/intersection.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/types/intersection.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/types/noreturn.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/types/noreturn.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/types/noreturn.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/types/noreturn.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/types/proc.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/types/proc.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/types/proc.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/types/proc.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/types/self_type.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/types/self_type.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/types/self_type.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/types/self_type.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/types/simple.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/types/simple.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/types/simple.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/types/simple.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/types/t_enum.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/types/t_enum.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/types/t_enum.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/types/t_enum.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/types/type_member.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/types/type_member.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/types/type_member.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/types/type_member.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/types/type_parameter.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/types/type_parameter.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/types/type_parameter.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/types/type_parameter.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/types/type_template.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/types/type_template.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/types/type_template.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/types/type_template.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/types/type_variable.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/types/type_variable.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/types/type_variable.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/types/type_variable.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/types/typed_array.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/types/typed_array.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/types/typed_array.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/types/typed_array.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/types/typed_class.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/types/typed_class.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/types/typed_class.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/types/typed_class.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/types/typed_enumerable.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/types/typed_enumerable.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/types/typed_enumerable.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/types/typed_enumerable.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/types/typed_enumerator.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/types/typed_enumerator.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/types/typed_enumerator.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/types/typed_enumerator.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/types/typed_enumerator_chain.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/types/typed_enumerator_chain.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/types/typed_enumerator_chain.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/types/typed_enumerator_chain.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/types/typed_enumerator_lazy.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/types/typed_enumerator_lazy.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/types/typed_enumerator_lazy.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/types/typed_enumerator_lazy.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/types/typed_hash.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/types/typed_hash.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/types/typed_hash.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/types/typed_hash.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/types/typed_range.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/types/typed_range.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/types/typed_range.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/types/typed_range.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/types/typed_set.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/types/typed_set.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/types/typed_set.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/types/typed_set.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/types/union.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/types/union.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/types/union.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/types/union.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/types/untyped.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/types/untyped.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/types/untyped.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/types/untyped.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/utils.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/utils.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11820/lib/types/utils.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/utils.rb From 0b17d7f31e047579aa23cb3743a1d85b475dfdf1 Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Wed, 12 Feb 2025 21:51:35 +0000 Subject: [PATCH 055/322] Update RBI files for sorbet. Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow. --- ...tapioca@0.16.9.rbi => tapioca@0.16.10.rbi} | 28 ++++++++++++------- 1 file changed, 18 insertions(+), 10 deletions(-) rename Library/Homebrew/sorbet/rbi/gems/{tapioca@0.16.9.rbi => tapioca@0.16.10.rbi} (99%) diff --git a/Library/Homebrew/sorbet/rbi/gems/tapioca@0.16.9.rbi b/Library/Homebrew/sorbet/rbi/gems/tapioca@0.16.10.rbi similarity index 99% rename from Library/Homebrew/sorbet/rbi/gems/tapioca@0.16.9.rbi rename to Library/Homebrew/sorbet/rbi/gems/tapioca@0.16.10.rbi index d954af6f16..1ba0e248b0 100644 --- a/Library/Homebrew/sorbet/rbi/gems/tapioca@0.16.9.rbi +++ b/Library/Homebrew/sorbet/rbi/gems/tapioca@0.16.10.rbi @@ -218,7 +218,7 @@ class RBI::TypedParam < ::T::Struct const :type, ::String class << self - # source://sorbet-runtime/0.5.11796/lib/types/struct.rb#13 + # source://sorbet-runtime/0.5.11823/lib/types/struct.rb#13 def inherited(s); end end end @@ -453,24 +453,24 @@ class Tapioca::Cli < ::Thor include ::Tapioca::ConfigHelper include ::Tapioca::EnvHelper - # source://tapioca//lib/tapioca/cli.rb#377 + # source://tapioca//lib/tapioca/cli.rb#372 def __print_version; end - # source://tapioca//lib/tapioca/cli.rb#359 + # source://tapioca//lib/tapioca/cli.rb#354 def annotations; end - # source://tapioca//lib/tapioca/cli.rb#331 + # source://tapioca//lib/tapioca/cli.rb#326 def check_shims; end # source://tapioca//lib/tapioca/cli.rb#46 def configure; end - # source://tapioca//lib/tapioca/cli.rb#151 + # source://tapioca//lib/tapioca/cli.rb#146 def dsl(*constant_or_paths); end # @raise [MalformattedArgumentError] # - # source://tapioca//lib/tapioca/cli.rb#274 + # source://tapioca//lib/tapioca/cli.rb#269 def gem(*gems); end # source://tapioca//lib/tapioca/cli.rb#27 @@ -484,11 +484,19 @@ class Tapioca::Cli < ::Thor private - # source://tapioca//lib/tapioca/cli.rb#391 + # source://tapioca//lib/tapioca/cli.rb#399 def print_init_next_steps; end class << self # source://tapioca//lib/tapioca/cli.rb#383 + def addon_mode; end + + # source://tapioca//lib/tapioca/cli.rb#386 + sig { void } + def addon_mode!; end + + # source://tapioca//lib/tapioca/cli.rb#391 + sig { returns(T::Boolean) } def exit_on_failure?; end end end @@ -1143,7 +1151,7 @@ class Tapioca::ConfigHelper::ConfigError < ::T::Struct const :message_parts, T::Array[::Tapioca::ConfigHelper::ConfigErrorMessagePart] class << self - # source://sorbet-runtime/0.5.11796/lib/types/struct.rb#13 + # source://sorbet-runtime/0.5.11823/lib/types/struct.rb#13 def inherited(s); end end end @@ -1154,7 +1162,7 @@ class Tapioca::ConfigHelper::ConfigErrorMessagePart < ::T::Struct const :colors, T::Array[::Symbol] class << self - # source://sorbet-runtime/0.5.11796/lib/types/struct.rb#13 + # source://sorbet-runtime/0.5.11823/lib/types/struct.rb#13 def inherited(s); end end end @@ -2228,7 +2236,7 @@ class Tapioca::GemInfo < ::T::Struct sig { params(spec: ::Bundler::LazySpecification).returns(::Tapioca::GemInfo) } def from_spec(spec); end - # source://sorbet-runtime/0.5.11796/lib/types/struct.rb#13 + # source://sorbet-runtime/0.5.11823/lib/types/struct.rb#13 def inherited(s); end end end From a82bd70ff6b93a0b4f50cca032a51bf135b0ce90 Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Thu, 13 Feb 2025 00:25:25 +0000 Subject: [PATCH 056/322] sorbet: Autobump sigils via Spoom Autogenerated by the [sorbet](https://github.com/Homebrew/brew/blob/master/.github/workflows/sorbet.yml) workflow. --- Library/Homebrew/rubocops/lines.rb | 2 +- Library/Homebrew/rubocops/urls.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Library/Homebrew/rubocops/lines.rb b/Library/Homebrew/rubocops/lines.rb index d93f0ec147..1f28e670d4 100644 --- a/Library/Homebrew/rubocops/lines.rb +++ b/Library/Homebrew/rubocops/lines.rb @@ -1,4 +1,4 @@ -# typed: true # rubocop:todo Sorbet/StrictSigil +# typed: strict # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "macos_version" diff --git a/Library/Homebrew/rubocops/urls.rb b/Library/Homebrew/rubocops/urls.rb index 5bdd2dc6a9..67412a56ff 100644 --- a/Library/Homebrew/rubocops/urls.rb +++ b/Library/Homebrew/rubocops/urls.rb @@ -1,4 +1,4 @@ -# typed: true # rubocop:todo Sorbet/StrictSigil +# typed: strict # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true require "rubocops/extend/formula_cop" From 797ccdd11c4a4c7e76649decfea19b9a2f7a3691 Mon Sep 17 00:00:00 2001 From: Patrick Linnane Date: Wed, 12 Feb 2025 16:53:20 -0800 Subject: [PATCH 057/322] `brew style --fix` Signed-off-by: Patrick Linnane --- Library/Homebrew/rubocops/lines.rb | 2 +- Library/Homebrew/rubocops/urls.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Library/Homebrew/rubocops/lines.rb b/Library/Homebrew/rubocops/lines.rb index 1f28e670d4..aec192b29e 100644 --- a/Library/Homebrew/rubocops/lines.rb +++ b/Library/Homebrew/rubocops/lines.rb @@ -1,4 +1,4 @@ -# typed: strict # rubocop:todo Sorbet/StrictSigil +# typed: strict # frozen_string_literal: true require "macos_version" diff --git a/Library/Homebrew/rubocops/urls.rb b/Library/Homebrew/rubocops/urls.rb index 67412a56ff..a37ba8705e 100644 --- a/Library/Homebrew/rubocops/urls.rb +++ b/Library/Homebrew/rubocops/urls.rb @@ -1,4 +1,4 @@ -# typed: strict # rubocop:todo Sorbet/StrictSigil +# typed: strict # frozen_string_literal: true require "rubocops/extend/formula_cop" From 59445c7961e10b9b5205bdad5df7c760b7244897 Mon Sep 17 00:00:00 2001 From: Ruoyu Zhong Date: Thu, 13 Feb 2025 15:33:45 +0800 Subject: [PATCH 058/322] cmd/info: handle when tab tap is `nil` --- Library/Homebrew/cmd/info.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/cmd/info.rb b/Library/Homebrew/cmd/info.rb index 72a8b47b25..925476eaab 100644 --- a/Library/Homebrew/cmd/info.rb +++ b/Library/Homebrew/cmd/info.rb @@ -298,7 +298,7 @@ module Homebrew kegs = [ *heads.sort_by { |keg| -keg.tab.time.to_i }, *versioned.sort_by(&:scheme_and_version), - ].select { |keg| keg.tab.tap == formula.tap } + ].select { |keg| (tap = keg.tab.tap).nil? || tap == formula.tap } if kegs.empty? puts "Not installed" if (bottle = formula.bottle) From d3fc90f35f5dc80604d05c0c4efcbea4a964833e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 13 Feb 2025 18:48:14 +0000 Subject: [PATCH 059/322] build(deps): bump the sorbet group in /Library/Homebrew with 4 updates Bumps the sorbet group in /Library/Homebrew with 4 updates: [sorbet-static-and-runtime](https://github.com/sorbet/sorbet), [sorbet-runtime](https://github.com/sorbet/sorbet), [sorbet](https://github.com/sorbet/sorbet) and [sorbet-static](https://github.com/sorbet/sorbet). Updates `sorbet-static-and-runtime` from 0.5.11823 to 0.5.11826 - [Release notes](https://github.com/sorbet/sorbet/releases) - [Commits](https://github.com/sorbet/sorbet/commits) Updates `sorbet-runtime` from 0.5.11823 to 0.5.11826 - [Release notes](https://github.com/sorbet/sorbet/releases) - [Commits](https://github.com/sorbet/sorbet/commits) Updates `sorbet` from 0.5.11823 to 0.5.11826 - [Release notes](https://github.com/sorbet/sorbet/releases) - [Commits](https://github.com/sorbet/sorbet/commits) Updates `sorbet-static` from 0.5.11823 to 0.5.11826 - [Release notes](https://github.com/sorbet/sorbet/releases) - [Commits](https://github.com/sorbet/sorbet/commits) --- updated-dependencies: - dependency-name: sorbet-static-and-runtime dependency-type: direct:development update-type: version-update:semver-patch dependency-group: sorbet - dependency-name: sorbet-runtime dependency-type: direct:production update-type: version-update:semver-patch dependency-group: sorbet - dependency-name: sorbet dependency-type: indirect update-type: version-update:semver-patch dependency-group: sorbet - dependency-name: sorbet-static dependency-type: indirect update-type: version-update:semver-patch dependency-group: sorbet ... Signed-off-by: dependabot[bot] --- Library/Homebrew/Gemfile.lock | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/Library/Homebrew/Gemfile.lock b/Library/Homebrew/Gemfile.lock index 97756f137f..5466dafe22 100644 --- a/Library/Homebrew/Gemfile.lock +++ b/Library/Homebrew/Gemfile.lock @@ -114,15 +114,15 @@ GEM simplecov-html (0.13.1) simplecov_json_formatter (0.1.4) simpleidn (0.2.3) - sorbet (0.5.11823) - sorbet-static (= 0.5.11823) - sorbet-runtime (0.5.11823) - sorbet-static (0.5.11823-aarch64-linux) - sorbet-static (0.5.11823-universal-darwin) - sorbet-static (0.5.11823-x86_64-linux) - sorbet-static-and-runtime (0.5.11823) - sorbet (= 0.5.11823) - sorbet-runtime (= 0.5.11823) + sorbet (0.5.11826) + sorbet-static (= 0.5.11826) + sorbet-runtime (0.5.11826) + sorbet-static (0.5.11826-aarch64-linux) + sorbet-static (0.5.11826-universal-darwin) + sorbet-static (0.5.11826-x86_64-linux) + sorbet-static-and-runtime (0.5.11826) + sorbet (= 0.5.11826) + sorbet-runtime (= 0.5.11826) spoom (1.5.3) erubi (>= 1.10.0) prism (>= 0.28.0) @@ -153,7 +153,6 @@ GEM PLATFORMS aarch64-linux - arm-linux arm64-darwin x86_64-darwin x86_64-linux From 74f60efc05264f1436e69ad642cd4abda46a9ed5 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 13 Feb 2025 18:48:27 +0000 Subject: [PATCH 060/322] build(deps-dev): bump logger from 1.6.5 to 1.6.6 in /Library/Homebrew Bumps [logger](https://github.com/ruby/logger) from 1.6.5 to 1.6.6. - [Release notes](https://github.com/ruby/logger/releases) - [Commits](https://github.com/ruby/logger/compare/v1.6.5...v1.6.6) --- updated-dependencies: - dependency-name: logger dependency-type: indirect update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- Library/Homebrew/Gemfile.lock | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Library/Homebrew/Gemfile.lock b/Library/Homebrew/Gemfile.lock index 97756f137f..c2031b498b 100644 --- a/Library/Homebrew/Gemfile.lock +++ b/Library/Homebrew/Gemfile.lock @@ -25,7 +25,7 @@ GEM kramdown (2.5.1) rexml (>= 3.3.9) language_server-protocol (3.17.0.4) - logger (1.6.5) + logger (1.6.6) method_source (1.1.0) minitest (5.25.4) netrc (0.11.0) @@ -153,7 +153,6 @@ GEM PLATFORMS aarch64-linux - arm-linux arm64-darwin x86_64-darwin x86_64-linux From 7e579edbe3a86aa4e38f9defcf91d3579aeafc3f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 13 Feb 2025 18:48:51 +0000 Subject: [PATCH 061/322] build(deps-dev): bump diff-lcs from 1.5.1 to 1.6.0 in /Library/Homebrew Bumps [diff-lcs](https://github.com/halostatue/diff-lcs) from 1.5.1 to 1.6.0. - [Changelog](https://github.com/halostatue/diff-lcs/blob/main/CHANGELOG.md) - [Commits](https://github.com/halostatue/diff-lcs/compare/v1.5.1...v1.6.0) --- updated-dependencies: - dependency-name: diff-lcs dependency-type: indirect update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- Library/Homebrew/Gemfile.lock | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Library/Homebrew/Gemfile.lock b/Library/Homebrew/Gemfile.lock index 97756f137f..02bcd03411 100644 --- a/Library/Homebrew/Gemfile.lock +++ b/Library/Homebrew/Gemfile.lock @@ -10,7 +10,7 @@ GEM bindata (2.5.0) coderay (1.1.3) concurrent-ruby (1.3.5) - diff-lcs (1.5.1) + diff-lcs (1.6.0) docile (1.4.1) elftools (1.3.1) bindata (~> 2) @@ -153,7 +153,6 @@ GEM PLATFORMS aarch64-linux - arm-linux arm64-darwin x86_64-darwin x86_64-linux From 1ad0f550b10d4adfc2d3a22828fd264b1c5f15e1 Mon Sep 17 00:00:00 2001 From: Colin Dean Date: Thu, 13 Feb 2025 19:50:10 +0000 Subject: [PATCH 062/322] Adds post-installation steps to installation with extend version in tips Inspired by @jvns' [post][1], I realized that I've had this problem on multiple teams, where someone missed the step at the end and didn't know how to recover. Typically, I've provided a version like what I've added to the Tips 'n' Tricks page so that I didn't have to think about what OS-arch pair my users are using. I've tested the loader added to tips and tricks with both bash and zsh and it passes both shellcheck and shfmt in posix mode. [1]: https://mastodon.social/@b0rk@jvns.ca/113997565198024027 --- docs/Installation.md | 22 ++++++++++++++++++++++ docs/Tips-N'-Tricks.md | 39 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 61 insertions(+) diff --git a/docs/Installation.md b/docs/Installation.md index 959585a118..eeeb5817f5 100644 --- a/docs/Installation.md +++ b/docs/Installation.md @@ -93,6 +93,28 @@ Make sure you avoid installing into: Create a Homebrew installation wherever you extract the tarball. Whichever `brew` command is called is where the packages will be installed. You can use this as you see fit, e.g. to have a system set of libs in the default prefix and tweaked formulae for development in `~/homebrew`. +## Post-installation steps + +Before completing installation, Homebrew installer will provide some required "Next steps" instructions. +These instructions configure your shell to evaluate the output of `brew shellenv`, +which will load `brew` into your shell environment for use. + +While it's difficult to document the precise path for every shell, +typically, what follows must be in your shell's `rc` or `profile` file: + +```sh +eval "${HOMEBREW_PREFIX}/bin/brew shellenv)" +``` + +where `${HOMEBREW_PREFIX}` is the Homebrew installation directory. +Replace this with the installation directory on your system. + +For more insight, re-run the installer or inspect [the installer's source](https://github.com/Homebrew/install/blob/deacfa6a6e62e5f4002baf9e1fac7a96e9aa5d41/install.sh#L1072-L1088) +to see how the installer constructs the path it recommends. + +See [Tips N' Tricks > Loading Homebrew from the same dotfiles on different operating systems](Tips-N'-Tricks.md#Loading-Homebrew-from-the-same-dotfiles-on-different-operating-systems) +for another way to handle this across multiple operating systems. + ## Uninstallation Uninstallation is documented in the [FAQ](FAQ.md#how-do-i-uninstall-homebrew). diff --git a/docs/Tips-N'-Tricks.md b/docs/Tips-N'-Tricks.md index 85dde92c86..9606d37b0e 100644 --- a/docs/Tips-N'-Tricks.md +++ b/docs/Tips-N'-Tricks.md @@ -140,3 +140,42 @@ export HOMEBREW_ARTIFACT_DOMAIN=https://artifacts.example.com/artifactory/homebr export HOMEBREW_ARTIFACT_DOMAIN_NO_FALLBACK=1 export HOMEBREW_DOCKER_REGISTRY_BASIC_AUTH_TOKEN="$(printf 'anonymous:' | base64)" ``` + +## Loading Homebrew from the same dotfiles on different operating systems + +Some users may want to use the same shell initialization files on macOS and Linux. +Use this to detect the likely Homebrew installation directory and load Homebrew when it's found. +You may need to adapt this to your particular shell or other particulars of your environment. + +```sh +# Execute only if brew isn't already available. +if ! [ -x "$(command -v brew)" ]; then + OS="$(uname)" + UNAME_MACHINE="$(uname -m)" + if [ "${OS}" = "Linux" ]; then + # Linux + HOMEBREW_PREFIX="/home/linuxbrew/.linuxbrew" + elif [ "${OS}" = "Darwin" ]; then + if [ "${UNAME_MACHINE}" = "arm64" ]; then + # M-series ARM64 macOS + HOMEBREW_PREFIX="/opt/homebrew" + else + # Intel macOS + HOMEBREW_PREFIX="/usr/local" + fi + fi + + if [ -d "${HOMEBREW_PREFIX}" ]; then + BREW_BIN="${HOMEBREW_PREFIX}/bin/brew" + if [ -x "${BREW_BIN}" ]; then + eval "\$(${BREW_BIN} shellenv)" + else + >&2 printf "Homebrew possibly found at %s but %s is not executable. Check the permissions.\n" "${HOMEBREW_PREFIX}" "${BREW_BIN}" + fi + else + >&2 printf "Homebrew not found where expected in %s on %s %s\n" "${HOMEBREW_PREFIX}" "${OS}" "${UNAME_MACHINE}" + >&2 printf "Double-check that it's installed or run the following command to install it\n\n\t%s\n" \ + '/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"' + fi +fi +``` From 33fde6faec1ba55a5fb08a7a54c1f24ff6ca60ac Mon Sep 17 00:00:00 2001 From: Colin Dean Date: Thu, 13 Feb 2025 15:12:03 -0500 Subject: [PATCH 063/322] Lowercases a link fragment to satisfy checks --- docs/Installation.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/Installation.md b/docs/Installation.md index eeeb5817f5..1a33e19a54 100644 --- a/docs/Installation.md +++ b/docs/Installation.md @@ -112,7 +112,7 @@ Replace this with the installation directory on your system. For more insight, re-run the installer or inspect [the installer's source](https://github.com/Homebrew/install/blob/deacfa6a6e62e5f4002baf9e1fac7a96e9aa5d41/install.sh#L1072-L1088) to see how the installer constructs the path it recommends. -See [Tips N' Tricks > Loading Homebrew from the same dotfiles on different operating systems](Tips-N'-Tricks.md#Loading-Homebrew-from-the-same-dotfiles-on-different-operating-systems) +See [Tips N' Tricks > Loading Homebrew from the same dotfiles on different operating systems](Tips-N'-Tricks.md#loading-homebrew-from-the-same-dotfiles-on-different-operating-systems) for another way to handle this across multiple operating systems. ## Uninstallation From b5460234666c2f6d56af21407d499c64cb665a92 Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Thu, 13 Feb 2025 20:27:45 +0000 Subject: [PATCH 064/322] brew vendor-gems: commit updates. --- Library/Homebrew/Gemfile.lock | 1 + Library/Homebrew/vendor/bundle/bundler/setup.rb | 8 ++++---- .../lib/sorbet-runtime.rb | 0 .../lib/types/_types.rb | 0 .../lib/types/abstract_utils.rb | 0 .../lib/types/boolean.rb | 0 .../lib/types/compatibility_patches.rb | 0 .../lib/types/configuration.rb | 0 .../lib/types/enum.rb | 0 .../lib/types/generic.rb | 0 .../lib/types/helpers.rb | 0 .../lib/types/non_forcing_constants.rb | 0 .../lib/types/private/abstract/data.rb | 0 .../lib/types/private/abstract/declare.rb | 0 .../lib/types/private/abstract/hooks.rb | 0 .../lib/types/private/abstract/validate.rb | 0 .../lib/types/private/caller_utils.rb | 0 .../lib/types/private/casts.rb | 0 .../lib/types/private/class_utils.rb | 0 .../lib/types/private/decl_state.rb | 0 .../lib/types/private/final.rb | 0 .../lib/types/private/methods/_methods.rb | 0 .../lib/types/private/methods/call_validation.rb | 0 .../lib/types/private/methods/call_validation_2_6.rb | 0 .../lib/types/private/methods/call_validation_2_7.rb | 0 .../lib/types/private/methods/decl_builder.rb | 0 .../lib/types/private/methods/modes.rb | 0 .../lib/types/private/methods/signature.rb | 0 .../lib/types/private/methods/signature_validation.rb | 0 .../lib/types/private/mixins/mixins.rb | 0 .../lib/types/private/retry.rb | 0 .../lib/types/private/runtime_levels.rb | 0 .../lib/types/private/sealed.rb | 0 .../lib/types/private/types/not_typed.rb | 0 .../lib/types/private/types/simple_pair_union.rb | 0 .../lib/types/private/types/string_holder.rb | 0 .../lib/types/private/types/type_alias.rb | 0 .../lib/types/private/types/void.rb | 0 .../lib/types/props/_props.rb | 0 .../lib/types/props/constructor.rb | 0 .../lib/types/props/custom_type.rb | 0 .../lib/types/props/decorator.rb | 0 .../lib/types/props/errors.rb | 0 .../lib/types/props/generated_code_validation.rb | 0 .../lib/types/props/has_lazily_specialized_methods.rb | 0 .../lib/types/props/optional.rb | 0 .../lib/types/props/plugin.rb | 0 .../lib/types/props/pretty_printable.rb | 0 .../lib/types/props/private/apply_default.rb | 0 .../lib/types/props/private/deserializer_generator.rb | 0 .../lib/types/props/private/parser.rb | 0 .../lib/types/props/private/serde_transform.rb | 0 .../lib/types/props/private/serializer_generator.rb | 0 .../lib/types/props/private/setter_factory.rb | 0 .../lib/types/props/serializable.rb | 0 .../lib/types/props/type_validation.rb | 0 .../lib/types/props/utils.rb | 0 .../lib/types/props/weak_constructor.rb | 0 .../lib/types/sig.rb | 0 .../lib/types/struct.rb | 0 .../lib/types/types/anything.rb | 0 .../lib/types/types/attached_class.rb | 0 .../lib/types/types/base.rb | 0 .../lib/types/types/class_of.rb | 0 .../lib/types/types/enum.rb | 0 .../lib/types/types/fixed_array.rb | 0 .../lib/types/types/fixed_hash.rb | 0 .../lib/types/types/intersection.rb | 0 .../lib/types/types/noreturn.rb | 0 .../lib/types/types/proc.rb | 0 .../lib/types/types/self_type.rb | 0 .../lib/types/types/simple.rb | 0 .../lib/types/types/t_enum.rb | 0 .../lib/types/types/type_member.rb | 0 .../lib/types/types/type_parameter.rb | 0 .../lib/types/types/type_template.rb | 0 .../lib/types/types/type_variable.rb | 0 .../lib/types/types/typed_array.rb | 0 .../lib/types/types/typed_class.rb | 0 .../lib/types/types/typed_enumerable.rb | 0 .../lib/types/types/typed_enumerator.rb | 0 .../lib/types/types/typed_enumerator_chain.rb | 0 .../lib/types/types/typed_enumerator_lazy.rb | 0 .../lib/types/types/typed_hash.rb | 0 .../lib/types/types/typed_range.rb | 0 .../lib/types/types/typed_set.rb | 0 .../lib/types/types/union.rb | 0 .../lib/types/types/untyped.rb | 0 .../lib/types/utils.rb | 0 89 files changed, 5 insertions(+), 4 deletions(-) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11823 => sorbet-runtime-0.5.11826}/lib/sorbet-runtime.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11823 => sorbet-runtime-0.5.11826}/lib/types/_types.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11823 => sorbet-runtime-0.5.11826}/lib/types/abstract_utils.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11823 => sorbet-runtime-0.5.11826}/lib/types/boolean.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11823 => sorbet-runtime-0.5.11826}/lib/types/compatibility_patches.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11823 => sorbet-runtime-0.5.11826}/lib/types/configuration.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11823 => sorbet-runtime-0.5.11826}/lib/types/enum.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11823 => sorbet-runtime-0.5.11826}/lib/types/generic.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11823 => sorbet-runtime-0.5.11826}/lib/types/helpers.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11823 => sorbet-runtime-0.5.11826}/lib/types/non_forcing_constants.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11823 => sorbet-runtime-0.5.11826}/lib/types/private/abstract/data.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11823 => sorbet-runtime-0.5.11826}/lib/types/private/abstract/declare.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11823 => sorbet-runtime-0.5.11826}/lib/types/private/abstract/hooks.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11823 => sorbet-runtime-0.5.11826}/lib/types/private/abstract/validate.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11823 => sorbet-runtime-0.5.11826}/lib/types/private/caller_utils.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11823 => sorbet-runtime-0.5.11826}/lib/types/private/casts.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11823 => sorbet-runtime-0.5.11826}/lib/types/private/class_utils.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11823 => sorbet-runtime-0.5.11826}/lib/types/private/decl_state.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11823 => sorbet-runtime-0.5.11826}/lib/types/private/final.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11823 => sorbet-runtime-0.5.11826}/lib/types/private/methods/_methods.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11823 => sorbet-runtime-0.5.11826}/lib/types/private/methods/call_validation.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11823 => sorbet-runtime-0.5.11826}/lib/types/private/methods/call_validation_2_6.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11823 => sorbet-runtime-0.5.11826}/lib/types/private/methods/call_validation_2_7.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11823 => sorbet-runtime-0.5.11826}/lib/types/private/methods/decl_builder.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11823 => sorbet-runtime-0.5.11826}/lib/types/private/methods/modes.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11823 => sorbet-runtime-0.5.11826}/lib/types/private/methods/signature.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11823 => sorbet-runtime-0.5.11826}/lib/types/private/methods/signature_validation.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11823 => sorbet-runtime-0.5.11826}/lib/types/private/mixins/mixins.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11823 => sorbet-runtime-0.5.11826}/lib/types/private/retry.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11823 => sorbet-runtime-0.5.11826}/lib/types/private/runtime_levels.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11823 => sorbet-runtime-0.5.11826}/lib/types/private/sealed.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11823 => sorbet-runtime-0.5.11826}/lib/types/private/types/not_typed.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11823 => sorbet-runtime-0.5.11826}/lib/types/private/types/simple_pair_union.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11823 => sorbet-runtime-0.5.11826}/lib/types/private/types/string_holder.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11823 => sorbet-runtime-0.5.11826}/lib/types/private/types/type_alias.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11823 => sorbet-runtime-0.5.11826}/lib/types/private/types/void.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11823 => sorbet-runtime-0.5.11826}/lib/types/props/_props.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11823 => sorbet-runtime-0.5.11826}/lib/types/props/constructor.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11823 => sorbet-runtime-0.5.11826}/lib/types/props/custom_type.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11823 => sorbet-runtime-0.5.11826}/lib/types/props/decorator.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11823 => sorbet-runtime-0.5.11826}/lib/types/props/errors.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11823 => sorbet-runtime-0.5.11826}/lib/types/props/generated_code_validation.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11823 => sorbet-runtime-0.5.11826}/lib/types/props/has_lazily_specialized_methods.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11823 => sorbet-runtime-0.5.11826}/lib/types/props/optional.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11823 => sorbet-runtime-0.5.11826}/lib/types/props/plugin.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11823 => sorbet-runtime-0.5.11826}/lib/types/props/pretty_printable.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11823 => sorbet-runtime-0.5.11826}/lib/types/props/private/apply_default.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11823 => sorbet-runtime-0.5.11826}/lib/types/props/private/deserializer_generator.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11823 => sorbet-runtime-0.5.11826}/lib/types/props/private/parser.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11823 => sorbet-runtime-0.5.11826}/lib/types/props/private/serde_transform.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11823 => sorbet-runtime-0.5.11826}/lib/types/props/private/serializer_generator.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11823 => sorbet-runtime-0.5.11826}/lib/types/props/private/setter_factory.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11823 => sorbet-runtime-0.5.11826}/lib/types/props/serializable.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11823 => sorbet-runtime-0.5.11826}/lib/types/props/type_validation.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11823 => sorbet-runtime-0.5.11826}/lib/types/props/utils.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11823 => sorbet-runtime-0.5.11826}/lib/types/props/weak_constructor.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11823 => sorbet-runtime-0.5.11826}/lib/types/sig.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11823 => sorbet-runtime-0.5.11826}/lib/types/struct.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11823 => sorbet-runtime-0.5.11826}/lib/types/types/anything.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11823 => sorbet-runtime-0.5.11826}/lib/types/types/attached_class.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11823 => sorbet-runtime-0.5.11826}/lib/types/types/base.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11823 => sorbet-runtime-0.5.11826}/lib/types/types/class_of.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11823 => sorbet-runtime-0.5.11826}/lib/types/types/enum.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11823 => sorbet-runtime-0.5.11826}/lib/types/types/fixed_array.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11823 => sorbet-runtime-0.5.11826}/lib/types/types/fixed_hash.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11823 => sorbet-runtime-0.5.11826}/lib/types/types/intersection.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11823 => sorbet-runtime-0.5.11826}/lib/types/types/noreturn.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11823 => sorbet-runtime-0.5.11826}/lib/types/types/proc.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11823 => sorbet-runtime-0.5.11826}/lib/types/types/self_type.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11823 => sorbet-runtime-0.5.11826}/lib/types/types/simple.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11823 => sorbet-runtime-0.5.11826}/lib/types/types/t_enum.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11823 => sorbet-runtime-0.5.11826}/lib/types/types/type_member.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11823 => sorbet-runtime-0.5.11826}/lib/types/types/type_parameter.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11823 => sorbet-runtime-0.5.11826}/lib/types/types/type_template.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11823 => sorbet-runtime-0.5.11826}/lib/types/types/type_variable.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11823 => sorbet-runtime-0.5.11826}/lib/types/types/typed_array.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11823 => sorbet-runtime-0.5.11826}/lib/types/types/typed_class.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11823 => sorbet-runtime-0.5.11826}/lib/types/types/typed_enumerable.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11823 => sorbet-runtime-0.5.11826}/lib/types/types/typed_enumerator.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11823 => sorbet-runtime-0.5.11826}/lib/types/types/typed_enumerator_chain.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11823 => sorbet-runtime-0.5.11826}/lib/types/types/typed_enumerator_lazy.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11823 => sorbet-runtime-0.5.11826}/lib/types/types/typed_hash.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11823 => sorbet-runtime-0.5.11826}/lib/types/types/typed_range.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11823 => sorbet-runtime-0.5.11826}/lib/types/types/typed_set.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11823 => sorbet-runtime-0.5.11826}/lib/types/types/union.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11823 => sorbet-runtime-0.5.11826}/lib/types/types/untyped.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11823 => sorbet-runtime-0.5.11826}/lib/types/utils.rb (100%) diff --git a/Library/Homebrew/Gemfile.lock b/Library/Homebrew/Gemfile.lock index 5466dafe22..97f5773865 100644 --- a/Library/Homebrew/Gemfile.lock +++ b/Library/Homebrew/Gemfile.lock @@ -153,6 +153,7 @@ GEM PLATFORMS aarch64-linux + arm-linux arm64-darwin x86_64-darwin x86_64-linux diff --git a/Library/Homebrew/vendor/bundle/bundler/setup.rb b/Library/Homebrew/vendor/bundle/bundler/setup.rb index bec9e3a28c..f339e4b3d4 100644 --- a/Library/Homebrew/vendor/bundle/bundler/setup.rb +++ b/Library/Homebrew/vendor/bundle/bundler/setup.rb @@ -74,7 +74,7 @@ $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/extensions/arm64-darwin-20/#{Gem.extension_api_version}/pycall-1.5.2") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/pycall-1.5.2/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rainbow-3.1.1/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-runtime-0.5.11823/lib") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-runtime-0.5.11826/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rbi-0.2.4/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/extensions/arm64-darwin-20/#{Gem.extension_api_version}/rbs-3.8.1") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rbs-3.8.1/lib") @@ -106,9 +106,9 @@ $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/simplecov_json_formatter-0.1.4/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/simplecov-0.22.0/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/simplecov-cobertura-2.1.0/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-static-0.5.11823-universal-darwin/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-0.5.11823/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-static-and-runtime-0.5.11823/lib") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-static-0.5.11826-universal-darwin/lib") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-0.5.11826/lib") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-static-and-runtime-0.5.11826/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/thor-1.3.2/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/spoom-1.5.3/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/extensions/arm64-darwin-20/#{Gem.extension_api_version}/stackprof-0.2.27") diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/sorbet-runtime.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/sorbet-runtime.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/sorbet-runtime.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/sorbet-runtime.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/_types.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/_types.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/_types.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/_types.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/abstract_utils.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/abstract_utils.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/abstract_utils.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/abstract_utils.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/boolean.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/boolean.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/boolean.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/boolean.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/compatibility_patches.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/compatibility_patches.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/compatibility_patches.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/compatibility_patches.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/configuration.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/configuration.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/configuration.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/configuration.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/enum.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/enum.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/enum.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/enum.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/generic.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/generic.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/generic.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/generic.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/helpers.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/helpers.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/helpers.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/helpers.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/non_forcing_constants.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/non_forcing_constants.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/non_forcing_constants.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/non_forcing_constants.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/private/abstract/data.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/private/abstract/data.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/private/abstract/data.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/private/abstract/data.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/private/abstract/declare.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/private/abstract/declare.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/private/abstract/declare.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/private/abstract/declare.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/private/abstract/hooks.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/private/abstract/hooks.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/private/abstract/hooks.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/private/abstract/hooks.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/private/abstract/validate.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/private/abstract/validate.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/private/abstract/validate.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/private/abstract/validate.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/private/caller_utils.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/private/caller_utils.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/private/caller_utils.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/private/caller_utils.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/private/casts.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/private/casts.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/private/casts.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/private/casts.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/private/class_utils.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/private/class_utils.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/private/class_utils.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/private/class_utils.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/private/decl_state.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/private/decl_state.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/private/decl_state.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/private/decl_state.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/private/final.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/private/final.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/private/final.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/private/final.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/private/methods/_methods.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/private/methods/_methods.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/private/methods/_methods.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/private/methods/_methods.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/private/methods/call_validation.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/private/methods/call_validation.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/private/methods/call_validation.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/private/methods/call_validation.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/private/methods/call_validation_2_6.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/private/methods/call_validation_2_6.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/private/methods/call_validation_2_6.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/private/methods/call_validation_2_6.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/private/methods/call_validation_2_7.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/private/methods/call_validation_2_7.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/private/methods/call_validation_2_7.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/private/methods/call_validation_2_7.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/private/methods/decl_builder.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/private/methods/decl_builder.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/private/methods/decl_builder.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/private/methods/decl_builder.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/private/methods/modes.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/private/methods/modes.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/private/methods/modes.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/private/methods/modes.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/private/methods/signature.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/private/methods/signature.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/private/methods/signature.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/private/methods/signature.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/private/methods/signature_validation.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/private/methods/signature_validation.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/private/methods/signature_validation.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/private/methods/signature_validation.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/private/mixins/mixins.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/private/mixins/mixins.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/private/mixins/mixins.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/private/mixins/mixins.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/private/retry.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/private/retry.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/private/retry.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/private/retry.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/private/runtime_levels.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/private/runtime_levels.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/private/runtime_levels.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/private/runtime_levels.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/private/sealed.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/private/sealed.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/private/sealed.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/private/sealed.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/private/types/not_typed.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/private/types/not_typed.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/private/types/not_typed.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/private/types/not_typed.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/private/types/simple_pair_union.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/private/types/simple_pair_union.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/private/types/simple_pair_union.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/private/types/simple_pair_union.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/private/types/string_holder.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/private/types/string_holder.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/private/types/string_holder.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/private/types/string_holder.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/private/types/type_alias.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/private/types/type_alias.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/private/types/type_alias.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/private/types/type_alias.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/private/types/void.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/private/types/void.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/private/types/void.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/private/types/void.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/props/_props.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/props/_props.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/props/_props.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/props/_props.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/props/constructor.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/props/constructor.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/props/constructor.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/props/constructor.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/props/custom_type.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/props/custom_type.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/props/custom_type.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/props/custom_type.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/props/decorator.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/props/decorator.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/props/decorator.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/props/decorator.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/props/errors.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/props/errors.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/props/errors.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/props/errors.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/props/generated_code_validation.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/props/generated_code_validation.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/props/generated_code_validation.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/props/generated_code_validation.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/props/has_lazily_specialized_methods.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/props/has_lazily_specialized_methods.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/props/has_lazily_specialized_methods.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/props/has_lazily_specialized_methods.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/props/optional.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/props/optional.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/props/optional.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/props/optional.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/props/plugin.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/props/plugin.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/props/plugin.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/props/plugin.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/props/pretty_printable.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/props/pretty_printable.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/props/pretty_printable.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/props/pretty_printable.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/props/private/apply_default.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/props/private/apply_default.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/props/private/apply_default.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/props/private/apply_default.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/props/private/deserializer_generator.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/props/private/deserializer_generator.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/props/private/deserializer_generator.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/props/private/deserializer_generator.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/props/private/parser.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/props/private/parser.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/props/private/parser.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/props/private/parser.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/props/private/serde_transform.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/props/private/serde_transform.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/props/private/serde_transform.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/props/private/serde_transform.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/props/private/serializer_generator.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/props/private/serializer_generator.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/props/private/serializer_generator.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/props/private/serializer_generator.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/props/private/setter_factory.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/props/private/setter_factory.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/props/private/setter_factory.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/props/private/setter_factory.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/props/serializable.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/props/serializable.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/props/serializable.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/props/serializable.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/props/type_validation.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/props/type_validation.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/props/type_validation.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/props/type_validation.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/props/utils.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/props/utils.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/props/utils.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/props/utils.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/props/weak_constructor.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/props/weak_constructor.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/props/weak_constructor.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/props/weak_constructor.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/sig.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/sig.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/sig.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/sig.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/struct.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/struct.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/struct.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/struct.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/types/anything.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/types/anything.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/types/anything.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/types/anything.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/types/attached_class.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/types/attached_class.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/types/attached_class.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/types/attached_class.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/types/base.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/types/base.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/types/base.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/types/base.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/types/class_of.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/types/class_of.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/types/class_of.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/types/class_of.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/types/enum.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/types/enum.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/types/enum.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/types/enum.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/types/fixed_array.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/types/fixed_array.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/types/fixed_array.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/types/fixed_array.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/types/fixed_hash.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/types/fixed_hash.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/types/fixed_hash.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/types/fixed_hash.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/types/intersection.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/types/intersection.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/types/intersection.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/types/intersection.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/types/noreturn.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/types/noreturn.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/types/noreturn.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/types/noreturn.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/types/proc.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/types/proc.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/types/proc.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/types/proc.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/types/self_type.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/types/self_type.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/types/self_type.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/types/self_type.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/types/simple.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/types/simple.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/types/simple.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/types/simple.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/types/t_enum.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/types/t_enum.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/types/t_enum.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/types/t_enum.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/types/type_member.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/types/type_member.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/types/type_member.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/types/type_member.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/types/type_parameter.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/types/type_parameter.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/types/type_parameter.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/types/type_parameter.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/types/type_template.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/types/type_template.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/types/type_template.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/types/type_template.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/types/type_variable.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/types/type_variable.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/types/type_variable.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/types/type_variable.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/types/typed_array.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/types/typed_array.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/types/typed_array.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/types/typed_array.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/types/typed_class.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/types/typed_class.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/types/typed_class.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/types/typed_class.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/types/typed_enumerable.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/types/typed_enumerable.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/types/typed_enumerable.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/types/typed_enumerable.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/types/typed_enumerator.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/types/typed_enumerator.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/types/typed_enumerator.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/types/typed_enumerator.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/types/typed_enumerator_chain.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/types/typed_enumerator_chain.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/types/typed_enumerator_chain.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/types/typed_enumerator_chain.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/types/typed_enumerator_lazy.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/types/typed_enumerator_lazy.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/types/typed_enumerator_lazy.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/types/typed_enumerator_lazy.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/types/typed_hash.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/types/typed_hash.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/types/typed_hash.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/types/typed_hash.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/types/typed_range.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/types/typed_range.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/types/typed_range.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/types/typed_range.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/types/typed_set.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/types/typed_set.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/types/typed_set.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/types/typed_set.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/types/union.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/types/union.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/types/union.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/types/union.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/types/untyped.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/types/untyped.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/types/untyped.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/types/untyped.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/utils.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/utils.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11823/lib/types/utils.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/utils.rb From 68ae64d3297294ec2cd28ac3e634b4b5b2057fe5 Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Fri, 14 Feb 2025 00:07:39 +0000 Subject: [PATCH 065/322] Update sponsors. Autogenerated by the [sponsors-maintainers-man-completions](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/sponsors-maintainers-man-completions.yml) workflow. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index a9306affc5..0845b3919a 100644 --- a/README.md +++ b/README.md @@ -83,6 +83,6 @@ Secure password storage and syncing is provided by [1Password for Teams](https:/ [![DNSimple](https://cdn.dnsimple.com/assets/resolving-with-us/logo-light.png)](https://dnsimple.com/resolving/homebrew#gh-light-mode-only) [![DNSimple](https://cdn.dnsimple.com/assets/resolving-with-us/logo-dark.png)](https://dnsimple.com/resolving/homebrew#gh-dark-mode-only) -Homebrew is generously supported by [GitHub](https://github.com/github), [Custom Ink](https://github.com/customink), [Randy Reddig](https://github.com/ydnar), [Codecademy](https://github.com/Codecademy), [MacPaw Inc.](https://github.com/MacPaw), [Workbrew](https://github.com/Workbrew) and many other users and organisations via [GitHub Sponsors](https://github.com/sponsors/Homebrew). +Homebrew is generously supported by [GitHub](https://github.com/github), [Custom Ink](https://github.com/customink), [Randy Reddig](https://github.com/ydnar), [Codecademy](https://github.com/Codecademy), [MacPaw Inc.](https://github.com/MacPaw), [mikadelbert](https://github.com/mikadelbert), [Workbrew](https://github.com/Workbrew) and many other users and organisations via [GitHub Sponsors](https://github.com/sponsors/Homebrew). [![GitHub](https://github.com/github.png?size=64)](https://github.com/github) From afbc1dab54a83a509371811227d480fa8f830b09 Mon Sep 17 00:00:00 2001 From: Douglas Eichelberger Date: Thu, 13 Feb 2025 16:33:59 -0800 Subject: [PATCH 066/322] Clean up OnSystem rbis --- Library/Homebrew/extend/on_system.rbi | 17 +++++++++++++++++ Library/Homebrew/formula.rbi | 6 ------ Library/Homebrew/service.rbi | 7 ------- Library/Homebrew/utils/gems.rbi | 27 --------------------------- 4 files changed, 17 insertions(+), 40 deletions(-) delete mode 100644 Library/Homebrew/formula.rbi delete mode 100644 Library/Homebrew/service.rbi delete mode 100644 Library/Homebrew/utils/gems.rbi diff --git a/Library/Homebrew/extend/on_system.rbi b/Library/Homebrew/extend/on_system.rbi index 15534bb4b4..c80492017b 100644 --- a/Library/Homebrew/extend/on_system.rbi +++ b/Library/Homebrew/extend/on_system.rbi @@ -4,3 +4,20 @@ module OnSystem::MacOSOnly sig { params(arm: T.nilable(String), intel: T.nilable(String)).returns(T.nilable(String)) } def on_arch_conditional(arm: nil, intel: nil); end end + +module OnSystem::MacOSAndLinux + sig { + params( + macos: T.nilable(T.any(T::Array[T.any(String, Pathname)], String, Pathname)), + linux: T.nilable(T.any(T::Array[T.any(String, Pathname)], String, Pathname)), + ).returns(T.nilable(T.any(T::Array[T.any(String, Pathname)], String, Pathname))) + } + def on_system_conditional(macos: nil, linux: nil); end + + sig { + type_parameters(:U) + .params(block: T.proc.returns(T.type_parameter(:U))) + .returns(T.type_parameter(:U)) + } + def on_macos(&block); end +end diff --git a/Library/Homebrew/formula.rbi b/Library/Homebrew/formula.rbi deleted file mode 100644 index 2beea9c311..0000000000 --- a/Library/Homebrew/formula.rbi +++ /dev/null @@ -1,6 +0,0 @@ -# typed: strict - -class Formula - # This method is included by `OnSystem` - def self.on_macos(&block); end -end diff --git a/Library/Homebrew/service.rbi b/Library/Homebrew/service.rbi deleted file mode 100644 index 5777dab11b..0000000000 --- a/Library/Homebrew/service.rbi +++ /dev/null @@ -1,7 +0,0 @@ -# typed: strict - -module Homebrew - class Service - def on_system_conditional(macos: nil, linux: nil); end - end -end diff --git a/Library/Homebrew/utils/gems.rbi b/Library/Homebrew/utils/gems.rbi deleted file mode 100644 index 746bceef1d..0000000000 --- a/Library/Homebrew/utils/gems.rbi +++ /dev/null @@ -1,27 +0,0 @@ -# typed: strict - -module Homebrew - sig { returns(String) } - def ruby_bindir; end - - sig { returns(String) } - def gem_user_bindir; end - - sig { params(message: String).void } - def ohai_if_defined(message); end - - sig { params(message: String).returns(T.noreturn) } - def odie_if_defined(message); end - - sig { params(name: String, version: T.nilable(String), executable: String, setup_gem_environment: T::Boolean).void } - def install_gem_setup_path!(name, version: nil, executable: name, setup_gem_environment: true); end - - sig { params(executable: String).returns(T.nilable(String)) } - def find_in_path(executable); end - - sig { void } - def install_bundler!; end - - sig { params(only_warn_on_failure: T::Boolean, setup_path: T::Boolean, groups: T::Array[String]).void } - def install_bundler_gems!(only_warn_on_failure: false, setup_path: false, groups: []); end -end From 20e33166e16e5d76c91b6c3c8e758f3e8c77c79a Mon Sep 17 00:00:00 2001 From: zyoshoka <107108195+zyoshoka@users.noreply.github.com> Date: Mon, 10 Feb 2025 16:15:33 +0900 Subject: [PATCH 067/322] cask/url: remove arch placeholder when checking if unversioned This prevents casks whose `url` contains only `#{arch}` from passing `audit_sha256_no_check_if_unversioned`. --- Library/Homebrew/cask/url.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/Library/Homebrew/cask/url.rb b/Library/Homebrew/cask/url.rb index bec7cf6f90..b347208aa8 100644 --- a/Library/Homebrew/cask/url.rb +++ b/Library/Homebrew/cask/url.rb @@ -267,6 +267,7 @@ module Cask return false unless interpolated_url + interpolated_url = interpolated_url.gsub(/\#{\s*arch\s*}/, "") interpolated_url = interpolated_url.gsub(/\#{\s*version\s*\.major\s*}/, "") if ignore_major_version interpolated_url.exclude?('#{') From 1733a78133b6d455738308db6455f66a5d37b984 Mon Sep 17 00:00:00 2001 From: Colin Dean Date: Fri, 14 Feb 2025 10:25:32 -0500 Subject: [PATCH 068/322] Prevent copying w/o reading by removing valid envvars and noting dirs Co-authored-by: Eric Knibbe --- docs/Installation.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/Installation.md b/docs/Installation.md index 1a33e19a54..56910eea63 100644 --- a/docs/Installation.md +++ b/docs/Installation.md @@ -103,11 +103,12 @@ While it's difficult to document the precise path for every shell, typically, what follows must be in your shell's `rc` or `profile` file: ```sh -eval "${HOMEBREW_PREFIX}/bin/brew shellenv)" +eval "/bin/brew shellenv)" ``` where `${HOMEBREW_PREFIX}` is the Homebrew installation directory. Replace this with the installation directory on your system. +See the [FAQ about default installation locations](FAQ.md#why-should-i-install-homebrew-in-the-default-location). For more insight, re-run the installer or inspect [the installer's source](https://github.com/Homebrew/install/blob/deacfa6a6e62e5f4002baf9e1fac7a96e9aa5d41/install.sh#L1072-L1088) to see how the installer constructs the path it recommends. From 5886b51df72a207c5fa3ebed0048fc17abe5c9e4 Mon Sep 17 00:00:00 2001 From: thibhero Date: Sat, 15 Feb 2025 23:00:35 -0500 Subject: [PATCH 069/322] refactoring and updating functions to correctly print formula to upgrade --- Library/Homebrew/cmd/upgrade.rb | 33 ++++++++++++--------------------- 1 file changed, 12 insertions(+), 21 deletions(-) diff --git a/Library/Homebrew/cmd/upgrade.rb b/Library/Homebrew/cmd/upgrade.rb index fc8d1a2cef..03fb307a09 100644 --- a/Library/Homebrew/cmd/upgrade.rb +++ b/Library/Homebrew/cmd/upgrade.rb @@ -228,7 +228,6 @@ module Homebrew loop do result = $stdin.gets.chomp.strip.downcase if accepted_inputs.include?(result) - puts "Proceeding with installation..." break elsif declined_inputs.include?(result) return @@ -238,44 +237,36 @@ module Homebrew end } - # Build a unique list of formulae to size by including: - # 1. The original formulae to install. - # 2. Their outdated dependents (subject to pruning criteria). - # 3. Optionally, any installed formula that depends on one of these and is outdated. compute_sized_formulae = lambda { |f, check_dep: true, upgrade: true| sized_formulae = f.flat_map do |formula| # Always include the formula itself. formula_list = [formula] - + next unless upgrade + deps = args.build_from_source? ? formula.deps.build : formula.deps.required # If there are dependencies, try to gather outdated, bottled ones. - if formula.deps.any? && check_dep - outdated_dependents = formula.recursive_dependencies do |_, dep| - dep_formula = dep.to_formula - next :prune if dep_formula.deps.empty? - next :prune if !upgrade || !dep_formula.outdated? - next :prune unless dep_formula.bottled? - end.flatten + if deps.any? && check_dep + outdated_dependents = deps.map(&:to_formula).reject(&:pinned?).select do |dep| + dep.installed_kegs.empty? || (dep.bottled? && dep.outdated?) + end - # Convert each dependency to its formula. - formula_list.concat(outdated_dependents.flat_map { |dep| Array(dep.to_formula) }) + formula_list.concat(outdated_dependents) end formula_list end # Add any installed formula that depends on one of the sized formulae and is outdated. - if !Homebrew::EnvConfig.no_installed_dependents_check? && check_dep - installed_outdated = Formula.installed.select do |installed_formula| + if check_dep && !Homebrew::EnvConfig.no_installed_dependents_check? + sized_formulae.concat(Formula.installed.select do |installed_formula| installed_formula.outdated? && - installed_formula.deps.any? { |dep| sized_formulae.include?(dep.to_formula) } - end - sized_formulae.concat(installed_outdated) + installed_formula.deps.required.any? { |dep| sized_formulae.include?(dep.to_formula) } + end) end - # Uniquify based on a string representation (or any unique identifier) sized_formulae.uniq(&:to_s) } + # Compute the total sizes (download, installed, and net) for the given formulae. compute_total_sizes = lambda { |sized_formulae, debug: false| total_download_size = 0 From b821446b6f42e10f7167c5a828262056b776985b Mon Sep 17 00:00:00 2001 From: thibhero Date: Sat, 15 Feb 2025 23:01:53 -0500 Subject: [PATCH 070/322] description of lambda --- Library/Homebrew/cmd/upgrade.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Library/Homebrew/cmd/upgrade.rb b/Library/Homebrew/cmd/upgrade.rb index 03fb307a09..89561c82b5 100644 --- a/Library/Homebrew/cmd/upgrade.rb +++ b/Library/Homebrew/cmd/upgrade.rb @@ -237,6 +237,10 @@ module Homebrew end } + # Build a unique list of formulae to size by including: + # 1. The original formulae to install. + # 2. Their outdated dependents (subject to pruning criteria). + # 3. Optionally, any installed formula that depends on one of these and is outdated. compute_sized_formulae = lambda { |f, check_dep: true, upgrade: true| sized_formulae = f.flat_map do |formula| # Always include the formula itself. From 624e960cd5d2aff9cf57bbe9c63cac0a7420c880 Mon Sep 17 00:00:00 2001 From: thibhero Date: Sat, 15 Feb 2025 23:02:14 -0500 Subject: [PATCH 071/322] refactoring lambda as upgrade.RB --- Library/Homebrew/cmd/reinstall.rb | 32 +++++++++++++------------------ 1 file changed, 13 insertions(+), 19 deletions(-) diff --git a/Library/Homebrew/cmd/reinstall.rb b/Library/Homebrew/cmd/reinstall.rb index 122d73bd26..f5440407ec 100644 --- a/Library/Homebrew/cmd/reinstall.rb +++ b/Library/Homebrew/cmd/reinstall.rb @@ -138,7 +138,6 @@ module Homebrew loop do result = $stdin.gets.chomp.strip.downcase if accepted_inputs.include?(result) - puts "Proceeding with installation..." break elsif declined_inputs.include?(result) exit 0 @@ -152,37 +151,32 @@ module Homebrew # 1. The original formulae to install. # 2. Their outdated dependents (subject to pruning criteria). # 3. Optionally, any installed formula that depends on one of these and is outdated. - compute_sized_formulae = lambda { |formulae_to_install, check_dep: true, upgrade: true| - sized_formulae = formulae_to_install.flat_map do |formula| + compute_sized_formulae = lambda { |f, check_dep: true, upgrade: true| + sized_formulae = f.flat_map do |formula| # Always include the formula itself. formula_list = [formula] - + next unless upgrade + deps = args.build_from_source? ? formula.deps.build : formula.deps.required # If there are dependencies, try to gather outdated, bottled ones. - if formula.deps.any? && check_dep - outdated_dependents = formula.recursive_dependencies do |_, dep| - dep_formula = dep.to_formula - next :prune if dep_formula.deps.empty? - next :prune if !upgrade || !dep_formula.outdated? - next :prune unless dep_formula.bottled? - end.flatten + if deps.any? && check_dep + outdated_dependents = deps.map(&:to_formula).reject(&:pinned?).select do |dep| + dep.installed_kegs.empty? || (dep.bottled? && dep.outdated?) + end - # Convert each dependency to its formula. - formula_list.concat(outdated_dependents.flat_map { |dep| Array(dep.to_formula) }) + formula_list.concat(outdated_dependents) end formula_list end # Add any installed formula that depends on one of the sized formulae and is outdated. - if !Homebrew::EnvConfig.no_installed_dependents_check? && check_dep - installed_outdated = Formula.installed.select do |installed_formula| + if check_dep && !Homebrew::EnvConfig.no_installed_dependents_check? + sized_formulae.concat(Formula.installed.select do |installed_formula| installed_formula.outdated? && - installed_formula.deps.any? { |dep| sized_formulae.include?(dep.to_formula) } - end - sized_formulae.concat(installed_outdated) + installed_formula.deps.required.any? { |dep| sized_formulae.include?(dep.to_formula) } + end) end - # Uniquify based on a string representation (or any unique identifier) sized_formulae.uniq(&:to_s) } From 5c2bbe59112f04aba7e020e41dfd04e8349c8d55 Mon Sep 17 00:00:00 2001 From: thibhero Date: Sat, 15 Feb 2025 23:20:07 -0500 Subject: [PATCH 072/322] pass `brew typecheck`, `brew style` and `brew tests` --- Library/Homebrew/cmd/reinstall.rb | 1 + Library/Homebrew/cmd/upgrade.rb | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Library/Homebrew/cmd/reinstall.rb b/Library/Homebrew/cmd/reinstall.rb index f5440407ec..eec494b47b 100644 --- a/Library/Homebrew/cmd/reinstall.rb +++ b/Library/Homebrew/cmd/reinstall.rb @@ -156,6 +156,7 @@ module Homebrew # Always include the formula itself. formula_list = [formula] next unless upgrade + deps = args.build_from_source? ? formula.deps.build : formula.deps.required # If there are dependencies, try to gather outdated, bottled ones. if deps.any? && check_dep diff --git a/Library/Homebrew/cmd/upgrade.rb b/Library/Homebrew/cmd/upgrade.rb index 89561c82b5..0a6cc0e710 100644 --- a/Library/Homebrew/cmd/upgrade.rb +++ b/Library/Homebrew/cmd/upgrade.rb @@ -230,7 +230,7 @@ module Homebrew if accepted_inputs.include?(result) break elsif declined_inputs.include?(result) - return + exit 0 else puts "Invalid input. Please enter 'Y', 'y', or 'yes' to proceed, or 'N' to abort." end @@ -246,6 +246,7 @@ module Homebrew # Always include the formula itself. formula_list = [formula] next unless upgrade + deps = args.build_from_source? ? formula.deps.build : formula.deps.required # If there are dependencies, try to gather outdated, bottled ones. if deps.any? && check_dep @@ -270,7 +271,6 @@ module Homebrew sized_formulae.uniq(&:to_s) } - # Compute the total sizes (download, installed, and net) for the given formulae. compute_total_sizes = lambda { |sized_formulae, debug: false| total_download_size = 0 From 8299c5980117720b69fcad3660edfb9ef34b0bf8 Mon Sep 17 00:00:00 2001 From: thibhero Date: Sun, 16 Feb 2025 00:06:23 -0500 Subject: [PATCH 073/322] pass `brew typecheck`, `brew style` and `brew tests` --- Library/Homebrew/cmd/install.rb | 29 ++++++++++++----------------- 1 file changed, 12 insertions(+), 17 deletions(-) diff --git a/Library/Homebrew/cmd/install.rb b/Library/Homebrew/cmd/install.rb index 089db1c1fa..ec4adb3c73 100644 --- a/Library/Homebrew/cmd/install.rb +++ b/Library/Homebrew/cmd/install.rb @@ -331,33 +331,29 @@ module Homebrew sized_formulae = f.flat_map do |formula| # Always include the formula itself. formula_list = [formula] + next unless upgrade + deps = args.build_from_source? ? formula.deps.build : formula.deps.required # If there are dependencies, try to gather outdated, bottled ones. - if formula.deps.any? && check_dep - outdated_dependents = formula.recursive_dependencies do |_, dep| - dep_formula = dep.to_formula - next :prune if dep_formula.deps.empty? - next :prune if !upgrade || !dep_formula.outdated? - next :prune unless dep_formula.bottled? - end.flatten + if deps.any? && check_dep + outdated_dependents = deps.map(&:to_formula).reject(&:pinned?).select do |dep| + dep.installed_kegs.empty? || (dep.bottled? && dep.outdated?) + end - # Convert each dependency to its formula. - formula_list.concat(outdated_dependents.flat_map { |dep| Array(dep.to_formula) }) + formula_list.concat(outdated_dependents) end formula_list end # Add any installed formula that depends on one of the sized formulae and is outdated. - if !Homebrew::EnvConfig.no_installed_dependents_check? && check_dep - installed_outdated = Formula.installed.select do |installed_formula| + if check_dep && !Homebrew::EnvConfig.no_installed_dependents_check? + sized_formulae.concat(Formula.installed.select do |installed_formula| installed_formula.outdated? && - installed_formula.deps.any? { |dep| sized_formulae.include?(dep.to_formula) } - end - sized_formulae.concat(installed_outdated) + installed_formula.deps.required.any? { |dep| sized_formulae.include?(dep.to_formula) } + end) end - # Uniquify based on a string representation (or any unique identifier) sized_formulae.uniq(&:to_s) } @@ -389,11 +385,10 @@ module Homebrew } # Main block: if asking the user is enabled, show dependency and size information. - # This part should be if args.ask? ohai "Looking for bottles..." - sized_formulae = compute_sized_formulae.call(installed_formulae, check_dep: true, upgrade: false) + sized_formulae = compute_sized_formulae.call(formulae, check_dep: false, upgrade: false) sizes = compute_total_sizes.call(sized_formulae, debug: args.debug?) puts "Formulae: #{sized_formulae.join(", ")}\n\n" From bb7dcc9384b99ff46556bd3e091ed4e878fa845a Mon Sep 17 00:00:00 2001 From: thibhero Date: Sun, 16 Feb 2025 00:06:57 -0500 Subject: [PATCH 074/322] updating comments --- Library/Homebrew/cmd/reinstall.rb | 1 - Library/Homebrew/cmd/upgrade.rb | 1 - 2 files changed, 2 deletions(-) diff --git a/Library/Homebrew/cmd/reinstall.rb b/Library/Homebrew/cmd/reinstall.rb index eec494b47b..54e74af6b9 100644 --- a/Library/Homebrew/cmd/reinstall.rb +++ b/Library/Homebrew/cmd/reinstall.rb @@ -209,7 +209,6 @@ module Homebrew } # Main block: if asking the user is enabled, show dependency and size information. - # This part should be if args.ask? ohai "Looking for bottles..." diff --git a/Library/Homebrew/cmd/upgrade.rb b/Library/Homebrew/cmd/upgrade.rb index 0a6cc0e710..38eaf18f90 100644 --- a/Library/Homebrew/cmd/upgrade.rb +++ b/Library/Homebrew/cmd/upgrade.rb @@ -299,7 +299,6 @@ module Homebrew } # Main block: if asking the user is enabled, show dependency and size information. - # This part should be if args.ask? ohai "Looking for bottles..." From 0037b1f6262cd95aa29f516f6a9959a6e67e0e33 Mon Sep 17 00:00:00 2001 From: Douglas Eichelberger Date: Sat, 15 Feb 2025 23:04:04 -0800 Subject: [PATCH 075/322] Enable strict typing in DependenciesHelpers --- Library/Homebrew/cask/macos.rb | 21 +++++---- Library/Homebrew/cli/named_args.rb | 33 +++++++------- Library/Homebrew/cmd/--cache.rb | 2 +- Library/Homebrew/cmd/deps.rb | 4 +- Library/Homebrew/cmd/desc.rb | 2 +- Library/Homebrew/cmd/home.rb | 3 +- Library/Homebrew/cmd/list.rb | 4 +- Library/Homebrew/cmd/uses.rb | 22 +++++---- Library/Homebrew/dependencies.rb | 5 --- Library/Homebrew/dependencies.rbi | 11 +++++ Library/Homebrew/dependencies_helpers.rb | 45 +++++++++++++++---- Library/Homebrew/dependencies_helpers.rbi | 12 +++++ .../test/dependencies_helpers_spec.rb | 2 +- 13 files changed, 108 insertions(+), 58 deletions(-) create mode 100644 Library/Homebrew/dependencies_helpers.rbi diff --git a/Library/Homebrew/cask/macos.rb b/Library/Homebrew/cask/macos.rb index ac1a2349b9..5b402d4089 100644 --- a/Library/Homebrew/cask/macos.rb +++ b/Library/Homebrew/cask/macos.rb @@ -1,11 +1,9 @@ -# typed: true # rubocop:todo Sorbet/StrictSigil +# typed: strict # frozen_string_literal: true module OS module Mac - module_function - - SYSTEM_DIRS = [ + SYSTEM_DIRS = T.let([ "/", "/Applications", "/Applications/Utilities", @@ -234,14 +232,13 @@ module OS "/var/spool/mail", "/var/tmp", ] - .map(&method(:Pathname)) - .to_set - .freeze + .to_set { Pathname(_1) } + .freeze, T::Set[Pathname]) private_constant :SYSTEM_DIRS # TODO: There should be a way to specify a containing # directory under which nothing can be deleted. - UNDELETABLE_PATHS = [ + UNDELETABLE_PATHS = T.let([ "~/", "~/Applications", "~/Applications/.localized", @@ -378,14 +375,16 @@ module OS ] .to_set { |path| Pathname(path.sub(%r{^~(?=(/|$))}, Dir.home)).expand_path } .union(SYSTEM_DIRS) - .freeze + .freeze, T::Set[Pathname]) private_constant :UNDELETABLE_PATHS - def system_dir?(dir) + sig { params(dir: T.any(Pathname, String)).returns(T::Boolean) } + def self.system_dir?(dir) SYSTEM_DIRS.include?(Pathname.new(dir).expand_path) end - def undeletable?(path) + sig { params(path: T.any(Pathname, String)).returns(T::Boolean) } + def self.undeletable?(path) UNDELETABLE_PATHS.include?(Pathname.new(path).expand_path) end end diff --git a/Library/Homebrew/cli/named_args.rb b/Library/Homebrew/cli/named_args.rb index f74719babb..2620ec1ccb 100644 --- a/Library/Homebrew/cli/named_args.rb +++ b/Library/Homebrew/cli/named_args.rb @@ -70,26 +70,29 @@ module Homebrew method: T.nilable(Symbol), uniq: T::Boolean, warn: T::Boolean, - ).returns(T::Array[T.any(Formula, Keg, Cask::Cask)]) + ).returns(T::Array[T.any(Formula, Cask::Cask)]) } def to_formulae_and_casks( only: parent.only_formula_or_cask, ignore_unavailable: false, method: nil, uniq: true, warn: false ) @to_formulae_and_casks ||= T.let( - {}, T.nilable(T::Hash[T.nilable(Symbol), T::Array[T.any(Formula, Keg, Cask::Cask)]]) + {}, T.nilable(T::Hash[T.nilable(Symbol), T::Array[T.any(Formula, Cask::Cask)]]) + ) + @to_formulae_and_casks[only] ||= T.cast( + downcased_unique_named.flat_map do |name| + options = { warn: }.compact + load_formula_or_cask(name, only:, method:, **options) + rescue FormulaUnreadableError, FormulaClassUnavailableError, + TapFormulaUnreadableError, TapFormulaClassUnavailableError, + Cask::CaskUnreadableError + # Need to rescue before `*UnavailableError` (superclass of this) + # The formula/cask was found, but there's a problem with its implementation + raise + rescue NoSuchKegError, FormulaUnavailableError, Cask::CaskUnavailableError, FormulaOrCaskUnavailableError + ignore_unavailable ? [] : raise + end.freeze, + T::Array[T.any(Formula, Cask::Cask)], ) - @to_formulae_and_casks[only] ||= downcased_unique_named.flat_map do |name| - options = { warn: }.compact - load_formula_or_cask(name, only:, method:, **options) - rescue FormulaUnreadableError, FormulaClassUnavailableError, - TapFormulaUnreadableError, TapFormulaClassUnavailableError, - Cask::CaskUnreadableError - # Need to rescue before `*UnavailableError` (superclass of this) - # The formula/cask was found, but there's a problem with its implementation - raise - rescue NoSuchKegError, FormulaUnavailableError, Cask::CaskUnavailableError, FormulaOrCaskUnavailableError - ignore_unavailable ? [] : raise - end.freeze if uniq @to_formulae_and_casks.fetch(only).uniq.freeze @@ -120,7 +123,7 @@ module Homebrew def to_formulae_and_casks_with_taps formulae_and_casks_with_taps, formulae_and_casks_without_taps = to_formulae_and_casks.partition do |formula_or_cask| - T.cast(formula_or_cask, T.any(Formula, Cask::Cask)).tap&.installed? + formula_or_cask.tap&.installed? end return formulae_and_casks_with_taps if formulae_and_casks_without_taps.empty? diff --git a/Library/Homebrew/cmd/--cache.rb b/Library/Homebrew/cmd/--cache.rb index 63939f8816..7cdbab67b7 100644 --- a/Library/Homebrew/cmd/--cache.rb +++ b/Library/Homebrew/cmd/--cache.rb @@ -81,7 +81,7 @@ module Homebrew end end else - raise "Invalid type: #{formula_or_cask.class}" + T.absurd(formula_or_cask) end end end diff --git a/Library/Homebrew/cmd/deps.rb b/Library/Homebrew/cmd/deps.rb index 583e7621f1..5aeb277dbc 100644 --- a/Library/Homebrew/cmd/deps.rb +++ b/Library/Homebrew/cmd/deps.rb @@ -221,8 +221,8 @@ module Homebrew deps = dependency.runtime_dependencies if @use_runtime_dependencies if recursive - deps ||= recursive_includes(Dependency, dependency, includes, ignores) - reqs = recursive_includes(Requirement, dependency, includes, ignores) + deps ||= recursive_dep_includes(dependency, includes, ignores) + reqs = recursive_req_includes(dependency, includes, ignores) else deps ||= select_includes(dependency.deps, ignores, includes) reqs = select_includes(dependency.requirements, ignores, includes) diff --git a/Library/Homebrew/cmd/desc.rb b/Library/Homebrew/cmd/desc.rb index 9b87d7b6aa..76632b0c1a 100644 --- a/Library/Homebrew/cmd/desc.rb +++ b/Library/Homebrew/cmd/desc.rb @@ -65,7 +65,7 @@ module Homebrew description = formula_or_cask.desc.presence || Formatter.warning("[no description]") desc[formula_or_cask.full_name] = "(#{formula_or_cask.name.join(", ")}) #{description}" else - raise TypeError, "Unsupported formula_or_cask type: #{formula_or_cask.class}" + T.absurd(formula_or_cask) end end Descriptions.new(desc).print diff --git a/Library/Homebrew/cmd/home.rb b/Library/Homebrew/cmd/home.rb index 59ac2b6c5c..128213caeb 100644 --- a/Library/Homebrew/cmd/home.rb +++ b/Library/Homebrew/cmd/home.rb @@ -29,8 +29,7 @@ module Homebrew return end - # to_formulae_and_casks is typed to possibly return Kegs (but won't without explicitly asking) - formulae_or_casks = T.cast(args.named.to_formulae_and_casks, T::Array[T.any(Formula, Cask::Cask)]) + formulae_or_casks = args.named.to_formulae_and_casks homepages = formulae_or_casks.map do |formula_or_cask| puts "Opening homepage for #{name_of(formula_or_cask)}" formula_or_cask.homepage diff --git a/Library/Homebrew/cmd/list.rb b/Library/Homebrew/cmd/list.rb index 538baed2c1..695718585d 100644 --- a/Library/Homebrew/cmd/list.rb +++ b/Library/Homebrew/cmd/list.rb @@ -99,9 +99,7 @@ module Homebrew else args.named.to_formulae_and_casks(only: :cask, method: :resolve) end - # The cast is because `Keg`` does not define `full_name` - full_cask_names = T.cast(cask_names, T::Array[T.any(Formula, Cask::Cask)]) - .map(&:full_name).sort(&tap_and_name_comparison) + full_cask_names = cask_names.map(&:full_name).sort(&tap_and_name_comparison) full_cask_names = Formatter.columns(full_cask_names) unless args.public_send(:"1?") puts full_cask_names if full_cask_names.present? end diff --git a/Library/Homebrew/cmd/uses.rb b/Library/Homebrew/cmd/uses.rb index 10d5328d45..b2334025af 100644 --- a/Library/Homebrew/cmd/uses.rb +++ b/Library/Homebrew/cmd/uses.rb @@ -94,7 +94,7 @@ module Homebrew sig { params(use_runtime_dependents: T::Boolean, used_formulae: T::Array[T.any(Formula, UnavailableFormula)]) - .returns(T::Array[Formula]) + .returns(T::Array[T.any(Formula, CaskDependent)]) } def intersection_of_dependents(use_runtime_dependents, used_formulae) recursive = args.recursive? @@ -150,26 +150,30 @@ module Homebrew sig { params( - dependents: T::Array[Formula], used_formulae: T::Array[T.any(Formula, UnavailableFormula)], - recursive: T::Boolean, includes: T::Array[Symbol], ignores: T::Array[Symbol] - ).returns( - T::Array[Formula], - ) + dependents: T::Array[T.any(Formula, CaskDependent)], + used_formulae: T::Array[T.any(Formula, UnavailableFormula)], + recursive: T::Boolean, + includes: T::Array[Symbol], + ignores: T::Array[Symbol], + ).returns(T::Array[T.any(Formula, CaskDependent)]) } def select_used_dependents(dependents, used_formulae, recursive, includes, ignores) dependents.select do |d| deps = if recursive - recursive_includes(Dependency, d, includes, ignores) + recursive_dep_includes(d, includes, ignores) else select_includes(d.deps, ignores, includes) end used_formulae.all? do |ff| deps.any? do |dep| - match = begin + match = case dep + when Dependency dep.to_formula.full_name == ff.full_name if dep.name.include?("/") - rescue + when CaskDependent, Formula nil + else + T.absurd(dep) end next match unless match.nil? diff --git a/Library/Homebrew/dependencies.rb b/Library/Homebrew/dependencies.rb index 354b12745e..3e8bd125e8 100644 --- a/Library/Homebrew/dependencies.rb +++ b/Library/Homebrew/dependencies.rb @@ -39,11 +39,6 @@ class Dependencies < SimpleDelegator def inspect "#<#{self.class.name}: #{__getobj__}>" end - - sig { returns(T::Array[Dependency]) } - def to_a - __getobj__.to_a - end end # A collection of requirements. diff --git a/Library/Homebrew/dependencies.rbi b/Library/Homebrew/dependencies.rbi index ea20b01d7e..c1327a6086 100644 --- a/Library/Homebrew/dependencies.rbi +++ b/Library/Homebrew/dependencies.rbi @@ -1,13 +1,24 @@ # typed: strict class Dependencies < SimpleDelegator + include Enumerable include Kernel + # This is a workaround to enable `alias eql? ==` # @see https://github.com/sorbet/sorbet/issues/2378#issuecomment-569474238 sig { params(other: BasicObject).returns(T::Boolean) } def ==(other); end + + sig { params(blk: T.proc.params(arg0: Dependency).void).returns(T.self_type) } + sig { returns(T::Enumerator[Dependency]) } + def each(&blk); end end class Requirements < SimpleDelegator + include Enumerable include Kernel + + sig { params(blk: T.proc.params(arg0: Requirement).void).returns(T.self_type) } + sig { returns(T::Enumerator[Requirement]) } + def each(&blk); end end diff --git a/Library/Homebrew/dependencies_helpers.rb b/Library/Homebrew/dependencies_helpers.rb index 0c4276f707..8c14980623 100644 --- a/Library/Homebrew/dependencies_helpers.rb +++ b/Library/Homebrew/dependencies_helpers.rb @@ -1,14 +1,10 @@ -# typed: true # rubocop:todo Sorbet/StrictSigil +# typed: strict # frozen_string_literal: true require "cask_dependent" # Helper functions for dependencies. module DependenciesHelpers - extend T::Helpers - - requires_ancestor { Kernel } - def args_includes_ignores(args) includes = [:required?, :recommended?] # included by default includes << :implicit? if args.include_implicit? @@ -23,9 +19,35 @@ module DependenciesHelpers [includes, ignores] end - def recursive_includes(klass, root_dependent, includes, ignores) - raise ArgumentError, "Invalid class argument: #{klass}" if klass != Dependency && klass != Requirement + sig { + params(root_dependent: T.any(Formula, CaskDependent), includes: T::Array[Symbol], ignores: T::Array[Symbol]) + .returns(T::Array[Dependency]) + } + def recursive_dep_includes(root_dependent, includes, ignores) + # The use of T.unsafe is recommended by the Sorbet docs: + # https://sorbet.org/docs/overloads#multiple-methods-but-sharing-a-common-implementation + T.unsafe(recursive_includes(Dependency, root_dependent, includes, ignores)) + end + sig { + params(root_dependent: T.any(Formula, CaskDependent), includes: T::Array[Symbol], ignores: T::Array[Symbol]) + .returns(Requirements) + } + def recursive_req_includes(root_dependent, includes, ignores) + # The use of T.unsafe is recommended by the Sorbet docs: + # https://sorbet.org/docs/overloads#multiple-methods-but-sharing-a-common-implementation + T.unsafe(recursive_includes(Requirement, root_dependent, includes, ignores)) + end + + sig { + params( + klass: T.any(T.class_of(Dependency), T.class_of(Requirement)), + root_dependent: T.any(Formula, CaskDependent), + includes: T::Array[Symbol], + ignores: T::Array[Symbol], + ).returns(T.any(T::Array[Dependency], Requirements)) + } + def recursive_includes(klass, root_dependent, includes, ignores) cache_key = "recursive_includes_#{includes}_#{ignores}" klass.expand(root_dependent, cache_key:) do |dependent, dep| @@ -43,6 +65,11 @@ module DependenciesHelpers end end + sig { + params(dependables: T::Array[T.any(Formula, CaskDependent)], ignores: T::Array[Symbol], + includes: T::Array[Symbol]) + .returns(T::Array[T.any(Formula, CaskDependent)]) + } def select_includes(dependables, ignores, includes) dependables.select do |dep| next false if ignores.any? { |ignore| dep.public_send(ignore) } @@ -51,6 +78,9 @@ module DependenciesHelpers end end + sig { + params(formulae_or_casks: T::Array[T.any(Formula, Cask::Cask)]).returns(T::Array[T.any(Formula, CaskDependent)]) + } def dependents(formulae_or_casks) formulae_or_casks.map do |formula_or_cask| if formula_or_cask.is_a?(Formula) @@ -60,5 +90,4 @@ module DependenciesHelpers end end end - module_function :dependents end diff --git a/Library/Homebrew/dependencies_helpers.rbi b/Library/Homebrew/dependencies_helpers.rbi new file mode 100644 index 0000000000..8ee3283fab --- /dev/null +++ b/Library/Homebrew/dependencies_helpers.rbi @@ -0,0 +1,12 @@ +# typed: strict + +module DependenciesHelpers + include Kernel + + # This sig is in an RBI to avoid both circular dependencies and unnecessary requires + sig { + params(args: T.any(Homebrew::Cmd::Deps::Args, Homebrew::Cmd::Uses::Args)) + .returns([T::Array[Symbol], T::Array[Symbol]]) + } + def args_includes_ignores(args); end +end diff --git a/Library/Homebrew/test/dependencies_helpers_spec.rb b/Library/Homebrew/test/dependencies_helpers_spec.rb index bae4998fe1..75dc834bd4 100644 --- a/Library/Homebrew/test/dependencies_helpers_spec.rb +++ b/Library/Homebrew/test/dependencies_helpers_spec.rb @@ -35,7 +35,7 @@ RSpec.describe DependenciesHelpers do :any_version_installed?, ] - dependents = described_class.dependents([foo, foo_cask, bar, bar_cask]) + dependents = Class.new.extend(described_class).dependents([foo, foo_cask, bar, bar_cask]) dependents.each do |dependent| methods.each do |method| From ff7f70d8b6ea1016d0038c399cd1f34915c546a4 Mon Sep 17 00:00:00 2001 From: Douglas Eichelberger Date: Sun, 16 Feb 2025 13:11:22 -0800 Subject: [PATCH 076/322] Fix select_includes sig --- Library/Homebrew/cmd/uses.rb | 2 +- Library/Homebrew/dependencies.rbi | 8 ++++++++ Library/Homebrew/dependencies_helpers.rb | 4 ++-- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/Library/Homebrew/cmd/uses.rb b/Library/Homebrew/cmd/uses.rb index b2334025af..6583a4c45b 100644 --- a/Library/Homebrew/cmd/uses.rb +++ b/Library/Homebrew/cmd/uses.rb @@ -170,7 +170,7 @@ module Homebrew match = case dep when Dependency dep.to_formula.full_name == ff.full_name if dep.name.include?("/") - when CaskDependent, Formula + when Requirement nil else T.absurd(dep) diff --git a/Library/Homebrew/dependencies.rbi b/Library/Homebrew/dependencies.rbi index c1327a6086..29a8508c06 100644 --- a/Library/Homebrew/dependencies.rbi +++ b/Library/Homebrew/dependencies.rbi @@ -12,6 +12,10 @@ class Dependencies < SimpleDelegator sig { params(blk: T.proc.params(arg0: Dependency).void).returns(T.self_type) } sig { returns(T::Enumerator[Dependency]) } def each(&blk); end + + sig { params(blk: T.proc.params(arg0: Dependency).returns(T::Boolean)).returns(T::Array[Dependency]) } + sig { returns(T::Enumerator[Dependency]) } + def select(&blk); end end class Requirements < SimpleDelegator @@ -21,4 +25,8 @@ class Requirements < SimpleDelegator sig { params(blk: T.proc.params(arg0: Requirement).void).returns(T.self_type) } sig { returns(T::Enumerator[Requirement]) } def each(&blk); end + + sig { params(blk: T.proc.params(arg0: Requirement).returns(T::Boolean)).returns(T::Array[Requirement]) } + sig { returns(T::Enumerator[Requirement]) } + def select(&blk); end end diff --git a/Library/Homebrew/dependencies_helpers.rb b/Library/Homebrew/dependencies_helpers.rb index 8c14980623..b274eb6c30 100644 --- a/Library/Homebrew/dependencies_helpers.rb +++ b/Library/Homebrew/dependencies_helpers.rb @@ -66,9 +66,9 @@ module DependenciesHelpers end sig { - params(dependables: T::Array[T.any(Formula, CaskDependent)], ignores: T::Array[Symbol], + params(dependables: T.any(Dependencies, Requirements), ignores: T::Array[Symbol], includes: T::Array[Symbol]) - .returns(T::Array[T.any(Formula, CaskDependent)]) + .returns(T::Array[T.any(Dependency, Requirement)]) } def select_includes(dependables, ignores, includes) dependables.select do |dep| From 6b56c2ee5f14fc139ff6884223e288f8685f24dd Mon Sep 17 00:00:00 2001 From: Douglas Eichelberger Date: Sun, 16 Feb 2025 15:41:57 -0800 Subject: [PATCH 077/322] Revert to_formulae_and_casks sig change --- Library/Homebrew/cli/named_args.rb | 33 +++++++++++------------- Library/Homebrew/cmd/--cache.rb | 2 +- Library/Homebrew/cmd/desc.rb | 2 +- Library/Homebrew/cmd/home.rb | 3 ++- Library/Homebrew/cmd/list.rb | 4 ++- Library/Homebrew/dependencies_helpers.rb | 10 ++++--- 6 files changed, 28 insertions(+), 26 deletions(-) diff --git a/Library/Homebrew/cli/named_args.rb b/Library/Homebrew/cli/named_args.rb index 2620ec1ccb..f74719babb 100644 --- a/Library/Homebrew/cli/named_args.rb +++ b/Library/Homebrew/cli/named_args.rb @@ -70,29 +70,26 @@ module Homebrew method: T.nilable(Symbol), uniq: T::Boolean, warn: T::Boolean, - ).returns(T::Array[T.any(Formula, Cask::Cask)]) + ).returns(T::Array[T.any(Formula, Keg, Cask::Cask)]) } def to_formulae_and_casks( only: parent.only_formula_or_cask, ignore_unavailable: false, method: nil, uniq: true, warn: false ) @to_formulae_and_casks ||= T.let( - {}, T.nilable(T::Hash[T.nilable(Symbol), T::Array[T.any(Formula, Cask::Cask)]]) - ) - @to_formulae_and_casks[only] ||= T.cast( - downcased_unique_named.flat_map do |name| - options = { warn: }.compact - load_formula_or_cask(name, only:, method:, **options) - rescue FormulaUnreadableError, FormulaClassUnavailableError, - TapFormulaUnreadableError, TapFormulaClassUnavailableError, - Cask::CaskUnreadableError - # Need to rescue before `*UnavailableError` (superclass of this) - # The formula/cask was found, but there's a problem with its implementation - raise - rescue NoSuchKegError, FormulaUnavailableError, Cask::CaskUnavailableError, FormulaOrCaskUnavailableError - ignore_unavailable ? [] : raise - end.freeze, - T::Array[T.any(Formula, Cask::Cask)], + {}, T.nilable(T::Hash[T.nilable(Symbol), T::Array[T.any(Formula, Keg, Cask::Cask)]]) ) + @to_formulae_and_casks[only] ||= downcased_unique_named.flat_map do |name| + options = { warn: }.compact + load_formula_or_cask(name, only:, method:, **options) + rescue FormulaUnreadableError, FormulaClassUnavailableError, + TapFormulaUnreadableError, TapFormulaClassUnavailableError, + Cask::CaskUnreadableError + # Need to rescue before `*UnavailableError` (superclass of this) + # The formula/cask was found, but there's a problem with its implementation + raise + rescue NoSuchKegError, FormulaUnavailableError, Cask::CaskUnavailableError, FormulaOrCaskUnavailableError + ignore_unavailable ? [] : raise + end.freeze if uniq @to_formulae_and_casks.fetch(only).uniq.freeze @@ -123,7 +120,7 @@ module Homebrew def to_formulae_and_casks_with_taps formulae_and_casks_with_taps, formulae_and_casks_without_taps = to_formulae_and_casks.partition do |formula_or_cask| - formula_or_cask.tap&.installed? + T.cast(formula_or_cask, T.any(Formula, Cask::Cask)).tap&.installed? end return formulae_and_casks_with_taps if formulae_and_casks_without_taps.empty? diff --git a/Library/Homebrew/cmd/--cache.rb b/Library/Homebrew/cmd/--cache.rb index 7cdbab67b7..63939f8816 100644 --- a/Library/Homebrew/cmd/--cache.rb +++ b/Library/Homebrew/cmd/--cache.rb @@ -81,7 +81,7 @@ module Homebrew end end else - T.absurd(formula_or_cask) + raise "Invalid type: #{formula_or_cask.class}" end end end diff --git a/Library/Homebrew/cmd/desc.rb b/Library/Homebrew/cmd/desc.rb index 76632b0c1a..9b87d7b6aa 100644 --- a/Library/Homebrew/cmd/desc.rb +++ b/Library/Homebrew/cmd/desc.rb @@ -65,7 +65,7 @@ module Homebrew description = formula_or_cask.desc.presence || Formatter.warning("[no description]") desc[formula_or_cask.full_name] = "(#{formula_or_cask.name.join(", ")}) #{description}" else - T.absurd(formula_or_cask) + raise TypeError, "Unsupported formula_or_cask type: #{formula_or_cask.class}" end end Descriptions.new(desc).print diff --git a/Library/Homebrew/cmd/home.rb b/Library/Homebrew/cmd/home.rb index 128213caeb..59ac2b6c5c 100644 --- a/Library/Homebrew/cmd/home.rb +++ b/Library/Homebrew/cmd/home.rb @@ -29,7 +29,8 @@ module Homebrew return end - formulae_or_casks = args.named.to_formulae_and_casks + # to_formulae_and_casks is typed to possibly return Kegs (but won't without explicitly asking) + formulae_or_casks = T.cast(args.named.to_formulae_and_casks, T::Array[T.any(Formula, Cask::Cask)]) homepages = formulae_or_casks.map do |formula_or_cask| puts "Opening homepage for #{name_of(formula_or_cask)}" formula_or_cask.homepage diff --git a/Library/Homebrew/cmd/list.rb b/Library/Homebrew/cmd/list.rb index 695718585d..538baed2c1 100644 --- a/Library/Homebrew/cmd/list.rb +++ b/Library/Homebrew/cmd/list.rb @@ -99,7 +99,9 @@ module Homebrew else args.named.to_formulae_and_casks(only: :cask, method: :resolve) end - full_cask_names = cask_names.map(&:full_name).sort(&tap_and_name_comparison) + # The cast is because `Keg`` does not define `full_name` + full_cask_names = T.cast(cask_names, T::Array[T.any(Formula, Cask::Cask)]) + .map(&:full_name).sort(&tap_and_name_comparison) full_cask_names = Formatter.columns(full_cask_names) unless args.public_send(:"1?") puts full_cask_names if full_cask_names.present? end diff --git a/Library/Homebrew/dependencies_helpers.rb b/Library/Homebrew/dependencies_helpers.rb index b274eb6c30..afeea62b11 100644 --- a/Library/Homebrew/dependencies_helpers.rb +++ b/Library/Homebrew/dependencies_helpers.rb @@ -79,14 +79,16 @@ module DependenciesHelpers end sig { - params(formulae_or_casks: T::Array[T.any(Formula, Cask::Cask)]).returns(T::Array[T.any(Formula, CaskDependent)]) + params(formulae_or_casks: T::Array[T.any(Formula, Keg, Cask::Cask)]) + .returns(T::Array[T.any(Formula, CaskDependent)]) } def dependents(formulae_or_casks) formulae_or_casks.map do |formula_or_cask| - if formula_or_cask.is_a?(Formula) - formula_or_cask + case formula_or_cask + when Formula then formula_or_cask + when Cask::Cask then CaskDependent.new(formula_or_cask) else - CaskDependent.new(formula_or_cask) + raise TypeError, "Unsupported type: #{formula_or_cask.class}" end end end From b2ca64b207813b1d85cfc92d80df5d1344b5ad48 Mon Sep 17 00:00:00 2001 From: Sean Molenaar Date: Sun, 19 Jan 2025 16:36:37 +0100 Subject: [PATCH 078/322] feat: allow linux blocks in casks --- Library/Homebrew/cask/dsl.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/cask/dsl.rb b/Library/Homebrew/cask/dsl.rb index 434159b57a..823415cc85 100644 --- a/Library/Homebrew/cask/dsl.rb +++ b/Library/Homebrew/cask/dsl.rb @@ -106,7 +106,7 @@ module Cask ]).freeze extend Attrable - include OnSystem::MacOSOnly + include OnSystem::MacOSAndLinux attr_reader :cask, :token, :deprecation_date, :deprecation_reason, :deprecation_replacement, :disable_date, :disable_reason, :disable_replacement, :on_system_block_min_os From 6de67b6c45ec482a500f1a89e4c23cacea6ef5ad Mon Sep 17 00:00:00 2001 From: Sean Molenaar Date: Sun, 19 Jan 2025 16:01:52 +0000 Subject: [PATCH 079/322] fix: set correct inheritance for moved artifact --- Library/Homebrew/extend/os/linux/cask/artifact/moved.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/extend/os/linux/cask/artifact/moved.rb b/Library/Homebrew/extend/os/linux/cask/artifact/moved.rb index 3f6c420b47..03928272d6 100644 --- a/Library/Homebrew/extend/os/linux/cask/artifact/moved.rb +++ b/Library/Homebrew/extend/os/linux/cask/artifact/moved.rb @@ -20,4 +20,4 @@ module OS end end -Cask::Artifact::Moved.prepend(OS::Linux::Cask::Config) +Cask::Artifact::Moved.prepend(OS::Linux::Cask::Artifact::Moved) From 975fe8a83fd57a8d8e790ec6fb10c2f13f705d02 Mon Sep 17 00:00:00 2001 From: Sean Molenaar Date: Sun, 19 Jan 2025 16:15:19 +0000 Subject: [PATCH 080/322] feat: allow cask binaries on linux --- Library/Homebrew/cask/artifact/symlinked.rb | 14 ++++----- Library/Homebrew/cask/dsl.rb | 28 ++++++++++++++--- Library/Homebrew/extend/on_system.rbi | 3 ++ .../extend/os/cask/artifact/symlinked.rb | 5 ++++ .../os/linux/cask/artifact/symlinked.rb | 26 ++++++++++++++++ .../extend/os/linux/cask/installer.rb | 3 ++ .../extend/os/mac/cask/artifact/symlinked.rb | 30 +++++++++++++++++++ 7 files changed, 96 insertions(+), 13 deletions(-) create mode 100644 Library/Homebrew/extend/os/cask/artifact/symlinked.rb create mode 100644 Library/Homebrew/extend/os/linux/cask/artifact/symlinked.rb create mode 100644 Library/Homebrew/extend/os/mac/cask/artifact/symlinked.rb diff --git a/Library/Homebrew/cask/artifact/symlinked.rb b/Library/Homebrew/cask/artifact/symlinked.rb index 170ecc5367..3ed0f956b6 100644 --- a/Library/Homebrew/cask/artifact/symlinked.rb +++ b/Library/Homebrew/cask/artifact/symlinked.rb @@ -62,7 +62,7 @@ module Cask end ohai "Linking #{self.class.english_name} '#{source.basename}' to '#{target}'" - create_filesystem_link(command:) + create_filesystem_link(command) end def unlink(command: nil, **) @@ -72,14 +72,10 @@ module Cask Utils.gain_permissions_remove(target, command:) end - def create_filesystem_link(command: nil) - Utils.gain_permissions_mkpath(target.dirname, command:) - - command.run! "/bin/ln", args: ["-h", "-f", "-s", "--", source, target], - sudo: !target.dirname.writable? - - add_altname_metadata(source, target.basename, command:) - end + sig { params(command: T.class_of(SystemCommand)).void } + def create_filesystem_link(command); end end end end + +require "extend/os/cask/artifact/symlinked" diff --git a/Library/Homebrew/cask/dsl.rb b/Library/Homebrew/cask/dsl.rb index 823415cc85..6ca8db2860 100644 --- a/Library/Homebrew/cask/dsl.rb +++ b/Library/Homebrew/cask/dsl.rb @@ -311,17 +311,18 @@ module Cask # # ```ruby # sha256 arm: "7bdb497080ffafdfd8cc94d8c62b004af1be9599e865e5555e456e2681e150ca", - # intel: "b3c1c2442480a0219b9e05cf91d03385858c20f04b764ec08a3fa83d1b27e7b2" + # intel: "b3c1c2442480a0219b9e05cf91d03385858c20f04b764ec08a3fa83d1b27e7b2" + # linux: "1a2aee7f1ddc999993d4d7d42a150c5e602bc17281678050b8ed79a0500cc90f" # ``` # # @api public - def sha256(arg = nil, arm: nil, intel: nil) + def sha256(arg = nil, arm: nil, intel: nil, linux: nil) should_return = arg.nil? && arm.nil? && intel.nil? set_unique_stanza(:sha256, should_return) do - @on_system_blocks_exist = true if arm.present? || intel.present? + @on_system_blocks_exist = true if arm.present? || intel.present? || linux.present? - val = arg || on_arch_conditional(arm:, intel:) + val = arg || on_system_conditional(macos: on_arch_conditional(arm:, intel:), linux:) case val when :no_check val @@ -352,6 +353,25 @@ module Cask end end + # Sets the cask's os strings. + # + # ### Example + # + # ```ruby + # os macos: "darwin", linux: "tux" + # ``` + # + # @api public + def os(macos: nil, linux: nil) + should_return = macos.nil? && linux.nil? + + set_unique_stanza(:os, should_return) do + @on_system_blocks_exist = true + + on_system_conditional(macos:, linux:) + end + end + # Declare dependencies and requirements for a cask. # # NOTE: Multiple dependencies can be specified. diff --git a/Library/Homebrew/extend/on_system.rbi b/Library/Homebrew/extend/on_system.rbi index c80492017b..dd0b178347 100644 --- a/Library/Homebrew/extend/on_system.rbi +++ b/Library/Homebrew/extend/on_system.rbi @@ -20,4 +20,7 @@ module OnSystem::MacOSAndLinux .returns(T.type_parameter(:U)) } def on_macos(&block); end + + sig { params(arm: T.nilable(String), intel: T.nilable(String)).returns(T.nilable(String)) } + def on_arch_conditional(arm: nil, intel: nil); end end diff --git a/Library/Homebrew/extend/os/cask/artifact/symlinked.rb b/Library/Homebrew/extend/os/cask/artifact/symlinked.rb new file mode 100644 index 0000000000..e9df4618bd --- /dev/null +++ b/Library/Homebrew/extend/os/cask/artifact/symlinked.rb @@ -0,0 +1,5 @@ +# typed: strict +# frozen_string_literal: true + +require "extend/os/mac/cask/artifact/symlinked" if OS.mac? +require "extend/os/linux/cask/artifact/symlinked" if OS.linux? diff --git a/Library/Homebrew/extend/os/linux/cask/artifact/symlinked.rb b/Library/Homebrew/extend/os/linux/cask/artifact/symlinked.rb new file mode 100644 index 0000000000..3d8d78f597 --- /dev/null +++ b/Library/Homebrew/extend/os/linux/cask/artifact/symlinked.rb @@ -0,0 +1,26 @@ +# typed: strict +# frozen_string_literal: true + +module OS + module Linux + module Cask + module Artifact + module Symlinked + extend T::Helpers + + requires_ancestor { ::Cask::Artifact::Symlinked } + + sig { params(command: T.class_of(SystemCommand)).void } + def create_filesystem_link(command) + ::Cask::Utils.gain_permissions_mkpath(target.dirname, command:) + + command.run! "/bin/ln", args: ["--no-dereference", "--force", "--symbolic", source, target], + sudo: !target.dirname.writable? + end + end + end + end + end +end + +Cask::Artifact::Symlinked.prepend(OS::Linux::Cask::Artifact::Symlinked) diff --git a/Library/Homebrew/extend/os/linux/cask/installer.rb b/Library/Homebrew/extend/os/linux/cask/installer.rb index 76ac45eb7f..5add7aae64 100644 --- a/Library/Homebrew/extend/os/linux/cask/installer.rb +++ b/Library/Homebrew/extend/os/linux/cask/installer.rb @@ -15,6 +15,9 @@ module OS def check_stanza_os_requirements return if artifacts.all?(::Cask::Artifact::Font) + install_artifacts = artifacts.reject { |artifact| artifact.instance_of?(::Cask::Artifact::Zap) } + return if install_artifacts.all?(::Cask::Artifact::Binary) + raise ::Cask::CaskError, "macOS is required for this software." end end diff --git a/Library/Homebrew/extend/os/mac/cask/artifact/symlinked.rb b/Library/Homebrew/extend/os/mac/cask/artifact/symlinked.rb new file mode 100644 index 0000000000..90dbe68c64 --- /dev/null +++ b/Library/Homebrew/extend/os/mac/cask/artifact/symlinked.rb @@ -0,0 +1,30 @@ +# typed: strict +# frozen_string_literal: true + +require "cask/macos" + +module OS + module Mac + module Cask + module Artifact + module Symlinked + extend T::Helpers + + requires_ancestor { ::Cask::Artifact::Symlinked } + + sig { params(command: T.class_of(SystemCommand)).void } + def create_filesystem_link(command) + ::Cask::Utils.gain_permissions_mkpath(target.dirname, command:) + + command.run! "/bin/ln", args: ["-h", "-f", "-s", "--", source, target], + sudo: !target.dirname.writable? + + add_altname_metadata(source, target.basename, command:) + end + end + end + end + end +end + +Cask::Artifact::Symlinked.prepend(OS::Mac::Cask::Artifact::Symlinked) From 27a2d94c48356fbc681d91562a4c62733c16a9f5 Mon Sep 17 00:00:00 2001 From: Sean Molenaar Date: Tue, 28 Jan 2025 17:30:53 +0000 Subject: [PATCH 081/322] feat: allow zap on linux --- .../cask/artifact/abstract_uninstall.rb | 6 ++++- .../os/cask/artifact/abstract_uninstall.rb | 5 ++++ .../linux/cask/artifact/abstract_uninstall.rb | 23 +++++++++++++++++ .../mac/cask/artifact/abstract_uninstall.rb | 25 +++++++++++++++++++ 4 files changed, 58 insertions(+), 1 deletion(-) create mode 100644 Library/Homebrew/extend/os/cask/artifact/abstract_uninstall.rb create mode 100644 Library/Homebrew/extend/os/linux/cask/artifact/abstract_uninstall.rb create mode 100644 Library/Homebrew/extend/os/mac/cask/artifact/abstract_uninstall.rb diff --git a/Library/Homebrew/cask/artifact/abstract_uninstall.rb b/Library/Homebrew/cask/artifact/abstract_uninstall.rb index 2242b7961a..0c9edb929d 100644 --- a/Library/Homebrew/cask/artifact/abstract_uninstall.rb +++ b/Library/Homebrew/cask/artifact/abstract_uninstall.rb @@ -411,7 +411,7 @@ module Cask next end - if MacOS.undeletable?(resolved_path) + if undeletable?(resolved_path) opoo "Skipping #{Formatter.identifier(action)} for undeletable path '#{path}'." next end @@ -538,6 +538,10 @@ module Cask recursive_rmdir(*resolved_paths, **kwargs) end end + + def undeletable?(target); end end end end + +require "extend/os/cask/artifact/abstract_uninstall" diff --git a/Library/Homebrew/extend/os/cask/artifact/abstract_uninstall.rb b/Library/Homebrew/extend/os/cask/artifact/abstract_uninstall.rb new file mode 100644 index 0000000000..9298c18f91 --- /dev/null +++ b/Library/Homebrew/extend/os/cask/artifact/abstract_uninstall.rb @@ -0,0 +1,5 @@ +# typed: strict +# frozen_string_literal: true + +require "extend/os/mac/cask/artifact/abstract_uninstall" if OS.mac? +require "extend/os/linux/cask/artifact/abstract_uninstall" if OS.linux? diff --git a/Library/Homebrew/extend/os/linux/cask/artifact/abstract_uninstall.rb b/Library/Homebrew/extend/os/linux/cask/artifact/abstract_uninstall.rb new file mode 100644 index 0000000000..761fc2bc03 --- /dev/null +++ b/Library/Homebrew/extend/os/linux/cask/artifact/abstract_uninstall.rb @@ -0,0 +1,23 @@ +# typed: strict +# frozen_string_literal: true + +module OS + module Linux + module Cask + module Artifact + module AbstractUninstall + extend T::Helpers + + requires_ancestor { ::Cask::Artifact::AbstractUninstall } + + sig { params(target: Pathname).returns(T::Boolean) } + def undeletable?(target) + !target.parent.writable? + end + end + end + end + end +end + +Cask::Artifact::AbstractUninstall.prepend(OS::Linux::Cask::Artifact::AbstractUninstall) diff --git a/Library/Homebrew/extend/os/mac/cask/artifact/abstract_uninstall.rb b/Library/Homebrew/extend/os/mac/cask/artifact/abstract_uninstall.rb new file mode 100644 index 0000000000..2871527d17 --- /dev/null +++ b/Library/Homebrew/extend/os/mac/cask/artifact/abstract_uninstall.rb @@ -0,0 +1,25 @@ +# typed: strict +# frozen_string_literal: true + +require "cask/macos" + +module OS + module Mac + module Cask + module Artifact + module AbstractUninstall + extend T::Helpers + + requires_ancestor { ::Cask::Artifact::AbstractUninstall } + + sig { params(target: Pathname).returns(T::Boolean) } + def undeletable?(target) + MacOS.undeletable?(target) + end + end + end + end + end +end + +Cask::Artifact::AbstractUninstall.prepend(OS::Mac::Cask::Artifact::AbstractUninstall) From a28fde1a8c99c7a2e753868c1a8c2921f023a9bf Mon Sep 17 00:00:00 2001 From: Sean Molenaar Date: Tue, 28 Jan 2025 17:44:48 +0000 Subject: [PATCH 082/322] fix sha256 on linux --- Library/Homebrew/cask/dsl.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/cask/dsl.rb b/Library/Homebrew/cask/dsl.rb index 6ca8db2860..b602ee5cd8 100644 --- a/Library/Homebrew/cask/dsl.rb +++ b/Library/Homebrew/cask/dsl.rb @@ -317,7 +317,7 @@ module Cask # # @api public def sha256(arg = nil, arm: nil, intel: nil, linux: nil) - should_return = arg.nil? && arm.nil? && intel.nil? + should_return = arg.nil? && arm.nil? && intel.nil? && linux.nil? set_unique_stanza(:sha256, should_return) do @on_system_blocks_exist = true if arm.present? || intel.present? || linux.present? From f874603a21ea5ea5c77790db27a9e2bd72a66679 Mon Sep 17 00:00:00 2001 From: Rylan Polster Date: Wed, 5 Feb 2025 10:26:50 -0500 Subject: [PATCH 083/322] Add implicit macOS dependency to casks without explicit `depends_on` stanza --- Library/Homebrew/cask/cask.rb | 1 + Library/Homebrew/cask/dsl.rb | 7 +++++++ .../Homebrew/test/support/fixtures/cask/everything.json | 7 ++++++- 3 files changed, 14 insertions(+), 1 deletion(-) diff --git a/Library/Homebrew/cask/cask.rb b/Library/Homebrew/cask/cask.rb index 7eba153bdf..0bbe88cc10 100644 --- a/Library/Homebrew/cask/cask.rb +++ b/Library/Homebrew/cask/cask.rb @@ -114,6 +114,7 @@ module Cask return unless @block @dsl.instance_eval(&@block) + @dsl.add_implicit_macos_dependency @dsl.language_eval end diff --git a/Library/Homebrew/cask/dsl.rb b/Library/Homebrew/cask/dsl.rb index b602ee5cd8..d6c5d4ab12 100644 --- a/Library/Homebrew/cask/dsl.rb +++ b/Library/Homebrew/cask/dsl.rb @@ -390,6 +390,13 @@ module Cask @depends_on end + # @api private + def add_implicit_macos_dependency + return if @depends_on.present? && @depends_on.macos.present? + + depends_on macos: ">= :#{MacOSVersion::SYMBOLS.key MacOSVersion::SYMBOLS.values.min}" + end + # Declare conflicts that keep a cask from installing or working correctly. # # @api public diff --git a/Library/Homebrew/test/support/fixtures/cask/everything.json b/Library/Homebrew/test/support/fixtures/cask/everything.json index 9bc4c6af19..b247e82a05 100644 --- a/Library/Homebrew/test/support/fixtures/cask/everything.json +++ b/Library/Homebrew/test/support/fixtures/cask/everything.json @@ -76,7 +76,12 @@ "depends_on": { "cask": [ "something" - ] + ], + "macos": { + ">=": [ + "10.11" + ] + } }, "conflicts_with": { "formula": [ From 22ed703c2b7fd9eacab60532164420174b77b131 Mon Sep 17 00:00:00 2001 From: Sean Molenaar Date: Sun, 9 Feb 2025 12:18:48 +0100 Subject: [PATCH 084/322] fix: use bottle naming for sha256 Signed-off-by: Sean Molenaar --- Library/Homebrew/cask/dsl.rb | 37 +++++++++++++++++++++++++++++------- 1 file changed, 30 insertions(+), 7 deletions(-) diff --git a/Library/Homebrew/cask/dsl.rb b/Library/Homebrew/cask/dsl.rb index d6c5d4ab12..b01b707083 100644 --- a/Library/Homebrew/cask/dsl.rb +++ b/Library/Homebrew/cask/dsl.rb @@ -310,19 +310,36 @@ module Cask # For architecture-dependent downloads: # # ```ruby - # sha256 arm: "7bdb497080ffafdfd8cc94d8c62b004af1be9599e865e5555e456e2681e150ca", - # intel: "b3c1c2442480a0219b9e05cf91d03385858c20f04b764ec08a3fa83d1b27e7b2" - # linux: "1a2aee7f1ddc999993d4d7d42a150c5e602bc17281678050b8ed79a0500cc90f" + # sha256 arm: "7bdb497080ffafdfd8cc94d8c62b004af1be9599e865e5555e456e2681e150ca", + # x86_64: "b3c1c2442480a0219b9e05cf91d03385858c20f04b764ec08a3fa83d1b27e7b2" + # x86_64_linux: "1a2aee7f1ddc999993d4d7d42a150c5e602bc17281678050b8ed79a0500cc90f" + # arm64_linux: "bd766af7e692afceb727a6f88e24e6e68d9882aeb3e8348412f6c03d96537c75" # ``` # # @api public - def sha256(arg = nil, arm: nil, intel: nil, linux: nil) - should_return = arg.nil? && arm.nil? && intel.nil? && linux.nil? + sig { + params( + arg: T.nilable(T.any(String, Symbol)), + arm: T.nilable(String), + intel: T.nilable(String), + x86_64: T.nilable(String), + x86_64_linux: T.nilable(String), + arm64_linux: T.nilable(String), + ).returns(T.nilable(T.any(Symbol, Checksum))) + } + def sha256(arg = nil, arm: nil, intel: nil, x86_64: nil, x86_64_linux: nil, arm64_linux: nil) + should_return = arg.nil? && arm.nil? && (intel.nil? || x86_64.nil?) && x86_64_linux.nil? && arm64_linux.nil? + x86_64 ||= intel if intel.present? && x86_64.nil? set_unique_stanza(:sha256, should_return) do - @on_system_blocks_exist = true if arm.present? || intel.present? || linux.present? + if arm.present? || x86_64.present? || x86_64_linux.present? || arm64_linux.present? + @on_system_blocks_exist = true + end - val = arg || on_system_conditional(macos: on_arch_conditional(arm:, intel:), linux:) + val = arg || on_system_conditional( + macos: on_arch_conditional(arm:, intel: x86_64), + linux: on_arch_conditional(arm: arm64_linux, intel: x86_64_linux), + ) case val when :no_check val @@ -362,6 +379,12 @@ module Cask # ``` # # @api public + sig { + params( + macos: T.nilable(String), + linux: T.nilable(String), + ).returns(T.nilable(String)) + } def os(macos: nil, linux: nil) should_return = macos.nil? && linux.nil? From 8b49291ed0c5bc2bdf97cdb62a6664096f11b554 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 17 Feb 2025 18:15:30 +0000 Subject: [PATCH 085/322] build(deps): bump the sorbet group in /Library/Homebrew with 4 updates Bumps the sorbet group in /Library/Homebrew with 4 updates: [sorbet-static-and-runtime](https://github.com/sorbet/sorbet), [sorbet-runtime](https://github.com/sorbet/sorbet), [sorbet](https://github.com/sorbet/sorbet) and [sorbet-static](https://github.com/sorbet/sorbet). Updates `sorbet-static-and-runtime` from 0.5.11826 to 0.5.11834 - [Release notes](https://github.com/sorbet/sorbet/releases) - [Commits](https://github.com/sorbet/sorbet/commits) Updates `sorbet-runtime` from 0.5.11826 to 0.5.11834 - [Release notes](https://github.com/sorbet/sorbet/releases) - [Commits](https://github.com/sorbet/sorbet/commits) Updates `sorbet` from 0.5.11826 to 0.5.11834 - [Release notes](https://github.com/sorbet/sorbet/releases) - [Commits](https://github.com/sorbet/sorbet/commits) Updates `sorbet-static` from 0.5.11826 to 0.5.11834 - [Release notes](https://github.com/sorbet/sorbet/releases) - [Commits](https://github.com/sorbet/sorbet/commits) --- updated-dependencies: - dependency-name: sorbet-static-and-runtime dependency-type: direct:development update-type: version-update:semver-patch dependency-group: sorbet - dependency-name: sorbet-runtime dependency-type: direct:production update-type: version-update:semver-patch dependency-group: sorbet - dependency-name: sorbet dependency-type: indirect update-type: version-update:semver-patch dependency-group: sorbet - dependency-name: sorbet-static dependency-type: indirect update-type: version-update:semver-patch dependency-group: sorbet ... Signed-off-by: dependabot[bot] --- Library/Homebrew/Gemfile.lock | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/Library/Homebrew/Gemfile.lock b/Library/Homebrew/Gemfile.lock index 43a71762b0..84e289c9e8 100644 --- a/Library/Homebrew/Gemfile.lock +++ b/Library/Homebrew/Gemfile.lock @@ -114,15 +114,15 @@ GEM simplecov-html (0.13.1) simplecov_json_formatter (0.1.4) simpleidn (0.2.3) - sorbet (0.5.11826) - sorbet-static (= 0.5.11826) - sorbet-runtime (0.5.11826) - sorbet-static (0.5.11826-aarch64-linux) - sorbet-static (0.5.11826-universal-darwin) - sorbet-static (0.5.11826-x86_64-linux) - sorbet-static-and-runtime (0.5.11826) - sorbet (= 0.5.11826) - sorbet-runtime (= 0.5.11826) + sorbet (0.5.11834) + sorbet-static (= 0.5.11834) + sorbet-runtime (0.5.11834) + sorbet-static (0.5.11834-aarch64-linux) + sorbet-static (0.5.11834-universal-darwin) + sorbet-static (0.5.11834-x86_64-linux) + sorbet-static-and-runtime (0.5.11834) + sorbet (= 0.5.11834) + sorbet-runtime (= 0.5.11834) spoom (1.5.3) erubi (>= 1.10.0) prism (>= 0.28.0) From de82e4187c63942ecabfd40e97ed79a84808bb2d Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 17 Feb 2025 18:15:43 +0000 Subject: [PATCH 086/322] build(deps-dev): bump rexml from 3.4.0 to 3.4.1 in /Library/Homebrew Bumps [rexml](https://github.com/ruby/rexml) from 3.4.0 to 3.4.1. - [Release notes](https://github.com/ruby/rexml/releases) - [Changelog](https://github.com/ruby/rexml/blob/master/NEWS.md) - [Commits](https://github.com/ruby/rexml/compare/v3.4.0...v3.4.1) --- updated-dependencies: - dependency-name: rexml dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- Library/Homebrew/Gemfile.lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/Gemfile.lock b/Library/Homebrew/Gemfile.lock index 43a71762b0..463a09f40c 100644 --- a/Library/Homebrew/Gemfile.lock +++ b/Library/Homebrew/Gemfile.lock @@ -53,7 +53,7 @@ GEM logger redcarpet (3.6.0) regexp_parser (2.10.0) - rexml (3.4.0) + rexml (3.4.1) rspec (3.13.0) rspec-core (~> 3.13.0) rspec-expectations (~> 3.13.0) From 4ffd5021dc698aa37e0f033ea1237c3746d2aa5f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 17 Feb 2025 18:16:04 +0000 Subject: [PATCH 087/322] build(deps-dev): bump ruby-lsp in /Library/Homebrew Bumps [ruby-lsp](https://github.com/Shopify/ruby-lsp) from 0.23.10 to 0.23.11. - [Release notes](https://github.com/Shopify/ruby-lsp/releases) - [Commits](https://github.com/Shopify/ruby-lsp/compare/v0.23.10...v0.23.11) --- updated-dependencies: - dependency-name: ruby-lsp dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- Library/Homebrew/Gemfile.lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/Gemfile.lock b/Library/Homebrew/Gemfile.lock index 43a71762b0..f74980b4a8 100644 --- a/Library/Homebrew/Gemfile.lock +++ b/Library/Homebrew/Gemfile.lock @@ -96,7 +96,7 @@ GEM rubocop (~> 1.61) rubocop-sorbet (0.8.7) rubocop (>= 1) - ruby-lsp (0.23.10) + ruby-lsp (0.23.11) language_server-protocol (~> 3.17.0) prism (>= 1.2, < 2.0) rbs (>= 3, < 4) From f919f639cb252eadff51120c2caa09b908175aa4 Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Mon, 17 Feb 2025 18:23:50 +0000 Subject: [PATCH 088/322] brew vendor-gems: commit updates. --- Library/Homebrew/Gemfile.lock | 1 + Library/Homebrew/vendor/bundle/bundler/setup.rb | 12 ++++++------ .../lib/sorbet-runtime.rb | 0 .../lib/types/_types.rb | 0 .../lib/types/abstract_utils.rb | 0 .../lib/types/boolean.rb | 0 .../lib/types/compatibility_patches.rb | 0 .../lib/types/configuration.rb | 0 .../lib/types/enum.rb | 0 .../lib/types/generic.rb | 0 .../lib/types/helpers.rb | 0 .../lib/types/non_forcing_constants.rb | 0 .../lib/types/private/abstract/data.rb | 0 .../lib/types/private/abstract/declare.rb | 0 .../lib/types/private/abstract/hooks.rb | 0 .../lib/types/private/abstract/validate.rb | 0 .../lib/types/private/caller_utils.rb | 0 .../lib/types/private/casts.rb | 0 .../lib/types/private/class_utils.rb | 0 .../lib/types/private/decl_state.rb | 0 .../lib/types/private/final.rb | 0 .../lib/types/private/methods/_methods.rb | 0 .../lib/types/private/methods/call_validation.rb | 0 .../lib/types/private/methods/call_validation_2_6.rb | 0 .../lib/types/private/methods/call_validation_2_7.rb | 0 .../lib/types/private/methods/decl_builder.rb | 0 .../lib/types/private/methods/modes.rb | 0 .../lib/types/private/methods/signature.rb | 0 .../types/private/methods/signature_validation.rb | 0 .../lib/types/private/mixins/mixins.rb | 0 .../lib/types/private/retry.rb | 0 .../lib/types/private/runtime_levels.rb | 0 .../lib/types/private/sealed.rb | 0 .../lib/types/private/types/not_typed.rb | 0 .../lib/types/private/types/simple_pair_union.rb | 0 .../lib/types/private/types/string_holder.rb | 0 .../lib/types/private/types/type_alias.rb | 0 .../lib/types/private/types/void.rb | 0 .../lib/types/props/_props.rb | 0 .../lib/types/props/constructor.rb | 0 .../lib/types/props/custom_type.rb | 0 .../lib/types/props/decorator.rb | 0 .../lib/types/props/errors.rb | 0 .../lib/types/props/generated_code_validation.rb | 0 .../types/props/has_lazily_specialized_methods.rb | 0 .../lib/types/props/optional.rb | 0 .../lib/types/props/plugin.rb | 0 .../lib/types/props/pretty_printable.rb | 0 .../lib/types/props/private/apply_default.rb | 0 .../types/props/private/deserializer_generator.rb | 0 .../lib/types/props/private/parser.rb | 0 .../lib/types/props/private/serde_transform.rb | 0 .../lib/types/props/private/serializer_generator.rb | 0 .../lib/types/props/private/setter_factory.rb | 0 .../lib/types/props/serializable.rb | 0 .../lib/types/props/type_validation.rb | 0 .../lib/types/props/utils.rb | 0 .../lib/types/props/weak_constructor.rb | 0 .../lib/types/sig.rb | 0 .../lib/types/struct.rb | 0 .../lib/types/types/anything.rb | 0 .../lib/types/types/attached_class.rb | 0 .../lib/types/types/base.rb | 0 .../lib/types/types/class_of.rb | 0 .../lib/types/types/enum.rb | 0 .../lib/types/types/fixed_array.rb | 0 .../lib/types/types/fixed_hash.rb | 0 .../lib/types/types/intersection.rb | 0 .../lib/types/types/noreturn.rb | 0 .../lib/types/types/proc.rb | 0 .../lib/types/types/self_type.rb | 0 .../lib/types/types/simple.rb | 0 .../lib/types/types/t_enum.rb | 0 .../lib/types/types/type_member.rb | 0 .../lib/types/types/type_parameter.rb | 0 .../lib/types/types/type_template.rb | 0 .../lib/types/types/type_variable.rb | 0 .../lib/types/types/typed_array.rb | 0 .../lib/types/types/typed_class.rb | 0 .../lib/types/types/typed_enumerable.rb | 0 .../lib/types/types/typed_enumerator.rb | 0 .../lib/types/types/typed_enumerator_chain.rb | 0 .../lib/types/types/typed_enumerator_lazy.rb | 0 .../lib/types/types/typed_hash.rb | 0 .../lib/types/types/typed_range.rb | 0 .../lib/types/types/typed_set.rb | 0 .../lib/types/types/union.rb | 0 .../lib/types/types/untyped.rb | 0 .../lib/types/utils.rb | 0 89 files changed, 7 insertions(+), 6 deletions(-) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11826 => sorbet-runtime-0.5.11834}/lib/sorbet-runtime.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11826 => sorbet-runtime-0.5.11834}/lib/types/_types.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11826 => sorbet-runtime-0.5.11834}/lib/types/abstract_utils.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11826 => sorbet-runtime-0.5.11834}/lib/types/boolean.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11826 => sorbet-runtime-0.5.11834}/lib/types/compatibility_patches.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11826 => sorbet-runtime-0.5.11834}/lib/types/configuration.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11826 => sorbet-runtime-0.5.11834}/lib/types/enum.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11826 => sorbet-runtime-0.5.11834}/lib/types/generic.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11826 => sorbet-runtime-0.5.11834}/lib/types/helpers.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11826 => sorbet-runtime-0.5.11834}/lib/types/non_forcing_constants.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11826 => sorbet-runtime-0.5.11834}/lib/types/private/abstract/data.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11826 => sorbet-runtime-0.5.11834}/lib/types/private/abstract/declare.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11826 => sorbet-runtime-0.5.11834}/lib/types/private/abstract/hooks.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11826 => sorbet-runtime-0.5.11834}/lib/types/private/abstract/validate.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11826 => sorbet-runtime-0.5.11834}/lib/types/private/caller_utils.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11826 => sorbet-runtime-0.5.11834}/lib/types/private/casts.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11826 => sorbet-runtime-0.5.11834}/lib/types/private/class_utils.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11826 => sorbet-runtime-0.5.11834}/lib/types/private/decl_state.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11826 => sorbet-runtime-0.5.11834}/lib/types/private/final.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11826 => sorbet-runtime-0.5.11834}/lib/types/private/methods/_methods.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11826 => sorbet-runtime-0.5.11834}/lib/types/private/methods/call_validation.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11826 => sorbet-runtime-0.5.11834}/lib/types/private/methods/call_validation_2_6.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11826 => sorbet-runtime-0.5.11834}/lib/types/private/methods/call_validation_2_7.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11826 => sorbet-runtime-0.5.11834}/lib/types/private/methods/decl_builder.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11826 => sorbet-runtime-0.5.11834}/lib/types/private/methods/modes.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11826 => sorbet-runtime-0.5.11834}/lib/types/private/methods/signature.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11826 => sorbet-runtime-0.5.11834}/lib/types/private/methods/signature_validation.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11826 => sorbet-runtime-0.5.11834}/lib/types/private/mixins/mixins.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11826 => sorbet-runtime-0.5.11834}/lib/types/private/retry.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11826 => sorbet-runtime-0.5.11834}/lib/types/private/runtime_levels.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11826 => sorbet-runtime-0.5.11834}/lib/types/private/sealed.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11826 => sorbet-runtime-0.5.11834}/lib/types/private/types/not_typed.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11826 => sorbet-runtime-0.5.11834}/lib/types/private/types/simple_pair_union.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11826 => sorbet-runtime-0.5.11834}/lib/types/private/types/string_holder.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11826 => sorbet-runtime-0.5.11834}/lib/types/private/types/type_alias.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11826 => sorbet-runtime-0.5.11834}/lib/types/private/types/void.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11826 => sorbet-runtime-0.5.11834}/lib/types/props/_props.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11826 => sorbet-runtime-0.5.11834}/lib/types/props/constructor.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11826 => sorbet-runtime-0.5.11834}/lib/types/props/custom_type.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11826 => sorbet-runtime-0.5.11834}/lib/types/props/decorator.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11826 => sorbet-runtime-0.5.11834}/lib/types/props/errors.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11826 => sorbet-runtime-0.5.11834}/lib/types/props/generated_code_validation.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11826 => sorbet-runtime-0.5.11834}/lib/types/props/has_lazily_specialized_methods.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11826 => sorbet-runtime-0.5.11834}/lib/types/props/optional.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11826 => sorbet-runtime-0.5.11834}/lib/types/props/plugin.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11826 => sorbet-runtime-0.5.11834}/lib/types/props/pretty_printable.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11826 => sorbet-runtime-0.5.11834}/lib/types/props/private/apply_default.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11826 => sorbet-runtime-0.5.11834}/lib/types/props/private/deserializer_generator.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11826 => sorbet-runtime-0.5.11834}/lib/types/props/private/parser.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11826 => sorbet-runtime-0.5.11834}/lib/types/props/private/serde_transform.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11826 => sorbet-runtime-0.5.11834}/lib/types/props/private/serializer_generator.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11826 => sorbet-runtime-0.5.11834}/lib/types/props/private/setter_factory.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11826 => sorbet-runtime-0.5.11834}/lib/types/props/serializable.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11826 => sorbet-runtime-0.5.11834}/lib/types/props/type_validation.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11826 => sorbet-runtime-0.5.11834}/lib/types/props/utils.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11826 => sorbet-runtime-0.5.11834}/lib/types/props/weak_constructor.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11826 => sorbet-runtime-0.5.11834}/lib/types/sig.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11826 => sorbet-runtime-0.5.11834}/lib/types/struct.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11826 => sorbet-runtime-0.5.11834}/lib/types/types/anything.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11826 => sorbet-runtime-0.5.11834}/lib/types/types/attached_class.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11826 => sorbet-runtime-0.5.11834}/lib/types/types/base.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11826 => sorbet-runtime-0.5.11834}/lib/types/types/class_of.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11826 => sorbet-runtime-0.5.11834}/lib/types/types/enum.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11826 => sorbet-runtime-0.5.11834}/lib/types/types/fixed_array.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11826 => sorbet-runtime-0.5.11834}/lib/types/types/fixed_hash.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11826 => sorbet-runtime-0.5.11834}/lib/types/types/intersection.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11826 => sorbet-runtime-0.5.11834}/lib/types/types/noreturn.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11826 => sorbet-runtime-0.5.11834}/lib/types/types/proc.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11826 => sorbet-runtime-0.5.11834}/lib/types/types/self_type.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11826 => sorbet-runtime-0.5.11834}/lib/types/types/simple.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11826 => sorbet-runtime-0.5.11834}/lib/types/types/t_enum.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11826 => sorbet-runtime-0.5.11834}/lib/types/types/type_member.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11826 => sorbet-runtime-0.5.11834}/lib/types/types/type_parameter.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11826 => sorbet-runtime-0.5.11834}/lib/types/types/type_template.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11826 => sorbet-runtime-0.5.11834}/lib/types/types/type_variable.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11826 => sorbet-runtime-0.5.11834}/lib/types/types/typed_array.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11826 => sorbet-runtime-0.5.11834}/lib/types/types/typed_class.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11826 => sorbet-runtime-0.5.11834}/lib/types/types/typed_enumerable.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11826 => sorbet-runtime-0.5.11834}/lib/types/types/typed_enumerator.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11826 => sorbet-runtime-0.5.11834}/lib/types/types/typed_enumerator_chain.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11826 => sorbet-runtime-0.5.11834}/lib/types/types/typed_enumerator_lazy.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11826 => sorbet-runtime-0.5.11834}/lib/types/types/typed_hash.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11826 => sorbet-runtime-0.5.11834}/lib/types/types/typed_range.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11826 => sorbet-runtime-0.5.11834}/lib/types/types/typed_set.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11826 => sorbet-runtime-0.5.11834}/lib/types/types/union.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11826 => sorbet-runtime-0.5.11834}/lib/types/types/untyped.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11826 => sorbet-runtime-0.5.11834}/lib/types/utils.rb (100%) diff --git a/Library/Homebrew/Gemfile.lock b/Library/Homebrew/Gemfile.lock index 84e289c9e8..0cdffc4a0e 100644 --- a/Library/Homebrew/Gemfile.lock +++ b/Library/Homebrew/Gemfile.lock @@ -153,6 +153,7 @@ GEM PLATFORMS aarch64-linux + arm-linux arm64-darwin x86_64-darwin x86_64-linux diff --git a/Library/Homebrew/vendor/bundle/bundler/setup.rb b/Library/Homebrew/vendor/bundle/bundler/setup.rb index f339e4b3d4..f93484dede 100644 --- a/Library/Homebrew/vendor/bundle/bundler/setup.rb +++ b/Library/Homebrew/vendor/bundle/bundler/setup.rb @@ -44,7 +44,7 @@ $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/bindata-2.5.0/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/coderay-1.1.3/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/concurrent-ruby-1.3.5/lib/concurrent-ruby") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/diff-lcs-1.5.1/lib") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/diff-lcs-1.6.0/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/docile-1.4.1/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/elftools-1.3.1/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/erubi-1.13.1/lib") @@ -57,7 +57,7 @@ $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rexml-3.4.0/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/kramdown-2.5.1/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/language_server-protocol-3.17.0.4/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/logger-1.6.5/lib") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/logger-1.6.6/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/method_source-1.1.0/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/minitest-5.25.4/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/netrc-0.11.0/lib") @@ -74,7 +74,7 @@ $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/extensions/arm64-darwin-20/#{Gem.extension_api_version}/pycall-1.5.2") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/pycall-1.5.2/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rainbow-3.1.1/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-runtime-0.5.11826/lib") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-runtime-0.5.11834/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rbi-0.2.4/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/extensions/arm64-darwin-20/#{Gem.extension_api_version}/rbs-3.8.1") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rbs-3.8.1/lib") @@ -106,9 +106,9 @@ $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/simplecov_json_formatter-0.1.4/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/simplecov-0.22.0/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/simplecov-cobertura-2.1.0/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-static-0.5.11826-universal-darwin/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-0.5.11826/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-static-and-runtime-0.5.11826/lib") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-static-0.5.11834-universal-darwin/lib") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-0.5.11834/lib") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-static-and-runtime-0.5.11834/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/thor-1.3.2/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/spoom-1.5.3/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/extensions/arm64-darwin-20/#{Gem.extension_api_version}/stackprof-0.2.27") diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/sorbet-runtime.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/sorbet-runtime.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/sorbet-runtime.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/sorbet-runtime.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/_types.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/_types.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/_types.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/_types.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/abstract_utils.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/abstract_utils.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/abstract_utils.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/abstract_utils.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/boolean.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/boolean.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/boolean.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/boolean.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/compatibility_patches.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/compatibility_patches.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/compatibility_patches.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/compatibility_patches.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/configuration.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/configuration.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/configuration.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/configuration.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/enum.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/enum.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/enum.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/enum.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/generic.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/generic.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/generic.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/generic.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/helpers.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/helpers.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/helpers.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/helpers.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/non_forcing_constants.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/non_forcing_constants.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/non_forcing_constants.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/non_forcing_constants.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/private/abstract/data.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/private/abstract/data.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/private/abstract/data.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/private/abstract/data.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/private/abstract/declare.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/private/abstract/declare.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/private/abstract/declare.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/private/abstract/declare.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/private/abstract/hooks.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/private/abstract/hooks.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/private/abstract/hooks.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/private/abstract/hooks.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/private/abstract/validate.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/private/abstract/validate.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/private/abstract/validate.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/private/abstract/validate.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/private/caller_utils.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/private/caller_utils.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/private/caller_utils.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/private/caller_utils.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/private/casts.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/private/casts.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/private/casts.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/private/casts.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/private/class_utils.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/private/class_utils.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/private/class_utils.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/private/class_utils.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/private/decl_state.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/private/decl_state.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/private/decl_state.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/private/decl_state.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/private/final.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/private/final.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/private/final.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/private/final.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/private/methods/_methods.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/private/methods/_methods.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/private/methods/_methods.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/private/methods/_methods.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/private/methods/call_validation.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/private/methods/call_validation.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/private/methods/call_validation.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/private/methods/call_validation.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/private/methods/call_validation_2_6.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/private/methods/call_validation_2_6.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/private/methods/call_validation_2_6.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/private/methods/call_validation_2_6.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/private/methods/call_validation_2_7.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/private/methods/call_validation_2_7.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/private/methods/call_validation_2_7.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/private/methods/call_validation_2_7.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/private/methods/decl_builder.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/private/methods/decl_builder.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/private/methods/decl_builder.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/private/methods/decl_builder.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/private/methods/modes.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/private/methods/modes.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/private/methods/modes.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/private/methods/modes.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/private/methods/signature.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/private/methods/signature.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/private/methods/signature.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/private/methods/signature.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/private/methods/signature_validation.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/private/methods/signature_validation.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/private/methods/signature_validation.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/private/methods/signature_validation.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/private/mixins/mixins.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/private/mixins/mixins.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/private/mixins/mixins.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/private/mixins/mixins.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/private/retry.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/private/retry.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/private/retry.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/private/retry.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/private/runtime_levels.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/private/runtime_levels.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/private/runtime_levels.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/private/runtime_levels.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/private/sealed.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/private/sealed.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/private/sealed.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/private/sealed.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/private/types/not_typed.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/private/types/not_typed.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/private/types/not_typed.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/private/types/not_typed.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/private/types/simple_pair_union.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/private/types/simple_pair_union.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/private/types/simple_pair_union.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/private/types/simple_pair_union.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/private/types/string_holder.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/private/types/string_holder.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/private/types/string_holder.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/private/types/string_holder.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/private/types/type_alias.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/private/types/type_alias.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/private/types/type_alias.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/private/types/type_alias.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/private/types/void.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/private/types/void.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/private/types/void.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/private/types/void.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/props/_props.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/props/_props.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/props/_props.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/props/_props.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/props/constructor.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/props/constructor.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/props/constructor.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/props/constructor.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/props/custom_type.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/props/custom_type.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/props/custom_type.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/props/custom_type.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/props/decorator.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/props/decorator.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/props/decorator.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/props/decorator.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/props/errors.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/props/errors.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/props/errors.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/props/errors.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/props/generated_code_validation.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/props/generated_code_validation.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/props/generated_code_validation.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/props/generated_code_validation.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/props/has_lazily_specialized_methods.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/props/has_lazily_specialized_methods.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/props/has_lazily_specialized_methods.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/props/has_lazily_specialized_methods.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/props/optional.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/props/optional.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/props/optional.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/props/optional.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/props/plugin.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/props/plugin.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/props/plugin.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/props/plugin.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/props/pretty_printable.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/props/pretty_printable.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/props/pretty_printable.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/props/pretty_printable.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/props/private/apply_default.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/props/private/apply_default.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/props/private/apply_default.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/props/private/apply_default.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/props/private/deserializer_generator.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/props/private/deserializer_generator.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/props/private/deserializer_generator.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/props/private/deserializer_generator.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/props/private/parser.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/props/private/parser.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/props/private/parser.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/props/private/parser.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/props/private/serde_transform.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/props/private/serde_transform.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/props/private/serde_transform.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/props/private/serde_transform.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/props/private/serializer_generator.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/props/private/serializer_generator.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/props/private/serializer_generator.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/props/private/serializer_generator.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/props/private/setter_factory.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/props/private/setter_factory.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/props/private/setter_factory.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/props/private/setter_factory.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/props/serializable.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/props/serializable.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/props/serializable.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/props/serializable.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/props/type_validation.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/props/type_validation.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/props/type_validation.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/props/type_validation.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/props/utils.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/props/utils.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/props/utils.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/props/utils.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/props/weak_constructor.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/props/weak_constructor.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/props/weak_constructor.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/props/weak_constructor.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/sig.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/sig.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/sig.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/sig.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/struct.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/struct.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/struct.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/struct.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/types/anything.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/types/anything.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/types/anything.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/types/anything.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/types/attached_class.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/types/attached_class.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/types/attached_class.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/types/attached_class.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/types/base.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/types/base.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/types/base.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/types/base.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/types/class_of.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/types/class_of.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/types/class_of.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/types/class_of.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/types/enum.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/types/enum.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/types/enum.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/types/enum.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/types/fixed_array.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/types/fixed_array.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/types/fixed_array.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/types/fixed_array.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/types/fixed_hash.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/types/fixed_hash.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/types/fixed_hash.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/types/fixed_hash.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/types/intersection.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/types/intersection.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/types/intersection.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/types/intersection.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/types/noreturn.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/types/noreturn.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/types/noreturn.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/types/noreturn.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/types/proc.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/types/proc.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/types/proc.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/types/proc.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/types/self_type.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/types/self_type.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/types/self_type.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/types/self_type.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/types/simple.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/types/simple.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/types/simple.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/types/simple.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/types/t_enum.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/types/t_enum.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/types/t_enum.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/types/t_enum.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/types/type_member.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/types/type_member.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/types/type_member.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/types/type_member.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/types/type_parameter.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/types/type_parameter.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/types/type_parameter.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/types/type_parameter.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/types/type_template.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/types/type_template.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/types/type_template.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/types/type_template.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/types/type_variable.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/types/type_variable.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/types/type_variable.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/types/type_variable.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/types/typed_array.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/types/typed_array.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/types/typed_array.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/types/typed_array.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/types/typed_class.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/types/typed_class.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/types/typed_class.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/types/typed_class.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/types/typed_enumerable.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/types/typed_enumerable.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/types/typed_enumerable.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/types/typed_enumerable.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/types/typed_enumerator.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/types/typed_enumerator.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/types/typed_enumerator.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/types/typed_enumerator.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/types/typed_enumerator_chain.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/types/typed_enumerator_chain.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/types/typed_enumerator_chain.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/types/typed_enumerator_chain.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/types/typed_enumerator_lazy.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/types/typed_enumerator_lazy.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/types/typed_enumerator_lazy.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/types/typed_enumerator_lazy.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/types/typed_hash.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/types/typed_hash.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/types/typed_hash.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/types/typed_hash.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/types/typed_range.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/types/typed_range.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/types/typed_range.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/types/typed_range.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/types/typed_set.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/types/typed_set.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/types/typed_set.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/types/typed_set.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/types/union.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/types/union.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/types/union.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/types/union.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/types/untyped.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/types/untyped.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/types/untyped.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/types/untyped.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/utils.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/utils.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11826/lib/types/utils.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/utils.rb From 1fb569d4e99df4ccc641f80faa5bbf9844db2122 Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Mon, 17 Feb 2025 18:24:00 +0000 Subject: [PATCH 089/322] brew vendor-gems: commit updates. --- Library/Homebrew/Gemfile.lock | 1 + Library/Homebrew/vendor/bundle/bundler/setup.rb | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Library/Homebrew/Gemfile.lock b/Library/Homebrew/Gemfile.lock index 463a09f40c..ee5ec4a30f 100644 --- a/Library/Homebrew/Gemfile.lock +++ b/Library/Homebrew/Gemfile.lock @@ -153,6 +153,7 @@ GEM PLATFORMS aarch64-linux + arm-linux arm64-darwin x86_64-darwin x86_64-linux diff --git a/Library/Homebrew/vendor/bundle/bundler/setup.rb b/Library/Homebrew/vendor/bundle/bundler/setup.rb index f339e4b3d4..b10f01d251 100644 --- a/Library/Homebrew/vendor/bundle/bundler/setup.rb +++ b/Library/Homebrew/vendor/bundle/bundler/setup.rb @@ -44,7 +44,7 @@ $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/bindata-2.5.0/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/coderay-1.1.3/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/concurrent-ruby-1.3.5/lib/concurrent-ruby") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/diff-lcs-1.5.1/lib") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/diff-lcs-1.6.0/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/docile-1.4.1/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/elftools-1.3.1/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/erubi-1.13.1/lib") @@ -54,10 +54,10 @@ $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/regexp_parser-2.10.0/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/simpleidn-0.2.3/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/json_schemer-2.4.0/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rexml-3.4.0/lib") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rexml-3.4.1/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/kramdown-2.5.1/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/language_server-protocol-3.17.0.4/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/logger-1.6.5/lib") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/logger-1.6.6/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/method_source-1.1.0/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/minitest-5.25.4/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/netrc-0.11.0/lib") From 234926132545e40677158dfaddc0c6c8f931a503 Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Mon, 17 Feb 2025 18:24:20 +0000 Subject: [PATCH 090/322] brew vendor-gems: commit updates. --- Library/Homebrew/Gemfile.lock | 1 + Library/Homebrew/vendor/bundle/bundler/setup.rb | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Library/Homebrew/Gemfile.lock b/Library/Homebrew/Gemfile.lock index f74980b4a8..ff7589b364 100644 --- a/Library/Homebrew/Gemfile.lock +++ b/Library/Homebrew/Gemfile.lock @@ -153,6 +153,7 @@ GEM PLATFORMS aarch64-linux + arm-linux arm64-darwin x86_64-darwin x86_64-linux diff --git a/Library/Homebrew/vendor/bundle/bundler/setup.rb b/Library/Homebrew/vendor/bundle/bundler/setup.rb index f339e4b3d4..e66c741cbc 100644 --- a/Library/Homebrew/vendor/bundle/bundler/setup.rb +++ b/Library/Homebrew/vendor/bundle/bundler/setup.rb @@ -44,7 +44,7 @@ $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/bindata-2.5.0/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/coderay-1.1.3/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/concurrent-ruby-1.3.5/lib/concurrent-ruby") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/diff-lcs-1.5.1/lib") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/diff-lcs-1.6.0/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/docile-1.4.1/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/elftools-1.3.1/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/erubi-1.13.1/lib") @@ -57,7 +57,7 @@ $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rexml-3.4.0/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/kramdown-2.5.1/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/language_server-protocol-3.17.0.4/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/logger-1.6.5/lib") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/logger-1.6.6/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/method_source-1.1.0/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/minitest-5.25.4/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/netrc-0.11.0/lib") @@ -98,7 +98,7 @@ $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rubocop-performance-1.23.1/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rubocop-rspec-3.4.0/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rubocop-sorbet-0.8.7/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/ruby-lsp-0.23.10/lib") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/ruby-lsp-0.23.11/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/ruby-macho-4.1.0/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/extensions/arm64-darwin-20/#{Gem.extension_api_version}/ruby-prof-1.7.1") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/ruby-prof-1.7.1/lib") From 41c5397609ccfb89d18e7f9b17de165526869bae Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Mon, 17 Feb 2025 18:24:29 +0000 Subject: [PATCH 091/322] Update RBI files for ruby-lsp. Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow. --- .../rbi/gems/{ruby-lsp@0.23.10.rbi => ruby-lsp@0.23.11.rbi} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename Library/Homebrew/sorbet/rbi/gems/{ruby-lsp@0.23.10.rbi => ruby-lsp@0.23.11.rbi} (100%) diff --git a/Library/Homebrew/sorbet/rbi/gems/ruby-lsp@0.23.10.rbi b/Library/Homebrew/sorbet/rbi/gems/ruby-lsp@0.23.11.rbi similarity index 100% rename from Library/Homebrew/sorbet/rbi/gems/ruby-lsp@0.23.10.rbi rename to Library/Homebrew/sorbet/rbi/gems/ruby-lsp@0.23.11.rbi From c3f1ec89a027d7b1f30055dafea097788424c2fc Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 17 Feb 2025 18:39:36 +0000 Subject: [PATCH 092/322] build(deps): bump actions/create-github-app-token from 1.11.3 to 1.11.5 Bumps [actions/create-github-app-token](https://github.com/actions/create-github-app-token) from 1.11.3 to 1.11.5. - [Release notes](https://github.com/actions/create-github-app-token/releases) - [Commits](https://github.com/actions/create-github-app-token/compare/67e27a7eb7db372a1c61a7f9bdab8699e9ee57f7...0d564482f06ca65fa9e77e2510873638c82206f2) --- updated-dependencies: - dependency-name: actions/create-github-app-token dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- .github/workflows/vendor-gems.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/vendor-gems.yml b/.github/workflows/vendor-gems.yml index e69cf92f41..9e4b32ca2b 100644 --- a/.github/workflows/vendor-gems.yml +++ b/.github/workflows/vendor-gems.yml @@ -92,7 +92,7 @@ jobs: fi - name: Generate push token - uses: actions/create-github-app-token@67e27a7eb7db372a1c61a7f9bdab8699e9ee57f7 # v1.11.3 + uses: actions/create-github-app-token@0d564482f06ca65fa9e77e2510873638c82206f2 # v1.11.5 id: app-token if: github.event_name == 'workflow_dispatch' with: From 0260efeca0aa8ab73dc3f4f83f820bcdd94b90ef Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 17 Feb 2025 18:39:42 +0000 Subject: [PATCH 093/322] build(deps): bump ruby/setup-ruby from 1.218.0 to 1.221.0 Bumps [ruby/setup-ruby](https://github.com/ruby/setup-ruby) from 1.218.0 to 1.221.0. - [Release notes](https://github.com/ruby/setup-ruby/releases) - [Changelog](https://github.com/ruby/setup-ruby/blob/master/release.rb) - [Commits](https://github.com/ruby/setup-ruby/compare/d781c1b4ed31764801bfae177617bb0446f5ef8d...32110d4e311bd8996b2a82bf2a43b714ccc91777) --- updated-dependencies: - dependency-name: ruby/setup-ruby dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- .github/workflows/docs.yml | 2 +- .github/workflows/rubydoc.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index f0269acf64..a44e31398e 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -53,7 +53,7 @@ jobs: run: vale docs/ - name: Install Ruby - uses: ruby/setup-ruby@d781c1b4ed31764801bfae177617bb0446f5ef8d # v1.218.0 + uses: ruby/setup-ruby@32110d4e311bd8996b2a82bf2a43b714ccc91777 # v1.221.0 with: bundler-cache: true working-directory: docs diff --git a/.github/workflows/rubydoc.yml b/.github/workflows/rubydoc.yml index 9580c363b1..bbf4fdbf5a 100644 --- a/.github/workflows/rubydoc.yml +++ b/.github/workflows/rubydoc.yml @@ -43,7 +43,7 @@ jobs: persist-credentials: false - name: Install Ruby - uses: ruby/setup-ruby@d781c1b4ed31764801bfae177617bb0446f5ef8d # v1.218.0 + uses: ruby/setup-ruby@32110d4e311bd8996b2a82bf2a43b714ccc91777 # v1.221.0 with: bundler-cache: true working-directory: rubydoc From a1b24c5675dd3927137494266000763089573633 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 17 Feb 2025 19:54:15 +0000 Subject: [PATCH 094/322] build(deps-dev): bump rubocop from 1.71.2 to 1.72.2 in /Library/Homebrew Bumps [rubocop](https://github.com/rubocop/rubocop) from 1.71.2 to 1.72.2. - [Release notes](https://github.com/rubocop/rubocop/releases) - [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md) - [Commits](https://github.com/rubocop/rubocop/compare/v1.71.2...v1.72.2) --- updated-dependencies: - dependency-name: rubocop dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- Library/Homebrew/Gemfile.lock | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Library/Homebrew/Gemfile.lock b/Library/Homebrew/Gemfile.lock index acd7560f41..2b245c9ef2 100644 --- a/Library/Homebrew/Gemfile.lock +++ b/Library/Homebrew/Gemfile.lock @@ -25,6 +25,7 @@ GEM kramdown (2.5.1) rexml (>= 3.3.9) language_server-protocol (3.17.0.4) + lint_roller (1.1.0) logger (1.6.6) method_source (1.1.0) minitest (5.25.4) @@ -75,9 +76,10 @@ GEM rspec-support (3.13.2) rspec_junit_formatter (0.6.0) rspec-core (>= 2, < 4, != 2.12.0) - rubocop (1.71.2) + rubocop (1.72.2) json (~> 2.3) - language_server-protocol (>= 3.17.0) + language_server-protocol (~> 3.17.0.2) + lint_roller (~> 1.1.0) parallel (~> 1.10) parser (>= 3.3.0.2) rainbow (>= 2.2.2, < 4.0) @@ -153,7 +155,6 @@ GEM PLATFORMS aarch64-linux - arm-linux arm64-darwin x86_64-darwin x86_64-linux From 8763fb6d292e707ffe0b91c3cd110da82a5bedde Mon Sep 17 00:00:00 2001 From: Douglas Eichelberger Date: Mon, 17 Feb 2025 18:34:18 -0800 Subject: [PATCH 095/322] Resolve rubocop violations --- Library/Homebrew/cask/artifact/relocated.rb | 1 + Library/Homebrew/cask/audit.rb | 3 +++ Library/Homebrew/cleaner.rb | 1 + Library/Homebrew/cmd/update-report.rb | 2 +- Library/Homebrew/compilers.rb | 1 + Library/Homebrew/dev-cmd/formula-analytics.rb | 2 +- .../extend/os/linux/dependency_collector.rb | 1 + Library/Homebrew/extend/os/mac/keg_relocate.rb | 1 + Library/Homebrew/github_packages.rb | 2 ++ Library/Homebrew/github_runner_matrix.rb | 13 +++++++++---- Library/Homebrew/linkage_cache_store.rb | 1 + Library/Homebrew/version.rb | 10 +++++----- 12 files changed, 27 insertions(+), 11 deletions(-) diff --git a/Library/Homebrew/cask/artifact/relocated.rb b/Library/Homebrew/cask/artifact/relocated.rb index c1b327a79d..dc01d74545 100644 --- a/Library/Homebrew/cask/artifact/relocated.rb +++ b/Library/Homebrew/cask/artifact/relocated.rb @@ -72,6 +72,7 @@ module Cask private ALT_NAME_ATTRIBUTE = "com.apple.metadata:kMDItemAlternateNames" + private_constant :ALT_NAME_ATTRIBUTE # Try to make the asset searchable under the target name. Spotlight # respects this attribute for many filetypes, but ignores it for App diff --git a/Library/Homebrew/cask/audit.rb b/Library/Homebrew/cask/audit.rb index cd243526d8..f59ff7bdd8 100644 --- a/Library/Homebrew/cask/audit.rb +++ b/Library/Homebrew/cask/audit.rb @@ -292,6 +292,7 @@ module Cask end LIVECHECK_REFERENCE_URL = "https://docs.brew.sh/Cask-Cookbook#stanza-livecheck" + private_constant :LIVECHECK_REFERENCE_URL sig { params(livecheck_result: T.any(NilClass, T::Boolean, Symbol)).void } def audit_hosting_with_livecheck(livecheck_result: audit_livecheck_version) @@ -317,6 +318,7 @@ module Cask end SOURCEFORGE_OSDN_REFERENCE_URL = "https://docs.brew.sh/Cask-Cookbook#sourceforgeosdn-urls" + private_constant :SOURCEFORGE_OSDN_REFERENCE_URL sig { void } def audit_download_url_format @@ -339,6 +341,7 @@ module Cask end VERIFIED_URL_REFERENCE_URL = "https://docs.brew.sh/Cask-Cookbook#when-url-and-homepage-domains-differ-add-verified" + private_constant :VERIFIED_URL_REFERENCE_URL sig { void } def audit_unnecessary_verified diff --git a/Library/Homebrew/cleaner.rb b/Library/Homebrew/cleaner.rb index 5df0e39b15..625c152c4c 100644 --- a/Library/Homebrew/cleaner.rb +++ b/Library/Homebrew/cleaner.rb @@ -114,6 +114,7 @@ class Cleaner # Arch & MacPorts amongst other packagers as well. The files are # created as part of installing any Perl module. PERL_BASENAMES = T.let(Set.new(%w[perllocal.pod .packlist]).freeze, T::Set[String]) + private_constant :PERL_BASENAMES # Clean a top-level (`bin`, `sbin`, `lib`) directory, recursively, by fixing file # permissions and removing .la files, unless the files (or parent diff --git a/Library/Homebrew/cmd/update-report.rb b/Library/Homebrew/cmd/update-report.rb index 8bc403d671..f9d34f4425 100644 --- a/Library/Homebrew/cmd/update-report.rb +++ b/Library/Homebrew/cmd/update-report.rb @@ -277,7 +277,7 @@ module Homebrew puts new_major_version, new_minor_version, new_patch_version = new_tag.split(".").map(&:to_i) - old_major_version, old_minor_version = (old_tag.split(".")[0, 2]).map(&:to_i) if old_tag.present? + old_major_version, old_minor_version = old_tag.split(".")[0, 2].map(&:to_i) if old_tag.present? if old_tag.blank? || new_major_version > old_major_version || new_minor_version > old_minor_version puts <<~EOS The #{new_major_version}.#{new_minor_version}.0 release notes are available on the Homebrew Blog: diff --git a/Library/Homebrew/compilers.rb b/Library/Homebrew/compilers.rb index 7097260fe4..fb3dd3e4e6 100644 --- a/Library/Homebrew/compilers.rb +++ b/Library/Homebrew/compilers.rb @@ -92,6 +92,7 @@ class CompilerFailure create(:clang), ], }.freeze + private_constant :COLLECTIONS end # Class for selecting a compiler for a formula. diff --git a/Library/Homebrew/dev-cmd/formula-analytics.rb b/Library/Homebrew/dev-cmd/formula-analytics.rb index 9d92285a57..3da14afbca 100755 --- a/Library/Homebrew/dev-cmd/formula-analytics.rb +++ b/Library/Homebrew/dev-cmd/formula-analytics.rb @@ -229,7 +229,7 @@ module Homebrew if record["prefix"] == "custom-prefix" "#{record["prefix"]} (#{record["os"]} #{record["arch"]})" else - (record["prefix"]).to_s + record["prefix"].to_s end when :os_versions format_os_version_dimension(record["os_name_and_version"]) diff --git a/Library/Homebrew/extend/os/linux/dependency_collector.rb b/Library/Homebrew/extend/os/linux/dependency_collector.rb index 2f7485eef2..8fe62f954c 100644 --- a/Library/Homebrew/extend/os/linux/dependency_collector.rb +++ b/Library/Homebrew/extend/os/linux/dependency_collector.rb @@ -33,6 +33,7 @@ module OS GLIBC = "glibc" GCC = OS::LINUX_PREFERRED_GCC_RUNTIME_FORMULA + private_constant :GLIBC, :GCC sig { void } def init_global_dep_tree_if_needed! diff --git a/Library/Homebrew/extend/os/mac/keg_relocate.rb b/Library/Homebrew/extend/os/mac/keg_relocate.rb index be6928a15a..5b56011faf 100644 --- a/Library/Homebrew/extend/os/mac/keg_relocate.rb +++ b/Library/Homebrew/extend/os/mac/keg_relocate.rb @@ -240,6 +240,7 @@ module OS private CELLAR_RX = %r{\A#{HOMEBREW_CELLAR}/(?[^/]+)/[^/]+} + private_constant :CELLAR_RX # Replace HOMEBREW_CELLAR references with HOMEBREW_PREFIX/opt references # if the Cellar reference is to a different keg. diff --git a/Library/Homebrew/github_packages.rb b/Library/Homebrew/github_packages.rb index 29c21e9661..8e9c37f5ca 100644 --- a/Library/Homebrew/github_packages.rb +++ b/Library/Homebrew/github_packages.rb @@ -136,6 +136,8 @@ class GitHubPackages IMAGE_MANIFEST_SCHEMA_URI = "https://opencontainers.org/schema/image/manifest" GITHUB_PACKAGE_TYPE = "homebrew_bottle" + private_constant :IMAGE_CONFIG_SCHEMA_URI, :IMAGE_INDEX_SCHEMA_URI, :IMAGE_LAYOUT_SCHEMA_URI, + :IMAGE_MANIFEST_SCHEMA_URI, :GITHUB_PACKAGE_TYPE def load_schemas! schema_uri("content-descriptor", diff --git a/Library/Homebrew/github_runner_matrix.rb b/Library/Homebrew/github_runner_matrix.rb index 492faf73c4..e8584f487a 100644 --- a/Library/Homebrew/github_runner_matrix.rb +++ b/Library/Homebrew/github_runner_matrix.rb @@ -5,6 +5,10 @@ require "test_runner_formula" require "github_runner" class GitHubRunnerMatrix + NEWEST_HOMEBREW_CORE_MACOS_RUNNER = :sequoia + OLDEST_HOMEBREW_CORE_MACOS_RUNNER = :ventura + NEWEST_HOMEBREW_CORE_INTEL_MACOS_RUNNER = :sonoma + RunnerSpec = T.type_alias { T.any(LinuxRunnerSpec, MacOSRunnerSpec) } private_constant :RunnerSpec @@ -77,6 +81,7 @@ class GitHubRunnerMatrix # https://docs.github.com/en/actions/hosting-your-own-runners/managing-self-hosted-runners/about-self-hosted-runners#usage-limits GITHUB_ACTIONS_LONG_TIMEOUT = 2160 # 36 hours GITHUB_ACTIONS_SHORT_TIMEOUT = 60 + private_constant :SELF_HOSTED_LINUX_RUNNER, :GITHUB_ACTIONS_LONG_TIMEOUT, :GITHUB_ACTIONS_SHORT_TIMEOUT sig { returns(LinuxRunnerSpec) } def linux_runner_spec @@ -97,6 +102,7 @@ class GitHubRunnerMatrix VALID_PLATFORMS = T.let([:macos, :linux].freeze, T::Array[Symbol]) VALID_ARCHES = T.let([:arm64, :x86_64].freeze, T::Array[Symbol]) + private_constant :VALID_PLATFORMS, :VALID_ARCHES sig { params( @@ -116,10 +122,6 @@ class GitHubRunnerMatrix runner.freeze end - NEWEST_HOMEBREW_CORE_MACOS_RUNNER = :sequoia - OLDEST_HOMEBREW_CORE_MACOS_RUNNER = :ventura - NEWEST_HOMEBREW_CORE_INTEL_MACOS_RUNNER = :sonoma - sig { params(macos_version: MacOSVersion).returns(T::Boolean) } def runner_enabled?(macos_version) macos_version <= NEWEST_HOMEBREW_CORE_MACOS_RUNNER && macos_version >= OLDEST_HOMEBREW_CORE_MACOS_RUNNER @@ -130,6 +132,9 @@ class GitHubRunnerMatrix NEWEST_GITHUB_ACTIONS_ARM_MACOS_RUNNER = :sequoia OLDEST_GITHUB_ACTIONS_ARM_MACOS_RUNNER = :sonoma GITHUB_ACTIONS_RUNNER_TIMEOUT = 360 + private_constant :NEWEST_GITHUB_ACTIONS_INTEL_MACOS_RUNNER, :OLDEST_GITHUB_ACTIONS_INTEL_MACOS_RUNNER, + :NEWEST_GITHUB_ACTIONS_ARM_MACOS_RUNNER, :OLDEST_GITHUB_ACTIONS_ARM_MACOS_RUNNER, + :GITHUB_ACTIONS_RUNNER_TIMEOUT sig { void } def generate_runners! diff --git a/Library/Homebrew/linkage_cache_store.rb b/Library/Homebrew/linkage_cache_store.rb index 5a9c251535..2fb45df2e9 100644 --- a/Library/Homebrew/linkage_cache_store.rb +++ b/Library/Homebrew/linkage_cache_store.rb @@ -65,6 +65,7 @@ class LinkageCacheStore < CacheStore private HASH_LINKAGE_TYPES = [:keg_files_dylibs].freeze + private_constant :HASH_LINKAGE_TYPES # @param type [Symbol] # @return [Hash] diff --git a/Library/Homebrew/version.rb b/Library/Homebrew/version.rb index 067acba83f..5fcfada799 100644 --- a/Library/Homebrew/version.rb +++ b/Library/Homebrew/version.rb @@ -500,6 +500,11 @@ class Version @detected_from_url = detected_from_url end + # Represents the absence of a version. + # + # NOTE: Constructor needs to called with an arbitrary non-empty version which is then set to `nil`. + NULL = T.let(Version.new("NULL").tap { |v| v.instance_variable_set(:@version, nil) }.freeze, Version) + sig { returns(T::Boolean) } def detected_from_url? @detected_from_url @@ -772,9 +777,4 @@ class Version def max(first, second) (first > second) ? first : second end - - # Represents the absence of a version. - # - # NOTE: Constructor needs to called with an arbitrary non-empty version which is then set to `nil`. - NULL = T.let(Version.new("NULL").tap { |v| v.instance_variable_set(:@version, nil) }.freeze, Version) end From bafce2a81f2d6219196f67fb1e51d4625be1f983 Mon Sep 17 00:00:00 2001 From: Douglas Eichelberger Date: Mon, 17 Feb 2025 18:40:32 -0800 Subject: [PATCH 096/322] Exclude lint_roller from git and rbi_generation --- .gitignore | 1 + Library/Homebrew/sorbet/tapioca/config.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/.gitignore b/.gitignore index 8823009012..0c7a0e9c0f 100644 --- a/.gitignore +++ b/.gitignore @@ -90,6 +90,7 @@ **/vendor/bundle/ruby/*/gems/json_schemer-*/ **/vendor/bundle/ruby/*/gems/kramdown-*/ **/vendor/bundle/ruby/*/gems/language_server-protocol-*/ +**/vendor/bundle/ruby/*/gems/lint_roller-*/ **/vendor/bundle/ruby/*/gems/logger-*/ **/vendor/bundle/ruby/*/gems/method_source-*/ **/vendor/bundle/ruby/*/gems/mini_portile2-*/ diff --git a/Library/Homebrew/sorbet/tapioca/config.yml b/Library/Homebrew/sorbet/tapioca/config.yml index d4e2f10cdd..6949cc1b0d 100644 --- a/Library/Homebrew/sorbet/tapioca/config.yml +++ b/Library/Homebrew/sorbet/tapioca/config.yml @@ -16,6 +16,7 @@ gem: - docile - hana - language_server-protocol + - lint_roller - netrc - parallel - public_suffix From fe6cd6744afb76c3cda4d732851239aebde40665 Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Tue, 18 Feb 2025 02:42:08 +0000 Subject: [PATCH 097/322] brew vendor-gems: commit updates. --- Library/Homebrew/Gemfile.lock | 1 + Library/Homebrew/vendor/bundle/bundler/setup.rb | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Library/Homebrew/Gemfile.lock b/Library/Homebrew/Gemfile.lock index 2b245c9ef2..da5fe4d38e 100644 --- a/Library/Homebrew/Gemfile.lock +++ b/Library/Homebrew/Gemfile.lock @@ -155,6 +155,7 @@ GEM PLATFORMS aarch64-linux + arm-linux arm64-darwin x86_64-darwin x86_64-linux diff --git a/Library/Homebrew/vendor/bundle/bundler/setup.rb b/Library/Homebrew/vendor/bundle/bundler/setup.rb index 0efd8b2f8b..2da344a34f 100644 --- a/Library/Homebrew/vendor/bundle/bundler/setup.rb +++ b/Library/Homebrew/vendor/bundle/bundler/setup.rb @@ -57,6 +57,7 @@ $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rexml-3.4.1/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/kramdown-2.5.1/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/language_server-protocol-3.17.0.4/lib") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/lint_roller-1.1.0/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/logger-1.6.6/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/method_source-1.1.0/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/minitest-5.25.4/lib") @@ -93,7 +94,7 @@ $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/ruby-progressbar-1.13.0/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/unicode-emoji-4.0.4/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/unicode-display_width-3.1.4/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rubocop-1.71.2/lib") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rubocop-1.72.2/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rubocop-md-1.2.4/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rubocop-performance-1.23.1/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rubocop-rspec-3.4.0/lib") From bd5ff8b41a0dacb59f701f8c25b2fbd3d91bcfec Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Tue, 18 Feb 2025 02:42:33 +0000 Subject: [PATCH 098/322] Update RBI files for rubocop. Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow. --- ...{rubocop@1.71.2.rbi => rubocop@1.72.2.rbi} | 1592 +++++++++++++---- 1 file changed, 1206 insertions(+), 386 deletions(-) rename Library/Homebrew/sorbet/rbi/gems/{rubocop@1.71.2.rbi => rubocop@1.72.2.rbi} (97%) diff --git a/Library/Homebrew/sorbet/rbi/gems/rubocop@1.71.2.rbi b/Library/Homebrew/sorbet/rbi/gems/rubocop@1.72.2.rbi similarity index 97% rename from Library/Homebrew/sorbet/rbi/gems/rubocop@1.71.2.rbi rename to Library/Homebrew/sorbet/rbi/gems/rubocop@1.72.2.rbi index 474f695686..71aef782b0 100644 --- a/Library/Homebrew/sorbet/rbi/gems/rubocop@1.71.2.rbi +++ b/Library/Homebrew/sorbet/rbi/gems/rubocop@1.72.2.rbi @@ -617,7 +617,7 @@ class RuboCop::CLI::Command::SuggestExtensions < ::RuboCop::CLI::Command::Base # @api private # - # source://rubocop//lib/rubocop/cli/command/suggest_extensions.rb#111 + # source://rubocop//lib/rubocop/cli/command/suggest_extensions.rb#117 def dependent_gems; end # @api private @@ -627,7 +627,7 @@ class RuboCop::CLI::Command::SuggestExtensions < ::RuboCop::CLI::Command::Base # @api private # - # source://rubocop//lib/rubocop/cli/command/suggest_extensions.rb#103 + # source://rubocop//lib/rubocop/cli/command/suggest_extensions.rb#109 def installed_and_not_loaded_extensions; end # @api private @@ -637,7 +637,7 @@ class RuboCop::CLI::Command::SuggestExtensions < ::RuboCop::CLI::Command::Base # @api private # - # source://rubocop//lib/rubocop/cli/command/suggest_extensions.rb#115 + # source://rubocop//lib/rubocop/cli/command/suggest_extensions.rb#121 def installed_gems; end # @api private @@ -647,7 +647,7 @@ class RuboCop::CLI::Command::SuggestExtensions < ::RuboCop::CLI::Command::Base # @api private # - # source://rubocop//lib/rubocop/cli/command/suggest_extensions.rb#107 + # source://rubocop//lib/rubocop/cli/command/suggest_extensions.rb#113 def lockfile; end # @api private @@ -672,7 +672,7 @@ class RuboCop::CLI::Command::SuggestExtensions < ::RuboCop::CLI::Command::Base # @api private # - # source://rubocop//lib/rubocop/cli/command/suggest_extensions.rb#119 + # source://rubocop//lib/rubocop/cli/command/suggest_extensions.rb#125 def puts(*args); end # @api private @@ -1048,15 +1048,15 @@ class RuboCop::Config # @return [Boolean] # - # source://rubocop//lib/rubocop/config.rb#179 + # source://rubocop//lib/rubocop/config.rb#183 def active_support_extensions_enabled?; end - # source://rubocop//lib/rubocop/config.rb#94 + # source://rubocop//lib/rubocop/config.rb#98 def add_excludes_from_higher_level(highest_config); end # @return [Boolean] # - # source://rubocop//lib/rubocop/config.rb#206 + # source://rubocop//lib/rubocop/config.rb#210 def allowed_camel_case_file?(file); end # Paths specified in configuration files starting with .rubocop are @@ -1065,32 +1065,32 @@ class RuboCop::Config # config/default.yml, for example, are not relative to RuboCop's config # directory since that wouldn't work. # - # source://rubocop//lib/rubocop/config.rb#250 + # source://rubocop//lib/rubocop/config.rb#254 def base_dir_for_path_parameters; end # @return [String, nil] # - # source://rubocop//lib/rubocop/config.rb#280 + # source://rubocop//lib/rubocop/config.rb#284 def bundler_lock_file_path; end - # source://rubocop//lib/rubocop/config.rb#52 + # source://rubocop//lib/rubocop/config.rb#56 def check; end # @api private # @return [Boolean] whether config for this badge has 'Include' or 'Exclude' keys # - # source://rubocop//lib/rubocop/config.rb#147 + # source://rubocop//lib/rubocop/config.rb#151 def clusivity_config_for_badge?(badge); end # @return [Boolean] # - # source://rubocop//lib/rubocop/config.rb#167 + # source://rubocop//lib/rubocop/config.rb#171 def cop_enabled?(name); end # source://rubocop-ast/1.38.0/lib/rubocop/ast/utilities/simple_forwardable.rb#9 def delete(*_arg0, **_arg1, &_arg2); end - # source://rubocop//lib/rubocop/config.rb#106 + # source://rubocop//lib/rubocop/config.rb#110 def deprecation_check; end # source://rubocop-ast/1.38.0/lib/rubocop/ast/utilities/simple_forwardable.rb#9 @@ -1098,7 +1098,7 @@ class RuboCop::Config # @return [Boolean] # - # source://rubocop//lib/rubocop/config.rb#171 + # source://rubocop//lib/rubocop/config.rb#175 def disabled_new_cops?; end # source://rubocop-ast/1.38.0/lib/rubocop/ast/utilities/simple_forwardable.rb#9 @@ -1109,7 +1109,7 @@ class RuboCop::Config # @return [Boolean] # - # source://rubocop//lib/rubocop/config.rb#175 + # source://rubocop//lib/rubocop/config.rb#179 def enabled_new_cops?; end # source://rubocop-ast/1.38.0/lib/rubocop/ast/utilities/simple_forwardable.rb#9 @@ -1117,22 +1117,22 @@ class RuboCop::Config # @return [Boolean] # - # source://rubocop//lib/rubocop/config.rb#228 + # source://rubocop//lib/rubocop/config.rb#232 def file_to_exclude?(file); end # @return [Boolean] # - # source://rubocop//lib/rubocop/config.rb#187 + # source://rubocop//lib/rubocop/config.rb#191 def file_to_include?(file); end - # source://rubocop//lib/rubocop/config.rb#163 + # source://rubocop//lib/rubocop/config.rb#167 def for_all_cops; end # Note: the 'Enabled' attribute is same as that returned by `for_cop` # # @return [Config] for the given cop merged with that of its department (if any) # - # source://rubocop//lib/rubocop/config.rb#133 + # source://rubocop//lib/rubocop/config.rb#137 def for_badge(badge); end # Note: the 'Enabled' attribute is calculated according to the department's @@ -1140,7 +1140,7 @@ class RuboCop::Config # # @return [Config] for the given cop / cop name. # - # source://rubocop//lib/rubocop/config.rb#120 + # source://rubocop//lib/rubocop/config.rb#124 def for_cop(cop); end # Note: the 'Enabled' attribute will be present only if specified @@ -1148,7 +1148,7 @@ class RuboCop::Config # # @return [Config] for the given department name. # - # source://rubocop//lib/rubocop/config.rb#158 + # source://rubocop//lib/rubocop/config.rb#162 def for_department(department_name); end # If the given cop is enabled, returns its configuration hash. @@ -1156,22 +1156,22 @@ class RuboCop::Config # # @return [Config, Hash] for the given cop / cop name. # - # source://rubocop//lib/rubocop/config.rb#127 + # source://rubocop//lib/rubocop/config.rb#131 def for_enabled_cop(cop); end # Returns target's locked gem versions (i.e. from Gemfile.lock or gems.locked) # - # source://rubocop//lib/rubocop/config.rb#305 + # source://rubocop//lib/rubocop/config.rb#309 def gem_versions_in_target; end - # source://rubocop//lib/rubocop/config.rb#309 + # source://rubocop//lib/rubocop/config.rb#313 def inspect; end # True if this is a config file that is shipped with RuboCop # # @return [Boolean] # - # source://rubocop//lib/rubocop/config.rb#77 + # source://rubocop//lib/rubocop/config.rb#81 def internal?; end # source://rubocop-ast/1.38.0/lib/rubocop/ast/utilities/simple_forwardable.rb#9 @@ -1180,7 +1180,7 @@ class RuboCop::Config # source://rubocop-ast/1.38.0/lib/rubocop/ast/utilities/simple_forwardable.rb#9 def keys(*_arg0, **_arg1, &_arg2); end - # source://rubocop//lib/rubocop/config.rb#48 + # source://rubocop//lib/rubocop/config.rb#52 def loaded_features; end # Returns the value of attribute loaded_path. @@ -1188,7 +1188,10 @@ class RuboCop::Config # source://rubocop//lib/rubocop/config.rb#21 def loaded_path; end - # source://rubocop//lib/rubocop/config.rb#82 + # source://rubocop//lib/rubocop/config.rb#48 + def loaded_plugins; end + + # source://rubocop//lib/rubocop/config.rb#86 def make_excludes_absolute; end # source://rubocop-ast/1.38.0/lib/rubocop/ast/utilities/simple_forwardable.rb#9 @@ -1197,19 +1200,19 @@ class RuboCop::Config # source://rubocop-ast/1.38.0/lib/rubocop/ast/utilities/simple_forwardable.rb#9 def merge(*_arg0, **_arg1, &_arg2); end - # source://rubocop//lib/rubocop/config.rb#260 + # source://rubocop//lib/rubocop/config.rb#264 def parser_engine; end - # source://rubocop//lib/rubocop/config.rb#241 + # source://rubocop//lib/rubocop/config.rb#245 def path_relative_to_config(path); end - # source://rubocop//lib/rubocop/config.rb#237 + # source://rubocop//lib/rubocop/config.rb#241 def patterns_to_exclude; end - # source://rubocop//lib/rubocop/config.rb#233 + # source://rubocop//lib/rubocop/config.rb#237 def patterns_to_include; end - # source://rubocop//lib/rubocop/config.rb#291 + # source://rubocop//lib/rubocop/config.rb#295 def pending_cops; end # Returns true if there's a chance that an Include pattern matches hidden @@ -1217,24 +1220,24 @@ class RuboCop::Config # # @return [Boolean] # - # source://rubocop//lib/rubocop/config.rb#220 + # source://rubocop//lib/rubocop/config.rb#224 def possibly_include_hidden?; end # source://rubocop-ast/1.38.0/lib/rubocop/ast/utilities/simple_forwardable.rb#9 def replace(*_arg0, **_arg1, &_arg2); end - # source://rubocop//lib/rubocop/config.rb#72 + # source://rubocop//lib/rubocop/config.rb#76 def signature; end - # source://rubocop//lib/rubocop/config.rb#275 + # source://rubocop//lib/rubocop/config.rb#279 def smart_loaded_path; end # @return [Boolean] # - # source://rubocop//lib/rubocop/config.rb#183 + # source://rubocop//lib/rubocop/config.rb#187 def string_literals_frozen_by_default?; end - # source://rubocop//lib/rubocop/config.rb#264 + # source://rubocop//lib/rubocop/config.rb#268 def target_rails_version; end # source://rubocop-ast/1.38.0/lib/rubocop/ast/utilities/simple_forwardable.rb#9 @@ -1246,7 +1249,7 @@ class RuboCop::Config # source://rubocop-ast/1.38.0/lib/rubocop/ast/utilities/simple_forwardable.rb#9 def to_hash(*_arg0, **_arg1, &_arg2); end - # source://rubocop//lib/rubocop/config.rb#68 + # source://rubocop//lib/rubocop/config.rb#72 def to_s; end # source://rubocop-ast/1.38.0/lib/rubocop/ast/utilities/simple_forwardable.rb#9 @@ -1255,36 +1258,36 @@ class RuboCop::Config # source://rubocop-ast/1.38.0/lib/rubocop/ast/utilities/simple_forwardable.rb#9 def validate(*_arg0, **_arg1, &_arg2); end - # source://rubocop//lib/rubocop/config.rb#59 + # source://rubocop//lib/rubocop/config.rb#63 def validate_after_resolution; end private - # source://rubocop//lib/rubocop/config.rb#359 + # source://rubocop//lib/rubocop/config.rb#363 def department_of(qualified_cop_name); end # @return [Boolean] # - # source://rubocop//lib/rubocop/config.rb#347 + # source://rubocop//lib/rubocop/config.rb#351 def enable_cop?(qualified_cop_name, cop_options); end # @param gem_version [Gem::Version] an object like `Gem::Version.new("7.1.2.3")` # @return [Float] The major and minor version, like `7.1` # - # source://rubocop//lib/rubocop/config.rb#334 + # source://rubocop//lib/rubocop/config.rb#338 def gem_version_to_major_minor_float(gem_version); end - # source://rubocop//lib/rubocop/config.rb#340 + # source://rubocop//lib/rubocop/config.rb#344 def read_gem_versions_from_target_lockfile; end # @return [Float, nil] The Rails version as a `major.minor` Float. # - # source://rubocop//lib/rubocop/config.rb#321 + # source://rubocop//lib/rubocop/config.rb#325 def read_rails_version_from_bundler_lock_file; end # @return [Float, nil] The Rails version as a `major.minor` Float. # - # source://rubocop//lib/rubocop/config.rb#316 + # source://rubocop//lib/rubocop/config.rb#320 def target_rails_version_from_bundler_lock_file; end class << self @@ -1424,7 +1427,7 @@ class RuboCop::ConfigLoader extend ::RuboCop::FileFinder class << self - # source://rubocop//lib/rubocop/config_loader.rb#141 + # source://rubocop//lib/rubocop/config_loader.rb#149 def add_excludes_from_files(config, config_file); end # Used to add features that were required inside a config or from @@ -1432,10 +1435,18 @@ class RuboCop::ConfigLoader # # @api private # - # source://rubocop//lib/rubocop/config_loader.rb#202 + # source://rubocop//lib/rubocop/config_loader.rb#238 def add_loaded_features(loaded_features); end - # source://rubocop//lib/rubocop/config_loader.rb#84 + # Used to add plugins that were required inside a config or from + # the CLI using `--plugin`. + # + # @api private + # + # source://rubocop//lib/rubocop/config_loader.rb#231 + def add_loaded_plugins(loaded_plugins); end + + # source://rubocop//lib/rubocop/config_loader.rb#92 def add_missing_namespaces(path, hash); end # source://rubocop//lib/rubocop/config_loader.rb#41 @@ -1447,10 +1458,10 @@ class RuboCop::ConfigLoader # user's home directory is checked. If there's no .rubocop.yml # there either, the path to the default file is returned. # - # source://rubocop//lib/rubocop/config_loader.rb#108 + # source://rubocop//lib/rubocop/config_loader.rb#116 def configuration_file_for(target_dir); end - # source://rubocop//lib/rubocop/config_loader.rb#112 + # source://rubocop//lib/rubocop/config_loader.rb#120 def configuration_from_file(config_file, check: T.unsafe(nil)); end # Returns the value of attribute debug. @@ -1470,7 +1481,7 @@ class RuboCop::ConfigLoader # source://rubocop//lib/rubocop/config_loader.rb#33 def debug?; end - # source://rubocop//lib/rubocop/config_loader.rb#151 + # source://rubocop//lib/rubocop/config_loader.rb#159 def default_configuration; end # Sets the attribute default_configuration @@ -1533,17 +1544,20 @@ class RuboCop::ConfigLoader # source://rubocop//lib/rubocop/config_loader.rb#33 def ignore_unrecognized_cops=(_arg0); end - # @api private + # This API is primarily intended for testing and documenting plugins. + # When testing a plugin using `rubocop/rspec/support`, the plugin is loaded automatically, + # so this API is usually not needed. It is intended to be used only when implementing tests + # that do not use `rubocop/rspec/support`. # - # source://rubocop//lib/rubocop/config_loader.rb#159 - def inject_defaults!(project_root); end + # source://rubocop//lib/rubocop/config_loader.rb#171 + def inject_defaults!(config_yml_path); end - # source://rubocop//lib/rubocop/config_loader.rb#51 + # source://rubocop//lib/rubocop/config_loader.rb#53 def load_file(file, check: T.unsafe(nil)); end # @raise [TypeError] # - # source://rubocop//lib/rubocop/config_loader.rb#71 + # source://rubocop//lib/rubocop/config_loader.rb#79 def load_yaml_configuration(absolute_path); end # Returns the value of attribute loaded_features. @@ -1551,24 +1565,29 @@ class RuboCop::ConfigLoader # source://rubocop//lib/rubocop/config_loader.rb#36 def loaded_features; end + # Returns the value of attribute loaded_plugins. + # + # source://rubocop//lib/rubocop/config_loader.rb#36 + def loaded_plugins; end + # Return a recursive merge of two hashes. That is, a normal hash merge, # with the addition that any value that is a hash, and occurs in both # arguments, will also be merged. And so on. # - # source://rubocop//lib/rubocop/config_loader.rb#99 + # source://rubocop//lib/rubocop/config_loader.rb#107 def merge(base_hash, derived_hash); end # Merges the given configuration with the default one. # - # source://rubocop//lib/rubocop/config_loader.rb#195 + # source://rubocop//lib/rubocop/config_loader.rb#224 def merge_with_default(config, config_file, unset_nil: T.unsafe(nil)); end - # source://rubocop//lib/rubocop/config_loader.rb#132 + # source://rubocop//lib/rubocop/config_loader.rb#140 def pending_cops_only_qualified(pending_cops); end # @return [Boolean] # - # source://rubocop//lib/rubocop/config_loader.rb#136 + # source://rubocop//lib/rubocop/config_loader.rb#144 def possible_new_cops?(config); end # Returns the path RuboCop inferred as the root of the project. No file @@ -1576,37 +1595,37 @@ class RuboCop::ConfigLoader # # @deprecated Use `RuboCop::ConfigFinder.project_root` instead. # - # source://rubocop//lib/rubocop/config_loader.rb#170 + # source://rubocop//lib/rubocop/config_loader.rb#199 def project_root; end - # source://rubocop//lib/rubocop/config_loader.rb#179 + # source://rubocop//lib/rubocop/config_loader.rb#208 def warn_on_pending_cops(pending_cops); end - # source://rubocop//lib/rubocop/config_loader.rb#187 + # source://rubocop//lib/rubocop/config_loader.rb#216 def warn_pending_cop(cop); end private - # source://rubocop//lib/rubocop/config_loader.rb#216 + # source://rubocop//lib/rubocop/config_loader.rb#252 def check_duplication(yaml_code, absolute_path); end - # source://rubocop//lib/rubocop/config_loader.rb#208 + # source://rubocop//lib/rubocop/config_loader.rb#244 def file_path(file); end # Read the specified file, or exit with a friendly, concise message on # stderr. Care is taken to use the standard OS exit code for a "file not # found" error. # - # source://rubocop//lib/rubocop/config_loader.rb#236 + # source://rubocop//lib/rubocop/config_loader.rb#272 def read_file(absolute_path); end - # source://rubocop//lib/rubocop/config_loader.rb#212 + # source://rubocop//lib/rubocop/config_loader.rb#248 def resolver; end - # source://rubocop//lib/rubocop/config_loader.rb#242 + # source://rubocop//lib/rubocop/config_loader.rb#278 def yaml_tree_to_hash(yaml_tree); end - # source://rubocop//lib/rubocop/config_loader.rb#252 + # source://rubocop//lib/rubocop/config_loader.rb#288 def yaml_tree_to_hash!(yaml_tree); end end end @@ -1624,7 +1643,7 @@ RuboCop::ConfigLoader::RUBOCOP_HOME = T.let(T.unsafe(nil), String) # # @api private # -# source://rubocop//lib/rubocop/config_loader_resolver.rb#9 +# source://rubocop//lib/rubocop/config_loader_resolver.rb#10 class RuboCop::ConfigLoaderResolver # When one .rubocop.yml file inherits from another .rubocop.yml file, the Include paths in the # base configuration are relative to the directory where the base configuration file is. For the @@ -1633,7 +1652,7 @@ class RuboCop::ConfigLoaderResolver # # @api private # - # source://rubocop//lib/rubocop/config_loader_resolver.rb#45 + # source://rubocop//lib/rubocop/config_loader_resolver.rb#63 def fix_include_paths(base_config_path, hash, path, key, value); end # Return a recursive merge of two hashes. That is, a normal hash merge, @@ -1643,7 +1662,7 @@ class RuboCop::ConfigLoaderResolver # # @api private # - # source://rubocop//lib/rubocop/config_loader_resolver.rb#99 + # source://rubocop//lib/rubocop/config_loader_resolver.rb#117 def merge(base_hash, derived_hash, **opts); end # Merges the given configuration with the default one. If @@ -1654,7 +1673,7 @@ class RuboCop::ConfigLoaderResolver # # @api private # - # source://rubocop//lib/rubocop/config_loader_resolver.rb#75 + # source://rubocop//lib/rubocop/config_loader_resolver.rb#93 def merge_with_default(config, config_file, unset_nil:); end # An `Enabled: true` setting in user configuration for a cop overrides an @@ -1662,7 +1681,7 @@ class RuboCop::ConfigLoaderResolver # # @api private # - # source://rubocop//lib/rubocop/config_loader_resolver.rb#119 + # source://rubocop//lib/rubocop/config_loader_resolver.rb#137 def override_department_setting_for_cops(base_hash, derived_hash); end # If a cop was previously explicitly enabled, but then superseded by the @@ -1670,112 +1689,111 @@ class RuboCop::ConfigLoaderResolver # # @api private # - # source://rubocop//lib/rubocop/config_loader_resolver.rb#136 + # source://rubocop//lib/rubocop/config_loader_resolver.rb#154 def override_enabled_for_disabled_departments(base_hash, derived_hash); end # @api private # - # source://rubocop//lib/rubocop/config_loader_resolver.rb#19 + # source://rubocop//lib/rubocop/config_loader_resolver.rb#37 def resolve_inheritance(path, hash, file, debug); end # @api private # - # source://rubocop//lib/rubocop/config_loader_resolver.rb#55 + # source://rubocop//lib/rubocop/config_loader_resolver.rb#73 def resolve_inheritance_from_gems(hash); end # @api private # - # source://rubocop//lib/rubocop/config_loader_resolver.rb#10 + # source://rubocop//lib/rubocop/config_loader_resolver.rb#11 + def resolve_plugins(rubocop_config, plugins); end + + # @api private + # + # source://rubocop//lib/rubocop/config_loader_resolver.rb#17 def resolve_requires(path, hash); end private # @api private # - # source://rubocop//lib/rubocop/config_loader_resolver.rb#215 + # source://rubocop//lib/rubocop/config_loader_resolver.rb#233 def base_configs(path, inherit_from, file); end # @api private # - # source://rubocop//lib/rubocop/config_loader_resolver.rb#183 + # source://rubocop//lib/rubocop/config_loader_resolver.rb#201 def determine_inherit_mode(hash, key); end # @api private # @return [Boolean] # - # source://rubocop//lib/rubocop/config_loader_resolver.rb#152 + # source://rubocop//lib/rubocop/config_loader_resolver.rb#170 def disabled?(hash, department); end # @api private # @return [Boolean] # - # source://rubocop//lib/rubocop/config_loader_resolver.rb#156 + # source://rubocop//lib/rubocop/config_loader_resolver.rb#174 def duplicate_setting?(base_hash, derived_hash, key, inherited_file); end # @api private # - # source://rubocop//lib/rubocop/config_loader_resolver.rb#177 + # source://rubocop//lib/rubocop/config_loader_resolver.rb#195 def duplicate_setting_warning(opts, key); end # @api private # - # source://rubocop//lib/rubocop/config_loader_resolver.rb#278 + # source://rubocop//lib/rubocop/config_loader_resolver.rb#292 def gem_config_path(gem_name, relative_config_path); end # @api private # - # source://rubocop//lib/rubocop/config_loader_resolver.rb#256 + # source://rubocop//lib/rubocop/config_loader_resolver.rb#270 def handle_disabled_by_default(config, new_default_configuration); end # @api private # - # source://rubocop//lib/rubocop/config_loader_resolver.rb#227 + # source://rubocop//lib/rubocop/config_loader_resolver.rb#245 def inherited_file(path, inherit_from, file); end # @api private # @return [Boolean] # - # source://rubocop//lib/rubocop/config_loader_resolver.rb#211 + # source://rubocop//lib/rubocop/config_loader_resolver.rb#229 def merge_hashes?(base_hash, derived_hash, key); end # @api private # @return [Boolean] # - # source://rubocop//lib/rubocop/config_loader_resolver.rb#252 + # source://rubocop//lib/rubocop/config_loader_resolver.rb#266 def remote_config?(file); end # @api private # @return [Boolean] # - # source://rubocop//lib/rubocop/config_loader_resolver.rb#248 - def remote_file?(uri); end - - # @api private - # @return [Boolean] - # - # source://rubocop//lib/rubocop/config_loader_resolver.rb#203 + # source://rubocop//lib/rubocop/config_loader_resolver.rb#221 def should_merge?(mode, key); end # @api private # @return [Boolean] # - # source://rubocop//lib/rubocop/config_loader_resolver.rb#207 + # source://rubocop//lib/rubocop/config_loader_resolver.rb#225 def should_override?(mode, key); end # @api private # @return [Boolean] # - # source://rubocop//lib/rubocop/config_loader_resolver.rb#189 + # source://rubocop//lib/rubocop/config_loader_resolver.rb#207 def should_union?(derived_hash, base_hash, root_mode, key); end # @api private # - # source://rubocop//lib/rubocop/config_loader_resolver.rb#274 + # source://rubocop//lib/rubocop/config_loader_resolver.rb#288 def transform(config, &block); end # @api private # - # source://rubocop//lib/rubocop/config_loader_resolver.rb#165 + # source://rubocop//lib/rubocop/config_loader_resolver.rb#183 def warn_on_duplicate_setting(base_hash, derived_hash, key, **opts); end end @@ -2528,7 +2546,7 @@ module RuboCop::Cop::Alignment def within?(inner, outer); end end -# source://rubocop//lib/rubocop/cop/mixin/alignment.rb#10 +# source://rubocop//lib/rubocop/cop/mixin/alignment.rb#8 RuboCop::Cop::Alignment::SPACE = T.let(T.unsafe(nil), String) # This class does autocorrection of nodes that should just be moved to @@ -2669,7 +2687,7 @@ module RuboCop::Cop::AllowedPattern # @return [Boolean] # # source://rubocop//lib/rubocop/cop/mixin/allowed_pattern.rb#21 - def ignored_line?; end + def ignored_line?(line); end # @return [Boolean] # @@ -2680,7 +2698,7 @@ module RuboCop::Cop::AllowedPattern # @return [Boolean] # # source://rubocop//lib/rubocop/cop/mixin/allowed_pattern.rb#34 - def matches_ignored_pattern?; end + def matches_ignored_pattern?(line); end end # This module encapsulates the ability to allow certain receivers in a cop. @@ -5260,7 +5278,7 @@ class RuboCop::Cop::Corrector < ::Parser::Source::TreeRewriter # Legacy # - # source://parser/3.3.7.0/lib/parser/source/tree_rewriter.rb#252 + # source://parser/3.3.7.1/lib/parser/source/tree_rewriter.rb#252 def rewrite; end # Swaps sources at the given ranges. @@ -6886,99 +6904,99 @@ end # # source://rubocop//lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#7 module RuboCop::Cop::HashShorthandSyntax - # source://rubocop//lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#14 + # source://rubocop//lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#32 def on_hash_for_mixed_shorthand(hash_node); end - # source://rubocop//lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#26 + # source://rubocop//lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#44 def on_pair(node); end private # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#126 + # source://rubocop//lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#144 def brackets?(method_dispatch_node); end - # source://rubocop//lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#156 + # source://rubocop//lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#174 def breakdown_value_types_of_hash(hash_node); end - # source://rubocop//lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#103 + # source://rubocop//lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#121 def def_node_that_require_parentheses(node); end - # source://rubocop//lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#185 + # source://rubocop//lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#203 def each_omittable_value_pair(hash_value_type_breakdown, &block); end - # source://rubocop//lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#181 + # source://rubocop//lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#199 def each_omitted_value_pair(hash_value_type_breakdown, &block); end - # source://rubocop//lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#81 + # source://rubocop//lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#99 def enforced_shorthand_syntax; end - # source://rubocop//lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#118 + # source://rubocop//lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#136 def find_ancestor_method_dispatch_node(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#168 + # source://rubocop//lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#186 def hash_with_mixed_shorthand_syntax?(hash_value_type_breakdown); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#172 + # source://rubocop//lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#190 def hash_with_values_that_cant_be_omitted?(hash_value_type_breakdown); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#176 + # source://rubocop//lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#194 def ignore_explicit_omissible_hash_shorthand_syntax?(hash_value_type_breakdown); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#75 + # source://rubocop//lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#93 def ignore_hash_shorthand_syntax?(pair_node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#69 + # source://rubocop//lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#87 def ignore_mixed_hash_shorthand_syntax?(hash_node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#141 + # source://rubocop//lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#159 def last_expression?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#149 + # source://rubocop//lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#167 def method_dispatch_as_argument?(method_dispatch_node); end - # source://rubocop//lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#189 + # source://rubocop//lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#207 def mixed_shorthand_syntax_check(hash_value_type_breakdown); end - # source://rubocop//lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#205 + # source://rubocop//lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#223 def no_mixed_shorthand_syntax_check(hash_value_type_breakdown); end - # source://rubocop//lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#49 + # source://rubocop//lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#67 def register_offense(node, message, replacement); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#85 + # source://rubocop//lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#103 def require_hash_value?(hash_key_source, node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#94 + # source://rubocop//lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#112 def require_hash_value_for_around_hash_literal?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#130 + # source://rubocop//lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#148 def use_element_of_hash_literal_as_receiver?(ancestor, parent); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#135 + # source://rubocop//lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#153 def use_modifier_form_without_parenthesized_method_call?(ancestor); end end @@ -6991,12 +7009,12 @@ RuboCop::Cop::HashShorthandSyntax::DO_NOT_MIX_MSG_PREFIX = T.let(T.unsafe(nil), # source://rubocop//lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#11 RuboCop::Cop::HashShorthandSyntax::DO_NOT_MIX_OMIT_VALUE_MSG = T.let(T.unsafe(nil), String) -# source://rubocop//lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#216 +# source://rubocop//lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#14 class RuboCop::Cop::HashShorthandSyntax::DefNode < ::Struct - # source://rubocop//lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#225 + # source://rubocop//lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#23 def first_argument; end - # source://rubocop//lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#229 + # source://rubocop//lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#27 def last_argument; end # Returns the value of attribute node @@ -7010,7 +7028,7 @@ class RuboCop::Cop::HashShorthandSyntax::DefNode < ::Struct # @return [Object] the newly set value def node=(_); end - # source://rubocop//lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#217 + # source://rubocop//lib/rubocop/cop/mixin/hash_shorthand_syntax.rb#15 def selector; end class << self @@ -7137,71 +7155,71 @@ RuboCop::Cop::HashSubset::SUBSET_METHODS = T.let(T.unsafe(nil), Array) module RuboCop::Cop::HashTransformMethod extend ::RuboCop::AST::NodePattern::Macros - # source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#13 + # source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#87 def array_receiver?(param0 = T.unsafe(nil)); end - # source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#17 + # source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#91 def on_block(node); end - # source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#34 + # source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#108 def on_csend(node); end - # source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#27 + # source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#101 def on_send(node); end private - # source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#108 + # source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#182 def execute_correction(corrector, node, correction); end # @abstract # @raise [NotImplementedError] # @return [Captures] # - # source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#83 + # source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#157 def extract_captures(_match); end - # source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#60 + # source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#134 def handle_possible_offense(node, match, match_desc); end # @abstract # @raise [NotImplementedError] # @return [String] # - # source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#90 + # source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#164 def new_method_name; end # @abstract Implemented with `def_node_matcher` # @raise [NotImplementedError] # - # source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#41 + # source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#115 def on_bad_each_with_object(_node); end # @abstract Implemented with `def_node_matcher` # @raise [NotImplementedError] # - # source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#46 + # source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#120 def on_bad_hash_brackets_map(_node); end # @abstract Implemented with `def_node_matcher` # @raise [NotImplementedError] # - # source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#51 + # source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#125 def on_bad_map_to_h(_node); end # @abstract Implemented with `def_node_matcher` # @raise [NotImplementedError] # - # source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#56 + # source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#130 def on_bad_to_h(_node); end - # source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#94 + # source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#168 def prepare_correction(node); end end # Internal helper class to hold autocorrect data # -# source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#136 +# source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#31 class RuboCop::Cop::HashTransformMethod::Autocorrection < ::Struct # Returns the value of attribute block_node # @@ -7236,16 +7254,16 @@ class RuboCop::Cop::HashTransformMethod::Autocorrection < ::Struct # @return [Object] the newly set value def match=(_); end - # source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#177 + # source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#72 def set_new_arg_name(transformed_argname, corrector); end - # source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#181 + # source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#76 def set_new_body_expression(transforming_body_expr, corrector); end - # source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#167 + # source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#62 def set_new_method_name(new_method_name, corrector); end - # source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#161 + # source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#56 def strip_prefix_and_suffix(node, corrector); end # Returns the value of attribute trailing @@ -7262,16 +7280,16 @@ class RuboCop::Cop::HashTransformMethod::Autocorrection < ::Struct class << self def [](*_arg0); end - # source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#137 + # source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#32 def from_each_with_object(node, match); end - # source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#141 + # source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#36 def from_hash_brackets_map(node, match); end - # source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#145 + # source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#40 def from_map_to_h(node, match); end - # source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#157 + # source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#52 def from_to_h(node, match); end def inspect; end @@ -7283,16 +7301,16 @@ end # Internal helper class to hold match data # -# source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#118 +# source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#13 class RuboCop::Cop::HashTransformMethod::Captures < ::Struct # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#119 + # source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#14 def noop_transformation?; end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#124 + # source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#19 def transformation_uses_both_args?; end # Returns the value of attribute transformed_argname @@ -7330,7 +7348,7 @@ class RuboCop::Cop::HashTransformMethod::Captures < ::Struct # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#128 + # source://rubocop//lib/rubocop/cop/mixin/hash_transform_method.rb#23 def use_transformed_argname?; end class << self @@ -7980,73 +7998,73 @@ class RuboCop::Cop::Layout::BlockAlignment < ::RuboCop::Cop::Base # source://rubocop//lib/rubocop/cop/layout/block_alignment.rb#74 def block_end_align_target?(param0 = T.unsafe(nil), param1); end - # source://rubocop//lib/rubocop/cop/layout/block_alignment.rb#83 + # source://rubocop//lib/rubocop/cop/layout/block_alignment.rb#85 def on_block(node); end - # source://rubocop//lib/rubocop/cop/layout/block_alignment.rb#83 + # source://rubocop//lib/rubocop/cop/layout/block_alignment.rb#85 def on_numblock(node); end - # source://rubocop//lib/rubocop/cop/layout/block_alignment.rb#89 + # source://rubocop//lib/rubocop/cop/layout/block_alignment.rb#91 def style_parameter_name; end private - # source://rubocop//lib/rubocop/cop/layout/block_alignment.rb#245 + # source://rubocop//lib/rubocop/cop/layout/block_alignment.rb#247 def add_space_before(corrector, loc, delta); end - # source://rubocop//lib/rubocop/cop/layout/block_alignment.rb#222 + # source://rubocop//lib/rubocop/cop/layout/block_alignment.rb#224 def alt_start_msg(start_loc, source_line_column); end - # source://rubocop//lib/rubocop/cop/layout/block_alignment.rb#144 + # source://rubocop//lib/rubocop/cop/layout/block_alignment.rb#146 def autocorrect(corrector, node); end - # source://rubocop//lib/rubocop/cop/layout/block_alignment.rb#95 + # source://rubocop//lib/rubocop/cop/layout/block_alignment.rb#97 def block_end_align_target(node); end - # source://rubocop//lib/rubocop/cop/layout/block_alignment.rb#113 + # source://rubocop//lib/rubocop/cop/layout/block_alignment.rb#115 def check_block_alignment(start_node, block_node); end - # source://rubocop//lib/rubocop/cop/layout/block_alignment.rb#195 + # source://rubocop//lib/rubocop/cop/layout/block_alignment.rb#197 def compute_do_source_line_column(node, end_loc); end - # source://rubocop//lib/rubocop/cop/layout/block_alignment.rb#237 + # source://rubocop//lib/rubocop/cop/layout/block_alignment.rb#239 def compute_start_col(ancestor_node, node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/layout/block_alignment.rb#109 + # source://rubocop//lib/rubocop/cop/layout/block_alignment.rb#111 def disqualified_parent?(parent, node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/layout/block_alignment.rb#105 + # source://rubocop//lib/rubocop/cop/layout/block_alignment.rb#107 def end_align_target?(node, parent); end # In offense message, we want to show the assignment LHS rather than # the entire assignment. # - # source://rubocop//lib/rubocop/cop/layout/block_alignment.rb#190 + # source://rubocop//lib/rubocop/cop/layout/block_alignment.rb#192 def find_lhs_node(node); end - # source://rubocop//lib/rubocop/cop/layout/block_alignment.rb#161 + # source://rubocop//lib/rubocop/cop/layout/block_alignment.rb#163 def format_message(start_loc, end_loc, do_source_line_column, error_source_line_column); end - # source://rubocop//lib/rubocop/cop/layout/block_alignment.rb#232 + # source://rubocop//lib/rubocop/cop/layout/block_alignment.rb#234 def format_source_line_column(source_line_column); end - # source://rubocop//lib/rubocop/cop/layout/block_alignment.rb#214 + # source://rubocop//lib/rubocop/cop/layout/block_alignment.rb#216 def loc_to_source_line_column(loc); end - # source://rubocop//lib/rubocop/cop/layout/block_alignment.rb#126 + # source://rubocop//lib/rubocop/cop/layout/block_alignment.rb#128 def register_offense(block_node, start_loc, end_loc, do_source_line_column); end - # source://rubocop//lib/rubocop/cop/layout/block_alignment.rb#249 + # source://rubocop//lib/rubocop/cop/layout/block_alignment.rb#251 def remove_space_before(corrector, end_pos, delta); end - # source://rubocop//lib/rubocop/cop/layout/block_alignment.rb#171 + # source://rubocop//lib/rubocop/cop/layout/block_alignment.rb#173 def start_for_block_node(block_node); end - # source://rubocop//lib/rubocop/cop/layout/block_alignment.rb#178 + # source://rubocop//lib/rubocop/cop/layout/block_alignment.rb#180 def start_for_line_node(block_node); end end @@ -10436,7 +10454,15 @@ class RuboCop::Cop::Layout::EmptyLinesAroundMethodBody < ::RuboCop::Cop::Base private - # source://rubocop//lib/rubocop/cop/layout/empty_lines_around_method_body.rb#38 + # @return [Boolean] + # + # source://rubocop//lib/rubocop/cop/layout/empty_lines_around_method_body.rb#47 + def offending_endless_method?(node); end + + # source://rubocop//lib/rubocop/cop/layout/empty_lines_around_method_body.rb#52 + def register_offense_for_endless_method(node); end + + # source://rubocop//lib/rubocop/cop/layout/empty_lines_around_method_body.rb#43 def style; end end @@ -18114,6 +18140,62 @@ end # source://rubocop//lib/rubocop/cop/lint/constant_resolution.rb#63 RuboCop::Cop::Lint::ConstantResolution::MSG = T.let(T.unsafe(nil), String) +# are strictly formatted. +# +# A comment can be added to the directive by prefixing it with `--`. +# +# @example +# # bad +# # rubocop:disable Layout/LineLength Style/Encoding +# # ^ missing comma +# +# # bad +# # rubocop:disable +# +# # bad +# # rubocop:disable Layout/LineLength # rubocop:disable Style/Encoding +# +# # bad +# # rubocop:wrongmode Layout/LineLength +# +# # good +# # rubocop:disable Layout/LineLength +# +# # good +# # rubocop:disable Layout/LineLength, Style/Encoding +# +# # good +# # rubocop:disable all +# +# # good +# # rubocop:disable Layout/LineLength -- This is a good comment. +# +# source://rubocop//lib/rubocop/cop/lint/cop_directive_syntax.rb#39 +class RuboCop::Cop::Lint::CopDirectiveSyntax < ::RuboCop::Cop::Base + # source://rubocop//lib/rubocop/cop/lint/cop_directive_syntax.rb#48 + def on_new_investigation; end + + private + + # source://rubocop//lib/rubocop/cop/lint/cop_directive_syntax.rb#62 + def offense_message(directive_comment); end +end + +# source://rubocop//lib/rubocop/cop/lint/cop_directive_syntax.rb#40 +RuboCop::Cop::Lint::CopDirectiveSyntax::COMMON_MSG = T.let(T.unsafe(nil), String) + +# source://rubocop//lib/rubocop/cop/lint/cop_directive_syntax.rb#43 +RuboCop::Cop::Lint::CopDirectiveSyntax::INVALID_MODE_NAME_MSG = T.let(T.unsafe(nil), String) + +# source://rubocop//lib/rubocop/cop/lint/cop_directive_syntax.rb#45 +RuboCop::Cop::Lint::CopDirectiveSyntax::MALFORMED_COP_NAMES_MSG = T.let(T.unsafe(nil), String) + +# source://rubocop//lib/rubocop/cop/lint/cop_directive_syntax.rb#44 +RuboCop::Cop::Lint::CopDirectiveSyntax::MISSING_COP_NAME_MSG = T.let(T.unsafe(nil), String) + +# source://rubocop//lib/rubocop/cop/lint/cop_directive_syntax.rb#42 +RuboCop::Cop::Lint::CopDirectiveSyntax::MISSING_MODE_NAME_MSG = T.let(T.unsafe(nil), String) + # Checks for debug calls (such as `debugger` or `binding.pry`) that should # not be kept for production code. # @@ -20073,7 +20155,7 @@ RuboCop::Cop::Lint::FloatOutOfRange::MSG = T.let(T.unsafe(nil), String) # expected fields for format/sprintf/#% and what is actually # passed as arguments. # -# In addition it checks whether different formats are used in the same +# In addition, it checks whether different formats are used in the same # format string. Do not mix numbered, unnumbered, and named formats in # the same format string. # @@ -23390,6 +23472,161 @@ RuboCop::Cop::Lint::RedundantStringCoercion::MSG_SELF = T.let(T.unsafe(nil), Str # source://rubocop//lib/rubocop/cop/lint/redundant_string_coercion.rb#29 RuboCop::Cop::Lint::RedundantStringCoercion::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) +# Checks for redundant uses of `to_s`, `to_sym`, `to_i`, `to_f`, `to_r`, `to_c`, +# `to_a`, `to_h`, and `to_set`. +# +# When one of these methods is called on an object of the same type, that object +# is returned, making the call unnecessary. The cop detects conversion methods called +# on object literals, class constructors, class `[]` methods, and the `Kernel` methods +# `String()`, `Integer()`, `Float()`, `Rational()`, `Complex()` and `Array()`. +# +# Specifically, these cases are detected for each conversion method: +# +# * `to_s` when called on a string literal, interpolated string, heredoc, +# or with `String.new` or `String()`. +# * `to_sym` when called on a symbol literal or interpolated symbol. +# * `to_i` when called on an integer literal or with `Integer()`. +# * `to_f` when called on a float literal of with `Float()`. +# * `to_r` when called on a rational literal or with `Rational()`. +# * `to_c` when called on a complex literal of with `Complex()`. +# * `to_a` when called on an array literal, or with `Array.new`, `Array()` or `Array[]`. +# * `to_h` when called on a hash literal, or with `Hash.new`, `Hash()` or `Hash[]`. +# * `to_set` when called on `Set.new` or `Set[]`. +# +# In all cases, chaining one same `to_*` conversion methods listed above is redundant. +# +# The cop can also register an offense for chaining conversion methods on methods that are +# expected to return a specific type regardless of receiver (eg. `foo.inspect.to_s`). +# +# @example +# # bad +# "text".to_s +# :sym.to_sym +# 42.to_i +# 8.5.to_f +# 12r.to_r +# 1i.to_c +# [].to_a +# {}.to_h +# Set.new.to_s +# +# # good +# "text" +# :sym +# 42 +# 8.5 +# 12r +# 1i +# [] +# {} +# Set.new +# +# # bad - chaining the same conversion +# foo.to_s.to_s +# +# # good +# foo.to_s +# +# # bad - chaining a conversion to a method that is expected to return the same type +# inspect.to_s +# +# # good +# inspect +# +# source://rubocop//lib/rubocop/cop/lint/redundant_type_conversion.rb#67 +class RuboCop::Cop::Lint::RedundantTypeConversion < ::RuboCop::Cop::Base + extend ::RuboCop::Cop::AutoCorrector + + # source://rubocop//lib/rubocop/cop/lint/redundant_type_conversion.rb#141 + def array_constructor?(param0 = T.unsafe(nil)); end + + # source://rubocop//lib/rubocop/cop/lint/redundant_type_conversion.rb#136 + def complex_constructor?(param0 = T.unsafe(nil)); end + + # source://rubocop//lib/rubocop/cop/lint/redundant_type_conversion.rb#126 + def float_constructor?(param0 = T.unsafe(nil)); end + + # source://rubocop//lib/rubocop/cop/lint/redundant_type_conversion.rb#149 + def hash_constructor?(param0 = T.unsafe(nil)); end + + # source://rubocop//lib/rubocop/cop/lint/redundant_type_conversion.rb#121 + def integer_constructor?(param0 = T.unsafe(nil)); end + + # source://rubocop//lib/rubocop/cop/lint/redundant_type_conversion.rb#165 + def on_csend(node); end + + # source://rubocop//lib/rubocop/cop/lint/redundant_type_conversion.rb#165 + def on_send(node); end + + # source://rubocop//lib/rubocop/cop/lint/redundant_type_conversion.rb#131 + def rational_constructor?(param0 = T.unsafe(nil)); end + + # source://rubocop//lib/rubocop/cop/lint/redundant_type_conversion.rb#158 + def set_constructor?(param0 = T.unsafe(nil)); end + + # source://rubocop//lib/rubocop/cop/lint/redundant_type_conversion.rb#113 + def string_constructor?(param0 = T.unsafe(nil)); end + + # source://rubocop//lib/rubocop/cop/lint/redundant_type_conversion.rb#108 + def type_constructor?(param0 = T.unsafe(nil), param1); end + + private + + # @return [Boolean] + # + # source://rubocop//lib/rubocop/cop/lint/redundant_type_conversion.rb#217 + def chained_conversion?(node, receiver); end + + # @return [Boolean] + # + # source://rubocop//lib/rubocop/cop/lint/redundant_type_conversion.rb#223 + def chained_to_typed_method?(node, receiver); end + + # @return [Boolean] + # + # source://rubocop//lib/rubocop/cop/lint/redundant_type_conversion.rb#210 + def constructor?(node, receiver); end + + # source://rubocop//lib/rubocop/cop/lint/redundant_type_conversion.rb#191 + def find_receiver(node); end + + # @return [Boolean] + # + # source://rubocop//lib/rubocop/cop/lint/redundant_type_conversion.rb#185 + def hash_or_set_with_block?(node); end + + # @return [Boolean] + # + # source://rubocop//lib/rubocop/cop/lint/redundant_type_conversion.rb#204 + def literal_receiver?(node, receiver); end +end + +# Maps each conversion method to the pattern matcher for that type's constructors +# Not every type has a constructor, for instance Symbol. +# +# source://rubocop//lib/rubocop/cop/lint/redundant_type_conversion.rb#87 +RuboCop::Cop::Lint::RedundantTypeConversion::CONSTRUCTOR_MAPPING = T.let(T.unsafe(nil), Hash) + +# source://rubocop//lib/rubocop/cop/lint/redundant_type_conversion.rb#102 +RuboCop::Cop::Lint::RedundantTypeConversion::CONVERSION_METHODS = T.let(T.unsafe(nil), Set) + +# Maps conversion methods to the node types for the literals of that type +# +# source://rubocop//lib/rubocop/cop/lint/redundant_type_conversion.rb#73 +RuboCop::Cop::Lint::RedundantTypeConversion::LITERAL_NODE_TYPES = T.let(T.unsafe(nil), Hash) + +# source://rubocop//lib/rubocop/cop/lint/redundant_type_conversion.rb#70 +RuboCop::Cop::Lint::RedundantTypeConversion::MSG = T.let(T.unsafe(nil), String) + +# source://rubocop//lib/rubocop/cop/lint/redundant_type_conversion.rb#103 +RuboCop::Cop::Lint::RedundantTypeConversion::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Set) + +# Methods that already are expected to return a given type, which makes a further +# conversion redundant. +# +# source://rubocop//lib/rubocop/cop/lint/redundant_type_conversion.rb#100 +RuboCop::Cop::Lint::RedundantTypeConversion::TYPED_METHODS = T.let(T.unsafe(nil), Hash) + # Checks for redundant `with_index`. # # @example @@ -24704,6 +24941,64 @@ end # source://rubocop//lib/rubocop/cop/lint/suppressed_exception.rb#106 RuboCop::Cop::Lint::SuppressedException::MSG = T.let(T.unsafe(nil), String) +# Checks for cases where exceptions unrelated to the numeric constructors `Integer()`, +# `Float()`, `BigDecimal()`, `Complex()`, and `Rational()` may be unintentionally swallowed. +# +# @example +# +# # bad +# Integer(arg) rescue nil +# +# # bad +# begin +# Integer(arg) +# rescue +# nil +# end +# +# # bad +# begin +# Integer(arg) +# rescue +# end +# +# # good +# Integer(arg, exception: false) +# +# source://rubocop//lib/rubocop/cop/lint/suppressed_exception_in_number_conversion.rb#41 +class RuboCop::Cop::Lint::SuppressedExceptionInNumberConversion < ::RuboCop::Cop::Base + extend ::RuboCop::Cop::AutoCorrector + extend ::RuboCop::Cop::TargetRubyVersion + + # source://rubocop//lib/rubocop/cop/lint/suppressed_exception_in_number_conversion.rb#56 + def begin_numeric_constructor_rescue_nil(param0 = T.unsafe(nil)); end + + # source://rubocop//lib/rubocop/cop/lint/suppressed_exception_in_number_conversion.rb#75 + def constructor_receiver?(param0 = T.unsafe(nil)); end + + # source://rubocop//lib/rubocop/cop/lint/suppressed_exception_in_number_conversion.rb#49 + def numeric_constructor_rescue_nil(param0 = T.unsafe(nil)); end + + # source://rubocop//lib/rubocop/cop/lint/suppressed_exception_in_number_conversion.rb#65 + def numeric_method?(param0 = T.unsafe(nil)); end + + # source://rubocop//lib/rubocop/cop/lint/suppressed_exception_in_number_conversion.rb#82 + def on_rescue(node); end + + private + + # @return [Boolean] + # + # source://rubocop//lib/rubocop/cop/lint/suppressed_exception_in_number_conversion.rb#103 + def expected_exception_classes_only?(exception_classes); end +end + +# source://rubocop//lib/rubocop/cop/lint/suppressed_exception_in_number_conversion.rb#46 +RuboCop::Cop::Lint::SuppressedExceptionInNumberConversion::EXPECTED_EXCEPTION_CLASSES = T.let(T.unsafe(nil), Array) + +# source://rubocop//lib/rubocop/cop/lint/suppressed_exception_in_number_conversion.rb#45 +RuboCop::Cop::Lint::SuppressedExceptionInNumberConversion::MSG = T.let(T.unsafe(nil), String) + # Checks for uses of literal strings converted to # a symbol where a literal symbol could be used instead. # @@ -26290,6 +26585,64 @@ end # source://rubocop//lib/rubocop/cop/lint/useless_assignment.rb#45 RuboCop::Cop::Lint::UselessAssignment::MSG = T.let(T.unsafe(nil), String) +# Checks for useless constant scoping. Private constants must be defined using +# `private_constant` or `class << self`. Even if `private` access modifier is used, +# it is public scope despite its appearance. +# +# It does not support autocorrection due to behavior change and multiple ways to fix it. +# Or a public constant may be intended. +# +# @example +# +# # bad +# class Foo +# private +# PRIVATE_CONST = 42 +# end +# +# # good +# class Foo +# PRIVATE_CONST = 42 +# private_constant :PRIVATE_CONST +# end +# +# # good +# class Foo +# class << self +# private +# PRIVATE_CONST = 42 +# end +# end +# +# # good +# class Foo +# PUBLIC_CONST = 42 # If private scope is not intended. +# end +# +# source://rubocop//lib/rubocop/cop/lint/useless_constant_scoping.rb#40 +class RuboCop::Cop::Lint::UselessConstantScoping < ::RuboCop::Cop::Base + # source://rubocop//lib/rubocop/cop/lint/useless_constant_scoping.rb#48 + def on_casgn(node); end + + # source://rubocop//lib/rubocop/cop/lint/useless_constant_scoping.rb#44 + def private_constants(param0 = T.unsafe(nil)); end + + private + + # @return [Boolean] + # + # source://rubocop//lib/rubocop/cop/lint/useless_constant_scoping.rb#58 + def after_private_modifier?(left_siblings); end + + # @return [Boolean] + # + # source://rubocop//lib/rubocop/cop/lint/useless_constant_scoping.rb#68 + def private_constantize?(right_siblings, const_value); end +end + +# source://rubocop//lib/rubocop/cop/lint/useless_constant_scoping.rb#41 +RuboCop::Cop::Lint::UselessConstantScoping::MSG = T.let(T.unsafe(nil), String) + # Checks for calls to `defined?` with strings or symbols as the argument. # Such calls will always return `'expression'`, you probably meant to # check for the existence of a constant, method, or variable instead. @@ -27805,13 +28158,13 @@ class RuboCop::Cop::Metrics::Utils::AbcSizeCalculator # @return [AbcSizeCalculator] a new instance of AbcSizeCalculator # - # source://rubocop//lib/rubocop/cop/metrics/utils/repeated_attribute_discount.rb#30 + # source://rubocop//lib/rubocop/cop/metrics/utils/repeated_attribute_discount.rb#37 def initialize(node, discount_repeated_attributes: T.unsafe(nil)); end # source://rubocop//lib/rubocop/cop/metrics/utils/abc_size_calculator.rb#42 def calculate; end - # source://rubocop//lib/rubocop/cop/metrics/utils/repeated_attribute_discount.rb#53 + # source://rubocop//lib/rubocop/cop/metrics/utils/repeated_attribute_discount.rb#60 def calculate_node(node); end # @return [Boolean] @@ -27819,7 +28172,7 @@ class RuboCop::Cop::Metrics::Utils::AbcSizeCalculator # source://rubocop//lib/rubocop/cop/metrics/utils/abc_size_calculator.rb#65 def else_branch?(node); end - # source://rubocop//lib/rubocop/cop/metrics/utils/repeated_attribute_discount.rb#47 + # source://rubocop//lib/rubocop/cop/metrics/utils/repeated_attribute_discount.rb#54 def evaluate_branch_nodes(node); end # source://rubocop//lib/rubocop/cop/metrics/utils/abc_size_calculator.rb#60 @@ -28043,29 +28396,29 @@ module RuboCop::Cop::Metrics::Utils::RepeatedAttributeDiscount # # @api private # - # source://rubocop//lib/rubocop/cop/metrics/utils/repeated_attribute_discount.rb#30 + # source://rubocop//lib/rubocop/cop/metrics/utils/repeated_attribute_discount.rb#37 def initialize(node, discount_repeated_attributes: T.unsafe(nil)); end - # source://rubocop//lib/rubocop/cop/metrics/utils/repeated_attribute_discount.rb#61 + # source://rubocop//lib/rubocop/cop/metrics/utils/repeated_attribute_discount.rb#68 def attribute_call?(param0 = T.unsafe(nil)); end # @api private # - # source://rubocop//lib/rubocop/cop/metrics/utils/repeated_attribute_discount.rb#53 + # source://rubocop//lib/rubocop/cop/metrics/utils/repeated_attribute_discount.rb#60 def calculate_node(node); end # @api private # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/metrics/utils/repeated_attribute_discount.rb#43 + # source://rubocop//lib/rubocop/cop/metrics/utils/repeated_attribute_discount.rb#50 def discount_repeated_attributes?; end # @api private # - # source://rubocop//lib/rubocop/cop/metrics/utils/repeated_attribute_discount.rb#47 + # source://rubocop//lib/rubocop/cop/metrics/utils/repeated_attribute_discount.rb#54 def evaluate_branch_nodes(node); end - # source://rubocop//lib/rubocop/cop/metrics/utils/repeated_attribute_discount.rb#92 + # source://rubocop//lib/rubocop/cop/metrics/utils/repeated_attribute_discount.rb#99 def root_node?(param0 = T.unsafe(nil)); end private @@ -28073,7 +28426,7 @@ module RuboCop::Cop::Metrics::Utils::RepeatedAttributeDiscount # @api private # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/metrics/utils/repeated_attribute_discount.rb#66 + # source://rubocop//lib/rubocop/cop/metrics/utils/repeated_attribute_discount.rb#73 def discount_repeated_attribute?(send_node); end # Returns the "known_attributes" for the `node` by walking the receiver tree @@ -28084,7 +28437,7 @@ module RuboCop::Cop::Metrics::Utils::RepeatedAttributeDiscount # # @api private # - # source://rubocop//lib/rubocop/cop/metrics/utils/repeated_attribute_discount.rb#103 + # source://rubocop//lib/rubocop/cop/metrics/utils/repeated_attribute_discount.rb#110 def find_attributes(node, &block); end # or `nil` if it is not a setter. @@ -28096,13 +28449,13 @@ module RuboCop::Cop::Metrics::Utils::RepeatedAttributeDiscount # @api private # - # source://rubocop//lib/rubocop/cop/metrics/utils/repeated_attribute_discount.rb#80 + # source://rubocop//lib/rubocop/cop/metrics/utils/repeated_attribute_discount.rb#87 def update_repeated_attribute(node); end end # @api private # -# source://rubocop//lib/rubocop/cop/metrics/utils/repeated_attribute_discount.rb#117 +# source://rubocop//lib/rubocop/cop/metrics/utils/repeated_attribute_discount.rb#29 RuboCop::Cop::Metrics::Utils::RepeatedAttributeDiscount::VAR_SETTER_TO_GETTER = T.let(T.unsafe(nil), Hash) # Identifies repetitions `&.` on the same variable: @@ -28763,6 +29116,21 @@ RuboCop::Cop::Naming::BinaryOperatorParameterName::MSG = T.let(T.unsafe(nil), St # source://rubocop//lib/rubocop/cop/naming/binary_operator_parameter_name.rb#21 RuboCop::Cop::Naming::BinaryOperatorParameterName::OP_LIKE_METHODS = T.let(T.unsafe(nil), Array) +# In Ruby 3.1, anonymous block forwarding has been added. +# +# This cop identifies places where `do_something(&block)` can be replaced +# by `do_something(&)`. +# +# It also supports the opposite style by alternative `explicit` option. +# You can specify the block variable name for autocorrection with `BlockForwardingName`. +# The default variable name is `block`. If the name is already in use, it will not be +# autocorrected. +# +# [NOTE] +# ==== +# Because of a bug in Ruby 3.3.0, when a block is referenced inside of another block, +# no offense will be registered until Ruby 3.4: +# # [source,ruby] # ---- # def foo(&block) @@ -28770,7 +29138,7 @@ RuboCop::Cop::Naming::BinaryOperatorParameterName::OP_LIKE_METHODS = T.let(T.uns # block_method { bar(&block) } # end # ---- -# -- +# ==== # # @example EnforcedStyle: anonymous (default) # @@ -29742,20 +30110,16 @@ end # they end with a `?`. These methods should be changed to remove the # prefix. # -# @example NamePrefix: ['is_', 'has_', 'have_'] (default) +# When `UseSorbetSigs` set to true (optional), the cop will only report +# offenses if the method has a Sorbet `sig` with a return type of +# `T::Boolean`. Dynamic methods are not supported with this configuration. +# +# @example MethodDefinitionMacros: ['def_node_matcher'] # # bad -# def is_even(value) -# end +# def_node_matcher(:is_even) { |value| } # -# # When ForbiddenPrefixes: ['is_', 'has_', 'have_'] (default) # # good -# def even?(value) -# end -# -# # When ForbiddenPrefixes: [] -# # good -# def is_even?(value) -# end +# def_node_matcher(:even?) { |value| } # @example NamePrefix: ['seems_to_be_'] # # bad # def seems_to_be_even(value) @@ -29779,59 +30143,102 @@ end # # good # def is_even?(value) # end +# @example UseSorbetSigs: false (default) +# # bad +# sig { returns(String) } +# def is_this_thing_on +# "yes" +# end +# +# # good - Sorbet signature is not evaluated +# sig { returns(String) } +# def is_this_thing_on? +# "yes" +# end +# @example UseSorbetSigs: true +# # bad +# sig { returns(T::Boolean) } +# def odd(value) +# end +# +# # good +# sig { returns(T::Boolean) } +# def odd?(value) +# end # @example MethodDefinitionMacros: ['define_method', 'define_singleton_method'] (default) # # bad # define_method(:is_even) { |value| } # # # good # define_method(:even?) { |value| } -# @example MethodDefinitionMacros: ['def_node_matcher'] +# @example NamePrefix: ['is_', 'has_', 'have_'] (default) # # bad -# def_node_matcher(:is_even) { |value| } +# def is_even(value) +# end # +# # When ForbiddenPrefixes: ['is_', 'has_', 'have_'] (default) # # good -# def_node_matcher(:even?) { |value| } +# def even?(value) +# end # -# source://rubocop//lib/rubocop/cop/naming/predicate_name.rb#75 +# # When ForbiddenPrefixes: [] +# # good +# def is_even?(value) +# end +# +# source://rubocop//lib/rubocop/cop/naming/predicate_name.rb#103 class RuboCop::Cop::Naming::PredicateName < ::RuboCop::Cop::Base include ::RuboCop::Cop::AllowedMethods - # source://rubocop//lib/rubocop/cop/naming/predicate_name.rb#79 + # source://rubocop//lib/rubocop/cop/naming/predicate_name.rb#107 def dynamic_method_define(param0 = T.unsafe(nil)); end - # source://rubocop//lib/rubocop/cop/naming/predicate_name.rb#98 + # source://rubocop//lib/rubocop/cop/naming/predicate_name.rb#126 def on_def(node); end - # source://rubocop//lib/rubocop/cop/naming/predicate_name.rb#98 + # source://rubocop//lib/rubocop/cop/naming/predicate_name.rb#126 def on_defs(node); end - # source://rubocop//lib/rubocop/cop/naming/predicate_name.rb#85 + # source://rubocop//lib/rubocop/cop/naming/predicate_name.rb#113 def on_send(node); end - # source://rubocop//lib/rubocop/cop/naming/predicate_name.rb#112 + # source://rubocop//lib/rubocop/cop/naming/predicate_name.rb#154 + def sorbet_return_type(param0 = T.unsafe(nil)); end + + # source://rubocop//lib/rubocop/cop/naming/predicate_name.rb#141 def validate_config; end private # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/naming/predicate_name.rb#124 + # source://rubocop//lib/rubocop/cop/naming/predicate_name.rb#164 def allowed_method_name?(method_name, prefix); end - # source://rubocop//lib/rubocop/cop/naming/predicate_name.rb#132 + # source://rubocop//lib/rubocop/cop/naming/predicate_name.rb#172 def expected_name(method_name, prefix); end - # source://rubocop//lib/rubocop/cop/naming/predicate_name.rb#146 + # source://rubocop//lib/rubocop/cop/naming/predicate_name.rb#186 def forbidden_prefixes; end - # source://rubocop//lib/rubocop/cop/naming/predicate_name.rb#142 + # source://rubocop//lib/rubocop/cop/naming/predicate_name.rb#182 def message(method_name, new_name); end - # source://rubocop//lib/rubocop/cop/naming/predicate_name.rb#154 + # source://rubocop//lib/rubocop/cop/naming/predicate_name.rb#198 def method_definition_macros(macro_name); end - # source://rubocop//lib/rubocop/cop/naming/predicate_name.rb#150 + # source://rubocop//lib/rubocop/cop/naming/predicate_name.rb#190 def predicate_prefixes; end + + # @return [Boolean] + # + # source://rubocop//lib/rubocop/cop/naming/predicate_name.rb#158 + def sorbet_sig?(node, return_type: T.unsafe(nil)); end + + # @return [Boolean] + # + # source://rubocop//lib/rubocop/cop/naming/predicate_name.rb#194 + def use_sorbet_sigs?; end end # Makes sure that rescued exceptions variables are named as @@ -31046,7 +31453,7 @@ module RuboCop::Cop::RangeHelp # A range containing only the contents of a literal with delimiters (e.g. in # `%i{1 2 3}` this will be the range covering `1 2 3` only). # - # source://rubocop//lib/rubocop/cop/mixin/range_help.rb#32 + # source://rubocop//lib/rubocop/cop/mixin/range_help.rb#33 def contents_range(node); end # source://rubocop//lib/rubocop/cop/mixin/range_help.rb#99 @@ -31069,7 +31476,7 @@ module RuboCop::Cop::RangeHelp # source://rubocop//lib/rubocop/cop/mixin/range_help.rb#122 def move_pos_str(src, pos, step, condition, needle); end - # source://rubocop//lib/rubocop/cop/mixin/range_help.rb#36 + # source://rubocop//lib/rubocop/cop/mixin/range_help.rb#37 def range_between(start_pos, end_pos); end # source://rubocop//lib/rubocop/cop/mixin/range_help.rb#72 @@ -31081,22 +31488,22 @@ module RuboCop::Cop::RangeHelp # source://rubocop//lib/rubocop/cop/mixin/range_help.rb#129 def range_with_comments_and_lines(node); end - # source://rubocop//lib/rubocop/cop/mixin/range_help.rb#40 + # source://rubocop//lib/rubocop/cop/mixin/range_help.rb#41 def range_with_surrounding_comma(range, side = T.unsafe(nil)); end # source://rubocop//lib/rubocop/cop/mixin/range_help.rb#55 def range_with_surrounding_space(range_positional = T.unsafe(nil), range: T.unsafe(nil), side: T.unsafe(nil), newlines: T.unsafe(nil), whitespace: T.unsafe(nil), continuations: T.unsafe(nil), buffer: T.unsafe(nil)); end - # source://rubocop//lib/rubocop/cop/mixin/range_help.rb#11 + # source://rubocop//lib/rubocop/cop/mixin/range_help.rb#12 def source_range(source_buffer, line_number, column, length = T.unsafe(nil)); end end # The Unicode codepoint # -# source://rubocop//lib/rubocop/cop/mixin/range_help.rb#9 +# source://rubocop//lib/rubocop/cop/mixin/range_help.rb#7 RuboCop::Cop::RangeHelp::BYTE_ORDER_MARK = T.let(T.unsafe(nil), Integer) -# source://rubocop//lib/rubocop/cop/mixin/range_help.rb#54 +# source://rubocop//lib/rubocop/cop/mixin/range_help.rb#8 module RuboCop::Cop::RangeHelp::NOT_GIVEN; end # Common functionality for handling Rational literals. @@ -32583,6 +32990,39 @@ end # source://rubocop//lib/rubocop/cop/style/and_or.rb#49 RuboCop::Cop::Style::AndOr::MSG = T.let(T.unsafe(nil), String) +# In Ruby 2.7, arguments forwarding has been added. +# +# This cop identifies places where `do_something(*args, &block)` +# can be replaced by `do_something(...)`. +# +# In Ruby 3.1, anonymous block forwarding has been added. +# +# This cop identifies places where `do_something(&block)` can be replaced +# by `do_something(&)`; if desired, this functionality can be disabled +# by setting `UseAnonymousForwarding: false`. +# +# In Ruby 3.2, anonymous args/kwargs forwarding has been added. +# +# This cop also identifies places where `use_args(*args)`/`use_kwargs(**kwargs)` can be +# replaced by `use_args(*)`/`use_kwargs(**)`; if desired, this functionality can be disabled +# by setting `UseAnonymousForwarding: false`. +# +# And this cop has `RedundantRestArgumentNames`, `RedundantKeywordRestArgumentNames`, +# and `RedundantBlockArgumentNames` options. This configuration is a list of redundant names +# that are sufficient for anonymizing meaningless naming. +# +# Meaningless names that are commonly used can be anonymized by default: +# e.g., `*args`, `**options`, `&block`, and so on. +# +# Names not on this list are likely to be meaningful and are allowed by default. +# +# This cop handles not only method forwarding but also forwarding to `super`. +# +# [NOTE] +# ==== +# Because of a bug in Ruby 3.3.0, when a block is referenced inside of another block, +# no offense will be registered until Ruby 3.4: +# # [source,ruby] # ---- # def foo(&block) @@ -32590,7 +33030,7 @@ RuboCop::Cop::Style::AndOr::MSG = T.let(T.unsafe(nil), String) # block_method { bar(&block) } # end # ---- -# -- +# ==== # # @example RedundantBlockArgumentNames: ['blk', 'block', 'proc'] (default) # # bad - But it is good with `EnforcedStyle: explicit` set for `Naming/BlockForwarding`. @@ -47687,6 +48127,123 @@ RuboCop::Cop::Style::RedundantFilterChain::REPLACEMENT_METHODS = T.let(T.unsafe( # source://rubocop//lib/rubocop/cop/style/redundant_filter_chain.rb#59 RuboCop::Cop::Style::RedundantFilterChain::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) +# Checks for calls to `Kernel#format` or `Kernel#sprintf` that are redundant. +# +# Calling `format` with only a single string argument is redundant, as it can be +# replaced by the string itself. +# +# Also looks for `format` calls where the arguments are literals that can be +# inlined into a string easily. This applies to the `%s`, `%d`, `%i`, `%u`, and +# `%f` format specifiers. +# +# @example +# +# # bad +# format('the quick brown fox jumps over the lazy dog.') +# sprintf('the quick brown fox jumps over the lazy dog.') +# +# # good +# 'the quick brown fox jumps over the lazy dog.' +# +# # bad +# format('%s %s', 'foo', 'bar') +# sprintf('%s %s', 'foo', 'bar') +# +# # good +# 'foo bar' +# +# source://rubocop//lib/rubocop/cop/style/redundant_format.rb#47 +class RuboCop::Cop::Style::RedundantFormat < ::RuboCop::Cop::Base + extend ::RuboCop::Cop::AutoCorrector + + # source://rubocop//lib/rubocop/cop/style/redundant_format.rb#66 + def complex_number?(param0 = T.unsafe(nil)); end + + # source://rubocop//lib/rubocop/cop/style/redundant_format.rb#71 + def find_hash_value_node(param0, param1); end + + # source://rubocop//lib/rubocop/cop/style/redundant_format.rb#56 + def format_without_additional_args?(param0 = T.unsafe(nil)); end + + # source://rubocop//lib/rubocop/cop/style/redundant_format.rb#75 + def on_send(node); end + + # source://rubocop//lib/rubocop/cop/style/redundant_format.rb#61 + def rational_number?(param0 = T.unsafe(nil)); end + + private + + # @return [Boolean] + # + # source://rubocop//lib/rubocop/cop/style/redundant_format.rb#113 + def all_fields_literal?(string, arguments); end + + # source://rubocop//lib/rubocop/cop/style/redundant_format.rb#200 + def argument_value(argument); end + + # source://rubocop//lib/rubocop/cop/style/redundant_format.rb#196 + def argument_values(arguments); end + + # source://rubocop//lib/rubocop/cop/style/redundant_format.rb#232 + def complex_value(complex_node); end + + # source://rubocop//lib/rubocop/cop/style/redundant_format.rb#92 + def detect_unnecessary_fields(node); end + + # source://rubocop//lib/rubocop/cop/style/redundant_format.rb#218 + def dsym_value(dsym_node); end + + # source://rubocop//lib/rubocop/cop/style/redundant_format.rb#131 + def find_argument(sequence, arguments, hash); end + + # @return [Boolean] + # + # source://rubocop//lib/rubocop/cop/style/redundant_format.rb#172 + def float?(argument); end + + # source://rubocop//lib/rubocop/cop/style/redundant_format.rb#222 + def hash_value(hash_node); end + + # @return [Boolean] + # + # source://rubocop//lib/rubocop/cop/style/redundant_format.rb#168 + def integer?(argument); end + + # @return [Boolean] + # + # source://rubocop//lib/rubocop/cop/style/redundant_format.rb#144 + def matching_argument?(sequence, argument); end + + # source://rubocop//lib/rubocop/cop/style/redundant_format.rb#88 + def message(node); end + + # @return [Boolean] + # + # source://rubocop//lib/rubocop/cop/style/redundant_format.rb#162 + def numeric?(argument); end + + # Add correct quotes to the formatted string, preferring retaining the existing + # quotes if possible. + # + # source://rubocop//lib/rubocop/cop/style/redundant_format.rb#178 + def quote(string, node); end + + # source://rubocop//lib/rubocop/cop/style/redundant_format.rb#228 + def rational_value(rational_node); end + + # source://rubocop//lib/rubocop/cop/style/redundant_format.rb#104 + def register_all_fields_literal(node, string, arguments); end +end + +# source://rubocop//lib/rubocop/cop/style/redundant_format.rb#53 +RuboCop::Cop::Style::RedundantFormat::ACCEPTABLE_LITERAL_TYPES = T.let(T.unsafe(nil), Array) + +# source://rubocop//lib/rubocop/cop/style/redundant_format.rb#50 +RuboCop::Cop::Style::RedundantFormat::MSG = T.let(T.unsafe(nil), String) + +# source://rubocop//lib/rubocop/cop/style/redundant_format.rb#52 +RuboCop::Cop::Style::RedundantFormat::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Set) + # Check for uses of `Object#freeze` on immutable objects. # # NOTE: `Regexp` and `Range` literals are frozen objects since Ruby 3.0. @@ -48208,28 +48765,28 @@ class RuboCop::Cop::Style::RedundantParentheses < ::RuboCop::Cop::Base include ::RuboCop::Cop::Parentheses extend ::RuboCop::Cop::AutoCorrector - # source://rubocop//lib/rubocop/cop/style/redundant_parentheses.rb#32 + # source://rubocop//lib/rubocop/cop/style/redundant_parentheses.rb#34 def allowed_pin_operator?(param0 = T.unsafe(nil)); end - # source://rubocop//lib/rubocop/cop/style/redundant_parentheses.rb#261 + # source://rubocop//lib/rubocop/cop/style/redundant_parentheses.rb#275 def first_send_argument?(param0 = T.unsafe(nil)); end - # source://rubocop//lib/rubocop/cop/style/redundant_parentheses.rb#266 + # source://rubocop//lib/rubocop/cop/style/redundant_parentheses.rb#280 def first_super_argument?(param0 = T.unsafe(nil)); end - # source://rubocop//lib/rubocop/cop/style/redundant_parentheses.rb#271 + # source://rubocop//lib/rubocop/cop/style/redundant_parentheses.rb#285 def first_yield_argument?(param0 = T.unsafe(nil)); end - # source://rubocop//lib/rubocop/cop/style/redundant_parentheses.rb#169 + # source://rubocop//lib/rubocop/cop/style/redundant_parentheses.rb#177 def interpolation?(param0 = T.unsafe(nil)); end - # source://rubocop//lib/rubocop/cop/style/redundant_parentheses.rb#26 + # source://rubocop//lib/rubocop/cop/style/redundant_parentheses.rb#28 def method_node_and_args(param0 = T.unsafe(nil)); end - # source://rubocop//lib/rubocop/cop/style/redundant_parentheses.rb#34 + # source://rubocop//lib/rubocop/cop/style/redundant_parentheses.rb#36 def on_begin(node); end - # source://rubocop//lib/rubocop/cop/style/redundant_parentheses.rb#29 + # source://rubocop//lib/rubocop/cop/style/redundant_parentheses.rb#31 def rescue?(param0 = T.unsafe(nil)); end # source://rubocop//lib/rubocop/cop/style/redundant_parentheses.rb#23 @@ -48239,131 +48796,136 @@ class RuboCop::Cop::Style::RedundantParentheses < ::RuboCop::Cop::Base # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/redundant_parentheses.rb#171 + # source://rubocop//lib/rubocop/cop/style/redundant_parentheses.rb#179 def allow_in_multiline_conditions?; end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/redundant_parentheses.rb#64 + # source://rubocop//lib/rubocop/cop/style/redundant_parentheses.rb#70 def allowed_ancestor?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/redundant_parentheses.rb#57 + # source://rubocop//lib/rubocop/cop/style/redundant_parentheses.rb#63 def allowed_expression?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/redundant_parentheses.rb#69 + # source://rubocop//lib/rubocop/cop/style/redundant_parentheses.rb#75 def allowed_multiple_expression?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/redundant_parentheses.rb#78 + # source://rubocop//lib/rubocop/cop/style/redundant_parentheses.rb#84 def allowed_ternary?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/redundant_parentheses.rb#275 + # source://rubocop//lib/rubocop/cop/style/redundant_parentheses.rb#289 def call_chain_starts_with_int?(begin_node, send_node); end - # source://rubocop//lib/rubocop/cop/style/redundant_parentheses.rb#127 + # source://rubocop//lib/rubocop/cop/style/redundant_parentheses.rb#133 def check(begin_node); end - # source://rubocop//lib/rubocop/cop/style/redundant_parentheses.rb#175 + # source://rubocop//lib/rubocop/cop/style/redundant_parentheses.rb#183 def check_send(begin_node, node); end - # source://rubocop//lib/rubocop/cop/style/redundant_parentheses.rb#185 + # source://rubocop//lib/rubocop/cop/style/redundant_parentheses.rb#193 def check_unary(begin_node, node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/redundant_parentheses.rb#209 + # source://rubocop//lib/rubocop/cop/style/redundant_parentheses.rb#217 def disallowed_literal?(begin_node, node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/redundant_parentheses.rb#281 + # source://rubocop//lib/rubocop/cop/style/redundant_parentheses.rb#295 def do_end_block_in_method_chain?(begin_node, node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/redundant_parentheses.rb#105 + # source://rubocop//lib/rubocop/cop/style/redundant_parentheses.rb#111 def empty_parentheses?(node); end - # source://rubocop//lib/rubocop/cop/style/redundant_parentheses.rb#138 + # source://rubocop//lib/rubocop/cop/style/redundant_parentheses.rb#146 def find_offense_message(begin_node, node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/redundant_parentheses.rb#110 + # source://rubocop//lib/rubocop/cop/style/redundant_parentheses.rb#116 def first_arg_begins_with_hash_literal?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/redundant_parentheses.rb#250 + # source://rubocop//lib/rubocop/cop/style/redundant_parentheses.rb#264 def first_argument?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/redundant_parentheses.rb#50 + # source://rubocop//lib/rubocop/cop/style/redundant_parentheses.rb#56 def ignore_syntax?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/redundant_parentheses.rb#205 + # source://rubocop//lib/rubocop/cop/style/redundant_parentheses.rb#213 def keyword_ancestor?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/redundant_parentheses.rb#224 + # source://rubocop//lib/rubocop/cop/style/redundant_parentheses.rb#238 def keyword_with_redundant_parentheses?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/redundant_parentheses.rb#91 + # source://rubocop//lib/rubocop/cop/style/redundant_parentheses.rb#97 def like_method_argument_parentheses?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/redundant_parentheses.rb#237 + # source://rubocop//lib/rubocop/cop/style/redundant_parentheses.rb#251 def method_call_with_redundant_parentheses?(node); end - # source://rubocop//lib/rubocop/cop/style/redundant_parentheses.rb#119 + # source://rubocop//lib/rubocop/cop/style/redundant_parentheses.rb#125 def method_chain_begins_with_hash_literal(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/redundant_parentheses.rb#98 + # source://rubocop//lib/rubocop/cop/style/redundant_parentheses.rb#104 def multiline_control_flow_statements?(node); end - # source://rubocop//lib/rubocop/cop/style/redundant_parentheses.rb#195 + # source://rubocop//lib/rubocop/cop/style/redundant_parentheses.rb#203 def offense(node, msg); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/redundant_parentheses.rb#246 + # source://rubocop//lib/rubocop/cop/style/redundant_parentheses.rb#260 def only_begin_arg?(args); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/redundant_parentheses.rb#42 + # source://rubocop//lib/rubocop/cop/style/redundant_parentheses.rb#48 def parens_allowed?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/redundant_parentheses.rb#213 + # source://rubocop//lib/rubocop/cop/style/redundant_parentheses.rb#227 def raised_to_power_negative_numeric?(begin_node, node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/redundant_parentheses.rb#201 + # source://rubocop//lib/rubocop/cop/style/redundant_parentheses.rb#209 def suspect_unary?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/redundant_parentheses.rb#84 + # source://rubocop//lib/rubocop/cop/style/redundant_parentheses.rb#90 def ternary_parentheses_required?; end + + # @return [Boolean] + # + # source://rubocop//lib/rubocop/cop/style/redundant_parentheses.rb#44 + def variable?(node); end end # source://rubocop//lib/rubocop/cop/style/redundant_parentheses.rb#20 @@ -55112,40 +55674,40 @@ module RuboCop::Cop::Utils; end class RuboCop::Cop::Utils::FormatString # @return [FormatString] a new instance of FormatString # - # source://rubocop//lib/rubocop/cop/utils/format_string.rb#89 + # source://rubocop//lib/rubocop/cop/utils/format_string.rb#91 def initialize(string); end - # source://rubocop//lib/rubocop/cop/utils/format_string.rb#93 + # source://rubocop//lib/rubocop/cop/utils/format_string.rb#95 def format_sequences; end - # source://rubocop//lib/rubocop/cop/utils/format_string.rb#105 + # source://rubocop//lib/rubocop/cop/utils/format_string.rb#107 def max_digit_dollar_num; end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/utils/format_string.rb#101 + # source://rubocop//lib/rubocop/cop/utils/format_string.rb#103 def named_interpolation?; end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/utils/format_string.rb#97 + # source://rubocop//lib/rubocop/cop/utils/format_string.rb#99 def valid?; end private # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/utils/format_string.rb#117 + # source://rubocop//lib/rubocop/cop/utils/format_string.rb#119 def mixed_formats?; end - # source://rubocop//lib/rubocop/cop/utils/format_string.rb#111 + # source://rubocop//lib/rubocop/cop/utils/format_string.rb#113 def parse; end end # source://rubocop//lib/rubocop/cop/utils/format_string.rb#8 RuboCop::Cop::Utils::FormatString::DIGIT_DOLLAR = T.let(T.unsafe(nil), Regexp) -# source://rubocop//lib/rubocop/cop/utils/format_string.rb#9 +# source://rubocop//lib/rubocop/cop/utils/format_string.rb#10 RuboCop::Cop::Utils::FormatString::FLAG = T.let(T.unsafe(nil), Regexp) # The syntax of a format sequence is as follows. @@ -55162,97 +55724,105 @@ RuboCop::Cop::Utils::FormatString::FLAG = T.let(T.unsafe(nil), Regexp) # # @see https://ruby-doc.org/core-2.6.3/Kernel.html#method-i-format # -# source://rubocop//lib/rubocop/cop/utils/format_string.rb#43 +# source://rubocop//lib/rubocop/cop/utils/format_string.rb#44 class RuboCop::Cop::Utils::FormatString::FormatSequence # @return [FormatSequence] a new instance of FormatSequence # - # source://rubocop//lib/rubocop/cop/utils/format_string.rb#46 + # source://rubocop//lib/rubocop/cop/utils/format_string.rb#47 def initialize(match); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/utils/format_string.rb#61 + # source://rubocop//lib/rubocop/cop/utils/format_string.rb#63 def annotated?; end + # Returns the value of attribute arg_number. + # + # source://rubocop//lib/rubocop/cop/utils/format_string.rb#45 + def arg_number; end + # Number of arguments required for the format sequence # - # source://rubocop//lib/rubocop/cop/utils/format_string.rb#70 + # source://rubocop//lib/rubocop/cop/utils/format_string.rb#72 def arity; end # Returns the value of attribute begin_pos. # - # source://rubocop//lib/rubocop/cop/utils/format_string.rb#44 + # source://rubocop//lib/rubocop/cop/utils/format_string.rb#45 def begin_pos; end # Returns the value of attribute end_pos. # - # source://rubocop//lib/rubocop/cop/utils/format_string.rb#44 + # source://rubocop//lib/rubocop/cop/utils/format_string.rb#45 def end_pos; end # Returns the value of attribute flags. # - # source://rubocop//lib/rubocop/cop/utils/format_string.rb#44 + # source://rubocop//lib/rubocop/cop/utils/format_string.rb#45 def flags; end - # source://rubocop//lib/rubocop/cop/utils/format_string.rb#74 + # source://rubocop//lib/rubocop/cop/utils/format_string.rb#76 def max_digit_dollar_num; end # Returns the value of attribute name. # - # source://rubocop//lib/rubocop/cop/utils/format_string.rb#44 + # source://rubocop//lib/rubocop/cop/utils/format_string.rb#45 def name; end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/utils/format_string.rb#57 + # source://rubocop//lib/rubocop/cop/utils/format_string.rb#59 def percent?; end # Returns the value of attribute precision. # - # source://rubocop//lib/rubocop/cop/utils/format_string.rb#44 + # source://rubocop//lib/rubocop/cop/utils/format_string.rb#45 def precision; end - # source://rubocop//lib/rubocop/cop/utils/format_string.rb#78 + # source://rubocop//lib/rubocop/cop/utils/format_string.rb#80 def style; end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/utils/format_string.rb#65 + # source://rubocop//lib/rubocop/cop/utils/format_string.rb#67 def template?; end # Returns the value of attribute type. # - # source://rubocop//lib/rubocop/cop/utils/format_string.rb#44 + # source://rubocop//lib/rubocop/cop/utils/format_string.rb#45 def type; end # Returns the value of attribute width. # - # source://rubocop//lib/rubocop/cop/utils/format_string.rb#44 + # source://rubocop//lib/rubocop/cop/utils/format_string.rb#45 def width; end end -# source://rubocop//lib/rubocop/cop/utils/format_string.rb#15 -RuboCop::Cop::Utils::FormatString::NAME = T.let(T.unsafe(nil), Regexp) - -# source://rubocop//lib/rubocop/cop/utils/format_string.rb#11 -RuboCop::Cop::Utils::FormatString::NUMBER = T.let(T.unsafe(nil), Regexp) - -# source://rubocop//lib/rubocop/cop/utils/format_string.rb#10 -RuboCop::Cop::Utils::FormatString::NUMBER_ARG = T.let(T.unsafe(nil), Regexp) - -# source://rubocop//lib/rubocop/cop/utils/format_string.rb#13 -RuboCop::Cop::Utils::FormatString::PRECISION = T.let(T.unsafe(nil), Regexp) - -# source://rubocop//lib/rubocop/cop/utils/format_string.rb#18 -RuboCop::Cop::Utils::FormatString::SEQUENCE = T.let(T.unsafe(nil), Regexp) +# source://rubocop//lib/rubocop/cop/utils/format_string.rb#9 +RuboCop::Cop::Utils::FormatString::INTERPOLATION = T.let(T.unsafe(nil), Regexp) # source://rubocop//lib/rubocop/cop/utils/format_string.rb#16 -RuboCop::Cop::Utils::FormatString::TEMPLATE_NAME = T.let(T.unsafe(nil), Regexp) - -# source://rubocop//lib/rubocop/cop/utils/format_string.rb#14 -RuboCop::Cop::Utils::FormatString::TYPE = T.let(T.unsafe(nil), Regexp) +RuboCop::Cop::Utils::FormatString::NAME = T.let(T.unsafe(nil), Regexp) # source://rubocop//lib/rubocop/cop/utils/format_string.rb#12 +RuboCop::Cop::Utils::FormatString::NUMBER = T.let(T.unsafe(nil), Regexp) + +# source://rubocop//lib/rubocop/cop/utils/format_string.rb#11 +RuboCop::Cop::Utils::FormatString::NUMBER_ARG = T.let(T.unsafe(nil), Regexp) + +# source://rubocop//lib/rubocop/cop/utils/format_string.rb#14 +RuboCop::Cop::Utils::FormatString::PRECISION = T.let(T.unsafe(nil), Regexp) + +# source://rubocop//lib/rubocop/cop/utils/format_string.rb#19 +RuboCop::Cop::Utils::FormatString::SEQUENCE = T.let(T.unsafe(nil), Regexp) + +# source://rubocop//lib/rubocop/cop/utils/format_string.rb#17 +RuboCop::Cop::Utils::FormatString::TEMPLATE_NAME = T.let(T.unsafe(nil), Regexp) + +# source://rubocop//lib/rubocop/cop/utils/format_string.rb#15 +RuboCop::Cop::Utils::FormatString::TYPE = T.let(T.unsafe(nil), Regexp) + +# source://rubocop//lib/rubocop/cop/utils/format_string.rb#13 RuboCop::Cop::Utils::FormatString::WIDTH = T.let(T.unsafe(nil), Regexp) # Helper to abstract complexity of building range pairs @@ -56526,149 +57096,171 @@ RuboCop::Cop::VisibilityHelp::VISIBILITY_SCOPES = T.let(T.unsafe(nil), Set) class RuboCop::DirectiveComment # @return [DirectiveComment] a new instance of DirectiveComment # - # source://rubocop//lib/rubocop/directive_comment.rb#32 + # source://rubocop//lib/rubocop/directive_comment.rb#46 def initialize(comment, cop_registry = T.unsafe(nil)); end # Checks if all cops specified in this directive # # @return [Boolean] # - # source://rubocop//lib/rubocop/directive_comment.rb#82 + # source://rubocop//lib/rubocop/directive_comment.rb#115 def all_cops?; end # Returns the value of attribute comment. # - # source://rubocop//lib/rubocop/directive_comment.rb#30 + # source://rubocop//lib/rubocop/directive_comment.rb#44 def comment; end # Returns array of specified in this directive cop names # - # source://rubocop//lib/rubocop/directive_comment.rb#87 + # source://rubocop//lib/rubocop/directive_comment.rb#120 def cop_names; end # Returns the value of attribute cop_registry. # - # source://rubocop//lib/rubocop/directive_comment.rb#30 + # source://rubocop//lib/rubocop/directive_comment.rb#44 def cop_registry; end # Returns the value of attribute cops. # - # source://rubocop//lib/rubocop/directive_comment.rb#30 + # source://rubocop//lib/rubocop/directive_comment.rb#44 def cops; end # Returns array of specified in this directive department names # when all department disabled # - # source://rubocop//lib/rubocop/directive_comment.rb#98 + # source://rubocop//lib/rubocop/directive_comment.rb#131 def department_names; end - # source://rubocop//lib/rubocop/directive_comment.rb#112 + # source://rubocop//lib/rubocop/directive_comment.rb#145 def directive_count; end # Checks if this directive disables cops # # @return [Boolean] # - # source://rubocop//lib/rubocop/directive_comment.rb#62 + # source://rubocop//lib/rubocop/directive_comment.rb#95 def disabled?; end # Checks if this directive disables all cops # # @return [Boolean] # - # source://rubocop//lib/rubocop/directive_comment.rb#77 + # source://rubocop//lib/rubocop/directive_comment.rb#110 def disabled_all?; end # Checks if this directive enables cops # # @return [Boolean] # - # source://rubocop//lib/rubocop/directive_comment.rb#67 + # source://rubocop//lib/rubocop/directive_comment.rb#100 def enabled?; end # Checks if this directive enables all cops # # @return [Boolean] # - # source://rubocop//lib/rubocop/directive_comment.rb#72 + # source://rubocop//lib/rubocop/directive_comment.rb#105 def enabled_all?; end # Checks if directive departments include cop # # @return [Boolean] # - # source://rubocop//lib/rubocop/directive_comment.rb#103 + # source://rubocop//lib/rubocop/directive_comment.rb#136 def in_directive_department?(cop); end # Returns line number for directive # - # source://rubocop//lib/rubocop/directive_comment.rb#117 + # source://rubocop//lib/rubocop/directive_comment.rb#150 def line_number; end + # @return [Boolean] + # + # source://rubocop//lib/rubocop/directive_comment.rb#59 + def malformed?; end + # Checks if this directive contains all the given cop names # # @return [Boolean] # - # source://rubocop//lib/rubocop/directive_comment.rb#44 + # source://rubocop//lib/rubocop/directive_comment.rb#77 def match?(cop_names); end # Returns match captures to directive comment pattern # - # source://rubocop//lib/rubocop/directive_comment.rb#57 + # source://rubocop//lib/rubocop/directive_comment.rb#90 def match_captures; end + # Checks if the directive comment is missing a cop name + # + # @return [Boolean] + # + # source://rubocop//lib/rubocop/directive_comment.rb#67 + def missing_cop_name?; end + # Returns the value of attribute mode. # - # source://rubocop//lib/rubocop/directive_comment.rb#30 + # source://rubocop//lib/rubocop/directive_comment.rb#44 def mode; end # Checks if cop department has already used in directive comment # # @return [Boolean] # - # source://rubocop//lib/rubocop/directive_comment.rb#108 + # source://rubocop//lib/rubocop/directive_comment.rb#141 def overridden_by_department?(cop); end - # source://rubocop//lib/rubocop/directive_comment.rb#48 + # source://rubocop//lib/rubocop/directive_comment.rb#81 def range; end # Returns an array of cops for this directive comment, without resolving departments # - # source://rubocop//lib/rubocop/directive_comment.rb#92 + # source://rubocop//lib/rubocop/directive_comment.rb#125 def raw_cop_names; end # Checks if this directive relates to single line # # @return [Boolean] # - # source://rubocop//lib/rubocop/directive_comment.rb#39 + # source://rubocop//lib/rubocop/directive_comment.rb#72 def single_line?; end + # @return [Boolean] + # + # source://rubocop//lib/rubocop/directive_comment.rb#54 + def start_with_marker?; end + private - # source://rubocop//lib/rubocop/directive_comment.rb#134 + # source://rubocop//lib/rubocop/directive_comment.rb#167 def all_cop_names; end - # source://rubocop//lib/rubocop/directive_comment.rb#138 + # source://rubocop//lib/rubocop/directive_comment.rb#171 def cop_names_for_department(department); end # @return [Boolean] # - # source://rubocop//lib/rubocop/directive_comment.rb#130 + # source://rubocop//lib/rubocop/directive_comment.rb#163 def department?(name); end - # source://rubocop//lib/rubocop/directive_comment.rb#143 + # source://rubocop//lib/rubocop/directive_comment.rb#176 def exclude_lint_department_cops(cops); end - # source://rubocop//lib/rubocop/directive_comment.rb#123 + # source://rubocop//lib/rubocop/directive_comment.rb#156 def parsed_cop_names; end class << self - # source://rubocop//lib/rubocop/directive_comment.rb#26 + # source://rubocop//lib/rubocop/directive_comment.rb#40 def before_comment(line); end end end +# @api private +# +# source://rubocop//lib/rubocop/directive_comment.rb#21 +RuboCop::DirectiveComment::AVAILABLE_MODES = T.let(T.unsafe(nil), Array) + # @api private # # source://rubocop//lib/rubocop/directive_comment.rb#19 @@ -56686,9 +57278,24 @@ RuboCop::DirectiveComment::COP_NAME_PATTERN = T.let(T.unsafe(nil), String) # @api private # -# source://rubocop//lib/rubocop/directive_comment.rb#21 +# source://rubocop//lib/rubocop/directive_comment.rb#29 RuboCop::DirectiveComment::DIRECTIVE_COMMENT_REGEXP = T.let(T.unsafe(nil), Regexp) +# @api private +# +# source://rubocop//lib/rubocop/directive_comment.rb#27 +RuboCop::DirectiveComment::DIRECTIVE_HEADER_PATTERN = T.let(T.unsafe(nil), String) + +# @api private +# +# source://rubocop//lib/rubocop/directive_comment.rb#23 +RuboCop::DirectiveComment::DIRECTIVE_MARKER_PATTERN = T.let(T.unsafe(nil), String) + +# @api private +# +# source://rubocop//lib/rubocop/directive_comment.rb#25 +RuboCop::DirectiveComment::DIRECTIVE_MARKER_REGEXP = T.let(T.unsafe(nil), Regexp) + # @api private # # source://rubocop//lib/rubocop/directive_comment.rb#9 @@ -56704,6 +57311,16 @@ RuboCop::DirectiveComment::LINT_REDUNDANT_DIRECTIVE_COP = T.let(T.unsafe(nil), S # source://rubocop//lib/rubocop/directive_comment.rb#13 RuboCop::DirectiveComment::LINT_SYNTAX_COP = T.let(T.unsafe(nil), String) +# @api private +# +# source://rubocop//lib/rubocop/directive_comment.rb#36 +RuboCop::DirectiveComment::MALFORMED_DIRECTIVE_WITHOUT_COP_NAME_REGEXP = T.let(T.unsafe(nil), Regexp) + +# @api private +# +# source://rubocop//lib/rubocop/directive_comment.rb#34 +RuboCop::DirectiveComment::TRAILING_COMMENT_MARKER = T.let(T.unsafe(nil), String) + # An Error exception is different from an Offense with severity 'error' # When this exception is raised, it means that RuboCop is unable to perform # a requested action (probably due to misconfiguration) and must stop @@ -58829,7 +59446,7 @@ class RuboCop::Options # @api private # - # source://rubocop//lib/rubocop/options.rb#253 + # source://rubocop//lib/rubocop/options.rb#254 def add_profile_options(opts); end # @api private @@ -58849,7 +59466,7 @@ class RuboCop::Options # @api private # - # source://rubocop//lib/rubocop/options.rb#263 + # source://rubocop//lib/rubocop/options.rb#264 def handle_deprecated_option(old_option, new_option); end # Finds the option in `args` starting with -- and converts it to a symbol, @@ -58857,7 +59474,7 @@ class RuboCop::Options # # @api private # - # source://rubocop//lib/rubocop/options.rb#297 + # source://rubocop//lib/rubocop/options.rb#298 def long_opt_symbol(args); end # Sets a value in the @options hash, based on the given long option and its @@ -58865,17 +59482,22 @@ class RuboCop::Options # # @api private # - # source://rubocop//lib/rubocop/options.rb#286 + # source://rubocop//lib/rubocop/options.rb#287 def option(opts, *args); end # @api private # - # source://rubocop//lib/rubocop/options.rb#268 + # source://rubocop//lib/rubocop/options.rb#303 + def plugin_feature(file); end + + # @api private + # + # source://rubocop//lib/rubocop/options.rb#269 def rainbow; end # @api private # - # source://rubocop//lib/rubocop/options.rb#302 + # source://rubocop//lib/rubocop/options.rb#309 def require_feature(file); end # Creates a section of options in order to separate them visually when @@ -58883,7 +59505,7 @@ class RuboCop::Options # # @api private # - # source://rubocop//lib/rubocop/options.rb#278 + # source://rubocop//lib/rubocop/options.rb#279 def section(opts, heading, &_block); end end @@ -58906,125 +59528,125 @@ RuboCop::Options::E_STDIN_NO_PATH = T.let(T.unsafe(nil), String) # # @api private # -# source://rubocop//lib/rubocop/options.rb#498 +# source://rubocop//lib/rubocop/options.rb#512 module RuboCop::OptionsHelp; end # @api private # -# source://rubocop//lib/rubocop/options.rb#500 +# source://rubocop//lib/rubocop/options.rb#514 RuboCop::OptionsHelp::FORMATTER_OPTION_LIST = T.let(T.unsafe(nil), Array) # @api private # -# source://rubocop//lib/rubocop/options.rb#499 +# source://rubocop//lib/rubocop/options.rb#513 RuboCop::OptionsHelp::MAX_EXCL = T.let(T.unsafe(nil), String) # @api private # -# source://rubocop//lib/rubocop/options.rb#502 +# source://rubocop//lib/rubocop/options.rb#516 RuboCop::OptionsHelp::TEXT = T.let(T.unsafe(nil), Hash) # Validates option arguments and the options' compatibility with each other. # # @api private # -# source://rubocop//lib/rubocop/options.rb#312 +# source://rubocop//lib/rubocop/options.rb#327 class RuboCop::OptionsValidator # @api private # @return [OptionsValidator] a new instance of OptionsValidator # - # source://rubocop//lib/rubocop/options.rb#350 + # source://rubocop//lib/rubocop/options.rb#365 def initialize(options); end # @api private # @return [Boolean] # - # source://rubocop//lib/rubocop/options.rb#472 + # source://rubocop//lib/rubocop/options.rb#486 def boolean_or_empty_cache?; end # @api private # - # source://rubocop//lib/rubocop/options.rb#442 + # source://rubocop//lib/rubocop/options.rb#456 def disable_parallel_when_invalid_option_combo; end # @api private # @return [Boolean] # - # source://rubocop//lib/rubocop/options.rb#468 + # source://rubocop//lib/rubocop/options.rb#482 def except_syntax?; end # @api private # - # source://rubocop//lib/rubocop/options.rb#476 + # source://rubocop//lib/rubocop/options.rb#490 def incompatible_options; end # @api private # - # source://rubocop//lib/rubocop/options.rb#455 + # source://rubocop//lib/rubocop/options.rb#469 def invalid_arguments_for_parallel; end # @api private # @return [Boolean] # - # source://rubocop//lib/rubocop/options.rb#463 + # source://rubocop//lib/rubocop/options.rb#477 def only_includes_redundant_disable?; end # @api private # - # source://rubocop//lib/rubocop/options.rb#382 + # source://rubocop//lib/rubocop/options.rb#397 def validate_auto_gen_config; end # @api private # @raise [OptionArgumentError] # - # source://rubocop//lib/rubocop/options.rb#428 + # source://rubocop//lib/rubocop/options.rb#442 def validate_autocorrect; end # @api private # @raise [OptionArgumentError] # - # source://rubocop//lib/rubocop/options.rb#488 + # source://rubocop//lib/rubocop/options.rb#502 def validate_cache_enabled_for_cache_root; end # @api private # @raise [OptionArgumentError] # - # source://rubocop//lib/rubocop/options.rb#359 + # source://rubocop//lib/rubocop/options.rb#374 def validate_compatibility; end # @api private # - # source://rubocop//lib/rubocop/options.rb#354 + # source://rubocop//lib/rubocop/options.rb#369 def validate_cop_options; end # @api private # @raise [OptionArgumentError] # - # source://rubocop//lib/rubocop/options.rb#403 + # source://rubocop//lib/rubocop/options.rb#418 def validate_display_only_correctable_and_autocorrect; end # @api private # @raise [OptionArgumentError] # - # source://rubocop//lib/rubocop/options.rb#395 + # source://rubocop//lib/rubocop/options.rb#410 def validate_display_only_failed; end # @api private # @raise [OptionArgumentError] # - # source://rubocop//lib/rubocop/options.rb#412 + # source://rubocop//lib/rubocop/options.rb#427 def validate_display_only_failed_and_display_only_correctable; end # @api private # @raise [OptionParser::MissingArgument] # - # source://rubocop//lib/rubocop/options.rb#480 + # source://rubocop//lib/rubocop/options.rb#494 def validate_exclude_limit_option; end # @api private # @raise [OptionArgumentError] # - # source://rubocop//lib/rubocop/options.rb#421 + # source://rubocop//lib/rubocop/options.rb#436 def validate_lsp_and_editor_mode; end class << self @@ -59033,14 +59655,14 @@ class RuboCop::OptionsValidator # # @api private # - # source://rubocop//lib/rubocop/options.rb#319 + # source://rubocop//lib/rubocop/options.rb#334 def validate_cop_list(names); end private # @api private # - # source://rubocop//lib/rubocop/options.rb#336 + # source://rubocop//lib/rubocop/options.rb#351 def format_message_from(name, cop_names); end end end @@ -59053,35 +59675,38 @@ module RuboCop::PathUtil # Returns true for an absolute Unix or Windows path. # - # source://rubocop//lib/rubocop/path_util.rb#79 + # source://rubocop//lib/rubocop/path_util.rb#83 def absolute?(path); end # Returns true for a glob # - # source://rubocop//lib/rubocop/path_util.rb#84 + # source://rubocop//lib/rubocop/path_util.rb#88 def glob?(path); end - # source://rubocop//lib/rubocop/path_util.rb#114 + # source://rubocop//lib/rubocop/path_util.rb#118 def hidden_dir?(path); end - # source://rubocop//lib/rubocop/path_util.rb#97 + # source://rubocop//lib/rubocop/path_util.rb#101 def hidden_file?(path); end - # source://rubocop//lib/rubocop/path_util.rb#88 + # source://rubocop//lib/rubocop/path_util.rb#92 def hidden_file_in_not_hidden_dir?(pattern, path); end - # source://rubocop//lib/rubocop/path_util.rb#51 + # source://rubocop//lib/rubocop/path_util.rb#55 def match_path?(pattern, path); end # Loose check to reduce memory allocations # - # source://rubocop//lib/rubocop/path_util.rb#104 + # source://rubocop//lib/rubocop/path_util.rb#108 def maybe_hidden_file?(path); end # source://rubocop//lib/rubocop/path_util.rb#13 def relative_path(path, base_dir = T.unsafe(nil)); end - # source://rubocop//lib/rubocop/path_util.rb#34 + # source://rubocop//lib/rubocop/path_util.rb#31 + def remote_file?(uri); end + + # source://rubocop//lib/rubocop/path_util.rb#38 def smart_path(path); end class << self @@ -59089,41 +59714,41 @@ module RuboCop::PathUtil # # @return [Boolean] # - # source://rubocop//lib/rubocop/path_util.rb#79 + # source://rubocop//lib/rubocop/path_util.rb#83 def absolute?(path); end # Returns true for a glob # # @return [Boolean] # - # source://rubocop//lib/rubocop/path_util.rb#84 + # source://rubocop//lib/rubocop/path_util.rb#88 def glob?(path); end # @return [Boolean] # - # source://rubocop//lib/rubocop/path_util.rb#114 + # source://rubocop//lib/rubocop/path_util.rb#118 def hidden_dir?(path); end # @return [Boolean] # - # source://rubocop//lib/rubocop/path_util.rb#97 + # source://rubocop//lib/rubocop/path_util.rb#101 def hidden_file?(path); end # @return [Boolean] # - # source://rubocop//lib/rubocop/path_util.rb#88 + # source://rubocop//lib/rubocop/path_util.rb#92 def hidden_file_in_not_hidden_dir?(pattern, path); end # @return [Boolean] # - # source://rubocop//lib/rubocop/path_util.rb#51 + # source://rubocop//lib/rubocop/path_util.rb#55 def match_path?(pattern, path); end # Loose check to reduce memory allocations # # @return [Boolean] # - # source://rubocop//lib/rubocop/path_util.rb#104 + # source://rubocop//lib/rubocop/path_util.rb#108 def maybe_hidden_file?(path); end # source://rubocop//lib/rubocop/path_util.rb#13 @@ -59141,15 +59766,20 @@ module RuboCop::PathUtil # source://rubocop//lib/rubocop/path_util.rb#7 def relative_paths_cache=(_arg0); end - # source://rubocop//lib/rubocop/path_util.rb#34 + # @return [Boolean] + # + # source://rubocop//lib/rubocop/path_util.rb#31 + def remote_file?(uri); end + + # source://rubocop//lib/rubocop/path_util.rb#38 def smart_path(path); end end end -# source://rubocop//lib/rubocop/path_util.rb#101 +# source://rubocop//lib/rubocop/path_util.rb#105 RuboCop::PathUtil::HIDDEN_FILE_PATTERN = T.let(T.unsafe(nil), String) -# source://rubocop//lib/rubocop/path_util.rb#31 +# source://rubocop//lib/rubocop/path_util.rb#35 RuboCop::PathUtil::SMART_PATH_CACHE = T.let(T.unsafe(nil), Hash) # This module provides information on the platform that RuboCop is being run @@ -59165,6 +59795,196 @@ module RuboCop::Platform end end +# Provides a plugin for RuboCop extensions that conform to lint_roller. +# https://github.com/standardrb/lint_roller +# +# @api private +# +# source://rubocop//lib/rubocop/plugin/not_supported_error.rb#4 +module RuboCop::Plugin + class << self + # @api private + # + # source://rubocop//lib/rubocop/plugin.rb#30 + def integrate_plugins(rubocop_config, plugins); end + + # @api private + # @return [Boolean] + # + # source://rubocop//lib/rubocop/plugin.rb#22 + def plugin_capable?(feature_name); end + end +end + +# @api private +# +# source://rubocop//lib/rubocop/plugin.rb#11 +RuboCop::Plugin::BUILTIN_INTERNAL_PLUGINS = T.let(T.unsafe(nil), Hash) + +# A class for integrating plugin configurations into RuboCop. +# Handles configuration merging, validation, and compatibility for plugins. +# +# @api private +# +# source://rubocop//lib/rubocop/plugin/configuration_integrator.rb#11 +class RuboCop::Plugin::ConfigurationIntegrator + class << self + # @api private + # + # source://rubocop//lib/rubocop/plugin/configuration_integrator.rb#13 + def integrate_plugins_into_rubocop_config(rubocop_config, plugins); end + + private + + # @api private + # + # source://rubocop//lib/rubocop/plugin/configuration_integrator.rb#44 + def combine_rubocop_configs(default_config, runner_context, plugins); end + + # @api private + # + # source://rubocop//lib/rubocop/plugin/configuration_integrator.rb#27 + def create_context(rubocop_config); end + + # @api private + # + # source://rubocop//lib/rubocop/plugin/configuration_integrator.rb#81 + def fake_out_rubocop_default_configuration(default_config); end + + # @api private + # + # source://rubocop//lib/rubocop/plugin/configuration_integrator.rb#92 + def load_plugin_rubocop_config(plugin, runner_context); end + + # This is how we ensure "first-in wins": plugins can override AllCops settings that are + # set by RuboCop's default configuration, but once a plugin sets an AllCop setting, they + # have exclusive first-in-wins rights to that setting. + # + # The one exception to this are array fields, because we don't want to + # overwrite the AllCops defaults but rather munge the arrays (`existing | + # new`) to allow plugins to add to the array, for example Include and + # Exclude paths and patterns. + # + # @api private + # + # source://rubocop//lib/rubocop/plugin/configuration_integrator.rb#118 + def merge_all_cop_settings(existing_all_cops, new_all_cops, already_configured_keys); end + + # @api private + # + # source://rubocop//lib/rubocop/plugin/configuration_integrator.rb#67 + def merge_plugin_config_into_all_cops!(rubocop_config, plugin_config); end + + # @api private + # + # source://rubocop//lib/rubocop/plugin/configuration_integrator.rb#71 + def merge_plugin_config_into_default_config!(default_config, plugin_config); end + + # @api private + # + # source://rubocop//lib/rubocop/plugin/configuration_integrator.rb#137 + def resolver; end + + # @api private + # @raise [Plugin::NotSupportedError] + # + # source://rubocop//lib/rubocop/plugin/configuration_integrator.rb#37 + def validate_plugins!(plugins, runner_context); end + end +end + +# @api private +# +# source://rubocop//lib/rubocop/plugin.rb#18 +RuboCop::Plugin::INTERNAL_AFFAIRS_PLUGIN_NAME = T.let(T.unsafe(nil), String) + +# An exception raised when a plugin fails to load. +# +# @api private +# +# source://rubocop//lib/rubocop/plugin/load_error.rb#7 +class RuboCop::Plugin::LoadError < ::RuboCop::Error + # @api private + # @return [LoadError] a new instance of LoadError + # + # source://rubocop//lib/rubocop/plugin/load_error.rb#8 + def initialize(plugin_name); end + + # @api private + # + # source://rubocop//lib/rubocop/plugin/load_error.rb#14 + def message; end +end + +# A class for loading and resolving plugins. +# +# @api private +# +# source://rubocop//lib/rubocop/plugin/loader.rb#10 +class RuboCop::Plugin::Loader + class << self + # @api private + # + # source://rubocop//lib/rubocop/plugin/loader.rb#20 + def load(plugins); end + + private + + # @api private + # + # source://rubocop//lib/rubocop/plugin/loader.rb#70 + def constantize(plugin_name, plugin_config); end + + # @api private + # + # source://rubocop//lib/rubocop/plugin/loader.rb#61 + def constantize_plugin_from(plugin_name, plugin_config); end + + # @api private + # + # source://rubocop//lib/rubocop/plugin/loader.rb#90 + def constantize_plugin_from_gemspec_metadata(plugin_name); end + + # @api private + # + # source://rubocop//lib/rubocop/plugin/loader.rb#34 + def normalize(plugin_configs); end + + # @api private + # + # source://rubocop//lib/rubocop/plugin/loader.rb#86 + def require_plugin(require_path); end + end +end + +# @api private +# +# source://rubocop//lib/rubocop/plugin/loader.rb#12 +RuboCop::Plugin::Loader::DEFAULT_PLUGIN_CONFIG = T.let(T.unsafe(nil), Hash) + +# An exception raised when a plugin is not supported by the RuboCop engine. +# +# @api private +# +# source://rubocop//lib/rubocop/plugin/not_supported_error.rb#7 +class RuboCop::Plugin::NotSupportedError < ::RuboCop::Error + # @api private + # @return [NotSupportedError] a new instance of NotSupportedError + # + # source://rubocop//lib/rubocop/plugin/not_supported_error.rb#8 + def initialize(unsupported_plugins); end + + # @api private + # + # source://rubocop//lib/rubocop/plugin/not_supported_error.rb#14 + def message; end +end + +# @api private +# +# source://rubocop//lib/rubocop/plugin.rb#19 +RuboCop::Plugin::OBSOLETE_INTERNAL_AFFAIRS_PLUGIN_NAME = T.let(T.unsafe(nil), String) + # source://rubocop//lib/rubocop/ast_aliases.rb#6 RuboCop::ProcessedSource = RuboCop::AST::ProcessedSource @@ -60430,17 +61250,17 @@ module RuboCop::Version class << self # @api private # - # source://rubocop//lib/rubocop/version.rb#99 + # source://rubocop//lib/rubocop/version.rb#114 def config_for_pwd(env); end # @api private # - # source://rubocop//lib/rubocop/version.rb#129 + # source://rubocop//lib/rubocop/version.rb#144 def document_version; end # @api private # - # source://rubocop//lib/rubocop/version.rb#66 + # source://rubocop//lib/rubocop/version.rb#67 def extension_versions(env); end # Returns feature version in one of two ways: @@ -60450,7 +61270,7 @@ module RuboCop::Version # # @api private # - # source://rubocop//lib/rubocop/version.rb#113 + # source://rubocop//lib/rubocop/version.rb#128 def feature_version(feature); end # @api private @@ -60460,12 +61280,12 @@ module RuboCop::Version # @api private # - # source://rubocop//lib/rubocop/version.rb#134 + # source://rubocop//lib/rubocop/version.rb#149 def server_mode; end # @api private # - # source://rubocop//lib/rubocop/version.rb#90 + # source://rubocop//lib/rubocop/version.rb#105 def target_ruby_version(env); end # @api private From 0a8c8e2c50d4ec25a6748e5cf708c54756e9af19 Mon Sep 17 00:00:00 2001 From: Douglas Eichelberger Date: Mon, 17 Feb 2025 19:11:48 -0800 Subject: [PATCH 099/322] Fix test --- Library/Homebrew/version.rb | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Library/Homebrew/version.rb b/Library/Homebrew/version.rb index 5fcfada799..acf6d440de 100644 --- a/Library/Homebrew/version.rb +++ b/Library/Homebrew/version.rb @@ -500,11 +500,6 @@ class Version @detected_from_url = detected_from_url end - # Represents the absence of a version. - # - # NOTE: Constructor needs to called with an arbitrary non-empty version which is then set to `nil`. - NULL = T.let(Version.new("NULL").tap { |v| v.instance_variable_set(:@version, nil) }.freeze, Version) - sig { returns(T::Boolean) } def detected_from_url? @detected_from_url @@ -771,6 +766,11 @@ class Version ) end + # Represents the absence of a version. + # + # NOTE: Constructor needs to called with an arbitrary non-empty version which is then set to `nil`. + NULL = T.let(Version.new("NULL").tap { |v| v.instance_variable_set(:@version, nil) }.freeze, Version) + private sig { params(first: Integer, second: Integer).returns(Integer) } From 156ce5b9dcf1b69b3575cd85776c90574a8f8682 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Tue, 18 Feb 2025 08:35:04 +0000 Subject: [PATCH 100/322] Revert "cmd/info: only display keg info if tap matches" --- Library/Homebrew/cmd/info.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/cmd/info.rb b/Library/Homebrew/cmd/info.rb index 925476eaab..495b85aa6e 100644 --- a/Library/Homebrew/cmd/info.rb +++ b/Library/Homebrew/cmd/info.rb @@ -298,7 +298,7 @@ module Homebrew kegs = [ *heads.sort_by { |keg| -keg.tab.time.to_i }, *versioned.sort_by(&:scheme_and_version), - ].select { |keg| (tap = keg.tab.tap).nil? || tap == formula.tap } + ] if kegs.empty? puts "Not installed" if (bottle = formula.bottle) From 2df84408c14190fb518e4e0fe31b6acd0422b002 Mon Sep 17 00:00:00 2001 From: Adrian Ho Date: Sat, 15 Feb 2025 20:15:53 +0800 Subject: [PATCH 101/322] formula: don't include DATA patches in initial Git repo Currently, existing DATA patches are subsumed into the initial Git repo created by `brew install --git`, which makes creating a new DATA patch after more fixes a tedious and error-prone process. This PR delays DATA patch processing till after the Git repo is created, so a `git diff` at the end creates a correct and consolidated DATA patch block ready for insertion/replacement, or even migration to a proper remote patch URL. The difference is clearly seen in `gromgit/fuse/dislocker-mac`, which has both remote and DATA patches. Before: ``` % brew install -sig dislocker-mac ==> Fetching gromgit/fuse/dislocker-mac ==> Downloading https://github.com/Aorimn/dislocker/commit/2cfbba2c8cc07e529622ba134d0a6982815d2b30.patch?full_index=1 Already downloaded: /Volumes/aho/Library/Caches/Homebrew/downloads/37276859cbebc1711941278db00cd8b25b98d69e15e31e33915a98d01a13febc--2cfbba2c8cc07e529622ba134d0a6982815d2b30.patch ==> Downloading https://github.com/Aorimn/dislocker/archive/refs/tags/v0.7.3.tar.gz Already downloaded: /Volumes/aho/Library/Caches/Homebrew/downloads/b1ba1098c95535574936051eca45cc472955a5a024b81cc72e1c3b006e1950b3--dislocker-0.7.3.tar.gz ==> Installing dislocker-mac from gromgit/fuse ==> Patching ==> Applying 2cfbba2c8cc07e529622ba134d0a6982815d2b30.patch Initialized empty Git repository in /private/tmp/dislocker-mac-20250215-35534-8qlxtp/dislocker-0.7.3/.git/ ==> Entering interactive mode... Type `exit` to return and finalize the installation. Install to this prefix: /opt/homebrew/Cellar/dislocker-mac/0.7.3_2 This directory is now a Git repository. Make your changes and then use: git diff | pbcopy to copy the diff to the clipboard. % git diff ``` After: ``` % brew install -sig dislocker-mac ==> Fetching gromgit/fuse/dislocker-mac ==> Downloading https://github.com/Aorimn/dislocker/commit/2cfbba2c8cc07e529622ba134d0a6982815d2b30.patch?full_index=1 Already downloaded: /Volumes/aho/Library/Caches/Homebrew/downloads/37276859cbebc1711941278db00cd8b25b98d69e15e31e33915a98d01a13febc--2cfbba2c8cc07e529622ba134d0a6982815d2b30.patch ==> Downloading https://github.com/Aorimn/dislocker/archive/refs/tags/v0.7.3.tar.gz Already downloaded: /Volumes/aho/Library/Caches/Homebrew/downloads/b1ba1098c95535574936051eca45cc472955a5a024b81cc72e1c3b006e1950b3--dislocker-0.7.3.tar.gz ==> Installing dislocker-mac from gromgit/fuse ==> Applying non-DATA patches ==> Applying 2cfbba2c8cc07e529622ba134d0a6982815d2b30.patch Initialized empty Git repository in /private/tmp/dislocker-mac-20250215-32462-zh1akh/dislocker-0.7.3/.git/ ==> Applying DATA patches ==> Entering interactive mode... Type `exit` to return and finalize the installation. Install to this prefix: /opt/homebrew/Cellar/dislocker-mac/0.7.3_2 This directory is now a Git repository. Make your changes and then use: git diff | pbcopy to copy the diff to the clipboard. % git diff diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index bd854d2..9ab137d 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -92,7 +92,7 @@ if("${CMAKE_SYSTEM_NAME}" STREQUAL "Darwin") # Don't use `-read_only_relocs' here as it seems to only work for 32 bits # binaries set (CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,-bind_at_load") - set (FUSE_LIB osxfuse_i64) + set (FUSE_LIB fuse) else() # Useless warnings when used within Darwin set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wconversion") diff --git a/src/dislocker-fuse.c b/src/dislocker-fuse.c index f93523f..3dd106c 100644 --- a/src/dislocker-fuse.c +++ b/src/dislocker-fuse.c @@ -33,11 +33,7 @@ -#ifdef __DARWIN -# include -#else -# include -#endif /* __DARWIN */ +#include /** NTFS virtual partition's name */ ``` --- Library/Homebrew/build.rb | 7 +++++-- Library/Homebrew/formula.rb | 14 ++++++++++++++ 2 files changed, 19 insertions(+), 2 deletions(-) diff --git a/Library/Homebrew/build.rb b/Library/Homebrew/build.rb index ae869d5e08..f169e10179 100644 --- a/Library/Homebrew/build.rb +++ b/Library/Homebrew/build.rb @@ -148,12 +148,15 @@ class Build # https://github.com/Homebrew/homebrew-core/pull/87470 TZ: "UTC0", ) do - formula.patch - if args.git? + formula.selective_patch(is_data: false) system "git", "init" system "git", "add", "-A" + formula.selective_patch(is_data: true) + else + formula.patch end + if args.interactive? ohai "Entering interactive mode..." puts <<~EOS diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb index 1bfd73a0e2..9a024f9eb7 100644 --- a/Library/Homebrew/formula.rb +++ b/Library/Homebrew/formula.rb @@ -1608,6 +1608,20 @@ class Formula patchlist.each(&:apply) end + sig { params(is_data: T::Boolean).void } + def selective_patch(is_data: false) + patches = patchlist.select { |p| p.is_a?(DATAPatch) == is_data } + return if patches.empty? + + patchtype = if is_data + "DATA" + else + "non-DATA" + end + ohai "Applying #{patchtype} patches" + patches.each(&:apply) + end + # Yields |self,staging| with current working directory set to the uncompressed tarball # where staging is a {Mktemp} staging context. sig(:final) { From 46b49ff34d59e6943b22c448a2bb27a20d4923d1 Mon Sep 17 00:00:00 2001 From: Adrian Ho Date: Tue, 18 Feb 2025 20:44:36 +0800 Subject: [PATCH 102/322] diagnostics: add formula/cask dup check Duplicate names across taps are a real pain to deal with, so let's warn the user. --- Library/Homebrew/diagnostic.rb | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/Library/Homebrew/diagnostic.rb b/Library/Homebrew/diagnostic.rb index 64f7185255..fbf5714d57 100644 --- a/Library/Homebrew/diagnostic.rb +++ b/Library/Homebrew/diagnostic.rb @@ -1040,6 +1040,40 @@ module Homebrew end end + def non_core_taps + @non_core_taps ||= Tap.installed.reject(&:core_tap?).reject(&:core_cask_tap?) + end + + def check_for_duplicate_formulae + core_formula_names = CoreTap.instance.formula_names + shadowed_formula_full_names = non_core_taps.flat_map do |tap| + tap_formula_names = tap.formula_names.map { |s| s.delete_prefix("#{tap.name}/") } + (core_formula_names & tap_formula_names).map { |f| "#{tap.name}/#{f}" } + end.compact + return if shadowed_formula_full_names.empty? + + <<~EOS + The following formulae have the same name as core formulae: + #{shadowed_formula_full_names.join("\n ")} + You will need to use their full names throughout Homebrew. + EOS + end + + def check_for_duplicate_casks + core_cask_names = CoreCaskTap.instance.cask_tokens + shadowed_cask_full_names = non_core_taps.flat_map do |tap| + tap_cask_names = tap.cask_tokens.map { |s| s.delete_prefix("#{tap.name}/") } + (core_cask_names & tap_cask_names).map { |f| "#{tap.name}/#{f}" } + end.compact + return if shadowed_cask_full_names.empty? + + <<~EOS + The following casks have the same name as core casks: + #{shadowed_cask_full_names.join("\n ")} + You will need to use their full names throughout Homebrew. + EOS + end + def all methods.map(&:to_s).grep(/^check_/).sort end From cf0b00a05c402e40f6e7a4756fddfa91f2baec85 Mon Sep 17 00:00:00 2001 From: Nanda H Krishna Date: Sat, 15 Feb 2025 21:52:51 -0500 Subject: [PATCH 103/322] rubocop/lines: prefer `assert_path_exists` and `refute_path_exists` --- Library/Homebrew/rubocops/lines.rb | 30 ++++++++++++++++++++++++++++-- 1 file changed, 28 insertions(+), 2 deletions(-) diff --git a/Library/Homebrew/rubocops/lines.rb b/Library/Homebrew/rubocops/lines.rb index aec192b29e..609188e4a1 100644 --- a/Library/Homebrew/rubocops/lines.rb +++ b/Library/Homebrew/rubocops/lines.rb @@ -86,6 +86,8 @@ module RuboCop # This cop makes sure that idiomatic `assert_*` statements are used. class AssertStatements < FormulaCop + extend AutoCorrector + sig { override.params(formula_nodes: FormulaNodes).void } def audit_formula(formula_nodes) return if (body_node = formula_nodes.body_node).nil? @@ -96,17 +98,41 @@ module RuboCop end if method_called_ever?(method, :exist?) && !method_called_ever?(method, :!) - problem "Use `assert_predicate , :exist?` instead of `#{method.source}`" + problem "Use `assert_path_exists ` instead of `#{method.source}`" end if method_called_ever?(method, :exist?) && method_called_ever?(method, :!) - problem "Use `refute_predicate , :exist?` instead of `#{method.source}`" + problem "Use `refute_path_exists ` instead of `#{method.source}`" end if method_called_ever?(method, :executable?) && !method_called_ever?(method, :!) problem "Use `assert_predicate , :executable?` instead of `#{method.source}`" end end + + find_every_method_call_by_name(body_node, :assert_predicate).each do |method| + args = parameters(method) + next if args[1].source != ":exist?" + + offending_node(method) + problem "Use `assert_path_exists ` instead of `#{method.source}`" do |corrector| + correct = "assert_path_exists #{args.first.source}" + correct += ", #{args[2].source}" if args.length == 3 + corrector.replace(T.must(@offensive_node).source_range, correct) + end + end + + find_every_method_call_by_name(body_node, :refute_predicate).each do |method| + args = parameters(method) + next if args[1].source != ":exist?" + + offending_node(method) + problem "Use `refute_path_exists ` instead of `#{method.source}`" do |corrector| + correct = "refute_path_exists #{args.first.source}" + correct += ", #{args[2].source}" if args.length == 3 + corrector.replace(T.must(@offensive_node).source_range, correct) + end + end end end From 1f9cc8992645a02b4177d246cf3fdfc08b36fe88 Mon Sep 17 00:00:00 2001 From: Nanda H Krishna Date: Tue, 18 Feb 2025 10:51:37 -0500 Subject: [PATCH 104/322] test/rubocops/text: update `assert` tests --- Library/Homebrew/test/rubocops/text/assert_statements_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Library/Homebrew/test/rubocops/text/assert_statements_spec.rb b/Library/Homebrew/test/rubocops/text/assert_statements_spec.rb index 3444a0f525..240e1ff1d9 100644 --- a/Library/Homebrew/test/rubocops/text/assert_statements_spec.rb +++ b/Library/Homebrew/test/rubocops/text/assert_statements_spec.rb @@ -23,7 +23,7 @@ RSpec.describe RuboCop::Cop::FormulaAudit::AssertStatements do desc "foo" url 'https://brew.sh/foo-1.0.tgz' assert File.exist? "default.ini" - ^^^^^^^^^^^^^^^^^^^^^^^^^ FormulaAudit/AssertStatements: Use `assert_predicate , :exist?` instead of `assert File.exist? "default.ini"` + ^^^^^^^^^^^^^^^^^^^^^^^^^ FormulaAudit/AssertStatements: Use `assert_path_exists ` instead of `assert File.exist? "default.ini"` end RUBY end @@ -34,7 +34,7 @@ RSpec.describe RuboCop::Cop::FormulaAudit::AssertStatements do desc "foo" url 'https://brew.sh/foo-1.0.tgz' assert !File.exist?("default.ini") - ^^^^^^^^^^^^^^^^^^^^^^^^^^^ FormulaAudit/AssertStatements: Use `refute_predicate , :exist?` instead of `assert !File.exist?("default.ini")` + ^^^^^^^^^^^^^^^^^^^^^^^^^^^ FormulaAudit/AssertStatements: Use `refute_path_exists ` instead of `assert !File.exist?("default.ini")` end RUBY end From eab6e9f7f3c37ec21401471e951bf1b9f299eee4 Mon Sep 17 00:00:00 2001 From: Colin Dean Date: Tue, 18 Feb 2025 12:08:21 -0500 Subject: [PATCH 105/322] Use suggested post-installation steps Thanks, @jvns! --- docs/Installation.md | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/docs/Installation.md b/docs/Installation.md index 56910eea63..cf90ebed01 100644 --- a/docs/Installation.md +++ b/docs/Installation.md @@ -95,20 +95,17 @@ Create a Homebrew installation wherever you extract the tarball. Whichever `brew ## Post-installation steps -Before completing installation, Homebrew installer will provide some required "Next steps" instructions. -These instructions configure your shell to evaluate the output of `brew shellenv`, -which will load `brew` into your shell environment for use. +When you install Homebrew, it prints some directions for updating your shell's config. +If you don't follow those directions, Homebrew will not work. -While it's difficult to document the precise path for every shell, -typically, what follows must be in your shell's `rc` or `profile` file: +You need to update your shell's config file (which file exactly depends on your shell, for example `~/.bashrc` or `~/.zshrc`) to include this: ```sh eval "/bin/brew shellenv)" ``` -where `${HOMEBREW_PREFIX}` is the Homebrew installation directory. -Replace this with the installation directory on your system. -See the [FAQ about default installation locations](FAQ.md#why-should-i-install-homebrew-in-the-default-location). +Replace `` with the directory where Homebrew is installed on your system. +You can find Homebrew's default install location [in this FAQ entry](https://docs.brew.sh/FAQ#why-should-i-install-homebrew-in-the-default-location). For more insight, re-run the installer or inspect [the installer's source](https://github.com/Homebrew/install/blob/deacfa6a6e62e5f4002baf9e1fac7a96e9aa5d41/install.sh#L1072-L1088) to see how the installer constructs the path it recommends. From 1a43a9d258ed791e6bcf05569e855bcc70af3d84 Mon Sep 17 00:00:00 2001 From: thibhero Date: Tue, 18 Feb 2025 22:41:40 -0500 Subject: [PATCH 106/322] extracting method to Homebrew/install.rb --- Library/Homebrew/cmd/install.rb | 83 ++----------------------------- Library/Homebrew/cmd/reinstall.rb | 83 ++----------------------------- Library/Homebrew/cmd/upgrade.rb | 83 ++----------------------------- Library/Homebrew/install.rb | 76 ++++++++++++++++++++++++++++ 4 files changed, 85 insertions(+), 240 deletions(-) diff --git a/Library/Homebrew/cmd/install.rb b/Library/Homebrew/cmd/install.rb index ec4adb3c73..d14a50def1 100644 --- a/Library/Homebrew/cmd/install.rb +++ b/Library/Homebrew/cmd/install.rb @@ -307,96 +307,19 @@ module Homebrew Install.perform_preinstall_checks_once Install.check_cc_argv(args.cc) - ask_input = lambda { - ohai "Do you want to proceed with the installation? [Y/y/yes/N/n]" - accepted_inputs = %w[y yes] - declined_inputs = %w[n no] - loop do - result = $stdin.gets.chomp.strip.downcase - if accepted_inputs.include?(result) - break - elsif declined_inputs.include?(result) - exit 0 - else - puts "Invalid input. Please enter 'Y', 'y', or 'yes' to proceed, or 'N' to abort." - end - end - } - - # Build a unique list of formulae to size by including: - # 1. The original formulae to install. - # 2. Their outdated dependents (subject to pruning criteria). - # 3. Optionally, any installed formula that depends on one of these and is outdated. - compute_sized_formulae = lambda { |f, check_dep: true, upgrade: true| - sized_formulae = f.flat_map do |formula| - # Always include the formula itself. - formula_list = [formula] - next unless upgrade - - deps = args.build_from_source? ? formula.deps.build : formula.deps.required - # If there are dependencies, try to gather outdated, bottled ones. - if deps.any? && check_dep - outdated_dependents = deps.map(&:to_formula).reject(&:pinned?).select do |dep| - dep.installed_kegs.empty? || (dep.bottled? && dep.outdated?) - end - - formula_list.concat(outdated_dependents) - end - - formula_list - end - - # Add any installed formula that depends on one of the sized formulae and is outdated. - if check_dep && !Homebrew::EnvConfig.no_installed_dependents_check? - sized_formulae.concat(Formula.installed.select do |installed_formula| - installed_formula.outdated? && - installed_formula.deps.required.any? { |dep| sized_formulae.include?(dep.to_formula) } - end) - end - - sized_formulae.uniq(&:to_s) - } - - # Compute the total sizes (download, installed, and net) for the given formulae. - compute_total_sizes = lambda { |sized_formulae, debug: false| - total_download_size = 0 - total_installed_size = 0 - total_net_size = 0 - - sized_formulae.each do |formula| - next unless (bottle = formula.bottle) - - # Fetch additional bottle metadata (if necessary). - bottle.fetch_tab(quiet: !debug) - - total_download_size += bottle.bottle_size.to_i if bottle.bottle_size - total_installed_size += bottle.installed_size.to_i if bottle.installed_size - - # Sum disk usage for all installed kegs of the formula. - next if formula.installed_kegs.none? - - kegs_dep_size = formula.installed_kegs.sum { |keg| keg.disk_usage.to_i } - total_net_size += bottle.installed_size.to_i - kegs_dep_size if bottle.installed_size - end - - { download: total_download_size, - installed: total_installed_size, - net: total_net_size } - } - # Main block: if asking the user is enabled, show dependency and size information. if args.ask? ohai "Looking for bottles..." - sized_formulae = compute_sized_formulae.call(formulae, check_dep: false, upgrade: false) - sizes = compute_total_sizes.call(sized_formulae, debug: args.debug?) + sized_formulae = Install.compute_sized_formulae(formulae, args: args) + sizes = Install.compute_total_sizes(sized_formulae, debug: args.debug?) puts "Formulae: #{sized_formulae.join(", ")}\n\n" puts "Download Size: #{disk_usage_readable(sizes[:download])}" puts "Install Size: #{disk_usage_readable(sizes[:installed])}" puts "Net Install Size: #{disk_usage_readable(sizes[:net])}" if sizes[:net] != 0 - ask_input.call + Install.ask_input end Install.install_formulae( diff --git a/Library/Homebrew/cmd/reinstall.rb b/Library/Homebrew/cmd/reinstall.rb index 54e74af6b9..9c67de6062 100644 --- a/Library/Homebrew/cmd/reinstall.rb +++ b/Library/Homebrew/cmd/reinstall.rb @@ -131,96 +131,19 @@ module Homebrew unless formulae.empty? Install.perform_preinstall_checks_once - ask_input = lambda { - ohai "Do you want to proceed with the installation? [Y/y/yes/N/n]" - accepted_inputs = %w[y yes] - declined_inputs = %w[n no] - loop do - result = $stdin.gets.chomp.strip.downcase - if accepted_inputs.include?(result) - break - elsif declined_inputs.include?(result) - exit 0 - else - puts "Invalid input. Please enter 'Y', 'y', or 'yes' to proceed, or 'N' to abort." - end - end - } - - # Build a unique list of formulae to size by including: - # 1. The original formulae to install. - # 2. Their outdated dependents (subject to pruning criteria). - # 3. Optionally, any installed formula that depends on one of these and is outdated. - compute_sized_formulae = lambda { |f, check_dep: true, upgrade: true| - sized_formulae = f.flat_map do |formula| - # Always include the formula itself. - formula_list = [formula] - next unless upgrade - - deps = args.build_from_source? ? formula.deps.build : formula.deps.required - # If there are dependencies, try to gather outdated, bottled ones. - if deps.any? && check_dep - outdated_dependents = deps.map(&:to_formula).reject(&:pinned?).select do |dep| - dep.installed_kegs.empty? || (dep.bottled? && dep.outdated?) - end - - formula_list.concat(outdated_dependents) - end - - formula_list - end - - # Add any installed formula that depends on one of the sized formulae and is outdated. - if check_dep && !Homebrew::EnvConfig.no_installed_dependents_check? - sized_formulae.concat(Formula.installed.select do |installed_formula| - installed_formula.outdated? && - installed_formula.deps.required.any? { |dep| sized_formulae.include?(dep.to_formula) } - end) - end - - sized_formulae.uniq(&:to_s) - } - - # Compute the total sizes (download, installed, and net) for the given formulae. - compute_total_sizes = lambda { |sized_formulae, debug: false| - total_download_size = 0 - total_installed_size = 0 - total_net_size = 0 - - sized_formulae.each do |formula| - next unless (bottle = formula.bottle) - - # Fetch additional bottle metadata (if necessary). - bottle.fetch_tab(quiet: !debug) - - total_download_size += bottle.bottle_size.to_i if bottle.bottle_size - total_installed_size += bottle.installed_size.to_i if bottle.installed_size - - # Sum disk usage for all installed kegs of the formula. - next if formula.installed_kegs.none? - - kegs_dep_size = formula.installed_kegs.sum { |keg| keg.disk_usage.to_i } - total_net_size += bottle.installed_size.to_i - kegs_dep_size if bottle.installed_size - end - - { download: total_download_size, - installed: total_installed_size, - net: total_net_size } - } - # Main block: if asking the user is enabled, show dependency and size information. if args.ask? ohai "Looking for bottles..." - sized_formulae = compute_sized_formulae.call(formulae, check_dep: false, upgrade: false) - sizes = compute_total_sizes.call(sized_formulae, debug: args.debug?) + sized_formulae = Install.compute_sized_formulae(formulae, args: args) + sizes = Install.compute_total_sizes(sized_formulae, debug: args.debug?) puts "Formulae: #{sized_formulae.join(", ")}\n\n" puts "Download Size: #{disk_usage_readable(sizes[:download])}" puts "Install Size: #{disk_usage_readable(sizes[:installed])}" puts "Net Install Size: #{disk_usage_readable(sizes[:net])}" if sizes[:net] != 0 - ask_input.call + Install.ask_input end formulae.each do |formula| diff --git a/Library/Homebrew/cmd/upgrade.rb b/Library/Homebrew/cmd/upgrade.rb index 38eaf18f90..a65d96e9ba 100644 --- a/Library/Homebrew/cmd/upgrade.rb +++ b/Library/Homebrew/cmd/upgrade.rb @@ -221,96 +221,19 @@ module Homebrew Install.perform_preinstall_checks_once - ask_input = lambda { - ohai "Do you want to proceed with the installation? [Y/y/yes/N/n]" - accepted_inputs = %w[y yes] - declined_inputs = %w[n no] - loop do - result = $stdin.gets.chomp.strip.downcase - if accepted_inputs.include?(result) - break - elsif declined_inputs.include?(result) - exit 0 - else - puts "Invalid input. Please enter 'Y', 'y', or 'yes' to proceed, or 'N' to abort." - end - end - } - - # Build a unique list of formulae to size by including: - # 1. The original formulae to install. - # 2. Their outdated dependents (subject to pruning criteria). - # 3. Optionally, any installed formula that depends on one of these and is outdated. - compute_sized_formulae = lambda { |f, check_dep: true, upgrade: true| - sized_formulae = f.flat_map do |formula| - # Always include the formula itself. - formula_list = [formula] - next unless upgrade - - deps = args.build_from_source? ? formula.deps.build : formula.deps.required - # If there are dependencies, try to gather outdated, bottled ones. - if deps.any? && check_dep - outdated_dependents = deps.map(&:to_formula).reject(&:pinned?).select do |dep| - dep.installed_kegs.empty? || (dep.bottled? && dep.outdated?) - end - - formula_list.concat(outdated_dependents) - end - - formula_list - end - - # Add any installed formula that depends on one of the sized formulae and is outdated. - if check_dep && !Homebrew::EnvConfig.no_installed_dependents_check? - sized_formulae.concat(Formula.installed.select do |installed_formula| - installed_formula.outdated? && - installed_formula.deps.required.any? { |dep| sized_formulae.include?(dep.to_formula) } - end) - end - - sized_formulae.uniq(&:to_s) - } - - # Compute the total sizes (download, installed, and net) for the given formulae. - compute_total_sizes = lambda { |sized_formulae, debug: false| - total_download_size = 0 - total_installed_size = 0 - total_net_size = 0 - - sized_formulae.each do |formula| - next unless (bottle = formula.bottle) - - # Fetch additional bottle metadata (if necessary). - bottle.fetch_tab(quiet: !debug) - - total_download_size += bottle.bottle_size.to_i if bottle.bottle_size - total_installed_size += bottle.installed_size.to_i if bottle.installed_size - - # Sum disk usage for all installed kegs of the formula. - next if formula.installed_kegs.none? - - kegs_dep_size = formula.installed_kegs.sum { |keg| keg.disk_usage.to_i } - total_net_size += bottle.installed_size.to_i - kegs_dep_size if bottle.installed_size - end - - { download: total_download_size, - installed: total_installed_size, - net: total_net_size } - } - # Main block: if asking the user is enabled, show dependency and size information. if args.ask? ohai "Looking for bottles..." - sized_formulae = compute_sized_formulae.call(formulae_to_install) - sizes = compute_total_sizes.call(sized_formulae, debug: args.debug?) + sized_formulae = Install.compute_sized_formulae(formulae, args: args) + sizes = Install.compute_total_sizes(sized_formulae, debug: args.debug?) puts "Formulae: #{sized_formulae.join(", ")}\n\n" puts "Download Size: #{disk_usage_readable(sizes[:download])}" puts "Install Size: #{disk_usage_readable(sizes[:installed])}" puts "Net Install Size: #{disk_usage_readable(sizes[:net])}" if sizes[:net] != 0 - ask_input.call + Install.ask_input end Upgrade.upgrade_formulae( diff --git a/Library/Homebrew/install.rb b/Library/Homebrew/install.rb index 80c3c54069..bb2cffdfc7 100644 --- a/Library/Homebrew/install.rb +++ b/Library/Homebrew/install.rb @@ -327,6 +327,82 @@ module Homebrew puts formula_names.join(" ") end + def ask_input + ohai "Do you want to proceed with the installation? [Y/y/yes/N/n]" + accepted_inputs = %w[y yes] + declined_inputs = %w[n no] + loop do + result = $stdin.gets.chomp.strip.downcase + if accepted_inputs.include?(result) + break + elsif declined_inputs.include?(result) + exit 0 + else + puts "Invalid input. Please enter 'Y', 'y', or 'yes' to proceed, or 'N' to abort." + end + end + end + + # Build a unique list of formulae to size by including: + # 1. The original formulae to install. + # 2. Their outdated dependents (subject to pruning criteria). + # 3. Optionally, any installed formula that depends on one of these and is outdated. + def compute_sized_formulae(formulae, args:) + sized_formulae = formulae.flat_map do |formula| + # Always include the formula itself. + formula_list = [formula] + + deps = args.build_from_source? ? formula.deps.build : formula.deps.required + # If there are dependencies, try to gather outdated, bottled ones. + if deps.any? + outdated_dependents = deps.map(&:to_formula).reject(&:pinned?).select do |dep| + dep.installed_kegs.empty? || (dep.bottled? && dep.outdated?) + end + + formula_list.concat(outdated_dependents) + end + + formula_list + end + + # Add any installed formula that depends on one of the sized formulae and is outdated. + unless Homebrew::EnvConfig.no_installed_dependents_check? + sized_formulae.concat(Formula.installed.select do |installed_formula| + installed_formula.outdated? && + installed_formula.deps.required.any? { |dep| sized_formulae.include?(dep.to_formula) } + end) + end + + sized_formulae.uniq(&:to_s).compact + end + + # Compute the total sizes (download, installed, and net) for the given formulae. + def compute_total_sizes(sized_formulae, debug: false) + total_download_size = 0 + total_installed_size = 0 + total_net_size = 0 + + sized_formulae.each do |formula| + next unless (bottle = formula.bottle) + + # Fetch additional bottle metadata (if necessary). + bottle.fetch_tab(quiet: !debug) + + total_download_size += bottle.bottle_size.to_i if bottle.bottle_size + total_installed_size += bottle.installed_size.to_i if bottle.installed_size + + # Sum disk usage for all installed kegs of the formula. + next if formula.installed_kegs.none? + + kegs_dep_size = formula.installed_kegs.sum { |keg| keg.disk_usage.to_i } + total_net_size += bottle.installed_size.to_i - kegs_dep_size if bottle.installed_size + end + + { download: total_download_size, + installed: total_installed_size, + net: total_net_size } + end + private def perform_preinstall_checks(all_fatal: false) From 63f94708b07e34dc68af669af7b910c1f00a0799 Mon Sep 17 00:00:00 2001 From: thibhero Date: Tue, 18 Feb 2025 22:42:08 -0500 Subject: [PATCH 107/322] running `brew typecheck --update` --- .../Homebrew/sorbet/rbi/dsl/homebrew/cmd/install_cmd.rbi | 6 +++--- Library/Homebrew/sorbet/rbi/dsl/homebrew/env_config.rbi | 3 --- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/install_cmd.rbi b/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/install_cmd.rbi index c6967205e7..164120bae8 100644 --- a/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/install_cmd.rbi +++ b/Library/Homebrew/sorbet/rbi/dsl/homebrew/cmd/install_cmd.rbi @@ -20,6 +20,9 @@ class Homebrew::Cmd::InstallCmd::Args < Homebrew::CLI::Args sig { returns(T.nilable(String)) } def appdir; end + sig { returns(T::Boolean) } + def ask?; end + sig { returns(T.nilable(String)) } def audio_unit_plugindir; end @@ -166,7 +169,4 @@ class Homebrew::Cmd::InstallCmd::Args < Homebrew::CLI::Args sig { returns(T::Boolean) } def zap?; end - - sig { returns(T::Boolean) } - def ask?; end end diff --git a/Library/Homebrew/sorbet/rbi/dsl/homebrew/env_config.rbi b/Library/Homebrew/sorbet/rbi/dsl/homebrew/env_config.rbi index f915406f5b..0405588ab3 100644 --- a/Library/Homebrew/sorbet/rbi/dsl/homebrew/env_config.rbi +++ b/Library/Homebrew/sorbet/rbi/dsl/homebrew/env_config.rbi @@ -318,8 +318,5 @@ module Homebrew::EnvConfig sig { returns(T::Boolean) } def verify_attestations?; end - - sig { returns(T::Boolean) } - def ask?; end end end From a4cdbaa9661def295451ecd4c4e7e240b552d2c2 Mon Sep 17 00:00:00 2001 From: Douglas Eichelberger Date: Tue, 18 Feb 2025 20:48:56 -0800 Subject: [PATCH 108/322] Fix type error in DependenciesHelpers#dependents --- Library/Homebrew/dependencies_helpers.rb | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Library/Homebrew/dependencies_helpers.rb b/Library/Homebrew/dependencies_helpers.rb index afeea62b11..ba23cc46a8 100644 --- a/Library/Homebrew/dependencies_helpers.rb +++ b/Library/Homebrew/dependencies_helpers.rb @@ -66,9 +66,11 @@ module DependenciesHelpers end sig { - params(dependables: T.any(Dependencies, Requirements), ignores: T::Array[Symbol], - includes: T::Array[Symbol]) - .returns(T::Array[T.any(Dependency, Requirement)]) + params( + dependables: T.any(Dependencies, Requirements, T::Array[Dependency], T::Array[Requirement]), + ignores: T::Array[Symbol], + includes: T::Array[Symbol], + ).returns(T::Array[T.any(Dependency, Requirement)]) } def select_includes(dependables, ignores, includes) dependables.select do |dep| From 7d41a93c76637b2f8230812942bc409292cc3702 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Wed, 19 Feb 2025 08:38:31 +0000 Subject: [PATCH 109/322] diagnostic: skip duplicate formulae and casks check inside test-bot. This makes the experience nicer for tap maintainers who may want to do this but without hiding the actual warnings for users. --- Library/Homebrew/diagnostic.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Library/Homebrew/diagnostic.rb b/Library/Homebrew/diagnostic.rb index fbf5714d57..e9fdb32abe 100644 --- a/Library/Homebrew/diagnostic.rb +++ b/Library/Homebrew/diagnostic.rb @@ -1045,6 +1045,8 @@ module Homebrew end def check_for_duplicate_formulae + return if ENV["HOMEBREW_TEST_BOT"].present? + core_formula_names = CoreTap.instance.formula_names shadowed_formula_full_names = non_core_taps.flat_map do |tap| tap_formula_names = tap.formula_names.map { |s| s.delete_prefix("#{tap.name}/") } @@ -1060,6 +1062,8 @@ module Homebrew end def check_for_duplicate_casks + return if ENV["HOMEBREW_TEST_BOT"].present? + core_cask_names = CoreCaskTap.instance.cask_tokens shadowed_cask_full_names = non_core_taps.flat_map do |tap| tap_cask_names = tap.cask_tokens.map { |s| s.delete_prefix("#{tap.name}/") } From dfbc9317696b7cd540018f800a47d207802023f7 Mon Sep 17 00:00:00 2001 From: Colin Dean Date: Wed, 19 Feb 2025 11:58:07 -0500 Subject: [PATCH 110/322] Recommend abbreviated multi-platform loader Co-authored-by: Mike McQuaid --- docs/Tips-N'-Tricks.md | 32 ++------------------------------ 1 file changed, 2 insertions(+), 30 deletions(-) diff --git a/docs/Tips-N'-Tricks.md b/docs/Tips-N'-Tricks.md index 9606d37b0e..ea2ce64612 100644 --- a/docs/Tips-N'-Tricks.md +++ b/docs/Tips-N'-Tricks.md @@ -148,34 +148,6 @@ Use this to detect the likely Homebrew installation directory and load Homebrew You may need to adapt this to your particular shell or other particulars of your environment. ```sh -# Execute only if brew isn't already available. -if ! [ -x "$(command -v brew)" ]; then - OS="$(uname)" - UNAME_MACHINE="$(uname -m)" - if [ "${OS}" = "Linux" ]; then - # Linux - HOMEBREW_PREFIX="/home/linuxbrew/.linuxbrew" - elif [ "${OS}" = "Darwin" ]; then - if [ "${UNAME_MACHINE}" = "arm64" ]; then - # M-series ARM64 macOS - HOMEBREW_PREFIX="/opt/homebrew" - else - # Intel macOS - HOMEBREW_PREFIX="/usr/local" - fi - fi - - if [ -d "${HOMEBREW_PREFIX}" ]; then - BREW_BIN="${HOMEBREW_PREFIX}/bin/brew" - if [ -x "${BREW_BIN}" ]; then - eval "\$(${BREW_BIN} shellenv)" - else - >&2 printf "Homebrew possibly found at %s but %s is not executable. Check the permissions.\n" "${HOMEBREW_PREFIX}" "${BREW_BIN}" - fi - else - >&2 printf "Homebrew not found where expected in %s on %s %s\n" "${HOMEBREW_PREFIX}" "${OS}" "${UNAME_MACHINE}" - >&2 printf "Double-check that it's installed or run the following command to install it\n\n\t%s\n" \ - '/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"' - fi -fi +command -v brew || export PATH="/opt/homebrew/bin:/home/linuxbrew/.linuxbrew/bin:/usr/local/bin" +command -v brew && eval "$(brew shellenv)" ``` From 31f5e8180780c39fee2810276c5c02a7f78d124e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 19 Feb 2025 18:58:39 +0000 Subject: [PATCH 111/322] build(deps): bump pyarrow in /Library/Homebrew/formula-analytics Bumps [pyarrow](https://github.com/apache/arrow) from 19.0.0 to 19.0.1. - [Release notes](https://github.com/apache/arrow/releases) - [Commits](https://github.com/apache/arrow/compare/apache-arrow-19.0.0...apache-arrow-19.0.1) --- updated-dependencies: - dependency-name: pyarrow dependency-type: indirect update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- .../formula-analytics/requirements.txt | 86 +++++++++---------- 1 file changed, 43 insertions(+), 43 deletions(-) diff --git a/Library/Homebrew/formula-analytics/requirements.txt b/Library/Homebrew/formula-analytics/requirements.txt index a4a2880d79..8c30ca662f 100644 --- a/Library/Homebrew/formula-analytics/requirements.txt +++ b/Library/Homebrew/formula-analytics/requirements.txt @@ -12,49 +12,49 @@ influxdb3-python==0.10.0 \ --hash=sha256:d279e5f8a597d49b44035263b1cf1472a3861ceba930fd08e1e3b1721a07d3cf \ --hash=sha256:f3d44dff4c4bbfdcb1fa1c4013ccfa317fbbd7df5812eb46395421166ffb385a # via -r requirements.in -pyarrow==19.0.0 \ - --hash=sha256:239ca66d9a05844bdf5af128861af525e14df3c9591bcc05bac25918e650d3a2 \ - --hash=sha256:2795064647add0f16563e57e3d294dbfc067b723f0fd82ecd80af56dad15f503 \ - --hash=sha256:29cd86c8001a94f768f79440bf83fee23963af5e7bc68ce3a7e5f120e17edf89 \ - --hash=sha256:2a0144a712d990d60f7f42b7a31f0acaccf4c1e43e957f7b1ad58150d6f639c1 \ - --hash=sha256:2a1a109dfda558eb011e5f6385837daffd920d54ca00669f7a11132d0b1e6042 \ - --hash=sha256:2b6d3ce4288793350dc2d08d1e184fd70631ea22a4ff9ea5c4ff182130249d9b \ - --hash=sha256:2f672f5364b2d7829ef7c94be199bb88bf5661dd485e21d2d37de12ccb78a136 \ - --hash=sha256:3c1c162c4660e0978411a4761f91113dde8da3433683efa473501254563dcbe8 \ - --hash=sha256:450a7d27e840e4d9a384b5c77199d489b401529e75a3b7a3799d4cd7957f2f9c \ - --hash=sha256:4624c89d6f777c580e8732c27bb8e77fd1433b89707f17c04af7635dd9638351 \ - --hash=sha256:4d8b0c0de0a73df1f1bf439af1b60f273d719d70648e898bc077547649bb8352 \ - --hash=sha256:5418d4d0fab3a0ed497bad21d17a7973aad336d66ad4932a3f5f7480d4ca0c04 \ - --hash=sha256:597360ffc71fc8cceea1aec1fb60cb510571a744fffc87db33d551d5de919bec \ - --hash=sha256:5e8a28b918e2e878c918f6d89137386c06fe577cd08d73a6be8dafb317dc2d73 \ - --hash=sha256:62ef8360ff256e960f57ce0299090fb86423afed5e46f18f1225f960e05aae3d \ - --hash=sha256:66732e39eaa2247996a6b04c8aa33e3503d351831424cdf8d2e9a0582ac54b34 \ - --hash=sha256:718947fb6d82409013a74b176bf93e0f49ef952d8a2ecd068fecd192a97885b7 \ - --hash=sha256:8d47c691765cf497aaeed4954d226568563f1b3b74ff61139f2d77876717084b \ - --hash=sha256:8e3a839bf36ec03b4315dc924d36dcde5444a50066f1c10f8290293c0427b46a \ - --hash=sha256:9348a0137568c45601b031a8d118275069435f151cbb77e6a08a27e8125f59d4 \ - --hash=sha256:a08e2a8a039a3f72afb67a6668180f09fddaa38fe0d21f13212b4aba4b5d2451 \ - --hash=sha256:a218670b26fb1bc74796458d97bcab072765f9b524f95b2fccad70158feb8b17 \ - --hash=sha256:a22a4bc0937856263df8b94f2f2781b33dd7f876f787ed746608e06902d691a5 \ - --hash=sha256:a7bbe7109ab6198688b7079cbad5a8c22de4d47c4880d8e4847520a83b0d1b68 \ - --hash=sha256:a92aff08e23d281c69835e4a47b80569242a504095ef6a6223c1f6bb8883431d \ - --hash=sha256:b34d3bde38eba66190b215bae441646330f8e9da05c29e4b5dd3e41bde701098 \ - --hash=sha256:b903afaa5df66d50fc38672ad095806443b05f202c792694f3a604ead7c6ea6e \ - --hash=sha256:be686bf625aa7b9bada18defb3a3ea3981c1099697239788ff111d87f04cd263 \ - --hash=sha256:c0423393e4a07ff6fea08feb44153302dd261d0551cc3b538ea7a5dc853af43a \ - --hash=sha256:c318eda14f6627966997a7d8c374a87d084a94e4e38e9abbe97395c215830e0c \ - --hash=sha256:c3b78eff5968a1889a0f3bc81ca57e1e19b75f664d9c61a42a604bf9d8402aae \ - --hash=sha256:c73268cf557e688efb60f1ccbc7376f7e18cd8e2acae9e663e98b194c40c1a2d \ - --hash=sha256:c751c1c93955b7a84c06794df46f1cec93e18610dcd5ab7d08e89a81df70a849 \ - --hash=sha256:ce42275097512d9e4e4a39aade58ef2b3798a93aa3026566b7892177c266f735 \ - --hash=sha256:cf3bf0ce511b833f7bc5f5bb3127ba731e97222023a444b7359f3a22e2a3b463 \ - --hash=sha256:da410b70a7ab8eb524112f037a7a35da7128b33d484f7671a264a4c224ac131d \ - --hash=sha256:e675a3ad4732b92d72e4d24009707e923cab76b0d088e5054914f11a797ebe44 \ - --hash=sha256:e82c3d5e44e969c217827b780ed8faf7ac4c53f934ae9238872e749fa531f7c9 \ - --hash=sha256:edfe6d3916e915ada9acc4e48f6dafca7efdbad2e6283db6fd9385a1b23055f1 \ - --hash=sha256:f094742275586cdd6b1a03655ccff3b24b2610c3af76f810356c4c71d24a2a6c \ - --hash=sha256:f208c3b58a6df3b239e0bb130e13bc7487ed14f39a9ff357b6415e3f6339b560 \ - --hash=sha256:f43f5aef2a13d4d56adadae5720d1fed4c1356c993eda8b59dace4b5983843c1 +pyarrow==19.0.1 \ + --hash=sha256:008a4009efdb4ea3d2e18f05cd31f9d43c388aad29c636112c2966605ba33466 \ + --hash=sha256:0148bb4fc158bfbc3d6dfe5001d93ebeed253793fff4435167f6ce1dc4bddeae \ + --hash=sha256:1b93ef2c93e77c442c979b0d596af45e4665d8b96da598db145b0fec014b9136 \ + --hash=sha256:1c7556165bd38cf0cd992df2636f8bcdd2d4b26916c6b7e646101aff3c16f76f \ + --hash=sha256:335d170e050bcc7da867a1ed8ffb8b44c57aaa6e0843b156a501298657b1e972 \ + --hash=sha256:3bf266b485df66a400f282ac0b6d1b500b9d2ae73314a153dbe97d6d5cc8a99e \ + --hash=sha256:41f9706fbe505e0abc10e84bf3a906a1338905cbbcf1177b71486b03e6ea6608 \ + --hash=sha256:4982f8e2b7afd6dae8608d70ba5bd91699077323f812a0448d8b7abdff6cb5d3 \ + --hash=sha256:49a3aecb62c1be1d822f8bf629226d4a96418228a42f5b40835c1f10d42e4db6 \ + --hash=sha256:4d5d1ec7ec5324b98887bdc006f4d2ce534e10e60f7ad995e7875ffa0ff9cb14 \ + --hash=sha256:58d9397b2e273ef76264b45531e9d552d8ec8a6688b7390b5be44c02a37aade8 \ + --hash=sha256:5a9137cf7e1640dce4c190551ee69d478f7121b5c6f323553b319cac936395f6 \ + --hash=sha256:5bd1618ae5e5476b7654c7b55a6364ae87686d4724538c24185bbb2952679960 \ + --hash=sha256:65cf9feebab489b19cdfcfe4aa82f62147218558d8d3f0fc1e9dea0ab8e7905a \ + --hash=sha256:699799f9c80bebcf1da0983ba86d7f289c5a2a5c04b945e2f2bcf7e874a91911 \ + --hash=sha256:6c5941c1aac89a6c2f2b16cd64fe76bcdb94b2b1e99ca6459de4e6f07638d755 \ + --hash=sha256:6ebfb5171bb5f4a52319344ebbbecc731af3f021e49318c74f33d520d31ae0c4 \ + --hash=sha256:7a544ec12de66769612b2d6988c36adc96fb9767ecc8ee0a4d270b10b1c51e00 \ + --hash=sha256:7c1bca1897c28013db5e4c83944a2ab53231f541b9e0c3f4791206d0c0de389a \ + --hash=sha256:80b2ad2b193e7d19e81008a96e313fbd53157945c7be9ac65f44f8937a55427b \ + --hash=sha256:8464c9fbe6d94a7fe1599e7e8965f350fd233532868232ab2596a71586c5a429 \ + --hash=sha256:8f04d49a6b64cf24719c080b3c2029a3a5b16417fd5fd7c4041f94233af732f3 \ + --hash=sha256:96606c3ba57944d128e8a8399da4812f56c7f61de8c647e3470b417f795d0ef9 \ + --hash=sha256:99bc1bec6d234359743b01e70d4310d0ab240c3d6b0da7e2a93663b0158616f6 \ + --hash=sha256:ad76aef7f5f7e4a757fddcdcf010a8290958f09e3470ea458c80d26f4316ae89 \ + --hash=sha256:b4c4156a625f1e35d6c0b2132635a237708944eb41df5fbe7d50f20d20c17832 \ + --hash=sha256:b9766a47a9cb56fefe95cb27f535038b5a195707a08bf61b180e642324963b46 \ + --hash=sha256:c0fe3dbbf054a00d1f162fda94ce236a899ca01123a798c561ba307ca38af5f0 \ + --hash=sha256:c6cb2335a411b713fdf1e82a752162f72d4a7b5dbc588e32aa18383318b05866 \ + --hash=sha256:cc55d71898ea30dc95900297d191377caba257612f384207fe9f8293b5850f90 \ + --hash=sha256:d03c9d6f2a3dffbd62671ca070f13fc527bb1867b4ec2b98c7eeed381d4f389a \ + --hash=sha256:d383591f3dcbe545f6cc62daaef9c7cdfe0dff0fb9e1c8121101cabe9098cfa6 \ + --hash=sha256:d9d46e06846a41ba906ab25302cf0fd522f81aa2a85a71021826f34639ad31ef \ + --hash=sha256:d9dedeaf19097a143ed6da37f04f4051aba353c95ef507764d344229b2b740ae \ + --hash=sha256:e45274b20e524ae5c39d7fc1ca2aa923aab494776d2d4b316b49ec7572ca324c \ + --hash=sha256:ee8dec072569f43835932a3b10c55973593abc00936c202707a4ad06af7cb294 \ + --hash=sha256:f24faab6ed18f216a37870d8c5623f9c044566d75ec586ef884e13a02a9d62c5 \ + --hash=sha256:f2a21d39fbdb948857f67eacb5bbaaf36802de044ec36fbef7a1c8f0dd3a4ab2 \ + --hash=sha256:f3ad4c0eb4e2a9aeb990af6c09e6fa0b195c8c0e7b272ecc8d4d2b6574809d34 \ + --hash=sha256:fc28912a2dc924dddc2087679cc8b7263accc71b9ff025a1362b004711661a69 \ + --hash=sha256:fca15aabbe9b8355800d923cc2e82c8ef514af321e18b437c3d782aa884eaeec \ + --hash=sha256:fd44d66093a239358d07c42a91eebf5015aa54fccba959db899f932218ac9cc8 # via influxdb3-python python-dateutil==2.9.0.post0 \ --hash=sha256:37dd54208da7e1cd875388217d5e00ebd4179249f90fb72437e91a35459a0ad3 \ From 89894826f570a7a21c3e15f16ca1cdccd9a346ce Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 19 Feb 2025 19:06:47 +0000 Subject: [PATCH 112/322] build(deps): bump the sorbet group in /Library/Homebrew with 4 updates Bumps the sorbet group in /Library/Homebrew with 4 updates: [sorbet-static-and-runtime](https://github.com/sorbet/sorbet), [sorbet-runtime](https://github.com/sorbet/sorbet), [sorbet](https://github.com/sorbet/sorbet) and [sorbet-static](https://github.com/sorbet/sorbet). Updates `sorbet-static-and-runtime` from 0.5.11834 to 0.5.11835 - [Release notes](https://github.com/sorbet/sorbet/releases) - [Commits](https://github.com/sorbet/sorbet/commits) Updates `sorbet-runtime` from 0.5.11834 to 0.5.11835 - [Release notes](https://github.com/sorbet/sorbet/releases) - [Commits](https://github.com/sorbet/sorbet/commits) Updates `sorbet` from 0.5.11834 to 0.5.11835 - [Release notes](https://github.com/sorbet/sorbet/releases) - [Commits](https://github.com/sorbet/sorbet/commits) Updates `sorbet-static` from 0.5.11834 to 0.5.11835 - [Release notes](https://github.com/sorbet/sorbet/releases) - [Commits](https://github.com/sorbet/sorbet/commits) --- updated-dependencies: - dependency-name: sorbet-static-and-runtime dependency-type: direct:development update-type: version-update:semver-patch dependency-group: sorbet - dependency-name: sorbet-runtime dependency-type: direct:production update-type: version-update:semver-patch dependency-group: sorbet - dependency-name: sorbet dependency-type: indirect update-type: version-update:semver-patch dependency-group: sorbet - dependency-name: sorbet-static dependency-type: indirect update-type: version-update:semver-patch dependency-group: sorbet ... Signed-off-by: dependabot[bot] --- Library/Homebrew/Gemfile.lock | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/Library/Homebrew/Gemfile.lock b/Library/Homebrew/Gemfile.lock index da5fe4d38e..b229eab907 100644 --- a/Library/Homebrew/Gemfile.lock +++ b/Library/Homebrew/Gemfile.lock @@ -116,15 +116,15 @@ GEM simplecov-html (0.13.1) simplecov_json_formatter (0.1.4) simpleidn (0.2.3) - sorbet (0.5.11834) - sorbet-static (= 0.5.11834) - sorbet-runtime (0.5.11834) - sorbet-static (0.5.11834-aarch64-linux) - sorbet-static (0.5.11834-universal-darwin) - sorbet-static (0.5.11834-x86_64-linux) - sorbet-static-and-runtime (0.5.11834) - sorbet (= 0.5.11834) - sorbet-runtime (= 0.5.11834) + sorbet (0.5.11835) + sorbet-static (= 0.5.11835) + sorbet-runtime (0.5.11835) + sorbet-static (0.5.11835-aarch64-linux) + sorbet-static (0.5.11835-universal-darwin) + sorbet-static (0.5.11835-x86_64-linux) + sorbet-static-and-runtime (0.5.11835) + sorbet (= 0.5.11835) + sorbet-runtime (= 0.5.11835) spoom (1.5.3) erubi (>= 1.10.0) prism (>= 0.28.0) @@ -155,7 +155,6 @@ GEM PLATFORMS aarch64-linux - arm-linux arm64-darwin x86_64-darwin x86_64-linux From 5baae00d2a3d6e1e466ab9e5b953cdaf416cba24 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 19 Feb 2025 19:06:59 +0000 Subject: [PATCH 113/322] build(deps-dev): bump parallel_tests in /Library/Homebrew Bumps [parallel_tests](https://github.com/grosser/parallel_tests) from 4.9.0 to 4.9.1. - [Changelog](https://github.com/grosser/parallel_tests/blob/master/CHANGELOG.md) - [Commits](https://github.com/grosser/parallel_tests/compare/v4.9.0...v4.9.1) --- updated-dependencies: - dependency-name: parallel_tests dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- Library/Homebrew/Gemfile.lock | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Library/Homebrew/Gemfile.lock b/Library/Homebrew/Gemfile.lock index da5fe4d38e..2f752ebe0c 100644 --- a/Library/Homebrew/Gemfile.lock +++ b/Library/Homebrew/Gemfile.lock @@ -31,7 +31,7 @@ GEM minitest (5.25.4) netrc (0.11.0) parallel (1.26.3) - parallel_tests (4.9.0) + parallel_tests (4.9.1) parallel parser (3.3.7.1) ast (~> 2.4.1) @@ -155,7 +155,6 @@ GEM PLATFORMS aarch64-linux - arm-linux arm64-darwin x86_64-darwin x86_64-linux From 857441779b1694bb0a865597bc9e0ccb0d3fe4f5 Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Wed, 19 Feb 2025 20:13:31 +0000 Subject: [PATCH 114/322] brew vendor-gems: commit updates. --- Library/Homebrew/Gemfile.lock | 1 + Library/Homebrew/vendor/bundle/bundler/setup.rb | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Library/Homebrew/Gemfile.lock b/Library/Homebrew/Gemfile.lock index 2f752ebe0c..acddc022e4 100644 --- a/Library/Homebrew/Gemfile.lock +++ b/Library/Homebrew/Gemfile.lock @@ -155,6 +155,7 @@ GEM PLATFORMS aarch64-linux + arm-linux arm64-darwin x86_64-darwin x86_64-linux diff --git a/Library/Homebrew/vendor/bundle/bundler/setup.rb b/Library/Homebrew/vendor/bundle/bundler/setup.rb index 2da344a34f..3f383ab4d7 100644 --- a/Library/Homebrew/vendor/bundle/bundler/setup.rb +++ b/Library/Homebrew/vendor/bundle/bundler/setup.rb @@ -63,7 +63,7 @@ $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/minitest-5.25.4/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/netrc-0.11.0/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/parallel-1.26.3/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/parallel_tests-4.9.0/lib") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/parallel_tests-4.9.1/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/extensions/arm64-darwin-20/#{Gem.extension_api_version}/racc-1.8.1") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/racc-1.8.1/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/parser-3.3.7.1/lib") From 4307234f63f83ff35efc13c7b5a86a308179c3e0 Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Wed, 19 Feb 2025 20:13:37 +0000 Subject: [PATCH 115/322] Update RBI files for parallel_tests. Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow. --- .../gems/{parallel_tests@4.9.0.rbi => parallel_tests@4.9.1.rbi} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename Library/Homebrew/sorbet/rbi/gems/{parallel_tests@4.9.0.rbi => parallel_tests@4.9.1.rbi} (100%) diff --git a/Library/Homebrew/sorbet/rbi/gems/parallel_tests@4.9.0.rbi b/Library/Homebrew/sorbet/rbi/gems/parallel_tests@4.9.1.rbi similarity index 100% rename from Library/Homebrew/sorbet/rbi/gems/parallel_tests@4.9.0.rbi rename to Library/Homebrew/sorbet/rbi/gems/parallel_tests@4.9.1.rbi From 772fbafd28c6ef750f29ba7ec5fff3a0235d8fd6 Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Wed, 19 Feb 2025 20:14:06 +0000 Subject: [PATCH 116/322] brew vendor-gems: commit updates. --- Library/Homebrew/Gemfile.lock | 1 + Library/Homebrew/vendor/bundle/bundler/setup.rb | 8 ++++---- .../lib/sorbet-runtime.rb | 0 .../lib/types/_types.rb | 0 .../lib/types/abstract_utils.rb | 0 .../lib/types/boolean.rb | 0 .../lib/types/compatibility_patches.rb | 0 .../lib/types/configuration.rb | 0 .../lib/types/enum.rb | 0 .../lib/types/generic.rb | 0 .../lib/types/helpers.rb | 0 .../lib/types/non_forcing_constants.rb | 0 .../lib/types/private/abstract/data.rb | 0 .../lib/types/private/abstract/declare.rb | 0 .../lib/types/private/abstract/hooks.rb | 0 .../lib/types/private/abstract/validate.rb | 0 .../lib/types/private/caller_utils.rb | 0 .../lib/types/private/casts.rb | 0 .../lib/types/private/class_utils.rb | 0 .../lib/types/private/decl_state.rb | 0 .../lib/types/private/final.rb | 0 .../lib/types/private/methods/_methods.rb | 0 .../lib/types/private/methods/call_validation.rb | 0 .../lib/types/private/methods/call_validation_2_6.rb | 0 .../lib/types/private/methods/call_validation_2_7.rb | 0 .../lib/types/private/methods/decl_builder.rb | 0 .../lib/types/private/methods/modes.rb | 0 .../lib/types/private/methods/signature.rb | 0 .../lib/types/private/methods/signature_validation.rb | 0 .../lib/types/private/mixins/mixins.rb | 0 .../lib/types/private/retry.rb | 0 .../lib/types/private/runtime_levels.rb | 0 .../lib/types/private/sealed.rb | 0 .../lib/types/private/types/not_typed.rb | 0 .../lib/types/private/types/simple_pair_union.rb | 0 .../lib/types/private/types/string_holder.rb | 0 .../lib/types/private/types/type_alias.rb | 0 .../lib/types/private/types/void.rb | 0 .../lib/types/props/_props.rb | 0 .../lib/types/props/constructor.rb | 0 .../lib/types/props/custom_type.rb | 0 .../lib/types/props/decorator.rb | 0 .../lib/types/props/errors.rb | 0 .../lib/types/props/generated_code_validation.rb | 0 .../lib/types/props/has_lazily_specialized_methods.rb | 0 .../lib/types/props/optional.rb | 0 .../lib/types/props/plugin.rb | 0 .../lib/types/props/pretty_printable.rb | 0 .../lib/types/props/private/apply_default.rb | 0 .../lib/types/props/private/deserializer_generator.rb | 0 .../lib/types/props/private/parser.rb | 0 .../lib/types/props/private/serde_transform.rb | 0 .../lib/types/props/private/serializer_generator.rb | 0 .../lib/types/props/private/setter_factory.rb | 0 .../lib/types/props/serializable.rb | 0 .../lib/types/props/type_validation.rb | 0 .../lib/types/props/utils.rb | 0 .../lib/types/props/weak_constructor.rb | 0 .../lib/types/sig.rb | 0 .../lib/types/struct.rb | 0 .../lib/types/types/anything.rb | 0 .../lib/types/types/attached_class.rb | 0 .../lib/types/types/base.rb | 0 .../lib/types/types/class_of.rb | 0 .../lib/types/types/enum.rb | 0 .../lib/types/types/fixed_array.rb | 0 .../lib/types/types/fixed_hash.rb | 0 .../lib/types/types/intersection.rb | 0 .../lib/types/types/noreturn.rb | 0 .../lib/types/types/proc.rb | 0 .../lib/types/types/self_type.rb | 0 .../lib/types/types/simple.rb | 0 .../lib/types/types/t_enum.rb | 0 .../lib/types/types/type_member.rb | 0 .../lib/types/types/type_parameter.rb | 0 .../lib/types/types/type_template.rb | 0 .../lib/types/types/type_variable.rb | 0 .../lib/types/types/typed_array.rb | 0 .../lib/types/types/typed_class.rb | 0 .../lib/types/types/typed_enumerable.rb | 0 .../lib/types/types/typed_enumerator.rb | 0 .../lib/types/types/typed_enumerator_chain.rb | 0 .../lib/types/types/typed_enumerator_lazy.rb | 0 .../lib/types/types/typed_hash.rb | 0 .../lib/types/types/typed_range.rb | 0 .../lib/types/types/typed_set.rb | 0 .../lib/types/types/union.rb | 0 .../lib/types/types/untyped.rb | 0 .../lib/types/utils.rb | 0 89 files changed, 5 insertions(+), 4 deletions(-) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11834 => sorbet-runtime-0.5.11835}/lib/sorbet-runtime.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11834 => sorbet-runtime-0.5.11835}/lib/types/_types.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11834 => sorbet-runtime-0.5.11835}/lib/types/abstract_utils.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11834 => sorbet-runtime-0.5.11835}/lib/types/boolean.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11834 => sorbet-runtime-0.5.11835}/lib/types/compatibility_patches.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11834 => sorbet-runtime-0.5.11835}/lib/types/configuration.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11834 => sorbet-runtime-0.5.11835}/lib/types/enum.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11834 => sorbet-runtime-0.5.11835}/lib/types/generic.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11834 => sorbet-runtime-0.5.11835}/lib/types/helpers.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11834 => sorbet-runtime-0.5.11835}/lib/types/non_forcing_constants.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11834 => sorbet-runtime-0.5.11835}/lib/types/private/abstract/data.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11834 => sorbet-runtime-0.5.11835}/lib/types/private/abstract/declare.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11834 => sorbet-runtime-0.5.11835}/lib/types/private/abstract/hooks.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11834 => sorbet-runtime-0.5.11835}/lib/types/private/abstract/validate.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11834 => sorbet-runtime-0.5.11835}/lib/types/private/caller_utils.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11834 => sorbet-runtime-0.5.11835}/lib/types/private/casts.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11834 => sorbet-runtime-0.5.11835}/lib/types/private/class_utils.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11834 => sorbet-runtime-0.5.11835}/lib/types/private/decl_state.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11834 => sorbet-runtime-0.5.11835}/lib/types/private/final.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11834 => sorbet-runtime-0.5.11835}/lib/types/private/methods/_methods.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11834 => sorbet-runtime-0.5.11835}/lib/types/private/methods/call_validation.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11834 => sorbet-runtime-0.5.11835}/lib/types/private/methods/call_validation_2_6.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11834 => sorbet-runtime-0.5.11835}/lib/types/private/methods/call_validation_2_7.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11834 => sorbet-runtime-0.5.11835}/lib/types/private/methods/decl_builder.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11834 => sorbet-runtime-0.5.11835}/lib/types/private/methods/modes.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11834 => sorbet-runtime-0.5.11835}/lib/types/private/methods/signature.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11834 => sorbet-runtime-0.5.11835}/lib/types/private/methods/signature_validation.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11834 => sorbet-runtime-0.5.11835}/lib/types/private/mixins/mixins.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11834 => sorbet-runtime-0.5.11835}/lib/types/private/retry.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11834 => sorbet-runtime-0.5.11835}/lib/types/private/runtime_levels.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11834 => sorbet-runtime-0.5.11835}/lib/types/private/sealed.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11834 => sorbet-runtime-0.5.11835}/lib/types/private/types/not_typed.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11834 => sorbet-runtime-0.5.11835}/lib/types/private/types/simple_pair_union.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11834 => sorbet-runtime-0.5.11835}/lib/types/private/types/string_holder.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11834 => sorbet-runtime-0.5.11835}/lib/types/private/types/type_alias.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11834 => sorbet-runtime-0.5.11835}/lib/types/private/types/void.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11834 => sorbet-runtime-0.5.11835}/lib/types/props/_props.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11834 => sorbet-runtime-0.5.11835}/lib/types/props/constructor.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11834 => sorbet-runtime-0.5.11835}/lib/types/props/custom_type.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11834 => sorbet-runtime-0.5.11835}/lib/types/props/decorator.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11834 => sorbet-runtime-0.5.11835}/lib/types/props/errors.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11834 => sorbet-runtime-0.5.11835}/lib/types/props/generated_code_validation.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11834 => sorbet-runtime-0.5.11835}/lib/types/props/has_lazily_specialized_methods.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11834 => sorbet-runtime-0.5.11835}/lib/types/props/optional.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11834 => sorbet-runtime-0.5.11835}/lib/types/props/plugin.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11834 => sorbet-runtime-0.5.11835}/lib/types/props/pretty_printable.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11834 => sorbet-runtime-0.5.11835}/lib/types/props/private/apply_default.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11834 => sorbet-runtime-0.5.11835}/lib/types/props/private/deserializer_generator.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11834 => sorbet-runtime-0.5.11835}/lib/types/props/private/parser.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11834 => sorbet-runtime-0.5.11835}/lib/types/props/private/serde_transform.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11834 => sorbet-runtime-0.5.11835}/lib/types/props/private/serializer_generator.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11834 => sorbet-runtime-0.5.11835}/lib/types/props/private/setter_factory.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11834 => sorbet-runtime-0.5.11835}/lib/types/props/serializable.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11834 => sorbet-runtime-0.5.11835}/lib/types/props/type_validation.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11834 => sorbet-runtime-0.5.11835}/lib/types/props/utils.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11834 => sorbet-runtime-0.5.11835}/lib/types/props/weak_constructor.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11834 => sorbet-runtime-0.5.11835}/lib/types/sig.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11834 => sorbet-runtime-0.5.11835}/lib/types/struct.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11834 => sorbet-runtime-0.5.11835}/lib/types/types/anything.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11834 => sorbet-runtime-0.5.11835}/lib/types/types/attached_class.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11834 => sorbet-runtime-0.5.11835}/lib/types/types/base.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11834 => sorbet-runtime-0.5.11835}/lib/types/types/class_of.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11834 => sorbet-runtime-0.5.11835}/lib/types/types/enum.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11834 => sorbet-runtime-0.5.11835}/lib/types/types/fixed_array.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11834 => sorbet-runtime-0.5.11835}/lib/types/types/fixed_hash.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11834 => sorbet-runtime-0.5.11835}/lib/types/types/intersection.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11834 => sorbet-runtime-0.5.11835}/lib/types/types/noreturn.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11834 => sorbet-runtime-0.5.11835}/lib/types/types/proc.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11834 => sorbet-runtime-0.5.11835}/lib/types/types/self_type.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11834 => sorbet-runtime-0.5.11835}/lib/types/types/simple.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11834 => sorbet-runtime-0.5.11835}/lib/types/types/t_enum.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11834 => sorbet-runtime-0.5.11835}/lib/types/types/type_member.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11834 => sorbet-runtime-0.5.11835}/lib/types/types/type_parameter.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11834 => sorbet-runtime-0.5.11835}/lib/types/types/type_template.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11834 => sorbet-runtime-0.5.11835}/lib/types/types/type_variable.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11834 => sorbet-runtime-0.5.11835}/lib/types/types/typed_array.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11834 => sorbet-runtime-0.5.11835}/lib/types/types/typed_class.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11834 => sorbet-runtime-0.5.11835}/lib/types/types/typed_enumerable.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11834 => sorbet-runtime-0.5.11835}/lib/types/types/typed_enumerator.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11834 => sorbet-runtime-0.5.11835}/lib/types/types/typed_enumerator_chain.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11834 => sorbet-runtime-0.5.11835}/lib/types/types/typed_enumerator_lazy.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11834 => sorbet-runtime-0.5.11835}/lib/types/types/typed_hash.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11834 => sorbet-runtime-0.5.11835}/lib/types/types/typed_range.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11834 => sorbet-runtime-0.5.11835}/lib/types/types/typed_set.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11834 => sorbet-runtime-0.5.11835}/lib/types/types/union.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11834 => sorbet-runtime-0.5.11835}/lib/types/types/untyped.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11834 => sorbet-runtime-0.5.11835}/lib/types/utils.rb (100%) diff --git a/Library/Homebrew/Gemfile.lock b/Library/Homebrew/Gemfile.lock index b229eab907..1e64483678 100644 --- a/Library/Homebrew/Gemfile.lock +++ b/Library/Homebrew/Gemfile.lock @@ -155,6 +155,7 @@ GEM PLATFORMS aarch64-linux + arm-linux arm64-darwin x86_64-darwin x86_64-linux diff --git a/Library/Homebrew/vendor/bundle/bundler/setup.rb b/Library/Homebrew/vendor/bundle/bundler/setup.rb index 2da344a34f..3e66e359d8 100644 --- a/Library/Homebrew/vendor/bundle/bundler/setup.rb +++ b/Library/Homebrew/vendor/bundle/bundler/setup.rb @@ -75,7 +75,7 @@ $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/extensions/arm64-darwin-20/#{Gem.extension_api_version}/pycall-1.5.2") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/pycall-1.5.2/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rainbow-3.1.1/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-runtime-0.5.11834/lib") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-runtime-0.5.11835/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rbi-0.2.4/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/extensions/arm64-darwin-20/#{Gem.extension_api_version}/rbs-3.8.1") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rbs-3.8.1/lib") @@ -107,9 +107,9 @@ $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/simplecov_json_formatter-0.1.4/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/simplecov-0.22.0/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/simplecov-cobertura-2.1.0/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-static-0.5.11834-universal-darwin/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-0.5.11834/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-static-and-runtime-0.5.11834/lib") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-static-0.5.11835-universal-darwin/lib") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-0.5.11835/lib") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-static-and-runtime-0.5.11835/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/thor-1.3.2/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/spoom-1.5.3/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/extensions/arm64-darwin-20/#{Gem.extension_api_version}/stackprof-0.2.27") diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/sorbet-runtime.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/sorbet-runtime.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/sorbet-runtime.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/sorbet-runtime.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/_types.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/_types.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/_types.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/_types.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/abstract_utils.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/abstract_utils.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/abstract_utils.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/abstract_utils.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/boolean.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/boolean.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/boolean.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/boolean.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/compatibility_patches.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/compatibility_patches.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/compatibility_patches.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/compatibility_patches.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/configuration.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/configuration.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/configuration.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/configuration.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/enum.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/enum.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/enum.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/enum.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/generic.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/generic.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/generic.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/generic.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/helpers.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/helpers.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/helpers.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/helpers.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/non_forcing_constants.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/non_forcing_constants.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/non_forcing_constants.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/non_forcing_constants.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/private/abstract/data.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/private/abstract/data.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/private/abstract/data.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/private/abstract/data.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/private/abstract/declare.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/private/abstract/declare.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/private/abstract/declare.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/private/abstract/declare.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/private/abstract/hooks.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/private/abstract/hooks.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/private/abstract/hooks.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/private/abstract/hooks.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/private/abstract/validate.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/private/abstract/validate.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/private/abstract/validate.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/private/abstract/validate.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/private/caller_utils.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/private/caller_utils.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/private/caller_utils.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/private/caller_utils.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/private/casts.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/private/casts.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/private/casts.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/private/casts.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/private/class_utils.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/private/class_utils.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/private/class_utils.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/private/class_utils.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/private/decl_state.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/private/decl_state.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/private/decl_state.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/private/decl_state.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/private/final.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/private/final.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/private/final.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/private/final.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/private/methods/_methods.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/private/methods/_methods.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/private/methods/_methods.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/private/methods/_methods.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/private/methods/call_validation.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/private/methods/call_validation.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/private/methods/call_validation.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/private/methods/call_validation.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/private/methods/call_validation_2_6.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/private/methods/call_validation_2_6.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/private/methods/call_validation_2_6.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/private/methods/call_validation_2_6.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/private/methods/call_validation_2_7.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/private/methods/call_validation_2_7.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/private/methods/call_validation_2_7.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/private/methods/call_validation_2_7.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/private/methods/decl_builder.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/private/methods/decl_builder.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/private/methods/decl_builder.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/private/methods/decl_builder.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/private/methods/modes.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/private/methods/modes.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/private/methods/modes.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/private/methods/modes.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/private/methods/signature.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/private/methods/signature.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/private/methods/signature.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/private/methods/signature.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/private/methods/signature_validation.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/private/methods/signature_validation.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/private/methods/signature_validation.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/private/methods/signature_validation.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/private/mixins/mixins.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/private/mixins/mixins.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/private/mixins/mixins.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/private/mixins/mixins.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/private/retry.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/private/retry.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/private/retry.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/private/retry.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/private/runtime_levels.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/private/runtime_levels.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/private/runtime_levels.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/private/runtime_levels.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/private/sealed.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/private/sealed.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/private/sealed.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/private/sealed.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/private/types/not_typed.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/private/types/not_typed.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/private/types/not_typed.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/private/types/not_typed.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/private/types/simple_pair_union.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/private/types/simple_pair_union.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/private/types/simple_pair_union.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/private/types/simple_pair_union.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/private/types/string_holder.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/private/types/string_holder.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/private/types/string_holder.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/private/types/string_holder.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/private/types/type_alias.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/private/types/type_alias.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/private/types/type_alias.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/private/types/type_alias.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/private/types/void.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/private/types/void.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/private/types/void.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/private/types/void.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/props/_props.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/props/_props.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/props/_props.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/props/_props.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/props/constructor.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/props/constructor.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/props/constructor.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/props/constructor.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/props/custom_type.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/props/custom_type.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/props/custom_type.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/props/custom_type.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/props/decorator.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/props/decorator.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/props/decorator.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/props/decorator.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/props/errors.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/props/errors.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/props/errors.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/props/errors.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/props/generated_code_validation.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/props/generated_code_validation.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/props/generated_code_validation.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/props/generated_code_validation.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/props/has_lazily_specialized_methods.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/props/has_lazily_specialized_methods.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/props/has_lazily_specialized_methods.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/props/has_lazily_specialized_methods.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/props/optional.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/props/optional.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/props/optional.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/props/optional.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/props/plugin.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/props/plugin.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/props/plugin.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/props/plugin.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/props/pretty_printable.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/props/pretty_printable.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/props/pretty_printable.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/props/pretty_printable.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/props/private/apply_default.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/props/private/apply_default.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/props/private/apply_default.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/props/private/apply_default.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/props/private/deserializer_generator.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/props/private/deserializer_generator.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/props/private/deserializer_generator.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/props/private/deserializer_generator.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/props/private/parser.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/props/private/parser.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/props/private/parser.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/props/private/parser.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/props/private/serde_transform.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/props/private/serde_transform.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/props/private/serde_transform.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/props/private/serde_transform.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/props/private/serializer_generator.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/props/private/serializer_generator.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/props/private/serializer_generator.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/props/private/serializer_generator.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/props/private/setter_factory.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/props/private/setter_factory.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/props/private/setter_factory.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/props/private/setter_factory.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/props/serializable.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/props/serializable.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/props/serializable.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/props/serializable.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/props/type_validation.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/props/type_validation.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/props/type_validation.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/props/type_validation.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/props/utils.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/props/utils.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/props/utils.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/props/utils.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/props/weak_constructor.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/props/weak_constructor.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/props/weak_constructor.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/props/weak_constructor.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/sig.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/sig.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/sig.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/sig.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/struct.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/struct.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/struct.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/struct.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/types/anything.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/types/anything.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/types/anything.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/types/anything.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/types/attached_class.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/types/attached_class.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/types/attached_class.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/types/attached_class.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/types/base.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/types/base.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/types/base.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/types/base.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/types/class_of.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/types/class_of.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/types/class_of.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/types/class_of.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/types/enum.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/types/enum.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/types/enum.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/types/enum.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/types/fixed_array.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/types/fixed_array.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/types/fixed_array.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/types/fixed_array.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/types/fixed_hash.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/types/fixed_hash.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/types/fixed_hash.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/types/fixed_hash.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/types/intersection.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/types/intersection.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/types/intersection.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/types/intersection.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/types/noreturn.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/types/noreturn.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/types/noreturn.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/types/noreturn.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/types/proc.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/types/proc.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/types/proc.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/types/proc.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/types/self_type.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/types/self_type.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/types/self_type.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/types/self_type.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/types/simple.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/types/simple.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/types/simple.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/types/simple.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/types/t_enum.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/types/t_enum.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/types/t_enum.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/types/t_enum.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/types/type_member.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/types/type_member.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/types/type_member.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/types/type_member.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/types/type_parameter.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/types/type_parameter.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/types/type_parameter.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/types/type_parameter.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/types/type_template.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/types/type_template.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/types/type_template.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/types/type_template.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/types/type_variable.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/types/type_variable.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/types/type_variable.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/types/type_variable.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/types/typed_array.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/types/typed_array.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/types/typed_array.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/types/typed_array.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/types/typed_class.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/types/typed_class.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/types/typed_class.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/types/typed_class.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/types/typed_enumerable.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/types/typed_enumerable.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/types/typed_enumerable.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/types/typed_enumerable.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/types/typed_enumerator.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/types/typed_enumerator.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/types/typed_enumerator.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/types/typed_enumerator.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/types/typed_enumerator_chain.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/types/typed_enumerator_chain.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/types/typed_enumerator_chain.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/types/typed_enumerator_chain.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/types/typed_enumerator_lazy.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/types/typed_enumerator_lazy.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/types/typed_enumerator_lazy.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/types/typed_enumerator_lazy.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/types/typed_hash.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/types/typed_hash.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/types/typed_hash.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/types/typed_hash.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/types/typed_range.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/types/typed_range.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/types/typed_range.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/types/typed_range.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/types/typed_set.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/types/typed_set.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/types/typed_set.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/types/typed_set.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/types/union.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/types/union.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/types/union.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/types/union.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/types/untyped.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/types/untyped.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/types/untyped.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/types/untyped.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/utils.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/utils.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11834/lib/types/utils.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/utils.rb From ce60f412e66b5c548004c3721a5b6b7d8dbca028 Mon Sep 17 00:00:00 2001 From: Adrian Ho Date: Thu, 20 Feb 2025 12:03:47 +0800 Subject: [PATCH 117/322] diagnostic: recommend untap where possible Addresses #19334. --- Library/Homebrew/diagnostic.rb | 28 ++++++++++++++++++++++++---- 1 file changed, 24 insertions(+), 4 deletions(-) diff --git a/Library/Homebrew/diagnostic.rb b/Library/Homebrew/diagnostic.rb index e9fdb32abe..1b0b1608a7 100644 --- a/Library/Homebrew/diagnostic.rb +++ b/Library/Homebrew/diagnostic.rb @@ -1051,13 +1051,23 @@ module Homebrew shadowed_formula_full_names = non_core_taps.flat_map do |tap| tap_formula_names = tap.formula_names.map { |s| s.delete_prefix("#{tap.name}/") } (core_formula_names & tap_formula_names).map { |f| "#{tap.name}/#{f}" } - end.compact + end.compact.sort return if shadowed_formula_full_names.empty? + installed_formula_tap_names = Formula.installed.filter_map(&:tap).uniq.reject(&:official?).map(&:name) + shadowed_formula_tap_names = shadowed_formula_full_names.map { |s| s.rpartition("/").first }.uniq + unused_shadowed_formula_tap_names = (shadowed_formula_tap_names - installed_formula_tap_names).sort + + resolution = if unused_shadowed_formula_tap_names.empty? + "Their taps are in use, so you must use these full names throughout Homebrew." + else + "Some of these can be resolved with:\n brew untap #{unused_shadowed_formula_tap_names.join(" ")}" + end + <<~EOS The following formulae have the same name as core formulae: #{shadowed_formula_full_names.join("\n ")} - You will need to use their full names throughout Homebrew. + #{resolution} EOS end @@ -1068,13 +1078,23 @@ module Homebrew shadowed_cask_full_names = non_core_taps.flat_map do |tap| tap_cask_names = tap.cask_tokens.map { |s| s.delete_prefix("#{tap.name}/") } (core_cask_names & tap_cask_names).map { |f| "#{tap.name}/#{f}" } - end.compact + end.compact.sort return if shadowed_cask_full_names.empty? + installed_cask_tap_names = Cask::Caskroom.casks.filter_map(&:tap).uniq.reject(&:official?).map(&:name) + shadowed_cask_tap_names = shadowed_cask_full_names.map { |s| s.rpartition("/").first }.uniq + unused_shadowed_cask_tap_names = (shadowed_cask_tap_names - installed_cask_tap_names).sort + + resolution = if unused_shadowed_cask_tap_names.empty? + "Their taps are in use, so you must use these full names throughout Homebrew." + else + "Some of these can be resolved with:\n brew untap #{unused_shadowed_cask_tap_names.join(" ")}" + end + <<~EOS The following casks have the same name as core casks: #{shadowed_cask_full_names.join("\n ")} - You will need to use their full names throughout Homebrew. + #{resolution} EOS end From 62057f12216a6bc5b193e527af0d8aac240c5cd0 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 20 Feb 2025 18:58:50 +0000 Subject: [PATCH 118/322] build(deps-dev): bump spoom from 1.5.3 to 1.5.4 in /Library/Homebrew Bumps [spoom](https://github.com/Shopify/spoom) from 1.5.3 to 1.5.4. - [Release notes](https://github.com/Shopify/spoom/releases) - [Commits](https://github.com/Shopify/spoom/compare/v1.5.3...v1.5.4) --- updated-dependencies: - dependency-name: spoom dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- Library/Homebrew/Gemfile.lock | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Library/Homebrew/Gemfile.lock b/Library/Homebrew/Gemfile.lock index 8de78ff236..7bf88e8c45 100644 --- a/Library/Homebrew/Gemfile.lock +++ b/Library/Homebrew/Gemfile.lock @@ -125,7 +125,7 @@ GEM sorbet-static-and-runtime (0.5.11835) sorbet (= 0.5.11835) sorbet-runtime (= 0.5.11835) - spoom (1.5.3) + spoom (1.5.4) erubi (>= 1.10.0) prism (>= 0.28.0) rbi (>= 0.2.3) @@ -155,7 +155,6 @@ GEM PLATFORMS aarch64-linux - arm-linux arm64-darwin x86_64-darwin x86_64-linux From 57e45b99df8fc2505a59b0e48602fa172d1a312c Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Thu, 20 Feb 2025 19:37:02 +0000 Subject: [PATCH 119/322] brew vendor-gems: commit updates. --- Library/Homebrew/Gemfile.lock | 1 + Library/Homebrew/vendor/bundle/bundler/setup.rb | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Library/Homebrew/Gemfile.lock b/Library/Homebrew/Gemfile.lock index 7bf88e8c45..b6fad01bbe 100644 --- a/Library/Homebrew/Gemfile.lock +++ b/Library/Homebrew/Gemfile.lock @@ -155,6 +155,7 @@ GEM PLATFORMS aarch64-linux + arm-linux arm64-darwin x86_64-darwin x86_64-linux diff --git a/Library/Homebrew/vendor/bundle/bundler/setup.rb b/Library/Homebrew/vendor/bundle/bundler/setup.rb index ee400d0ec3..b0ec0bee47 100644 --- a/Library/Homebrew/vendor/bundle/bundler/setup.rb +++ b/Library/Homebrew/vendor/bundle/bundler/setup.rb @@ -111,7 +111,7 @@ $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-0.5.11835/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-static-and-runtime-0.5.11835/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/thor-1.3.2/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/spoom-1.5.3/lib") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/spoom-1.5.4/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/extensions/arm64-darwin-20/#{Gem.extension_api_version}/stackprof-0.2.27") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/stackprof-0.2.27/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/yard-0.9.37/lib") From cd8d7deef07f7fff779f03dc4bcafcf644ac1c35 Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Thu, 20 Feb 2025 19:37:10 +0000 Subject: [PATCH 120/322] Update RBI files for spoom. Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow. --- .../gems/{spoom@1.5.3.rbi => spoom@1.5.4.rbi} | 46 +++++++++---------- 1 file changed, 23 insertions(+), 23 deletions(-) rename Library/Homebrew/sorbet/rbi/gems/{spoom@1.5.3.rbi => spoom@1.5.4.rbi} (99%) diff --git a/Library/Homebrew/sorbet/rbi/gems/spoom@1.5.3.rbi b/Library/Homebrew/sorbet/rbi/gems/spoom@1.5.4.rbi similarity index 99% rename from Library/Homebrew/sorbet/rbi/gems/spoom@1.5.3.rbi rename to Library/Homebrew/sorbet/rbi/gems/spoom@1.5.4.rbi index 639e76f135..214261eece 100644 --- a/Library/Homebrew/sorbet/rbi/gems/spoom@1.5.3.rbi +++ b/Library/Homebrew/sorbet/rbi/gems/spoom@1.5.4.rbi @@ -1027,7 +1027,7 @@ class Spoom::Coverage::D3::ColorPalette < ::T::Struct prop :strong, ::String class << self - # source://sorbet-runtime/0.5.11787/lib/types/struct.rb#13 + # source://sorbet-runtime/0.5.11835/lib/types/struct.rb#13 def inherited(s); end end end @@ -1367,7 +1367,7 @@ class Spoom::Coverage::Snapshot < ::T::Struct sig { params(obj: T::Hash[::String, T.untyped]).returns(::Spoom::Coverage::Snapshot) } def from_obj(obj); end - # source://sorbet-runtime/0.5.11787/lib/types/struct.rb#13 + # source://sorbet-runtime/0.5.11835/lib/types/struct.rb#13 def inherited(s); end end end @@ -1503,7 +1503,7 @@ class Spoom::Deadcode::Definition < ::T::Struct def to_json(*args); end class << self - # source://sorbet-runtime/0.5.11787/lib/types/struct.rb#13 + # source://sorbet-runtime/0.5.11835/lib/types/struct.rb#13 def inherited(s); end end end @@ -2391,7 +2391,7 @@ class Spoom::Deadcode::Send < ::T::Struct def each_arg_assoc(&block); end class << self - # source://sorbet-runtime/0.5.11787/lib/types/struct.rb#13 + # source://sorbet-runtime/0.5.11835/lib/types/struct.rb#13 def inherited(s); end end end @@ -2411,7 +2411,7 @@ class Spoom::ExecResult < ::T::Struct def to_s; end class << self - # source://sorbet-runtime/0.5.11787/lib/types/struct.rb#13 + # source://sorbet-runtime/0.5.11835/lib/types/struct.rb#13 def inherited(s); end end end @@ -2609,7 +2609,7 @@ class Spoom::FileTree::Node < ::T::Struct def path; end class << self - # source://sorbet-runtime/0.5.11787/lib/types/struct.rb#13 + # source://sorbet-runtime/0.5.11835/lib/types/struct.rb#13 def inherited(s); end end end @@ -2675,7 +2675,7 @@ class Spoom::Git::Commit < ::T::Struct def timestamp; end class << self - # source://sorbet-runtime/0.5.11787/lib/types/struct.rb#13 + # source://sorbet-runtime/0.5.11835/lib/types/struct.rb#13 def inherited(s); end # Parse a line formatted as `%h %at` into a `Commit` @@ -2787,7 +2787,7 @@ class Spoom::LSP::Diagnostic < ::T::Struct sig { params(json: T::Hash[T.untyped, T.untyped]).returns(::Spoom::LSP::Diagnostic) } def from_json(json); end - # source://sorbet-runtime/0.5.11787/lib/types/struct.rb#13 + # source://sorbet-runtime/0.5.11835/lib/types/struct.rb#13 def inherited(s); end end end @@ -2820,7 +2820,7 @@ class Spoom::LSP::DocumentSymbol < ::T::Struct sig { params(json: T::Hash[T.untyped, T.untyped]).returns(::Spoom::LSP::DocumentSymbol) } def from_json(json); end - # source://sorbet-runtime/0.5.11787/lib/types/struct.rb#13 + # source://sorbet-runtime/0.5.11835/lib/types/struct.rb#13 def inherited(s); end end end @@ -2878,7 +2878,7 @@ class Spoom::LSP::Hover < ::T::Struct sig { params(json: T::Hash[T.untyped, T.untyped]).returns(::Spoom::LSP::Hover) } def from_json(json); end - # source://sorbet-runtime/0.5.11787/lib/types/struct.rb#13 + # source://sorbet-runtime/0.5.11835/lib/types/struct.rb#13 def inherited(s); end end end @@ -2903,7 +2903,7 @@ class Spoom::LSP::Location < ::T::Struct sig { params(json: T::Hash[T.untyped, T.untyped]).returns(::Spoom::LSP::Location) } def from_json(json); end - # source://sorbet-runtime/0.5.11787/lib/types/struct.rb#13 + # source://sorbet-runtime/0.5.11835/lib/types/struct.rb#13 def inherited(s); end end end @@ -2966,7 +2966,7 @@ class Spoom::LSP::Position < ::T::Struct sig { params(json: T::Hash[T.untyped, T.untyped]).returns(::Spoom::LSP::Position) } def from_json(json); end - # source://sorbet-runtime/0.5.11787/lib/types/struct.rb#13 + # source://sorbet-runtime/0.5.11835/lib/types/struct.rb#13 def inherited(s); end end end @@ -3004,7 +3004,7 @@ class Spoom::LSP::Range < ::T::Struct sig { params(json: T::Hash[T.untyped, T.untyped]).returns(::Spoom::LSP::Range) } def from_json(json); end - # source://sorbet-runtime/0.5.11787/lib/types/struct.rb#13 + # source://sorbet-runtime/0.5.11835/lib/types/struct.rb#13 def inherited(s); end end end @@ -3070,7 +3070,7 @@ class Spoom::LSP::SignatureHelp < ::T::Struct sig { params(json: T::Hash[T.untyped, T.untyped]).returns(::Spoom::LSP::SignatureHelp) } def from_json(json); end - # source://sorbet-runtime/0.5.11787/lib/types/struct.rb#13 + # source://sorbet-runtime/0.5.11835/lib/types/struct.rb#13 def inherited(s); end end end @@ -3496,7 +3496,7 @@ class Spoom::Model::Reference < ::T::Struct sig { params(name: ::String, location: ::Spoom::Location).returns(::Spoom::Model::Reference) } def constant(name, location); end - # source://sorbet-runtime/0.5.11787/lib/types/struct.rb#13 + # source://sorbet-runtime/0.5.11835/lib/types/struct.rb#13 def inherited(s); end # source://spoom//lib/spoom/model/reference.rb#29 @@ -4348,36 +4348,36 @@ end # From https://github.com/Shopify/ruby-lsp/blob/9154bfc6ef/lib/ruby_lsp/document.rb#L127 # -# source://spoom//lib/spoom/sorbet/sigs.rb#145 +# source://spoom//lib/spoom/sorbet/sigs.rb#147 class Spoom::Sorbet::Sigs::Scanner - # source://spoom//lib/spoom/sorbet/sigs.rb#151 + # source://spoom//lib/spoom/sorbet/sigs.rb#153 sig { params(source: ::String).void } def initialize(source); end # Finds the character index inside the source string for a given line and column # - # source://spoom//lib/spoom/sorbet/sigs.rb#159 + # source://spoom//lib/spoom/sorbet/sigs.rb#161 sig { params(line: ::Integer, character: ::Integer).returns(::Integer) } def find_char_position(line, character); end end -# source://spoom//lib/spoom/sorbet/sigs.rb#148 +# source://spoom//lib/spoom/sorbet/sigs.rb#150 Spoom::Sorbet::Sigs::Scanner::LINE_BREAK = T.let(T.unsafe(nil), Integer) -# source://spoom//lib/spoom/sorbet/sigs.rb#83 +# source://spoom//lib/spoom/sorbet/sigs.rb#85 class Spoom::Sorbet::Sigs::SigTranslator class << self - # source://spoom//lib/spoom/sorbet/sigs.rb#88 + # source://spoom//lib/spoom/sorbet/sigs.rb#90 sig { params(sig: ::RBI::Sig, node: T.any(::RBI::Attr, ::RBI::Method)).returns(::String) } def translate(sig, node); end private - # source://spoom//lib/spoom/sorbet/sigs.rb#135 + # source://spoom//lib/spoom/sorbet/sigs.rb#137 sig { params(sig: ::RBI::Sig, node: ::RBI::Attr).returns(::String) } def translate_attr_sig(sig, node); end - # source://spoom//lib/spoom/sorbet/sigs.rb#100 + # source://spoom//lib/spoom/sorbet/sigs.rb#102 sig { params(sig: ::RBI::Sig, node: ::RBI::Method).returns(::String) } def translate_method_sig(sig, node); end end From 56051336f7b83b33a3fb0fb7fedb4e291b73405f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 20 Feb 2025 22:05:29 +0000 Subject: [PATCH 121/322] build(deps): bump the sorbet group across 1 directory with 4 updates Bumps the sorbet group with 1 update in the /Library/Homebrew directory: [sorbet-static-and-runtime](https://github.com/sorbet/sorbet). Updates `sorbet-static-and-runtime` from 0.5.11835 to 0.5.11842 - [Release notes](https://github.com/sorbet/sorbet/releases) - [Commits](https://github.com/sorbet/sorbet/commits) Updates `sorbet-runtime` from 0.5.11835 to 0.5.11842 - [Release notes](https://github.com/sorbet/sorbet/releases) - [Commits](https://github.com/sorbet/sorbet/commits) Updates `sorbet` from 0.5.11835 to 0.5.11842 - [Release notes](https://github.com/sorbet/sorbet/releases) - [Commits](https://github.com/sorbet/sorbet/commits) Updates `sorbet-static` from 0.5.11835 to 0.5.11842 - [Release notes](https://github.com/sorbet/sorbet/releases) - [Commits](https://github.com/sorbet/sorbet/commits) --- updated-dependencies: - dependency-name: sorbet-static-and-runtime dependency-type: direct:development update-type: version-update:semver-patch dependency-group: sorbet - dependency-name: sorbet-runtime dependency-type: direct:production update-type: version-update:semver-patch dependency-group: sorbet - dependency-name: sorbet dependency-type: indirect update-type: version-update:semver-patch dependency-group: sorbet - dependency-name: sorbet-static dependency-type: indirect update-type: version-update:semver-patch dependency-group: sorbet ... Signed-off-by: dependabot[bot] --- Library/Homebrew/Gemfile.lock | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/Library/Homebrew/Gemfile.lock b/Library/Homebrew/Gemfile.lock index b6fad01bbe..8e8eef4c14 100644 --- a/Library/Homebrew/Gemfile.lock +++ b/Library/Homebrew/Gemfile.lock @@ -116,15 +116,15 @@ GEM simplecov-html (0.13.1) simplecov_json_formatter (0.1.4) simpleidn (0.2.3) - sorbet (0.5.11835) - sorbet-static (= 0.5.11835) - sorbet-runtime (0.5.11835) - sorbet-static (0.5.11835-aarch64-linux) - sorbet-static (0.5.11835-universal-darwin) - sorbet-static (0.5.11835-x86_64-linux) - sorbet-static-and-runtime (0.5.11835) - sorbet (= 0.5.11835) - sorbet-runtime (= 0.5.11835) + sorbet (0.5.11842) + sorbet-static (= 0.5.11842) + sorbet-runtime (0.5.11842) + sorbet-static (0.5.11842-aarch64-linux) + sorbet-static (0.5.11842-universal-darwin) + sorbet-static (0.5.11842-x86_64-linux) + sorbet-static-and-runtime (0.5.11842) + sorbet (= 0.5.11842) + sorbet-runtime (= 0.5.11842) spoom (1.5.4) erubi (>= 1.10.0) prism (>= 0.28.0) @@ -155,7 +155,6 @@ GEM PLATFORMS aarch64-linux - arm-linux arm64-darwin x86_64-darwin x86_64-linux From 74ee4249d8dd1745e97cd871d45fd7e42950c0a9 Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Thu, 20 Feb 2025 23:17:00 +0000 Subject: [PATCH 122/322] brew vendor-gems: commit updates. --- Library/Homebrew/Gemfile.lock | 1 + Library/Homebrew/vendor/bundle/bundler/setup.rb | 8 ++++---- .../lib/sorbet-runtime.rb | 0 .../lib/types/_types.rb | 0 .../lib/types/abstract_utils.rb | 0 .../lib/types/boolean.rb | 0 .../lib/types/compatibility_patches.rb | 0 .../lib/types/configuration.rb | 0 .../lib/types/enum.rb | 0 .../lib/types/generic.rb | 0 .../lib/types/helpers.rb | 0 .../lib/types/non_forcing_constants.rb | 0 .../lib/types/private/abstract/data.rb | 0 .../lib/types/private/abstract/declare.rb | 0 .../lib/types/private/abstract/hooks.rb | 0 .../lib/types/private/abstract/validate.rb | 0 .../lib/types/private/caller_utils.rb | 0 .../lib/types/private/casts.rb | 0 .../lib/types/private/class_utils.rb | 0 .../lib/types/private/decl_state.rb | 0 .../lib/types/private/final.rb | 0 .../lib/types/private/methods/_methods.rb | 0 .../lib/types/private/methods/call_validation.rb | 0 .../lib/types/private/methods/call_validation_2_6.rb | 0 .../lib/types/private/methods/call_validation_2_7.rb | 0 .../lib/types/private/methods/decl_builder.rb | 0 .../lib/types/private/methods/modes.rb | 0 .../lib/types/private/methods/signature.rb | 0 .../lib/types/private/methods/signature_validation.rb | 0 .../lib/types/private/mixins/mixins.rb | 0 .../lib/types/private/retry.rb | 0 .../lib/types/private/runtime_levels.rb | 0 .../lib/types/private/sealed.rb | 0 .../lib/types/private/types/not_typed.rb | 0 .../lib/types/private/types/simple_pair_union.rb | 0 .../lib/types/private/types/string_holder.rb | 0 .../lib/types/private/types/type_alias.rb | 0 .../lib/types/private/types/void.rb | 0 .../lib/types/props/_props.rb | 0 .../lib/types/props/constructor.rb | 0 .../lib/types/props/custom_type.rb | 0 .../lib/types/props/decorator.rb | 0 .../lib/types/props/errors.rb | 0 .../lib/types/props/generated_code_validation.rb | 0 .../lib/types/props/has_lazily_specialized_methods.rb | 0 .../lib/types/props/optional.rb | 0 .../lib/types/props/plugin.rb | 0 .../lib/types/props/pretty_printable.rb | 0 .../lib/types/props/private/apply_default.rb | 0 .../lib/types/props/private/deserializer_generator.rb | 0 .../lib/types/props/private/parser.rb | 0 .../lib/types/props/private/serde_transform.rb | 0 .../lib/types/props/private/serializer_generator.rb | 0 .../lib/types/props/private/setter_factory.rb | 0 .../lib/types/props/serializable.rb | 0 .../lib/types/props/type_validation.rb | 0 .../lib/types/props/utils.rb | 0 .../lib/types/props/weak_constructor.rb | 0 .../lib/types/sig.rb | 0 .../lib/types/struct.rb | 0 .../lib/types/types/anything.rb | 0 .../lib/types/types/attached_class.rb | 0 .../lib/types/types/base.rb | 0 .../lib/types/types/class_of.rb | 0 .../lib/types/types/enum.rb | 0 .../lib/types/types/fixed_array.rb | 0 .../lib/types/types/fixed_hash.rb | 0 .../lib/types/types/intersection.rb | 0 .../lib/types/types/noreturn.rb | 0 .../lib/types/types/proc.rb | 0 .../lib/types/types/self_type.rb | 0 .../lib/types/types/simple.rb | 0 .../lib/types/types/t_enum.rb | 0 .../lib/types/types/type_member.rb | 0 .../lib/types/types/type_parameter.rb | 0 .../lib/types/types/type_template.rb | 0 .../lib/types/types/type_variable.rb | 0 .../lib/types/types/typed_array.rb | 0 .../lib/types/types/typed_class.rb | 0 .../lib/types/types/typed_enumerable.rb | 0 .../lib/types/types/typed_enumerator.rb | 0 .../lib/types/types/typed_enumerator_chain.rb | 0 .../lib/types/types/typed_enumerator_lazy.rb | 0 .../lib/types/types/typed_hash.rb | 0 .../lib/types/types/typed_range.rb | 0 .../lib/types/types/typed_set.rb | 0 .../lib/types/types/union.rb | 0 .../lib/types/types/untyped.rb | 0 .../lib/types/utils.rb | 0 89 files changed, 5 insertions(+), 4 deletions(-) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11835 => sorbet-runtime-0.5.11842}/lib/sorbet-runtime.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11835 => sorbet-runtime-0.5.11842}/lib/types/_types.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11835 => sorbet-runtime-0.5.11842}/lib/types/abstract_utils.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11835 => sorbet-runtime-0.5.11842}/lib/types/boolean.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11835 => sorbet-runtime-0.5.11842}/lib/types/compatibility_patches.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11835 => sorbet-runtime-0.5.11842}/lib/types/configuration.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11835 => sorbet-runtime-0.5.11842}/lib/types/enum.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11835 => sorbet-runtime-0.5.11842}/lib/types/generic.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11835 => sorbet-runtime-0.5.11842}/lib/types/helpers.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11835 => sorbet-runtime-0.5.11842}/lib/types/non_forcing_constants.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11835 => sorbet-runtime-0.5.11842}/lib/types/private/abstract/data.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11835 => sorbet-runtime-0.5.11842}/lib/types/private/abstract/declare.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11835 => sorbet-runtime-0.5.11842}/lib/types/private/abstract/hooks.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11835 => sorbet-runtime-0.5.11842}/lib/types/private/abstract/validate.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11835 => sorbet-runtime-0.5.11842}/lib/types/private/caller_utils.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11835 => sorbet-runtime-0.5.11842}/lib/types/private/casts.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11835 => sorbet-runtime-0.5.11842}/lib/types/private/class_utils.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11835 => sorbet-runtime-0.5.11842}/lib/types/private/decl_state.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11835 => sorbet-runtime-0.5.11842}/lib/types/private/final.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11835 => sorbet-runtime-0.5.11842}/lib/types/private/methods/_methods.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11835 => sorbet-runtime-0.5.11842}/lib/types/private/methods/call_validation.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11835 => sorbet-runtime-0.5.11842}/lib/types/private/methods/call_validation_2_6.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11835 => sorbet-runtime-0.5.11842}/lib/types/private/methods/call_validation_2_7.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11835 => sorbet-runtime-0.5.11842}/lib/types/private/methods/decl_builder.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11835 => sorbet-runtime-0.5.11842}/lib/types/private/methods/modes.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11835 => sorbet-runtime-0.5.11842}/lib/types/private/methods/signature.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11835 => sorbet-runtime-0.5.11842}/lib/types/private/methods/signature_validation.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11835 => sorbet-runtime-0.5.11842}/lib/types/private/mixins/mixins.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11835 => sorbet-runtime-0.5.11842}/lib/types/private/retry.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11835 => sorbet-runtime-0.5.11842}/lib/types/private/runtime_levels.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11835 => sorbet-runtime-0.5.11842}/lib/types/private/sealed.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11835 => sorbet-runtime-0.5.11842}/lib/types/private/types/not_typed.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11835 => sorbet-runtime-0.5.11842}/lib/types/private/types/simple_pair_union.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11835 => sorbet-runtime-0.5.11842}/lib/types/private/types/string_holder.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11835 => sorbet-runtime-0.5.11842}/lib/types/private/types/type_alias.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11835 => sorbet-runtime-0.5.11842}/lib/types/private/types/void.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11835 => sorbet-runtime-0.5.11842}/lib/types/props/_props.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11835 => sorbet-runtime-0.5.11842}/lib/types/props/constructor.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11835 => sorbet-runtime-0.5.11842}/lib/types/props/custom_type.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11835 => sorbet-runtime-0.5.11842}/lib/types/props/decorator.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11835 => sorbet-runtime-0.5.11842}/lib/types/props/errors.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11835 => sorbet-runtime-0.5.11842}/lib/types/props/generated_code_validation.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11835 => sorbet-runtime-0.5.11842}/lib/types/props/has_lazily_specialized_methods.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11835 => sorbet-runtime-0.5.11842}/lib/types/props/optional.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11835 => sorbet-runtime-0.5.11842}/lib/types/props/plugin.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11835 => sorbet-runtime-0.5.11842}/lib/types/props/pretty_printable.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11835 => sorbet-runtime-0.5.11842}/lib/types/props/private/apply_default.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11835 => sorbet-runtime-0.5.11842}/lib/types/props/private/deserializer_generator.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11835 => sorbet-runtime-0.5.11842}/lib/types/props/private/parser.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11835 => sorbet-runtime-0.5.11842}/lib/types/props/private/serde_transform.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11835 => sorbet-runtime-0.5.11842}/lib/types/props/private/serializer_generator.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11835 => sorbet-runtime-0.5.11842}/lib/types/props/private/setter_factory.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11835 => sorbet-runtime-0.5.11842}/lib/types/props/serializable.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11835 => sorbet-runtime-0.5.11842}/lib/types/props/type_validation.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11835 => sorbet-runtime-0.5.11842}/lib/types/props/utils.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11835 => sorbet-runtime-0.5.11842}/lib/types/props/weak_constructor.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11835 => sorbet-runtime-0.5.11842}/lib/types/sig.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11835 => sorbet-runtime-0.5.11842}/lib/types/struct.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11835 => sorbet-runtime-0.5.11842}/lib/types/types/anything.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11835 => sorbet-runtime-0.5.11842}/lib/types/types/attached_class.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11835 => sorbet-runtime-0.5.11842}/lib/types/types/base.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11835 => sorbet-runtime-0.5.11842}/lib/types/types/class_of.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11835 => sorbet-runtime-0.5.11842}/lib/types/types/enum.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11835 => sorbet-runtime-0.5.11842}/lib/types/types/fixed_array.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11835 => sorbet-runtime-0.5.11842}/lib/types/types/fixed_hash.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11835 => sorbet-runtime-0.5.11842}/lib/types/types/intersection.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11835 => sorbet-runtime-0.5.11842}/lib/types/types/noreturn.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11835 => sorbet-runtime-0.5.11842}/lib/types/types/proc.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11835 => sorbet-runtime-0.5.11842}/lib/types/types/self_type.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11835 => sorbet-runtime-0.5.11842}/lib/types/types/simple.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11835 => sorbet-runtime-0.5.11842}/lib/types/types/t_enum.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11835 => sorbet-runtime-0.5.11842}/lib/types/types/type_member.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11835 => sorbet-runtime-0.5.11842}/lib/types/types/type_parameter.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11835 => sorbet-runtime-0.5.11842}/lib/types/types/type_template.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11835 => sorbet-runtime-0.5.11842}/lib/types/types/type_variable.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11835 => sorbet-runtime-0.5.11842}/lib/types/types/typed_array.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11835 => sorbet-runtime-0.5.11842}/lib/types/types/typed_class.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11835 => sorbet-runtime-0.5.11842}/lib/types/types/typed_enumerable.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11835 => sorbet-runtime-0.5.11842}/lib/types/types/typed_enumerator.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11835 => sorbet-runtime-0.5.11842}/lib/types/types/typed_enumerator_chain.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11835 => sorbet-runtime-0.5.11842}/lib/types/types/typed_enumerator_lazy.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11835 => sorbet-runtime-0.5.11842}/lib/types/types/typed_hash.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11835 => sorbet-runtime-0.5.11842}/lib/types/types/typed_range.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11835 => sorbet-runtime-0.5.11842}/lib/types/types/typed_set.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11835 => sorbet-runtime-0.5.11842}/lib/types/types/union.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11835 => sorbet-runtime-0.5.11842}/lib/types/types/untyped.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11835 => sorbet-runtime-0.5.11842}/lib/types/utils.rb (100%) diff --git a/Library/Homebrew/Gemfile.lock b/Library/Homebrew/Gemfile.lock index 8e8eef4c14..c10a1a839a 100644 --- a/Library/Homebrew/Gemfile.lock +++ b/Library/Homebrew/Gemfile.lock @@ -155,6 +155,7 @@ GEM PLATFORMS aarch64-linux + arm-linux arm64-darwin x86_64-darwin x86_64-linux diff --git a/Library/Homebrew/vendor/bundle/bundler/setup.rb b/Library/Homebrew/vendor/bundle/bundler/setup.rb index b0ec0bee47..2dd2a5a3e5 100644 --- a/Library/Homebrew/vendor/bundle/bundler/setup.rb +++ b/Library/Homebrew/vendor/bundle/bundler/setup.rb @@ -75,7 +75,7 @@ $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/extensions/arm64-darwin-20/#{Gem.extension_api_version}/pycall-1.5.2") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/pycall-1.5.2/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rainbow-3.1.1/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-runtime-0.5.11835/lib") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-runtime-0.5.11842/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rbi-0.2.4/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/extensions/arm64-darwin-20/#{Gem.extension_api_version}/rbs-3.8.1") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rbs-3.8.1/lib") @@ -107,9 +107,9 @@ $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/simplecov_json_formatter-0.1.4/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/simplecov-0.22.0/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/simplecov-cobertura-2.1.0/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-static-0.5.11835-universal-darwin/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-0.5.11835/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-static-and-runtime-0.5.11835/lib") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-static-0.5.11842-universal-darwin/lib") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-0.5.11842/lib") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-static-and-runtime-0.5.11842/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/thor-1.3.2/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/spoom-1.5.4/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/extensions/arm64-darwin-20/#{Gem.extension_api_version}/stackprof-0.2.27") diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/sorbet-runtime.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/sorbet-runtime.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/sorbet-runtime.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/sorbet-runtime.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/_types.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/_types.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/_types.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/_types.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/abstract_utils.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/abstract_utils.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/abstract_utils.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/abstract_utils.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/boolean.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/boolean.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/boolean.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/boolean.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/compatibility_patches.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/compatibility_patches.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/compatibility_patches.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/compatibility_patches.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/configuration.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/configuration.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/configuration.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/configuration.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/enum.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/enum.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/enum.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/enum.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/generic.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/generic.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/generic.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/generic.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/helpers.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/helpers.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/helpers.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/helpers.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/non_forcing_constants.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/non_forcing_constants.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/non_forcing_constants.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/non_forcing_constants.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/private/abstract/data.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/private/abstract/data.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/private/abstract/data.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/private/abstract/data.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/private/abstract/declare.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/private/abstract/declare.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/private/abstract/declare.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/private/abstract/declare.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/private/abstract/hooks.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/private/abstract/hooks.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/private/abstract/hooks.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/private/abstract/hooks.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/private/abstract/validate.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/private/abstract/validate.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/private/abstract/validate.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/private/abstract/validate.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/private/caller_utils.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/private/caller_utils.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/private/caller_utils.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/private/caller_utils.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/private/casts.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/private/casts.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/private/casts.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/private/casts.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/private/class_utils.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/private/class_utils.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/private/class_utils.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/private/class_utils.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/private/decl_state.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/private/decl_state.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/private/decl_state.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/private/decl_state.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/private/final.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/private/final.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/private/final.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/private/final.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/private/methods/_methods.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/private/methods/_methods.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/private/methods/_methods.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/private/methods/_methods.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/private/methods/call_validation.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/private/methods/call_validation.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/private/methods/call_validation.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/private/methods/call_validation.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/private/methods/call_validation_2_6.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/private/methods/call_validation_2_6.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/private/methods/call_validation_2_6.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/private/methods/call_validation_2_6.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/private/methods/call_validation_2_7.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/private/methods/call_validation_2_7.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/private/methods/call_validation_2_7.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/private/methods/call_validation_2_7.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/private/methods/decl_builder.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/private/methods/decl_builder.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/private/methods/decl_builder.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/private/methods/decl_builder.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/private/methods/modes.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/private/methods/modes.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/private/methods/modes.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/private/methods/modes.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/private/methods/signature.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/private/methods/signature.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/private/methods/signature.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/private/methods/signature.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/private/methods/signature_validation.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/private/methods/signature_validation.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/private/methods/signature_validation.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/private/methods/signature_validation.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/private/mixins/mixins.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/private/mixins/mixins.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/private/mixins/mixins.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/private/mixins/mixins.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/private/retry.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/private/retry.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/private/retry.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/private/retry.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/private/runtime_levels.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/private/runtime_levels.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/private/runtime_levels.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/private/runtime_levels.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/private/sealed.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/private/sealed.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/private/sealed.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/private/sealed.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/private/types/not_typed.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/private/types/not_typed.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/private/types/not_typed.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/private/types/not_typed.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/private/types/simple_pair_union.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/private/types/simple_pair_union.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/private/types/simple_pair_union.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/private/types/simple_pair_union.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/private/types/string_holder.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/private/types/string_holder.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/private/types/string_holder.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/private/types/string_holder.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/private/types/type_alias.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/private/types/type_alias.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/private/types/type_alias.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/private/types/type_alias.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/private/types/void.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/private/types/void.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/private/types/void.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/private/types/void.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/props/_props.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/props/_props.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/props/_props.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/props/_props.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/props/constructor.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/props/constructor.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/props/constructor.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/props/constructor.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/props/custom_type.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/props/custom_type.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/props/custom_type.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/props/custom_type.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/props/decorator.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/props/decorator.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/props/decorator.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/props/decorator.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/props/errors.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/props/errors.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/props/errors.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/props/errors.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/props/generated_code_validation.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/props/generated_code_validation.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/props/generated_code_validation.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/props/generated_code_validation.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/props/has_lazily_specialized_methods.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/props/has_lazily_specialized_methods.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/props/has_lazily_specialized_methods.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/props/has_lazily_specialized_methods.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/props/optional.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/props/optional.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/props/optional.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/props/optional.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/props/plugin.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/props/plugin.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/props/plugin.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/props/plugin.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/props/pretty_printable.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/props/pretty_printable.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/props/pretty_printable.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/props/pretty_printable.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/props/private/apply_default.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/props/private/apply_default.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/props/private/apply_default.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/props/private/apply_default.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/props/private/deserializer_generator.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/props/private/deserializer_generator.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/props/private/deserializer_generator.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/props/private/deserializer_generator.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/props/private/parser.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/props/private/parser.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/props/private/parser.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/props/private/parser.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/props/private/serde_transform.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/props/private/serde_transform.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/props/private/serde_transform.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/props/private/serde_transform.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/props/private/serializer_generator.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/props/private/serializer_generator.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/props/private/serializer_generator.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/props/private/serializer_generator.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/props/private/setter_factory.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/props/private/setter_factory.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/props/private/setter_factory.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/props/private/setter_factory.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/props/serializable.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/props/serializable.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/props/serializable.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/props/serializable.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/props/type_validation.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/props/type_validation.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/props/type_validation.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/props/type_validation.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/props/utils.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/props/utils.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/props/utils.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/props/utils.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/props/weak_constructor.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/props/weak_constructor.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/props/weak_constructor.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/props/weak_constructor.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/sig.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/sig.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/sig.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/sig.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/struct.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/struct.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/struct.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/struct.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/types/anything.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/types/anything.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/types/anything.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/types/anything.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/types/attached_class.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/types/attached_class.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/types/attached_class.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/types/attached_class.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/types/base.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/types/base.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/types/base.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/types/base.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/types/class_of.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/types/class_of.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/types/class_of.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/types/class_of.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/types/enum.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/types/enum.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/types/enum.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/types/enum.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/types/fixed_array.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/types/fixed_array.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/types/fixed_array.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/types/fixed_array.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/types/fixed_hash.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/types/fixed_hash.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/types/fixed_hash.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/types/fixed_hash.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/types/intersection.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/types/intersection.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/types/intersection.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/types/intersection.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/types/noreturn.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/types/noreturn.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/types/noreturn.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/types/noreturn.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/types/proc.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/types/proc.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/types/proc.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/types/proc.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/types/self_type.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/types/self_type.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/types/self_type.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/types/self_type.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/types/simple.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/types/simple.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/types/simple.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/types/simple.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/types/t_enum.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/types/t_enum.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/types/t_enum.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/types/t_enum.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/types/type_member.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/types/type_member.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/types/type_member.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/types/type_member.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/types/type_parameter.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/types/type_parameter.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/types/type_parameter.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/types/type_parameter.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/types/type_template.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/types/type_template.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/types/type_template.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/types/type_template.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/types/type_variable.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/types/type_variable.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/types/type_variable.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/types/type_variable.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/types/typed_array.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/types/typed_array.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/types/typed_array.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/types/typed_array.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/types/typed_class.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/types/typed_class.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/types/typed_class.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/types/typed_class.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/types/typed_enumerable.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/types/typed_enumerable.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/types/typed_enumerable.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/types/typed_enumerable.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/types/typed_enumerator.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/types/typed_enumerator.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/types/typed_enumerator.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/types/typed_enumerator.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/types/typed_enumerator_chain.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/types/typed_enumerator_chain.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/types/typed_enumerator_chain.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/types/typed_enumerator_chain.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/types/typed_enumerator_lazy.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/types/typed_enumerator_lazy.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/types/typed_enumerator_lazy.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/types/typed_enumerator_lazy.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/types/typed_hash.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/types/typed_hash.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/types/typed_hash.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/types/typed_hash.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/types/typed_range.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/types/typed_range.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/types/typed_range.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/types/typed_range.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/types/typed_set.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/types/typed_set.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/types/typed_set.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/types/typed_set.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/types/union.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/types/union.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/types/union.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/types/union.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/types/untyped.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/types/untyped.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/types/untyped.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/types/untyped.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/utils.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/utils.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11835/lib/types/utils.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/utils.rb From 7e946c19a2c2e1a7391e5e255506c6f955ec8c86 Mon Sep 17 00:00:00 2001 From: Adrian Ho Date: Fri, 21 Feb 2025 10:32:39 +0800 Subject: [PATCH 123/322] update-python-resources: work on bare formula Also favor Homebrew API over manual string comparison. Resolves https://github.com/orgs/Homebrew/discussions/5967. --- Library/Homebrew/dev-cmd/update-python-resources.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/dev-cmd/update-python-resources.rb b/Library/Homebrew/dev-cmd/update-python-resources.rb index c80cf01c20..c40a3e6641 100644 --- a/Library/Homebrew/dev-cmd/update-python-resources.rb +++ b/Library/Homebrew/dev-cmd/update-python-resources.rb @@ -39,7 +39,7 @@ module Homebrew sig { override.void } def run args.named.to_formulae.each do |formula| - ignore_errors = if T.must(formula.tap).name == "homebrew/core" + ignore_errors = if formula.tap&.official? false else args.ignore_errors? From a7cacfff1cc820deb2ed16c52736d72609a01552 Mon Sep 17 00:00:00 2001 From: Sam Ford <1584702+samford@users.noreply.github.com> Date: Wed, 19 Feb 2025 14:51:36 -0500 Subject: [PATCH 124/322] livecheck: refactor HEAD-only formula handling The existing code for handling a `HEAD`-only formula involves two return values that can be `nil` but this isn't apparent because the related methods aren't typed. This adds type signatures to the methods and updates the livecheck code to account for `nil` return values (making it clear which methods can return `nil`). Co-authored-by: Mike McQuaid --- Library/Homebrew/cask/dsl.rb | 1 + Library/Homebrew/formula.rb | 1 + Library/Homebrew/keg.rb | 1 + Library/Homebrew/livecheck/livecheck.rb | 15 ++++++++++++--- 4 files changed, 15 insertions(+), 3 deletions(-) diff --git a/Library/Homebrew/cask/dsl.rb b/Library/Homebrew/cask/dsl.rb index b01b707083..5251af7e62 100644 --- a/Library/Homebrew/cask/dsl.rb +++ b/Library/Homebrew/cask/dsl.rb @@ -287,6 +287,7 @@ module Cask # # @see DSL::Version # @api public + sig { params(arg: T.nilable(T.any(String, Symbol))).returns(T.nilable(DSL::Version)) } def version(arg = nil) set_unique_stanza(:version, arg.nil?) do if !arg.is_a?(String) && arg != :latest diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb index 9a024f9eb7..5ebe184eff 100644 --- a/Library/Homebrew/formula.rb +++ b/Library/Homebrew/formula.rb @@ -2403,6 +2403,7 @@ class Formula # Returns the {PkgVersion} for this formula if it is installed. # If not, return `nil`. + sig { returns(T.nilable(PkgVersion)) } def any_installed_version any_installed_keg&.version end diff --git a/Library/Homebrew/keg.rb b/Library/Homebrew/keg.rb index 0b0f67d256..c5ab91a598 100644 --- a/Library/Homebrew/keg.rb +++ b/Library/Homebrew/keg.rb @@ -388,6 +388,7 @@ class Keg (path/"share/emacs/site-lisp"/name).children.any? { |f| ELISP_EXTENSIONS.include? f.extname } end + sig { returns(PkgVersion) } def version require "pkg_version" PkgVersion.parse(path.basename.to_s) diff --git a/Library/Homebrew/livecheck/livecheck.rb b/Library/Homebrew/livecheck/livecheck.rb index 4c0832dec0..4b96e7350f 100644 --- a/Library/Homebrew/livecheck/livecheck.rb +++ b/Library/Homebrew/livecheck/livecheck.rb @@ -13,6 +13,8 @@ module Homebrew # command. These methods print the requested livecheck information # for formulae. module Livecheck + NO_CURRENT_VERSION_MSG = "Unable to identify current version" + UNSTABLE_VERSION_KEYWORDS = T.let(%w[ alpha beta @@ -249,13 +251,20 @@ module Homebrew # comparison. current = if formula if formula.head_only? - Version.new(formula.any_installed_version.version.commit) - else - T.must(formula.stable).version + formula_commit = formula.any_installed_version&.version&.commit + Version.new(formula_commit) if formula_commit + elsif (stable = formula.stable) + stable.version end else Version.new(formula_or_cask.version) end + unless current + raise Livecheck::Error, NO_CURRENT_VERSION_MSG unless json + next if quiet + + next status_hash(formula_or_cask, "error", [NO_CURRENT_VERSION_MSG], full_name: use_full_name, verbose:) + end current_str = current.to_s current = LivecheckVersion.create(formula_or_cask, current) From 6cfe1512924b8a878882406a95f06fa8a078b774 Mon Sep 17 00:00:00 2001 From: Sam Ford <1584702+samford@users.noreply.github.com> Date: Wed, 19 Feb 2025 15:06:00 -0500 Subject: [PATCH 125/322] livecheck: create constant for no versions message --- Library/Homebrew/livecheck/livecheck.rb | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Library/Homebrew/livecheck/livecheck.rb b/Library/Homebrew/livecheck/livecheck.rb index 4b96e7350f..5e8f6de1d1 100644 --- a/Library/Homebrew/livecheck/livecheck.rb +++ b/Library/Homebrew/livecheck/livecheck.rb @@ -14,6 +14,7 @@ module Homebrew # for formulae. module Livecheck NO_CURRENT_VERSION_MSG = "Unable to identify current version" + NO_VERSIONS_MSG = "Unable to get versions" UNSTABLE_VERSION_KEYWORDS = T.let(%w[ alpha @@ -298,7 +299,7 @@ module Homebrew verbose:, ) if res_version_info.empty? - status_hash(resource, "error", ["Unable to get versions"], verbose:) + status_hash(resource, "error", [NO_VERSIONS_MSG], verbose:) else res_version_info end @@ -308,13 +309,12 @@ module Homebrew end if latest.blank? - no_versions_msg = "Unable to get versions" - raise Livecheck::Error, no_versions_msg unless json + raise Livecheck::Error, NO_VERSIONS_MSG unless json next if quiet next version_info if version_info.is_a?(Hash) && version_info[:status] && version_info[:messages] - latest_info = status_hash(formula_or_cask, "error", [no_versions_msg], full_name: use_full_name, + latest_info = status_hash(formula_or_cask, "error", [NO_VERSIONS_MSG], full_name: use_full_name, verbose:) if check_for_resources unless verbose @@ -995,7 +995,7 @@ module Homebrew res_current = T.must(resource.version) res_latest = Version.new(match_version_map.values.max_by { |v| LivecheckVersion.create(resource, v) }) - return status_hash(resource, "error", ["Unable to get versions"], verbose:) if res_latest.blank? + return status_hash(resource, "error", [NO_VERSIONS_MSG], verbose:) if res_latest.blank? is_outdated = res_current < res_latest is_newer_than_upstream = res_current > res_latest From 21714d63a42bc0933d3b423ec0e1e8b60b41cf65 Mon Sep 17 00:00:00 2001 From: botantony Date: Fri, 21 Feb 2025 14:53:34 +0100 Subject: [PATCH 126/322] formula: add std_zig_args --- Library/Homebrew/formula.rb | 13 +++++++++++++ Library/Homebrew/formula_creator.rb | 4 ++++ 2 files changed, 17 insertions(+) diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb index 5ebe184eff..945fc21482 100644 --- a/Library/Homebrew/formula.rb +++ b/Library/Homebrew/formula.rb @@ -1946,6 +1946,17 @@ class Formula args end + # Standard parameters for zig builds. + # + # @api public + sig { + params(prefix: T.any(String, Pathname), + release_mode: String).returns(T::Array[String]) + } + def std_zig_args(prefix: self.prefix, release_mode: "fast") + ["--prefix", prefix.to_s, "--release=#{release_mode}", "--summary", "all"] + end + # Shared library names according to platform conventions. # # Optionally specify a `version` to restrict the shared library to a specific @@ -3029,6 +3040,8 @@ class Formula pretty_args -= std_go_args when "meson" pretty_args -= std_meson_args + when "zig" + pretty_args -= std_zig_args when %r{(^|/)(pip|python)(?:[23](?:\.\d{1,2})?)?$} pretty_args -= std_pip_args end diff --git a/Library/Homebrew/formula_creator.rb b/Library/Homebrew/formula_creator.rb index 7aea843537..609d23e8d7 100644 --- a/Library/Homebrew/formula_creator.rb +++ b/Library/Homebrew/formula_creator.rb @@ -151,6 +151,8 @@ module Homebrew uses_from_macos "ruby" <% elsif @mode == :rust %> depends_on "rust" => :build + <% elsif @mode == :zig %> + depends_on "zig" => :build <% elsif @mode.nil? %> # depends_on "cmake" => :build <% end %> @@ -217,6 +219,8 @@ module Homebrew bin.env_script_all_files(libexec/"bin", GEM_HOME: ENV["GEM_HOME"]) <% elsif @mode == :rust %> system "cargo", "install", *std_cargo_args + <% elsif @mode == :zig %> + system "zig", "build", *std_zig_args <% else %> # Remove unrecognized options if they cause configure to fail # https://rubydoc.brew.sh/Formula.html#std_configure_args-instance_method From 35dcf8e3623f0b663599f3961935244324ead669 Mon Sep 17 00:00:00 2001 From: botantony Date: Fri, 21 Feb 2025 15:05:42 +0100 Subject: [PATCH 127/322] creator: add zig option --- Library/Homebrew/dev-cmd/create.rb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Library/Homebrew/dev-cmd/create.rb b/Library/Homebrew/dev-cmd/create.rb index ad73d5b4ee..830d995c8f 100644 --- a/Library/Homebrew/dev-cmd/create.rb +++ b/Library/Homebrew/dev-cmd/create.rb @@ -40,6 +40,8 @@ module Homebrew description: "Create a basic template for a Ruby build." switch "--rust", description: "Create a basic template for a Rust build." + switch "--zig", + description: "Create a basic template for a Zig build." switch "--no-fetch", description: "Homebrew will not download to the cache and will thus not add its SHA-256 " \ "to the formula for you, nor will it check the GitHub API for GitHub projects " \ @@ -58,7 +60,7 @@ module Homebrew description: "Ignore errors for disallowed formula names and names that shadow aliases." conflicts "--autotools", "--cmake", "--crystal", "--go", "--meson", "--node", - "--perl", "--python", "--ruby", "--rust", "--cask" + "--perl", "--python", "--ruby", "--rust", "--zig", "--cask" conflicts "--cask", "--HEAD" conflicts "--cask", "--set-license" @@ -173,6 +175,8 @@ module Homebrew :ruby elsif args.rust? :rust + elsif args.zig? + :zig end fc = FormulaCreator.new( From 4adb910a8b593eb1ebf33b687bbb304260b8ea4a Mon Sep 17 00:00:00 2001 From: botantony Date: Fri, 21 Feb 2025 15:17:55 +0100 Subject: [PATCH 128/322] create.rbi: add `zig` --- Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/create.rbi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/create.rbi b/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/create.rbi index 3d94822e23..66126dd6b2 100644 --- a/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/create.rbi +++ b/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/create.rbi @@ -56,6 +56,9 @@ class Homebrew::DevCmd::Create::Args < Homebrew::CLI::Args sig { returns(T::Boolean) } def rust?; end + sig { returns(T::Boolean) } + def zig?; end + sig { returns(T.nilable(String)) } def set_license; end From 1e5414c6ac6365e0680aaf482edab3b4324b6448 Mon Sep 17 00:00:00 2001 From: botantony Date: Fri, 21 Feb 2025 15:57:36 +0100 Subject: [PATCH 129/322] formula: include `-Doptimize` flag for Zig std args --- Library/Homebrew/formula.rb | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb index 945fc21482..8b4a0ad4be 100644 --- a/Library/Homebrew/formula.rb +++ b/Library/Homebrew/formula.rb @@ -1954,7 +1954,12 @@ class Formula release_mode: String).returns(T::Array[String]) } def std_zig_args(prefix: self.prefix, release_mode: "fast") - ["--prefix", prefix.to_s, "--release=#{release_mode}", "--summary", "all"] + release_mode = release_mode.downcase + args = ["--prefix", prefix.to_s, "--release=#{release_mode}"] + release_mode_uc = release_mode.capitalize + args << "-Doptimize=Release#{release_mode_uc}" + args += ["--summary", "all"] + args end # Shared library names according to platform conventions. From bfdfdc9489d68e5d6c05c3996d461dd0a69ad057 Mon Sep 17 00:00:00 2001 From: botantony Date: Fri, 21 Feb 2025 16:49:11 +0100 Subject: [PATCH 130/322] `-fno-rosetta` flag --- Library/Homebrew/extend/os/mac/formula.rb | 14 ++++++++++++++ Library/Homebrew/formula.rb | 14 ++++++++------ 2 files changed, 22 insertions(+), 6 deletions(-) diff --git a/Library/Homebrew/extend/os/mac/formula.rb b/Library/Homebrew/extend/os/mac/formula.rb index c802e31806..fee25ff019 100644 --- a/Library/Homebrew/extend/os/mac/formula.rb +++ b/Library/Homebrew/extend/os/mac/formula.rb @@ -32,6 +32,20 @@ module OS args end + + sig { + params( + prefix: T.any(String, Pathname), + release_mode: String + ).returns(T::Array[String]) + } + def std_zig_args(prefix: self.prefix, release_mode: "fast") + args = super + # it is probably better to add this flag only on arm macs + # my attempts with `MacOS::Hardware::CPU.arm?` and its variations didn't work out + args << "-fno-rosetta" + args + end end end end diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb index 8b4a0ad4be..44b03f2a23 100644 --- a/Library/Homebrew/formula.rb +++ b/Library/Homebrew/formula.rb @@ -1954,12 +1954,14 @@ class Formula release_mode: String).returns(T::Array[String]) } def std_zig_args(prefix: self.prefix, release_mode: "fast") - release_mode = release_mode.downcase - args = ["--prefix", prefix.to_s, "--release=#{release_mode}"] - release_mode_uc = release_mode.capitalize - args << "-Doptimize=Release#{release_mode_uc}" - args += ["--summary", "all"] - args + release_mode_downcased = release_mode.downcase + release_mode_capitalized = release_mode.capitalize + [ + "--prefix", prefix.to_s, + "--release=#{release_mode_downcased}", + "-Doptimize=Release#{release_mode_capitalized}", + "--summary", "all", + ] end # Shared library names according to platform conventions. From c5d78f33476c98d35fefa68fcec4477a11103e48 Mon Sep 17 00:00:00 2001 From: botantony Date: Fri, 21 Feb 2025 17:07:29 +0100 Subject: [PATCH 131/322] zig std args: use symbols for compilation options --- Library/Homebrew/extend/os/mac/formula.rb | 4 ++-- Library/Homebrew/formula.rb | 12 +++++++----- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/Library/Homebrew/extend/os/mac/formula.rb b/Library/Homebrew/extend/os/mac/formula.rb index fee25ff019..c278a32674 100644 --- a/Library/Homebrew/extend/os/mac/formula.rb +++ b/Library/Homebrew/extend/os/mac/formula.rb @@ -36,10 +36,10 @@ module OS sig { params( prefix: T.any(String, Pathname), - release_mode: String + release_mode: Symbol, ).returns(T::Array[String]) } - def std_zig_args(prefix: self.prefix, release_mode: "fast") + def std_zig_args(prefix: self.prefix, release_mode: :fast) args = super # it is probably better to add this flag only on arm macs # my attempts with `MacOS::Hardware::CPU.arm?` and its variations didn't work out diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb index 44b03f2a23..c8a3e2debe 100644 --- a/Library/Homebrew/formula.rb +++ b/Library/Homebrew/formula.rb @@ -1951,16 +1951,18 @@ class Formula # @api public sig { params(prefix: T.any(String, Pathname), - release_mode: String).returns(T::Array[String]) + release_mode: Symbol).returns(T::Array[String]) } - def std_zig_args(prefix: self.prefix, release_mode: "fast") - release_mode_downcased = release_mode.downcase - release_mode_capitalized = release_mode.capitalize + def std_zig_args(prefix: self.prefix, release_mode: :fast) + raise ArgumentError, "Invalid Zig release mode: #{release_mode}" if [:safe, :fast, :small].exclude?(release_mode) + + release_mode_downcased = release_mode.to_s.downcase + release_mode_capitalized = release_mode.to_s.capitalize [ "--prefix", prefix.to_s, "--release=#{release_mode_downcased}", "-Doptimize=Release#{release_mode_capitalized}", - "--summary", "all", + "--summary", "all" ] end From 68f8798821f7a61cb6c3e844d4f3777dc1296427 Mon Sep 17 00:00:00 2001 From: botantony Date: Fri, 21 Feb 2025 19:10:41 +0100 Subject: [PATCH 132/322] zig std args: apply `-fno-rosetta` on macs with arm --- Library/Homebrew/extend/os/mac/formula.rb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Library/Homebrew/extend/os/mac/formula.rb b/Library/Homebrew/extend/os/mac/formula.rb index c278a32674..506ed41426 100644 --- a/Library/Homebrew/extend/os/mac/formula.rb +++ b/Library/Homebrew/extend/os/mac/formula.rb @@ -41,9 +41,7 @@ module OS } def std_zig_args(prefix: self.prefix, release_mode: :fast) args = super - # it is probably better to add this flag only on arm macs - # my attempts with `MacOS::Hardware::CPU.arm?` and its variations didn't work out - args << "-fno-rosetta" + args << "-fno-rosetta" if ::Hardware::CPU.arm? args end end From 7c21f48f299721caddcdc8ff938df77f70d3d90f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 21 Feb 2025 18:36:18 +0000 Subject: [PATCH 133/322] build(deps): bump the sorbet group in /Library/Homebrew with 4 updates Bumps the sorbet group in /Library/Homebrew with 4 updates: [sorbet-static-and-runtime](https://github.com/sorbet/sorbet), [sorbet-runtime](https://github.com/sorbet/sorbet), [sorbet](https://github.com/sorbet/sorbet) and [sorbet-static](https://github.com/sorbet/sorbet). Updates `sorbet-static-and-runtime` from 0.5.11842 to 0.5.11845 - [Release notes](https://github.com/sorbet/sorbet/releases) - [Commits](https://github.com/sorbet/sorbet/commits) Updates `sorbet-runtime` from 0.5.11842 to 0.5.11845 - [Release notes](https://github.com/sorbet/sorbet/releases) - [Commits](https://github.com/sorbet/sorbet/commits) Updates `sorbet` from 0.5.11842 to 0.5.11845 - [Release notes](https://github.com/sorbet/sorbet/releases) - [Commits](https://github.com/sorbet/sorbet/commits) Updates `sorbet-static` from 0.5.11842 to 0.5.11845 - [Release notes](https://github.com/sorbet/sorbet/releases) - [Commits](https://github.com/sorbet/sorbet/commits) --- updated-dependencies: - dependency-name: sorbet-static-and-runtime dependency-type: direct:development update-type: version-update:semver-patch dependency-group: sorbet - dependency-name: sorbet-runtime dependency-type: direct:production update-type: version-update:semver-patch dependency-group: sorbet - dependency-name: sorbet dependency-type: indirect update-type: version-update:semver-patch dependency-group: sorbet - dependency-name: sorbet-static dependency-type: indirect update-type: version-update:semver-patch dependency-group: sorbet ... Signed-off-by: dependabot[bot] --- Library/Homebrew/Gemfile.lock | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/Library/Homebrew/Gemfile.lock b/Library/Homebrew/Gemfile.lock index c10a1a839a..1522c446ef 100644 --- a/Library/Homebrew/Gemfile.lock +++ b/Library/Homebrew/Gemfile.lock @@ -116,15 +116,15 @@ GEM simplecov-html (0.13.1) simplecov_json_formatter (0.1.4) simpleidn (0.2.3) - sorbet (0.5.11842) - sorbet-static (= 0.5.11842) - sorbet-runtime (0.5.11842) - sorbet-static (0.5.11842-aarch64-linux) - sorbet-static (0.5.11842-universal-darwin) - sorbet-static (0.5.11842-x86_64-linux) - sorbet-static-and-runtime (0.5.11842) - sorbet (= 0.5.11842) - sorbet-runtime (= 0.5.11842) + sorbet (0.5.11845) + sorbet-static (= 0.5.11845) + sorbet-runtime (0.5.11845) + sorbet-static (0.5.11845-aarch64-linux) + sorbet-static (0.5.11845-universal-darwin) + sorbet-static (0.5.11845-x86_64-linux) + sorbet-static-and-runtime (0.5.11845) + sorbet (= 0.5.11845) + sorbet-runtime (= 0.5.11845) spoom (1.5.4) erubi (>= 1.10.0) prism (>= 0.28.0) @@ -155,7 +155,6 @@ GEM PLATFORMS aarch64-linux - arm-linux arm64-darwin x86_64-darwin x86_64-linux From 574a595e2d7642348352865855087a9f2262e9c2 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 21 Feb 2025 18:36:32 +0000 Subject: [PATCH 134/322] build(deps-dev): bump rubocop-sorbet in /Library/Homebrew Bumps [rubocop-sorbet](https://github.com/shopify/rubocop-sorbet) from 0.8.7 to 0.8.9. - [Release notes](https://github.com/shopify/rubocop-sorbet/releases) - [Commits](https://github.com/shopify/rubocop-sorbet/compare/v0.8.7...v0.8.9) --- updated-dependencies: - dependency-name: rubocop-sorbet dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- Library/Homebrew/Gemfile.lock | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Library/Homebrew/Gemfile.lock b/Library/Homebrew/Gemfile.lock index c10a1a839a..3c072ef757 100644 --- a/Library/Homebrew/Gemfile.lock +++ b/Library/Homebrew/Gemfile.lock @@ -96,7 +96,7 @@ GEM rubocop-ast (>= 1.31.1, < 2.0) rubocop-rspec (3.4.0) rubocop (~> 1.61) - rubocop-sorbet (0.8.7) + rubocop-sorbet (0.8.9) rubocop (>= 1) ruby-lsp (0.23.11) language_server-protocol (~> 3.17.0) @@ -155,7 +155,6 @@ GEM PLATFORMS aarch64-linux - arm-linux arm64-darwin x86_64-darwin x86_64-linux From a7ef82df5011815a3f585a7a0d7b8eddb2b2234c Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Fri, 21 Feb 2025 18:42:15 +0000 Subject: [PATCH 135/322] brew vendor-gems: commit updates. --- Library/Homebrew/Gemfile.lock | 1 + Library/Homebrew/vendor/bundle/bundler/setup.rb | 8 ++++---- .../lib/sorbet-runtime.rb | 0 .../lib/types/_types.rb | 0 .../lib/types/abstract_utils.rb | 0 .../lib/types/boolean.rb | 0 .../lib/types/compatibility_patches.rb | 0 .../lib/types/configuration.rb | 0 .../lib/types/enum.rb | 0 .../lib/types/generic.rb | 0 .../lib/types/helpers.rb | 0 .../lib/types/non_forcing_constants.rb | 0 .../lib/types/private/abstract/data.rb | 0 .../lib/types/private/abstract/declare.rb | 0 .../lib/types/private/abstract/hooks.rb | 0 .../lib/types/private/abstract/validate.rb | 0 .../lib/types/private/caller_utils.rb | 0 .../lib/types/private/casts.rb | 0 .../lib/types/private/class_utils.rb | 0 .../lib/types/private/decl_state.rb | 0 .../lib/types/private/final.rb | 0 .../lib/types/private/methods/_methods.rb | 0 .../lib/types/private/methods/call_validation.rb | 0 .../lib/types/private/methods/call_validation_2_6.rb | 0 .../lib/types/private/methods/call_validation_2_7.rb | 0 .../lib/types/private/methods/decl_builder.rb | 0 .../lib/types/private/methods/modes.rb | 0 .../lib/types/private/methods/signature.rb | 0 .../lib/types/private/methods/signature_validation.rb | 0 .../lib/types/private/mixins/mixins.rb | 0 .../lib/types/private/retry.rb | 0 .../lib/types/private/runtime_levels.rb | 0 .../lib/types/private/sealed.rb | 0 .../lib/types/private/types/not_typed.rb | 0 .../lib/types/private/types/simple_pair_union.rb | 0 .../lib/types/private/types/string_holder.rb | 0 .../lib/types/private/types/type_alias.rb | 0 .../lib/types/private/types/void.rb | 0 .../lib/types/props/_props.rb | 0 .../lib/types/props/constructor.rb | 0 .../lib/types/props/custom_type.rb | 0 .../lib/types/props/decorator.rb | 0 .../lib/types/props/errors.rb | 0 .../lib/types/props/generated_code_validation.rb | 0 .../lib/types/props/has_lazily_specialized_methods.rb | 0 .../lib/types/props/optional.rb | 0 .../lib/types/props/plugin.rb | 0 .../lib/types/props/pretty_printable.rb | 0 .../lib/types/props/private/apply_default.rb | 0 .../lib/types/props/private/deserializer_generator.rb | 0 .../lib/types/props/private/parser.rb | 0 .../lib/types/props/private/serde_transform.rb | 0 .../lib/types/props/private/serializer_generator.rb | 0 .../lib/types/props/private/setter_factory.rb | 0 .../lib/types/props/serializable.rb | 0 .../lib/types/props/type_validation.rb | 0 .../lib/types/props/utils.rb | 0 .../lib/types/props/weak_constructor.rb | 0 .../lib/types/sig.rb | 0 .../lib/types/struct.rb | 0 .../lib/types/types/anything.rb | 0 .../lib/types/types/attached_class.rb | 0 .../lib/types/types/base.rb | 0 .../lib/types/types/class_of.rb | 0 .../lib/types/types/enum.rb | 0 .../lib/types/types/fixed_array.rb | 0 .../lib/types/types/fixed_hash.rb | 0 .../lib/types/types/intersection.rb | 0 .../lib/types/types/noreturn.rb | 0 .../lib/types/types/proc.rb | 0 .../lib/types/types/self_type.rb | 0 .../lib/types/types/simple.rb | 0 .../lib/types/types/t_enum.rb | 0 .../lib/types/types/type_member.rb | 0 .../lib/types/types/type_parameter.rb | 0 .../lib/types/types/type_template.rb | 0 .../lib/types/types/type_variable.rb | 0 .../lib/types/types/typed_array.rb | 0 .../lib/types/types/typed_class.rb | 0 .../lib/types/types/typed_enumerable.rb | 0 .../lib/types/types/typed_enumerator.rb | 0 .../lib/types/types/typed_enumerator_chain.rb | 0 .../lib/types/types/typed_enumerator_lazy.rb | 0 .../lib/types/types/typed_hash.rb | 0 .../lib/types/types/typed_range.rb | 0 .../lib/types/types/typed_set.rb | 0 .../lib/types/types/union.rb | 0 .../lib/types/types/untyped.rb | 0 .../lib/types/utils.rb | 0 89 files changed, 5 insertions(+), 4 deletions(-) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11842 => sorbet-runtime-0.5.11845}/lib/sorbet-runtime.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11842 => sorbet-runtime-0.5.11845}/lib/types/_types.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11842 => sorbet-runtime-0.5.11845}/lib/types/abstract_utils.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11842 => sorbet-runtime-0.5.11845}/lib/types/boolean.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11842 => sorbet-runtime-0.5.11845}/lib/types/compatibility_patches.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11842 => sorbet-runtime-0.5.11845}/lib/types/configuration.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11842 => sorbet-runtime-0.5.11845}/lib/types/enum.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11842 => sorbet-runtime-0.5.11845}/lib/types/generic.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11842 => sorbet-runtime-0.5.11845}/lib/types/helpers.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11842 => sorbet-runtime-0.5.11845}/lib/types/non_forcing_constants.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11842 => sorbet-runtime-0.5.11845}/lib/types/private/abstract/data.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11842 => sorbet-runtime-0.5.11845}/lib/types/private/abstract/declare.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11842 => sorbet-runtime-0.5.11845}/lib/types/private/abstract/hooks.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11842 => sorbet-runtime-0.5.11845}/lib/types/private/abstract/validate.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11842 => sorbet-runtime-0.5.11845}/lib/types/private/caller_utils.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11842 => sorbet-runtime-0.5.11845}/lib/types/private/casts.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11842 => sorbet-runtime-0.5.11845}/lib/types/private/class_utils.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11842 => sorbet-runtime-0.5.11845}/lib/types/private/decl_state.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11842 => sorbet-runtime-0.5.11845}/lib/types/private/final.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11842 => sorbet-runtime-0.5.11845}/lib/types/private/methods/_methods.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11842 => sorbet-runtime-0.5.11845}/lib/types/private/methods/call_validation.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11842 => sorbet-runtime-0.5.11845}/lib/types/private/methods/call_validation_2_6.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11842 => sorbet-runtime-0.5.11845}/lib/types/private/methods/call_validation_2_7.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11842 => sorbet-runtime-0.5.11845}/lib/types/private/methods/decl_builder.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11842 => sorbet-runtime-0.5.11845}/lib/types/private/methods/modes.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11842 => sorbet-runtime-0.5.11845}/lib/types/private/methods/signature.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11842 => sorbet-runtime-0.5.11845}/lib/types/private/methods/signature_validation.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11842 => sorbet-runtime-0.5.11845}/lib/types/private/mixins/mixins.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11842 => sorbet-runtime-0.5.11845}/lib/types/private/retry.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11842 => sorbet-runtime-0.5.11845}/lib/types/private/runtime_levels.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11842 => sorbet-runtime-0.5.11845}/lib/types/private/sealed.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11842 => sorbet-runtime-0.5.11845}/lib/types/private/types/not_typed.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11842 => sorbet-runtime-0.5.11845}/lib/types/private/types/simple_pair_union.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11842 => sorbet-runtime-0.5.11845}/lib/types/private/types/string_holder.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11842 => sorbet-runtime-0.5.11845}/lib/types/private/types/type_alias.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11842 => sorbet-runtime-0.5.11845}/lib/types/private/types/void.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11842 => sorbet-runtime-0.5.11845}/lib/types/props/_props.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11842 => sorbet-runtime-0.5.11845}/lib/types/props/constructor.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11842 => sorbet-runtime-0.5.11845}/lib/types/props/custom_type.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11842 => sorbet-runtime-0.5.11845}/lib/types/props/decorator.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11842 => sorbet-runtime-0.5.11845}/lib/types/props/errors.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11842 => sorbet-runtime-0.5.11845}/lib/types/props/generated_code_validation.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11842 => sorbet-runtime-0.5.11845}/lib/types/props/has_lazily_specialized_methods.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11842 => sorbet-runtime-0.5.11845}/lib/types/props/optional.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11842 => sorbet-runtime-0.5.11845}/lib/types/props/plugin.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11842 => sorbet-runtime-0.5.11845}/lib/types/props/pretty_printable.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11842 => sorbet-runtime-0.5.11845}/lib/types/props/private/apply_default.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11842 => sorbet-runtime-0.5.11845}/lib/types/props/private/deserializer_generator.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11842 => sorbet-runtime-0.5.11845}/lib/types/props/private/parser.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11842 => sorbet-runtime-0.5.11845}/lib/types/props/private/serde_transform.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11842 => sorbet-runtime-0.5.11845}/lib/types/props/private/serializer_generator.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11842 => sorbet-runtime-0.5.11845}/lib/types/props/private/setter_factory.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11842 => sorbet-runtime-0.5.11845}/lib/types/props/serializable.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11842 => sorbet-runtime-0.5.11845}/lib/types/props/type_validation.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11842 => sorbet-runtime-0.5.11845}/lib/types/props/utils.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11842 => sorbet-runtime-0.5.11845}/lib/types/props/weak_constructor.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11842 => sorbet-runtime-0.5.11845}/lib/types/sig.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11842 => sorbet-runtime-0.5.11845}/lib/types/struct.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11842 => sorbet-runtime-0.5.11845}/lib/types/types/anything.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11842 => sorbet-runtime-0.5.11845}/lib/types/types/attached_class.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11842 => sorbet-runtime-0.5.11845}/lib/types/types/base.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11842 => sorbet-runtime-0.5.11845}/lib/types/types/class_of.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11842 => sorbet-runtime-0.5.11845}/lib/types/types/enum.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11842 => sorbet-runtime-0.5.11845}/lib/types/types/fixed_array.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11842 => sorbet-runtime-0.5.11845}/lib/types/types/fixed_hash.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11842 => sorbet-runtime-0.5.11845}/lib/types/types/intersection.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11842 => sorbet-runtime-0.5.11845}/lib/types/types/noreturn.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11842 => sorbet-runtime-0.5.11845}/lib/types/types/proc.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11842 => sorbet-runtime-0.5.11845}/lib/types/types/self_type.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11842 => sorbet-runtime-0.5.11845}/lib/types/types/simple.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11842 => sorbet-runtime-0.5.11845}/lib/types/types/t_enum.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11842 => sorbet-runtime-0.5.11845}/lib/types/types/type_member.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11842 => sorbet-runtime-0.5.11845}/lib/types/types/type_parameter.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11842 => sorbet-runtime-0.5.11845}/lib/types/types/type_template.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11842 => sorbet-runtime-0.5.11845}/lib/types/types/type_variable.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11842 => sorbet-runtime-0.5.11845}/lib/types/types/typed_array.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11842 => sorbet-runtime-0.5.11845}/lib/types/types/typed_class.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11842 => sorbet-runtime-0.5.11845}/lib/types/types/typed_enumerable.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11842 => sorbet-runtime-0.5.11845}/lib/types/types/typed_enumerator.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11842 => sorbet-runtime-0.5.11845}/lib/types/types/typed_enumerator_chain.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11842 => sorbet-runtime-0.5.11845}/lib/types/types/typed_enumerator_lazy.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11842 => sorbet-runtime-0.5.11845}/lib/types/types/typed_hash.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11842 => sorbet-runtime-0.5.11845}/lib/types/types/typed_range.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11842 => sorbet-runtime-0.5.11845}/lib/types/types/typed_set.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11842 => sorbet-runtime-0.5.11845}/lib/types/types/union.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11842 => sorbet-runtime-0.5.11845}/lib/types/types/untyped.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11842 => sorbet-runtime-0.5.11845}/lib/types/utils.rb (100%) diff --git a/Library/Homebrew/Gemfile.lock b/Library/Homebrew/Gemfile.lock index 1522c446ef..b62a5688a2 100644 --- a/Library/Homebrew/Gemfile.lock +++ b/Library/Homebrew/Gemfile.lock @@ -155,6 +155,7 @@ GEM PLATFORMS aarch64-linux + arm-linux arm64-darwin x86_64-darwin x86_64-linux diff --git a/Library/Homebrew/vendor/bundle/bundler/setup.rb b/Library/Homebrew/vendor/bundle/bundler/setup.rb index 2dd2a5a3e5..5cd9eeee03 100644 --- a/Library/Homebrew/vendor/bundle/bundler/setup.rb +++ b/Library/Homebrew/vendor/bundle/bundler/setup.rb @@ -75,7 +75,7 @@ $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/extensions/arm64-darwin-20/#{Gem.extension_api_version}/pycall-1.5.2") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/pycall-1.5.2/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rainbow-3.1.1/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-runtime-0.5.11842/lib") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-runtime-0.5.11845/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rbi-0.2.4/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/extensions/arm64-darwin-20/#{Gem.extension_api_version}/rbs-3.8.1") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rbs-3.8.1/lib") @@ -107,9 +107,9 @@ $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/simplecov_json_formatter-0.1.4/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/simplecov-0.22.0/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/simplecov-cobertura-2.1.0/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-static-0.5.11842-universal-darwin/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-0.5.11842/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-static-and-runtime-0.5.11842/lib") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-static-0.5.11845-universal-darwin/lib") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-0.5.11845/lib") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-static-and-runtime-0.5.11845/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/thor-1.3.2/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/spoom-1.5.4/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/extensions/arm64-darwin-20/#{Gem.extension_api_version}/stackprof-0.2.27") diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/sorbet-runtime.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/sorbet-runtime.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/sorbet-runtime.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/sorbet-runtime.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/_types.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/_types.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/_types.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/_types.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/abstract_utils.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/abstract_utils.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/abstract_utils.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/abstract_utils.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/boolean.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/boolean.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/boolean.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/boolean.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/compatibility_patches.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/compatibility_patches.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/compatibility_patches.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/compatibility_patches.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/configuration.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/configuration.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/configuration.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/configuration.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/enum.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/enum.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/enum.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/enum.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/generic.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/generic.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/generic.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/generic.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/helpers.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/helpers.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/helpers.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/helpers.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/non_forcing_constants.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/non_forcing_constants.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/non_forcing_constants.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/non_forcing_constants.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/private/abstract/data.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/private/abstract/data.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/private/abstract/data.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/private/abstract/data.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/private/abstract/declare.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/private/abstract/declare.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/private/abstract/declare.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/private/abstract/declare.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/private/abstract/hooks.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/private/abstract/hooks.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/private/abstract/hooks.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/private/abstract/hooks.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/private/abstract/validate.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/private/abstract/validate.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/private/abstract/validate.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/private/abstract/validate.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/private/caller_utils.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/private/caller_utils.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/private/caller_utils.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/private/caller_utils.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/private/casts.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/private/casts.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/private/casts.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/private/casts.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/private/class_utils.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/private/class_utils.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/private/class_utils.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/private/class_utils.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/private/decl_state.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/private/decl_state.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/private/decl_state.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/private/decl_state.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/private/final.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/private/final.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/private/final.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/private/final.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/private/methods/_methods.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/private/methods/_methods.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/private/methods/_methods.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/private/methods/_methods.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/private/methods/call_validation.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/private/methods/call_validation.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/private/methods/call_validation.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/private/methods/call_validation.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/private/methods/call_validation_2_6.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/private/methods/call_validation_2_6.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/private/methods/call_validation_2_6.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/private/methods/call_validation_2_6.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/private/methods/call_validation_2_7.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/private/methods/call_validation_2_7.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/private/methods/call_validation_2_7.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/private/methods/call_validation_2_7.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/private/methods/decl_builder.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/private/methods/decl_builder.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/private/methods/decl_builder.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/private/methods/decl_builder.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/private/methods/modes.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/private/methods/modes.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/private/methods/modes.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/private/methods/modes.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/private/methods/signature.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/private/methods/signature.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/private/methods/signature.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/private/methods/signature.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/private/methods/signature_validation.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/private/methods/signature_validation.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/private/methods/signature_validation.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/private/methods/signature_validation.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/private/mixins/mixins.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/private/mixins/mixins.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/private/mixins/mixins.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/private/mixins/mixins.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/private/retry.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/private/retry.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/private/retry.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/private/retry.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/private/runtime_levels.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/private/runtime_levels.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/private/runtime_levels.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/private/runtime_levels.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/private/sealed.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/private/sealed.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/private/sealed.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/private/sealed.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/private/types/not_typed.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/private/types/not_typed.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/private/types/not_typed.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/private/types/not_typed.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/private/types/simple_pair_union.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/private/types/simple_pair_union.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/private/types/simple_pair_union.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/private/types/simple_pair_union.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/private/types/string_holder.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/private/types/string_holder.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/private/types/string_holder.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/private/types/string_holder.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/private/types/type_alias.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/private/types/type_alias.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/private/types/type_alias.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/private/types/type_alias.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/private/types/void.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/private/types/void.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/private/types/void.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/private/types/void.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/props/_props.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/props/_props.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/props/_props.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/props/_props.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/props/constructor.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/props/constructor.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/props/constructor.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/props/constructor.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/props/custom_type.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/props/custom_type.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/props/custom_type.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/props/custom_type.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/props/decorator.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/props/decorator.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/props/decorator.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/props/decorator.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/props/errors.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/props/errors.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/props/errors.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/props/errors.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/props/generated_code_validation.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/props/generated_code_validation.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/props/generated_code_validation.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/props/generated_code_validation.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/props/has_lazily_specialized_methods.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/props/has_lazily_specialized_methods.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/props/has_lazily_specialized_methods.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/props/has_lazily_specialized_methods.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/props/optional.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/props/optional.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/props/optional.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/props/optional.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/props/plugin.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/props/plugin.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/props/plugin.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/props/plugin.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/props/pretty_printable.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/props/pretty_printable.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/props/pretty_printable.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/props/pretty_printable.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/props/private/apply_default.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/props/private/apply_default.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/props/private/apply_default.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/props/private/apply_default.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/props/private/deserializer_generator.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/props/private/deserializer_generator.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/props/private/deserializer_generator.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/props/private/deserializer_generator.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/props/private/parser.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/props/private/parser.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/props/private/parser.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/props/private/parser.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/props/private/serde_transform.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/props/private/serde_transform.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/props/private/serde_transform.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/props/private/serde_transform.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/props/private/serializer_generator.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/props/private/serializer_generator.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/props/private/serializer_generator.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/props/private/serializer_generator.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/props/private/setter_factory.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/props/private/setter_factory.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/props/private/setter_factory.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/props/private/setter_factory.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/props/serializable.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/props/serializable.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/props/serializable.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/props/serializable.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/props/type_validation.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/props/type_validation.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/props/type_validation.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/props/type_validation.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/props/utils.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/props/utils.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/props/utils.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/props/utils.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/props/weak_constructor.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/props/weak_constructor.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/props/weak_constructor.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/props/weak_constructor.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/sig.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/sig.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/sig.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/sig.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/struct.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/struct.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/struct.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/struct.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/types/anything.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/types/anything.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/types/anything.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/types/anything.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/types/attached_class.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/types/attached_class.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/types/attached_class.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/types/attached_class.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/types/base.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/types/base.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/types/base.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/types/base.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/types/class_of.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/types/class_of.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/types/class_of.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/types/class_of.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/types/enum.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/types/enum.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/types/enum.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/types/enum.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/types/fixed_array.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/types/fixed_array.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/types/fixed_array.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/types/fixed_array.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/types/fixed_hash.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/types/fixed_hash.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/types/fixed_hash.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/types/fixed_hash.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/types/intersection.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/types/intersection.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/types/intersection.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/types/intersection.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/types/noreturn.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/types/noreturn.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/types/noreturn.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/types/noreturn.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/types/proc.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/types/proc.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/types/proc.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/types/proc.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/types/self_type.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/types/self_type.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/types/self_type.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/types/self_type.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/types/simple.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/types/simple.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/types/simple.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/types/simple.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/types/t_enum.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/types/t_enum.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/types/t_enum.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/types/t_enum.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/types/type_member.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/types/type_member.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/types/type_member.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/types/type_member.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/types/type_parameter.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/types/type_parameter.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/types/type_parameter.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/types/type_parameter.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/types/type_template.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/types/type_template.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/types/type_template.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/types/type_template.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/types/type_variable.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/types/type_variable.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/types/type_variable.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/types/type_variable.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/types/typed_array.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/types/typed_array.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/types/typed_array.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/types/typed_array.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/types/typed_class.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/types/typed_class.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/types/typed_class.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/types/typed_class.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/types/typed_enumerable.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/types/typed_enumerable.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/types/typed_enumerable.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/types/typed_enumerable.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/types/typed_enumerator.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/types/typed_enumerator.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/types/typed_enumerator.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/types/typed_enumerator.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/types/typed_enumerator_chain.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/types/typed_enumerator_chain.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/types/typed_enumerator_chain.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/types/typed_enumerator_chain.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/types/typed_enumerator_lazy.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/types/typed_enumerator_lazy.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/types/typed_enumerator_lazy.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/types/typed_enumerator_lazy.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/types/typed_hash.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/types/typed_hash.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/types/typed_hash.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/types/typed_hash.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/types/typed_range.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/types/typed_range.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/types/typed_range.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/types/typed_range.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/types/typed_set.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/types/typed_set.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/types/typed_set.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/types/typed_set.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/types/union.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/types/union.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/types/union.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/types/union.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/types/untyped.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/types/untyped.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/types/untyped.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/types/untyped.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/utils.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/utils.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11842/lib/types/utils.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/utils.rb From 744eaa4cf52ddbe5203be361f00c3abf9b23709b Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Fri, 21 Feb 2025 18:42:38 +0000 Subject: [PATCH 136/322] brew vendor-gems: commit updates. --- Library/Homebrew/Gemfile.lock | 1 + Library/Homebrew/vendor/bundle/bundler/setup.rb | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Library/Homebrew/Gemfile.lock b/Library/Homebrew/Gemfile.lock index 3c072ef757..84f1dc9de4 100644 --- a/Library/Homebrew/Gemfile.lock +++ b/Library/Homebrew/Gemfile.lock @@ -155,6 +155,7 @@ GEM PLATFORMS aarch64-linux + arm-linux arm64-darwin x86_64-darwin x86_64-linux diff --git a/Library/Homebrew/vendor/bundle/bundler/setup.rb b/Library/Homebrew/vendor/bundle/bundler/setup.rb index 2dd2a5a3e5..f6c14c86bd 100644 --- a/Library/Homebrew/vendor/bundle/bundler/setup.rb +++ b/Library/Homebrew/vendor/bundle/bundler/setup.rb @@ -98,7 +98,7 @@ $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rubocop-md-1.2.4/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rubocop-performance-1.23.1/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rubocop-rspec-3.4.0/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rubocop-sorbet-0.8.7/lib") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rubocop-sorbet-0.8.9/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/ruby-lsp-0.23.11/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/ruby-macho-4.1.0/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/extensions/arm64-darwin-20/#{Gem.extension_api_version}/ruby-prof-1.7.1") From fb04179fd870094986ae539eb68d5002851c2727 Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Fri, 21 Feb 2025 19:40:15 +0000 Subject: [PATCH 137/322] Update manpage and completions. Autogenerated by the [sponsors-maintainers-man-completions](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/sponsors-maintainers-man-completions.yml) workflow. --- completions/bash/brew | 1 + completions/fish/brew.fish | 1 + completions/zsh/_brew | 25 +++++++++++++------------ docs/Manpage.md | 4 ++++ manpages/brew.1 | 3 +++ 5 files changed, 22 insertions(+), 12 deletions(-) diff --git a/completions/bash/brew b/completions/bash/brew index 91c384f483..704a02b4a5 100644 --- a/completions/bash/brew +++ b/completions/bash/brew @@ -816,6 +816,7 @@ _brew_create() { --set-version --tap --verbose + --zig " return ;; diff --git a/completions/fish/brew.fish b/completions/fish/brew.fish index 50b7da926f..1a00fe99aa 100644 --- a/completions/fish/brew.fish +++ b/completions/fish/brew.fish @@ -592,6 +592,7 @@ __fish_brew_complete_arg 'create' -l set-name -d 'Explicitly set the name of the __fish_brew_complete_arg 'create' -l set-version -d 'Explicitly set the version of the new formula or cask' __fish_brew_complete_arg 'create' -l tap -d 'Generate the new formula within the given tap, specified as user`/`repo' __fish_brew_complete_arg 'create' -l verbose -d 'Make some output more verbose' +__fish_brew_complete_arg 'create' -l zig -d 'Create a basic template for a Zig build' __fish_brew_complete_cmd 'debugger' 'Run the specified Homebrew command in debug mode' diff --git a/completions/zsh/_brew b/completions/zsh/_brew index 21582179ad..8213c5fb53 100644 --- a/completions/zsh/_brew +++ b/completions/zsh/_brew @@ -740,27 +740,28 @@ _brew_contributions() { _brew_create() { _arguments \ '(--cask)--HEAD[Indicate that URL points to the package'\''s repository rather than a file]' \ - '(--cmake --crystal --go --meson --node --perl --python --ruby --rust --cask)--autotools[Create a basic template for an Autotools-style build]' \ - '(--autotools --cmake --crystal --go --meson --node --perl --python --ruby --rust --HEAD --set-license)--cask[Create a basic template for a cask]' \ - '(--autotools --crystal --go --meson --node --perl --python --ruby --rust --cask)--cmake[Create a basic template for a CMake-style build]' \ - '(--autotools --cmake --go --meson --node --perl --python --ruby --rust --cask)--crystal[Create a basic template for a Crystal build]' \ + '(--cmake --crystal --go --meson --node --perl --python --ruby --rust --zig --cask)--autotools[Create a basic template for an Autotools-style build]' \ + '(--autotools --cmake --crystal --go --meson --node --perl --python --ruby --rust --zig --HEAD --set-license)--cask[Create a basic template for a cask]' \ + '(--autotools --crystal --go --meson --node --perl --python --ruby --rust --zig --cask)--cmake[Create a basic template for a CMake-style build]' \ + '(--autotools --cmake --go --meson --node --perl --python --ruby --rust --zig --cask)--crystal[Create a basic template for a Crystal build]' \ '--debug[Display any debugging information]' \ '--force[Ignore errors for disallowed formula names and names that shadow aliases]' \ - '(--autotools --cmake --crystal --meson --node --perl --python --ruby --rust --cask)--go[Create a basic template for a Go build]' \ + '(--autotools --cmake --crystal --meson --node --perl --python --ruby --rust --zig --cask)--go[Create a basic template for a Go build]' \ '--help[Show this message]' \ - '(--autotools --cmake --crystal --go --node --perl --python --ruby --rust --cask)--meson[Create a basic template for a Meson-style build]' \ + '(--autotools --cmake --crystal --go --node --perl --python --ruby --rust --zig --cask)--meson[Create a basic template for a Meson-style build]' \ '--no-fetch[Homebrew will not download URL to the cache and will thus not add its SHA-256 to the formula for you, nor will it check the GitHub API for GitHub projects (to fill out its description and homepage)]' \ - '(--autotools --cmake --crystal --go --meson --perl --python --ruby --rust --cask)--node[Create a basic template for a Node build]' \ - '(--autotools --cmake --crystal --go --meson --node --python --ruby --rust --cask)--perl[Create a basic template for a Perl build]' \ - '(--autotools --cmake --crystal --go --meson --node --perl --ruby --rust --cask)--python[Create a basic template for a Python build]' \ + '(--autotools --cmake --crystal --go --meson --perl --python --ruby --rust --zig --cask)--node[Create a basic template for a Node build]' \ + '(--autotools --cmake --crystal --go --meson --node --python --ruby --rust --zig --cask)--perl[Create a basic template for a Perl build]' \ + '(--autotools --cmake --crystal --go --meson --node --perl --ruby --rust --zig --cask)--python[Create a basic template for a Python build]' \ '--quiet[Make some output more quiet]' \ - '(--autotools --cmake --crystal --go --meson --node --perl --python --rust --cask)--ruby[Create a basic template for a Ruby build]' \ - '(--autotools --cmake --crystal --go --meson --node --perl --python --ruby --cask)--rust[Create a basic template for a Rust build]' \ + '(--autotools --cmake --crystal --go --meson --node --perl --python --rust --zig --cask)--ruby[Create a basic template for a Ruby build]' \ + '(--autotools --cmake --crystal --go --meson --node --perl --python --ruby --zig --cask)--rust[Create a basic template for a Rust build]' \ '(--cask)--set-license[Explicitly set the license of the new formula]' \ '--set-name[Explicitly set the name of the new formula or cask]' \ '--set-version[Explicitly set the version of the new formula or cask]' \ '--tap[Generate the new formula within the given tap, specified as user`/`repo]' \ - '--verbose[Make some output more verbose]' + '--verbose[Make some output more verbose]' \ + '(--autotools --cmake --crystal --go --meson --node --perl --python --ruby --rust --cask)--zig[Create a basic template for a Zig build]' } # brew debugger diff --git a/docs/Manpage.md b/docs/Manpage.md index e799be7bf4..cc4dfef347 100644 --- a/docs/Manpage.md +++ b/docs/Manpage.md @@ -2154,6 +2154,10 @@ see: : Create a basic template for a Rust build. +`--zig` + +: Create a basic template for a Zig build. + `--no-fetch` : Homebrew will not download *`URL`* to the cache and will thus not add its diff --git a/manpages/brew.1 b/manpages/brew.1 index d4567eb9ca..92da0cabe2 100644 --- a/manpages/brew.1 +++ b/manpages/brew.1 @@ -1368,6 +1368,9 @@ Create a basic template for a Ruby build\. \fB\-\-rust\fP Create a basic template for a Rust build\. .TP +\fB\-\-zig\fP +Create a basic template for a Zig build\. +.TP \fB\-\-no\-fetch\fP Homebrew will not download \fIURL\fP to the cache and will thus not add its SHA\-256 to the formula for you, nor will it check the GitHub API for GitHub projects (to fill out its description and homepage)\. .TP From 88751b7db96feabadfe3ae8c39a3c1c9acafd825 Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Sat, 22 Feb 2025 00:24:35 +0000 Subject: [PATCH 138/322] sorbet: Update RBI files. Autogenerated by the [sorbet](https://github.com/Homebrew/brew/blob/master/.github/workflows/sorbet.yml) workflow. --- Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/create.rbi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/create.rbi b/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/create.rbi index 66126dd6b2..150ac9e871 100644 --- a/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/create.rbi +++ b/Library/Homebrew/sorbet/rbi/dsl/homebrew/dev_cmd/create.rbi @@ -56,9 +56,6 @@ class Homebrew::DevCmd::Create::Args < Homebrew::CLI::Args sig { returns(T::Boolean) } def rust?; end - sig { returns(T::Boolean) } - def zig?; end - sig { returns(T.nilable(String)) } def set_license; end @@ -67,4 +64,7 @@ class Homebrew::DevCmd::Create::Args < Homebrew::CLI::Args sig { returns(T.nilable(String)) } def set_version; end + + sig { returns(T::Boolean) } + def zig?; end end From efeff905eb9f79efab776c2cc6c2208f24e7b8ba Mon Sep 17 00:00:00 2001 From: Sam Ford <1584702+samford@users.noreply.github.com> Date: Wed, 19 Feb 2025 16:22:25 -0500 Subject: [PATCH 139/322] livecheck: refactor livecheck_strategy_names This refactors the `livecheck_strategy_names` method to align with Doug's `livecheck_find_versions_parameters` implementation. --- Library/Homebrew/livecheck/livecheck.rb | 33 ++++++++----------- .../Homebrew/test/livecheck/livecheck_spec.rb | 10 ++++++ 2 files changed, 24 insertions(+), 19 deletions(-) diff --git a/Library/Homebrew/livecheck/livecheck.rb b/Library/Homebrew/livecheck/livecheck.rb index 5e8f6de1d1..9467515486 100644 --- a/Library/Homebrew/livecheck/livecheck.rb +++ b/Library/Homebrew/livecheck/livecheck.rb @@ -28,19 +28,10 @@ module Homebrew ].freeze, T::Array[String]) private_constant :UNSTABLE_VERSION_KEYWORDS - sig { returns(T::Hash[T::Class[T.anything], String]) } - private_class_method def self.livecheck_strategy_names - return T.must(@livecheck_strategy_names) if defined?(@livecheck_strategy_names) - - # Cache demodulized strategy names, to avoid repeating this work - @livecheck_strategy_names = T.let({}, T.nilable(T::Hash[T::Class[T.anything], String])) - Strategy.constants.sort.each do |const_symbol| - constant = Strategy.const_get(const_symbol) - next unless constant.is_a?(Class) - - T.must(@livecheck_strategy_names)[constant] = Utils.demodulize(T.must(constant.name)) - end - T.must(@livecheck_strategy_names).freeze + sig { params(strategy_class: T::Class[T.anything]).returns(String) } + private_class_method def self.livecheck_strategy_names(strategy_class) + @livecheck_strategy_names ||= T.let({}, T.nilable(T::Hash[T::Class[T.anything], String])) + @livecheck_strategy_names[strategy_class] ||= Utils.demodulize(T.must(strategy_class.name)) end # Uses `formulae_and_casks_to_check` to identify taps in use other than @@ -668,7 +659,9 @@ module Homebrew block_provided: livecheck_strategy_block.present?, ) strategy = Strategy.from_symbol(livecheck_strategy) || strategies.first - strategy_name = livecheck_strategy_names[strategy] + next unless strategy + + strategy_name = livecheck_strategy_names(strategy) if strategy.respond_to?(:preprocess_url) url = strategy.preprocess_url(url) @@ -686,7 +679,7 @@ module Homebrew puts "URL Options: #{livecheck_url_options}" if livecheck_url_options.present? puts "URL (processed): #{url}" if url != original_url if strategies.present? && verbose - puts "Strategies: #{strategies.map { |s| livecheck_strategy_names[s] }.join(", ")}" + puts "Strategies: #{strategies.map { |s| livecheck_strategy_names(s) }.join(", ")}" end puts "Strategy: #{strategy_name}" if strategy.present? puts "Regex: #{livecheck_regex.inspect}" if livecheck_regex.present? @@ -823,7 +816,7 @@ module Homebrew version_info[:meta][:url][:homebrew_curl] = homebrew_curl if homebrew_curl.present? end version_info[:meta][:strategy] = strategy_name if strategy.present? - version_info[:meta][:strategies] = strategies.map { |s| livecheck_strategy_names[s] } if strategies.present? + version_info[:meta][:strategies] = strategies.map { |s| livecheck_strategy_names(s) } if strategies.present? version_info[:meta][:regex] = regex.inspect if regex.present? version_info[:meta][:cached] = true if strategy_data[:cached] == true version_info[:meta][:throttle] = livecheck_throttle if livecheck_throttle @@ -892,7 +885,9 @@ module Homebrew block_provided: livecheck_strategy_block.present?, ) strategy = Strategy.from_symbol(livecheck_strategy) || strategies.first - strategy_name = livecheck_strategy_names[strategy] + next unless strategy + + strategy_name = livecheck_strategy_names(strategy) if strategy.respond_to?(:preprocess_url) url = strategy.preprocess_url(url) @@ -910,7 +905,7 @@ module Homebrew puts "URL Options: #{livecheck_url_options}" if livecheck_url_options.present? puts "URL (processed): #{url}" if url != original_url if strategies.present? && verbose - puts "Strategies: #{strategies.map { |s| livecheck_strategy_names[s] }.join(", ")}" + puts "Strategies: #{strategies.map { |s| livecheck_strategy_names(s) }.join(", ")}" end puts "Strategy: #{strategy_name}" if strategy.present? puts "Regex: #{livecheck_regex.inspect}" if livecheck_regex.present? @@ -1032,7 +1027,7 @@ module Homebrew end resource_version_info[:meta][:strategy] = strategy_name if strategy.present? if strategies.present? - resource_version_info[:meta][:strategies] = strategies.map { |s| livecheck_strategy_names[s] } + resource_version_info[:meta][:strategies] = strategies.map { |s| livecheck_strategy_names(s) } end resource_version_info[:meta][:regex] = regex.inspect if regex.present? resource_version_info[:meta][:cached] = true if cached == true diff --git a/Library/Homebrew/test/livecheck/livecheck_spec.rb b/Library/Homebrew/test/livecheck/livecheck_spec.rb index c7ba95dac8..c28ff3e592 100644 --- a/Library/Homebrew/test/livecheck/livecheck_spec.rb +++ b/Library/Homebrew/test/livecheck/livecheck_spec.rb @@ -76,6 +76,16 @@ RSpec.describe Homebrew::Livecheck do RUBY end + describe "::livecheck_strategy_names" do + context "when provided with a strategy class" do + it "returns demodulized class name" do + # We run this twice with the same argument to exercise the caching logic + expect(livecheck.send(:livecheck_strategy_names, Homebrew::Livecheck::Strategy::PageMatch)).to eq("PageMatch") + expect(livecheck.send(:livecheck_strategy_names, Homebrew::Livecheck::Strategy::PageMatch)).to eq("PageMatch") + end + end + end + describe "::resolve_livecheck_reference" do context "when a formula/cask has a `livecheck` block without formula/cask methods" do it "returns [nil, []]" do From 5e57df7287c5c8f5fb4d24c66f1663ef2d5c4464 Mon Sep 17 00:00:00 2001 From: Sam Ford <1584702+samford@users.noreply.github.com> Date: Fri, 21 Feb 2025 21:54:29 -0500 Subject: [PATCH 140/322] livecheck: restrict POST hashes to symbol keys I initially set the type for livecheck's `post_form` and `post_json` hashes to allow either a string or symbol key. I used string keys in the documentation, as there will inevitably be some form field names that would pose a problem for symbols (e.g., `E-mail` uses a hyphen, `1twothree` starts with a digit, etc.). However, I remembered that we can simply use quote symbols like `:"E-mail"` to handle these situations, as they have the flexibility of a string while still being a symbol. With that in mind, this updates related type signatures to only allow symbol keys and updates documentation and tests accordingly. The documentation example contains a hyphenated form field, so it demonstrates how to handle names that don't work as a bare symbol. --- Library/Homebrew/livecheck.rb | 4 ++-- Library/Homebrew/livecheck/strategy.rb | 4 ++-- Library/Homebrew/test/livecheck/strategy_spec.rb | 10 ---------- Library/Homebrew/test/livecheck_spec.rb | 8 ++++---- docs/Brew-Livecheck.md | 4 ++-- 5 files changed, 10 insertions(+), 20 deletions(-) diff --git a/Library/Homebrew/livecheck.rb b/Library/Homebrew/livecheck.rb index ebfcc7ec52..efdf5339fe 100644 --- a/Library/Homebrew/livecheck.rb +++ b/Library/Homebrew/livecheck.rb @@ -170,8 +170,8 @@ class Livecheck params( # URL to check for version information. url: T.any(String, Symbol), - post_form: T.nilable(T::Hash[T.any(String, Symbol), String]), - post_json: T.nilable(T::Hash[T.any(String, Symbol), String]), + post_form: T.nilable(T::Hash[Symbol, String]), + post_json: T.nilable(T::Hash[Symbol, String]), ).returns(T.nilable(T.any(String, Symbol))) } def url(url = T.unsafe(nil), post_form: nil, post_json: nil) diff --git a/Library/Homebrew/livecheck/strategy.rb b/Library/Homebrew/livecheck/strategy.rb index ca67feef36..d591a7b7e9 100644 --- a/Library/Homebrew/livecheck/strategy.rb +++ b/Library/Homebrew/livecheck/strategy.rb @@ -172,8 +172,8 @@ module Homebrew # @return [Array] sig { params( - post_form: T.nilable(T::Hash[T.any(String, Symbol), String]), - post_json: T.nilable(T::Hash[T.any(String, Symbol), String]), + post_form: T.nilable(T::Hash[Symbol, String]), + post_json: T.nilable(T::Hash[Symbol, String]), ).returns(T::Array[String]) } def self.post_args(post_form: nil, post_json: nil) diff --git a/Library/Homebrew/test/livecheck/strategy_spec.rb b/Library/Homebrew/test/livecheck/strategy_spec.rb index ddb3bde2f5..bb701e3b43 100644 --- a/Library/Homebrew/test/livecheck/strategy_spec.rb +++ b/Library/Homebrew/test/livecheck/strategy_spec.rb @@ -9,14 +9,6 @@ RSpec.describe Homebrew::Livecheck::Strategy do let(:redirection_url) { "https://brew.sh/redirection" } let(:post_hash) do - { - "empty" => "", - "boolean" => "true", - "number" => "1", - "string" => "a + b = c", - } - end - let(:post_hash_symbol_keys) do { empty: "", boolean: "true", @@ -154,7 +146,6 @@ RSpec.describe Homebrew::Livecheck::Strategy do describe "::post_args" do it "returns an array including `--data` and an encoded form data string" do expect(strategy.post_args(post_form: post_hash)).to eq(["--data", form_string]) - expect(strategy.post_args(post_form: post_hash_symbol_keys)).to eq(["--data", form_string]) # If both `post_form` and `post_json` are present, only `post_form` will # be used. @@ -163,7 +154,6 @@ RSpec.describe Homebrew::Livecheck::Strategy do it "returns an array including `--json` and a JSON string" do expect(strategy.post_args(post_json: post_hash)).to eq(["--json", json_string]) - expect(strategy.post_args(post_json: post_hash_symbol_keys)).to eq(["--json", json_string]) end it "returns an empty array if `post_form` value is blank" do diff --git a/Library/Homebrew/test/livecheck_spec.rb b/Library/Homebrew/test/livecheck_spec.rb index d213d227d6..e52fd76265 100644 --- a/Library/Homebrew/test/livecheck_spec.rb +++ b/Library/Homebrew/test/livecheck_spec.rb @@ -29,10 +29,10 @@ RSpec.describe Livecheck do let(:post_hash) do { - "empty" => "", - "boolean" => "true", - "number" => "1", - "string" => "a + b = c", + empty: "", + boolean: "true", + number: "1", + string: "a + b = c", } end diff --git a/docs/Brew-Livecheck.md b/docs/Brew-Livecheck.md index 65cd546248..90ffcbe58c 100644 --- a/docs/Brew-Livecheck.md +++ b/docs/Brew-Livecheck.md @@ -119,8 +119,8 @@ Some checks require making a `POST` request and that can be accomplished by addi ```ruby livecheck do url "https://example.com/download.php", post_form: { - "Name" => "", - "E-mail" => "", + Name: "", + "E-mail": "", } regex(/href=.*?example[._-]v?(\d+(?:\.\d+)+)\.t/i) end From 05d3ce85cd227f17e0bae1411290cf625ec50381 Mon Sep 17 00:00:00 2001 From: Michael Cho Date: Sun, 23 Feb 2025 14:15:19 -0500 Subject: [PATCH 141/322] dev-cmd/bottle: check for prefix when not /usr/local Fixes incorrectly marking bottles as relocatable, e.g. https://github.com/Homebrew/homebrew-core/blob/425d4ea43d36e7d03ce894268dd42aef5236bb54/Formula/p/pkgconf.rb#L34-L36 This cannot be done for `/usr/local` as it is used outside Homebrew. Other default prefixes are Homebrew-specific. --- Library/Homebrew/dev-cmd/bottle.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/dev-cmd/bottle.rb b/Library/Homebrew/dev-cmd/bottle.rb index 141f4c8fd6..04307077bc 100644 --- a/Library/Homebrew/dev-cmd/bottle.rb +++ b/Library/Homebrew/dev-cmd/bottle.rb @@ -559,7 +559,7 @@ module Homebrew ohai "Detecting if #{local_filename} is relocatable..." if bottle_path.size > 1 * 1024 * 1024 - prefix_check = if Homebrew.default_prefix?(prefix) + prefix_check = if prefix == HOMEBREW_DEFAULT_PREFIX File.join(prefix, "opt") else prefix From 3ef22f3181e7281a530c75f4313f15fd6fd676bb Mon Sep 17 00:00:00 2001 From: Douglas Eichelberger Date: Sun, 23 Feb 2025 13:18:49 -0800 Subject: [PATCH 142/322] Inline use of attr_rw --- Library/Homebrew/attrable.rb | 9 ------- Library/Homebrew/bottle_specification.rb | 7 +++-- Library/Homebrew/formula.rb | 24 +++++++++++------ Library/Homebrew/requirement.rb | 16 +++++++++-- .../sorbet/rbi/dsl/arch_requirement.rbi | 8 ------ .../sorbet/rbi/dsl/bottle_specification.rbi | 11 -------- .../rbi/dsl/cask_dependent/requirement.rbi | 8 ------ .../sorbet/rbi/dsl/codesign_requirement.rbi | 8 ------ Library/Homebrew/sorbet/rbi/dsl/formula.rbi | 12 --------- .../sorbet/rbi/dsl/linux_requirement.rbi | 8 ------ .../sorbet/rbi/dsl/mac_os_requirement.rbi | 8 ------ .../Homebrew/sorbet/rbi/dsl/requirement.rbi | 19 ------------- .../sorbet/rbi/dsl/xcode_requirement.rbi | 8 ------ .../sorbet/tapioca/compilers/attrables.rb | 27 ++++++------------- .../test/bottle_specification_spec.rb | 14 +++++----- 15 files changed, 51 insertions(+), 136 deletions(-) delete mode 100644 Library/Homebrew/sorbet/rbi/dsl/arch_requirement.rbi delete mode 100644 Library/Homebrew/sorbet/rbi/dsl/bottle_specification.rbi delete mode 100644 Library/Homebrew/sorbet/rbi/dsl/cask_dependent/requirement.rbi delete mode 100644 Library/Homebrew/sorbet/rbi/dsl/codesign_requirement.rbi delete mode 100644 Library/Homebrew/sorbet/rbi/dsl/linux_requirement.rbi delete mode 100644 Library/Homebrew/sorbet/rbi/dsl/mac_os_requirement.rbi delete mode 100644 Library/Homebrew/sorbet/rbi/dsl/requirement.rbi delete mode 100644 Library/Homebrew/sorbet/rbi/dsl/xcode_requirement.rbi diff --git a/Library/Homebrew/attrable.rb b/Library/Homebrew/attrable.rb index 8dd176ef24..590a6f147d 100644 --- a/Library/Homebrew/attrable.rb +++ b/Library/Homebrew/attrable.rb @@ -18,13 +18,4 @@ module Attrable end end end - - sig { params(attrs: Symbol).void } - def attr_rw(*attrs) - attrs.each do |attr| - define_method attr do |val = nil| - val.nil? ? instance_variable_get(:"@#{attr}") : instance_variable_set(:"@#{attr}", val) - end - end - end end diff --git a/Library/Homebrew/bottle_specification.rb b/Library/Homebrew/bottle_specification.rb index 556659a8ee..352b5149e6 100644 --- a/Library/Homebrew/bottle_specification.rb +++ b/Library/Homebrew/bottle_specification.rb @@ -2,10 +2,8 @@ # frozen_string_literal: true class BottleSpecification - extend Attrable RELOCATABLE_CELLARS = [:any, :any_skip_relocation].freeze - attr_rw :rebuild attr_accessor :tap attr_reader :collector, :root_url_specs, :repository @@ -17,6 +15,11 @@ class BottleSpecification @root_url_specs = {} end + sig { params(val: T.nilable(Integer)).returns(T.nilable(Integer)) } + def rebuild(val = nil) + val.nil? ? @rebuild : @rebuild = val + end + def root_url(var = nil, specs = {}) if var.nil? @root_url ||= if (github_packages_url = GitHubPackages.root_url_if_match(Homebrew::EnvConfig.bottle_domain)) diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb index c8a3e2debe..4faed44b42 100644 --- a/Library/Homebrew/formula.rb +++ b/Library/Homebrew/formula.rb @@ -3374,9 +3374,11 @@ class Formula # desc "Example formula" # ``` # - # @!attribute [w] desc # @api public - attr_rw :desc + sig { params(val: T.nilable(String)).returns(T.nilable(String)) } + def desc(val = nil) + val.nil? ? @desc : @desc = T.let(val, T.nilable(String)) + end # The SPDX ID of the open-source license that the formula uses. # Shows when running `brew info`. @@ -3524,9 +3526,11 @@ class Formula # homepage "https://www.example.com" # ``` # - # @!attribute [w] homepage # @api public - attr_rw :homepage + sig { params(val: T.nilable(String)).returns(T.nilable(String)) } + def homepage(val = nil) + val.nil? ? @homepage : @homepage = T.let(val, T.nilable(String)) + end # Checks whether a `livecheck` specification is defined or not. # @@ -3566,7 +3570,6 @@ class Formula # why they cannot use the bottle. attr_accessor :pour_bottle_check_unsatisfied_reason - # @!attribute [w] revision # Used for creating new Homebrew versions of software without new upstream # versions. For example, if we bump the major version of a library that this # {Formula} {.depends_on} then we may need to update the `revision` of this @@ -3580,9 +3583,11 @@ class Formula # ``` # # @api public - attr_rw :revision + sig { params(val: T.nilable(Integer)).returns(T.nilable(Integer)) } + def revision(val = nil) + val.nil? ? @revision : @revision = T.let(val, T.nilable(Integer)) + end - # @!attribute [w] version_scheme # Used for creating new Homebrew version schemes. For example, if we want # to change version scheme from one to another, then we may need to update # `version_scheme` of this {Formula} to be able to use new version scheme, @@ -3598,7 +3603,10 @@ class Formula # ``` # # @api public - attr_rw :version_scheme + sig { params(val: T.nilable(Integer)).returns(T.nilable(Integer)) } + def version_scheme(val = nil) + val.nil? ? @version_scheme : @version_scheme = T.let(val, T.nilable(Integer)) + end def spec_syms [:stable, :head].freeze diff --git a/Library/Homebrew/requirement.rb b/Library/Homebrew/requirement.rb index b469bcacda..0428e94f2a 100644 --- a/Library/Homebrew/requirement.rb +++ b/Library/Homebrew/requirement.rb @@ -179,11 +179,23 @@ class Requirement class << self include BuildEnvironment::DSL - extend Attrable attr_reader :env_proc, :build - attr_rw :fatal, :cask, :download + sig { params(val: T.nilable(String)).returns(T.nilable(String)) } + def cask(val = nil) + val.nil? ? @cask : @cask = val + end + + sig { params(val: T.nilable(String)).returns(T.nilable(String)) } + def download(val = nil) + val.nil? ? @download : @download = val + end + + sig { params(val: T.nilable(T::Boolean)).returns(T.nilable(T::Boolean)) } + def fatal(val = nil) + val.nil? ? @fatal : @fatal = val + end def satisfy(options = nil, &block) return @satisfied if options.nil? && !block diff --git a/Library/Homebrew/sorbet/rbi/dsl/arch_requirement.rbi b/Library/Homebrew/sorbet/rbi/dsl/arch_requirement.rbi deleted file mode 100644 index 5de043433f..0000000000 --- a/Library/Homebrew/sorbet/rbi/dsl/arch_requirement.rbi +++ /dev/null @@ -1,8 +0,0 @@ -# typed: true - -# DO NOT EDIT MANUALLY -# This is an autogenerated file for dynamic methods in `ArchRequirement`. -# Please instead update this file by running `bin/tapioca dsl ArchRequirement`. - - -class ArchRequirement; end diff --git a/Library/Homebrew/sorbet/rbi/dsl/bottle_specification.rbi b/Library/Homebrew/sorbet/rbi/dsl/bottle_specification.rbi deleted file mode 100644 index d076578f16..0000000000 --- a/Library/Homebrew/sorbet/rbi/dsl/bottle_specification.rbi +++ /dev/null @@ -1,11 +0,0 @@ -# typed: true - -# DO NOT EDIT MANUALLY -# This is an autogenerated file for dynamic methods in `BottleSpecification`. -# Please instead update this file by running `bin/tapioca dsl BottleSpecification`. - - -class BottleSpecification - sig { params(arg: T.untyped).returns(T.untyped) } - def rebuild(arg = nil); end -end diff --git a/Library/Homebrew/sorbet/rbi/dsl/cask_dependent/requirement.rbi b/Library/Homebrew/sorbet/rbi/dsl/cask_dependent/requirement.rbi deleted file mode 100644 index e9718170d2..0000000000 --- a/Library/Homebrew/sorbet/rbi/dsl/cask_dependent/requirement.rbi +++ /dev/null @@ -1,8 +0,0 @@ -# typed: true - -# DO NOT EDIT MANUALLY -# This is an autogenerated file for dynamic methods in `CaskDependent::Requirement`. -# Please instead update this file by running `bin/tapioca dsl CaskDependent::Requirement`. - - -class CaskDependent::Requirement; end diff --git a/Library/Homebrew/sorbet/rbi/dsl/codesign_requirement.rbi b/Library/Homebrew/sorbet/rbi/dsl/codesign_requirement.rbi deleted file mode 100644 index a15cb3779f..0000000000 --- a/Library/Homebrew/sorbet/rbi/dsl/codesign_requirement.rbi +++ /dev/null @@ -1,8 +0,0 @@ -# typed: true - -# DO NOT EDIT MANUALLY -# This is an autogenerated file for dynamic methods in `CodesignRequirement`. -# Please instead update this file by running `bin/tapioca dsl CodesignRequirement`. - - -class CodesignRequirement; end diff --git a/Library/Homebrew/sorbet/rbi/dsl/formula.rbi b/Library/Homebrew/sorbet/rbi/dsl/formula.rbi index 3ced914c9c..c21f24179a 100644 --- a/Library/Homebrew/sorbet/rbi/dsl/formula.rbi +++ b/Library/Homebrew/sorbet/rbi/dsl/formula.rbi @@ -142,22 +142,10 @@ class Formula def version(*args, &block); end class << self - sig { params(arg: T.untyped).returns(T.untyped) } - def desc(arg = nil); end - - sig { params(arg: T.untyped).returns(T.untyped) } - def homepage(arg = nil); end - sig { returns(T::Boolean) } def loaded_from_api?; end sig { returns(T::Boolean) } def on_system_blocks_exist?; end - - sig { params(arg: T.untyped).returns(T.untyped) } - def revision(arg = nil); end - - sig { params(arg: T.untyped).returns(T.untyped) } - def version_scheme(arg = nil); end end end diff --git a/Library/Homebrew/sorbet/rbi/dsl/linux_requirement.rbi b/Library/Homebrew/sorbet/rbi/dsl/linux_requirement.rbi deleted file mode 100644 index 6ad28e5e60..0000000000 --- a/Library/Homebrew/sorbet/rbi/dsl/linux_requirement.rbi +++ /dev/null @@ -1,8 +0,0 @@ -# typed: true - -# DO NOT EDIT MANUALLY -# This is an autogenerated file for dynamic methods in `LinuxRequirement`. -# Please instead update this file by running `bin/tapioca dsl LinuxRequirement`. - - -class LinuxRequirement; end diff --git a/Library/Homebrew/sorbet/rbi/dsl/mac_os_requirement.rbi b/Library/Homebrew/sorbet/rbi/dsl/mac_os_requirement.rbi deleted file mode 100644 index 9e31d54eb8..0000000000 --- a/Library/Homebrew/sorbet/rbi/dsl/mac_os_requirement.rbi +++ /dev/null @@ -1,8 +0,0 @@ -# typed: true - -# DO NOT EDIT MANUALLY -# This is an autogenerated file for dynamic methods in `MacOSRequirement`. -# Please instead update this file by running `bin/tapioca dsl MacOSRequirement`. - - -class MacOSRequirement; end diff --git a/Library/Homebrew/sorbet/rbi/dsl/requirement.rbi b/Library/Homebrew/sorbet/rbi/dsl/requirement.rbi deleted file mode 100644 index e755f8ef24..0000000000 --- a/Library/Homebrew/sorbet/rbi/dsl/requirement.rbi +++ /dev/null @@ -1,19 +0,0 @@ -# typed: true - -# DO NOT EDIT MANUALLY -# This is an autogenerated file for dynamic methods in `Requirement`. -# Please instead update this file by running `bin/tapioca dsl Requirement`. - - -class Requirement - class << self - sig { params(arg: T.untyped).returns(T.untyped) } - def cask(arg = nil); end - - sig { params(arg: T.untyped).returns(T.untyped) } - def download(arg = nil); end - - sig { params(arg: T.untyped).returns(T.untyped) } - def fatal(arg = nil); end - end -end diff --git a/Library/Homebrew/sorbet/rbi/dsl/xcode_requirement.rbi b/Library/Homebrew/sorbet/rbi/dsl/xcode_requirement.rbi deleted file mode 100644 index 6a812e438d..0000000000 --- a/Library/Homebrew/sorbet/rbi/dsl/xcode_requirement.rbi +++ /dev/null @@ -1,8 +0,0 @@ -# typed: true - -# DO NOT EDIT MANUALLY -# This is an autogenerated file for dynamic methods in `XcodeRequirement`. -# Please instead update this file by running `bin/tapioca dsl XcodeRequirement`. - - -class XcodeRequirement; end diff --git a/Library/Homebrew/sorbet/tapioca/compilers/attrables.rb b/Library/Homebrew/sorbet/tapioca/compilers/attrables.rb index a1ae0740f7..d4400d198c 100644 --- a/Library/Homebrew/sorbet/tapioca/compilers/attrables.rb +++ b/Library/Homebrew/sorbet/tapioca/compilers/attrables.rb @@ -28,25 +28,14 @@ module Tapioca sig { params(klass: RBI::Scope, method: T.any(Method, UnboundMethod), class_method: T::Boolean).void } def compile_attrable_method(klass, method, class_method: false) - case method.arity - when -1 - # attr_rw - klass.create_method( - method.name.to_s, - parameters: [create_opt_param("arg", type: "T.untyped", default: "nil")], - return_type: "T.untyped", - class_method:, - ) - when 0 - # attr_predicate - klass.create_method( - method.name.to_s, - return_type: "T::Boolean", - class_method:, - ) - else - raise "Unsupported arity for method #{method.name} - did `Attrable` change?" - end + raise "Unsupported arity for method #{method.name} - did `Attrable` change?" unless method.arity.zero? + + # attr_predicate + klass.create_method( + method.name.to_s, + return_type: "T::Boolean", + class_method:, + ) end end end diff --git a/Library/Homebrew/test/bottle_specification_spec.rb b/Library/Homebrew/test/bottle_specification_spec.rb index cb2c82fd7d..51eed26c67 100644 --- a/Library/Homebrew/test/bottle_specification_spec.rb +++ b/Library/Homebrew/test/bottle_specification_spec.rb @@ -52,11 +52,13 @@ RSpec.describe BottleSpecification do end end - %w[root_url rebuild].each do |method| - specify "##{method}" do - object = Object.new - bottle_spec.public_send(method, object) - expect(bottle_spec.public_send(method)).to eq(object) - end + specify "#rebuild" do + bottle_spec.rebuild(1337) + expect(bottle_spec.rebuild).to eq(1337) + end + + specify "#root_url" do + bottle_spec.root_url("https://example.com") + expect(bottle_spec.root_url).to eq("https://example.com") end end From 7880490f85e02a1edebbf32aacd618582143f005 Mon Sep 17 00:00:00 2001 From: Douglas Eichelberger <697964+dduugg@users.noreply.github.com> Date: Sun, 23 Feb 2025 13:41:23 -0800 Subject: [PATCH 143/322] Update Library/Homebrew/formula.rb Co-authored-by: Markus Reiter --- Library/Homebrew/bottle_specification.rb | 4 ++-- Library/Homebrew/formula.rb | 16 ++++++++-------- Library/Homebrew/requirement.rb | 12 ++++++------ 3 files changed, 16 insertions(+), 16 deletions(-) diff --git a/Library/Homebrew/bottle_specification.rb b/Library/Homebrew/bottle_specification.rb index 352b5149e6..1984a3c64e 100644 --- a/Library/Homebrew/bottle_specification.rb +++ b/Library/Homebrew/bottle_specification.rb @@ -15,8 +15,8 @@ class BottleSpecification @root_url_specs = {} end - sig { params(val: T.nilable(Integer)).returns(T.nilable(Integer)) } - def rebuild(val = nil) + sig { params(val: Integer).returns(T.nilable(Integer)) } + def rebuild(val = T.unsafe(nil)) val.nil? ? @rebuild : @rebuild = val end diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb index 4faed44b42..b316caa4b1 100644 --- a/Library/Homebrew/formula.rb +++ b/Library/Homebrew/formula.rb @@ -3375,8 +3375,8 @@ class Formula # ``` # # @api public - sig { params(val: T.nilable(String)).returns(T.nilable(String)) } - def desc(val = nil) + sig { params(val: String).returns(T.nilable(String)) } + def desc(val = T.unsafe(nil)) val.nil? ? @desc : @desc = T.let(val, T.nilable(String)) end @@ -3527,8 +3527,8 @@ class Formula # ``` # # @api public - sig { params(val: T.nilable(String)).returns(T.nilable(String)) } - def homepage(val = nil) + sig { params(val: String).returns(T.nilable(String)) } + def homepage(val = T.unsafe(nil)) val.nil? ? @homepage : @homepage = T.let(val, T.nilable(String)) end @@ -3583,8 +3583,8 @@ class Formula # ``` # # @api public - sig { params(val: T.nilable(Integer)).returns(T.nilable(Integer)) } - def revision(val = nil) + sig { params(val: Integer).returns(T.nilable(Integer)) } + def revision(val = T.unsafe(nil)) val.nil? ? @revision : @revision = T.let(val, T.nilable(Integer)) end @@ -3603,8 +3603,8 @@ class Formula # ``` # # @api public - sig { params(val: T.nilable(Integer)).returns(T.nilable(Integer)) } - def version_scheme(val = nil) + sig { params(val: Integer).returns(T.nilable(Integer)) } + def version_scheme(val = T.unsafe(nil)) val.nil? ? @version_scheme : @version_scheme = T.let(val, T.nilable(Integer)) end diff --git a/Library/Homebrew/requirement.rb b/Library/Homebrew/requirement.rb index 0428e94f2a..868d8e0f68 100644 --- a/Library/Homebrew/requirement.rb +++ b/Library/Homebrew/requirement.rb @@ -182,18 +182,18 @@ class Requirement attr_reader :env_proc, :build - sig { params(val: T.nilable(String)).returns(T.nilable(String)) } - def cask(val = nil) + sig { params(val: String).returns(T.nilable(String)) } + def cask(val = T.unsafe(nil)) val.nil? ? @cask : @cask = val end - sig { params(val: T.nilable(String)).returns(T.nilable(String)) } - def download(val = nil) + sig { params(val: String).returns(T.nilable(String)) } + def download(val = T.unsafe(nil)) val.nil? ? @download : @download = val end - sig { params(val: T.nilable(T::Boolean)).returns(T.nilable(T::Boolean)) } - def fatal(val = nil) + sig { params(val: T::Boolean).returns(T.nilable(T::Boolean)) } + def fatal(val = T.unsafe(nil)) val.nil? ? @fatal : @fatal = val end From 140d45f32592ea040091e24fbf0c3a9f004feaf4 Mon Sep 17 00:00:00 2001 From: Sam Ford <1584702+samford@users.noreply.github.com> Date: Mon, 24 Feb 2025 12:08:52 -0500 Subject: [PATCH 144/322] docs: Fix broken RubyDoc URL fragments Some RubyDoc URL fragments in the Formula Cookbook documentation include an equals sign (`%3D`) but the `id` attributes in the current RubyDoc HTML don't include the equals sign, so the documentation CI job is failing with errors like `External link https://rubydoc.brew.sh/Formula#revision=-class_method failed: https://rubydoc.brew.sh/Formula exists, but the hash 'revision=-class_method' does not`. This updates the URLs to remove `%3D` accordingly. --- docs/Formula-Cookbook.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/docs/Formula-Cookbook.md b/docs/Formula-Cookbook.md index 755fd6ba1b..e1ba0012fc 100644 --- a/docs/Formula-Cookbook.md +++ b/docs/Formula-Cookbook.md @@ -74,11 +74,11 @@ Homebrew will try to guess the formula’s name from its URL. If it fails to do ### Fill in the `homepage` -**We don’t accept formulae without a [`homepage`](https://rubydoc.brew.sh/Formula#homepage%3D-class_method)!** +**We don’t accept formulae without a [`homepage`](https://rubydoc.brew.sh/Formula#homepage-class_method)!** -An SSL/TLS (https) [`homepage`](https://rubydoc.brew.sh/Formula#homepage%3D-class_method) is preferred, if one is available. +An SSL/TLS (https) [`homepage`](https://rubydoc.brew.sh/Formula#homepage-class_method) is preferred, if one is available. -Try to summarise from the [`homepage`](https://rubydoc.brew.sh/Formula#homepage%3D-class_method) what the formula does in the [`desc`](https://rubydoc.brew.sh/Formula#desc%3D-class_method)ription. Note that the [`desc`](https://rubydoc.brew.sh/Formula#desc%3D-class_method)ription is automatically prepended with the formula name when printed. +Try to summarise from the [`homepage`](https://rubydoc.brew.sh/Formula#homepage-class_method) what the formula does in the [`desc`](https://rubydoc.brew.sh/Formula#desc-class_method)ription. Note that the [`desc`](https://rubydoc.brew.sh/Formula#desc-class_method)ription is automatically prepended with the formula name when printed. ### Fill in the `license` @@ -179,17 +179,17 @@ conflicts_with "blueduck", because: "yellowduck also ships a duck binary" In Homebrew we sometimes accept formulae updates that don’t include a version bump. These include resource updates, new patches or fixing a security issue with a formula. -Occasionally, these updates require a forced-recompile of the formula itself or its dependents to either ensure formulae continue to function as expected or to close a security issue. This forced-recompile is known as a [`revision`](https://rubydoc.brew.sh/Formula#revision%3D-class_method) and is inserted underneath the [`homepage`](https://rubydoc.brew.sh/Formula#homepage%3D-class_method)/[`url`](https://rubydoc.brew.sh/Formula#url-class_method)/[`sha256`](https://rubydoc.brew.sh/Formula#sha256%3D-class_method)/[`license`](https://rubydoc.brew.sh/Formula#license-class_method) block. +Occasionally, these updates require a forced-recompile of the formula itself or its dependents to either ensure formulae continue to function as expected or to close a security issue. This forced-recompile is known as a [`revision`](https://rubydoc.brew.sh/Formula#revision-class_method) and is inserted underneath the [`homepage`](https://rubydoc.brew.sh/Formula#homepage-class_method)/[`url`](https://rubydoc.brew.sh/Formula#url-class_method)/[`sha256`](https://rubydoc.brew.sh/Formula#sha256-class_method)/[`license`](https://rubydoc.brew.sh/Formula#license-class_method) block. -When a dependent of a formula fails to build against a new version of that dependency it must receive a [`revision`](https://rubydoc.brew.sh/Formula#revision%3D-class_method). An example of such failure is in [this issue report](https://github.com/Homebrew/legacy-homebrew/issues/31195) and [its fix](https://github.com/Homebrew/legacy-homebrew/pull/31207). +When a dependent of a formula fails to build against a new version of that dependency it must receive a [`revision`](https://rubydoc.brew.sh/Formula#revision-class_method). An example of such failure is in [this issue report](https://github.com/Homebrew/legacy-homebrew/issues/31195) and [its fix](https://github.com/Homebrew/legacy-homebrew/pull/31207). -[`revision`](https://rubydoc.brew.sh/Formula#revision%3D-class_method)s are also used for formulae that move from the system OpenSSL to the Homebrew-shipped OpenSSL without any other changes to that formula. This ensures users aren’t left exposed to the potential security issues of the outdated OpenSSL. An example of this can be seen in [this commit](https://github.com/Homebrew/homebrew-core/commit/0d4453a91923e6118983961e18d0609e9828a1a4). +[`revision`](https://rubydoc.brew.sh/Formula#revision-class_method)s are also used for formulae that move from the system OpenSSL to the Homebrew-shipped OpenSSL without any other changes to that formula. This ensures users aren’t left exposed to the potential security issues of the outdated OpenSSL. An example of this can be seen in [this commit](https://github.com/Homebrew/homebrew-core/commit/0d4453a91923e6118983961e18d0609e9828a1a4). ### Version scheme changes Sometimes formulae have version schemes that change such that a direct comparison between two versions no longer produces the correct result. For example, a project might be version `13` and then decide to become `1.0.0`. As `13` is translated to `13.0.0` by our versioning system by default this requires intervention. -When a version scheme of a formula fails to recognise a new version as newer it must receive a [`version_scheme`](https://rubydoc.brew.sh/Formula#version_scheme%3D-class_method). An example of this can be seen in [this pull request](https://github.com/Homebrew/homebrew-core/pull/4006). +When a version scheme of a formula fails to recognise a new version as newer it must receive a [`version_scheme`](https://rubydoc.brew.sh/Formula#version_scheme-class_method). An example of this can be seen in [this pull request](https://github.com/Homebrew/homebrew-core/pull/4006). ### Double-check for dependencies @@ -1233,7 +1233,7 @@ See our [Deprecating, Disabling and Removing Formulae](Deprecating-Disabling-and ## Updating formulae -When a new version of the software is released, use `brew bump-formula-pr` to automatically update the [`url`](https://rubydoc.brew.sh/Formula#url-class_method) and [`sha256`](https://rubydoc.brew.sh/Formula#sha256%3D-class_method), remove any [`revision`](https://rubydoc.brew.sh/Formula#revision%3D-class_method) lines, and submit a pull request. See our [How to Open a Homebrew Pull Request](How-To-Open-a-Homebrew-Pull-Request.md) documentation for more information. +When a new version of the software is released, use `brew bump-formula-pr` to automatically update the [`url`](https://rubydoc.brew.sh/Formula#url-class_method) and [`sha256`](https://rubydoc.brew.sh/Formula#sha256-class_method), remove any [`revision`](https://rubydoc.brew.sh/Formula#revision-class_method) lines, and submit a pull request. See our [How to Open a Homebrew Pull Request](How-To-Open-a-Homebrew-Pull-Request.md) documentation for more information. ## Troubleshooting for new formulae From a81239ec2d80dab3a0fb8139d583f690e9475d68 Mon Sep 17 00:00:00 2001 From: Douglas Eichelberger Date: Sun, 16 Feb 2025 22:20:37 -0800 Subject: [PATCH 145/322] Enable strict typing in Formula --- Library/Homebrew/caveats.rb | 2 +- Library/Homebrew/cmd/info.rb | 22 +- Library/Homebrew/cmd/list.rb | 3 +- Library/Homebrew/cmd/missing.rb | 2 +- Library/Homebrew/cmd/update-report.rb | 2 +- Library/Homebrew/cmd/uses.rb | 6 +- Library/Homebrew/dev-cmd/bump.rb | 2 +- Library/Homebrew/diagnostic.rb | 2 +- .../extend/os/linux/cmd/update-report.rb | 2 +- .../extend/os/linux/dependency_collector.rb | 4 +- Library/Homebrew/formula.rb | 418 ++++++++++++------ Library/Homebrew/formula_cellar_checks.rb | 2 +- Library/Homebrew/formula_installer.rb | 2 +- Library/Homebrew/language/java.rb | 2 +- Library/Homebrew/language/python.rb | 12 +- 15 files changed, 323 insertions(+), 160 deletions(-) diff --git a/Library/Homebrew/caveats.rb b/Library/Homebrew/caveats.rb index 4a233a0acd..1769f7ce76 100644 --- a/Library/Homebrew/caveats.rb +++ b/Library/Homebrew/caveats.rb @@ -19,8 +19,8 @@ class Caveats sig { returns(String) } def caveats caveats = [] + build = formula.build begin - build = formula.build formula.build = Tab.for_formula(formula) string = formula.caveats.to_s caveats << "#{string.chomp}\n" unless string.empty? diff --git a/Library/Homebrew/cmd/info.rb b/Library/Homebrew/cmd/info.rb index 495b85aa6e..5b9fda067d 100644 --- a/Library/Homebrew/cmd/info.rb +++ b/Library/Homebrew/cmd/info.rb @@ -209,16 +209,18 @@ module Homebrew formulae.map(&:to_hash) end when :v2 - formulae, casks = if all - [ - Formula.all(eval_all: args.eval_all?).sort, - Cask::Cask.all(eval_all: args.eval_all?).sort_by(&:full_name), - ] - elsif args.installed? - [Formula.installed.sort, Cask::Caskroom.casks.sort_by(&:full_name)] - else - args.named.to_formulae_to_casks - end + formulae, casks = T.let( + if all + [ + Formula.all(eval_all: args.eval_all?).sort, + Cask::Cask.all(eval_all: args.eval_all?).sort_by(&:full_name), + ] + elsif args.installed? + [Formula.installed.sort, Cask::Caskroom.casks.sort_by(&:full_name)] + else + T.cast(args.named.to_formulae_to_casks, [T::Array[Formula], T::Array[Cask::Cask]]) + end, [T::Array[Formula], T::Array[Cask::Cask]] + ) if args.variations? { diff --git a/Library/Homebrew/cmd/list.rb b/Library/Homebrew/cmd/list.rb index 538baed2c1..4bfdc6e912 100644 --- a/Library/Homebrew/cmd/list.rb +++ b/Library/Homebrew/cmd/list.rb @@ -123,7 +123,8 @@ module Homebrew raise UsageError, "Cannot use #{flags.join(", ")} with formula arguments." unless args.no_named? formulae = if args.t? - Formula.installed.sort_by { |formula| test("M", formula.rack) }.reverse! + # See https://ruby-doc.org/3.2/Kernel.html#method-i-test + Formula.installed.sort_by { |formula| T.cast(test("M", formula.rack.to_s), Time) }.reverse! elsif args.full_name? Formula.installed.sort { |a, b| tap_and_name_comparison.call(a.full_name, b.full_name) } else diff --git a/Library/Homebrew/cmd/missing.rb b/Library/Homebrew/cmd/missing.rb index 41cce0329d..b30184cbf8 100644 --- a/Library/Homebrew/cmd/missing.rb +++ b/Library/Homebrew/cmd/missing.rb @@ -33,7 +33,7 @@ module Homebrew end ff.each do |f| - missing = f.missing_dependencies(hide: args.hide) + missing = f.missing_dependencies(hide: args.hide || []) next if missing.empty? Homebrew.failed = true diff --git a/Library/Homebrew/cmd/update-report.rb b/Library/Homebrew/cmd/update-report.rb index f9d34f4425..91395f4e98 100644 --- a/Library/Homebrew/cmd/update-report.rb +++ b/Library/Homebrew/cmd/update-report.rb @@ -161,7 +161,7 @@ module Homebrew end next unless formula.any_version_installed? - keg = formula.installed_kegs.last + keg = formula.installed_kegs.fetch(-1) tab = keg.tab # force a `brew upgrade` from the linuxbrew-core version to the homebrew-core version (even if lower) tab.source["versions"]["version_scheme"] = -1 diff --git a/Library/Homebrew/cmd/uses.rb b/Library/Homebrew/cmd/uses.rb index 6583a4c45b..a515751a3d 100644 --- a/Library/Homebrew/cmd/uses.rb +++ b/Library/Homebrew/cmd/uses.rb @@ -106,9 +106,9 @@ module Homebrew # We can only get here if `used_formulae_missing` is false, thus there are no UnavailableFormula. used_formulae = T.cast(used_formulae, T::Array[Formula]) if show_formulae_and_casks || args.formula? - deps += used_formulae.map(&:runtime_installed_formula_dependents) - .reduce(&:&) - .select(&:any_version_installed?) + deps += T.must(used_formulae.map(&:runtime_installed_formula_dependents) + .reduce(&:&)) + .select(&:any_version_installed?) end if show_formulae_and_casks || args.cask? deps += select_used_dependents( diff --git a/Library/Homebrew/dev-cmd/bump.rb b/Library/Homebrew/dev-cmd/bump.rb index f635e5b229..8e4245a91a 100644 --- a/Library/Homebrew/dev-cmd/bump.rb +++ b/Library/Homebrew/dev-cmd/bump.rb @@ -115,7 +115,7 @@ module Homebrew end end - formulae_and_casks = formulae_and_casks&.sort_by do |formula_or_cask| + formulae_and_casks = formulae_and_casks.sort_by do |formula_or_cask| formula_or_cask.respond_to?(:token) ? formula_or_cask.token : formula_or_cask.name end diff --git a/Library/Homebrew/diagnostic.rb b/Library/Homebrew/diagnostic.rb index 1b0b1608a7..8ff7381748 100644 --- a/Library/Homebrew/diagnostic.rb +++ b/Library/Homebrew/diagnostic.rb @@ -63,7 +63,7 @@ module Homebrew end end - sig { params(list: T::Array[String], string: String).returns(String) } + sig { params(list: T::Array[T.any(Formula, Pathname, String)], string: String).returns(String) } def inject_file_list(list, string) list.reduce(string.dup) { |acc, elem| acc << " #{elem}\n" } .freeze diff --git a/Library/Homebrew/extend/os/linux/cmd/update-report.rb b/Library/Homebrew/extend/os/linux/cmd/update-report.rb index 25947f07c4..e70a6c03f8 100644 --- a/Library/Homebrew/extend/os/linux/cmd/update-report.rb +++ b/Library/Homebrew/extend/os/linux/cmd/update-report.rb @@ -24,7 +24,7 @@ module Homebrew end next unless recursive_runtime_dependencies.map(&:name).include? "gcc" - keg = formula.installed_kegs.last + keg = formula.installed_kegs.fetch(-1) tab = keg.tab # Force reinstallation upon `brew upgrade` to fix the bottle RPATH. tab.source["versions"]["version_scheme"] = -1 diff --git a/Library/Homebrew/extend/os/linux/dependency_collector.rb b/Library/Homebrew/extend/os/linux/dependency_collector.rb index 8fe62f954c..1da5bf3313 100644 --- a/Library/Homebrew/extend/os/linux/dependency_collector.rb +++ b/Library/Homebrew/extend/os/linux/dependency_collector.rb @@ -48,9 +48,9 @@ module OS built_global_dep_tree! end - sig { params(name: String).returns(T.nilable(Formula)) } + sig { params(name: String).returns(T.nilable(::Formula)) } def formula_for(name) - @formula_for ||= T.let({}, T.nilable(T::Hash[String, Formula])) + @formula_for ||= T.let({}, T.nilable(T::Hash[String, ::Formula])) @formula_for[name] ||= ::Formula[name] rescue FormulaUnavailableError nil diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb index b316caa4b1..ce3aebd066 100644 --- a/Library/Homebrew/formula.rb +++ b/Library/Homebrew/formula.rb @@ -1,4 +1,4 @@ -# typed: true # rubocop:todo Sorbet/StrictSigil +# typed: strict # frozen_string_literal: true require "attrable" @@ -233,44 +233,44 @@ class Formula # Now that we have an instance, it's too late to make any changes to the class-level definition. self.class.freeze - @name = name - @unresolved_path = path - @path = path.resolved_path - @alias_path = alias_path - @alias_name = (File.basename(alias_path) if alias_path) - @revision = self.class.revision || 0 - @version_scheme = self.class.version_scheme || 0 + @name = T.let(name, String) + @unresolved_path = T.let(path, Pathname) + @path = T.let(path.resolved_path, Pathname) + @alias_path = T.let(alias_path, T.nilable(Pathname)) + @alias_name = T.let((File.basename(alias_path) if alias_path), T.nilable(String)) + @revision = T.let(self.class.revision || 0, Integer) + @version_scheme = T.let(self.class.version_scheme || 0, Integer) + @head = T.let(nil, T.nilable(SoftwareSpec)) + @stable = T.let(nil, T.nilable(SoftwareSpec)) - @force_bottle = force_bottle + @force_bottle = T.let(force_bottle, T::Boolean) - @tap = tap + @tap = T.let(tap, T.nilable(Tap)) @tap ||= if path == Formulary.core_path(name) CoreTap.instance else Tap.from_path(path) end - @full_name = full_name_with_optional_tap(name) - @full_alias_name = full_name_with_optional_tap(@alias_name) + @full_name = T.let(T.must(full_name_with_optional_tap(name)), String) + @full_alias_name = T.let(full_name_with_optional_tap(@alias_name), T.nilable(String)) self.class.spec_syms.each do |sym| spec_eval sym end - @active_spec = determine_active_spec(spec) - @active_spec_sym = if head? - :head - else - :stable - end + @active_spec = T.let(determine_active_spec(spec), SoftwareSpec) + @active_spec_sym = T.let(head? ? :head : :stable, Symbol) validate_attributes! - @build = active_spec.build - @pin = FormulaPin.new(self) - @follow_installed_alias = true - @prefix_returns_versioned_prefix = false - @oldname_locks = [] + @build = T.let(active_spec.build, T.any(BuildOptions, Tab)) + @pin = T.let(FormulaPin.new(self), FormulaPin) + @follow_installed_alias = T.let(true, T::Boolean) + @prefix_returns_versioned_prefix = T.let(false, T.nilable(T::Boolean)) + @oldname_locks = T.let([], T::Array[FormulaLock]) + @on_system_blocks_exist = T.let(false, T::Boolean) end + sig { params(spec_sym: Symbol).void } def active_spec=(spec_sym) spec = send(spec_sym) raise FormulaSpecificationError, "#{spec_sym} spec is not available for #{full_name}" unless spec @@ -287,6 +287,7 @@ class Formula Requirement.clear_cache end + sig { params(build_options: T.any(BuildOptions, Tab)).void } def build=(build_options) old_options = @build @build = build_options @@ -301,6 +302,7 @@ class Formula private # Allow full name logic to be re-used between names, aliases and installed aliases. + sig { params(name: T.nilable(String)).returns(T.nilable(String)) } def full_name_with_optional_tap(name) if name.nil? || @tap.nil? || @tap.core_tap? name @@ -309,6 +311,7 @@ class Formula end end + sig { params(name: T.any(String, Symbol)).void } def spec_eval(name) spec = self.class.send(name).dup return unless spec.url @@ -321,11 +324,13 @@ class Formula sig { params(spec: SoftwareSpec).void } def add_global_deps_to_spec(spec); end + sig { params(requested: T.any(String, Symbol)).returns(SoftwareSpec) } def determine_active_spec(requested) spec = send(requested) || stable || head spec || raise(FormulaSpecificationError, "#{full_name}: formula requires at least a URL") end + sig { void } def validate_attributes! if name.blank? || name.match?(/\s/) || !Utils.safe_filename?(name) raise FormulaValidationError.new(full_name, :name, name) @@ -363,11 +368,13 @@ class Formula installed_alias_path&.basename&.to_s end + sig { returns(T.nilable(String)) } def full_installed_alias_name full_name_with_optional_tap(installed_alias_name) end # The path that was specified to find this formula. + sig { returns(T.nilable(Pathname)) } def specified_path return Homebrew::API::Formula.cached_json_file_path if loaded_from_api? return alias_path if alias_path&.exist? @@ -380,21 +387,25 @@ class Formula end # The name specified to find this formula. + sig { returns(String) } def specified_name alias_name || name end # The name (including tap) specified to find this formula. + sig { returns(String) } def full_specified_name full_alias_name || full_name end # The name specified to install this formula. + sig { returns(String) } def installed_specified_name installed_alias_name || name end # The name (including tap) specified to install this formula. + sig { returns(String) } def full_installed_specified_name full_installed_alias_name || full_name end @@ -429,7 +440,7 @@ class Formula # The Bottle object for the currently active {SoftwareSpec}. sig { returns(T.nilable(Bottle)) } def bottle - @bottle ||= Bottle.new(self, bottle_specification) if bottled? + @bottle ||= T.let(Bottle.new(self, bottle_specification), T.nilable(Bottle)) if bottled? end # The Bottle object for given tag. @@ -592,12 +603,13 @@ class Formula # @api internal sig { returns(T::Array[String]) } def oldnames - @oldnames ||= if (tap = self.tap) - Tap.tap_migration_oldnames(tap, name) + - tap.formula_reverse_renames.fetch(name, []) - else - [] - end + @oldnames ||= T.let( + if (tap = self.tap) + Tap.tap_migration_oldnames(tap, name) + tap.formula_reverse_renames.fetch(name, []) + else + [] + end, T.nilable(T::Array[String]) + ) end # All aliases for the formula. @@ -605,11 +617,13 @@ class Formula # @api internal sig { returns(T::Array[String]) } def aliases - @aliases ||= if (tap = self.tap) - tap.alias_reverse_table.fetch(full_name, []).map { _1.split("/").last } - else - [] - end + @aliases ||= T.let( + if (tap = self.tap) + tap.alias_reverse_table.fetch(full_name, []).map { _1.split("/").fetch(-1) } + else + [] + end, T.nilable(T::Array[String]) + ) end # The {Resource}s for the currently active {SoftwareSpec}. @@ -672,6 +686,7 @@ class Formula # You probably want {#opt_prefix} instead. # # @api internal + sig { returns(Pathname) } def linked_keg linked_keg = possible_names.map { |name| HOMEBREW_LINKED_KEGS/name } .find(&:directory?) @@ -680,6 +695,7 @@ class Formula HOMEBREW_LINKED_KEGS/name end + sig { returns(T.nilable(PkgVersion)) } def latest_head_version head_versions = installed_prefixes.filter_map do |pn| pn_pkgversion = PkgVersion.parse(pn.basename.to_s) @@ -691,11 +707,13 @@ class Formula end end + sig { returns(T.nilable(Pathname)) } def latest_head_prefix head_version = latest_head_version prefix(head_version) if head_version end + sig { params(version: PkgVersion, fetch_head: T::Boolean).returns(T::Boolean) } def head_version_outdated?(version, fetch_head: false) tab = Tab.for_keg(prefix(version)) @@ -712,9 +730,10 @@ class Formula end # The latest prefix for this formula. Checks for {#head} and then {#stable}'s {#prefix} + sig { returns(Pathname) } def latest_installed_prefix if head && (head_version = latest_head_version) && !head_version_outdated?(head_version) - latest_head_prefix + T.must(latest_head_prefix) elsif stable && (stable_prefix = prefix(PkgVersion.new(T.must(stable).version, revision))).directory? stable_prefix else @@ -753,6 +772,7 @@ class Formula end # If a formula's linked keg points to the prefix. + sig { params(version: T.any(String, PkgVersion)).returns(T::Boolean) } def prefix_linked?(version = pkg_version) return false unless linked? @@ -775,6 +795,7 @@ class Formula end # All currently installed prefix directories. + sig { returns(T::Array[Pathname]) } def installed_prefixes possible_names.map { |name| HOMEBREW_CELLAR/name } .select(&:directory?) @@ -1213,9 +1234,10 @@ class Formula end # Runs a block with the given log type in effect for its duration. - def with_logging(log_type) + sig { params(log_type: String, _block: T.proc.void).void } + def with_logging(log_type, &_block) old_log_type = @active_log_type - @active_log_type = log_type + @active_log_type = T.let(log_type, T.nilable(String)) yield ensure @active_log_type = old_log_type @@ -1253,6 +1275,7 @@ class Formula # ``` # # @see https://www.unix.com/man-page/all/5/plist/ plist(5) man page + sig { returns(NilClass) } def plist odisabled "`Formula#plist`", "`Homebrew::Service`" nil @@ -1289,8 +1312,9 @@ class Formula end # The service specification of the software. + sig { returns(Homebrew::Service) } def service - @service ||= Homebrew::Service.new(self, &self.class.service) + @service ||= T.let(Homebrew::Service.new(self, &self.class.service), T.nilable(Homebrew::Service)) end # A stable path for this formula, when installed. Contains the formula name @@ -1418,7 +1442,7 @@ class Formula sig { void } def run_post_install - @prefix_returns_versioned_prefix = true + @prefix_returns_versioned_prefix = T.let(true, T.nilable(T::Boolean)) build = self.build begin @@ -1443,7 +1467,7 @@ class Formula end ensure self.build = build - @prefix_returns_versioned_prefix = false + @prefix_returns_versioned_prefix = T.let(false, T.nilable(T::Boolean)) end end @@ -1494,13 +1518,14 @@ class Formula # @see .skip_clean sig { params(path: Pathname).returns(T::Boolean) } def skip_clean?(path) - return true if path.extname == ".la" && self.class.skip_clean_paths.include?(:la) + return true if path.extname == ".la" && T.must(self.class.skip_clean_paths).include?(:la) to_check = path.relative_path_from(prefix).to_s - self.class.skip_clean_paths.include? to_check + T.must(self.class.skip_clean_paths).include? to_check end # @see .link_overwrite + sig { params(path: Pathname).returns(T::Boolean) } def link_overwrite?(path) # Don't overwrite files not created by Homebrew. return false if path.stat.uid != HOMEBREW_ORIGINAL_BREW_FILE.stat.uid @@ -1528,10 +1553,10 @@ class Formula end end to_check = path.relative_path_from(HOMEBREW_PREFIX).to_s - self.class.link_overwrite_paths.any? do |p| - p == to_check || - to_check.start_with?("#{p.chomp("/")}/") || - /^#{Regexp.escape(p).gsub('\*', ".*?")}$/.match?(to_check) + T.must(self.class.link_overwrite_paths).any? do |p| + p.to_s == to_check || + to_check.start_with?("#{p.to_s.chomp("/")}/") || + /^#{Regexp.escape(p.to_s).gsub('\*', ".*?")}$/.match?(to_check) end end @@ -1601,6 +1626,7 @@ class Formula false end + sig { void } def patch return if patchlist.empty? @@ -1629,7 +1655,7 @@ class Formula _blk: T.proc.params(arg0: Formula, arg1: Mktemp).void).void } def brew(fetch: true, keep_tmp: false, debug_symbols: false, interactive: false, &_blk) - @prefix_returns_versioned_prefix = true + @prefix_returns_versioned_prefix = T.let(true, T.nilable(T::Boolean)) active_spec.fetch if fetch stage(interactive:, debug_symbols:) do |staging| staging.retain! if keep_tmp || debug_symbols @@ -1658,12 +1684,13 @@ class Formula end end ensure - @prefix_returns_versioned_prefix = false + @prefix_returns_versioned_prefix = T.let(false, T.nilable(T::Boolean)) end + sig { returns(T::Array[String]) } def lock - @lock = FormulaLock.new(name) - @lock.lock + @lock = T.let(FormulaLock.new(name), T.nilable(FormulaLock)) + T.must(@lock).lock oldnames.each do |oldname| next unless (oldname_rack = HOMEBREW_CELLAR/oldname).exist? @@ -1675,6 +1702,7 @@ class Formula end end + sig { returns(T::Array[FormulaLock]) } def unlock @lock&.unlock @oldname_locks.each(&:unlock) @@ -1696,6 +1724,7 @@ class Formula !oldnames_to_migrate.empty? && !rack.exist? end + sig { params(fetch_head: T::Boolean).returns(T::Array[Keg]) } def outdated_kegs(fetch_head: false) raise Migrator::MigrationNeededError.new(oldnames_to_migrate.first, name) if migration_needed? @@ -1736,6 +1765,7 @@ class Formula installed_alias_target_changed? && !latest_formula.latest_version_installed? end + sig { returns(T.nilable(Formula)) } def current_installed_alias_target Formulary.factory(T.must(installed_alias_name)) if installed_alias_path end @@ -1765,10 +1795,12 @@ class Formula # If the alias has changed value, return the new formula. # Otherwise, return self. + sig { returns(Formula) } def latest_formula - installed_alias_target_changed? ? current_installed_alias_target : self + installed_alias_target_changed? ? T.must(current_installed_alias_target) : self end + sig { returns(T::Array[Formula]) } def old_installed_formulae # If this formula isn't the current target of the alias, # it doesn't make sense to say that other formulae are older versions of it @@ -1800,6 +1832,7 @@ class Formula delegate unpin: :@pin + sig { params(other: T.untyped).returns(T::Boolean) } def ==(other) self.class == other.class && name == other.name && @@ -1807,16 +1840,19 @@ class Formula end alias eql? == + sig { returns(Integer) } def hash name.hash end + sig { params(other: BasicObject).returns(T.nilable(Integer)) } def <=>(other) - return unless other.is_a?(Formula) - - name <=> other.name + case other + when Formula then name <=> other.name + end end + sig { returns(T::Array[String]) } def possible_names [name, *oldnames, *aliases].compact end @@ -1923,7 +1959,7 @@ class Formula # Standard parameters for npm builds. # # @api public - sig { params(prefix: T.any(String, Pathname, FalseClass)).returns(T::Array[String]) } + sig { params(prefix: T.any(NilClass, String, Pathname)).returns(T::Array[String]) } def std_npm_args(prefix: libexec) require "language/node" @@ -1936,7 +1972,7 @@ class Formula # # @api public sig { - params(prefix: T.any(String, Pathname, FalseClass), + params(prefix: T.any(FalseClass, String, Pathname), build_isolation: T::Boolean).returns(T::Array[String]) } def std_pip_args(prefix: self.prefix, build_isolation: false) @@ -2232,32 +2268,40 @@ class Formula end # an array of all core {Formula} names + sig { returns(T::Array[String]) } def self.core_names CoreTap.instance.formula_names end # an array of all tap {Formula} names + sig { returns(T::Array[String]) } def self.tap_names - @tap_names ||= Tap.reject(&:core_tap?).flat_map(&:formula_names).sort + @tap_names ||= T.let(Tap.reject(&:core_tap?).flat_map(&:formula_names).sort, T.nilable(T::Array[String])) end # an array of all tap {Formula} files + sig { returns(T::Array[Pathname]) } def self.tap_files - @tap_files ||= Tap.reject(&:core_tap?).flat_map(&:formula_files) + @tap_files ||= T.let(Tap.reject(&:core_tap?).flat_map(&:formula_files), T.nilable(T::Array[Pathname])) end # an array of all {Formula} names + sig { returns(T::Array[String]) } def self.names - @names ||= (core_names + tap_names.map { |name| name.split("/").last }).uniq.sort + @names ||= T.let((core_names + tap_names.map do |name| + name.split("/").fetch(-1) + end).uniq.sort, T.nilable(T::Array[String])) end # an array of all {Formula} names, which the tap formulae have the fully-qualified name + sig { returns(T::Array[String]) } def self.full_names - @full_names ||= core_names + tap_names + @full_names ||= T.let(core_names + tap_names, T.nilable(T::Array[String])) end # an array of all {Formula} # this should only be used when users specify `--all` to a command + sig { params(eval_all: T::Boolean).returns(T::Array[Formula]) } def self.all(eval_all: false) if !eval_all && !Homebrew::EnvConfig.eval_all? raise ArgumentError, "Formula#all without `--eval-all` or HOMEBREW_EVAL_ALL" @@ -2275,6 +2319,7 @@ class Formula end # An array of all racks currently installed. + sig { returns(T::Array[Pathname]) } def self.racks Formula.cache[:racks] ||= if HOMEBREW_CELLAR.directory? HOMEBREW_CELLAR.subdirs.reject do |rack| @@ -2292,6 +2337,7 @@ class Formula end # An array of all installed {Formula} + sig { returns(T::Array[Formula]) } def self.installed Formula.cache[:installed] ||= racks.flat_map do |rack| Formulary.from_rack(rack) @@ -2300,6 +2346,7 @@ class Formula end.uniq(&:name) end + sig { params(alias_path: T.nilable(Pathname)).returns(T::Array[Formula]) } def self.installed_with_alias_path(alias_path) return [] if alias_path.nil? @@ -2307,36 +2354,46 @@ class Formula end # an array of all alias files of core {Formula} + sig { returns(T::Array[Pathname]) } def self.core_alias_files CoreTap.instance.alias_files end # an array of all core aliases + sig { returns(T::Array[String]) } def self.core_aliases CoreTap.instance.aliases end # an array of all tap aliases + sig { returns(T::Array[String]) } def self.tap_aliases - @tap_aliases ||= Tap.reject(&:core_tap?).flat_map(&:aliases).sort + @tap_aliases ||= T.let(Tap.reject(&:core_tap?).flat_map(&:aliases).sort, T.nilable(T::Array[String])) end # an array of all aliases + sig { returns(T::Array[String]) } def self.aliases - @aliases ||= (core_aliases + tap_aliases.map { |name| name.split("/").last }).uniq.sort + @aliases ||= T.let((core_aliases + tap_aliases.map do |name| + name.split("/").fetch(-1) + end).uniq.sort, T.nilable(T::Array[String])) end # an array of all aliases as fully-qualified names + sig { returns(T::Array[String]) } def self.alias_full_names - @alias_full_names ||= core_aliases + tap_aliases + @alias_full_names ||= T.let(core_aliases + tap_aliases, T.nilable(T::Array[String])) end # Returns a list of approximately matching formula names, but not the complete match + sig { params(name: String).returns(T::Array[String]) } def self.fuzzy_search(name) - @spell_checker ||= DidYouMean::SpellChecker.new(dictionary: Set.new(names + full_names).to_a) - @spell_checker.correct(name) + @spell_checker ||= T.let(DidYouMean::SpellChecker.new(dictionary: Set.new(names + full_names).to_a), + T.nilable(DidYouMean::SpellChecker)) + T.cast(@spell_checker.correct(name), T::Array[String]) end + sig { params(name: T.any(Pathname, String)).returns(Formula) } def self.[](name) Formulary.factory(name) end @@ -2362,6 +2419,7 @@ class Formula requirements.none?(MacOSRequirement) && requirements.none?(LinuxRequirement) end + sig { params(options: T::Hash[Symbol, String]).void } def print_tap_action(options = {}) return unless tap? @@ -2369,6 +2427,7 @@ class Formula ohai "#{verb} #{name} from #{tap}" end + sig { returns(T.nilable(String)) } def tap_git_head tap&.git_head rescue TapUnavailableError @@ -2380,12 +2439,13 @@ class Formula # !attr[r] conflicts # @api internal sig { returns(T::Array[FormulaConflict]) } - def conflicts = self.class.conflicts + def conflicts = T.must(self.class.conflicts) # Returns a list of Dependency objects in an installable order, which # means if a depends on b then b will be ordered before a in this list # # @api internal + sig { params(block: T.nilable(T.proc.params(arg0: Formula, arg1: Dependency).void)).returns(T::Array[Dependency]) } def recursive_dependencies(&block) cache_key = "Formula#recursive_dependencies" unless block Dependency.expand(self, cache_key:, &block) @@ -2394,6 +2454,7 @@ class Formula # The full set of Requirements for this formula's dependency tree. # # @api internal + sig { params(block: T.nilable(T.proc.params(arg0: Formula, arg1: Requirement).void)).returns(Requirements) } def recursive_requirements(&block) cache_key = "Formula#recursive_requirements" unless block Requirement.expand(self, cache_key:, &block) @@ -2431,6 +2492,7 @@ class Formula # Returns a list of Dependency objects that are required at runtime. # # @api internal + sig { params(read_from_tab: T::Boolean, undeclared: T::Boolean).returns(T::Array[Dependency]) } def runtime_dependencies(read_from_tab: true, undeclared: true) deps = if read_from_tab && undeclared && (tab_deps = any_installed_keg&.runtime_dependencies) @@ -2452,6 +2514,7 @@ class Formula end # Returns a list of {Formula} objects that are required at runtime. + sig { params(read_from_tab: T::Boolean, undeclared: T::Boolean).returns(T::Array[Formula]) } def runtime_formula_dependencies(read_from_tab: true, undeclared: true) cache_key = "#{full_name}-#{read_from_tab}-#{undeclared}" @@ -2466,6 +2529,7 @@ class Formula end end + sig { returns(T::Array[Formula]) } def runtime_installed_formula_dependents # `any_installed_keg` and `runtime_dependencies` `select`s ensure # that we don't end up with something `Formula#runtime_dependencies` can't @@ -2485,8 +2549,8 @@ class Formula # Returns a list of formulae depended on by this formula that aren't # installed. - def missing_dependencies(hide: nil) - hide ||= [] + sig { params(hide: T::Array[String]).returns(T::Array[Formula]) } + def missing_dependencies(hide: []) runtime_formula_dependencies.select do |f| hide.include?(f.name) || f.installed_prefixes.empty? end @@ -2506,6 +2570,7 @@ class Formula Checksum.new(Digest::SHA256.file(path).hexdigest) if path.exist? end + sig { params(dependables: T::Hash[Symbol, T.untyped]).returns(T::Array[T::Hash[Symbol, T.untyped]]) } def merge_spec_dependables(dependables) # We have a hash of specs names (stable/head) to dependency lists. # Merge all of the dependency lists together, removing any duplicates. @@ -2521,6 +2586,7 @@ class Formula end private :merge_spec_dependables + sig { returns(T::Hash[String, T.untyped]) } def to_hash hsh = { "name" => name, @@ -2607,6 +2673,7 @@ class Formula hsh end + sig { returns(T::Hash[String, T.untyped]) } def to_hash_with_variations hash = to_hash @@ -2648,6 +2715,7 @@ class Formula end # Returns the bottle information for a formula. + sig { returns(T::Hash[String, T.untyped]) } def bottle_hash hash = {} stable_spec = stable @@ -2678,6 +2746,7 @@ class Formula hash end + sig { returns(T::Hash[String, T::Hash[String, T.untyped]]) } def urls_hash hash = {} @@ -2703,6 +2772,7 @@ class Formula hash end + sig { returns(T::Array[T::Hash[String, T.untyped]]) } def serialized_requirements requirements = self.class.spec_syms.to_h do |sym| [sym, send(sym)&.requirements] @@ -2728,11 +2798,13 @@ class Formula end end + sig { returns(T.nilable(String)) } def caveats_with_placeholders caveats&.gsub(HOMEBREW_PREFIX, HOMEBREW_PREFIX_PLACEHOLDER) &.gsub(HOMEBREW_CELLAR, HOMEBREW_CELLAR_PLACEHOLDER) end + sig { returns(T::Hash[String, T.untyped]) } def dependencies_hash # Create a hash of spec names (stable/head) to the list of dependencies under each dependencies = self.class.spec_syms.to_h do |sym| @@ -2797,6 +2869,7 @@ class Formula hash end + sig { params(spec_symbol: Symbol).returns(T.nilable(T::Hash[String, T.untyped])) } def internal_dependencies_hash(spec_symbol) raise ArgumentError, "Unsupported spec: #{spec_symbol}" unless [:stable, :head].include?(spec_symbol) return unless (spec = public_send(spec_symbol)) @@ -2815,6 +2888,7 @@ class Formula end end + sig { returns(T.nilable(T::Boolean)) } def on_system_blocks_exist? self.class.on_system_blocks_exist? || @on_system_blocks_exist end @@ -2831,13 +2905,15 @@ class Formula active_spec.fetch(verify_download_integrity:, timeout:, quiet:) end + sig { params(filename: T.any(Pathname, String)).void } def verify_download_integrity(filename) odeprecated "Formula#verify_download_integrity", "Resource#verify_download_integrity on Formula#resource" active_spec.verify_download_integrity(filename) end + sig { params(keep_tmp: T::Boolean).returns(T.untyped) } def run_test(keep_tmp: false) - @prefix_returns_versioned_prefix = true + @prefix_returns_versioned_prefix = T.let(true, T.nilable(T::Boolean)) test_env = { TMPDIR: HOMEBREW_TEMP, @@ -2854,9 +2930,9 @@ class Formula mktemp("#{name}-test") do |staging| staging.retain! if keep_tmp - @testpath = T.must(staging.tmpdir) + @testpath = T.let(staging.tmpdir, T.nilable(Pathname)) test_env[:HOME] = @testpath - setup_home @testpath + setup_home T.must(@testpath) begin with_logging("test") do with_env(test_env) do @@ -2870,8 +2946,8 @@ class Formula end end ensure - @prefix_returns_versioned_prefix = false - @testpath = nil + @prefix_returns_versioned_prefix = T.let(false, T.nilable(T::Boolean)) + @testpath = T.let(nil, T.nilable(Pathname)) end sig { returns(T::Boolean) } @@ -2879,8 +2955,10 @@ class Formula method(:test).owner != Formula end + sig { returns(T.nilable(T::Boolean)) } def test; end + sig { params(file: T.any(Pathname, String)).returns(Pathname) } def test_fixtures(file) HOMEBREW_LIBRARY_PATH/"test/support/fixtures"/file end @@ -2898,6 +2976,7 @@ class Formula # system "make", "install" # end # ``` + sig { void } def install; end # Sometimes we have to change a bit before we install. Mostly we @@ -2958,6 +3037,7 @@ class Formula end # Returns a list of Dependency objects that are declared in the formula. + sig { returns(T::Array[Dependency]) } def declared_runtime_dependencies cache_key = "Formula#declared_runtime_dependencies" unless build.any_args_or_options? Dependency.expand(self, cache_key:) do |_, dependency| @@ -2974,6 +3054,7 @@ class Formula # Returns a list of Dependency objects that are not declared in the formula # but the formula links to. + sig { returns(T::Array[Dependency]) } def undeclared_runtime_dependencies keg = any_installed_keg return [] unless keg @@ -3060,7 +3141,7 @@ class Formula end ohai "#{cmd} #{pretty_args * " "}".strip - @exec_count ||= 0 + @exec_count ||= T.let(0, T.nilable(Integer)) @exec_count += 1 logfn = format("#{logs}/#{active_log_prefix}%02d.%s", exec_count: @exec_count, @@ -3108,7 +3189,7 @@ class Formula end end - Process.wait(T.must(pid)) + Process.wait(pid) $stdout.flush @@ -3199,6 +3280,7 @@ class Formula # A version of `FileUtils.mkdir` that also changes to that folder in # a block. + sig { params(name: T.any(String, Pathname), block: T.nilable(T.proc.void)).returns(T.untyped) } def mkdir(name, &block) result = FileUtils.mkdir_p(name) return result unless block @@ -3218,6 +3300,7 @@ class Formula end end + sig { void } def fetch_patches patchlist.select(&:external?).each(&:fetch) end @@ -3229,7 +3312,7 @@ class Formula T.must(bottle).fetch_tab end - sig { returns(Hash) } + sig { returns(T::Hash[String, T.untyped]) } def bottle_tab_attributes return {} unless bottled? @@ -3238,15 +3321,25 @@ class Formula private + sig { void } def prepare_patches patchlist.grep(DATAPatch) { |p| p.path = path } end # Returns the prefix for a given formula version number. + sig { params(version: T.any(String, Pathname, PkgVersion)).returns(Pathname) } def versioned_prefix(version) - rack/version + rack/version.to_s end + sig { + params( + cmd: T.any(String, Pathname), + args: T::Array[T.any(String, Integer, Pathname, Symbol)], + out: IO, + logfn: T.nilable(String), + ).void + } def exec_cmd(cmd, args, out, logfn) ENV["HOMEBREW_CC_LOG_PATH"] = logfn @@ -3275,6 +3368,7 @@ class Formula end # Common environment variables used at both build and test time. + sig { returns(T::Hash[Symbol, String]) } def common_stage_test_env { _JAVA_OPTIONS: "-Duser.home=#{HOMEBREW_CACHE}/java_cache", @@ -3287,10 +3381,11 @@ class Formula } end - def stage(interactive: false, debug_symbols: false) + sig { params(interactive: T::Boolean, debug_symbols: T::Boolean, _block: T.proc.params(arg0: Mktemp).void).void } + def stage(interactive: false, debug_symbols: false, &_block) active_spec.stage(debug_symbols:) do |staging| - @source_modified_time = active_spec.source_modified_time - @buildpath = Pathname.pwd + @source_modified_time = T.let(active_spec.source_modified_time, T.nilable(Time)) + @buildpath = T.let(Pathname.pwd, T.nilable(Pathname)) env_home = T.must(buildpath)/".brew_home" mkdir_p env_home @@ -3314,7 +3409,7 @@ class Formula yield staging end ensure - @buildpath = nil + @buildpath = T.let(nil, T.nilable(Pathname)) end end end @@ -3328,23 +3423,25 @@ class Formula # Initialise instance variables for each subclass. These need to be initialised before the class is frozen, # and some DSL may never be called so it can't be done lazily. + sig { params(child: T::Class[Formula]).void } def inherited(child) super child.instance_eval do # Ensure this is synced with `freeze` - @stable = SoftwareSpec.new(flags: build_flags) - @head = HeadSoftwareSpec.new(flags: build_flags) - @livecheck = Livecheck.new(self) - @conflicts = [] - @skip_clean_paths = Set.new - @link_overwrite_paths = Set.new - @loaded_from_api = false - @network_access_allowed = SUPPORTED_NETWORK_ACCESS_PHASES.to_h do |phase| + @stable = T.let(SoftwareSpec.new(flags: build_flags), T.nilable(SoftwareSpec)) + @head = T.let(HeadSoftwareSpec.new(flags: build_flags), T.nilable(HeadSoftwareSpec)) + @livecheck = T.let(Livecheck.new(self), T.nilable(Livecheck)) + @conflicts = T.let([], T.nilable(T::Array[FormulaConflict])) + @skip_clean_paths = T.let(Set.new, T.nilable(T::Set[T.any(String, Symbol)])) + @link_overwrite_paths = T.let(Set.new, T.nilable(T::Set[String])) + @loaded_from_api = T.let(false, T.nilable(T::Boolean)) + @network_access_allowed = T.let(SUPPORTED_NETWORK_ACCESS_PHASES.to_h do |phase| [phase, DEFAULT_NETWORK_ACCESS_ALLOWED] - end + end, T.nilable(T::Hash[Symbol, T::Boolean])) end end + sig { returns(T.self_type) } def freeze specs.each(&:freeze) @livecheck.freeze @@ -3354,6 +3451,9 @@ class Formula super end + sig { returns(T::Hash[Symbol, T::Boolean]) } + def network_access_allowed = T.must(@network_access_allowed) + # Whether this formula was loaded using the formulae.brew.sh API attr_predicate :loaded_from_api? @@ -3362,6 +3462,7 @@ class Formula attr_predicate :on_system_blocks_exist? # The reason for why this software is not linked (by default) to {::HOMEBREW_PREFIX}. + sig { returns(T.nilable(KegOnlyReason)) } attr_reader :keg_only_reason # A one-line description of the software. Used by users to get an overview @@ -3430,11 +3531,15 @@ class Formula # @see https://docs.brew.sh/License-Guidelines Homebrew License Guidelines # @see https://spdx.github.io/spdx-spec/latest/annexes/spdx-license-expressions/ SPDX license expression guide # @api public + sig { + params(args: T.any(NilClass, String, Symbol, T::Hash[T.any(String, Symbol), T.anything])) + .returns(T.any(NilClass, String, Symbol, T::Hash[T.any(String, Symbol), T.anything])) + } def license(args = nil) if args.nil? @licenses else - @licenses = args + @licenses = T.let(args, T.any(NilClass, String, Symbol, T::Hash[T.any(String, Symbol), T.anything])) end end @@ -3462,12 +3567,12 @@ class Formula def allow_network_access!(phases = []) phases_array = Array(phases) if phases_array.empty? - @network_access_allowed.each_key { |phase| @network_access_allowed[phase] = true } + network_access_allowed.each_key { |phase| network_access_allowed[phase] = true } else phases_array.each do |phase| raise ArgumentError, "Unknown phase: #{phase}" unless SUPPORTED_NETWORK_ACCESS_PHASES.include?(phase) - @network_access_allowed[phase] = true + network_access_allowed[phase] = true end end end @@ -3496,12 +3601,12 @@ class Formula def deny_network_access!(phases = []) phases_array = Array(phases) if phases_array.empty? - @network_access_allowed.each_key { |phase| @network_access_allowed[phase] = false } + network_access_allowed.each_key { |phase| network_access_allowed[phase] = false } else phases_array.each do |phase| raise ArgumentError, "Unknown phase: #{phase}" unless SUPPORTED_NETWORK_ACCESS_PHASES.include?(phase) - @network_access_allowed[phase] = false + network_access_allowed[phase] = false end end end @@ -3512,7 +3617,7 @@ class Formula raise ArgumentError, "Unknown phase: #{phase}" unless SUPPORTED_NETWORK_ACCESS_PHASES.include?(phase) env_var = Homebrew::EnvConfig.send(:"formula_#{phase}_network") - env_var.nil? ? @network_access_allowed[phase] : env_var == "allow" + env_var.nil? ? network_access_allowed[phase] : env_var == "allow" end # The homepage for the software. Used by users to get more information @@ -3561,13 +3666,21 @@ class Formula @service_block.present? end - sig { returns(T::Array[FormulaConflict]) } + sig { returns(T.nilable(T::Array[FormulaConflict])) } attr_reader :conflicts - attr_reader :skip_clean_paths, :link_overwrite_paths, :pour_bottle_only_if + sig { returns(T.nilable(T::Set[T.any(String, Symbol)])) } + attr_reader :skip_clean_paths + + sig { returns(T.nilable(T::Set[String])) } + attr_reader :link_overwrite_paths + + sig { returns(T.nilable(Symbol)) } + attr_reader :pour_bottle_only_if # If `pour_bottle?` returns `false` the user-visible reason to display for # why they cannot use the bottle. + sig { returns(T.nilable(String)) } attr_accessor :pour_bottle_check_unsatisfied_reason # Used for creating new Homebrew versions of software without new upstream @@ -3608,11 +3721,13 @@ class Formula val.nil? ? @version_scheme : @version_scheme = T.let(val, T.nilable(Integer)) end + sig { returns(T::Array[Symbol]) } def spec_syms [:stable, :head].freeze end # A list of the {.stable} and {.head} {SoftwareSpec}s. + sig { returns(T::Array[SoftwareSpec]) } def specs spec_syms.map do |sym| send(sym) @@ -3643,6 +3758,7 @@ class Formula # # @!attribute [w] url # @api public + sig { params(val: String, specs: T::Hash[Symbol, T.any(String, Symbol)]).void } def url(val, specs = {}) stable.url(val, specs) end @@ -3659,6 +3775,7 @@ class Formula # ``` # # @api public + sig { params(val: T.nilable(String)).void } def version(val = nil) stable.version(val) end @@ -3678,6 +3795,7 @@ class Formula # ``` # # @api public + sig { params(val: String).void } def mirror(val) stable.mirror(val) end @@ -3696,6 +3814,7 @@ class Formula # ``` # # @api public + sig { params(val: String).void } def sha256(val) stable.sha256(val) end @@ -3729,11 +3848,13 @@ class Formula stable.bottle(&block) end + sig { returns(String) } def build stable.build end # Get the `BUILD_FLAGS` from the formula's namespace set in `Formulary::load_formula`. + sig { returns(T::Array[String]) } def build_flags namespace = T.must(to_s.split("::")[0..-2]).join("::") return [] if namespace.empty? @@ -3760,10 +3881,11 @@ class Formula # ``` # # @api public + sig { params(block: T.nilable(T.proc.returns(SoftwareSpec))).returns(T.untyped) } def stable(&block) - return @stable unless block + return T.must(@stable) unless block - @stable.instance_eval(&block) + T.must(@stable).instance_eval(&block) end # @!attribute [w] head @@ -3790,11 +3912,15 @@ class Formula # ```ruby # head "https://hg.is.awesome.but.git.has.won.example.com/", using: :hg # ``` + sig { + params(val: T.nilable(String), specs: T::Hash[Symbol, T.untyped], block: T.nilable(T.proc.void)) + .returns(T.untyped) + } def head(val = nil, specs = {}, &block) if block - @head.instance_eval(&block) + T.must(@head).instance_eval(&block) elsif val - @head.url(val, specs) + T.must(@head).url(val, specs) else @head end @@ -3824,6 +3950,7 @@ class Formula # Specify a Go resource. # # @api public + sig { params(name: String, block: T.nilable(T.proc.void)).void } def go_resource(name, &block) odisabled "`Formula.go_resource`", "Go modules" specs.each { |spec| spec.go_resource(name, &block) } @@ -3892,6 +4019,7 @@ class Formula # ``` # # @api public + sig { params(dep: T.any(String, Symbol, T::Hash[String, T.untyped])).void } def depends_on(dep) specs.each { |spec| spec.depends_on(dep) } end @@ -3939,6 +4067,7 @@ class Formula # ``` # # @api public + sig { params(name: String, description: String).void } def option(name, description = "") specs.each { |spec| spec.option(name, description) } end @@ -3955,6 +4084,7 @@ class Formula # ``` # # @api public + sig { params(hash: T::Hash[String, String]).void } def deprecated_option(hash) specs.each { |spec| spec.deprecated_option(hash) } end @@ -4009,6 +4139,9 @@ class Formula # # @see https://docs.brew.sh/Formula-Cookbook#patches Patches # @api public + sig { + params(strip: T.any(String, Symbol), src: T.any(NilClass, String, Symbol), block: T.nilable(T.proc.void)).void + } def patch(strip = :p1, src = nil, &block) specs.each { |spec| spec.patch(strip, src, &block) } end @@ -4022,9 +4155,10 @@ class Formula # ``` # # @api public + sig { params(names: T.untyped).void } def conflicts_with(*names) - opts = names.last.is_a?(Hash) ? names.pop : {} - names.each { |name| conflicts << FormulaConflict.new(name, opts[:because]) } + opts = T.let(names.last.is_a?(Hash) ? names.pop : {}, T::Hash[Symbol, T.untyped]) + names.each { |name| T.must(conflicts) << FormulaConflict.new(name, opts[:because]) } end # Skip cleaning paths in a formula. @@ -4046,10 +4180,11 @@ class Formula # ``` # # @api public + sig { params(paths: T.any(String, Symbol)).returns(T::Set[T.any(String, Symbol)]) } def skip_clean(*paths) paths.flatten! # Specifying :all is deprecated and will become an error - skip_clean_paths.merge(paths) + T.must(skip_clean_paths).merge(paths) end # Software that will not be symlinked into the `brew --prefix` and will @@ -4076,13 +4211,15 @@ class Formula # ``` # # @api public + sig { params(reason: T.any(String, Symbol), explanation: String).void } def keg_only(reason, explanation = "") - @keg_only_reason = KegOnlyReason.new(reason, explanation) + @keg_only_reason = T.let(KegOnlyReason.new(reason, explanation), T.nilable(KegOnlyReason)) end # Pass `:skip` to this method to disable post-install stdlib checking. # # @api public + sig { params(check_type: Symbol).void } def cxxstdlib_check(check_type) define_method(:skip_cxxstdlib_check?) { true } if check_type == :skip end @@ -4118,6 +4255,7 @@ class Formula # ``` # # @api public + sig { params(compiler: T.any(Symbol, T::Hash[Symbol, String]), block: T.proc.void).void } def fails_with(compiler, &block) specs.each { |spec| spec.fails_with(compiler, &block) } end @@ -4133,6 +4271,7 @@ class Formula # @see .fails_with # # @api public + sig { params(standards: String).void } def needs(*standards) specs.each { |spec| spec.needs(*standards) } end @@ -4173,6 +4312,7 @@ class Formula # @see https://docs.brew.sh/Formula-Cookbook#add-a-test-to-the-formula Tests # @return [Boolean] # @api public + sig { params(block: T.proc.returns(T.untyped)).returns(T.untyped) } def test(&block) define_method(:test, &block) end @@ -4195,10 +4335,11 @@ class Formula # # @!attribute [w] livecheck # @api public + sig { params(block: T.nilable(T.proc.bind(Livecheck).returns(T.untyped))).returns(T.untyped) } def livecheck(&block) return @livecheck unless block - @livecheck_defined = true + @livecheck_defined = T.let(true, T.nilable(T::Boolean)) @livecheck.instance_eval(&block) end @@ -4217,10 +4358,14 @@ class Formula # # @!attribute [w] service # @api public + sig { + params(block: T.nilable(T.proc.returns(T.untyped))) + .returns(T.nilable(T.proc.returns(T.untyped))) + } def service(&block) return @service_block unless block - @service_block = block + @service_block = T.let(block, T.nilable(T.proc.returns(T.untyped))) end # Defines whether the {Formula}'s bottle can be used on the given Homebrew @@ -4248,9 +4393,15 @@ class Formula # ``` # # @api public + sig { + params( + only_if: T.nilable(Symbol), + block: T.nilable(T.proc.params(arg0: T.untyped).returns(T.any(T::Boolean, Symbol))), + ).returns(T.any(T::Boolean, Symbol)) + } def pour_bottle?(only_if: nil, &block) - @pour_bottle_check = PourBottleCheck.new(self) - @pour_bottle_only_if = only_if + @pour_bottle_check = T.let(PourBottleCheck.new(self), T.nilable(PourBottleCheck)) + @pour_bottle_only_if = T.let(only_if, T.nilable(Symbol)) if only_if.present? && block.present? raise ArgumentError, "Do not pass both a preset condition and a block to `pour_bottle?`" @@ -4283,7 +4434,7 @@ class Formula raise ArgumentError, "Invalid preset `pour_bottle?` condition" if only_if.present? end - @pour_bottle_check.instance_eval(&block) + @pour_bottle_check.instance_eval(&T.unsafe(block)) end # Deprecates a {Formula} (on the given date) so a warning is @@ -4307,13 +4458,14 @@ class Formula # @see https://docs.brew.sh/Deprecating-Disabling-and-Removing-Formulae # @see DeprecateDisable::FORMULA_DEPRECATE_DISABLE_REASONS # @api public + sig { params(date: String, because: T.any(NilClass, String, Symbol), replacement: T.nilable(String)).void } def deprecate!(date:, because:, replacement: nil) - @deprecation_date = Date.parse(date) - return if @deprecation_date > Date.today + @deprecation_date = T.let(Date.parse(date), T.nilable(Date)) + return if T.must(@deprecation_date) > Date.today - @deprecation_reason = because - @deprecation_replacement = replacement - @deprecated = true + @deprecation_reason = T.let(because, T.any(NilClass, String, Symbol)) + @deprecation_replacement = T.let(replacement, T.nilable(String)) + T.must(@deprecated = T.let(true, T.nilable(T::Boolean))) end # Whether this {Formula} is deprecated (i.e. warns on installation). @@ -4327,22 +4479,22 @@ class Formula # The date that this {Formula} was or becomes deprecated. # Returns `nil` if no date is specified. # - # @return Date # @see .deprecate! + sig { returns(T.nilable(Date)) } attr_reader :deprecation_date # The reason for deprecation of a {Formula}. # # @return [nil] if no reason was provided or the formula is not deprecated. - # @return [String, Symbol] # @see .deprecate! + sig { returns(T.any(NilClass, String, Symbol)) } attr_reader :deprecation_reason # The replacement for a deprecated {Formula}. # # @return [nil] if no replacement was provided or the formula is not deprecated. - # @return [String] # @see .deprecate! + sig { returns(T.nilable(String)) } attr_reader :deprecation_replacement # Disables a {Formula} (on the given date) so it cannot be @@ -4366,19 +4518,20 @@ class Formula # @see https://docs.brew.sh/Deprecating-Disabling-and-Removing-Formulae # @see DeprecateDisable::FORMULA_DEPRECATE_DISABLE_REASONS # @api public + sig { params(date: String, because: T.any(NilClass, String, Symbol), replacement: T.nilable(String)).void } def disable!(date:, because:, replacement: nil) - @disable_date = Date.parse(date) + @disable_date = T.let(Date.parse(date), T.nilable(Date)) - if @disable_date > Date.today - @deprecation_reason = because - @deprecation_replacement = replacement - @deprecated = true + if T.must(@disable_date) > Date.today + @deprecation_reason = T.let(because, T.any(NilClass, String, Symbol)) + @deprecation_replacement = T.let(replacement, T.nilable(String)) + @deprecated = T.let(true, T.nilable(T::Boolean)) return end - @disable_reason = because - @disable_replacement = replacement - @disabled = true + @disable_reason = T.let(because, T.nilable(T.any(String, Symbol))) + @disable_replacement = T.let(replacement, T.nilable(String)) + @disabled = T.let(true, T.nilable(T::Boolean)) end # Whether this {Formula} is disabled (i.e. cannot be installed). @@ -4393,22 +4546,22 @@ class Formula # The date that this {Formula} was or becomes disabled. # Returns `nil` if no date is specified. # - # @return Date # @see .disable! + sig { returns(T.nilable(Date)) } attr_reader :disable_date # The reason this {Formula} is disabled. # Returns `nil` if no reason was provided or the formula is not disabled. # - # @return [String, Symbol] # @see .disable! + sig { returns(T.any(NilClass, String, Symbol)) } attr_reader :disable_reason # The replacement for a disabled {Formula}. # Returns `nil` if no reason was provided or the formula is not disabled. # - # @return [String] # @see .disable! + sig { returns(T.nilable(String)) } attr_reader :disable_replacement # Permit overwriting certain files while linking. @@ -4425,9 +4578,10 @@ class Formula # ```ruby # link_overwrite "share/man/man1/baz-*" # ``` + sig { params(paths: String).returns(T::Set[String]) } def link_overwrite(*paths) paths.flatten! - link_overwrite_paths.merge(paths) + T.must(link_overwrite_paths).merge(paths) end end end diff --git a/Library/Homebrew/formula_cellar_checks.rb b/Library/Homebrew/formula_cellar_checks.rb index 26e4f2f066..0e70e79cc3 100644 --- a/Library/Homebrew/formula_cellar_checks.rb +++ b/Library/Homebrew/formula_cellar_checks.rb @@ -307,7 +307,7 @@ module FormulaCellarChecks return unless formula.service? return unless formula.service.command? - "Service command does not exist" unless File.exist?(formula.service.command.first) + "Service command does not exist" unless File.exist?(T.must(formula.service.command).first) end sig { params(formula: Formula).returns(T.nilable(String)) } diff --git a/Library/Homebrew/formula_installer.rb b/Library/Homebrew/formula_installer.rb index 430fd47db7..e87c14df85 100644 --- a/Library/Homebrew/formula_installer.rb +++ b/Library/Homebrew/formula_installer.rb @@ -1230,7 +1230,7 @@ on_request: installed_on_request?, options:) return keg_formula_path if formula.loaded_from_api? return keg_formula_path if formula.local_bottle_path.present? - tap_formula_path = formula.specified_path + tap_formula_path = T.must(formula.specified_path) return keg_formula_path unless tap_formula_path.exist? begin diff --git a/Library/Homebrew/language/java.rb b/Library/Homebrew/language/java.rb index c89cbe7334..e0248c41cd 100644 --- a/Library/Homebrew/language/java.rb +++ b/Library/Homebrew/language/java.rb @@ -16,7 +16,7 @@ module Language next false unless f.any_version_installed? unless version.zero? - major = f.any_installed_version.major + major = T.must(f.any_installed_version).major next false if major < version next false if major > version && !can_be_newer end diff --git a/Library/Homebrew/language/python.rb b/Library/Homebrew/language/python.rb index 58ba404901..6428bce228 100644 --- a/Library/Homebrew/language/python.rb +++ b/Library/Homebrew/language/python.rb @@ -340,7 +340,10 @@ module Language version = rp.match %r{^#{HOMEBREW_CELLAR}/python@(.*?)/}o version = "@#{version.captures.first}" unless version.nil? - new_target = rp.sub %r{#{HOMEBREW_CELLAR}/python#{version}/[^/]+}, Formula["python#{version}"].opt_prefix + new_target = rp.sub( + %r{#{HOMEBREW_CELLAR}/python#{version}/[^/]+}, + Formula["python#{version}"].opt_prefix.to_s, + ) f.unlink f.make_symlink new_target end @@ -351,7 +354,10 @@ module Language version = prefix_path.match %r{^#{HOMEBREW_CELLAR}/python@(.*?)/}o version = "@#{version.captures.first}" unless version.nil? - prefix_path.sub! %r{^#{HOMEBREW_CELLAR}/python#{version}/[^/]+}, Formula["python#{version}"].opt_prefix + prefix_path.sub!( + %r{^#{HOMEBREW_CELLAR}/python#{version}/[^/]+}, + Formula["python#{version}"].opt_prefix.to_s, + ) prefix_file.atomic_write prefix_path end @@ -362,7 +368,7 @@ module Language cfg = cfg_file.read framework = "Frameworks/Python.framework/Versions" cfg.match(%r{= *(#{HOMEBREW_CELLAR}/(python@[\d.]+)/[^/]+(?:/#{framework}/[\d.]+)?/bin)}) do |match| - cfg.sub! match[1].to_s, Formula[match[2]].opt_bin + cfg.sub! match[1].to_s, Formula[T.must(match[2])].opt_bin.to_s cfg_file.atomic_write cfg end end From beeb0b8f6ddf42fad4ff38ccf4560080788d9354 Mon Sep 17 00:00:00 2001 From: Douglas Eichelberger Date: Mon, 17 Feb 2025 11:37:57 -0800 Subject: [PATCH 146/322] Reclaim some vertical real estate --- Library/Homebrew/formula.rb | 285 +++++++++--------------------------- 1 file changed, 70 insertions(+), 215 deletions(-) diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb index ce3aebd066..b93e464d91 100644 --- a/Library/Homebrew/formula.rb +++ b/Library/Homebrew/formula.rb @@ -364,14 +364,10 @@ class Formula end sig { returns(T.nilable(String)) } - def installed_alias_name - installed_alias_path&.basename&.to_s - end + def installed_alias_name = installed_alias_path&.basename&.to_s sig { returns(T.nilable(String)) } - def full_installed_alias_name - full_name_with_optional_tap(installed_alias_name) - end + def full_installed_alias_name = full_name_with_optional_tap(installed_alias_name) # The path that was specified to find this formula. sig { returns(T.nilable(Pathname)) } @@ -524,15 +520,11 @@ class Formula # The {PkgVersion} for this formula with {version} and {#revision} information. sig { returns(PkgVersion) } - def pkg_version - PkgVersion.new(version, revision) - end + def pkg_version = PkgVersion.new(version, revision) # If this is a `@`-versioned formula. sig { returns(T::Boolean) } - def versioned_formula? - name.include?("@") - end + def versioned_formula? = name.include?("@") # Returns any other `@`-versioned formulae names for any formula (including versioned formulae). sig { returns(T::Array[String]) } @@ -761,15 +753,11 @@ class Formula # # @api internal sig { returns(T::Boolean) } - def linked? - linked_keg.symlink? - end + def linked? = linked_keg.symlink? # Is the formula linked to `opt`? sig { returns(T::Boolean) } - def optlinked? - opt_prefix.symlink? - end + def optlinked? = opt_prefix.symlink? # If a formula's linked keg points to the prefix. sig { params(version: T.any(String, PkgVersion)).returns(T::Boolean) } @@ -790,9 +778,7 @@ class Formula # The parent of the prefix; the named directory in the cellar containing all # installed versions of this software. sig { returns(Pathname) } - def rack - HOMEBREW_CELLAR/name - end + def rack = HOMEBREW_CELLAR/name # All currently installed prefix directories. sig { returns(T::Array[Pathname]) } @@ -829,9 +815,7 @@ class Formula # # @api public sig { returns(Pathname) } - def bin - prefix/"bin" - end + def bin = prefix/"bin" # The directory where the formula's documentation should be installed. # This is symlinked into `HOMEBREW_PREFIX` after installation or with @@ -839,9 +823,7 @@ class Formula # # @api public sig { returns(Pathname) } - def doc - share/"doc"/name - end + def doc = share/"doc"/name # The directory where the formula's headers should be installed. # This is symlinked into `HOMEBREW_PREFIX` after installation or with @@ -857,9 +839,7 @@ class Formula # # @api public sig { returns(Pathname) } - def include - prefix/"include" - end + def include = prefix/"include" # The directory where the formula's info files should be installed. # This is symlinked into `HOMEBREW_PREFIX` after installation or with @@ -867,9 +847,7 @@ class Formula # # @api public sig { returns(Pathname) } - def info - share/"info" - end + def info = share/"info" # The directory where the formula's libraries should be installed. # This is symlinked into `HOMEBREW_PREFIX` after installation or with @@ -885,9 +863,7 @@ class Formula # # @api public sig { returns(Pathname) } - def lib - prefix/"lib" - end + def lib = prefix/"lib" # The directory where the formula's binaries should be installed. # This is not symlinked into `HOMEBREW_PREFIX`. @@ -904,9 +880,7 @@ class Formula # # @api public sig { returns(Pathname) } - def libexec - prefix/"libexec" - end + def libexec = prefix/"libexec" # The root directory where the formula's manual pages should be installed. # This is symlinked into `HOMEBREW_PREFIX` after installation or with @@ -916,9 +890,7 @@ class Formula # # @api public sig { returns(Pathname) } - def man - share/"man" - end + def man = share/"man" # The directory where the formula's man1 pages should be installed. # This is symlinked into `HOMEBREW_PREFIX` after installation or with @@ -934,9 +906,7 @@ class Formula # # @api public sig { returns(Pathname) } - def man1 - man/"man1" - end + def man1 = man/"man1" # The directory where the formula's man2 pages should be installed. # This is symlinked into `HOMEBREW_PREFIX` after installation or with @@ -944,9 +914,7 @@ class Formula # # @api public sig { returns(Pathname) } - def man2 - man/"man2" - end + def man2 = man/"man2" # The directory where the formula's man3 pages should be installed. # This is symlinked into `HOMEBREW_PREFIX` after installation or with @@ -962,9 +930,7 @@ class Formula # # @api public sig { returns(Pathname) } - def man3 - man/"man3" - end + def man3 = man/"man3" # The directory where the formula's man4 pages should be installed. # This is symlinked into `HOMEBREW_PREFIX` after installation or with @@ -972,9 +938,7 @@ class Formula # # @api public sig { returns(Pathname) } - def man4 - man/"man4" - end + def man4 = man/"man4" # The directory where the formula's man5 pages should be installed. # This is symlinked into `HOMEBREW_PREFIX` after installation or with @@ -982,9 +946,7 @@ class Formula # # @api public sig { returns(Pathname) } - def man5 - man/"man5" - end + def man5 = man/"man5" # The directory where the formula's man6 pages should be installed. # This is symlinked into `HOMEBREW_PREFIX` after installation or with @@ -992,9 +954,7 @@ class Formula # # @api public sig { returns(Pathname) } - def man6 - man/"man6" - end + def man6 = man/"man6" # The directory where the formula's man7 pages should be installed. # This is symlinked into `HOMEBREW_PREFIX` after installation or with @@ -1002,9 +962,7 @@ class Formula # # @api public sig { returns(Pathname) } - def man7 - man/"man7" - end + def man7 = man/"man7" # The directory where the formula's man8 pages should be installed. # This is symlinked into `HOMEBREW_PREFIX` after installation or with @@ -1012,9 +970,7 @@ class Formula # # @api public sig { returns(Pathname) } - def man8 - man/"man8" - end + def man8 = man/"man8" # The directory where the formula's `sbin` binaries should be installed. # This is symlinked into `HOMEBREW_PREFIX` after installation or with @@ -1023,9 +979,7 @@ class Formula # # @api public sig { returns(Pathname) } - def sbin - prefix/"sbin" - end + def sbin = prefix/"sbin" # The directory where the formula's shared files should be installed. # This is symlinked into `HOMEBREW_PREFIX` after installation or with @@ -1059,9 +1013,7 @@ class Formula # # @api public sig { returns(Pathname) } - def share - prefix/"share" - end + def share = prefix/"share" # The directory where the formula's shared files should be installed, # with the name of the formula appended to avoid linking conflicts. @@ -1078,9 +1030,7 @@ class Formula # # @api public sig { returns(Pathname) } - def pkgshare - prefix/"share"/name - end + def pkgshare = prefix/"share"/name # The directory where Emacs Lisp files should be installed, with the # formula name appended to avoid linking conflicts. @@ -1095,9 +1045,7 @@ class Formula # # @api public sig { returns(Pathname) } - def elisp - prefix/"share/emacs/site-lisp"/name - end + def elisp = prefix/"share/emacs/site-lisp"/name # The directory where the formula's Frameworks should be installed. # This is symlinked into `HOMEBREW_PREFIX` after installation or with @@ -1106,9 +1054,7 @@ class Formula # # @api public sig { returns(Pathname) } - def frameworks - prefix/"Frameworks" - end + def frameworks = prefix/"Frameworks" # The directory where the formula's kernel extensions should be installed. # This is symlinked into `HOMEBREW_PREFIX` after installation or with @@ -1117,9 +1063,7 @@ class Formula # # @api public sig { returns(Pathname) } - def kext_prefix - prefix/"Library/Extensions" - end + def kext_prefix = prefix/"Library/Extensions" # The directory where the formula's configuration files should be installed. # Anything using `etc.install` will not overwrite other files on e.g. upgrades @@ -1129,9 +1073,7 @@ class Formula # # @api public sig { returns(Pathname) } - def etc - (HOMEBREW_PREFIX/"etc").extend(InstallRenamed) - end + def etc = (HOMEBREW_PREFIX/"etc").extend(InstallRenamed) # A subdirectory of `etc` with the formula name suffixed. # e.g. `$HOMEBREW_PREFIX/etc/openssl@1.1` @@ -1140,9 +1082,7 @@ class Formula # # @api public sig { returns(Pathname) } - def pkgetc - (HOMEBREW_PREFIX/"etc"/name).extend(InstallRenamed) - end + def pkgetc = (HOMEBREW_PREFIX/"etc"/name).extend(InstallRenamed) # The directory where the formula's variable files should be installed. # This directory is not inside the `HOMEBREW_CELLAR` so it persists @@ -1150,9 +1090,7 @@ class Formula # # @api public sig { returns(Pathname) } - def var - HOMEBREW_PREFIX/"var" - end + def var = HOMEBREW_PREFIX/"var" # The directory where the formula's zsh function files should be # installed. @@ -1161,9 +1099,7 @@ class Formula # # @api public sig { returns(Pathname) } - def zsh_function - share/"zsh/site-functions" - end + def zsh_function = share/"zsh/site-functions" # The directory where the formula's fish function files should be # installed. @@ -1172,9 +1108,7 @@ class Formula # # @api public sig { returns(Pathname) } - def fish_function - share/"fish/vendor_functions.d" - end + def fish_function = share/"fish/vendor_functions.d" # The directory where the formula's Bash completion files should be # installed. @@ -1183,9 +1117,7 @@ class Formula # # @api public sig { returns(Pathname) } - def bash_completion - prefix/"etc/bash_completion.d" - end + def bash_completion = prefix/"etc/bash_completion.d" # The directory where the formula's zsh completion files should be # installed. @@ -1194,9 +1126,7 @@ class Formula # # @api public sig { returns(Pathname) } - def zsh_completion - share/"zsh/site-functions" - end + def zsh_completion = share/"zsh/site-functions" # The directory where the formula's fish completion files should be # installed. @@ -1205,23 +1135,17 @@ class Formula # # @api public sig { returns(Pathname) } - def fish_completion - share/"fish/vendor_completions.d" - end + def fish_completion = share/"fish/vendor_completions.d" # The directory used for as the prefix for {#etc} and {#var} files on # installation so, despite not being in `HOMEBREW_CELLAR`, they are installed # there after pouring a bottle. sig { returns(Pathname) } - def bottle_prefix - prefix/".bottle" - end + def bottle_prefix = prefix/".bottle" # The directory where the formula's installation or test logs will be written. sig { returns(Pathname) } - def logs - HOMEBREW_LOGS + name - end + def logs = HOMEBREW_LOGS + name # The prefix, if any, to use in filenames for logging current activity. sig { returns(String) } @@ -1283,33 +1207,23 @@ class Formula # The generated launchd {.plist} service name. sig { returns(String) } - def plist_name - service.plist_name - end + def plist_name = service.plist_name # The generated service name. sig { returns(String) } - def service_name - service.service_name - end + def service_name = service.service_name # The generated launchd {.service} file path. sig { returns(Pathname) } - def launchd_service_path - opt_prefix/"#{plist_name}.plist" - end + def launchd_service_path = opt_prefix/"#{plist_name}.plist" # The generated systemd {.service} file path. sig { returns(Pathname) } - def systemd_service_path - opt_prefix/"#{service_name}.service" - end + def systemd_service_path = opt_prefix/"#{service_name}.service" # The generated systemd {.timer} file path. sig { returns(Pathname) } - def systemd_timer_path - opt_prefix/"#{service_name}.timer" - end + def systemd_timer_path = opt_prefix/"#{service_name}.timer" # The service specification of the software. sig { returns(Homebrew::Service) } @@ -1332,81 +1246,61 @@ class Formula # # @api public sig { returns(Pathname) } - def opt_prefix - HOMEBREW_PREFIX/"opt"/name - end + def opt_prefix = HOMEBREW_PREFIX/"opt"/name # Same as {#bin}, but relative to {#opt_prefix} instead of {#prefix}. # # @api public sig { returns(Pathname) } - def opt_bin - opt_prefix/"bin" - end + def opt_bin = opt_prefix/"bin" # Same as {#include}, but relative to {#opt_prefix} instead of {#prefix}. # # @api public sig { returns(Pathname) } - def opt_include - opt_prefix/"include" - end + def opt_include = opt_prefix/"include" # Same as {#lib}, but relative to {#opt_prefix} instead of {#prefix}. # # @api public sig { returns(Pathname) } - def opt_lib - opt_prefix/"lib" - end + def opt_lib = opt_prefix/"lib" # Same as {#libexec}, but relative to {#opt_prefix} instead of {#prefix}. # # @api public sig { returns(Pathname) } - def opt_libexec - opt_prefix/"libexec" - end + def opt_libexec = opt_prefix/"libexec" # Same as {#sbin}, but relative to {#opt_prefix} instead of {#prefix}. # # @api public sig { returns(Pathname) } - def opt_sbin - opt_prefix/"sbin" - end + def opt_sbin = opt_prefix/"sbin" # Same as {#share}, but relative to {#opt_prefix} instead of {#prefix}. # # @api public sig { returns(Pathname) } - def opt_share - opt_prefix/"share" - end + def opt_share = opt_prefix/"share" # Same as {#pkgshare}, but relative to {#opt_prefix} instead of {#prefix}. # # @api public sig { returns(Pathname) } - def opt_pkgshare - opt_prefix/"share"/name - end + def opt_pkgshare = opt_prefix/"share"/name # Same as {#elisp}, but relative to {#opt_prefix} instead of {#prefix}. # # @api public sig { returns(Pathname) } - def opt_elisp - opt_prefix/"share/emacs/site-lisp"/name - end + def opt_elisp = opt_prefix/"share/emacs/site-lisp"/name # Same as {#frameworks}, but relative to {#opt_prefix} instead of {#prefix}. # # @api public sig { returns(Pathname) } - def opt_frameworks - opt_prefix/"Frameworks" - end + def opt_frameworks = opt_prefix/"Frameworks" # Indicates that this formula supports bottles. (Not necessarily that one # should be used in the current installation run.) @@ -1415,9 +1309,7 @@ class Formula # are supported. # Replaced by {.pour_bottle?}'s `satisfy` method if it is specified. sig { returns(T::Boolean) } - def pour_bottle? - true - end + def pour_bottle? = true delegate pour_bottle_check_unsatisfied_reason: :"self.class" @@ -1497,9 +1389,7 @@ class Formula # end # ``` sig { overridable.returns(T.nilable(String)) } - def caveats - nil - end + def caveats = nil # Rarely, you don't want your library symlinked into the main prefix. # See `gettext.rb` for an example. @@ -1617,14 +1507,10 @@ class Formula delegate disable_replacement: :"self.class" sig { returns(T::Boolean) } - def skip_cxxstdlib_check? - false - end + def skip_cxxstdlib_check? = false sig { returns(T::Boolean) } - def require_universal_deps? - false - end + def require_universal_deps? = false sig { void } def patch @@ -1782,9 +1668,7 @@ class Formula # Is this formula the target of an alias used to install an old formula? sig { returns(T::Boolean) } - def supersedes_an_installed_formula? - old_installed_formulae.any? - end + def supersedes_an_installed_formula? = old_installed_formulae.any? # Has the alias used to install the formula changed, or are different # formulae already installed with this alias? @@ -1820,18 +1704,12 @@ class Formula true end - delegate pinnable?: :@pin + def_delegators :@pin, :pinnable?, :pinned_version, :pin, :unpin # !attr[r] pinned? # @api internal delegate pinned?: :@pin - delegate pinned_version: :@pin - - delegate pin: :@pin - - delegate unpin: :@pin - sig { params(other: T.untyped).returns(T::Boolean) } def ==(other) self.class == other.class && @@ -1841,9 +1719,7 @@ class Formula alias eql? == sig { returns(Integer) } - def hash - name.hash - end + def hash = name.hash sig { params(other: BasicObject).returns(T.nilable(Integer)) } def <=>(other) @@ -2058,9 +1934,7 @@ class Formula # # @api public sig { returns(String) } - def loader_path - "@loader_path" - end + def loader_path = "@loader_path" # Creates a new `Time` object for use in the formula as the build time. # @@ -3722,9 +3596,7 @@ class Formula end sig { returns(T::Array[Symbol]) } - def spec_syms - [:stable, :head].freeze - end + def spec_syms = [:stable, :head].freeze # A list of the {.stable} and {.head} {SoftwareSpec}s. sig { returns(T::Array[SoftwareSpec]) } @@ -3759,9 +3631,7 @@ class Formula # @!attribute [w] url # @api public sig { params(val: String, specs: T::Hash[Symbol, T.any(String, Symbol)]).void } - def url(val, specs = {}) - stable.url(val, specs) - end + def url(val, specs = {}) = stable.url(val, specs) # @!attribute [w] version # The version string for the {.stable} version of the formula. @@ -3776,9 +3646,7 @@ class Formula # # @api public sig { params(val: T.nilable(String)).void } - def version(val = nil) - stable.version(val) - end + def version(val = nil) = stable.version(val) # @!attribute [w] mirror # Additional URLs for the {.stable} version of the formula. @@ -3796,9 +3664,7 @@ class Formula # # @api public sig { params(val: String).void } - def mirror(val) - stable.mirror(val) - end + def mirror(val) = stable.mirror(val) # @!attribute [w] sha256 # @scope class @@ -3815,9 +3681,7 @@ class Formula # # @api public sig { params(val: String).void } - def sha256(val) - stable.sha256(val) - end + def sha256(val) = stable.sha256(val) # Adds a {.bottle} {SoftwareSpec}. # This provides a pre-built binary package built by the Homebrew maintainers for you. @@ -3844,14 +3708,10 @@ class Formula # # @api public sig { params(block: T.proc.bind(BottleSpecification).void).void } - def bottle(&block) - stable.bottle(&block) - end + def bottle(&block) = stable.bottle(&block) sig { returns(String) } - def build - stable.build - end + def build = stable.build # Get the `BUILD_FLAGS` from the formula's namespace set in `Formulary::load_formula`. sig { returns(T::Array[String]) } @@ -4313,9 +4173,7 @@ class Formula # @return [Boolean] # @api public sig { params(block: T.proc.returns(T.untyped)).returns(T.untyped) } - def test(&block) - define_method(:test, &block) - end + def test(&block) = define_method(:test, &block) # {Livecheck} can be used to check for newer versions of the software. # This method evaluates the DSL specified in the `livecheck` block of the @@ -4358,10 +4216,7 @@ class Formula # # @!attribute [w] service # @api public - sig { - params(block: T.nilable(T.proc.returns(T.untyped))) - .returns(T.nilable(T.proc.returns(T.untyped))) - } + sig { params(block: T.nilable(T.proc.returns(T.untyped))).returns(T.nilable(T.proc.returns(T.untyped))) } def service(&block) return @service_block unless block From ca8759605cc54b78f1d994b26a2e6222a4f64328 Mon Sep 17 00:00:00 2001 From: Douglas Eichelberger Date: Mon, 17 Feb 2025 14:17:08 -0800 Subject: [PATCH 147/322] Fix tests --- Library/Homebrew/formula.rb | 22 +++++-------------- .../test/language/node/shebang_spec.rb | 1 - .../test/language/perl/shebang_spec.rb | 2 -- .../test/language/python/shebang_spec.rb | 1 - 4 files changed, 5 insertions(+), 21 deletions(-) diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb index b93e464d91..e1b8502e8c 100644 --- a/Library/Homebrew/formula.rb +++ b/Library/Homebrew/formula.rb @@ -3202,9 +3202,7 @@ class Formula # Returns the prefix for a given formula version number. sig { params(version: T.any(String, Pathname, PkgVersion)).returns(Pathname) } - def versioned_prefix(version) - rack/version.to_s - end + def versioned_prefix(version) = rack/version.to_s sig { params( @@ -3401,7 +3399,6 @@ class Formula # ] # ``` # - # @!attribute [w] license # @see https://docs.brew.sh/License-Guidelines Homebrew License Guidelines # @see https://spdx.github.io/spdx-spec/latest/annexes/spdx-license-expressions/ SPDX license expression guide # @api public @@ -3628,12 +3625,10 @@ class Formula # revision: "db8e4de5b2d6653f66aea53094624468caad15d2" # ``` # - # @!attribute [w] url # @api public sig { params(val: String, specs: T::Hash[Symbol, T.any(String, Symbol)]).void } def url(val, specs = {}) = stable.url(val, specs) - # @!attribute [w] version # The version string for the {.stable} version of the formula. # The version is autodetected from the URL and/or tag so only needs to be # declared if it cannot be autodetected correctly. @@ -3645,10 +3640,9 @@ class Formula # ``` # # @api public - sig { params(val: T.nilable(String)).void } + sig { params(val: T.nilable(String)).returns(T.nilable(Version)) } def version(val = nil) = stable.version(val) - # @!attribute [w] mirror # Additional URLs for the {.stable} version of the formula. # These are only used if the {.url} fails to download. It's optional and # there can be more than one. Generally we add them when the main {.url} @@ -3666,7 +3660,6 @@ class Formula sig { params(val: String).void } def mirror(val) = stable.mirror(val) - # @!attribute [w] sha256 # @scope class # To verify the cached download's integrity and security we verify the # SHA-256 hash matches what we've declared in the {Formula}. To quickly fill @@ -3723,7 +3716,6 @@ class Formula mod.const_get(:BUILD_FLAGS) end - # @!attribute [w] stable # Allows adding {.depends_on} and {Patch}es just to the {.stable} {SoftwareSpec}. # This is required instead of using a conditional. # It is preferable to also pull the {url} and {sha256= sha256} into the block if one is added. @@ -3879,7 +3871,7 @@ class Formula # ``` # # @api public - sig { params(dep: T.any(String, Symbol, T::Hash[String, T.untyped])).void } + sig { params(dep: T.any(String, Symbol, T::Hash[String, T.untyped], T::Class[Requirement])).void } def depends_on(dep) specs.each { |spec| spec.depends_on(dep) } end @@ -3900,7 +3892,6 @@ class Formula specs.each { |spec| spec.uses_from_macos(dep, bounds) } end - # @!attribute [w] option # Options can be used as arguments to `brew install`. # To switch features on/off: `"with-something"` or `"with-otherthing"`. # To use other software: `"with-other-software"` or `"without-foo"`. @@ -3932,7 +3923,6 @@ class Formula specs.each { |spec| spec.option(name, description) } end - # @!attribute [w] deprecated_option # Deprecated options are used to rename options and migrate users who used # them to newer ones. They are mostly used for migrating non-`with` options # (e.g. `enable-debug`) to `with` options (e.g. `with-debug`). @@ -4115,7 +4105,7 @@ class Formula # ``` # # @api public - sig { params(compiler: T.any(Symbol, T::Hash[Symbol, String]), block: T.proc.void).void } + sig { params(compiler: T.any(Symbol, T::Hash[Symbol, String]), block: T.nilable(T.proc.void)).void } def fails_with(compiler, &block) specs.each { |spec| spec.fails_with(compiler, &block) } end @@ -4191,7 +4181,6 @@ class Formula # end # ``` # - # @!attribute [w] livecheck # @api public sig { params(block: T.nilable(T.proc.bind(Livecheck).returns(T.untyped))).returns(T.untyped) } def livecheck(&block) @@ -4214,7 +4203,6 @@ class Formula # end # ``` # - # @!attribute [w] service # @api public sig { params(block: T.nilable(T.proc.returns(T.untyped))).returns(T.nilable(T.proc.returns(T.untyped))) } def service(&block) @@ -4252,7 +4240,7 @@ class Formula params( only_if: T.nilable(Symbol), block: T.nilable(T.proc.params(arg0: T.untyped).returns(T.any(T::Boolean, Symbol))), - ).returns(T.any(T::Boolean, Symbol)) + ).void } def pour_bottle?(only_if: nil, &block) @pour_bottle_check = T.let(PourBottleCheck.new(self), T.nilable(PourBottleCheck)) diff --git a/Library/Homebrew/test/language/node/shebang_spec.rb b/Library/Homebrew/test/language/node/shebang_spec.rb index 4c282eab3d..6744434824 100644 --- a/Library/Homebrew/test/language/node/shebang_spec.rb +++ b/Library/Homebrew/test/language/node/shebang_spec.rb @@ -46,7 +46,6 @@ RSpec.describe Language::Node::Shebang do describe "#detected_node_shebang" do it "can be used to replace Node shebangs" do - allow(Formulary).to receive(:factory) allow(Formulary).to receive(:factory).with(f[:node18].name).and_return(f[:node18]) Utils::Shebang.rewrite_shebang described_class.detected_node_shebang(f[:versioned_node_dep]), file.path diff --git a/Library/Homebrew/test/language/perl/shebang_spec.rb b/Library/Homebrew/test/language/perl/shebang_spec.rb index c08de4321d..6677ae74f6 100644 --- a/Library/Homebrew/test/language/perl/shebang_spec.rb +++ b/Library/Homebrew/test/language/perl/shebang_spec.rb @@ -45,7 +45,6 @@ RSpec.describe Language::Perl::Shebang do describe "#detected_perl_shebang" do it "can be used to replace Perl shebangs when depends_on \"perl\" is used" do - allow(Formulary).to receive(:factory) allow(Formulary).to receive(:factory).with(f[:perl].name).and_return(f[:perl]) Utils::Shebang.rewrite_shebang described_class.detected_perl_shebang(f[:depends_on]), file.path @@ -58,7 +57,6 @@ RSpec.describe Language::Perl::Shebang do end it "can be used to replace Perl shebangs when uses_from_macos \"perl\" is used" do - allow(Formulary).to receive(:factory) allow(Formulary).to receive(:factory).with(f[:perl].name).and_return(f[:perl]) Utils::Shebang.rewrite_shebang described_class.detected_perl_shebang(f[:uses_from_macos]), file.path diff --git a/Library/Homebrew/test/language/python/shebang_spec.rb b/Library/Homebrew/test/language/python/shebang_spec.rb index b6d3d22d97..c823702cef 100644 --- a/Library/Homebrew/test/language/python/shebang_spec.rb +++ b/Library/Homebrew/test/language/python/shebang_spec.rb @@ -46,7 +46,6 @@ RSpec.describe Language::Python::Shebang do describe "#detected_python_shebang" do it "can be used to replace Python shebangs" do - allow(Formulary).to receive(:factory) allow(Formulary).to receive(:factory).with(f[:python311].name).and_return(f[:python311]) Utils::Shebang.rewrite_shebang( described_class.detected_python_shebang(f[:versioned_python_dep], use_python_from_path: false), file.path From 49ee4d57205ed0f660ce6bd4f7ef4806ebe536b7 Mon Sep 17 00:00:00 2001 From: Douglas Eichelberger Date: Mon, 24 Feb 2025 09:56:33 -0800 Subject: [PATCH 148/322] Fix docs --- Library/Homebrew/formula.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb index e1b8502e8c..020cd11825 100644 --- a/Library/Homebrew/formula.rb +++ b/Library/Homebrew/formula.rb @@ -447,22 +447,22 @@ class Formula # The description of the software. # @!method desc - # @see .desc= + # @see .desc delegate desc: :"self.class" # The SPDX ID of the software license. # @!method license - # @see .license= + # @see .license delegate license: :"self.class" # The homepage for the software. # @!method homepage - # @see .homepage= + # @see .homepage delegate homepage: :"self.class" # The livecheck specification for the software. # @!method livecheck - # @see .livecheck= + # @see .livecheck delegate livecheck: :"self.class" # Is a livecheck specification defined for the software? From 3bc228ecbf60b9e38d3ceafcf08e3589333f6f30 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 24 Feb 2025 18:45:05 +0000 Subject: [PATCH 149/322] build(deps): bump actions/upload-artifact in the artifacts group Bumps the artifacts group with 1 update: [actions/upload-artifact](https://github.com/actions/upload-artifact). Updates `actions/upload-artifact` from 4.6.0 to 4.6.1 - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](https://github.com/actions/upload-artifact/compare/65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08...4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1) --- updated-dependencies: - dependency-name: actions/upload-artifact dependency-type: direct:production update-type: version-update:semver-patch dependency-group: artifacts ... Signed-off-by: dependabot[bot] --- .github/workflows/actionlint.yml | 2 +- .github/workflows/pkg-installer.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/actionlint.yml b/.github/workflows/actionlint.yml index 0475c337e4..026da6b51b 100644 --- a/.github/workflows/actionlint.yml +++ b/.github/workflows/actionlint.yml @@ -57,7 +57,7 @@ jobs: zizmor --format sarif . > results.sarif || true - name: Upload SARIF file - uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0 + uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6.1 with: name: results.sarif path: results.sarif diff --git a/.github/workflows/pkg-installer.yml b/.github/workflows/pkg-installer.yml index f98f0d7e92..0a55f254ea 100644 --- a/.github/workflows/pkg-installer.yml +++ b/.github/workflows/pkg-installer.yml @@ -138,7 +138,7 @@ jobs: subject-path: Homebrew-${{ steps.homebrew-version.outputs.version }}.pkg - name: Upload installer to GitHub Actions - uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0 + uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6.1 with: name: Homebrew-${{ steps.homebrew-version.outputs.version }}.pkg path: Homebrew-${{ steps.homebrew-version.outputs.version }}.pkg From d8a2eab8bf76a63f1d222e06599fb6d1e1bc9b27 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 24 Feb 2025 18:45:07 +0000 Subject: [PATCH 150/322] build(deps): bump docker/build-push-action from 6.13.0 to 6.14.0 Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 6.13.0 to 6.14.0. - [Release notes](https://github.com/docker/build-push-action/releases) - [Commits](https://github.com/docker/build-push-action/compare/ca877d9245402d1537745e0e356eab47c3520991...0adf9959216b96bec444f325f1e493d4aa344497) --- updated-dependencies: - dependency-name: docker/build-push-action dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- .github/workflows/docker.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index d86215f7ca..1b78e06d2d 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -112,7 +112,7 @@ jobs: password: ${{ secrets.GITHUB_TOKEN }} - name: Build Docker image - uses: docker/build-push-action@ca877d9245402d1537745e0e356eab47c3520991 # v6.13.0 + uses: docker/build-push-action@0adf9959216b96bec444f325f1e493d4aa344497 # v6.14.0 with: context: . load: true @@ -141,7 +141,7 @@ jobs: - name: Deploy the tagged Docker image if: steps.attributes.outputs.push == 'true' - uses: docker/build-push-action@ca877d9245402d1537745e0e356eab47c3520991 # v6.13.0 + uses: docker/build-push-action@0adf9959216b96bec444f325f1e493d4aa344497 # v6.14.0 with: context: . push: true From c728639d56c5391128a778c1e88e2bdabf86501f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 24 Feb 2025 18:45:09 +0000 Subject: [PATCH 151/322] build(deps): bump codecov/test-results-action from 1.0.3 to 1.0.4 Bumps [codecov/test-results-action](https://github.com/codecov/test-results-action) from 1.0.3 to 1.0.4. - [Release notes](https://github.com/codecov/test-results-action/releases) - [Commits](https://github.com/codecov/test-results-action/compare/44ecb3a270cd942bdf0fa8f2ce14cb32493e810a...5c441a7bcc06f8706cde90192857d337c5dab8a6) --- updated-dependencies: - dependency-name: codecov/test-results-action dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- .github/workflows/tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 631d86d86a..422956eae4 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -341,7 +341,7 @@ jobs: filenames=$(find Library/Homebrew/test/junit -name 'rspec*.xml' -print | tr '\n' ',') echo "filenames=${filenames%,}" >> "$GITHUB_OUTPUT" - - uses: codecov/test-results-action@44ecb3a270cd942bdf0fa8f2ce14cb32493e810a # v1.0.3 + - uses: codecov/test-results-action@5c441a7bcc06f8706cde90192857d337c5dab8a6 # v1.0.4 with: working-directory: ${{ steps.set-up-homebrew.outputs.repository-path }} files: ${{ steps.junit_xml.outputs.filenames }} From ffa9193e159af06a9dec79341a459ade5705885f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 24 Feb 2025 18:45:16 +0000 Subject: [PATCH 152/322] build(deps): bump github/codeql-action from 3.28.9 to 3.28.10 Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.28.9 to 3.28.10. - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](https://github.com/github/codeql-action/compare/9e8d0789d4a0fa9ceb6b1738f7e269594bdd67f0...b56ba49b26e50535fa1e7f7db0f4f7b4bf65d80d) --- updated-dependencies: - dependency-name: github/codeql-action dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- .github/workflows/actionlint.yml | 2 +- .github/workflows/codeql-analysis.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/actionlint.yml b/.github/workflows/actionlint.yml index 0475c337e4..81ff756ed3 100644 --- a/.github/workflows/actionlint.yml +++ b/.github/workflows/actionlint.yml @@ -78,7 +78,7 @@ jobs: path: results.sarif - name: Upload SARIF file - uses: github/codeql-action/upload-sarif@9e8d0789d4a0fa9ceb6b1738f7e269594bdd67f0 # v3.28.9 + uses: github/codeql-action/upload-sarif@b56ba49b26e50535fa1e7f7db0f4f7b4bf65d80d # v3.28.10 with: sarif_file: results.sarif category: zizmor diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 10e0bc4e8e..b279cfe0c3 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -28,7 +28,7 @@ jobs: persist-credentials: false - name: Initialize CodeQL - uses: github/codeql-action/init@9e8d0789d4a0fa9ceb6b1738f7e269594bdd67f0 # v3.28.9 + uses: github/codeql-action/init@b56ba49b26e50535fa1e7f7db0f4f7b4bf65d80d # v3.28.10 with: languages: ruby config: | @@ -36,4 +36,4 @@ jobs: - Library/Homebrew/vendor - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@9e8d0789d4a0fa9ceb6b1738f7e269594bdd67f0 # v3.28.9 + uses: github/codeql-action/analyze@b56ba49b26e50535fa1e7f7db0f4f7b4bf65d80d # v3.28.10 From bfcfa55e86921144ade0b9154c07f5493fbfb4c3 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 24 Feb 2025 18:45:20 +0000 Subject: [PATCH 153/322] build(deps): bump actions/cache from 4.2.0 to 4.2.1 Bumps [actions/cache](https://github.com/actions/cache) from 4.2.0 to 4.2.1. - [Release notes](https://github.com/actions/cache/releases) - [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md) - [Commits](https://github.com/actions/cache/compare/1bd1e32a3bdc45362d1e726936510720a7c30a57...0c907a75c2c80ebcb7f088228285e798b750cf8f) --- updated-dependencies: - dependency-name: actions/cache dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- .github/workflows/autogenerated-files.yml | 2 +- .../sponsors-maintainers-man-completions.yml | 2 +- .github/workflows/tests.yml | 14 +++++++------- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/autogenerated-files.yml b/.github/workflows/autogenerated-files.yml index bd0bf5cd45..29dc44412c 100644 --- a/.github/workflows/autogenerated-files.yml +++ b/.github/workflows/autogenerated-files.yml @@ -34,7 +34,7 @@ jobs: test-bot: true - name: Cache Bundler RubyGems - uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0 + uses: actions/cache@0c907a75c2c80ebcb7f088228285e798b750cf8f # v4.2.1 with: path: ${{ steps.set-up-homebrew.outputs.gems-path }} key: ${{ runner.os }}-rubygems-${{ steps.set-up-homebrew.outputs.gems-hash }} diff --git a/.github/workflows/sponsors-maintainers-man-completions.yml b/.github/workflows/sponsors-maintainers-man-completions.yml index 110cf3cb86..b6203e417f 100644 --- a/.github/workflows/sponsors-maintainers-man-completions.yml +++ b/.github/workflows/sponsors-maintainers-man-completions.yml @@ -50,7 +50,7 @@ jobs: signing_key: ${{ secrets.BREWTESTBOT_SSH_SIGNING_KEY }} - name: Cache Bundler RubyGems - uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0 + uses: actions/cache@0c907a75c2c80ebcb7f088228285e798b750cf8f # v4.2.1 with: path: ${{ steps.set-up-homebrew.outputs.gems-path }} key: ${{ runner.os }}-rubygems-${{ steps.set-up-homebrew.outputs.gems-hash }} diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 631d86d86a..1d1ab02b1f 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -40,7 +40,7 @@ jobs: test-bot: false - name: Cache Bundler RubyGems - uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0 + uses: actions/cache@0c907a75c2c80ebcb7f088228285e798b750cf8f # v4.2.1 with: path: ${{ steps.set-up-homebrew.outputs.gems-path }} key: ${{ runner.os }}-rubygems-syntax-${{ steps.set-up-homebrew.outputs.gems-hash }} @@ -53,7 +53,7 @@ jobs: run: brew install shellcheck shfmt - name: Cache style cache - uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0 + uses: actions/cache@0c907a75c2c80ebcb7f088228285e798b750cf8f # v4.2.1 with: path: ~/.cache/Homebrew/style key: syntax-style-cache-${{ github.sha }} @@ -92,7 +92,7 @@ jobs: test-bot: true - name: Cache Bundler RubyGems - uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0 + uses: actions/cache@0c907a75c2c80ebcb7f088228285e798b750cf8f # v4.2.1 with: path: ${{ steps.set-up-homebrew.outputs.gems-path }} key: ${{ runner.os }}-rubygems-tap-syntax-${{ steps.set-up-homebrew.outputs.gems-hash }} @@ -102,7 +102,7 @@ jobs: run: brew install-bundler-gems --groups=style - name: Cache style cache - uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0 + uses: actions/cache@0c907a75c2c80ebcb7f088228285e798b750cf8f # v4.2.1 with: path: ~/.cache/Homebrew/style key: tap-syntax-style-cache-${{ github.sha }} @@ -279,7 +279,7 @@ jobs: test-bot: false - name: Cache Bundler RubyGems - uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0 + uses: actions/cache@0c907a75c2c80ebcb7f088228285e798b750cf8f # v4.2.1 with: path: ${{ steps.set-up-homebrew.outputs.gems-path }} key: ${{ matrix.runs-on }}-tests-rubygems-${{ steps.set-up-homebrew.outputs.gems-hash }} @@ -294,7 +294,7 @@ jobs: run: mkdir tests - name: Cache parallel tests log - uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0 + uses: actions/cache@0c907a75c2c80ebcb7f088228285e798b750cf8f # v4.2.1 with: path: tests key: ${{ runner.os }}-${{ matrix.test-flags }}-parallel_runtime_rspec-${{ github.sha }} @@ -415,7 +415,7 @@ jobs: - name: Cache Homebrew Bundler RubyGems id: cache - uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0 + uses: actions/cache@0c907a75c2c80ebcb7f088228285e798b750cf8f # v4.2.1 with: path: ${{ steps.set-up-homebrew.outputs.gems-path }} key: ${{ runner.os }}-rubygems-${{ steps.set-up-homebrew.outputs.gems-hash }} From 42f89a868f161d0460709361dccd90d4da1e8584 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 24 Feb 2025 18:48:17 +0000 Subject: [PATCH 154/322] build(deps-dev): bump tapioca in /Library/Homebrew Bumps [tapioca](https://github.com/Shopify/tapioca) from 0.16.10 to 0.16.11. - [Release notes](https://github.com/Shopify/tapioca/releases) - [Commits](https://github.com/Shopify/tapioca/compare/v0.16.10...v0.16.11) --- updated-dependencies: - dependency-name: tapioca dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- Library/Homebrew/Gemfile.lock | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Library/Homebrew/Gemfile.lock b/Library/Homebrew/Gemfile.lock index 8fc8964dc9..1a68264103 100644 --- a/Library/Homebrew/Gemfile.lock +++ b/Library/Homebrew/Gemfile.lock @@ -132,7 +132,7 @@ GEM sorbet-static-and-runtime (>= 0.5.10187) thor (>= 0.19.2) stackprof (0.2.27) - tapioca (0.16.10) + tapioca (0.16.11) benchmark bundler (>= 2.2.25) netrc (>= 0.11.0) @@ -155,7 +155,6 @@ GEM PLATFORMS aarch64-linux - arm-linux arm64-darwin x86_64-darwin x86_64-linux From 8b1ab754ccce9ff932663ecd97e00cb460ba1ea0 Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Mon, 24 Feb 2025 19:15:38 +0000 Subject: [PATCH 155/322] Update sponsors. Autogenerated by the [sponsors-maintainers-man-completions](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/sponsors-maintainers-man-completions.yml) workflow. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 0845b3919a..ccd8e8db30 100644 --- a/README.md +++ b/README.md @@ -83,6 +83,6 @@ Secure password storage and syncing is provided by [1Password for Teams](https:/ [![DNSimple](https://cdn.dnsimple.com/assets/resolving-with-us/logo-light.png)](https://dnsimple.com/resolving/homebrew#gh-light-mode-only) [![DNSimple](https://cdn.dnsimple.com/assets/resolving-with-us/logo-dark.png)](https://dnsimple.com/resolving/homebrew#gh-dark-mode-only) -Homebrew is generously supported by [GitHub](https://github.com/github), [Custom Ink](https://github.com/customink), [Randy Reddig](https://github.com/ydnar), [Codecademy](https://github.com/Codecademy), [MacPaw Inc.](https://github.com/MacPaw), [mikadelbert](https://github.com/mikadelbert), [Workbrew](https://github.com/Workbrew) and many other users and organisations via [GitHub Sponsors](https://github.com/sponsors/Homebrew). +Homebrew is generously supported by [GitHub](https://github.com/github), [Custom Ink](https://github.com/customink), [Randy Reddig](https://github.com/ydnar), [Henok Mikre](https://github.com/henokmikre), [Codecademy](https://github.com/Codecademy), [MacPaw Inc.](https://github.com/MacPaw), [mikadelbert](https://github.com/mikadelbert), [Workbrew](https://github.com/Workbrew) and many other users and organisations via [GitHub Sponsors](https://github.com/sponsors/Homebrew). [![GitHub](https://github.com/github.png?size=64)](https://github.com/github) From b57e8fc853214342a586e228eafd57ec540c3f2d Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 24 Feb 2025 19:19:24 +0000 Subject: [PATCH 156/322] build(deps): bump the sorbet group in /Library/Homebrew with 4 updates Bumps the sorbet group in /Library/Homebrew with 4 updates: [sorbet-static-and-runtime](https://github.com/sorbet/sorbet), [sorbet-runtime](https://github.com/sorbet/sorbet), [sorbet](https://github.com/sorbet/sorbet) and [sorbet-static](https://github.com/sorbet/sorbet). Updates `sorbet-static-and-runtime` from 0.5.11845 to 0.5.11851 - [Release notes](https://github.com/sorbet/sorbet/releases) - [Commits](https://github.com/sorbet/sorbet/commits) Updates `sorbet-runtime` from 0.5.11845 to 0.5.11851 - [Release notes](https://github.com/sorbet/sorbet/releases) - [Commits](https://github.com/sorbet/sorbet/commits) Updates `sorbet` from 0.5.11845 to 0.5.11851 - [Release notes](https://github.com/sorbet/sorbet/releases) - [Commits](https://github.com/sorbet/sorbet/commits) Updates `sorbet-static` from 0.5.11845 to 0.5.11851 - [Release notes](https://github.com/sorbet/sorbet/releases) - [Commits](https://github.com/sorbet/sorbet/commits) --- updated-dependencies: - dependency-name: sorbet-static-and-runtime dependency-type: direct:development update-type: version-update:semver-patch dependency-group: sorbet - dependency-name: sorbet-runtime dependency-type: direct:production update-type: version-update:semver-patch dependency-group: sorbet - dependency-name: sorbet dependency-type: indirect update-type: version-update:semver-patch dependency-group: sorbet - dependency-name: sorbet-static dependency-type: indirect update-type: version-update:semver-patch dependency-group: sorbet ... Signed-off-by: dependabot[bot] --- Library/Homebrew/Gemfile.lock | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/Library/Homebrew/Gemfile.lock b/Library/Homebrew/Gemfile.lock index 8fc8964dc9..c396daa8d6 100644 --- a/Library/Homebrew/Gemfile.lock +++ b/Library/Homebrew/Gemfile.lock @@ -116,15 +116,15 @@ GEM simplecov-html (0.13.1) simplecov_json_formatter (0.1.4) simpleidn (0.2.3) - sorbet (0.5.11845) - sorbet-static (= 0.5.11845) - sorbet-runtime (0.5.11845) - sorbet-static (0.5.11845-aarch64-linux) - sorbet-static (0.5.11845-universal-darwin) - sorbet-static (0.5.11845-x86_64-linux) - sorbet-static-and-runtime (0.5.11845) - sorbet (= 0.5.11845) - sorbet-runtime (= 0.5.11845) + sorbet (0.5.11851) + sorbet-static (= 0.5.11851) + sorbet-runtime (0.5.11851) + sorbet-static (0.5.11851-aarch64-linux) + sorbet-static (0.5.11851-universal-darwin) + sorbet-static (0.5.11851-x86_64-linux) + sorbet-static-and-runtime (0.5.11851) + sorbet (= 0.5.11851) + sorbet-runtime (= 0.5.11851) spoom (1.5.4) erubi (>= 1.10.0) prism (>= 0.28.0) @@ -155,7 +155,6 @@ GEM PLATFORMS aarch64-linux - arm-linux arm64-darwin x86_64-darwin x86_64-linux From 1054444dcf079e0ab98d5a2ea05e24aabcbe56bf Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Mon, 24 Feb 2025 19:48:56 +0000 Subject: [PATCH 157/322] brew vendor-gems: commit updates. --- Library/Homebrew/Gemfile.lock | 1 + Library/Homebrew/vendor/bundle/bundler/setup.rb | 8 ++++---- .../lib/sorbet-runtime.rb | 0 .../lib/types/_types.rb | 0 .../lib/types/abstract_utils.rb | 0 .../lib/types/boolean.rb | 0 .../lib/types/compatibility_patches.rb | 0 .../lib/types/configuration.rb | 0 .../lib/types/enum.rb | 0 .../lib/types/generic.rb | 0 .../lib/types/helpers.rb | 0 .../lib/types/non_forcing_constants.rb | 0 .../lib/types/private/abstract/data.rb | 0 .../lib/types/private/abstract/declare.rb | 0 .../lib/types/private/abstract/hooks.rb | 0 .../lib/types/private/abstract/validate.rb | 0 .../lib/types/private/caller_utils.rb | 0 .../lib/types/private/casts.rb | 0 .../lib/types/private/class_utils.rb | 0 .../lib/types/private/decl_state.rb | 0 .../lib/types/private/final.rb | 0 .../lib/types/private/methods/_methods.rb | 0 .../lib/types/private/methods/call_validation.rb | 0 .../lib/types/private/methods/call_validation_2_6.rb | 0 .../lib/types/private/methods/call_validation_2_7.rb | 0 .../lib/types/private/methods/decl_builder.rb | 0 .../lib/types/private/methods/modes.rb | 0 .../lib/types/private/methods/signature.rb | 0 .../lib/types/private/methods/signature_validation.rb | 0 .../lib/types/private/mixins/mixins.rb | 0 .../lib/types/private/retry.rb | 0 .../lib/types/private/runtime_levels.rb | 0 .../lib/types/private/sealed.rb | 0 .../lib/types/private/types/not_typed.rb | 0 .../lib/types/private/types/simple_pair_union.rb | 0 .../lib/types/private/types/string_holder.rb | 0 .../lib/types/private/types/type_alias.rb | 0 .../lib/types/private/types/void.rb | 0 .../lib/types/props/_props.rb | 0 .../lib/types/props/constructor.rb | 0 .../lib/types/props/custom_type.rb | 0 .../lib/types/props/decorator.rb | 0 .../lib/types/props/errors.rb | 0 .../lib/types/props/generated_code_validation.rb | 0 .../lib/types/props/has_lazily_specialized_methods.rb | 0 .../lib/types/props/optional.rb | 0 .../lib/types/props/plugin.rb | 0 .../lib/types/props/pretty_printable.rb | 0 .../lib/types/props/private/apply_default.rb | 0 .../lib/types/props/private/deserializer_generator.rb | 0 .../lib/types/props/private/parser.rb | 0 .../lib/types/props/private/serde_transform.rb | 0 .../lib/types/props/private/serializer_generator.rb | 0 .../lib/types/props/private/setter_factory.rb | 0 .../lib/types/props/serializable.rb | 0 .../lib/types/props/type_validation.rb | 0 .../lib/types/props/utils.rb | 0 .../lib/types/props/weak_constructor.rb | 0 .../lib/types/sig.rb | 0 .../lib/types/struct.rb | 0 .../lib/types/types/anything.rb | 0 .../lib/types/types/attached_class.rb | 0 .../lib/types/types/base.rb | 0 .../lib/types/types/class_of.rb | 0 .../lib/types/types/enum.rb | 0 .../lib/types/types/fixed_array.rb | 0 .../lib/types/types/fixed_hash.rb | 0 .../lib/types/types/intersection.rb | 0 .../lib/types/types/noreturn.rb | 0 .../lib/types/types/proc.rb | 0 .../lib/types/types/self_type.rb | 0 .../lib/types/types/simple.rb | 0 .../lib/types/types/t_enum.rb | 0 .../lib/types/types/type_member.rb | 0 .../lib/types/types/type_parameter.rb | 0 .../lib/types/types/type_template.rb | 0 .../lib/types/types/type_variable.rb | 0 .../lib/types/types/typed_array.rb | 0 .../lib/types/types/typed_class.rb | 0 .../lib/types/types/typed_enumerable.rb | 0 .../lib/types/types/typed_enumerator.rb | 0 .../lib/types/types/typed_enumerator_chain.rb | 0 .../lib/types/types/typed_enumerator_lazy.rb | 0 .../lib/types/types/typed_hash.rb | 0 .../lib/types/types/typed_range.rb | 0 .../lib/types/types/typed_set.rb | 0 .../lib/types/types/union.rb | 0 .../lib/types/types/untyped.rb | 0 .../lib/types/utils.rb | 0 89 files changed, 5 insertions(+), 4 deletions(-) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11845 => sorbet-runtime-0.5.11851}/lib/sorbet-runtime.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11845 => sorbet-runtime-0.5.11851}/lib/types/_types.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11845 => sorbet-runtime-0.5.11851}/lib/types/abstract_utils.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11845 => sorbet-runtime-0.5.11851}/lib/types/boolean.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11845 => sorbet-runtime-0.5.11851}/lib/types/compatibility_patches.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11845 => sorbet-runtime-0.5.11851}/lib/types/configuration.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11845 => sorbet-runtime-0.5.11851}/lib/types/enum.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11845 => sorbet-runtime-0.5.11851}/lib/types/generic.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11845 => sorbet-runtime-0.5.11851}/lib/types/helpers.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11845 => sorbet-runtime-0.5.11851}/lib/types/non_forcing_constants.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11845 => sorbet-runtime-0.5.11851}/lib/types/private/abstract/data.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11845 => sorbet-runtime-0.5.11851}/lib/types/private/abstract/declare.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11845 => sorbet-runtime-0.5.11851}/lib/types/private/abstract/hooks.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11845 => sorbet-runtime-0.5.11851}/lib/types/private/abstract/validate.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11845 => sorbet-runtime-0.5.11851}/lib/types/private/caller_utils.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11845 => sorbet-runtime-0.5.11851}/lib/types/private/casts.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11845 => sorbet-runtime-0.5.11851}/lib/types/private/class_utils.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11845 => sorbet-runtime-0.5.11851}/lib/types/private/decl_state.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11845 => sorbet-runtime-0.5.11851}/lib/types/private/final.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11845 => sorbet-runtime-0.5.11851}/lib/types/private/methods/_methods.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11845 => sorbet-runtime-0.5.11851}/lib/types/private/methods/call_validation.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11845 => sorbet-runtime-0.5.11851}/lib/types/private/methods/call_validation_2_6.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11845 => sorbet-runtime-0.5.11851}/lib/types/private/methods/call_validation_2_7.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11845 => sorbet-runtime-0.5.11851}/lib/types/private/methods/decl_builder.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11845 => sorbet-runtime-0.5.11851}/lib/types/private/methods/modes.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11845 => sorbet-runtime-0.5.11851}/lib/types/private/methods/signature.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11845 => sorbet-runtime-0.5.11851}/lib/types/private/methods/signature_validation.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11845 => sorbet-runtime-0.5.11851}/lib/types/private/mixins/mixins.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11845 => sorbet-runtime-0.5.11851}/lib/types/private/retry.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11845 => sorbet-runtime-0.5.11851}/lib/types/private/runtime_levels.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11845 => sorbet-runtime-0.5.11851}/lib/types/private/sealed.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11845 => sorbet-runtime-0.5.11851}/lib/types/private/types/not_typed.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11845 => sorbet-runtime-0.5.11851}/lib/types/private/types/simple_pair_union.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11845 => sorbet-runtime-0.5.11851}/lib/types/private/types/string_holder.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11845 => sorbet-runtime-0.5.11851}/lib/types/private/types/type_alias.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11845 => sorbet-runtime-0.5.11851}/lib/types/private/types/void.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11845 => sorbet-runtime-0.5.11851}/lib/types/props/_props.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11845 => sorbet-runtime-0.5.11851}/lib/types/props/constructor.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11845 => sorbet-runtime-0.5.11851}/lib/types/props/custom_type.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11845 => sorbet-runtime-0.5.11851}/lib/types/props/decorator.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11845 => sorbet-runtime-0.5.11851}/lib/types/props/errors.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11845 => sorbet-runtime-0.5.11851}/lib/types/props/generated_code_validation.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11845 => sorbet-runtime-0.5.11851}/lib/types/props/has_lazily_specialized_methods.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11845 => sorbet-runtime-0.5.11851}/lib/types/props/optional.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11845 => sorbet-runtime-0.5.11851}/lib/types/props/plugin.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11845 => sorbet-runtime-0.5.11851}/lib/types/props/pretty_printable.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11845 => sorbet-runtime-0.5.11851}/lib/types/props/private/apply_default.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11845 => sorbet-runtime-0.5.11851}/lib/types/props/private/deserializer_generator.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11845 => sorbet-runtime-0.5.11851}/lib/types/props/private/parser.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11845 => sorbet-runtime-0.5.11851}/lib/types/props/private/serde_transform.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11845 => sorbet-runtime-0.5.11851}/lib/types/props/private/serializer_generator.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11845 => sorbet-runtime-0.5.11851}/lib/types/props/private/setter_factory.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11845 => sorbet-runtime-0.5.11851}/lib/types/props/serializable.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11845 => sorbet-runtime-0.5.11851}/lib/types/props/type_validation.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11845 => sorbet-runtime-0.5.11851}/lib/types/props/utils.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11845 => sorbet-runtime-0.5.11851}/lib/types/props/weak_constructor.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11845 => sorbet-runtime-0.5.11851}/lib/types/sig.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11845 => sorbet-runtime-0.5.11851}/lib/types/struct.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11845 => sorbet-runtime-0.5.11851}/lib/types/types/anything.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11845 => sorbet-runtime-0.5.11851}/lib/types/types/attached_class.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11845 => sorbet-runtime-0.5.11851}/lib/types/types/base.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11845 => sorbet-runtime-0.5.11851}/lib/types/types/class_of.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11845 => sorbet-runtime-0.5.11851}/lib/types/types/enum.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11845 => sorbet-runtime-0.5.11851}/lib/types/types/fixed_array.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11845 => sorbet-runtime-0.5.11851}/lib/types/types/fixed_hash.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11845 => sorbet-runtime-0.5.11851}/lib/types/types/intersection.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11845 => sorbet-runtime-0.5.11851}/lib/types/types/noreturn.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11845 => sorbet-runtime-0.5.11851}/lib/types/types/proc.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11845 => sorbet-runtime-0.5.11851}/lib/types/types/self_type.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11845 => sorbet-runtime-0.5.11851}/lib/types/types/simple.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11845 => sorbet-runtime-0.5.11851}/lib/types/types/t_enum.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11845 => sorbet-runtime-0.5.11851}/lib/types/types/type_member.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11845 => sorbet-runtime-0.5.11851}/lib/types/types/type_parameter.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11845 => sorbet-runtime-0.5.11851}/lib/types/types/type_template.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11845 => sorbet-runtime-0.5.11851}/lib/types/types/type_variable.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11845 => sorbet-runtime-0.5.11851}/lib/types/types/typed_array.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11845 => sorbet-runtime-0.5.11851}/lib/types/types/typed_class.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11845 => sorbet-runtime-0.5.11851}/lib/types/types/typed_enumerable.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11845 => sorbet-runtime-0.5.11851}/lib/types/types/typed_enumerator.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11845 => sorbet-runtime-0.5.11851}/lib/types/types/typed_enumerator_chain.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11845 => sorbet-runtime-0.5.11851}/lib/types/types/typed_enumerator_lazy.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11845 => sorbet-runtime-0.5.11851}/lib/types/types/typed_hash.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11845 => sorbet-runtime-0.5.11851}/lib/types/types/typed_range.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11845 => sorbet-runtime-0.5.11851}/lib/types/types/typed_set.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11845 => sorbet-runtime-0.5.11851}/lib/types/types/union.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11845 => sorbet-runtime-0.5.11851}/lib/types/types/untyped.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11845 => sorbet-runtime-0.5.11851}/lib/types/utils.rb (100%) diff --git a/Library/Homebrew/Gemfile.lock b/Library/Homebrew/Gemfile.lock index c396daa8d6..774a898bf2 100644 --- a/Library/Homebrew/Gemfile.lock +++ b/Library/Homebrew/Gemfile.lock @@ -155,6 +155,7 @@ GEM PLATFORMS aarch64-linux + arm-linux arm64-darwin x86_64-darwin x86_64-linux diff --git a/Library/Homebrew/vendor/bundle/bundler/setup.rb b/Library/Homebrew/vendor/bundle/bundler/setup.rb index f54dac36ae..644a51c824 100644 --- a/Library/Homebrew/vendor/bundle/bundler/setup.rb +++ b/Library/Homebrew/vendor/bundle/bundler/setup.rb @@ -75,7 +75,7 @@ $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/extensions/arm64-darwin-20/#{Gem.extension_api_version}/pycall-1.5.2") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/pycall-1.5.2/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rainbow-3.1.1/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-runtime-0.5.11845/lib") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-runtime-0.5.11851/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rbi-0.2.4/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/extensions/arm64-darwin-20/#{Gem.extension_api_version}/rbs-3.8.1") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rbs-3.8.1/lib") @@ -107,9 +107,9 @@ $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/simplecov_json_formatter-0.1.4/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/simplecov-0.22.0/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/simplecov-cobertura-2.1.0/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-static-0.5.11845-universal-darwin/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-0.5.11845/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-static-and-runtime-0.5.11845/lib") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-static-0.5.11851-universal-darwin/lib") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-0.5.11851/lib") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-static-and-runtime-0.5.11851/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/thor-1.3.2/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/spoom-1.5.4/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/extensions/arm64-darwin-20/#{Gem.extension_api_version}/stackprof-0.2.27") diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/sorbet-runtime.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/sorbet-runtime.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/sorbet-runtime.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/sorbet-runtime.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/_types.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/_types.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/_types.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/_types.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/abstract_utils.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/abstract_utils.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/abstract_utils.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/abstract_utils.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/boolean.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/boolean.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/boolean.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/boolean.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/compatibility_patches.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/compatibility_patches.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/compatibility_patches.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/compatibility_patches.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/configuration.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/configuration.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/configuration.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/configuration.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/enum.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/enum.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/enum.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/enum.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/generic.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/generic.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/generic.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/generic.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/helpers.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/helpers.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/helpers.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/helpers.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/non_forcing_constants.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/non_forcing_constants.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/non_forcing_constants.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/non_forcing_constants.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/private/abstract/data.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/private/abstract/data.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/private/abstract/data.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/private/abstract/data.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/private/abstract/declare.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/private/abstract/declare.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/private/abstract/declare.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/private/abstract/declare.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/private/abstract/hooks.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/private/abstract/hooks.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/private/abstract/hooks.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/private/abstract/hooks.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/private/abstract/validate.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/private/abstract/validate.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/private/abstract/validate.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/private/abstract/validate.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/private/caller_utils.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/private/caller_utils.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/private/caller_utils.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/private/caller_utils.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/private/casts.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/private/casts.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/private/casts.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/private/casts.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/private/class_utils.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/private/class_utils.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/private/class_utils.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/private/class_utils.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/private/decl_state.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/private/decl_state.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/private/decl_state.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/private/decl_state.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/private/final.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/private/final.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/private/final.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/private/final.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/private/methods/_methods.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/private/methods/_methods.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/private/methods/_methods.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/private/methods/_methods.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/private/methods/call_validation.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/private/methods/call_validation.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/private/methods/call_validation.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/private/methods/call_validation.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/private/methods/call_validation_2_6.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/private/methods/call_validation_2_6.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/private/methods/call_validation_2_6.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/private/methods/call_validation_2_6.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/private/methods/call_validation_2_7.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/private/methods/call_validation_2_7.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/private/methods/call_validation_2_7.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/private/methods/call_validation_2_7.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/private/methods/decl_builder.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/private/methods/decl_builder.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/private/methods/decl_builder.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/private/methods/decl_builder.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/private/methods/modes.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/private/methods/modes.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/private/methods/modes.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/private/methods/modes.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/private/methods/signature.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/private/methods/signature.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/private/methods/signature.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/private/methods/signature.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/private/methods/signature_validation.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/private/methods/signature_validation.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/private/methods/signature_validation.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/private/methods/signature_validation.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/private/mixins/mixins.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/private/mixins/mixins.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/private/mixins/mixins.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/private/mixins/mixins.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/private/retry.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/private/retry.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/private/retry.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/private/retry.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/private/runtime_levels.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/private/runtime_levels.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/private/runtime_levels.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/private/runtime_levels.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/private/sealed.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/private/sealed.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/private/sealed.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/private/sealed.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/private/types/not_typed.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/private/types/not_typed.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/private/types/not_typed.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/private/types/not_typed.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/private/types/simple_pair_union.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/private/types/simple_pair_union.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/private/types/simple_pair_union.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/private/types/simple_pair_union.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/private/types/string_holder.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/private/types/string_holder.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/private/types/string_holder.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/private/types/string_holder.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/private/types/type_alias.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/private/types/type_alias.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/private/types/type_alias.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/private/types/type_alias.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/private/types/void.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/private/types/void.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/private/types/void.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/private/types/void.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/props/_props.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/props/_props.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/props/_props.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/props/_props.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/props/constructor.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/props/constructor.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/props/constructor.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/props/constructor.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/props/custom_type.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/props/custom_type.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/props/custom_type.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/props/custom_type.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/props/decorator.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/props/decorator.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/props/decorator.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/props/decorator.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/props/errors.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/props/errors.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/props/errors.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/props/errors.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/props/generated_code_validation.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/props/generated_code_validation.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/props/generated_code_validation.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/props/generated_code_validation.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/props/has_lazily_specialized_methods.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/props/has_lazily_specialized_methods.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/props/has_lazily_specialized_methods.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/props/has_lazily_specialized_methods.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/props/optional.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/props/optional.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/props/optional.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/props/optional.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/props/plugin.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/props/plugin.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/props/plugin.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/props/plugin.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/props/pretty_printable.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/props/pretty_printable.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/props/pretty_printable.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/props/pretty_printable.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/props/private/apply_default.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/props/private/apply_default.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/props/private/apply_default.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/props/private/apply_default.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/props/private/deserializer_generator.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/props/private/deserializer_generator.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/props/private/deserializer_generator.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/props/private/deserializer_generator.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/props/private/parser.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/props/private/parser.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/props/private/parser.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/props/private/parser.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/props/private/serde_transform.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/props/private/serde_transform.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/props/private/serde_transform.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/props/private/serde_transform.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/props/private/serializer_generator.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/props/private/serializer_generator.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/props/private/serializer_generator.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/props/private/serializer_generator.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/props/private/setter_factory.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/props/private/setter_factory.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/props/private/setter_factory.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/props/private/setter_factory.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/props/serializable.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/props/serializable.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/props/serializable.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/props/serializable.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/props/type_validation.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/props/type_validation.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/props/type_validation.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/props/type_validation.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/props/utils.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/props/utils.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/props/utils.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/props/utils.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/props/weak_constructor.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/props/weak_constructor.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/props/weak_constructor.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/props/weak_constructor.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/sig.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/sig.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/sig.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/sig.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/struct.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/struct.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/struct.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/struct.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/types/anything.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/types/anything.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/types/anything.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/types/anything.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/types/attached_class.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/types/attached_class.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/types/attached_class.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/types/attached_class.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/types/base.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/types/base.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/types/base.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/types/base.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/types/class_of.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/types/class_of.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/types/class_of.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/types/class_of.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/types/enum.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/types/enum.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/types/enum.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/types/enum.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/types/fixed_array.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/types/fixed_array.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/types/fixed_array.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/types/fixed_array.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/types/fixed_hash.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/types/fixed_hash.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/types/fixed_hash.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/types/fixed_hash.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/types/intersection.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/types/intersection.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/types/intersection.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/types/intersection.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/types/noreturn.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/types/noreturn.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/types/noreturn.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/types/noreturn.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/types/proc.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/types/proc.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/types/proc.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/types/proc.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/types/self_type.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/types/self_type.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/types/self_type.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/types/self_type.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/types/simple.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/types/simple.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/types/simple.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/types/simple.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/types/t_enum.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/types/t_enum.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/types/t_enum.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/types/t_enum.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/types/type_member.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/types/type_member.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/types/type_member.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/types/type_member.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/types/type_parameter.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/types/type_parameter.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/types/type_parameter.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/types/type_parameter.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/types/type_template.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/types/type_template.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/types/type_template.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/types/type_template.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/types/type_variable.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/types/type_variable.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/types/type_variable.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/types/type_variable.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/types/typed_array.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/types/typed_array.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/types/typed_array.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/types/typed_array.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/types/typed_class.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/types/typed_class.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/types/typed_class.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/types/typed_class.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/types/typed_enumerable.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/types/typed_enumerable.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/types/typed_enumerable.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/types/typed_enumerable.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/types/typed_enumerator.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/types/typed_enumerator.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/types/typed_enumerator.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/types/typed_enumerator.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/types/typed_enumerator_chain.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/types/typed_enumerator_chain.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/types/typed_enumerator_chain.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/types/typed_enumerator_chain.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/types/typed_enumerator_lazy.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/types/typed_enumerator_lazy.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/types/typed_enumerator_lazy.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/types/typed_enumerator_lazy.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/types/typed_hash.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/types/typed_hash.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/types/typed_hash.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/types/typed_hash.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/types/typed_range.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/types/typed_range.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/types/typed_range.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/types/typed_range.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/types/typed_set.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/types/typed_set.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/types/typed_set.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/types/typed_set.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/types/union.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/types/union.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/types/union.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/types/union.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/types/untyped.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/types/untyped.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/types/untyped.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/types/untyped.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/utils.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/utils.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11845/lib/types/utils.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/utils.rb From af60b687ef342bb6516f988f22d481e2a5cd7248 Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Mon, 24 Feb 2025 19:49:18 +0000 Subject: [PATCH 158/322] brew vendor-gems: commit updates. --- Library/Homebrew/Gemfile.lock | 1 + Library/Homebrew/vendor/bundle/bundler/setup.rb | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Library/Homebrew/Gemfile.lock b/Library/Homebrew/Gemfile.lock index 1a68264103..cb90bfdacd 100644 --- a/Library/Homebrew/Gemfile.lock +++ b/Library/Homebrew/Gemfile.lock @@ -155,6 +155,7 @@ GEM PLATFORMS aarch64-linux + arm-linux arm64-darwin x86_64-darwin x86_64-linux diff --git a/Library/Homebrew/vendor/bundle/bundler/setup.rb b/Library/Homebrew/vendor/bundle/bundler/setup.rb index f54dac36ae..a14edbdb34 100644 --- a/Library/Homebrew/vendor/bundle/bundler/setup.rb +++ b/Library/Homebrew/vendor/bundle/bundler/setup.rb @@ -116,7 +116,7 @@ $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/stackprof-0.2.27/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/yard-0.9.37/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/yard-sorbet-0.9.0/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/tapioca-0.16.10/lib") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/tapioca-0.16.11/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/extensions/arm64-darwin-20/#{Gem.extension_api_version}/vernier-1.5.0") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/vernier-1.5.0/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/warning-1.5.0/lib") From c98a434e467e583734d40af5ec508bdfb4a84693 Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Mon, 24 Feb 2025 19:49:30 +0000 Subject: [PATCH 159/322] Update RBI files for tapioca. Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow. --- ...apioca@0.16.10.rbi => tapioca@0.16.11.rbi} | 94 ++++++++++++------- 1 file changed, 61 insertions(+), 33 deletions(-) rename Library/Homebrew/sorbet/rbi/gems/{tapioca@0.16.10.rbi => tapioca@0.16.11.rbi} (97%) diff --git a/Library/Homebrew/sorbet/rbi/gems/tapioca@0.16.10.rbi b/Library/Homebrew/sorbet/rbi/gems/tapioca@0.16.11.rbi similarity index 97% rename from Library/Homebrew/sorbet/rbi/gems/tapioca@0.16.10.rbi rename to Library/Homebrew/sorbet/rbi/gems/tapioca@0.16.11.rbi index 1ba0e248b0..e9be793d70 100644 --- a/Library/Homebrew/sorbet/rbi/gems/tapioca@0.16.10.rbi +++ b/Library/Homebrew/sorbet/rbi/gems/tapioca@0.16.11.rbi @@ -1,4 +1,4 @@ -# typed: true +# typed: false # DO NOT EDIT MANUALLY # This is an autogenerated file for types exported from the `tapioca` gem. @@ -218,7 +218,7 @@ class RBI::TypedParam < ::T::Struct const :type, ::String class << self - # source://sorbet-runtime/0.5.11823/lib/types/struct.rb#13 + # source://sorbet-runtime/0.5.11845/lib/types/struct.rb#13 def inherited(s); end end end @@ -262,6 +262,25 @@ module T::Generic::TypeStoragePatch def type_template(variance = T.unsafe(nil), &bounds_proc); end end +# source://tapioca//lib/tapioca/runtime/trackers/required_ancestor.rb#54 +module T::Helpers + # source://tapioca//lib/tapioca/runtime/trackers/required_ancestor.rb#56 + def requires_ancestor(&block); end +end + +class T::InexactStruct + include ::T::Props + include ::T::Props::Plugin + include ::T::Props::Optional + include ::T::Props::PrettyPrintable + include ::T::Props::Serializable + include ::T::Props::WeakConstructor + include ::T::Props::Constructor + extend ::T::Props::ClassMethods + extend ::T::Props::Plugin::ClassMethods + extend ::T::Props::Serializable::ClassMethods +end + # source://tapioca//lib/tapioca/sorbet_ext/proc_bind_patch.rb#28 module T::Private::Methods class << self @@ -330,7 +349,16 @@ module T::Private::Methods::ProcBindPatch def finalize_proc(decl); end end -class T::Types::Proc < ::T::Types::Base; end +module T::Private::Retry; end +module T::Private::Retry::RETRY; end + +class T::Types::Proc < ::T::Types::Base + # source://tapioca//lib/tapioca/sorbet_ext/proc_bind_patch.rb#7 + def initialize(arg_types, returns, bind = T.unsafe(nil)); end + + # source://tapioca//lib/tapioca/sorbet_ext/proc_bind_patch.rb#15 + def name; end +end # source://tapioca//lib/tapioca/sorbet_ext/proc_bind_patch.rb#6 module T::Types::ProcBindPatch @@ -564,11 +592,11 @@ class Tapioca::Commands::AbstractDsl < ::Tapioca::Commands::CommandWithoutTracke sig { returns(T::Array[::String]) } def all_requested_constants; end - # source://tapioca//lib/tapioca/commands/abstract_dsl.rb#306 + # source://tapioca//lib/tapioca/commands/abstract_dsl.rb#313 sig { params(cause: ::Symbol, files: T::Array[::String]).returns(::String) } def build_error_for_files(cause, files); end - # source://tapioca//lib/tapioca/commands/abstract_dsl.rb#230 + # source://tapioca//lib/tapioca/commands/abstract_dsl.rb#237 sig do params( constant_name: ::String, @@ -579,15 +607,15 @@ class Tapioca::Commands::AbstractDsl < ::Tapioca::Commands::CommandWithoutTracke end def compile_dsl_rbi(constant_name, rbi, outpath: T.unsafe(nil), quiet: T.unsafe(nil)); end - # source://tapioca//lib/tapioca/commands/abstract_dsl.rb#165 + # source://tapioca//lib/tapioca/commands/abstract_dsl.rb#172 sig { params(constant_names: T::Array[::String], ignore_missing: T::Boolean).returns(T::Array[::Module]) } def constantize(constant_names, ignore_missing: T.unsafe(nil)); end - # source://tapioca//lib/tapioca/commands/abstract_dsl.rb#190 + # source://tapioca//lib/tapioca/commands/abstract_dsl.rb#197 sig { params(compiler_names: T::Array[::String]).returns(T::Array[T.class_of(Tapioca::Dsl::Compiler)]) } def constantize_compilers(compiler_names); end - # source://tapioca//lib/tapioca/commands/abstract_dsl.rb#366 + # source://tapioca//lib/tapioca/commands/abstract_dsl.rb#373 sig { returns(T::Array[::String]) } def constants_from_requested_paths; end @@ -595,15 +623,15 @@ class Tapioca::Commands::AbstractDsl < ::Tapioca::Commands::CommandWithoutTracke sig { returns(::Tapioca::Dsl::Pipeline) } def create_pipeline; end - # source://tapioca//lib/tapioca/commands/abstract_dsl.rb#269 + # source://tapioca//lib/tapioca/commands/abstract_dsl.rb#276 sig { params(constant_name: ::String).returns(::Pathname) } def dsl_rbi_filename(constant_name); end - # source://tapioca//lib/tapioca/commands/abstract_dsl.rb#151 + # source://tapioca//lib/tapioca/commands/abstract_dsl.rb#158 sig { params(requested_constants: T::Array[::String], path: ::Pathname).returns(T::Set[::Pathname]) } def existing_rbi_filenames(requested_constants, path: T.unsafe(nil)); end - # source://tapioca//lib/tapioca/commands/abstract_dsl.rb#361 + # source://tapioca//lib/tapioca/commands/abstract_dsl.rb#368 sig { params(constant: ::String).returns(::String) } def generate_command_for(constant); end @@ -615,7 +643,7 @@ class Tapioca::Commands::AbstractDsl < ::Tapioca::Commands::CommandWithoutTracke sig { void } def load_application; end - # source://tapioca//lib/tapioca/commands/abstract_dsl.rb#248 + # source://tapioca//lib/tapioca/commands/abstract_dsl.rb#255 sig { params(dir: ::Pathname).void } def perform_dsl_verification(dir); end @@ -623,31 +651,31 @@ class Tapioca::Commands::AbstractDsl < ::Tapioca::Commands::CommandWithoutTracke sig { returns(::Tapioca::Dsl::Pipeline) } def pipeline; end - # source://tapioca//lib/tapioca/commands/abstract_dsl.rb#257 + # source://tapioca//lib/tapioca/commands/abstract_dsl.rb#264 sig { params(files: T::Set[::Pathname]).void } def purge_stale_dsl_rbi_files(files); end - # source://tapioca//lib/tapioca/commands/abstract_dsl.rb#356 + # source://tapioca//lib/tapioca/commands/abstract_dsl.rb#363 sig { params(constant: ::String).returns(::String) } def rbi_filename_for(constant); end - # source://tapioca//lib/tapioca/commands/abstract_dsl.rb#337 + # source://tapioca//lib/tapioca/commands/abstract_dsl.rb#344 sig { params(path: ::Pathname).returns(T::Array[::Pathname]) } def rbi_files_in(path); end - # source://tapioca//lib/tapioca/commands/abstract_dsl.rb#315 + # source://tapioca//lib/tapioca/commands/abstract_dsl.rb#322 sig { params(diff: T::Hash[::String, ::Symbol], command: ::Symbol).void } def report_diff_and_exit_if_out_of_date(diff, command); end - # source://tapioca//lib/tapioca/commands/abstract_dsl.rb#210 + # source://tapioca//lib/tapioca/commands/abstract_dsl.rb#217 sig { params(name: ::String).returns(T.nilable(T.class_of(Tapioca::Dsl::Compiler))) } def resolve(name); end - # source://tapioca//lib/tapioca/commands/abstract_dsl.rb#344 + # source://tapioca//lib/tapioca/commands/abstract_dsl.rb#351 sig { params(class_name: ::String).returns(::String) } def underscore(class_name); end - # source://tapioca//lib/tapioca/commands/abstract_dsl.rb#274 + # source://tapioca//lib/tapioca/commands/abstract_dsl.rb#281 sig { params(tmp_dir: ::Pathname).returns(T::Hash[::String, ::Symbol]) } def verify_dsl_rbi(tmp_dir:); end end @@ -1151,7 +1179,7 @@ class Tapioca::ConfigHelper::ConfigError < ::T::Struct const :message_parts, T::Array[::Tapioca::ConfigHelper::ConfigErrorMessagePart] class << self - # source://sorbet-runtime/0.5.11823/lib/types/struct.rb#13 + # source://sorbet-runtime/0.5.11845/lib/types/struct.rb#13 def inherited(s); end end end @@ -1162,7 +1190,7 @@ class Tapioca::ConfigHelper::ConfigErrorMessagePart < ::T::Struct const :colors, T::Array[::Symbol] class << self - # source://sorbet-runtime/0.5.11823/lib/types/struct.rb#13 + # source://sorbet-runtime/0.5.11845/lib/types/struct.rb#13 def inherited(s); end end end @@ -1357,15 +1385,15 @@ class Tapioca::Dsl::Pipeline sig { returns(T::Enumerable[T.class_of(Tapioca::Dsl::Compiler)]) } def active_compilers; end - # source://tapioca//lib/tapioca/dsl/pipeline.rb#105 + # source://tapioca//lib/tapioca/dsl/pipeline.rb#110 sig { params(error: ::String).void } def add_error(error); end - # source://tapioca//lib/tapioca/dsl/pipeline.rb#110 + # source://tapioca//lib/tapioca/dsl/pipeline.rb#115 sig { params(compiler_name: ::String).returns(T::Boolean) } def compiler_enabled?(compiler_name); end - # source://tapioca//lib/tapioca/dsl/pipeline.rb#119 + # source://tapioca//lib/tapioca/dsl/pipeline.rb#124 sig { returns(T::Array[T.class_of(Tapioca::Dsl::Compiler)]) } def compilers; end @@ -1400,15 +1428,15 @@ class Tapioca::Dsl::Pipeline private - # source://tapioca//lib/tapioca/dsl/pipeline.rb#227 + # source://tapioca//lib/tapioca/dsl/pipeline.rb#231 sig { void } def abort_if_pending_migrations!; end - # source://tapioca//lib/tapioca/dsl/pipeline.rb#172 + # source://tapioca//lib/tapioca/dsl/pipeline.rb#177 sig { params(constants: T::Set[::Module]).returns(T::Set[::Module]) } def filter_anonymous_and_reloaded_constants(constants); end - # source://tapioca//lib/tapioca/dsl/pipeline.rb#136 + # source://tapioca//lib/tapioca/dsl/pipeline.rb#141 sig do params( requested_compilers: T::Array[T.class_of(Tapioca::Dsl::Compiler)], @@ -1417,7 +1445,7 @@ class Tapioca::Dsl::Pipeline end def gather_active_compilers(requested_compilers, excluded_compilers); end - # source://tapioca//lib/tapioca/dsl/pipeline.rb#150 + # source://tapioca//lib/tapioca/dsl/pipeline.rb#155 sig do params( requested_constants: T::Array[::Module], @@ -1427,12 +1455,12 @@ class Tapioca::Dsl::Pipeline end def gather_constants(requested_constants, requested_paths, skipped_constants); end - # source://tapioca//lib/tapioca/dsl/pipeline.rb#201 + # source://tapioca//lib/tapioca/dsl/pipeline.rb#206 sig { params(constant: ::Module).returns(T.nilable(::RBI::File)) } def rbi_for_constant(constant); end - # source://tapioca//lib/tapioca/dsl/pipeline.rb#220 - sig { params(error: ::String).returns(T.noreturn) } + # source://tapioca//lib/tapioca/dsl/pipeline.rb#225 + sig { params(error: ::String).void } def report_error(error); end end @@ -1866,7 +1894,7 @@ class Tapioca::Gem::Listeners::Subconstants < ::Tapioca::Gem::Listeners::Base private - # source://tapioca//lib/tapioca/gem/listeners/subconstants.rb#36 + # source://tapioca//lib/tapioca/gem/listeners/subconstants.rb#35 sig { override.params(event: ::Tapioca::Gem::NodeAdded).returns(T::Boolean) } def ignore?(event); end @@ -2236,7 +2264,7 @@ class Tapioca::GemInfo < ::T::Struct sig { params(spec: ::Bundler::LazySpecification).returns(::Tapioca::GemInfo) } def from_spec(spec); end - # source://sorbet-runtime/0.5.11823/lib/types/struct.rb#13 + # source://sorbet-runtime/0.5.11845/lib/types/struct.rb#13 def inherited(s); end end end From 936b9b5369f804002ddf2e151a712cac162d4991 Mon Sep 17 00:00:00 2001 From: Douglas Eichelberger Date: Sun, 23 Feb 2025 11:08:00 -0800 Subject: [PATCH 160/322] Move nil check inside demodulize --- Library/Homebrew/livecheck/livecheck.rb | 2 +- Library/Homebrew/livecheck/strategy/electron_builder.rb | 2 +- Library/Homebrew/livecheck/strategy/extract_plist.rb | 6 ++---- Library/Homebrew/livecheck/strategy/json.rb | 2 +- Library/Homebrew/livecheck/strategy/page_match.rb | 2 +- Library/Homebrew/livecheck/strategy/sparkle.rb | 2 +- Library/Homebrew/livecheck/strategy/xml.rb | 2 +- Library/Homebrew/livecheck/strategy/yaml.rb | 2 +- Library/Homebrew/test/utils_spec.rb | 4 ++++ Library/Homebrew/utils.rb | 5 ++++- 10 files changed, 17 insertions(+), 12 deletions(-) diff --git a/Library/Homebrew/livecheck/livecheck.rb b/Library/Homebrew/livecheck/livecheck.rb index 9467515486..d6be1c623c 100644 --- a/Library/Homebrew/livecheck/livecheck.rb +++ b/Library/Homebrew/livecheck/livecheck.rb @@ -31,7 +31,7 @@ module Homebrew sig { params(strategy_class: T::Class[T.anything]).returns(String) } private_class_method def self.livecheck_strategy_names(strategy_class) @livecheck_strategy_names ||= T.let({}, T.nilable(T::Hash[T::Class[T.anything], String])) - @livecheck_strategy_names[strategy_class] ||= Utils.demodulize(T.must(strategy_class.name)) + @livecheck_strategy_names[strategy_class] ||= Utils.demodulize(strategy_class.name) end # Uses `formulae_and_casks_to_check` to identify taps in use other than diff --git a/Library/Homebrew/livecheck/strategy/electron_builder.rb b/Library/Homebrew/livecheck/strategy/electron_builder.rb index ea68ab04ed..ef1c935c58 100644 --- a/Library/Homebrew/livecheck/strategy/electron_builder.rb +++ b/Library/Homebrew/livecheck/strategy/electron_builder.rb @@ -47,7 +47,7 @@ module Homebrew def self.find_versions(url:, regex: nil, provided_content: nil, **unused, &block) if regex.present? && block.blank? raise ArgumentError, - "#{Utils.demodulize(T.must(name))} only supports a regex when using a `strategy` block" + "#{Utils.demodulize(name)} only supports a regex when using a `strategy` block" end Yaml.find_versions( diff --git a/Library/Homebrew/livecheck/strategy/extract_plist.rb b/Library/Homebrew/livecheck/strategy/extract_plist.rb index e0778d01bc..be35992c4c 100644 --- a/Library/Homebrew/livecheck/strategy/extract_plist.rb +++ b/Library/Homebrew/livecheck/strategy/extract_plist.rb @@ -92,11 +92,9 @@ module Homebrew def self.find_versions(cask:, url: nil, regex: nil, **_unused, &block) if regex.present? && block.blank? raise ArgumentError, - "#{Utils.demodulize(T.must(name))} only supports a regex when using a `strategy` block" - end - unless T.unsafe(cask) - raise ArgumentError, "The #{Utils.demodulize(T.must(name))} strategy only supports casks." + "#{Utils.demodulize(name)} only supports a regex when using a `strategy` block" end + raise ArgumentError, "The #{Utils.demodulize(name)} strategy only supports casks." unless T.unsafe(cask) match_data = { matches: {}, regex:, url: } diff --git a/Library/Homebrew/livecheck/strategy/json.rb b/Library/Homebrew/livecheck/strategy/json.rb index e7ac5e51d4..af681d9730 100644 --- a/Library/Homebrew/livecheck/strategy/json.rb +++ b/Library/Homebrew/livecheck/strategy/json.rb @@ -107,7 +107,7 @@ module Homebrew ).returns(T::Hash[Symbol, T.untyped]) } def self.find_versions(url:, regex: nil, provided_content: nil, homebrew_curl: false, **unused, &block) - raise ArgumentError, "#{Utils.demodulize(T.must(name))} requires a `strategy` block" if block.blank? + raise ArgumentError, "#{Utils.demodulize(name)} requires a `strategy` block" if block.blank? match_data = { matches: {}, regex:, url: } return match_data if url.blank? || block.blank? diff --git a/Library/Homebrew/livecheck/strategy/page_match.rb b/Library/Homebrew/livecheck/strategy/page_match.rb index 7f2daaae1d..36397cd387 100644 --- a/Library/Homebrew/livecheck/strategy/page_match.rb +++ b/Library/Homebrew/livecheck/strategy/page_match.rb @@ -91,7 +91,7 @@ module Homebrew } def self.find_versions(url:, regex: nil, provided_content: nil, homebrew_curl: false, **unused, &block) if regex.blank? && block.blank? - raise ArgumentError, "#{Utils.demodulize(T.must(name))} requires a regex or `strategy` block" + raise ArgumentError, "#{Utils.demodulize(name)} requires a regex or `strategy` block" end match_data = { matches: {}, regex:, url: } diff --git a/Library/Homebrew/livecheck/strategy/sparkle.rb b/Library/Homebrew/livecheck/strategy/sparkle.rb index 6a298a14ae..fac81a6a79 100644 --- a/Library/Homebrew/livecheck/strategy/sparkle.rb +++ b/Library/Homebrew/livecheck/strategy/sparkle.rb @@ -228,7 +228,7 @@ module Homebrew def self.find_versions(url:, regex: nil, homebrew_curl: false, **unused, &block) if regex.present? && block.blank? raise ArgumentError, - "#{Utils.demodulize(T.must(name))} only supports a regex when using a `strategy` block" + "#{Utils.demodulize(name)} only supports a regex when using a `strategy` block" end match_data = { matches: {}, regex:, url: } diff --git a/Library/Homebrew/livecheck/strategy/xml.rb b/Library/Homebrew/livecheck/strategy/xml.rb index f0dfffa13e..08096a5102 100644 --- a/Library/Homebrew/livecheck/strategy/xml.rb +++ b/Library/Homebrew/livecheck/strategy/xml.rb @@ -147,7 +147,7 @@ module Homebrew ).returns(T::Hash[Symbol, T.untyped]) } def self.find_versions(url:, regex: nil, provided_content: nil, homebrew_curl: false, **unused, &block) - raise ArgumentError, "#{Utils.demodulize(T.must(name))} requires a `strategy` block" if block.blank? + raise ArgumentError, "#{Utils.demodulize(name)} requires a `strategy` block" if block.blank? match_data = { matches: {}, regex:, url: } return match_data if url.blank? || block.blank? diff --git a/Library/Homebrew/livecheck/strategy/yaml.rb b/Library/Homebrew/livecheck/strategy/yaml.rb index e3feaf02e5..0c89a14e17 100644 --- a/Library/Homebrew/livecheck/strategy/yaml.rb +++ b/Library/Homebrew/livecheck/strategy/yaml.rb @@ -107,7 +107,7 @@ module Homebrew ).returns(T::Hash[Symbol, T.untyped]) } def self.find_versions(url:, regex: nil, provided_content: nil, homebrew_curl: false, **unused, &block) - raise ArgumentError, "#{Utils.demodulize(T.must(name))} requires a `strategy` block" if block.blank? + raise ArgumentError, "#{Utils.demodulize(name)} requires a `strategy` block" if block.blank? match_data = { matches: {}, regex:, url: } return match_data if url.blank? || block.blank? diff --git a/Library/Homebrew/test/utils_spec.rb b/Library/Homebrew/test/utils_spec.rb index b8766fc9ac..466ef342d7 100644 --- a/Library/Homebrew/test/utils_spec.rb +++ b/Library/Homebrew/test/utils_spec.rb @@ -30,6 +30,10 @@ RSpec.describe Utils do expect(described_class.demodulize("")).to eq("") expect(described_class.demodulize("::")).to eq("") end + + it "raise an ArgumentError when passed nil" do + expect { described_class.demodulize(nil) }.to raise_error(ArgumentError) + end end specify ".parse_author!" do diff --git a/Library/Homebrew/utils.rb b/Library/Homebrew/utils.rb index 704162ead7..3c61fba3df 100644 --- a/Library/Homebrew/utils.rb +++ b/Library/Homebrew/utils.rb @@ -97,8 +97,11 @@ module Utils # See also #deconstantize. # @see https://github.com/rails/rails/blob/b0dd7c7/activesupport/lib/active_support/inflector/methods.rb#L230-L245 # `ActiveSupport::Inflector.demodulize` - sig { params(path: String).returns(String) } + # @raise [ArgumentError] if the provided path is nil + sig { params(path: T.nilable(String)).returns(String) } def self.demodulize(path) + raise ArgumentError, "No constant path provided" if path.nil? + if (i = path.rindex("::")) T.must(path[(i + 2)..]) else From 571da4916569956cbc9c26371cc9c994232bdbb5 Mon Sep 17 00:00:00 2001 From: Adrian Ho Date: Tue, 25 Feb 2025 19:10:25 +0800 Subject: [PATCH 161/322] diagnostic: fix call to missing_dependencies Followup to #19323. --- Library/Homebrew/diagnostic.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Library/Homebrew/diagnostic.rb b/Library/Homebrew/diagnostic.rb index 8ff7381748..67c53b1f4f 100644 --- a/Library/Homebrew/diagnostic.rb +++ b/Library/Homebrew/diagnostic.rb @@ -16,10 +16,10 @@ require "system_command" module Homebrew # Module containing diagnostic checks. module Diagnostic - def self.missing_deps(formulae, hide = nil) + def self.missing_deps(formulae, hide = []) missing = {} formulae.each do |f| - missing_dependencies = f.missing_dependencies(hide:) + missing_dependencies = f.missing_dependencies(hide: hide) next if missing_dependencies.empty? yield f.full_name, missing_dependencies if block_given? From 9e04d9cb343b1e949ebc6f066ce1ff195fe55b5b Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Tue, 25 Feb 2025 14:00:34 +0000 Subject: [PATCH 162/322] .github/ISSUE_TEMPLATE/*: use issue types. These are new and shiny so let's use them. --- .github/ISSUE_TEMPLATE/bug.yml | 2 +- .github/ISSUE_TEMPLATE/feature.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug.yml b/.github/ISSUE_TEMPLATE/bug.yml index 20f8839f1c..3e115fa9b2 100644 --- a/.github/ISSUE_TEMPLATE/bug.yml +++ b/.github/ISSUE_TEMPLATE/bug.yml @@ -1,6 +1,6 @@ name: New issue for Reproducible Bug description: "If you're sure it's reproducible and not just your machine: submit an issue so we can investigate." -labels: [bug] +type: "Bug" body: - type: markdown attributes: diff --git a/.github/ISSUE_TEMPLATE/feature.yml b/.github/ISSUE_TEMPLATE/feature.yml index b96a27f18b..fa8cbb4b38 100644 --- a/.github/ISSUE_TEMPLATE/feature.yml +++ b/.github/ISSUE_TEMPLATE/feature.yml @@ -1,6 +1,6 @@ name: New issue for Feature Suggestion description: Request our thoughts on your suggestion for a new feature for Homebrew. -labels: features +type: "Feature" body: - type: markdown attributes: From b1559f38a0decdf536f90abfde496cf8dbc72a7e Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Tue, 25 Feb 2025 15:34:49 +0000 Subject: [PATCH 163/322] Add `HOMEBREW_UPGRADE_GREEDY_CASKS` A space-separated list of casks. Homebrew will act as if `--greedy` was passed when upgrading any cask on this list. --- Library/Homebrew/cask/upgrade.rb | 11 +++++++++-- Library/Homebrew/env_config.rb | 4 ++++ .../Homebrew/sorbet/rbi/dsl/homebrew/env_config.rbi | 3 +++ 3 files changed, 16 insertions(+), 2 deletions(-) diff --git a/Library/Homebrew/cask/upgrade.rb b/Library/Homebrew/cask/upgrade.rb index 6e60b2415a..b6a077de52 100644 --- a/Library/Homebrew/cask/upgrade.rb +++ b/Library/Homebrew/cask/upgrade.rb @@ -42,9 +42,16 @@ module Cask greedy = true if Homebrew::EnvConfig.upgrade_greedy? + greedy_casks = if (upgrade_greedy_casks = Homebrew::EnvConfig.upgrade_greedy_casks.presence) + upgrade_greedy_casks.split + else + [] + end + outdated_casks = if casks.empty? Caskroom.casks(config: Config.from_args(args)).select do |cask| - cask.outdated?(greedy:, greedy_latest:, + cask_greedy = greedy || greedy_casks.include?(cask.token) + cask.outdated?(greedy: cask_greedy, greedy_latest:, greedy_auto_updates:) end else @@ -78,7 +85,7 @@ module Cask return false if outdated_casks.empty? - if casks.empty? && !greedy + if casks.empty? && !greedy && greedy_casks.empty? if !greedy_auto_updates && !greedy_latest ohai "Casks with 'auto_updates true' or 'version :latest' " \ "will not be upgraded; pass `--greedy` to upgrade them." diff --git a/Library/Homebrew/env_config.rb b/Library/Homebrew/env_config.rb index 1157ad0780..d44acc84b8 100644 --- a/Library/Homebrew/env_config.rb +++ b/Library/Homebrew/env_config.rb @@ -486,6 +486,10 @@ module Homebrew description: "If set, pass `--greedy` to all cask upgrade commands.", boolean: true, }, + HOMEBREW_UPGRADE_GREEDY_CASKS: { + description: "A space-separated list of casks. Homebrew will act as " \ + "if `--greedy` was passed when upgrading any cask on this list.", + }, HOMEBREW_VERBOSE: { description: "If set, always assume `--verbose` when running commands.", boolean: true, diff --git a/Library/Homebrew/sorbet/rbi/dsl/homebrew/env_config.rbi b/Library/Homebrew/sorbet/rbi/dsl/homebrew/env_config.rbi index bc71d5feb7..2e4bfabb92 100644 --- a/Library/Homebrew/sorbet/rbi/dsl/homebrew/env_config.rbi +++ b/Library/Homebrew/sorbet/rbi/dsl/homebrew/env_config.rbi @@ -307,6 +307,9 @@ module Homebrew::EnvConfig sig { returns(T::Boolean) } def upgrade_greedy?; end + sig { returns(T.nilable(::String)) } + def upgrade_greedy_casks; end + sig { returns(T::Boolean) } def verbose?; end From b6eb9453204f0b4910956aeb9b1aee1974a132d1 Mon Sep 17 00:00:00 2001 From: Sam Ford <1584702+samford@users.noreply.github.com> Date: Tue, 11 Feb 2025 18:04:38 -0500 Subject: [PATCH 164/322] livecheck: Add Options class This adds a `Livecheck::Options` class, which is intended to house various configuration options that are set in `livecheck` blocks, conditionally set by livecheck at runtime, etc. The general idea is that when we add features involving configurations options (e.g., for livecheck, strategies, curl, etc.), we can make changes to `Options` without needing to modify parameters for strategy `find_versions` methods, `Strategy` methods like `page_headers` and `page_content`, etc. This is something that I've been trying to improve over the years and `Options` should help to reduce maintenance overhead in this area while also strengthening type signatures. `Options` replaces the existing `homebrew_curl` option (which related strategies pass to `Strategy` methods and on to `curl_args`) and the new `url_options` (which contains `post_form` or `post_json` values that are used to make `POST` requests). I recently added `url_options` as a temporary way of enabling `POST` support without `Options` but this restores the original `Options`-based implementation. Along the way, I added a `homebrew_curl` parameter to the `url` DSL method, allowing us to set an explicit value in `livecheck` blocks. This is something that we've needed in some cases but I also intend to replace implicit/inferred `homebrew_curl` usage with explicit values in `livecheck` blocks once this is available for use. My intention is to eventually remove the implicit behavior and only rely on explicit values. That will align with how `homebrew_curl` options work for other URLs and makes the behavior clear just from looking at the `livecheck` block. Lastly, this removes the `unused` rest parameter from `find_versions` methods. I originally added `unused` as a way of handling parameters that some `find_versions` methods have but others don't (e.g., `cask` in `ExtractPlist`), as this allowed us to pass various arguments to `find_versions` methods without worrying about whether a particular parameter is available. This isn't an ideal solution and I originally wanted to handle this situation by only passing expected arguments to `find_versions` methods but there was a technical issue standing in the way. I recently found an answer to the issue, so this also replaces the existing `ExtractPlist` special case with generic logic that checks the parameters for a strategy's `find_versions` method and only passes expected arguments. Replacing the aforementioned `find_versions` parameters with `Options` ensures that the remaining parameters are fairly consistent across strategies and any differences are handled by the aforementioned logic. Outside of `ExtractPlist`, the only other difference is that some `find_versions` methods have a `provided_content` parameter but that's currently only used by tests (though it's intended for caching support in the future). I will be renaming that parameter to `content` in an upcoming PR and expanding it to the other strategies, which should make them all consistent outside of `ExtractPlist`. --- Library/Homebrew/livecheck.rb | 48 ++++---- Library/Homebrew/livecheck/livecheck.rb | 79 ++++++++----- Library/Homebrew/livecheck/options.rb | 110 ++++++++++++++++++ Library/Homebrew/livecheck/strategy.rb | 45 +++---- Library/Homebrew/livecheck/strategy/apache.rb | 18 ++- .../Homebrew/livecheck/strategy/bitbucket.rb | 18 ++- Library/Homebrew/livecheck/strategy/cpan.rb | 18 ++- Library/Homebrew/livecheck/strategy/crate.rb | 15 +-- .../livecheck/strategy/electron_builder.rb | 7 +- .../livecheck/strategy/extract_plist.rb | 5 +- Library/Homebrew/livecheck/strategy/git.rb | 5 +- .../livecheck/strategy/github_latest.rb | 5 +- .../livecheck/strategy/github_releases.rb | 5 +- Library/Homebrew/livecheck/strategy/gnome.rb | 17 +-- Library/Homebrew/livecheck/strategy/gnu.rb | 18 ++- .../Homebrew/livecheck/strategy/hackage.rb | 18 ++- .../livecheck/strategy/header_match.rb | 19 ++- Library/Homebrew/livecheck/strategy/json.rb | 15 +-- .../Homebrew/livecheck/strategy/launchpad.rb | 18 ++- Library/Homebrew/livecheck/strategy/npm.rb | 18 ++- .../Homebrew/livecheck/strategy/page_match.rb | 15 +-- Library/Homebrew/livecheck/strategy/pypi.rb | 7 +- .../livecheck/strategy/sourceforge.rb | 17 +-- .../Homebrew/livecheck/strategy/sparkle.rb | 21 ++-- Library/Homebrew/livecheck/strategy/xml.rb | 15 +-- Library/Homebrew/livecheck/strategy/xorg.rb | 13 ++- Library/Homebrew/livecheck/strategy/yaml.rb | 15 +-- .../Homebrew/test/livecheck/options_spec.rb | 106 +++++++++++++++++ .../Homebrew/test/livecheck/strategy_spec.rb | 22 +++- Library/Homebrew/test/livecheck_spec.rb | 33 +++--- 30 files changed, 515 insertions(+), 250 deletions(-) create mode 100644 Library/Homebrew/livecheck/options.rb create mode 100644 Library/Homebrew/test/livecheck/options_spec.rb diff --git a/Library/Homebrew/livecheck.rb b/Library/Homebrew/livecheck.rb index efdf5339fe..98a48ce49d 100644 --- a/Library/Homebrew/livecheck.rb +++ b/Library/Homebrew/livecheck.rb @@ -2,6 +2,7 @@ # frozen_string_literal: true require "livecheck/constants" +require "livecheck/options" require "cask/cask" # The {Livecheck} class implements the DSL methods used in a formula's, cask's @@ -15,6 +16,10 @@ require "cask/cask" class Livecheck extend Forwardable + # Options to modify livecheck's behavior. + sig { returns(Homebrew::Livecheck::Options) } + attr_reader :options + # A very brief description of why the formula/cask/resource is skipped (e.g. # `No longer developed or maintained`). sig { returns(T.nilable(String)) } @@ -24,13 +29,10 @@ class Livecheck sig { returns(T.nilable(Proc)) } attr_reader :strategy_block - # Options used by `Strategy` methods to modify `curl` behavior. - sig { returns(T.nilable(T::Hash[Symbol, T.untyped])) } - attr_reader :url_options - sig { params(package_or_resource: T.any(Cask::Cask, T.class_of(Formula), Resource)).void } def initialize(package_or_resource) @package_or_resource = package_or_resource + @options = T.let(Homebrew::Livecheck::Options.new, Homebrew::Livecheck::Options) @referenced_cask_name = T.let(nil, T.nilable(String)) @referenced_formula_name = T.let(nil, T.nilable(String)) @regex = T.let(nil, T.nilable(Regexp)) @@ -40,7 +42,6 @@ class Livecheck @strategy_block = T.let(nil, T.nilable(Proc)) @throttle = T.let(nil, T.nilable(Integer)) @url = T.let(nil, T.any(NilClass, String, Symbol)) - @url_options = T.let(nil, T.nilable(T::Hash[Symbol, T.untyped])) end # Sets the `@referenced_cask_name` instance variable to the provided `String` @@ -169,16 +170,22 @@ class Livecheck sig { params( # URL to check for version information. - url: T.any(String, Symbol), - post_form: T.nilable(T::Hash[Symbol, String]), - post_json: T.nilable(T::Hash[Symbol, String]), + url: T.any(String, Symbol), + homebrew_curl: T.nilable(T::Boolean), + post_form: T.nilable(T::Hash[Symbol, String]), + post_json: T.nilable(T::Hash[Symbol, String]), ).returns(T.nilable(T.any(String, Symbol))) } - def url(url = T.unsafe(nil), post_form: nil, post_json: nil) + def url(url = T.unsafe(nil), homebrew_curl: nil, post_form: nil, post_json: nil) raise ArgumentError, "Only use `post_form` or `post_json`, not both" if post_form && post_json - options = { post_form:, post_json: }.compact - @url_options = options if options.present? + if homebrew_curl || post_form || post_json + @options = @options.merge({ + homebrew_curl:, + post_form:, + post_json:, + }.compact) + end case url when nil @@ -190,6 +197,7 @@ class Livecheck end end + delegate url_options: :@options delegate version: :@package_or_resource delegate arch: :@package_or_resource private :version, :arch @@ -198,15 +206,15 @@ class Livecheck sig { returns(T::Hash[String, T.untyped]) } def to_hash { - "cask" => @referenced_cask_name, - "formula" => @referenced_formula_name, - "regex" => @regex, - "skip" => @skip, - "skip_msg" => @skip_msg, - "strategy" => @strategy, - "throttle" => @throttle, - "url" => @url, - "url_options" => @url_options, + "options" => @options.to_hash, + "cask" => @referenced_cask_name, + "formula" => @referenced_formula_name, + "regex" => @regex, + "skip" => @skip, + "skip_msg" => @skip_msg, + "strategy" => @strategy, + "throttle" => @throttle, + "url" => @url, } end end diff --git a/Library/Homebrew/livecheck/livecheck.rb b/Library/Homebrew/livecheck/livecheck.rb index d6be1c623c..fb3c4946da 100644 --- a/Library/Homebrew/livecheck/livecheck.rb +++ b/Library/Homebrew/livecheck/livecheck.rb @@ -34,6 +34,24 @@ module Homebrew @livecheck_strategy_names[strategy_class] ||= Utils.demodulize(strategy_class.name) end + sig { returns(T::Hash[T::Class[T.anything], T::Array[Symbol]]) } + private_class_method def self.livecheck_find_versions_parameters + return T.must(@livecheck_find_versions_parameters) if defined?(@livecheck_find_versions_parameters) + + # Cache strategy `find_versions` method parameters, to avoid repeating + # this work + @livecheck_find_versions_parameters = T.let({}, T.nilable(T::Hash[T::Class[T.anything], T::Array[Symbol]])) + Strategy.constants.sort.each do |const_symbol| + constant = Strategy.const_get(const_symbol) + next unless constant.is_a?(Class) + + T.must(@livecheck_find_versions_parameters)[constant] = + T::Utils.signature_for_method(constant.method(:find_versions)) + &.parameters&.map(&:second) + end + T.must(@livecheck_find_versions_parameters).freeze + end + # Uses `formulae_and_casks_to_check` to identify taps in use other than # homebrew/core and homebrew/cask and loads strategies from them. sig { params(formulae_and_casks_to_check: T::Array[T.any(Formula, Cask::Cask)]).void } @@ -613,8 +631,9 @@ module Homebrew livecheck = formula_or_cask.livecheck referenced_livecheck = referenced_formula_or_cask&.livecheck + livecheck_options = livecheck.options || referenced_livecheck&.options + livecheck_url_options = livecheck_options.url_options.compact livecheck_url = livecheck.url || referenced_livecheck&.url - livecheck_url_options = livecheck.url_options || referenced_livecheck&.url_options livecheck_regex = livecheck.regex || referenced_livecheck&.regex livecheck_strategy = livecheck.strategy || referenced_livecheck&.strategy livecheck_strategy_block = livecheck.strategy_block || referenced_livecheck&.strategy_block @@ -676,8 +695,8 @@ module Homebrew elsif original_url.present? && original_url != "None" puts "URL: #{original_url}" end - puts "URL Options: #{livecheck_url_options}" if livecheck_url_options.present? puts "URL (processed): #{url}" if url != original_url + puts "URL Options: #{livecheck_url_options}" if livecheck_url_options.present? if strategies.present? && verbose puts "Strategies: #{strategies.map { |s| livecheck_strategy_names(s) }.join(", ")}" end @@ -697,23 +716,25 @@ module Homebrew next if strategy.blank? - homebrew_curl = case strategy_name - when "PageMatch", "HeaderMatch" - use_homebrew_curl?(referenced_package, url) + if (livecheck_homebrew_curl = livecheck_options.homebrew_curl).nil? + case strategy_name + when "PageMatch", "HeaderMatch" + if (homebrew_curl = use_homebrew_curl?(referenced_package, url)) + livecheck_options = livecheck_options.merge({ homebrew_curl: }) + livecheck_homebrew_curl = homebrew_curl + end + end end - puts "Homebrew curl?: Yes" if debug && homebrew_curl.present? + puts "Homebrew curl?: #{livecheck_homebrew_curl ? "Yes" : "No"}" if debug && !livecheck_homebrew_curl.nil? - strategy_args = { - regex: livecheck_regex, - url_options: livecheck_url_options, - homebrew_curl:, - } - # TODO: Set `cask`/`url` args based on the presence of the keyword arg - # in the strategy's `#find_versions` method once we figure out why - # `strategy.method(:find_versions).parameters` isn't working as - # expected. - strategy_args[:cask] = cask if strategy_name == "ExtractPlist" && cask.present? - strategy_args[:url] = url + # Only use arguments that the strategy's `#find_versions` method + # supports + find_versions_parameters = T.must(livecheck_find_versions_parameters[strategy]) + strategy_args = {} + strategy_args[:cask] = cask if find_versions_parameters.include?(:cask) + strategy_args[:url] = url if find_versions_parameters.include?(:url) + strategy_args[:regex] = livecheck_regex if find_versions_parameters.include?(:regex) + strategy_args[:options] = livecheck_options if find_versions_parameters.include?(:options) strategy_args.compact! strategy_data = strategy.find_versions(**strategy_args, &livecheck_strategy_block) @@ -813,7 +834,6 @@ module Homebrew end version_info[:meta][:url][:final] = strategy_data[:final_url] if strategy_data[:final_url] version_info[:meta][:url][:options] = livecheck_url_options if livecheck_url_options.present? - version_info[:meta][:url][:homebrew_curl] = homebrew_curl if homebrew_curl.present? end version_info[:meta][:strategy] = strategy_name if strategy.present? version_info[:meta][:strategies] = strategies.map { |s| livecheck_strategy_names(s) } if strategies.present? @@ -860,9 +880,10 @@ module Homebrew resource_version_info = {} livecheck = resource.livecheck + livecheck_options = livecheck.options + livecheck_url_options = livecheck_options.url_options.compact livecheck_reference = livecheck.formula livecheck_url = livecheck.url - livecheck_url_options = livecheck.url_options livecheck_regex = livecheck.regex livecheck_strategy = livecheck.strategy livecheck_strategy_block = livecheck.strategy_block @@ -902,8 +923,8 @@ module Homebrew elsif original_url.present? && original_url != "None" puts "URL: #{original_url}" end - puts "URL Options: #{livecheck_url_options}" if livecheck_url_options.present? puts "URL (processed): #{url}" if url != original_url + puts "URL Options: #{livecheck_url_options}" if livecheck_url_options.present? if strategies.present? && verbose puts "Strategies: #{strategies.map { |s| livecheck_strategy_names(s) }.join(", ")}" end @@ -926,16 +947,22 @@ module Homebrew puts if debug && strategy.blank? && livecheck_reference != :parent next if strategy.blank? && livecheck_reference != :parent + if debug && !(livecheck_homebrew_curl = livecheck_options.homebrew_curl).nil? + puts "Homebrew curl?: #{livecheck_homebrew_curl ? "Yes" : "No"}" + end + if livecheck_reference == :parent match_version_map = { formula_latest => Version.new(formula_latest) } cached = true else - strategy_args = { - url:, - regex: livecheck_regex, - url_options: livecheck_url_options, - homebrew_curl: false, - }.compact + # Only use arguments that the strategy's `#find_versions` method + # supports + find_versions_parameters = T.must(livecheck_find_versions_parameters[strategy]) + strategy_args = {} + strategy_args[:url] = url if find_versions_parameters.include?(:url) + strategy_args[:regex] = livecheck_regex if find_versions_parameters.include?(:regex) + strategy_args[:options] = livecheck_options if find_versions_parameters.include?(:options) + strategy_args.compact! strategy_data = strategy.find_versions(**strategy_args, &livecheck_strategy_block) match_version_map = strategy_data[:matches] diff --git a/Library/Homebrew/livecheck/options.rb b/Library/Homebrew/livecheck/options.rb new file mode 100644 index 0000000000..8e8c421758 --- /dev/null +++ b/Library/Homebrew/livecheck/options.rb @@ -0,0 +1,110 @@ +# typed: strict +# frozen_string_literal: true + +module Homebrew + module Livecheck + # Options to modify livecheck's behavior. These primarily come from + # `livecheck` blocks but they can also be set by livecheck at runtime. + # + # Option values use a `nil` default to indicate that the value has not been + # set. + class Options + # Whether to use brewed curl. + sig { returns(T.nilable(T::Boolean)) } + attr_reader :homebrew_curl + + # Form data to use when making a `POST` request. + sig { returns(T.nilable(T::Hash[Symbol, String])) } + attr_reader :post_form + + # JSON data to use when making a `POST` request. + sig { returns(T.nilable(T::Hash[Symbol, String])) } + attr_reader :post_json + + # @param homebrew_curl whether to use brewed curl + # @param post_form form data to use when making a `POST` request + # @param post_json JSON data to use when making a `POST` request + sig { + params( + homebrew_curl: T.nilable(T::Boolean), + post_form: T.nilable(T::Hash[Symbol, String]), + post_json: T.nilable(T::Hash[Symbol, String]), + ).void + } + def initialize(homebrew_curl: nil, post_form: nil, post_json: nil) + @homebrew_curl = homebrew_curl + @post_form = post_form + @post_json = post_json + end + + # Returns a `Hash` of options that are provided as arguments to `url`. + sig { returns(T::Hash[Symbol, T.untyped]) } + def url_options + { + homebrew_curl:, + post_form:, + post_json:, + } + end + + # Returns a `Hash` of all instance variables, using `Symbol` keys. + sig { returns(T::Hash[Symbol, T.untyped]) } + def to_h + { + homebrew_curl:, + post_form:, + post_json:, + } + end + + # Returns a `Hash` of all instance variables, using `String` keys. + sig { returns(T::Hash[String, T.untyped]) } + def to_hash + { + "homebrew_curl" => @homebrew_curl, + "post_form" => @post_form, + "post_json" => @post_json, + } + end + + # Returns a new object formed by merging `other` values with a copy of + # `self`. + # + # `nil` values are removed from `other` before merging if it is an + # `Options` object, as these are unitiailized values. This ensures that + # existing values in `self` aren't unexpectedly overwritten with defaults. + sig { params(other: T.any(Options, T::Hash[Symbol, T.untyped])).returns(Options) } + def merge(other) + return dup if other.empty? + + this_hash = to_h + other_hash = other.is_a?(Options) ? other.to_h.compact : other + return dup if this_hash == other_hash + + new_options = this_hash.merge(other_hash) + Options.new(**new_options) + end + + sig { params(other: T.untyped).returns(T::Boolean) } + def ==(other) + instance_of?(other.class) && + @homebrew_curl == other.homebrew_curl && + @post_form == other.post_form && + @post_json == other.post_json + end + alias eql? == + + # Whether the object has only default values. + sig { returns(T::Boolean) } + def empty? + @homebrew_curl.nil? && @post_form.nil? && @post_json.nil? + end + + # Whether the object has any non-default values. + sig { returns(T::Boolean) } + def present? + !@homebrew_curl.nil? || !@post_form.nil? || !@post_json.nil? + end + end + end +end diff --git a/Library/Homebrew/livecheck/strategy.rb b/Library/Homebrew/livecheck/strategy.rb index d591a7b7e9..56d0ecb168 100644 --- a/Library/Homebrew/livecheck/strategy.rb +++ b/Library/Homebrew/livecheck/strategy.rb @@ -2,6 +2,7 @@ # frozen_string_literal: true require "utils/curl" +require "livecheck/options" module Homebrew module Livecheck @@ -193,23 +194,16 @@ module Homebrew # collected into an array of hashes. # # @param url [String] the URL to fetch - # @param url_options [Hash] options to modify curl behavior - # @param homebrew_curl [Boolean] whether to use brewed curl with the URL + # @param options [Options] options to modify behavior # @return [Array] - sig { - params( - url: String, - url_options: T::Hash[Symbol, T.untyped], - homebrew_curl: T::Boolean, - ).returns(T::Array[T::Hash[String, String]]) - } - def self.page_headers(url, url_options: {}, homebrew_curl: false) + sig { params(url: String, options: Options).returns(T::Array[T::Hash[String, String]]) } + def self.page_headers(url, options: Options.new) headers = [] - if url_options[:post_form].present? || url_options[:post_json].present? + if options.post_form || options.post_json curl_post_args = ["--request", "POST", *post_args( - post_form: url_options[:post_form], - post_json: url_options[:post_json], + post_form: options.post_form, + post_json: options.post_json, )] end @@ -221,7 +215,7 @@ module Homebrew MAX_REDIRECTIONS.to_s, url, wanted_headers: ["location", "content-disposition"], - use_homebrew_curl: homebrew_curl, + use_homebrew_curl: options.homebrew_curl || false, user_agent:, **DEFAULT_CURL_OPTIONS, ) @@ -242,21 +236,14 @@ module Homebrew # array with the error message instead. # # @param url [String] the URL of the content to check - # @param url_options [Hash] options to modify curl behavior - # @param homebrew_curl [Boolean] whether to use brewed curl with the URL + # @param options [Options] options to modify behavior # @return [Hash] - sig { - params( - url: String, - url_options: T::Hash[Symbol, T.untyped], - homebrew_curl: T::Boolean, - ).returns(T::Hash[Symbol, T.untyped]) - } - def self.page_content(url, url_options: {}, homebrew_curl: false) - if url_options[:post_form].present? || url_options[:post_json].present? + sig { params(url: String, options: Options).returns(T::Hash[Symbol, T.untyped]) } + def self.page_content(url, options: Options.new) + if options.post_form || options.post_json curl_post_args = ["--request", "POST", *post_args( - post_form: url_options[:post_form], - post_json: url_options[:post_json], + post_form: options.post_form, + post_json: options.post_json, )] end @@ -266,7 +253,9 @@ module Homebrew *curl_post_args, *PAGE_CONTENT_CURL_ARGS, url, **DEFAULT_CURL_OPTIONS, - use_homebrew_curl: homebrew_curl || !curl_supports_fail_with_body?, + use_homebrew_curl: options.homebrew_curl || + !curl_supports_fail_with_body? || + false, user_agent: ) next unless status.success? diff --git a/Library/Homebrew/livecheck/strategy/apache.rb b/Library/Homebrew/livecheck/strategy/apache.rb index 9c3554d398..f42c50495c 100644 --- a/Library/Homebrew/livecheck/strategy/apache.rb +++ b/Library/Homebrew/livecheck/strategy/apache.rb @@ -85,19 +85,25 @@ module Homebrew # # @param url [String] the URL of the content to check # @param regex [Regexp] a regex used for matching versions in content + # @param options [Options] options to modify behavior # @return [Hash] sig { params( - url: String, - regex: T.nilable(Regexp), - unused: T.untyped, - block: T.nilable(Proc), + url: String, + regex: T.nilable(Regexp), + options: Options, + block: T.nilable(Proc), ).returns(T::Hash[Symbol, T.untyped]) } - def self.find_versions(url:, regex: nil, **unused, &block) + def self.find_versions(url:, regex: nil, options: Options.new, &block) generated = generate_input_values(url) - PageMatch.find_versions(url: generated[:url], regex: regex || generated[:regex], **unused, &block) + PageMatch.find_versions( + url: generated[:url], + regex: regex || generated[:regex], + options:, + &block + ) end end end diff --git a/Library/Homebrew/livecheck/strategy/bitbucket.rb b/Library/Homebrew/livecheck/strategy/bitbucket.rb index 56a53b18c5..47928faf59 100644 --- a/Library/Homebrew/livecheck/strategy/bitbucket.rb +++ b/Library/Homebrew/livecheck/strategy/bitbucket.rb @@ -93,19 +93,25 @@ module Homebrew # # @param url [String] the URL of the content to check # @param regex [Regexp] a regex used for matching versions in content + # @param options [Options] options to modify behavior # @return [Hash] sig { params( - url: String, - regex: T.nilable(Regexp), - unused: T.untyped, - block: T.nilable(Proc), + url: String, + regex: T.nilable(Regexp), + options: Options, + block: T.nilable(Proc), ).returns(T::Hash[Symbol, T.untyped]) } - def self.find_versions(url:, regex: nil, **unused, &block) + def self.find_versions(url:, regex: nil, options: Options.new, &block) generated = generate_input_values(url) - PageMatch.find_versions(url: generated[:url], regex: regex || generated[:regex], **unused, &block) + PageMatch.find_versions( + url: generated[:url], + regex: regex || generated[:regex], + options:, + &block + ) end end end diff --git a/Library/Homebrew/livecheck/strategy/cpan.rb b/Library/Homebrew/livecheck/strategy/cpan.rb index 828e4034d3..528817e911 100644 --- a/Library/Homebrew/livecheck/strategy/cpan.rb +++ b/Library/Homebrew/livecheck/strategy/cpan.rb @@ -72,19 +72,25 @@ module Homebrew # # @param url [String] the URL of the content to check # @param regex [Regexp] a regex used for matching versions in content + # @param options [Options] options to modify behavior # @return [Hash] sig { params( - url: String, - regex: T.nilable(Regexp), - unused: T.untyped, - block: T.nilable(Proc), + url: String, + regex: T.nilable(Regexp), + options: Options, + block: T.nilable(Proc), ).returns(T::Hash[Symbol, T.untyped]) } - def self.find_versions(url:, regex: nil, **unused, &block) + def self.find_versions(url:, regex: nil, options: Options.new, &block) generated = generate_input_values(url) - PageMatch.find_versions(url: generated[:url], regex: regex || generated[:regex], **unused, &block) + PageMatch.find_versions( + url: generated[:url], + regex: regex || generated[:regex], + options:, + &block + ) end end end diff --git a/Library/Homebrew/livecheck/strategy/crate.rb b/Library/Homebrew/livecheck/strategy/crate.rb index e37e3da27d..fbe7a862fa 100644 --- a/Library/Homebrew/livecheck/strategy/crate.rb +++ b/Library/Homebrew/livecheck/strategy/crate.rb @@ -73,19 +73,18 @@ module Homebrew # @param regex [Regexp, nil] a regex for matching versions in content # @param provided_content [String, nil] content to check instead of # fetching - # @param homebrew_curl [Boolean] whether to use brewed curl with the URL + # @param options [Options] options to modify behavior # @return [Hash] sig { params( url: String, regex: T.nilable(Regexp), provided_content: T.nilable(String), - homebrew_curl: T::Boolean, - unused: T.untyped, + options: Options, block: T.nilable(Proc), ).returns(T::Hash[Symbol, T.untyped]) } - def self.find_versions(url:, regex: nil, provided_content: nil, homebrew_curl: false, **unused, &block) + def self.find_versions(url:, regex: nil, provided_content: nil, options: Options.new, &block) match_data = { matches: {}, regex:, url: } match_data[:cached] = true if provided_content.is_a?(String) @@ -97,13 +96,7 @@ module Homebrew content = if provided_content provided_content else - match_data.merge!( - Strategy.page_content( - match_data[:url], - url_options: unused.fetch(:url_options, {}), - homebrew_curl:, - ), - ) + match_data.merge!(Strategy.page_content(match_data[:url], options:)) match_data[:content] end return match_data unless content diff --git a/Library/Homebrew/livecheck/strategy/electron_builder.rb b/Library/Homebrew/livecheck/strategy/electron_builder.rb index ef1c935c58..b499ac892b 100644 --- a/Library/Homebrew/livecheck/strategy/electron_builder.rb +++ b/Library/Homebrew/livecheck/strategy/electron_builder.rb @@ -34,17 +34,18 @@ module Homebrew # @param regex [Regexp, nil] a regex used for matching versions # @param provided_content [String, nil] content to use in place of # fetching via `Strategy#page_content` + # @param options [Options] options to modify behavior # @return [Hash] sig { params( url: String, regex: T.nilable(Regexp), provided_content: T.nilable(String), - unused: T.untyped, + options: Options, block: T.nilable(Proc), ).returns(T::Hash[Symbol, T.untyped]) } - def self.find_versions(url:, regex: nil, provided_content: nil, **unused, &block) + def self.find_versions(url:, regex: nil, provided_content: nil, options: Options.new, &block) if regex.present? && block.blank? raise ArgumentError, "#{Utils.demodulize(name)} only supports a regex when using a `strategy` block" @@ -54,7 +55,7 @@ module Homebrew url:, regex:, provided_content:, - **unused, + options:, &block || proc { |yaml| yaml["version"] } ) end diff --git a/Library/Homebrew/livecheck/strategy/extract_plist.rb b/Library/Homebrew/livecheck/strategy/extract_plist.rb index be35992c4c..c35217a9db 100644 --- a/Library/Homebrew/livecheck/strategy/extract_plist.rb +++ b/Library/Homebrew/livecheck/strategy/extract_plist.rb @@ -79,17 +79,18 @@ module Homebrew # @param url [String, nil] an alternative URL to check for version # information # @param regex [Regexp, nil] a regex for use in a strategy block + # @param options [Options] options to modify behavior # @return [Hash] sig { params( cask: Cask::Cask, url: T.nilable(String), regex: T.nilable(Regexp), - _unused: T.untyped, + options: Options, block: T.nilable(Proc), ).returns(T::Hash[Symbol, T.untyped]) } - def self.find_versions(cask:, url: nil, regex: nil, **_unused, &block) + def self.find_versions(cask:, url: nil, regex: nil, options: Options.new, &block) if regex.present? && block.blank? raise ArgumentError, "#{Utils.demodulize(name)} only supports a regex when using a `strategy` block" diff --git a/Library/Homebrew/livecheck/strategy/git.rb b/Library/Homebrew/livecheck/strategy/git.rb index b263404888..3af4e8f2c1 100644 --- a/Library/Homebrew/livecheck/strategy/git.rb +++ b/Library/Homebrew/livecheck/strategy/git.rb @@ -186,16 +186,17 @@ module Homebrew # # @param url [String] the URL of the Git repository to check # @param regex [Regexp, nil] a regex used for matching versions + # @param options [Options] options to modify behavior # @return [Hash] sig { params( url: String, regex: T.nilable(Regexp), - _unused: T.untyped, + options: Options, block: T.nilable(Proc), ).returns(T::Hash[Symbol, T.untyped]) } - def self.find_versions(url:, regex: nil, **_unused, &block) + def self.find_versions(url:, regex: nil, options: Options.new, &block) match_data = { matches: {}, regex:, url: } tags_data = tag_info(url, regex) diff --git a/Library/Homebrew/livecheck/strategy/github_latest.rb b/Library/Homebrew/livecheck/strategy/github_latest.rb index 4655ce1d1f..387239cae0 100644 --- a/Library/Homebrew/livecheck/strategy/github_latest.rb +++ b/Library/Homebrew/livecheck/strategy/github_latest.rb @@ -70,16 +70,17 @@ module Homebrew # # @param url [String] the URL of the content to check # @param regex [Regexp] a regex used for matching versions in content + # @param options [Options] options to modify behavior # @return [Hash] sig { params( url: String, regex: Regexp, - _unused: T.untyped, + options: Options, block: T.nilable(Proc), ).returns(T::Hash[Symbol, T.untyped]) } - def self.find_versions(url:, regex: GithubReleases::DEFAULT_REGEX, **_unused, &block) + def self.find_versions(url:, regex: GithubReleases::DEFAULT_REGEX, options: Options.new, &block) match_data = { matches: {}, regex:, url: } generated = generate_input_values(url) diff --git a/Library/Homebrew/livecheck/strategy/github_releases.rb b/Library/Homebrew/livecheck/strategy/github_releases.rb index a37b3a5611..aec819f2fb 100644 --- a/Library/Homebrew/livecheck/strategy/github_releases.rb +++ b/Library/Homebrew/livecheck/strategy/github_releases.rb @@ -124,16 +124,17 @@ module Homebrew # # @param url [String] the URL of the content to check # @param regex [Regexp] a regex used for matching versions in content + # @param options [Options] options to modify behavior # @return [Hash] sig { params( url: String, regex: Regexp, - _unused: T.untyped, + options: Options, block: T.nilable(Proc), ).returns(T::Hash[Symbol, T.untyped]) } - def self.find_versions(url:, regex: DEFAULT_REGEX, **_unused, &block) + def self.find_versions(url:, regex: DEFAULT_REGEX, options: Options.new, &block) match_data = { matches: {}, regex:, url: } generated = generate_input_values(url) diff --git a/Library/Homebrew/livecheck/strategy/gnome.rb b/Library/Homebrew/livecheck/strategy/gnome.rb index 9a8828d992..dd3a83e46e 100644 --- a/Library/Homebrew/livecheck/strategy/gnome.rb +++ b/Library/Homebrew/livecheck/strategy/gnome.rb @@ -74,22 +74,23 @@ module Homebrew # # @param url [String] the URL of the content to check # @param regex [Regexp] a regex used for matching versions in content + # @param options [Options] options to modify behavior # @return [Hash] sig { params( - url: String, - regex: T.nilable(Regexp), - unused: T.untyped, - block: T.nilable(Proc), + url: String, + regex: T.nilable(Regexp), + options: Options, + block: T.nilable(Proc), ).returns(T::Hash[Symbol, T.untyped]) } - def self.find_versions(url:, regex: nil, **unused, &block) + def self.find_versions(url:, regex: nil, options: Options.new, &block) generated = generate_input_values(url) version_data = PageMatch.find_versions( - url: generated[:url], - regex: regex || generated[:regex], - **unused, + url: generated[:url], + regex: regex || generated[:regex], + options:, &block ) diff --git a/Library/Homebrew/livecheck/strategy/gnu.rb b/Library/Homebrew/livecheck/strategy/gnu.rb index 027c689506..3abd9bc15f 100644 --- a/Library/Homebrew/livecheck/strategy/gnu.rb +++ b/Library/Homebrew/livecheck/strategy/gnu.rb @@ -84,19 +84,25 @@ module Homebrew # # @param url [String] the URL of the content to check # @param regex [Regexp] a regex used for matching versions in content + # @param options [Options] options to modify behavior # @return [Hash] sig { params( - url: String, - regex: T.nilable(Regexp), - unused: T.untyped, - block: T.nilable(Proc), + url: String, + regex: T.nilable(Regexp), + options: Options, + block: T.nilable(Proc), ).returns(T::Hash[Symbol, T.untyped]) } - def self.find_versions(url:, regex: nil, **unused, &block) + def self.find_versions(url:, regex: nil, options: Options.new, &block) generated = generate_input_values(url) - PageMatch.find_versions(url: generated[:url], regex: regex || generated[:regex], **unused, &block) + PageMatch.find_versions( + url: generated[:url], + regex: regex || generated[:regex], + options:, + &block + ) end end end diff --git a/Library/Homebrew/livecheck/strategy/hackage.rb b/Library/Homebrew/livecheck/strategy/hackage.rb index fea597c1a0..21143f7cf1 100644 --- a/Library/Homebrew/livecheck/strategy/hackage.rb +++ b/Library/Homebrew/livecheck/strategy/hackage.rb @@ -70,19 +70,25 @@ module Homebrew # # @param url [String] the URL of the content to check # @param regex [Regexp] a regex used for matching versions in content + # @param options [Options] options to modify behavior # @return [Hash] sig { params( - url: String, - regex: T.nilable(Regexp), - unused: T.untyped, - block: T.nilable(Proc), + url: String, + regex: T.nilable(Regexp), + options: Options, + block: T.nilable(Proc), ).returns(T::Hash[Symbol, T.untyped]) } - def self.find_versions(url:, regex: nil, **unused, &block) + def self.find_versions(url:, regex: nil, options: Options.new, &block) generated = generate_input_values(url) - PageMatch.find_versions(url: generated[:url], regex: regex || generated[:regex], **unused, &block) + PageMatch.find_versions( + url: generated[:url], + regex: regex || generated[:regex], + options:, + &block + ) end end end diff --git a/Library/Homebrew/livecheck/strategy/header_match.rb b/Library/Homebrew/livecheck/strategy/header_match.rb index e6f2c3a3aa..b64e781056 100644 --- a/Library/Homebrew/livecheck/strategy/header_match.rb +++ b/Library/Homebrew/livecheck/strategy/header_match.rb @@ -67,25 +67,20 @@ module Homebrew # # @param url [String] the URL to fetch # @param regex [Regexp, nil] a regex used for matching versions - # @param homebrew_curl [Boolean] whether to use brewed curl with the URL + # @param options [Options] options to modify behavior # @return [Hash] sig { params( - url: String, - regex: T.nilable(Regexp), - homebrew_curl: T::Boolean, - unused: T.untyped, - block: T.nilable(Proc), + url: String, + regex: T.nilable(Regexp), + options: Options, + block: T.nilable(Proc), ).returns(T::Hash[Symbol, T.untyped]) } - def self.find_versions(url:, regex: nil, homebrew_curl: false, **unused, &block) + def self.find_versions(url:, regex: nil, options: Options.new, &block) match_data = { matches: {}, regex:, url: } - headers = Strategy.page_headers( - url, - url_options: unused.fetch(:url_options, {}), - homebrew_curl:, - ) + headers = Strategy.page_headers(url, options:) # Merge the headers from all responses into one hash merged_headers = headers.reduce(&:merge) diff --git a/Library/Homebrew/livecheck/strategy/json.rb b/Library/Homebrew/livecheck/strategy/json.rb index af681d9730..546bb3814d 100644 --- a/Library/Homebrew/livecheck/strategy/json.rb +++ b/Library/Homebrew/livecheck/strategy/json.rb @@ -94,19 +94,18 @@ module Homebrew # @param regex [Regexp, nil] a regex used for matching versions # @param provided_content [String, nil] page content to use in place of # fetching via `Strategy#page_content` - # @param homebrew_curl [Boolean] whether to use brewed curl with the URL + # @param options [Options] options to modify behavior # @return [Hash] sig { params( url: String, regex: T.nilable(Regexp), provided_content: T.nilable(String), - homebrew_curl: T::Boolean, - unused: T.untyped, + options: Options, block: T.nilable(Proc), ).returns(T::Hash[Symbol, T.untyped]) } - def self.find_versions(url:, regex: nil, provided_content: nil, homebrew_curl: false, **unused, &block) + def self.find_versions(url:, regex: nil, provided_content: nil, options: Options.new, &block) raise ArgumentError, "#{Utils.demodulize(name)} requires a `strategy` block" if block.blank? match_data = { matches: {}, regex:, url: } @@ -116,13 +115,7 @@ module Homebrew match_data[:cached] = true provided_content else - match_data.merge!( - Strategy.page_content( - url, - url_options: unused.fetch(:url_options, {}), - homebrew_curl:, - ), - ) + match_data.merge!(Strategy.page_content(url, options:)) match_data[:content] end return match_data if content.blank? diff --git a/Library/Homebrew/livecheck/strategy/launchpad.rb b/Library/Homebrew/livecheck/strategy/launchpad.rb index 8fc33cfea1..c47679b856 100644 --- a/Library/Homebrew/livecheck/strategy/launchpad.rb +++ b/Library/Homebrew/livecheck/strategy/launchpad.rb @@ -67,19 +67,25 @@ module Homebrew # # @param url [String] the URL of the content to check # @param regex [Regexp] a regex used for matching versions in content + # @param options [Options] options to modify behavior # @return [Hash] sig { params( - url: String, - regex: Regexp, - unused: T.untyped, - block: T.nilable(Proc), + url: String, + regex: Regexp, + options: Options, + block: T.nilable(Proc), ).returns(T::Hash[Symbol, T.untyped]) } - def self.find_versions(url:, regex: DEFAULT_REGEX, **unused, &block) + def self.find_versions(url:, regex: DEFAULT_REGEX, options: Options.new, &block) generated = generate_input_values(url) - PageMatch.find_versions(url: generated[:url], regex:, **unused, &block) + PageMatch.find_versions( + url: generated[:url], + regex:, + options:, + &block + ) end end end diff --git a/Library/Homebrew/livecheck/strategy/npm.rb b/Library/Homebrew/livecheck/strategy/npm.rb index b020e6a48e..8f12088d29 100644 --- a/Library/Homebrew/livecheck/strategy/npm.rb +++ b/Library/Homebrew/livecheck/strategy/npm.rb @@ -65,19 +65,25 @@ module Homebrew # # @param url [String] the URL of the content to check # @param regex [Regexp] a regex used for matching versions in content + # @param options [Options] options to modify behavior # @return [Hash] sig { params( - url: String, - regex: T.nilable(Regexp), - unused: T.untyped, - block: T.nilable(Proc), + url: String, + regex: T.nilable(Regexp), + options: Options, + block: T.nilable(Proc), ).returns(T::Hash[Symbol, T.untyped]) } - def self.find_versions(url:, regex: nil, **unused, &block) + def self.find_versions(url:, regex: nil, options: Options.new, &block) generated = generate_input_values(url) - PageMatch.find_versions(url: generated[:url], regex: regex || generated[:regex], **unused, &block) + PageMatch.find_versions( + url: generated[:url], + regex: regex || generated[:regex], + options:, + &block + ) end end end diff --git a/Library/Homebrew/livecheck/strategy/page_match.rb b/Library/Homebrew/livecheck/strategy/page_match.rb index 36397cd387..601930ba84 100644 --- a/Library/Homebrew/livecheck/strategy/page_match.rb +++ b/Library/Homebrew/livecheck/strategy/page_match.rb @@ -77,19 +77,18 @@ module Homebrew # @param regex [Regexp, nil] a regex used for matching versions # @param provided_content [String, nil] page content to use in place of # fetching via `Strategy#page_content` - # @param homebrew_curl [Boolean] whether to use brewed curl with the URL + # @param options [Options] options to modify behavior # @return [Hash] sig { params( url: String, regex: T.nilable(Regexp), provided_content: T.nilable(String), - homebrew_curl: T::Boolean, - unused: T.untyped, + options: Options, block: T.nilable(Proc), ).returns(T::Hash[Symbol, T.untyped]) } - def self.find_versions(url:, regex: nil, provided_content: nil, homebrew_curl: false, **unused, &block) + def self.find_versions(url:, regex: nil, provided_content: nil, options: Options.new, &block) if regex.blank? && block.blank? raise ArgumentError, "#{Utils.demodulize(name)} requires a regex or `strategy` block" end @@ -101,13 +100,7 @@ module Homebrew match_data[:cached] = true provided_content else - match_data.merge!( - Strategy.page_content( - url, - url_options: unused.fetch(:url_options, {}), - homebrew_curl:, - ), - ) + match_data.merge!(Strategy.page_content(url, options:)) match_data[:content] end return match_data if content.blank? diff --git a/Library/Homebrew/livecheck/strategy/pypi.rb b/Library/Homebrew/livecheck/strategy/pypi.rb index 8711a2264a..b13042abe8 100644 --- a/Library/Homebrew/livecheck/strategy/pypi.rb +++ b/Library/Homebrew/livecheck/strategy/pypi.rb @@ -79,17 +79,18 @@ module Homebrew # @param regex [Regexp] a regex used for matching versions in content # @param provided_content [String, nil] content to check instead of # fetching + # @param options [Options] options to modify behavior # @return [Hash] sig { params( url: String, regex: T.nilable(Regexp), provided_content: T.nilable(String), - unused: T.untyped, + options: Options, block: T.nilable(Proc), ).returns(T::Hash[Symbol, T.untyped]) } - def self.find_versions(url:, regex: nil, provided_content: nil, **unused, &block) + def self.find_versions(url:, regex: nil, provided_content: nil, options: Options.new, &block) match_data = { matches: {}, regex:, url: } generated = generate_input_values(url) @@ -99,7 +100,7 @@ module Homebrew url: generated[:url], regex:, provided_content:, - **unused, + options:, &block || DEFAULT_BLOCK ) end diff --git a/Library/Homebrew/livecheck/strategy/sourceforge.rb b/Library/Homebrew/livecheck/strategy/sourceforge.rb index 539000b4f2..9096ae8629 100644 --- a/Library/Homebrew/livecheck/strategy/sourceforge.rb +++ b/Library/Homebrew/livecheck/strategy/sourceforge.rb @@ -84,22 +84,23 @@ module Homebrew # # @param url [String] the URL of the content to check # @param regex [Regexp] a regex used for matching versions in content + # @param options [Options] options to modify behavior # @return [Hash] sig { params( - url: String, - regex: T.nilable(Regexp), - unused: T.untyped, - block: T.nilable(Proc), + url: String, + regex: T.nilable(Regexp), + options: Options, + block: T.nilable(Proc), ).returns(T::Hash[Symbol, T.untyped]) } - def self.find_versions(url:, regex: nil, **unused, &block) + def self.find_versions(url:, regex: nil, options: Options.new, &block) generated = generate_input_values(url) PageMatch.find_versions( - url: generated[:url] || url, - regex: regex || generated[:regex], - **unused, + url: generated[:url] || url, + regex: regex || generated[:regex], + options:, &block ) end diff --git a/Library/Homebrew/livecheck/strategy/sparkle.rb b/Library/Homebrew/livecheck/strategy/sparkle.rb index fac81a6a79..051880d320 100644 --- a/Library/Homebrew/livecheck/strategy/sparkle.rb +++ b/Library/Homebrew/livecheck/strategy/sparkle.rb @@ -214,18 +214,17 @@ module Homebrew # # @param url [String] the URL of the content to check # @param regex [Regexp, nil] a regex for use in a strategy block - # @param homebrew_curl [Boolean] whether to use brewed curl with the URL + # @param options [Options] options to modify behavior # @return [Hash] sig { params( - url: String, - regex: T.nilable(Regexp), - homebrew_curl: T::Boolean, - unused: T.untyped, - block: T.nilable(Proc), + url: String, + regex: T.nilable(Regexp), + options: Options, + block: T.nilable(Proc), ).returns(T::Hash[Symbol, T.untyped]) } - def self.find_versions(url:, regex: nil, homebrew_curl: false, **unused, &block) + def self.find_versions(url:, regex: nil, options: Options.new, &block) if regex.present? && block.blank? raise ArgumentError, "#{Utils.demodulize(name)} only supports a regex when using a `strategy` block" @@ -233,13 +232,7 @@ module Homebrew match_data = { matches: {}, regex:, url: } - match_data.merge!( - Strategy.page_content( - url, - url_options: unused.fetch(:url_options, {}), - homebrew_curl:, - ), - ) + match_data.merge!(Strategy.page_content(url, options:)) content = match_data.delete(:content) return match_data if content.blank? diff --git a/Library/Homebrew/livecheck/strategy/xml.rb b/Library/Homebrew/livecheck/strategy/xml.rb index 08096a5102..2971014b87 100644 --- a/Library/Homebrew/livecheck/strategy/xml.rb +++ b/Library/Homebrew/livecheck/strategy/xml.rb @@ -134,19 +134,18 @@ module Homebrew # @param regex [Regexp, nil] a regex used for matching versions # @param provided_content [String, nil] page content to use in place of # fetching via `Strategy#page_content` - # @param homebrew_curl [Boolean] whether to use brewed curl with the URL + # @param options [Options] options to modify behavior # @return [Hash] sig { params( url: String, regex: T.nilable(Regexp), provided_content: T.nilable(String), - homebrew_curl: T::Boolean, - unused: T.untyped, + options: Options, block: T.nilable(Proc), ).returns(T::Hash[Symbol, T.untyped]) } - def self.find_versions(url:, regex: nil, provided_content: nil, homebrew_curl: false, **unused, &block) + def self.find_versions(url:, regex: nil, provided_content: nil, options: Options.new, &block) raise ArgumentError, "#{Utils.demodulize(name)} requires a `strategy` block" if block.blank? match_data = { matches: {}, regex:, url: } @@ -156,13 +155,7 @@ module Homebrew match_data[:cached] = true provided_content else - match_data.merge!( - Strategy.page_content( - url, - url_options: unused.fetch(:url_options, {}), - homebrew_curl:, - ), - ) + match_data.merge!(Strategy.page_content(url, options:)) match_data[:content] end return match_data if content.blank? diff --git a/Library/Homebrew/livecheck/strategy/xorg.rb b/Library/Homebrew/livecheck/strategy/xorg.rb index ab5f4cef66..ac93e2726b 100644 --- a/Library/Homebrew/livecheck/strategy/xorg.rb +++ b/Library/Homebrew/livecheck/strategy/xorg.rb @@ -109,16 +109,17 @@ module Homebrew # # @param url [String] the URL of the content to check # @param regex [Regexp] a regex used for matching versions in content + # @param options [Options] options to modify behavior # @return [Hash] sig { params( - url: String, - regex: T.nilable(Regexp), - unused: T.untyped, - block: T.nilable(Proc), + url: String, + regex: T.nilable(Regexp), + options: Options, + block: T.nilable(Proc), ).returns(T::Hash[Symbol, T.untyped]) } - def self.find_versions(url:, regex: nil, **unused, &block) + def self.find_versions(url:, regex: nil, options: Options.new, &block) generated = generate_input_values(url) generated_url = generated[:url] @@ -128,7 +129,7 @@ module Homebrew url: generated_url, regex: regex || generated[:regex], provided_content: cached_content, - **unused, + options:, &block ) diff --git a/Library/Homebrew/livecheck/strategy/yaml.rb b/Library/Homebrew/livecheck/strategy/yaml.rb index 0c89a14e17..e791cd81e2 100644 --- a/Library/Homebrew/livecheck/strategy/yaml.rb +++ b/Library/Homebrew/livecheck/strategy/yaml.rb @@ -94,19 +94,18 @@ module Homebrew # @param regex [Regexp, nil] a regex used for matching versions # @param provided_content [String, nil] page content to use in place of # fetching via `Strategy#page_content` - # @param homebrew_curl [Boolean] whether to use brewed curl with the URL + # @param options [Options] options to modify behavior # @return [Hash] sig { params( url: String, regex: T.nilable(Regexp), provided_content: T.nilable(String), - homebrew_curl: T::Boolean, - unused: T.untyped, + options: Options, block: T.nilable(Proc), ).returns(T::Hash[Symbol, T.untyped]) } - def self.find_versions(url:, regex: nil, provided_content: nil, homebrew_curl: false, **unused, &block) + def self.find_versions(url:, regex: nil, provided_content: nil, options: Options.new, &block) raise ArgumentError, "#{Utils.demodulize(name)} requires a `strategy` block" if block.blank? match_data = { matches: {}, regex:, url: } @@ -116,13 +115,7 @@ module Homebrew match_data[:cached] = true provided_content else - match_data.merge!( - Strategy.page_content( - url, - url_options: unused.fetch(:url_options, {}), - homebrew_curl:, - ), - ) + match_data.merge!(Strategy.page_content(url, options:)) match_data[:content] end return match_data if content.blank? diff --git a/Library/Homebrew/test/livecheck/options_spec.rb b/Library/Homebrew/test/livecheck/options_spec.rb new file mode 100644 index 0000000000..38be0f0b9b --- /dev/null +++ b/Library/Homebrew/test/livecheck/options_spec.rb @@ -0,0 +1,106 @@ +# frozen_string_literal: true + +require "livecheck/options" + +RSpec.describe Homebrew::Livecheck::Options do + subject(:options) { described_class } + + let(:post_hash) do + { + empty: "", + boolean: "true", + number: "1", + string: "a + b = c", + } + end + let(:args) do + { + homebrew_curl: true, + post_form: post_hash, + post_json: post_hash, + } + end + let(:other_args) do + { + post_form: { something: "else" }, + } + end + let(:merged_hash) { args.merge(other_args) } + + describe "#url_options" do + it "returns a Hash of the options that are provided as arguments to the `url` DSL method" do + expect(options.new.url_options).to eq({ + homebrew_curl: nil, + post_form: nil, + post_json: nil, + }) + end + end + + describe "#to_h" do + it "returns a Hash of all instance variables" do + expect(options.new.to_h).to eq({ + homebrew_curl: nil, + post_form: nil, + post_json: nil, + }) + end + end + + describe "#to_hash" do + it "returns a Hash of all instance variables, using String keys" do + expect(options.new.to_hash).to eq({ + "homebrew_curl" => nil, + "post_form" => nil, + "post_json" => nil, + }) + end + end + + describe "#merge" do + it "returns an Options object with merged values" do + expect(options.new(**args).merge(other_args)) + .to eq(options.new(**merged_hash)) + expect(options.new(**args).merge(options.new(**other_args))) + .to eq(options.new(**merged_hash)) + expect(options.new(**args).merge(args)) + .to eq(options.new(**args)) + end + end + + describe "#==" do + it "returns true if all instance variables are the same" do + obj_with_args1 = options.new(**args) + obj_with_args2 = options.new(**args) + expect(obj_with_args1 == obj_with_args2).to be true + + default_obj1 = options.new + default_obj2 = options.new + expect(default_obj1 == default_obj2).to be true + end + + it "returns false if any instance variables differ" do + expect(options.new == options.new(**args)).to be false + end + end + + describe "#empty?" do + it "returns true if object has only default values" do + expect(options.new.empty?).to be true + end + + it "returns false if object has any non-default values" do + expect(options.new(**args).empty?).to be false + end + end + + describe "#present?" do + it "returns false if object has only default values" do + expect(options.new.present?).to be false + end + + it "returns true if object has any non-default values" do + expect(options.new(**args).present?).to be true + end + end +end diff --git a/Library/Homebrew/test/livecheck/strategy_spec.rb b/Library/Homebrew/test/livecheck/strategy_spec.rb index bb701e3b43..4ef416c331 100644 --- a/Library/Homebrew/test/livecheck/strategy_spec.rb +++ b/Library/Homebrew/test/livecheck/strategy_spec.rb @@ -181,8 +181,12 @@ RSpec.describe Homebrew::Livecheck::Strategy do it "handles `post_form` `url` options" do allow(strategy).to receive(:curl_headers).and_return({ responses:, body: }) - expect(strategy.page_headers(url, url_options: { post_form: post_hash })) - .to eq([responses.first[:headers]]) + expect( + strategy.page_headers( + url, + options: Homebrew::Livecheck::Options.new(post_form: post_hash), + ), + ).to eq([responses.first[:headers]]) end it "returns an empty array if `curl_headers` only raises an `ErrorDuringExecution` error" do @@ -207,14 +211,24 @@ RSpec.describe Homebrew::Livecheck::Strategy do allow_any_instance_of(Utils::Curl).to receive(:curl_version).and_return(curl_version) allow(strategy).to receive(:curl_output).and_return([response_text[:ok], nil, success_status]) - expect(strategy.page_content(url, url_options: { post_form: post_hash })).to eq({ content: body }) + expect( + strategy.page_content( + url, + options: Homebrew::Livecheck::Options.new(post_form: post_hash), + ), + ).to eq({ content: body }) end it "handles `post_json` `url` option" do allow_any_instance_of(Utils::Curl).to receive(:curl_version).and_return(curl_version) allow(strategy).to receive(:curl_output).and_return([response_text[:ok], nil, success_status]) - expect(strategy.page_content(url, url_options: { post_json: post_hash })).to eq({ content: body }) + expect( + strategy.page_content( + url, + options: Homebrew::Livecheck::Options.new(post_json: post_hash), + ), + ).to eq({ content: body }) end it "returns error `messages` from `stderr` in the return hash on failure when `stderr` is not `nil`" do diff --git a/Library/Homebrew/test/livecheck_spec.rb b/Library/Homebrew/test/livecheck_spec.rb index e52fd76265..ba5bde56e0 100644 --- a/Library/Homebrew/test/livecheck_spec.rb +++ b/Library/Homebrew/test/livecheck_spec.rb @@ -156,10 +156,17 @@ RSpec.describe Livecheck do expect(livecheck_c.url).to eq(:url) end - it "sets `url_options` when provided" do - post_args = { post_form: post_hash } - livecheck_f.url(url_string, **post_args) - expect(livecheck_f.url_options).to eq(post_args) + it "sets `url` options when provided" do + # This test makes sure that we can set multiple options at once and + # options from subsequent `url` calls are merged with existing values + # (i.e. existing values aren't reset to `nil`). [We only call `url` once + # in a `livecheck` block but this should technically work due to how it's + # implemented.] + livecheck_f.url(url_string, homebrew_curl: true, post_form: post_hash) + livecheck_f.url(url_string, post_json: post_hash) + expect(livecheck_f.options.homebrew_curl).to be(true) + expect(livecheck_f.options.post_form).to eq(post_hash) + expect(livecheck_f.options.post_json).to eq(post_hash) end it "raises an ArgumentError if the argument isn't a valid Symbol" do @@ -179,15 +186,15 @@ RSpec.describe Livecheck do it "returns a Hash of all instance variables" do expect(livecheck_f.to_hash).to eq( { - "cask" => nil, - "formula" => nil, - "regex" => nil, - "skip" => false, - "skip_msg" => nil, - "strategy" => nil, - "throttle" => nil, - "url" => nil, - "url_options" => nil, + "options" => Homebrew::Livecheck::Options.new.to_hash, + "cask" => nil, + "formula" => nil, + "regex" => nil, + "skip" => false, + "skip_msg" => nil, + "strategy" => nil, + "throttle" => nil, + "url" => nil, }, ) end From 8afa354c35c6b68c4f9f07e936a2479041952d56 Mon Sep 17 00:00:00 2001 From: Sam Ford <1584702+samford@users.noreply.github.com> Date: Thu, 13 Feb 2025 21:32:51 -0500 Subject: [PATCH 165/322] Livecheck::Options: Rework as T::Struct As suggested, this reworks `Options` to subclass `T::Struct`, which simplifies the implementation and makes it easier to maintain. One noteworthy difference in switching to `T::Struct` is that `#serialize` omits `nil` values but I don't _think_ this should be a problem for us. In terms of changes, I modified `#merge` to remove a now-unnecessary `compact` call and updated related tests. Co-authored-by: Douglas Eichelberger <697964+dduugg@users.noreply.github.com> --- Library/Homebrew/livecheck.rb | 10 +--- Library/Homebrew/livecheck/options.rb | 59 ++++--------------- .../Homebrew/test/livecheck/options_spec.rb | 24 ++++---- 3 files changed, 29 insertions(+), 64 deletions(-) diff --git a/Library/Homebrew/livecheck.rb b/Library/Homebrew/livecheck.rb index 98a48ce49d..10e7a91f99 100644 --- a/Library/Homebrew/livecheck.rb +++ b/Library/Homebrew/livecheck.rb @@ -179,13 +179,9 @@ class Livecheck def url(url = T.unsafe(nil), homebrew_curl: nil, post_form: nil, post_json: nil) raise ArgumentError, "Only use `post_form` or `post_json`, not both" if post_form && post_json - if homebrew_curl || post_form || post_json - @options = @options.merge({ - homebrew_curl:, - post_form:, - post_json:, - }.compact) - end + @options.homebrew_curl = homebrew_curl unless homebrew_curl.nil? + @options.post_form = post_form unless post_form.nil? + @options.post_json = post_json unless post_json.nil? case url when nil diff --git a/Library/Homebrew/livecheck/options.rb b/Library/Homebrew/livecheck/options.rb index 8e8c421758..e4290b5203 100644 --- a/Library/Homebrew/livecheck/options.rb +++ b/Library/Homebrew/livecheck/options.rb @@ -8,34 +8,15 @@ module Homebrew # # Option values use a `nil` default to indicate that the value has not been # set. - class Options + class Options < T::Struct # Whether to use brewed curl. - sig { returns(T.nilable(T::Boolean)) } - attr_reader :homebrew_curl + prop :homebrew_curl, T.nilable(T::Boolean) # Form data to use when making a `POST` request. - sig { returns(T.nilable(T::Hash[Symbol, String])) } - attr_reader :post_form + prop :post_form, T.nilable(T::Hash[Symbol, String]) # JSON data to use when making a `POST` request. - sig { returns(T.nilable(T::Hash[Symbol, String])) } - attr_reader :post_json - - # @param homebrew_curl whether to use brewed curl - # @param post_form form data to use when making a `POST` request - # @param post_json JSON data to use when making a `POST` request - sig { - params( - homebrew_curl: T.nilable(T::Boolean), - post_form: T.nilable(T::Hash[Symbol, String]), - post_json: T.nilable(T::Hash[Symbol, String]), - ).void - } - def initialize(homebrew_curl: nil, post_form: nil, post_json: nil) - @homebrew_curl = homebrew_curl - @post_form = post_form - @post_json = post_json - end + prop :post_json, T.nilable(T::Hash[Symbol, String]) # Returns a `Hash` of options that are provided as arguments to `url`. sig { returns(T::Hash[Symbol, T.untyped]) } @@ -47,25 +28,13 @@ module Homebrew } end - # Returns a `Hash` of all instance variables, using `Symbol` keys. - sig { returns(T::Hash[Symbol, T.untyped]) } - def to_h - { - homebrew_curl:, - post_form:, - post_json:, - } - end - # Returns a `Hash` of all instance variables, using `String` keys. sig { returns(T::Hash[String, T.untyped]) } - def to_hash - { - "homebrew_curl" => @homebrew_curl, - "post_form" => @post_form, - "post_json" => @post_json, - } - end + def to_hash = serialize + + # Returns a `Hash` of all instance variables, using `Symbol` keys. + sig { returns(T::Hash[Symbol, T.untyped]) } + def to_h = serialize.transform_keys(&:to_sym) # Returns a new object formed by merging `other` values with a copy of # `self`. @@ -78,7 +47,7 @@ module Homebrew return dup if other.empty? this_hash = to_h - other_hash = other.is_a?(Options) ? other.to_h.compact : other + other_hash = other.is_a?(Options) ? other.to_h : other return dup if this_hash == other_hash new_options = this_hash.merge(other_hash) @@ -96,15 +65,11 @@ module Homebrew # Whether the object has only default values. sig { returns(T::Boolean) } - def empty? - @homebrew_curl.nil? && @post_form.nil? && @post_json.nil? - end + def empty? = serialize.empty? # Whether the object has any non-default values. sig { returns(T::Boolean) } - def present? - !@homebrew_curl.nil? || !@post_form.nil? || !@post_json.nil? - end + def present? = !empty? end end end diff --git a/Library/Homebrew/test/livecheck/options_spec.rb b/Library/Homebrew/test/livecheck/options_spec.rb index 38be0f0b9b..d9ced1bff1 100644 --- a/Library/Homebrew/test/livecheck/options_spec.rb +++ b/Library/Homebrew/test/livecheck/options_spec.rb @@ -39,21 +39,19 @@ RSpec.describe Homebrew::Livecheck::Options do describe "#to_h" do it "returns a Hash of all instance variables" do - expect(options.new.to_h).to eq({ - homebrew_curl: nil, - post_form: nil, - post_json: nil, - }) + # `T::Struct.serialize` omits `nil` values + expect(options.new.to_h).to eq({}) + + expect(options.new(**args).to_h).to eq(args) end end describe "#to_hash" do it "returns a Hash of all instance variables, using String keys" do - expect(options.new.to_hash).to eq({ - "homebrew_curl" => nil, - "post_form" => nil, - "post_json" => nil, - }) + # `T::Struct.serialize` omits `nil` values + expect(options.new.to_hash).to eq({}) + + expect(options.new(**args).to_hash).to eq(args.transform_keys(&:to_s)) end end @@ -65,6 +63,8 @@ RSpec.describe Homebrew::Livecheck::Options do .to eq(options.new(**merged_hash)) expect(options.new(**args).merge(args)) .to eq(options.new(**args)) + expect(options.new(**args).merge({})) + .to eq(options.new(**args)) end end @@ -82,6 +82,10 @@ RSpec.describe Homebrew::Livecheck::Options do it "returns false if any instance variables differ" do expect(options.new == options.new(**args)).to be false end + + it "returns false if other object is not the same class" do + expect(options.new == :other).to be false + end end describe "#empty?" do From c1401ae360854e90a8a2f77627e282f141bdaa6f Mon Sep 17 00:00:00 2001 From: Sam Ford <1584702+samford@users.noreply.github.com> Date: Fri, 14 Feb 2025 13:48:21 -0500 Subject: [PATCH 166/322] Livecheck::Options: Enable `typed: strong` This enables `typed: strong` in `Options` and resolves the related errors. I annotated the return value of `serialize` in `#to_hash` to resolve a type error and then updated other methods to use `to_hash` instead. This approach resolves similar type errors without duplicating the same `serialize` annotation. For `#==`, I switched `instance_of?(other.class)` to `other.is_a?(Options)`, as Sorbet understands that `is_a?` ensures `other` is an `Options` object but doesn't seem to understand that `instance_of?` was doing the same thing. The tests continue to pass with these changes, so hopefully this is fine. --- Library/Homebrew/livecheck/options.rb | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/Library/Homebrew/livecheck/options.rb b/Library/Homebrew/livecheck/options.rb index e4290b5203..2f851185fd 100644 --- a/Library/Homebrew/livecheck/options.rb +++ b/Library/Homebrew/livecheck/options.rb @@ -1,4 +1,4 @@ -# typed: strict +# typed: strong # frozen_string_literal: true module Homebrew @@ -30,11 +30,13 @@ module Homebrew # Returns a `Hash` of all instance variables, using `String` keys. sig { returns(T::Hash[String, T.untyped]) } - def to_hash = serialize + def to_hash + T.let(serialize, T::Hash[String, T.untyped]) + end # Returns a `Hash` of all instance variables, using `Symbol` keys. sig { returns(T::Hash[Symbol, T.untyped]) } - def to_h = serialize.transform_keys(&:to_sym) + def to_h = to_hash.transform_keys(&:to_sym) # Returns a new object formed by merging `other` values with a copy of # `self`. @@ -54,10 +56,11 @@ module Homebrew Options.new(**new_options) end - sig { params(other: T.untyped).returns(T::Boolean) } + sig { params(other: Object).returns(T::Boolean) } def ==(other) - instance_of?(other.class) && - @homebrew_curl == other.homebrew_curl && + return false unless other.is_a?(Options) + + @homebrew_curl == other.homebrew_curl && @post_form == other.post_form && @post_json == other.post_json end @@ -65,7 +68,7 @@ module Homebrew # Whether the object has only default values. sig { returns(T::Boolean) } - def empty? = serialize.empty? + def empty? = to_hash.empty? # Whether the object has any non-default values. sig { returns(T::Boolean) } From 9aa8ab17893dc1e711abbc8c9b3459743c4493b2 Mon Sep 17 00:00:00 2001 From: Douglas Eichelberger Date: Sat, 15 Feb 2025 16:52:19 -0800 Subject: [PATCH 167/322] Simplify livecheck_find_versions_parameters --- Library/Homebrew/livecheck/livecheck.rb | 25 +++++++------------------ 1 file changed, 7 insertions(+), 18 deletions(-) diff --git a/Library/Homebrew/livecheck/livecheck.rb b/Library/Homebrew/livecheck/livecheck.rb index fb3c4946da..52654a2d84 100644 --- a/Library/Homebrew/livecheck/livecheck.rb +++ b/Library/Homebrew/livecheck/livecheck.rb @@ -34,22 +34,11 @@ module Homebrew @livecheck_strategy_names[strategy_class] ||= Utils.demodulize(strategy_class.name) end - sig { returns(T::Hash[T::Class[T.anything], T::Array[Symbol]]) } - private_class_method def self.livecheck_find_versions_parameters - return T.must(@livecheck_find_versions_parameters) if defined?(@livecheck_find_versions_parameters) - - # Cache strategy `find_versions` method parameters, to avoid repeating - # this work - @livecheck_find_versions_parameters = T.let({}, T.nilable(T::Hash[T::Class[T.anything], T::Array[Symbol]])) - Strategy.constants.sort.each do |const_symbol| - constant = Strategy.const_get(const_symbol) - next unless constant.is_a?(Class) - - T.must(@livecheck_find_versions_parameters)[constant] = - T::Utils.signature_for_method(constant.method(:find_versions)) - &.parameters&.map(&:second) - end - T.must(@livecheck_find_versions_parameters).freeze + sig { params(strategy_class: T::Class[T.anything]).returns(T::Array[Symbol]) } + private_class_method def self.livecheck_find_versions_parameters(strategy_class) + @livecheck_find_versions_parameters ||= T.let({}, T.nilable(T::Hash[T::Class[T.anything], T::Array[Symbol]])) + @livecheck_find_versions_parameters[strategy_class] ||= + T::Utils.signature_for_method(strategy_class.method(:find_versions)).parameters.map(&:second) end # Uses `formulae_and_casks_to_check` to identify taps in use other than @@ -729,7 +718,7 @@ module Homebrew # Only use arguments that the strategy's `#find_versions` method # supports - find_versions_parameters = T.must(livecheck_find_versions_parameters[strategy]) + find_versions_parameters = livecheck_find_versions_parameters(strategy) strategy_args = {} strategy_args[:cask] = cask if find_versions_parameters.include?(:cask) strategy_args[:url] = url if find_versions_parameters.include?(:url) @@ -957,7 +946,7 @@ module Homebrew else # Only use arguments that the strategy's `#find_versions` method # supports - find_versions_parameters = T.must(livecheck_find_versions_parameters[strategy]) + find_versions_parameters = livecheck_find_versions_parameters(strategy) strategy_args = {} strategy_args[:url] = url if find_versions_parameters.include?(:url) strategy_args[:regex] = livecheck_regex if find_versions_parameters.include?(:regex) From c1b9136805007029580f4fce26733f5201408e07 Mon Sep 17 00:00:00 2001 From: Douglas Eichelberger Date: Sat, 15 Feb 2025 17:01:35 -0800 Subject: [PATCH 168/322] rm unnecessary rbi file --- Library/Homebrew/livecheck/strategy.rbi | 9 --------- 1 file changed, 9 deletions(-) delete mode 100644 Library/Homebrew/livecheck/strategy.rbi diff --git a/Library/Homebrew/livecheck/strategy.rbi b/Library/Homebrew/livecheck/strategy.rbi deleted file mode 100644 index 218530f2c3..0000000000 --- a/Library/Homebrew/livecheck/strategy.rbi +++ /dev/null @@ -1,9 +0,0 @@ -# typed: strict - -module Homebrew - module Livecheck - module Strategy - include Kernel - end - end -end From 0bb18b33b2ea4d1b6717536bcbd967ff25e48b4c Mon Sep 17 00:00:00 2001 From: Sam Ford <1584702+samford@users.noreply.github.com> Date: Sun, 16 Feb 2025 21:20:52 -0500 Subject: [PATCH 169/322] Livecheck::Options: Add #merge! --- Library/Homebrew/livecheck/options.rb | 27 +++++++++++++ .../Homebrew/test/livecheck/options_spec.rb | 38 +++++++++++++++++++ 2 files changed, 65 insertions(+) diff --git a/Library/Homebrew/livecheck/options.rb b/Library/Homebrew/livecheck/options.rb index 2f851185fd..307d393b14 100644 --- a/Library/Homebrew/livecheck/options.rb +++ b/Library/Homebrew/livecheck/options.rb @@ -56,6 +56,33 @@ module Homebrew Options.new(**new_options) end + # Merges values from `other` into `self` and returns `self`. + # + # `nil` values are removed from `other` before merging if it is an + # `Options` object, as these are unitiailized values. This ensures that + # existing values in `self` aren't unexpectedly overwritten with defaults. + sig { params(other: T.any(Options, T::Hash[Symbol, T.untyped])).returns(Options) } + def merge!(other) + return self if other.empty? + + if other.is_a?(Options) + return self if self == other + + other.instance_variables.each do |ivar| + next if (v = T.let(other.instance_variable_get(ivar), Object)).nil? + + instance_variable_set(ivar, v) + end + else + other.each do |k, v| + cmd = :"#{k}=" + send(cmd, v) if respond_to?(cmd) + end + end + + self + end + sig { params(other: Object).returns(T::Boolean) } def ==(other) return false unless other.is_a?(Options) diff --git a/Library/Homebrew/test/livecheck/options_spec.rb b/Library/Homebrew/test/livecheck/options_spec.rb index d9ced1bff1..468deb6f4e 100644 --- a/Library/Homebrew/test/livecheck/options_spec.rb +++ b/Library/Homebrew/test/livecheck/options_spec.rb @@ -27,6 +27,10 @@ RSpec.describe Homebrew::Livecheck::Options do end let(:merged_hash) { args.merge(other_args) } + let(:base_options) { options.new(**args) } + let(:other_options) { options.new(**other_args) } + let(:merged_options) { options.new(**merged_hash) } + describe "#url_options" do it "returns a Hash of the options that are provided as arguments to the `url` DSL method" do expect(options.new.url_options).to eq({ @@ -68,6 +72,40 @@ RSpec.describe Homebrew::Livecheck::Options do end end + describe "#merge!" do + it "merges values from `other` into `self` and returns `self`" do + o1 = options.new(**args) + expect(o1.merge!(other_options)).to eq(merged_options) + expect(o1).to eq(merged_options) + + o2 = options.new(**args) + expect(o2.merge!(other_args)).to eq(merged_options) + expect(o2).to eq(merged_options) + + o3 = options.new(**args) + expect(o3.merge!(base_options)).to eq(base_options) + expect(o3).to eq(base_options) + + o4 = options.new(**args) + expect(o4.merge!(args)).to eq(base_options) + expect(o4).to eq(base_options) + + o5 = options.new(**args) + expect(o5.merge!(options.new)).to eq(base_options) + expect(o5).to eq(base_options) + + o6 = options.new(**args) + expect(o6.merge!({})).to eq(base_options) + expect(o6).to eq(base_options) + end + + it "skips over hash values without a corresponding Options value" do + o1 = options.new(**args) + expect(o1.merge!({ nonexistent: true })).to eq(base_options) + expect(o1).to eq(base_options) + end + end + describe "#==" do it "returns true if all instance variables are the same" do obj_with_args1 = options.new(**args) From 749a7c846efa4839d1c89a08920bc5695f3a6efd Mon Sep 17 00:00:00 2001 From: Sam Ford <1584702+samford@users.noreply.github.com> Date: Fri, 21 Feb 2025 21:35:08 -0500 Subject: [PATCH 170/322] Add livecheck_find_versions_parameters tests --- .../Homebrew/test/livecheck/livecheck_spec.rb | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/Library/Homebrew/test/livecheck/livecheck_spec.rb b/Library/Homebrew/test/livecheck/livecheck_spec.rb index c28ff3e592..eab430f208 100644 --- a/Library/Homebrew/test/livecheck/livecheck_spec.rb +++ b/Library/Homebrew/test/livecheck/livecheck_spec.rb @@ -86,6 +86,22 @@ RSpec.describe Homebrew::Livecheck do end end + describe "::livecheck_find_versions_parameters" do + context "when provided with a strategy class" do + it "returns demodulized class name" do + page_match_parameters = T::Utils.signature_for_method( + Homebrew::Livecheck::Strategy::PageMatch.method(:find_versions), + ).parameters.map(&:second) + + # We run this twice with the same argument to exercise the caching logic + expect(livecheck.send(:livecheck_find_versions_parameters, Homebrew::Livecheck::Strategy::PageMatch)) + .to eq(page_match_parameters) + expect(livecheck.send(:livecheck_find_versions_parameters, Homebrew::Livecheck::Strategy::PageMatch)) + .to eq(page_match_parameters) + end + end + end + describe "::resolve_livecheck_reference" do context "when a formula/cask has a `livecheck` block without formula/cask methods" do it "returns [nil, []]" do From 302d33c26e05e8fb27a0145dbbd4ca38b4b88b65 Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Tue, 25 Feb 2025 16:00:57 +0000 Subject: [PATCH 171/322] Update manpage and completions. Autogenerated by the [sponsors-maintainers-man-completions](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/sponsors-maintainers-man-completions.yml) workflow. --- docs/Manpage.md | 5 +++++ manpages/brew.1 | 3 +++ 2 files changed, 8 insertions(+) diff --git a/docs/Manpage.md b/docs/Manpage.md index cc4dfef347..08c2988b0d 100644 --- a/docs/Manpage.md +++ b/docs/Manpage.md @@ -4283,6 +4283,11 @@ command execution e.g. `$(cat file)`. : If set, pass `--greedy` to all cask upgrade commands. +`HOMEBREW_UPGRADE_GREEDY_CASKS` + +: A space-separated list of casks. Homebrew will act as if `--greedy` was passed + when upgrading any cask on this list. + `HOMEBREW_VERBOSE` : If set, always assume `--verbose` when running commands. diff --git a/manpages/brew.1 b/manpages/brew.1 index 92da0cabe2..0b0ddd990c 100644 --- a/manpages/brew.1 +++ b/manpages/brew.1 @@ -2808,6 +2808,9 @@ If set, always use the latest stable tag (even if developer commands have been r \fBHOMEBREW_UPGRADE_GREEDY\fP If set, pass \fB\-\-greedy\fP to all cask upgrade commands\. .TP +\fBHOMEBREW_UPGRADE_GREEDY_CASKS\fP +A space\-separated list of casks\. Homebrew will act as if \fB\-\-greedy\fP was passed when upgrading any cask on this list\. +.TP \fBHOMEBREW_VERBOSE\fP If set, always assume \fB\-\-verbose\fP when running commands\. .TP From 6cd9daffdf48dfa733640a302e20fe0953c465a6 Mon Sep 17 00:00:00 2001 From: Douglas Eichelberger Date: Tue, 25 Feb 2025 08:59:53 -0800 Subject: [PATCH 172/322] Fix return type of Formula.build --- Library/Homebrew/formula.rb | 2 +- Library/Homebrew/test/formula_spec.rb | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb index 020cd11825..db92cf8c74 100644 --- a/Library/Homebrew/formula.rb +++ b/Library/Homebrew/formula.rb @@ -3703,7 +3703,7 @@ class Formula sig { params(block: T.proc.bind(BottleSpecification).void).void } def bottle(&block) = stable.bottle(&block) - sig { returns(String) } + sig { returns(BuildOptions) } def build = stable.build # Get the `BUILD_FLAGS` from the formula's namespace set in `Formulary::load_formula`. diff --git a/Library/Homebrew/test/formula_spec.rb b/Library/Homebrew/test/formula_spec.rb index da58f08b6b..9d404f4b20 100644 --- a/Library/Homebrew/test/formula_spec.rb +++ b/Library/Homebrew/test/formula_spec.rb @@ -549,6 +549,7 @@ RSpec.describe Formula do expect(f.homepage).to eq("https://brew.sh") expect(f.version).to eq(Version.new("0.1")) expect(f).to be_stable + expect(f.build).to be_a(BuildOptions) expect(f.stable.version).to eq(Version.new("0.1")) expect(f.head.version).to eq(Version.new("HEAD")) end From 95a0675eb715169ab368f53b32b28330b9eb23a8 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 25 Feb 2025 18:44:10 +0000 Subject: [PATCH 173/322] build(deps): bump setuptools in /Library/Homebrew/formula-analytics Bumps [setuptools](https://github.com/pypa/setuptools) from 75.8.0 to 75.8.1. - [Release notes](https://github.com/pypa/setuptools/releases) - [Changelog](https://github.com/pypa/setuptools/blob/main/NEWS.rst) - [Commits](https://github.com/pypa/setuptools/compare/v75.8.0...v75.8.1) --- updated-dependencies: - dependency-name: setuptools dependency-type: indirect update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- Library/Homebrew/formula-analytics/requirements.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Library/Homebrew/formula-analytics/requirements.txt b/Library/Homebrew/formula-analytics/requirements.txt index 8c30ca662f..4c21700d0c 100644 --- a/Library/Homebrew/formula-analytics/requirements.txt +++ b/Library/Homebrew/formula-analytics/requirements.txt @@ -78,7 +78,7 @@ urllib3==2.3.0 \ # via influxdb3-python # The following packages are considered to be unsafe in a requirements file: -setuptools==75.8.0 \ - --hash=sha256:c5afc8f407c626b8313a86e10311dd3f661c6cd9c09d4bf8c15c0e11f9f2b0e6 \ - --hash=sha256:e3982f444617239225d675215d51f6ba05f845d4eec313da4418fdbb56fb27e3 +setuptools==75.8.1 \ + --hash=sha256:3bc32c0b84c643299ca94e77f834730f126efd621de0cc1de64119e0e17dab1f \ + --hash=sha256:65fb779a8f28895242923582eadca2337285f0891c2c9e160754df917c3d2530 # via influxdb3-python From d520b7dc72a8fae8ea8fbf11fe53b6bf4b375ae2 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 25 Feb 2025 18:57:03 +0000 Subject: [PATCH 174/322] build(deps): bump the sorbet group in /Library/Homebrew with 4 updates Bumps the sorbet group in /Library/Homebrew with 4 updates: [sorbet-static-and-runtime](https://github.com/sorbet/sorbet), [sorbet-runtime](https://github.com/sorbet/sorbet), [sorbet](https://github.com/sorbet/sorbet) and [sorbet-static](https://github.com/sorbet/sorbet). Updates `sorbet-static-and-runtime` from 0.5.11851 to 0.5.11856 - [Release notes](https://github.com/sorbet/sorbet/releases) - [Commits](https://github.com/sorbet/sorbet/commits) Updates `sorbet-runtime` from 0.5.11851 to 0.5.11856 - [Release notes](https://github.com/sorbet/sorbet/releases) - [Commits](https://github.com/sorbet/sorbet/commits) Updates `sorbet` from 0.5.11851 to 0.5.11856 - [Release notes](https://github.com/sorbet/sorbet/releases) - [Commits](https://github.com/sorbet/sorbet/commits) Updates `sorbet-static` from 0.5.11851 to 0.5.11856 - [Release notes](https://github.com/sorbet/sorbet/releases) - [Commits](https://github.com/sorbet/sorbet/commits) --- updated-dependencies: - dependency-name: sorbet-static-and-runtime dependency-type: direct:development update-type: version-update:semver-patch dependency-group: sorbet - dependency-name: sorbet-runtime dependency-type: direct:production update-type: version-update:semver-patch dependency-group: sorbet - dependency-name: sorbet dependency-type: indirect update-type: version-update:semver-patch dependency-group: sorbet - dependency-name: sorbet-static dependency-type: indirect update-type: version-update:semver-patch dependency-group: sorbet ... Signed-off-by: dependabot[bot] --- Library/Homebrew/Gemfile.lock | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/Library/Homebrew/Gemfile.lock b/Library/Homebrew/Gemfile.lock index f2a693cc2a..f626b887f9 100644 --- a/Library/Homebrew/Gemfile.lock +++ b/Library/Homebrew/Gemfile.lock @@ -116,15 +116,15 @@ GEM simplecov-html (0.13.1) simplecov_json_formatter (0.1.4) simpleidn (0.2.3) - sorbet (0.5.11851) - sorbet-static (= 0.5.11851) - sorbet-runtime (0.5.11851) - sorbet-static (0.5.11851-aarch64-linux) - sorbet-static (0.5.11851-universal-darwin) - sorbet-static (0.5.11851-x86_64-linux) - sorbet-static-and-runtime (0.5.11851) - sorbet (= 0.5.11851) - sorbet-runtime (= 0.5.11851) + sorbet (0.5.11856) + sorbet-static (= 0.5.11856) + sorbet-runtime (0.5.11856) + sorbet-static (0.5.11856-aarch64-linux) + sorbet-static (0.5.11856-universal-darwin) + sorbet-static (0.5.11856-x86_64-linux) + sorbet-static-and-runtime (0.5.11856) + sorbet (= 0.5.11856) + sorbet-runtime (= 0.5.11856) spoom (1.5.4) erubi (>= 1.10.0) prism (>= 0.28.0) @@ -155,7 +155,6 @@ GEM PLATFORMS aarch64-linux - arm-linux arm64-darwin x86_64-darwin x86_64-linux From 0b8ae8f2fe62641dafec63b34b4a24b6be357bd2 Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Tue, 25 Feb 2025 19:00:10 +0000 Subject: [PATCH 175/322] Update RBI files for setuptools. Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow. --- Library/Homebrew/sorbet/rbi/dsl/livecheck.rbi | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Library/Homebrew/sorbet/rbi/dsl/livecheck.rbi b/Library/Homebrew/sorbet/rbi/dsl/livecheck.rbi index f900f942d9..94aca262d1 100644 --- a/Library/Homebrew/sorbet/rbi/dsl/livecheck.rbi +++ b/Library/Homebrew/sorbet/rbi/dsl/livecheck.rbi @@ -5,4 +5,7 @@ # Please instead update this file by running `bin/tapioca dsl Livecheck`. -class Livecheck; end +class Livecheck + sig { params(args: T.untyped, block: T.untyped).returns(T.untyped) } + def url_options(*args, &block); end +end From 92f4ff88e4b74ded25896721fe0bcb73b37a6f24 Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Tue, 25 Feb 2025 19:00:19 +0000 Subject: [PATCH 176/322] brew vendor-gems: commit updates. --- Library/Homebrew/Gemfile.lock | 1 + Library/Homebrew/vendor/bundle/bundler/setup.rb | 8 ++++---- .../lib/sorbet-runtime.rb | 0 .../lib/types/_types.rb | 0 .../lib/types/abstract_utils.rb | 0 .../lib/types/boolean.rb | 0 .../lib/types/compatibility_patches.rb | 0 .../lib/types/configuration.rb | 0 .../lib/types/enum.rb | 0 .../lib/types/generic.rb | 0 .../lib/types/helpers.rb | 0 .../lib/types/non_forcing_constants.rb | 0 .../lib/types/private/abstract/data.rb | 0 .../lib/types/private/abstract/declare.rb | 0 .../lib/types/private/abstract/hooks.rb | 0 .../lib/types/private/abstract/validate.rb | 0 .../lib/types/private/caller_utils.rb | 0 .../lib/types/private/casts.rb | 0 .../lib/types/private/class_utils.rb | 0 .../lib/types/private/decl_state.rb | 0 .../lib/types/private/final.rb | 0 .../lib/types/private/methods/_methods.rb | 0 .../lib/types/private/methods/call_validation.rb | 0 .../lib/types/private/methods/call_validation_2_6.rb | 0 .../lib/types/private/methods/call_validation_2_7.rb | 0 .../lib/types/private/methods/decl_builder.rb | 0 .../lib/types/private/methods/modes.rb | 0 .../lib/types/private/methods/signature.rb | 0 .../lib/types/private/methods/signature_validation.rb | 0 .../lib/types/private/mixins/mixins.rb | 0 .../lib/types/private/retry.rb | 0 .../lib/types/private/runtime_levels.rb | 0 .../lib/types/private/sealed.rb | 0 .../lib/types/private/types/not_typed.rb | 0 .../lib/types/private/types/simple_pair_union.rb | 0 .../lib/types/private/types/string_holder.rb | 0 .../lib/types/private/types/type_alias.rb | 0 .../lib/types/private/types/void.rb | 0 .../lib/types/props/_props.rb | 0 .../lib/types/props/constructor.rb | 0 .../lib/types/props/custom_type.rb | 0 .../lib/types/props/decorator.rb | 0 .../lib/types/props/errors.rb | 0 .../lib/types/props/generated_code_validation.rb | 0 .../lib/types/props/has_lazily_specialized_methods.rb | 0 .../lib/types/props/optional.rb | 0 .../lib/types/props/plugin.rb | 0 .../lib/types/props/pretty_printable.rb | 0 .../lib/types/props/private/apply_default.rb | 0 .../lib/types/props/private/deserializer_generator.rb | 0 .../lib/types/props/private/parser.rb | 0 .../lib/types/props/private/serde_transform.rb | 0 .../lib/types/props/private/serializer_generator.rb | 0 .../lib/types/props/private/setter_factory.rb | 0 .../lib/types/props/serializable.rb | 0 .../lib/types/props/type_validation.rb | 0 .../lib/types/props/utils.rb | 0 .../lib/types/props/weak_constructor.rb | 0 .../lib/types/sig.rb | 0 .../lib/types/struct.rb | 0 .../lib/types/types/anything.rb | 0 .../lib/types/types/attached_class.rb | 0 .../lib/types/types/base.rb | 0 .../lib/types/types/class_of.rb | 0 .../lib/types/types/enum.rb | 0 .../lib/types/types/fixed_array.rb | 0 .../lib/types/types/fixed_hash.rb | 0 .../lib/types/types/intersection.rb | 0 .../lib/types/types/noreturn.rb | 0 .../lib/types/types/proc.rb | 0 .../lib/types/types/self_type.rb | 0 .../lib/types/types/simple.rb | 0 .../lib/types/types/t_enum.rb | 0 .../lib/types/types/type_member.rb | 0 .../lib/types/types/type_parameter.rb | 0 .../lib/types/types/type_template.rb | 0 .../lib/types/types/type_variable.rb | 0 .../lib/types/types/typed_array.rb | 0 .../lib/types/types/typed_class.rb | 0 .../lib/types/types/typed_enumerable.rb | 0 .../lib/types/types/typed_enumerator.rb | 0 .../lib/types/types/typed_enumerator_chain.rb | 0 .../lib/types/types/typed_enumerator_lazy.rb | 0 .../lib/types/types/typed_hash.rb | 0 .../lib/types/types/typed_range.rb | 0 .../lib/types/types/typed_set.rb | 0 .../lib/types/types/union.rb | 0 .../lib/types/types/untyped.rb | 0 .../lib/types/utils.rb | 0 89 files changed, 5 insertions(+), 4 deletions(-) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11851 => sorbet-runtime-0.5.11856}/lib/sorbet-runtime.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11851 => sorbet-runtime-0.5.11856}/lib/types/_types.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11851 => sorbet-runtime-0.5.11856}/lib/types/abstract_utils.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11851 => sorbet-runtime-0.5.11856}/lib/types/boolean.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11851 => sorbet-runtime-0.5.11856}/lib/types/compatibility_patches.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11851 => sorbet-runtime-0.5.11856}/lib/types/configuration.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11851 => sorbet-runtime-0.5.11856}/lib/types/enum.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11851 => sorbet-runtime-0.5.11856}/lib/types/generic.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11851 => sorbet-runtime-0.5.11856}/lib/types/helpers.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11851 => sorbet-runtime-0.5.11856}/lib/types/non_forcing_constants.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11851 => sorbet-runtime-0.5.11856}/lib/types/private/abstract/data.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11851 => sorbet-runtime-0.5.11856}/lib/types/private/abstract/declare.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11851 => sorbet-runtime-0.5.11856}/lib/types/private/abstract/hooks.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11851 => sorbet-runtime-0.5.11856}/lib/types/private/abstract/validate.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11851 => sorbet-runtime-0.5.11856}/lib/types/private/caller_utils.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11851 => sorbet-runtime-0.5.11856}/lib/types/private/casts.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11851 => sorbet-runtime-0.5.11856}/lib/types/private/class_utils.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11851 => sorbet-runtime-0.5.11856}/lib/types/private/decl_state.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11851 => sorbet-runtime-0.5.11856}/lib/types/private/final.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11851 => sorbet-runtime-0.5.11856}/lib/types/private/methods/_methods.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11851 => sorbet-runtime-0.5.11856}/lib/types/private/methods/call_validation.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11851 => sorbet-runtime-0.5.11856}/lib/types/private/methods/call_validation_2_6.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11851 => sorbet-runtime-0.5.11856}/lib/types/private/methods/call_validation_2_7.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11851 => sorbet-runtime-0.5.11856}/lib/types/private/methods/decl_builder.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11851 => sorbet-runtime-0.5.11856}/lib/types/private/methods/modes.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11851 => sorbet-runtime-0.5.11856}/lib/types/private/methods/signature.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11851 => sorbet-runtime-0.5.11856}/lib/types/private/methods/signature_validation.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11851 => sorbet-runtime-0.5.11856}/lib/types/private/mixins/mixins.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11851 => sorbet-runtime-0.5.11856}/lib/types/private/retry.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11851 => sorbet-runtime-0.5.11856}/lib/types/private/runtime_levels.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11851 => sorbet-runtime-0.5.11856}/lib/types/private/sealed.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11851 => sorbet-runtime-0.5.11856}/lib/types/private/types/not_typed.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11851 => sorbet-runtime-0.5.11856}/lib/types/private/types/simple_pair_union.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11851 => sorbet-runtime-0.5.11856}/lib/types/private/types/string_holder.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11851 => sorbet-runtime-0.5.11856}/lib/types/private/types/type_alias.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11851 => sorbet-runtime-0.5.11856}/lib/types/private/types/void.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11851 => sorbet-runtime-0.5.11856}/lib/types/props/_props.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11851 => sorbet-runtime-0.5.11856}/lib/types/props/constructor.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11851 => sorbet-runtime-0.5.11856}/lib/types/props/custom_type.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11851 => sorbet-runtime-0.5.11856}/lib/types/props/decorator.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11851 => sorbet-runtime-0.5.11856}/lib/types/props/errors.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11851 => sorbet-runtime-0.5.11856}/lib/types/props/generated_code_validation.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11851 => sorbet-runtime-0.5.11856}/lib/types/props/has_lazily_specialized_methods.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11851 => sorbet-runtime-0.5.11856}/lib/types/props/optional.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11851 => sorbet-runtime-0.5.11856}/lib/types/props/plugin.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11851 => sorbet-runtime-0.5.11856}/lib/types/props/pretty_printable.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11851 => sorbet-runtime-0.5.11856}/lib/types/props/private/apply_default.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11851 => sorbet-runtime-0.5.11856}/lib/types/props/private/deserializer_generator.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11851 => sorbet-runtime-0.5.11856}/lib/types/props/private/parser.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11851 => sorbet-runtime-0.5.11856}/lib/types/props/private/serde_transform.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11851 => sorbet-runtime-0.5.11856}/lib/types/props/private/serializer_generator.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11851 => sorbet-runtime-0.5.11856}/lib/types/props/private/setter_factory.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11851 => sorbet-runtime-0.5.11856}/lib/types/props/serializable.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11851 => sorbet-runtime-0.5.11856}/lib/types/props/type_validation.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11851 => sorbet-runtime-0.5.11856}/lib/types/props/utils.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11851 => sorbet-runtime-0.5.11856}/lib/types/props/weak_constructor.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11851 => sorbet-runtime-0.5.11856}/lib/types/sig.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11851 => sorbet-runtime-0.5.11856}/lib/types/struct.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11851 => sorbet-runtime-0.5.11856}/lib/types/types/anything.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11851 => sorbet-runtime-0.5.11856}/lib/types/types/attached_class.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11851 => sorbet-runtime-0.5.11856}/lib/types/types/base.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11851 => sorbet-runtime-0.5.11856}/lib/types/types/class_of.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11851 => sorbet-runtime-0.5.11856}/lib/types/types/enum.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11851 => sorbet-runtime-0.5.11856}/lib/types/types/fixed_array.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11851 => sorbet-runtime-0.5.11856}/lib/types/types/fixed_hash.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11851 => sorbet-runtime-0.5.11856}/lib/types/types/intersection.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11851 => sorbet-runtime-0.5.11856}/lib/types/types/noreturn.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11851 => sorbet-runtime-0.5.11856}/lib/types/types/proc.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11851 => sorbet-runtime-0.5.11856}/lib/types/types/self_type.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11851 => sorbet-runtime-0.5.11856}/lib/types/types/simple.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11851 => sorbet-runtime-0.5.11856}/lib/types/types/t_enum.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11851 => sorbet-runtime-0.5.11856}/lib/types/types/type_member.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11851 => sorbet-runtime-0.5.11856}/lib/types/types/type_parameter.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11851 => sorbet-runtime-0.5.11856}/lib/types/types/type_template.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11851 => sorbet-runtime-0.5.11856}/lib/types/types/type_variable.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11851 => sorbet-runtime-0.5.11856}/lib/types/types/typed_array.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11851 => sorbet-runtime-0.5.11856}/lib/types/types/typed_class.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11851 => sorbet-runtime-0.5.11856}/lib/types/types/typed_enumerable.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11851 => sorbet-runtime-0.5.11856}/lib/types/types/typed_enumerator.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11851 => sorbet-runtime-0.5.11856}/lib/types/types/typed_enumerator_chain.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11851 => sorbet-runtime-0.5.11856}/lib/types/types/typed_enumerator_lazy.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11851 => sorbet-runtime-0.5.11856}/lib/types/types/typed_hash.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11851 => sorbet-runtime-0.5.11856}/lib/types/types/typed_range.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11851 => sorbet-runtime-0.5.11856}/lib/types/types/typed_set.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11851 => sorbet-runtime-0.5.11856}/lib/types/types/union.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11851 => sorbet-runtime-0.5.11856}/lib/types/types/untyped.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11851 => sorbet-runtime-0.5.11856}/lib/types/utils.rb (100%) diff --git a/Library/Homebrew/Gemfile.lock b/Library/Homebrew/Gemfile.lock index f626b887f9..186f90facb 100644 --- a/Library/Homebrew/Gemfile.lock +++ b/Library/Homebrew/Gemfile.lock @@ -155,6 +155,7 @@ GEM PLATFORMS aarch64-linux + arm-linux arm64-darwin x86_64-darwin x86_64-linux diff --git a/Library/Homebrew/vendor/bundle/bundler/setup.rb b/Library/Homebrew/vendor/bundle/bundler/setup.rb index cebcb248ce..9b196efb5a 100644 --- a/Library/Homebrew/vendor/bundle/bundler/setup.rb +++ b/Library/Homebrew/vendor/bundle/bundler/setup.rb @@ -75,7 +75,7 @@ $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/extensions/arm64-darwin-20/#{Gem.extension_api_version}/pycall-1.5.2") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/pycall-1.5.2/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rainbow-3.1.1/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-runtime-0.5.11851/lib") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-runtime-0.5.11856/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rbi-0.2.4/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/extensions/arm64-darwin-20/#{Gem.extension_api_version}/rbs-3.8.1") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rbs-3.8.1/lib") @@ -107,9 +107,9 @@ $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/simplecov_json_formatter-0.1.4/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/simplecov-0.22.0/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/simplecov-cobertura-2.1.0/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-static-0.5.11851-universal-darwin/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-0.5.11851/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-static-and-runtime-0.5.11851/lib") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-static-0.5.11856-universal-darwin/lib") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-0.5.11856/lib") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-static-and-runtime-0.5.11856/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/thor-1.3.2/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/spoom-1.5.4/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/extensions/arm64-darwin-20/#{Gem.extension_api_version}/stackprof-0.2.27") diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/sorbet-runtime.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/sorbet-runtime.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/sorbet-runtime.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/sorbet-runtime.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/_types.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/_types.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/_types.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/_types.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/abstract_utils.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/abstract_utils.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/abstract_utils.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/abstract_utils.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/boolean.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/boolean.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/boolean.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/boolean.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/compatibility_patches.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/compatibility_patches.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/compatibility_patches.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/compatibility_patches.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/configuration.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/configuration.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/configuration.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/configuration.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/enum.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/enum.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/enum.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/enum.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/generic.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/generic.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/generic.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/generic.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/helpers.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/helpers.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/helpers.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/helpers.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/non_forcing_constants.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/non_forcing_constants.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/non_forcing_constants.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/non_forcing_constants.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/private/abstract/data.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/private/abstract/data.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/private/abstract/data.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/private/abstract/data.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/private/abstract/declare.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/private/abstract/declare.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/private/abstract/declare.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/private/abstract/declare.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/private/abstract/hooks.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/private/abstract/hooks.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/private/abstract/hooks.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/private/abstract/hooks.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/private/abstract/validate.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/private/abstract/validate.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/private/abstract/validate.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/private/abstract/validate.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/private/caller_utils.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/private/caller_utils.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/private/caller_utils.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/private/caller_utils.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/private/casts.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/private/casts.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/private/casts.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/private/casts.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/private/class_utils.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/private/class_utils.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/private/class_utils.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/private/class_utils.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/private/decl_state.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/private/decl_state.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/private/decl_state.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/private/decl_state.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/private/final.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/private/final.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/private/final.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/private/final.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/private/methods/_methods.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/private/methods/_methods.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/private/methods/_methods.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/private/methods/_methods.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/private/methods/call_validation.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/private/methods/call_validation.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/private/methods/call_validation.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/private/methods/call_validation.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/private/methods/call_validation_2_6.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/private/methods/call_validation_2_6.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/private/methods/call_validation_2_6.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/private/methods/call_validation_2_6.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/private/methods/call_validation_2_7.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/private/methods/call_validation_2_7.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/private/methods/call_validation_2_7.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/private/methods/call_validation_2_7.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/private/methods/decl_builder.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/private/methods/decl_builder.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/private/methods/decl_builder.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/private/methods/decl_builder.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/private/methods/modes.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/private/methods/modes.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/private/methods/modes.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/private/methods/modes.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/private/methods/signature.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/private/methods/signature.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/private/methods/signature.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/private/methods/signature.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/private/methods/signature_validation.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/private/methods/signature_validation.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/private/methods/signature_validation.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/private/methods/signature_validation.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/private/mixins/mixins.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/private/mixins/mixins.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/private/mixins/mixins.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/private/mixins/mixins.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/private/retry.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/private/retry.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/private/retry.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/private/retry.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/private/runtime_levels.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/private/runtime_levels.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/private/runtime_levels.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/private/runtime_levels.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/private/sealed.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/private/sealed.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/private/sealed.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/private/sealed.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/private/types/not_typed.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/private/types/not_typed.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/private/types/not_typed.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/private/types/not_typed.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/private/types/simple_pair_union.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/private/types/simple_pair_union.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/private/types/simple_pair_union.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/private/types/simple_pair_union.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/private/types/string_holder.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/private/types/string_holder.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/private/types/string_holder.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/private/types/string_holder.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/private/types/type_alias.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/private/types/type_alias.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/private/types/type_alias.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/private/types/type_alias.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/private/types/void.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/private/types/void.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/private/types/void.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/private/types/void.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/props/_props.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/props/_props.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/props/_props.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/props/_props.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/props/constructor.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/props/constructor.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/props/constructor.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/props/constructor.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/props/custom_type.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/props/custom_type.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/props/custom_type.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/props/custom_type.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/props/decorator.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/props/decorator.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/props/decorator.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/props/decorator.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/props/errors.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/props/errors.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/props/errors.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/props/errors.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/props/generated_code_validation.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/props/generated_code_validation.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/props/generated_code_validation.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/props/generated_code_validation.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/props/has_lazily_specialized_methods.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/props/has_lazily_specialized_methods.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/props/has_lazily_specialized_methods.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/props/has_lazily_specialized_methods.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/props/optional.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/props/optional.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/props/optional.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/props/optional.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/props/plugin.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/props/plugin.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/props/plugin.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/props/plugin.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/props/pretty_printable.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/props/pretty_printable.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/props/pretty_printable.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/props/pretty_printable.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/props/private/apply_default.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/props/private/apply_default.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/props/private/apply_default.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/props/private/apply_default.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/props/private/deserializer_generator.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/props/private/deserializer_generator.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/props/private/deserializer_generator.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/props/private/deserializer_generator.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/props/private/parser.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/props/private/parser.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/props/private/parser.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/props/private/parser.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/props/private/serde_transform.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/props/private/serde_transform.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/props/private/serde_transform.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/props/private/serde_transform.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/props/private/serializer_generator.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/props/private/serializer_generator.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/props/private/serializer_generator.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/props/private/serializer_generator.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/props/private/setter_factory.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/props/private/setter_factory.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/props/private/setter_factory.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/props/private/setter_factory.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/props/serializable.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/props/serializable.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/props/serializable.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/props/serializable.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/props/type_validation.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/props/type_validation.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/props/type_validation.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/props/type_validation.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/props/utils.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/props/utils.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/props/utils.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/props/utils.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/props/weak_constructor.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/props/weak_constructor.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/props/weak_constructor.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/props/weak_constructor.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/sig.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/sig.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/sig.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/sig.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/struct.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/struct.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/struct.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/struct.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/types/anything.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/types/anything.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/types/anything.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/types/anything.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/types/attached_class.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/types/attached_class.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/types/attached_class.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/types/attached_class.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/types/base.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/types/base.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/types/base.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/types/base.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/types/class_of.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/types/class_of.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/types/class_of.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/types/class_of.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/types/enum.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/types/enum.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/types/enum.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/types/enum.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/types/fixed_array.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/types/fixed_array.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/types/fixed_array.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/types/fixed_array.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/types/fixed_hash.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/types/fixed_hash.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/types/fixed_hash.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/types/fixed_hash.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/types/intersection.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/types/intersection.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/types/intersection.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/types/intersection.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/types/noreturn.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/types/noreturn.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/types/noreturn.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/types/noreturn.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/types/proc.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/types/proc.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/types/proc.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/types/proc.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/types/self_type.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/types/self_type.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/types/self_type.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/types/self_type.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/types/simple.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/types/simple.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/types/simple.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/types/simple.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/types/t_enum.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/types/t_enum.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/types/t_enum.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/types/t_enum.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/types/type_member.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/types/type_member.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/types/type_member.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/types/type_member.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/types/type_parameter.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/types/type_parameter.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/types/type_parameter.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/types/type_parameter.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/types/type_template.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/types/type_template.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/types/type_template.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/types/type_template.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/types/type_variable.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/types/type_variable.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/types/type_variable.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/types/type_variable.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/types/typed_array.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/types/typed_array.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/types/typed_array.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/types/typed_array.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/types/typed_class.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/types/typed_class.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/types/typed_class.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/types/typed_class.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/types/typed_enumerable.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/types/typed_enumerable.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/types/typed_enumerable.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/types/typed_enumerable.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/types/typed_enumerator.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/types/typed_enumerator.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/types/typed_enumerator.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/types/typed_enumerator.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/types/typed_enumerator_chain.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/types/typed_enumerator_chain.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/types/typed_enumerator_chain.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/types/typed_enumerator_chain.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/types/typed_enumerator_lazy.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/types/typed_enumerator_lazy.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/types/typed_enumerator_lazy.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/types/typed_enumerator_lazy.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/types/typed_hash.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/types/typed_hash.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/types/typed_hash.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/types/typed_hash.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/types/typed_range.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/types/typed_range.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/types/typed_range.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/types/typed_range.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/types/typed_set.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/types/typed_set.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/types/typed_set.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/types/typed_set.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/types/union.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/types/union.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/types/union.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/types/union.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/types/untyped.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/types/untyped.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/types/untyped.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/types/untyped.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/utils.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/utils.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11851/lib/types/utils.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/utils.rb From 4b2ce255ecf1ebe778ff6c0144afeb5fda180c1c Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Tue, 25 Feb 2025 19:00:23 +0000 Subject: [PATCH 177/322] Update RBI files for sorbet. Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow. --- Library/Homebrew/sorbet/rbi/dsl/livecheck.rbi | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Library/Homebrew/sorbet/rbi/dsl/livecheck.rbi b/Library/Homebrew/sorbet/rbi/dsl/livecheck.rbi index f900f942d9..94aca262d1 100644 --- a/Library/Homebrew/sorbet/rbi/dsl/livecheck.rbi +++ b/Library/Homebrew/sorbet/rbi/dsl/livecheck.rbi @@ -5,4 +5,7 @@ # Please instead update this file by running `bin/tapioca dsl Livecheck`. -class Livecheck; end +class Livecheck + sig { params(args: T.untyped, block: T.untyped).returns(T.untyped) } + def url_options(*args, &block); end +end From a092403b16edb335aab304333ff5c5b52087a36a Mon Sep 17 00:00:00 2001 From: Douglas Eichelberger Date: Tue, 25 Feb 2025 11:23:29 -0800 Subject: [PATCH 178/322] Fix breaking type change in Formula#std_npm_args --- Library/Homebrew/formula.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb index db92cf8c74..fdc49df1dc 100644 --- a/Library/Homebrew/formula.rb +++ b/Library/Homebrew/formula.rb @@ -1835,7 +1835,7 @@ class Formula # Standard parameters for npm builds. # # @api public - sig { params(prefix: T.any(NilClass, String, Pathname)).returns(T::Array[String]) } + sig { params(prefix: T.any(String, Pathname, FalseClass)).returns(T::Array[String]) } def std_npm_args(prefix: libexec) require "language/node" From 7b3e469650eab97837a5d3b3954d33ffa281dfd6 Mon Sep 17 00:00:00 2001 From: thibhero Date: Tue, 25 Feb 2025 14:28:44 -0500 Subject: [PATCH 179/322] wrong array of formulae in compute sized --- Library/Homebrew/cmd/upgrade.rb | 2 +- Library/Homebrew/install.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Library/Homebrew/cmd/upgrade.rb b/Library/Homebrew/cmd/upgrade.rb index a65d96e9ba..4e1fac7a03 100644 --- a/Library/Homebrew/cmd/upgrade.rb +++ b/Library/Homebrew/cmd/upgrade.rb @@ -225,7 +225,7 @@ module Homebrew if args.ask? ohai "Looking for bottles..." - sized_formulae = Install.compute_sized_formulae(formulae, args: args) + sized_formulae = Install.compute_sized_formulae(formulae_to_install, args: args) sizes = Install.compute_total_sizes(sized_formulae, debug: args.debug?) puts "Formulae: #{sized_formulae.join(", ")}\n\n" diff --git a/Library/Homebrew/install.rb b/Library/Homebrew/install.rb index bb2cffdfc7..ab443e0e7c 100644 --- a/Library/Homebrew/install.rb +++ b/Library/Homebrew/install.rb @@ -368,7 +368,7 @@ module Homebrew # Add any installed formula that depends on one of the sized formulae and is outdated. unless Homebrew::EnvConfig.no_installed_dependents_check? sized_formulae.concat(Formula.installed.select do |installed_formula| - installed_formula.outdated? && + installed_formula.bottled? && installed_formula.outdated? && installed_formula.deps.required.any? { |dep| sized_formulae.include?(dep.to_formula) } end) end From 3b3c55ca0d3fac40ee1d5b2c0984734b66c66e3a Mon Sep 17 00:00:00 2001 From: Douglas Eichelberger Date: Tue, 25 Feb 2025 11:55:37 -0800 Subject: [PATCH 180/322] fix: Remove misused YARD directives --- Library/Homebrew/formula.rb | 5 ----- Library/Homebrew/resource.rb | 2 -- 2 files changed, 7 deletions(-) diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb index db92cf8c74..150a8d234d 100644 --- a/Library/Homebrew/formula.rb +++ b/Library/Homebrew/formula.rb @@ -3432,8 +3432,6 @@ class Formula # ```ruby # allow_network_access! [:build, :test] # ``` - # - # @!attribute [w] allow_network_access! sig { params(phases: T.any(Symbol, T::Array[Symbol])).void } def allow_network_access!(phases = []) phases_array = Array(phases) @@ -3466,8 +3464,6 @@ class Formula # ```ruby # deny_network_access! [:build, :test] # ``` - # - # @!attribute [w] deny_network_access! sig { params(phases: T.any(Symbol, T::Array[Symbol])).void } def deny_network_access!(phases = []) phases_array = Array(phases) @@ -3740,7 +3736,6 @@ class Formula T.must(@stable).instance_eval(&block) end - # @!attribute [w] head # Adds a {.head} {SoftwareSpec}. # This can be installed by passing the `--HEAD` option to allow # installing software directly from a branch of a version-control repository. diff --git a/Library/Homebrew/resource.rb b/Library/Homebrew/resource.rb index df691aac82..93349736d4 100644 --- a/Library/Homebrew/resource.rb +++ b/Library/Homebrew/resource.rb @@ -155,8 +155,6 @@ class Resource # regex /foo-(\d+(?:\.\d+)+)\.tar/ # end # ``` - # - # @!attribute [w] livecheck def livecheck(&block) return @livecheck unless block From 54b59ce40ca07ad32475bbae1d49700d2545bcce Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 26 Feb 2025 18:27:00 +0000 Subject: [PATCH 181/322] build(deps): bump the sorbet group in /Library/Homebrew with 4 updates Bumps the sorbet group in /Library/Homebrew with 4 updates: [sorbet-static-and-runtime](https://github.com/sorbet/sorbet), [sorbet-runtime](https://github.com/sorbet/sorbet), [sorbet](https://github.com/sorbet/sorbet) and [sorbet-static](https://github.com/sorbet/sorbet). Updates `sorbet-static-and-runtime` from 0.5.11856 to 0.5.11862 - [Release notes](https://github.com/sorbet/sorbet/releases) - [Commits](https://github.com/sorbet/sorbet/commits) Updates `sorbet-runtime` from 0.5.11856 to 0.5.11862 - [Release notes](https://github.com/sorbet/sorbet/releases) - [Commits](https://github.com/sorbet/sorbet/commits) Updates `sorbet` from 0.5.11856 to 0.5.11862 - [Release notes](https://github.com/sorbet/sorbet/releases) - [Commits](https://github.com/sorbet/sorbet/commits) Updates `sorbet-static` from 0.5.11856 to 0.5.11862 - [Release notes](https://github.com/sorbet/sorbet/releases) - [Commits](https://github.com/sorbet/sorbet/commits) --- updated-dependencies: - dependency-name: sorbet-static-and-runtime dependency-type: direct:development update-type: version-update:semver-patch dependency-group: sorbet - dependency-name: sorbet-runtime dependency-type: direct:production update-type: version-update:semver-patch dependency-group: sorbet - dependency-name: sorbet dependency-type: indirect update-type: version-update:semver-patch dependency-group: sorbet - dependency-name: sorbet-static dependency-type: indirect update-type: version-update:semver-patch dependency-group: sorbet ... Signed-off-by: dependabot[bot] --- Library/Homebrew/Gemfile.lock | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/Library/Homebrew/Gemfile.lock b/Library/Homebrew/Gemfile.lock index 186f90facb..3a8ae759a1 100644 --- a/Library/Homebrew/Gemfile.lock +++ b/Library/Homebrew/Gemfile.lock @@ -116,15 +116,15 @@ GEM simplecov-html (0.13.1) simplecov_json_formatter (0.1.4) simpleidn (0.2.3) - sorbet (0.5.11856) - sorbet-static (= 0.5.11856) - sorbet-runtime (0.5.11856) - sorbet-static (0.5.11856-aarch64-linux) - sorbet-static (0.5.11856-universal-darwin) - sorbet-static (0.5.11856-x86_64-linux) - sorbet-static-and-runtime (0.5.11856) - sorbet (= 0.5.11856) - sorbet-runtime (= 0.5.11856) + sorbet (0.5.11862) + sorbet-static (= 0.5.11862) + sorbet-runtime (0.5.11862) + sorbet-static (0.5.11862-aarch64-linux) + sorbet-static (0.5.11862-universal-darwin) + sorbet-static (0.5.11862-x86_64-linux) + sorbet-static-and-runtime (0.5.11862) + sorbet (= 0.5.11862) + sorbet-runtime (= 0.5.11862) spoom (1.5.4) erubi (>= 1.10.0) prism (>= 0.28.0) @@ -155,7 +155,6 @@ GEM PLATFORMS aarch64-linux - arm-linux arm64-darwin x86_64-darwin x86_64-linux From 686d978cced3cbb8137e15741bee94b3a520b44f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 26 Feb 2025 18:27:13 +0000 Subject: [PATCH 182/322] build(deps-dev): bump redcarpet from 3.6.0 to 3.6.1 in /Library/Homebrew Bumps [redcarpet](https://github.com/vmg/redcarpet) from 3.6.0 to 3.6.1. - [Release notes](https://github.com/vmg/redcarpet/releases) - [Changelog](https://github.com/vmg/redcarpet/blob/master/CHANGELOG.md) - [Commits](https://github.com/vmg/redcarpet/commits) --- updated-dependencies: - dependency-name: redcarpet dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- Library/Homebrew/Gemfile.lock | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Library/Homebrew/Gemfile.lock b/Library/Homebrew/Gemfile.lock index 186f90facb..725e89a87a 100644 --- a/Library/Homebrew/Gemfile.lock +++ b/Library/Homebrew/Gemfile.lock @@ -52,7 +52,7 @@ GEM sorbet-runtime (>= 0.5.9204) rbs (3.8.1) logger - redcarpet (3.6.0) + redcarpet (3.6.1) regexp_parser (2.10.0) rexml (3.4.1) rspec (3.13.0) @@ -155,7 +155,6 @@ GEM PLATFORMS aarch64-linux - arm-linux arm64-darwin x86_64-darwin x86_64-linux From 3aa1b1200a4aafc93bd863afd715da61592069c4 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 26 Feb 2025 18:27:21 +0000 Subject: [PATCH 183/322] build(deps-dev): bump rubocop-ast in /Library/Homebrew Bumps [rubocop-ast](https://github.com/rubocop/rubocop-ast) from 1.38.0 to 1.38.1. - [Release notes](https://github.com/rubocop/rubocop-ast/releases) - [Changelog](https://github.com/rubocop/rubocop-ast/blob/master/CHANGELOG.md) - [Commits](https://github.com/rubocop/rubocop-ast/compare/v1.38.0...v1.38.1) --- updated-dependencies: - dependency-name: rubocop-ast dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- Library/Homebrew/Gemfile.lock | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Library/Homebrew/Gemfile.lock b/Library/Homebrew/Gemfile.lock index 186f90facb..92f2d674c7 100644 --- a/Library/Homebrew/Gemfile.lock +++ b/Library/Homebrew/Gemfile.lock @@ -87,7 +87,7 @@ GEM rubocop-ast (>= 1.38.0, < 2.0) ruby-progressbar (~> 1.7) unicode-display_width (>= 2.4.0, < 4.0) - rubocop-ast (1.38.0) + rubocop-ast (1.38.1) parser (>= 3.3.1.0) rubocop-md (1.2.4) rubocop (>= 1.45) @@ -155,7 +155,6 @@ GEM PLATFORMS aarch64-linux - arm-linux arm64-darwin x86_64-darwin x86_64-linux From d00ad531df3f6bd89dfadad1c4d970bb56bde3d5 Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Wed, 26 Feb 2025 18:33:40 +0000 Subject: [PATCH 184/322] brew vendor-gems: commit updates. --- Library/Homebrew/Gemfile.lock | 1 + Library/Homebrew/vendor/bundle/bundler/setup.rb | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Library/Homebrew/Gemfile.lock b/Library/Homebrew/Gemfile.lock index 725e89a87a..7587a5e64e 100644 --- a/Library/Homebrew/Gemfile.lock +++ b/Library/Homebrew/Gemfile.lock @@ -155,6 +155,7 @@ GEM PLATFORMS aarch64-linux + arm-linux arm64-darwin x86_64-darwin x86_64-linux diff --git a/Library/Homebrew/vendor/bundle/bundler/setup.rb b/Library/Homebrew/vendor/bundle/bundler/setup.rb index 9b196efb5a..3425259740 100644 --- a/Library/Homebrew/vendor/bundle/bundler/setup.rb +++ b/Library/Homebrew/vendor/bundle/bundler/setup.rb @@ -79,8 +79,8 @@ $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rbi-0.2.4/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/extensions/arm64-darwin-20/#{Gem.extension_api_version}/rbs-3.8.1") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rbs-3.8.1/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/extensions/arm64-darwin-20/#{Gem.extension_api_version}/redcarpet-3.6.0") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/redcarpet-3.6.0/lib") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/extensions/arm64-darwin-20/#{Gem.extension_api_version}/redcarpet-3.6.1") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/redcarpet-3.6.1/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rspec-support-3.13.2/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rspec-core-3.13.3/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rspec-expectations-3.13.3/lib") From cf15d62902c3345dc9b867c142a6fa53a9717d06 Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Wed, 26 Feb 2025 18:33:52 +0000 Subject: [PATCH 185/322] brew vendor-gems: commit updates. --- Library/Homebrew/Gemfile.lock | 1 + Library/Homebrew/vendor/bundle/bundler/setup.rb | 8 ++++---- .../lib/sorbet-runtime.rb | 0 .../lib/types/_types.rb | 0 .../lib/types/abstract_utils.rb | 0 .../lib/types/boolean.rb | 0 .../lib/types/compatibility_patches.rb | 0 .../lib/types/configuration.rb | 0 .../lib/types/enum.rb | 0 .../lib/types/generic.rb | 0 .../lib/types/helpers.rb | 0 .../lib/types/non_forcing_constants.rb | 0 .../lib/types/private/abstract/data.rb | 0 .../lib/types/private/abstract/declare.rb | 0 .../lib/types/private/abstract/hooks.rb | 0 .../lib/types/private/abstract/validate.rb | 0 .../lib/types/private/caller_utils.rb | 0 .../lib/types/private/casts.rb | 0 .../lib/types/private/class_utils.rb | 0 .../lib/types/private/decl_state.rb | 0 .../lib/types/private/final.rb | 0 .../lib/types/private/methods/_methods.rb | 0 .../lib/types/private/methods/call_validation.rb | 0 .../lib/types/private/methods/call_validation_2_6.rb | 0 .../lib/types/private/methods/call_validation_2_7.rb | 0 .../lib/types/private/methods/decl_builder.rb | 0 .../lib/types/private/methods/modes.rb | 0 .../lib/types/private/methods/signature.rb | 0 .../lib/types/private/methods/signature_validation.rb | 0 .../lib/types/private/mixins/mixins.rb | 0 .../lib/types/private/retry.rb | 0 .../lib/types/private/runtime_levels.rb | 0 .../lib/types/private/sealed.rb | 0 .../lib/types/private/types/not_typed.rb | 0 .../lib/types/private/types/simple_pair_union.rb | 0 .../lib/types/private/types/string_holder.rb | 0 .../lib/types/private/types/type_alias.rb | 0 .../lib/types/private/types/void.rb | 0 .../lib/types/props/_props.rb | 0 .../lib/types/props/constructor.rb | 0 .../lib/types/props/custom_type.rb | 0 .../lib/types/props/decorator.rb | 0 .../lib/types/props/errors.rb | 0 .../lib/types/props/generated_code_validation.rb | 0 .../lib/types/props/has_lazily_specialized_methods.rb | 0 .../lib/types/props/optional.rb | 0 .../lib/types/props/plugin.rb | 0 .../lib/types/props/pretty_printable.rb | 0 .../lib/types/props/private/apply_default.rb | 0 .../lib/types/props/private/deserializer_generator.rb | 0 .../lib/types/props/private/parser.rb | 0 .../lib/types/props/private/serde_transform.rb | 0 .../lib/types/props/private/serializer_generator.rb | 0 .../lib/types/props/private/setter_factory.rb | 0 .../lib/types/props/serializable.rb | 0 .../lib/types/props/type_validation.rb | 0 .../lib/types/props/utils.rb | 0 .../lib/types/props/weak_constructor.rb | 0 .../lib/types/sig.rb | 0 .../lib/types/struct.rb | 0 .../lib/types/types/anything.rb | 0 .../lib/types/types/attached_class.rb | 0 .../lib/types/types/base.rb | 0 .../lib/types/types/class_of.rb | 0 .../lib/types/types/enum.rb | 0 .../lib/types/types/fixed_array.rb | 0 .../lib/types/types/fixed_hash.rb | 0 .../lib/types/types/intersection.rb | 0 .../lib/types/types/noreturn.rb | 0 .../lib/types/types/proc.rb | 0 .../lib/types/types/self_type.rb | 0 .../lib/types/types/simple.rb | 0 .../lib/types/types/t_enum.rb | 0 .../lib/types/types/type_member.rb | 0 .../lib/types/types/type_parameter.rb | 0 .../lib/types/types/type_template.rb | 0 .../lib/types/types/type_variable.rb | 0 .../lib/types/types/typed_array.rb | 0 .../lib/types/types/typed_class.rb | 0 .../lib/types/types/typed_enumerable.rb | 0 .../lib/types/types/typed_enumerator.rb | 0 .../lib/types/types/typed_enumerator_chain.rb | 0 .../lib/types/types/typed_enumerator_lazy.rb | 0 .../lib/types/types/typed_hash.rb | 0 .../lib/types/types/typed_range.rb | 0 .../lib/types/types/typed_set.rb | 0 .../lib/types/types/union.rb | 0 .../lib/types/types/untyped.rb | 0 .../lib/types/utils.rb | 0 89 files changed, 5 insertions(+), 4 deletions(-) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11856 => sorbet-runtime-0.5.11862}/lib/sorbet-runtime.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11856 => sorbet-runtime-0.5.11862}/lib/types/_types.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11856 => sorbet-runtime-0.5.11862}/lib/types/abstract_utils.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11856 => sorbet-runtime-0.5.11862}/lib/types/boolean.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11856 => sorbet-runtime-0.5.11862}/lib/types/compatibility_patches.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11856 => sorbet-runtime-0.5.11862}/lib/types/configuration.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11856 => sorbet-runtime-0.5.11862}/lib/types/enum.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11856 => sorbet-runtime-0.5.11862}/lib/types/generic.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11856 => sorbet-runtime-0.5.11862}/lib/types/helpers.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11856 => sorbet-runtime-0.5.11862}/lib/types/non_forcing_constants.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11856 => sorbet-runtime-0.5.11862}/lib/types/private/abstract/data.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11856 => sorbet-runtime-0.5.11862}/lib/types/private/abstract/declare.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11856 => sorbet-runtime-0.5.11862}/lib/types/private/abstract/hooks.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11856 => sorbet-runtime-0.5.11862}/lib/types/private/abstract/validate.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11856 => sorbet-runtime-0.5.11862}/lib/types/private/caller_utils.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11856 => sorbet-runtime-0.5.11862}/lib/types/private/casts.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11856 => sorbet-runtime-0.5.11862}/lib/types/private/class_utils.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11856 => sorbet-runtime-0.5.11862}/lib/types/private/decl_state.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11856 => sorbet-runtime-0.5.11862}/lib/types/private/final.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11856 => sorbet-runtime-0.5.11862}/lib/types/private/methods/_methods.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11856 => sorbet-runtime-0.5.11862}/lib/types/private/methods/call_validation.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11856 => sorbet-runtime-0.5.11862}/lib/types/private/methods/call_validation_2_6.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11856 => sorbet-runtime-0.5.11862}/lib/types/private/methods/call_validation_2_7.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11856 => sorbet-runtime-0.5.11862}/lib/types/private/methods/decl_builder.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11856 => sorbet-runtime-0.5.11862}/lib/types/private/methods/modes.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11856 => sorbet-runtime-0.5.11862}/lib/types/private/methods/signature.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11856 => sorbet-runtime-0.5.11862}/lib/types/private/methods/signature_validation.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11856 => sorbet-runtime-0.5.11862}/lib/types/private/mixins/mixins.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11856 => sorbet-runtime-0.5.11862}/lib/types/private/retry.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11856 => sorbet-runtime-0.5.11862}/lib/types/private/runtime_levels.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11856 => sorbet-runtime-0.5.11862}/lib/types/private/sealed.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11856 => sorbet-runtime-0.5.11862}/lib/types/private/types/not_typed.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11856 => sorbet-runtime-0.5.11862}/lib/types/private/types/simple_pair_union.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11856 => sorbet-runtime-0.5.11862}/lib/types/private/types/string_holder.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11856 => sorbet-runtime-0.5.11862}/lib/types/private/types/type_alias.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11856 => sorbet-runtime-0.5.11862}/lib/types/private/types/void.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11856 => sorbet-runtime-0.5.11862}/lib/types/props/_props.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11856 => sorbet-runtime-0.5.11862}/lib/types/props/constructor.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11856 => sorbet-runtime-0.5.11862}/lib/types/props/custom_type.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11856 => sorbet-runtime-0.5.11862}/lib/types/props/decorator.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11856 => sorbet-runtime-0.5.11862}/lib/types/props/errors.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11856 => sorbet-runtime-0.5.11862}/lib/types/props/generated_code_validation.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11856 => sorbet-runtime-0.5.11862}/lib/types/props/has_lazily_specialized_methods.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11856 => sorbet-runtime-0.5.11862}/lib/types/props/optional.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11856 => sorbet-runtime-0.5.11862}/lib/types/props/plugin.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11856 => sorbet-runtime-0.5.11862}/lib/types/props/pretty_printable.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11856 => sorbet-runtime-0.5.11862}/lib/types/props/private/apply_default.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11856 => sorbet-runtime-0.5.11862}/lib/types/props/private/deserializer_generator.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11856 => sorbet-runtime-0.5.11862}/lib/types/props/private/parser.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11856 => sorbet-runtime-0.5.11862}/lib/types/props/private/serde_transform.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11856 => sorbet-runtime-0.5.11862}/lib/types/props/private/serializer_generator.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11856 => sorbet-runtime-0.5.11862}/lib/types/props/private/setter_factory.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11856 => sorbet-runtime-0.5.11862}/lib/types/props/serializable.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11856 => sorbet-runtime-0.5.11862}/lib/types/props/type_validation.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11856 => sorbet-runtime-0.5.11862}/lib/types/props/utils.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11856 => sorbet-runtime-0.5.11862}/lib/types/props/weak_constructor.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11856 => sorbet-runtime-0.5.11862}/lib/types/sig.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11856 => sorbet-runtime-0.5.11862}/lib/types/struct.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11856 => sorbet-runtime-0.5.11862}/lib/types/types/anything.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11856 => sorbet-runtime-0.5.11862}/lib/types/types/attached_class.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11856 => sorbet-runtime-0.5.11862}/lib/types/types/base.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11856 => sorbet-runtime-0.5.11862}/lib/types/types/class_of.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11856 => sorbet-runtime-0.5.11862}/lib/types/types/enum.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11856 => sorbet-runtime-0.5.11862}/lib/types/types/fixed_array.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11856 => sorbet-runtime-0.5.11862}/lib/types/types/fixed_hash.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11856 => sorbet-runtime-0.5.11862}/lib/types/types/intersection.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11856 => sorbet-runtime-0.5.11862}/lib/types/types/noreturn.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11856 => sorbet-runtime-0.5.11862}/lib/types/types/proc.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11856 => sorbet-runtime-0.5.11862}/lib/types/types/self_type.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11856 => sorbet-runtime-0.5.11862}/lib/types/types/simple.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11856 => sorbet-runtime-0.5.11862}/lib/types/types/t_enum.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11856 => sorbet-runtime-0.5.11862}/lib/types/types/type_member.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11856 => sorbet-runtime-0.5.11862}/lib/types/types/type_parameter.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11856 => sorbet-runtime-0.5.11862}/lib/types/types/type_template.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11856 => sorbet-runtime-0.5.11862}/lib/types/types/type_variable.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11856 => sorbet-runtime-0.5.11862}/lib/types/types/typed_array.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11856 => sorbet-runtime-0.5.11862}/lib/types/types/typed_class.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11856 => sorbet-runtime-0.5.11862}/lib/types/types/typed_enumerable.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11856 => sorbet-runtime-0.5.11862}/lib/types/types/typed_enumerator.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11856 => sorbet-runtime-0.5.11862}/lib/types/types/typed_enumerator_chain.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11856 => sorbet-runtime-0.5.11862}/lib/types/types/typed_enumerator_lazy.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11856 => sorbet-runtime-0.5.11862}/lib/types/types/typed_hash.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11856 => sorbet-runtime-0.5.11862}/lib/types/types/typed_range.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11856 => sorbet-runtime-0.5.11862}/lib/types/types/typed_set.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11856 => sorbet-runtime-0.5.11862}/lib/types/types/union.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11856 => sorbet-runtime-0.5.11862}/lib/types/types/untyped.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11856 => sorbet-runtime-0.5.11862}/lib/types/utils.rb (100%) diff --git a/Library/Homebrew/Gemfile.lock b/Library/Homebrew/Gemfile.lock index 3a8ae759a1..b0a4c68a56 100644 --- a/Library/Homebrew/Gemfile.lock +++ b/Library/Homebrew/Gemfile.lock @@ -155,6 +155,7 @@ GEM PLATFORMS aarch64-linux + arm-linux arm64-darwin x86_64-darwin x86_64-linux diff --git a/Library/Homebrew/vendor/bundle/bundler/setup.rb b/Library/Homebrew/vendor/bundle/bundler/setup.rb index 9b196efb5a..310f8c8082 100644 --- a/Library/Homebrew/vendor/bundle/bundler/setup.rb +++ b/Library/Homebrew/vendor/bundle/bundler/setup.rb @@ -75,7 +75,7 @@ $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/extensions/arm64-darwin-20/#{Gem.extension_api_version}/pycall-1.5.2") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/pycall-1.5.2/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rainbow-3.1.1/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-runtime-0.5.11856/lib") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-runtime-0.5.11862/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rbi-0.2.4/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/extensions/arm64-darwin-20/#{Gem.extension_api_version}/rbs-3.8.1") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rbs-3.8.1/lib") @@ -107,9 +107,9 @@ $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/simplecov_json_formatter-0.1.4/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/simplecov-0.22.0/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/simplecov-cobertura-2.1.0/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-static-0.5.11856-universal-darwin/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-0.5.11856/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-static-and-runtime-0.5.11856/lib") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-static-0.5.11862-universal-darwin/lib") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-0.5.11862/lib") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-static-and-runtime-0.5.11862/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/thor-1.3.2/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/spoom-1.5.4/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/extensions/arm64-darwin-20/#{Gem.extension_api_version}/stackprof-0.2.27") diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/sorbet-runtime.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/sorbet-runtime.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/sorbet-runtime.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/sorbet-runtime.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/_types.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/_types.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/_types.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/_types.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/abstract_utils.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/abstract_utils.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/abstract_utils.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/abstract_utils.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/boolean.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/boolean.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/boolean.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/boolean.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/compatibility_patches.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/compatibility_patches.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/compatibility_patches.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/compatibility_patches.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/configuration.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/configuration.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/configuration.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/configuration.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/enum.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/enum.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/enum.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/enum.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/generic.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/generic.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/generic.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/generic.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/helpers.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/helpers.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/helpers.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/helpers.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/non_forcing_constants.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/non_forcing_constants.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/non_forcing_constants.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/non_forcing_constants.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/private/abstract/data.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/private/abstract/data.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/private/abstract/data.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/private/abstract/data.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/private/abstract/declare.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/private/abstract/declare.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/private/abstract/declare.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/private/abstract/declare.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/private/abstract/hooks.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/private/abstract/hooks.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/private/abstract/hooks.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/private/abstract/hooks.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/private/abstract/validate.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/private/abstract/validate.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/private/abstract/validate.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/private/abstract/validate.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/private/caller_utils.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/private/caller_utils.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/private/caller_utils.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/private/caller_utils.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/private/casts.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/private/casts.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/private/casts.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/private/casts.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/private/class_utils.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/private/class_utils.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/private/class_utils.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/private/class_utils.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/private/decl_state.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/private/decl_state.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/private/decl_state.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/private/decl_state.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/private/final.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/private/final.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/private/final.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/private/final.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/private/methods/_methods.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/private/methods/_methods.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/private/methods/_methods.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/private/methods/_methods.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/private/methods/call_validation.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/private/methods/call_validation.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/private/methods/call_validation.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/private/methods/call_validation.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/private/methods/call_validation_2_6.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/private/methods/call_validation_2_6.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/private/methods/call_validation_2_6.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/private/methods/call_validation_2_6.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/private/methods/call_validation_2_7.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/private/methods/call_validation_2_7.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/private/methods/call_validation_2_7.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/private/methods/call_validation_2_7.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/private/methods/decl_builder.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/private/methods/decl_builder.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/private/methods/decl_builder.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/private/methods/decl_builder.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/private/methods/modes.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/private/methods/modes.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/private/methods/modes.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/private/methods/modes.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/private/methods/signature.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/private/methods/signature.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/private/methods/signature.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/private/methods/signature.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/private/methods/signature_validation.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/private/methods/signature_validation.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/private/methods/signature_validation.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/private/methods/signature_validation.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/private/mixins/mixins.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/private/mixins/mixins.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/private/mixins/mixins.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/private/mixins/mixins.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/private/retry.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/private/retry.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/private/retry.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/private/retry.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/private/runtime_levels.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/private/runtime_levels.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/private/runtime_levels.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/private/runtime_levels.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/private/sealed.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/private/sealed.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/private/sealed.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/private/sealed.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/private/types/not_typed.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/private/types/not_typed.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/private/types/not_typed.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/private/types/not_typed.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/private/types/simple_pair_union.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/private/types/simple_pair_union.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/private/types/simple_pair_union.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/private/types/simple_pair_union.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/private/types/string_holder.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/private/types/string_holder.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/private/types/string_holder.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/private/types/string_holder.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/private/types/type_alias.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/private/types/type_alias.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/private/types/type_alias.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/private/types/type_alias.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/private/types/void.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/private/types/void.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/private/types/void.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/private/types/void.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/props/_props.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/props/_props.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/props/_props.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/props/_props.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/props/constructor.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/props/constructor.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/props/constructor.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/props/constructor.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/props/custom_type.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/props/custom_type.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/props/custom_type.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/props/custom_type.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/props/decorator.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/props/decorator.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/props/decorator.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/props/decorator.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/props/errors.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/props/errors.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/props/errors.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/props/errors.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/props/generated_code_validation.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/props/generated_code_validation.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/props/generated_code_validation.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/props/generated_code_validation.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/props/has_lazily_specialized_methods.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/props/has_lazily_specialized_methods.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/props/has_lazily_specialized_methods.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/props/has_lazily_specialized_methods.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/props/optional.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/props/optional.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/props/optional.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/props/optional.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/props/plugin.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/props/plugin.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/props/plugin.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/props/plugin.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/props/pretty_printable.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/props/pretty_printable.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/props/pretty_printable.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/props/pretty_printable.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/props/private/apply_default.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/props/private/apply_default.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/props/private/apply_default.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/props/private/apply_default.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/props/private/deserializer_generator.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/props/private/deserializer_generator.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/props/private/deserializer_generator.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/props/private/deserializer_generator.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/props/private/parser.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/props/private/parser.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/props/private/parser.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/props/private/parser.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/props/private/serde_transform.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/props/private/serde_transform.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/props/private/serde_transform.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/props/private/serde_transform.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/props/private/serializer_generator.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/props/private/serializer_generator.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/props/private/serializer_generator.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/props/private/serializer_generator.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/props/private/setter_factory.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/props/private/setter_factory.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/props/private/setter_factory.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/props/private/setter_factory.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/props/serializable.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/props/serializable.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/props/serializable.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/props/serializable.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/props/type_validation.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/props/type_validation.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/props/type_validation.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/props/type_validation.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/props/utils.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/props/utils.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/props/utils.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/props/utils.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/props/weak_constructor.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/props/weak_constructor.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/props/weak_constructor.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/props/weak_constructor.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/sig.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/sig.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/sig.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/sig.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/struct.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/struct.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/struct.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/struct.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/types/anything.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/types/anything.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/types/anything.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/types/anything.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/types/attached_class.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/types/attached_class.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/types/attached_class.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/types/attached_class.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/types/base.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/types/base.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/types/base.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/types/base.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/types/class_of.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/types/class_of.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/types/class_of.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/types/class_of.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/types/enum.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/types/enum.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/types/enum.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/types/enum.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/types/fixed_array.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/types/fixed_array.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/types/fixed_array.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/types/fixed_array.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/types/fixed_hash.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/types/fixed_hash.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/types/fixed_hash.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/types/fixed_hash.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/types/intersection.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/types/intersection.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/types/intersection.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/types/intersection.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/types/noreturn.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/types/noreturn.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/types/noreturn.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/types/noreturn.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/types/proc.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/types/proc.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/types/proc.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/types/proc.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/types/self_type.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/types/self_type.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/types/self_type.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/types/self_type.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/types/simple.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/types/simple.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/types/simple.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/types/simple.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/types/t_enum.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/types/t_enum.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/types/t_enum.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/types/t_enum.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/types/type_member.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/types/type_member.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/types/type_member.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/types/type_member.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/types/type_parameter.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/types/type_parameter.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/types/type_parameter.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/types/type_parameter.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/types/type_template.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/types/type_template.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/types/type_template.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/types/type_template.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/types/type_variable.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/types/type_variable.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/types/type_variable.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/types/type_variable.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/types/typed_array.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/types/typed_array.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/types/typed_array.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/types/typed_array.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/types/typed_class.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/types/typed_class.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/types/typed_class.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/types/typed_class.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/types/typed_enumerable.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/types/typed_enumerable.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/types/typed_enumerable.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/types/typed_enumerable.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/types/typed_enumerator.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/types/typed_enumerator.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/types/typed_enumerator.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/types/typed_enumerator.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/types/typed_enumerator_chain.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/types/typed_enumerator_chain.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/types/typed_enumerator_chain.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/types/typed_enumerator_chain.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/types/typed_enumerator_lazy.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/types/typed_enumerator_lazy.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/types/typed_enumerator_lazy.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/types/typed_enumerator_lazy.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/types/typed_hash.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/types/typed_hash.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/types/typed_hash.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/types/typed_hash.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/types/typed_range.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/types/typed_range.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/types/typed_range.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/types/typed_range.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/types/typed_set.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/types/typed_set.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/types/typed_set.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/types/typed_set.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/types/union.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/types/union.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/types/union.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/types/union.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/types/untyped.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/types/untyped.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/types/untyped.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/types/untyped.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/utils.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/utils.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11856/lib/types/utils.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/utils.rb From 14e70a8786f6892d24ff892ac0d1eaeb6ef63ba4 Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Wed, 26 Feb 2025 18:34:05 +0000 Subject: [PATCH 186/322] brew vendor-gems: commit updates. --- Library/Homebrew/Gemfile.lock | 1 + Library/Homebrew/vendor/bundle/bundler/setup.rb | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Library/Homebrew/Gemfile.lock b/Library/Homebrew/Gemfile.lock index 92f2d674c7..d48f91d667 100644 --- a/Library/Homebrew/Gemfile.lock +++ b/Library/Homebrew/Gemfile.lock @@ -155,6 +155,7 @@ GEM PLATFORMS aarch64-linux + arm-linux arm64-darwin x86_64-darwin x86_64-linux diff --git a/Library/Homebrew/vendor/bundle/bundler/setup.rb b/Library/Homebrew/vendor/bundle/bundler/setup.rb index 9b196efb5a..dce1a64161 100644 --- a/Library/Homebrew/vendor/bundle/bundler/setup.rb +++ b/Library/Homebrew/vendor/bundle/bundler/setup.rb @@ -90,7 +90,7 @@ $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rspec-retry-0.6.2/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rspec-sorbet-1.9.2/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rspec_junit_formatter-0.6.0/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rubocop-ast-1.38.0/lib") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rubocop-ast-1.38.1/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/ruby-progressbar-1.13.0/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/unicode-emoji-4.0.4/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/unicode-display_width-3.1.4/lib") From a2cd6daaee133a1f2fd4d6e7299ad9b4221e77e0 Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Wed, 26 Feb 2025 18:34:15 +0000 Subject: [PATCH 187/322] Update RBI files for rubocop-ast. Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow. --- ...-ast@1.38.0.rbi => rubocop-ast@1.38.1.rbi} | 524 +++++++++--------- 1 file changed, 265 insertions(+), 259 deletions(-) rename Library/Homebrew/sorbet/rbi/gems/{rubocop-ast@1.38.0.rbi => rubocop-ast@1.38.1.rbi} (97%) diff --git a/Library/Homebrew/sorbet/rbi/gems/rubocop-ast@1.38.0.rbi b/Library/Homebrew/sorbet/rbi/gems/rubocop-ast@1.38.1.rbi similarity index 97% rename from Library/Homebrew/sorbet/rbi/gems/rubocop-ast@1.38.0.rbi rename to Library/Homebrew/sorbet/rbi/gems/rubocop-ast@1.38.1.rbi index 242c55fb5d..fde98603c7 100644 --- a/Library/Homebrew/sorbet/rbi/gems/rubocop-ast@1.38.0.rbi +++ b/Library/Homebrew/sorbet/rbi/gems/rubocop-ast@1.38.1.rbi @@ -645,409 +645,409 @@ end module RuboCop::AST::CollectionNode extend ::RuboCop::SimpleForwardable - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def &(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def *(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def +(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def -(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def <<(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def [](*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def []=(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def all?(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def any?(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def append(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def assoc(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def at(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def bsearch(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def bsearch_index(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def chain(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def chunk(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def chunk_while(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def clear(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def collect(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def collect!(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def collect_concat(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def combination(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def compact(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def compact!(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def concat(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def count(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def cycle(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def deconstruct(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def delete(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def delete_at(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def delete_if(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def detect(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def difference(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def dig(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def drop(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def drop_while(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def each(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def each_cons(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def each_entry(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def each_index(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def each_slice(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def each_with_index(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def each_with_object(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def empty?(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def entries(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def fetch(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def fill(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def filter(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def filter!(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def filter_map(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def find(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def find_all(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def find_index(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def first(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def flat_map(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def flatten(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def flatten!(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def grep(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def grep_v(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def group_by(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def include?(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def index(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def inject(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def insert(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def intersect?(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def intersection(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def join(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def keep_if(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def last(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def lazy(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def length(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def map(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def map!(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def max(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def max_by(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def member?(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def min(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def min_by(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def minmax(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def minmax_by(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def none?(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def one?(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def pack(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def partition(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def permutation(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def place(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def pop(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def prepend(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def product(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def push(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def rassoc(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def reduce(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def reject(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def reject!(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def repeated_combination(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def repeated_permutation(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def replace(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def reverse(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def reverse!(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def reverse_each(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def rindex(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def rotate(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def rotate!(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def sample(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def select(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def select!(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def shelljoin(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def shift(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def shuffle(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def shuffle!(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def size(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def slice(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def slice!(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def slice_after(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def slice_before(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def slice_when(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def sort(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def sort!(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def sort_by(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def sort_by!(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def sum(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def take(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def take_while(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def tally(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def to_ary(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def to_h(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def to_set(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def transpose(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def union(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def uniq(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def uniq!(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def unshift(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def values_at(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def zip(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def |(*_arg0, **_arg1, &_arg2); end end @@ -1557,7 +1557,7 @@ class RuboCop::AST::HashElementNode::HashElementDelta private - # source://rubocop-ast//lib/rubocop/ast/node/mixin/hash_element_node.rb#106 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/hash_element_node.rb#108 def delta(first, second, alignment = T.unsafe(nil)); end # Returns the value of attribute first. @@ -1567,7 +1567,7 @@ class RuboCop::AST::HashElementNode::HashElementDelta # @return [Boolean] # - # source://rubocop-ast//lib/rubocop/ast/node/mixin/hash_element_node.rb#117 + # source://rubocop-ast//lib/rubocop/ast/node/mixin/hash_element_node.rb#119 def keyword_splat?; end # Returns the value of attribute second. @@ -3730,7 +3730,7 @@ class RuboCop::AST::NodePattern # source://rubocop-ast//lib/rubocop/ast/node_pattern.rb#73 def ast; end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def captures(*_arg0, **_arg1, &_arg2); end # source://rubocop-ast//lib/rubocop/ast/node_pattern.rb#111 @@ -3759,7 +3759,7 @@ class RuboCop::AST::NodePattern # source://rubocop-ast//lib/rubocop/ast/node_pattern.rb#73 def match_code; end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def named_parameters(*_arg0, **_arg1, &_arg2); end # Returns the value of attribute pattern. @@ -3767,7 +3767,7 @@ class RuboCop::AST::NodePattern # source://rubocop-ast//lib/rubocop/ast/node_pattern.rb#73 def pattern; end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def positional_parameters(*_arg0, **_arg1, &_arg2); end # source://rubocop-ast//lib/rubocop/ast/node_pattern.rb#95 @@ -3880,7 +3880,7 @@ class RuboCop::AST::NodePattern::Compiler # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler.rb#15 def initialize; end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def bind(*_arg0, **_arg1, &_arg2); end # Returns the value of attribute binding. @@ -4027,7 +4027,7 @@ class RuboCop::AST::NodePattern::Compiler::Debug < ::RuboCop::AST::NodePattern:: # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#123 def initialize; end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def comments(*_arg0, **_arg1, &_arg2); end # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#128 @@ -4041,7 +4041,7 @@ class RuboCop::AST::NodePattern::Compiler::Debug < ::RuboCop::AST::NodePattern:: # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#132 def parser; end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def tokens(*_arg0, **_arg1, &_arg2); end end @@ -4911,7 +4911,7 @@ RuboCop::AST::NodePattern::Node::AnyOrder::ARITIES = T.let(T.unsafe(nil), Hash) # # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#96 class RuboCop::AST::NodePattern::Node::Capture < ::RuboCop::AST::NodePattern::Node - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def arity(*_arg0, **_arg1, &_arg2); end # @return [Boolean] @@ -4925,7 +4925,7 @@ class RuboCop::AST::NodePattern::Node::Capture < ::RuboCop::AST::NodePattern::No # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#104 def nb_captures; end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def rest?(*_arg0, **_arg1, &_arg2); end end @@ -5166,28 +5166,28 @@ class RuboCop::AST::NodePattern::Parser < ::Racc::Parser # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#465 def _reduce_none(val, _values); end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def emit_atom(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def emit_call(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def emit_capture(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def emit_list(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def emit_unary_op(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def emit_union(*_arg0, **_arg1, &_arg2); end # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.rb#40 def inspect; end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def next_token(*_arg0, **_arg1, &_arg2); end # (Similar API to `parser` gem) @@ -5497,6 +5497,9 @@ RuboCop::AST::NodePattern::Sets::SET_INSTANCE_EVAL_CLASS_EVAL_MODULE_EVAL = T.le # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET_INSTANCE_EXEC_CLASS_EXEC_MODULE_EXEC = T.let(T.unsafe(nil), Set) +# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 +RuboCop::AST::NodePattern::Sets::SET_INTEGER_BIGDECIMAL_COMPLEX_RATIONAL = T.let(T.unsafe(nil), Set) + # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10 RuboCop::AST::NodePattern::Sets::SET_IO_FILE = T.let(T.unsafe(nil), Set) @@ -7443,337 +7446,340 @@ class RuboCop::AST::YieldNode < ::RuboCop::AST::Node end class RuboCop::CommentConfig - # source://rubocop/1.71.0/lib/rubocop/comment_config.rb#34 + # source://rubocop/1.72.2/lib/rubocop/comment_config.rb#34 def initialize(processed_source); end - # source://rubocop/1.71.0/lib/rubocop/comment_config.rb#63 + # source://rubocop/1.72.2/lib/rubocop/comment_config.rb#63 def comment_only_line?(line_number); end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def config(*_arg0, **_arg1, &_arg2); end - # source://rubocop/1.71.0/lib/rubocop/comment_config.rb#51 + # source://rubocop/1.72.2/lib/rubocop/comment_config.rb#51 def cop_disabled_line_ranges; end - # source://rubocop/1.71.0/lib/rubocop/comment_config.rb#39 + # source://rubocop/1.72.2/lib/rubocop/comment_config.rb#39 def cop_enabled_at_line?(cop, line_number); end - # source://rubocop/1.71.0/lib/rubocop/comment_config.rb#47 + # source://rubocop/1.72.2/lib/rubocop/comment_config.rb#47 def cop_opted_in?(cop); end - # source://rubocop/1.71.0/lib/rubocop/comment_config.rb#55 + # source://rubocop/1.72.2/lib/rubocop/comment_config.rb#55 def extra_enabled_comments; end - # source://rubocop/1.71.0/lib/rubocop/comment_config.rb#30 + # source://rubocop/1.72.2/lib/rubocop/comment_config.rb#30 def processed_source; end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def registry(*_arg0, **_arg1, &_arg2); end private - # source://rubocop/1.71.0/lib/rubocop/comment_config.rb#96 + # source://rubocop/1.72.2/lib/rubocop/comment_config.rb#96 def analyze; end - # source://rubocop/1.71.0/lib/rubocop/comment_config.rb#124 + # source://rubocop/1.72.2/lib/rubocop/comment_config.rb#124 def analyze_cop(analysis, directive); end - # source://rubocop/1.71.0/lib/rubocop/comment_config.rb#144 + # source://rubocop/1.72.2/lib/rubocop/comment_config.rb#144 def analyze_disabled(analysis, directive); end - # source://rubocop/1.71.0/lib/rubocop/comment_config.rb#155 + # source://rubocop/1.72.2/lib/rubocop/comment_config.rb#155 def analyze_rest(analysis, directive); end - # source://rubocop/1.71.0/lib/rubocop/comment_config.rb#135 + # source://rubocop/1.72.2/lib/rubocop/comment_config.rb#135 def analyze_single_line(analysis, directive); end - # source://rubocop/1.71.0/lib/rubocop/comment_config.rb#164 + # source://rubocop/1.72.2/lib/rubocop/comment_config.rb#164 def cop_line_ranges(analysis); end - # source://rubocop/1.71.0/lib/rubocop/comment_config.rb#170 + # source://rubocop/1.72.2/lib/rubocop/comment_config.rb#170 def each_directive; end - # source://rubocop/1.71.0/lib/rubocop/comment_config.rb#69 + # source://rubocop/1.72.2/lib/rubocop/comment_config.rb#69 def extra_enabled_comments_with_names(extras:, names:); end - # source://rubocop/1.71.0/lib/rubocop/comment_config.rb#190 + # source://rubocop/1.72.2/lib/rubocop/comment_config.rb#190 def handle_enable_all(directive, names, extras); end - # source://rubocop/1.71.0/lib/rubocop/comment_config.rb#204 + # source://rubocop/1.72.2/lib/rubocop/comment_config.rb#204 def handle_switch(directive, names, extras); end - # source://rubocop/1.71.0/lib/rubocop/comment_config.rb#115 + # source://rubocop/1.72.2/lib/rubocop/comment_config.rb#115 def inject_disabled_cops_directives(analyses); end - # source://rubocop/1.71.0/lib/rubocop/comment_config.rb#183 + # source://rubocop/1.72.2/lib/rubocop/comment_config.rb#183 def non_comment_token_line_numbers; end - # source://rubocop/1.71.0/lib/rubocop/comment_config.rb#83 + # source://rubocop/1.72.2/lib/rubocop/comment_config.rb#83 def opt_in_cops; end - # source://rubocop/1.71.0/lib/rubocop/comment_config.rb#179 + # source://rubocop/1.72.2/lib/rubocop/comment_config.rb#179 def qualified_cop_name(cop_name); end end class RuboCop::Config - # source://rubocop/1.71.0/lib/rubocop/config.rb#31 + # source://rubocop/1.72.2/lib/rubocop/config.rb#31 def initialize(hash = T.unsafe(nil), loaded_path = T.unsafe(nil)); end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def [](*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def []=(*_arg0, **_arg1, &_arg2); end - # source://rubocop/1.71.0/lib/rubocop/config.rb#179 + # source://rubocop/1.72.2/lib/rubocop/config.rb#183 def active_support_extensions_enabled?; end - # source://rubocop/1.71.0/lib/rubocop/config.rb#94 + # source://rubocop/1.72.2/lib/rubocop/config.rb#98 def add_excludes_from_higher_level(highest_config); end - # source://rubocop/1.71.0/lib/rubocop/config.rb#206 + # source://rubocop/1.72.2/lib/rubocop/config.rb#210 def allowed_camel_case_file?(file); end - # source://rubocop/1.71.0/lib/rubocop/config.rb#250 + # source://rubocop/1.72.2/lib/rubocop/config.rb#254 def base_dir_for_path_parameters; end - # source://rubocop/1.71.0/lib/rubocop/config.rb#280 + # source://rubocop/1.72.2/lib/rubocop/config.rb#284 def bundler_lock_file_path; end - # source://rubocop/1.71.0/lib/rubocop/config.rb#52 + # source://rubocop/1.72.2/lib/rubocop/config.rb#56 def check; end - # source://rubocop/1.71.0/lib/rubocop/config.rb#147 + # source://rubocop/1.72.2/lib/rubocop/config.rb#151 def clusivity_config_for_badge?(badge); end - # source://rubocop/1.71.0/lib/rubocop/config.rb#167 + # source://rubocop/1.72.2/lib/rubocop/config.rb#171 def cop_enabled?(name); end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def delete(*_arg0, **_arg1, &_arg2); end - # source://rubocop/1.71.0/lib/rubocop/config.rb#106 + # source://rubocop/1.72.2/lib/rubocop/config.rb#110 def deprecation_check; end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def dig(*_arg0, **_arg1, &_arg2); end - # source://rubocop/1.71.0/lib/rubocop/config.rb#171 + # source://rubocop/1.72.2/lib/rubocop/config.rb#175 def disabled_new_cops?; end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def each(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def each_key(*_arg0, **_arg1, &_arg2); end - # source://rubocop/1.71.0/lib/rubocop/config.rb#175 + # source://rubocop/1.72.2/lib/rubocop/config.rb#179 def enabled_new_cops?; end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def fetch(*_arg0, **_arg1, &_arg2); end - # source://rubocop/1.71.0/lib/rubocop/config.rb#228 + # source://rubocop/1.72.2/lib/rubocop/config.rb#232 def file_to_exclude?(file); end - # source://rubocop/1.71.0/lib/rubocop/config.rb#187 + # source://rubocop/1.72.2/lib/rubocop/config.rb#191 def file_to_include?(file); end - # source://rubocop/1.71.0/lib/rubocop/config.rb#163 + # source://rubocop/1.72.2/lib/rubocop/config.rb#167 def for_all_cops; end - # source://rubocop/1.71.0/lib/rubocop/config.rb#133 + # source://rubocop/1.72.2/lib/rubocop/config.rb#137 def for_badge(badge); end - # source://rubocop/1.71.0/lib/rubocop/config.rb#120 + # source://rubocop/1.72.2/lib/rubocop/config.rb#124 def for_cop(cop); end - # source://rubocop/1.71.0/lib/rubocop/config.rb#158 + # source://rubocop/1.72.2/lib/rubocop/config.rb#162 def for_department(department_name); end - # source://rubocop/1.71.0/lib/rubocop/config.rb#127 + # source://rubocop/1.72.2/lib/rubocop/config.rb#131 def for_enabled_cop(cop); end - # source://rubocop/1.71.0/lib/rubocop/config.rb#305 + # source://rubocop/1.72.2/lib/rubocop/config.rb#309 def gem_versions_in_target; end - # source://rubocop/1.71.0/lib/rubocop/config.rb#309 + # source://rubocop/1.72.2/lib/rubocop/config.rb#313 def inspect; end - # source://rubocop/1.71.0/lib/rubocop/config.rb#77 + # source://rubocop/1.72.2/lib/rubocop/config.rb#81 def internal?; end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def key?(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def keys(*_arg0, **_arg1, &_arg2); end - # source://rubocop/1.71.0/lib/rubocop/config.rb#48 + # source://rubocop/1.72.2/lib/rubocop/config.rb#52 def loaded_features; end - # source://rubocop/1.71.0/lib/rubocop/config.rb#21 + # source://rubocop/1.72.2/lib/rubocop/config.rb#21 def loaded_path; end - # source://rubocop/1.71.0/lib/rubocop/config.rb#82 + # source://rubocop/1.72.2/lib/rubocop/config.rb#48 + def loaded_plugins; end + + # source://rubocop/1.72.2/lib/rubocop/config.rb#86 def make_excludes_absolute; end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def map(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def merge(*_arg0, **_arg1, &_arg2); end - # source://rubocop/1.71.0/lib/rubocop/config.rb#260 + # source://rubocop/1.72.2/lib/rubocop/config.rb#264 def parser_engine; end - # source://rubocop/1.71.0/lib/rubocop/config.rb#241 + # source://rubocop/1.72.2/lib/rubocop/config.rb#245 def path_relative_to_config(path); end - # source://rubocop/1.71.0/lib/rubocop/config.rb#237 + # source://rubocop/1.72.2/lib/rubocop/config.rb#241 def patterns_to_exclude; end - # source://rubocop/1.71.0/lib/rubocop/config.rb#233 + # source://rubocop/1.72.2/lib/rubocop/config.rb#237 def patterns_to_include; end - # source://rubocop/1.71.0/lib/rubocop/config.rb#291 + # source://rubocop/1.72.2/lib/rubocop/config.rb#295 def pending_cops; end - # source://rubocop/1.71.0/lib/rubocop/config.rb#220 + # source://rubocop/1.72.2/lib/rubocop/config.rb#224 def possibly_include_hidden?; end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def replace(*_arg0, **_arg1, &_arg2); end - # source://rubocop/1.71.0/lib/rubocop/config.rb#72 + # source://rubocop/1.72.2/lib/rubocop/config.rb#76 def signature; end - # source://rubocop/1.71.0/lib/rubocop/config.rb#275 + # source://rubocop/1.72.2/lib/rubocop/config.rb#279 def smart_loaded_path; end - # source://rubocop/1.71.0/lib/rubocop/config.rb#183 + # source://rubocop/1.72.2/lib/rubocop/config.rb#187 def string_literals_frozen_by_default?; end - # source://rubocop/1.71.0/lib/rubocop/config.rb#264 + # source://rubocop/1.72.2/lib/rubocop/config.rb#268 def target_rails_version; end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def target_ruby_version(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def to_h(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def to_hash(*_arg0, **_arg1, &_arg2); end - # source://rubocop/1.71.0/lib/rubocop/config.rb#68 + # source://rubocop/1.72.2/lib/rubocop/config.rb#72 def to_s; end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def transform_values(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def validate(*_arg0, **_arg1, &_arg2); end - # source://rubocop/1.71.0/lib/rubocop/config.rb#59 + # source://rubocop/1.72.2/lib/rubocop/config.rb#63 def validate_after_resolution; end private - # source://rubocop/1.71.0/lib/rubocop/config.rb#359 + # source://rubocop/1.72.2/lib/rubocop/config.rb#363 def department_of(qualified_cop_name); end - # source://rubocop/1.71.0/lib/rubocop/config.rb#347 + # source://rubocop/1.72.2/lib/rubocop/config.rb#351 def enable_cop?(qualified_cop_name, cop_options); end - # source://rubocop/1.71.0/lib/rubocop/config.rb#334 + # source://rubocop/1.72.2/lib/rubocop/config.rb#338 def gem_version_to_major_minor_float(gem_version); end - # source://rubocop/1.71.0/lib/rubocop/config.rb#340 + # source://rubocop/1.72.2/lib/rubocop/config.rb#344 def read_gem_versions_from_target_lockfile; end - # source://rubocop/1.71.0/lib/rubocop/config.rb#321 + # source://rubocop/1.72.2/lib/rubocop/config.rb#325 def read_rails_version_from_bundler_lock_file; end - # source://rubocop/1.71.0/lib/rubocop/config.rb#316 + # source://rubocop/1.72.2/lib/rubocop/config.rb#320 def target_rails_version_from_bundler_lock_file; end class << self - # source://rubocop/1.71.0/lib/rubocop/config.rb#23 + # source://rubocop/1.72.2/lib/rubocop/config.rb#23 def create(hash, path, check: T.unsafe(nil)); end end end class RuboCop::ConfigValidator - # source://rubocop/1.71.0/lib/rubocop/config_validator.rb#28 + # source://rubocop/1.72.2/lib/rubocop/config_validator.rb#28 def initialize(config); end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def for_all_cops(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#19 def smart_loaded_path(*_arg0, **_arg1, &_arg2); end - # source://rubocop/1.71.0/lib/rubocop/config_validator.rb#65 + # source://rubocop/1.72.2/lib/rubocop/config_validator.rb#65 def target_ruby_version; end - # source://rubocop/1.71.0/lib/rubocop/config_validator.rb#34 + # source://rubocop/1.72.2/lib/rubocop/config_validator.rb#34 def validate; end - # source://rubocop/1.71.0/lib/rubocop/config_validator.rb#61 + # source://rubocop/1.72.2/lib/rubocop/config_validator.rb#61 def validate_after_resolution; end private - # source://rubocop/1.71.0/lib/rubocop/config_validator.rb#100 + # source://rubocop/1.72.2/lib/rubocop/config_validator.rb#100 def alert_about_unrecognized_cops(invalid_cop_names); end - # source://rubocop/1.71.0/lib/rubocop/config_validator.rb#263 + # source://rubocop/1.72.2/lib/rubocop/config_validator.rb#263 def check_cop_config_value(hash, parent = T.unsafe(nil)); end - # source://rubocop/1.71.0/lib/rubocop/config_validator.rb#73 + # source://rubocop/1.72.2/lib/rubocop/config_validator.rb#73 def check_obsoletions; end - # source://rubocop/1.71.0/lib/rubocop/config_validator.rb#80 + # source://rubocop/1.72.2/lib/rubocop/config_validator.rb#80 def check_target_ruby; end - # source://rubocop/1.71.0/lib/rubocop/config_validator.rb#204 + # source://rubocop/1.72.2/lib/rubocop/config_validator.rb#204 def each_invalid_parameter(cop_name); end - # source://rubocop/1.71.0/lib/rubocop/config_validator.rb#116 + # source://rubocop/1.72.2/lib/rubocop/config_validator.rb#116 def list_unknown_cops(invalid_cop_names); end - # source://rubocop/1.71.0/lib/rubocop/config_validator.rb#283 + # source://rubocop/1.72.2/lib/rubocop/config_validator.rb#283 def param_error_message(parent, key, value, supposed_values); end - # source://rubocop/1.71.0/lib/rubocop/config_validator.rb#251 + # source://rubocop/1.72.2/lib/rubocop/config_validator.rb#251 def reject_conflicting_safe_settings; end - # source://rubocop/1.71.0/lib/rubocop/config_validator.rb#242 + # source://rubocop/1.72.2/lib/rubocop/config_validator.rb#242 def reject_mutually_exclusive_defaults; end - # source://rubocop/1.71.0/lib/rubocop/config_validator.rb#138 + # source://rubocop/1.72.2/lib/rubocop/config_validator.rb#138 def suggestion(name); end - # source://rubocop/1.71.0/lib/rubocop/config_validator.rb#71 + # source://rubocop/1.72.2/lib/rubocop/config_validator.rb#71 def target_ruby; end - # source://rubocop/1.71.0/lib/rubocop/config_validator.rb#216 + # source://rubocop/1.72.2/lib/rubocop/config_validator.rb#216 def validate_enforced_styles(valid_cop_names); end - # source://rubocop/1.71.0/lib/rubocop/config_validator.rb#165 + # source://rubocop/1.72.2/lib/rubocop/config_validator.rb#165 def validate_new_cops_parameter; end - # source://rubocop/1.71.0/lib/rubocop/config_validator.rb#190 + # source://rubocop/1.72.2/lib/rubocop/config_validator.rb#190 def validate_parameter_names(valid_cop_names); end - # source://rubocop/1.71.0/lib/rubocop/config_validator.rb#176 + # source://rubocop/1.72.2/lib/rubocop/config_validator.rb#176 def validate_parameter_shape(valid_cop_names); end - # source://rubocop/1.71.0/lib/rubocop/config_validator.rb#236 + # source://rubocop/1.72.2/lib/rubocop/config_validator.rb#236 def validate_support_and_has_list(name, formats, valid); end - # source://rubocop/1.71.0/lib/rubocop/config_validator.rb#154 + # source://rubocop/1.72.2/lib/rubocop/config_validator.rb#154 def validate_syntax_cop; end end From 9515714b44fbadd2ac69353d591b598fa252f2c0 Mon Sep 17 00:00:00 2001 From: Douglas Eichelberger Date: Sat, 22 Feb 2025 21:51:41 -0800 Subject: [PATCH 188/322] Add interface for livecheck strategies --- Library/.rubocop.yml | 5 +++ Library/Homebrew/livecheck/livecheck.rb | 8 ++-- Library/Homebrew/livecheck/strategic.rb | 40 +++++++++++++++++++ Library/Homebrew/livecheck/strategy.rb | 1 + Library/Homebrew/livecheck/strategy/apache.rb | 10 ++--- .../Homebrew/livecheck/strategy/bitbucket.rb | 10 ++--- Library/Homebrew/livecheck/strategy/cpan.rb | 10 ++--- Library/Homebrew/livecheck/strategy/crate.rb | 14 +++---- .../livecheck/strategy/electron_builder.rb | 11 ++--- .../livecheck/strategy/extract_plist.rb | 10 +++-- Library/Homebrew/livecheck/strategy/git.rb | 7 ++-- .../livecheck/strategy/github_latest.rb | 8 ++-- .../livecheck/strategy/github_releases.rb | 10 +++-- Library/Homebrew/livecheck/strategy/gnome.rb | 8 ++-- Library/Homebrew/livecheck/strategy/gnu.rb | 8 ++-- .../Homebrew/livecheck/strategy/hackage.rb | 8 ++-- .../livecheck/strategy/header_match.rb | 8 ++-- Library/Homebrew/livecheck/strategy/json.rb | 14 ++++--- .../Homebrew/livecheck/strategy/launchpad.rb | 8 ++-- Library/Homebrew/livecheck/strategy/npm.rb | 8 ++-- .../Homebrew/livecheck/strategy/page_match.rb | 10 +++-- Library/Homebrew/livecheck/strategy/pypi.rb | 10 +++-- .../livecheck/strategy/sourceforge.rb | 8 ++-- .../Homebrew/livecheck/strategy/sparkle.rb | 10 +++-- Library/Homebrew/livecheck/strategy/xml.rb | 14 ++++--- Library/Homebrew/livecheck/strategy/xorg.rb | 10 +++-- Library/Homebrew/livecheck/strategy/yaml.rb | 14 ++++--- Library/Homebrew/resource.rb | 2 +- 28 files changed, 183 insertions(+), 101 deletions(-) create mode 100644 Library/Homebrew/livecheck/strategic.rb diff --git a/Library/.rubocop.yml b/Library/.rubocop.yml index c45838da8c..1f4ab021ed 100644 --- a/Library/.rubocop.yml +++ b/Library/.rubocop.yml @@ -255,6 +255,11 @@ RSpec/Focus: RSpec/MessageSpies: EnforcedStyle: receive +# These are legacy violations that we should try to fix. +Sorbet/AllowIncompatibleOverride: + Exclude: + - "Homebrew/livecheck/strategy/*.rb" + # Try getting rid of these. Sorbet/ConstantsFromStrings: Enabled: false diff --git a/Library/Homebrew/livecheck/livecheck.rb b/Library/Homebrew/livecheck/livecheck.rb index 52654a2d84..13effefbb0 100644 --- a/Library/Homebrew/livecheck/livecheck.rb +++ b/Library/Homebrew/livecheck/livecheck.rb @@ -28,15 +28,15 @@ module Homebrew ].freeze, T::Array[String]) private_constant :UNSTABLE_VERSION_KEYWORDS - sig { params(strategy_class: T::Class[T.anything]).returns(String) } + sig { params(strategy_class: T::Class[Strategic]).returns(String) } private_class_method def self.livecheck_strategy_names(strategy_class) - @livecheck_strategy_names ||= T.let({}, T.nilable(T::Hash[T::Class[T.anything], String])) + @livecheck_strategy_names ||= T.let({}, T.nilable(T::Hash[T::Class[Strategic], String])) @livecheck_strategy_names[strategy_class] ||= Utils.demodulize(strategy_class.name) end - sig { params(strategy_class: T::Class[T.anything]).returns(T::Array[Symbol]) } + sig { params(strategy_class: T::Class[Strategic]).returns(T::Array[Symbol]) } private_class_method def self.livecheck_find_versions_parameters(strategy_class) - @livecheck_find_versions_parameters ||= T.let({}, T.nilable(T::Hash[T::Class[T.anything], T::Array[Symbol]])) + @livecheck_find_versions_parameters ||= T.let({}, T.nilable(T::Hash[T::Class[Strategic], T::Array[Symbol]])) @livecheck_find_versions_parameters[strategy_class] ||= T::Utils.signature_for_method(strategy_class.method(:find_versions)).parameters.map(&:second) end diff --git a/Library/Homebrew/livecheck/strategic.rb b/Library/Homebrew/livecheck/strategic.rb new file mode 100644 index 0000000000..fd47d0ea88 --- /dev/null +++ b/Library/Homebrew/livecheck/strategic.rb @@ -0,0 +1,40 @@ +# typed: strong +# frozen_string_literal: true + +module Homebrew + module Livecheck + # The interface for livecheck strategies. Because third-party strategies + # are not required to extend this module, we do not provide any default + # method implementations here. + module Strategic + extend T::Helpers + interface! + + # Whether the strategy can be applied to the provided URL. + # + # @param url [String] the URL to match against + sig { abstract.params(url: String).returns(T::Boolean) } + def match?(url); end + + # Checks the content at the URL for new versions. Implementations may not + # support all options. + # + # @param url the URL of the content to check + # @param regex a regex for matching versions in content + # @param provided_content content to check instead of + # fetching + # @param options options to modify behavior + # @param block a block to match the content + sig { + abstract.params( + url: String, + regex: T.nilable(Regexp), + provided_content: T.nilable(String), + options: Options, + block: T.nilable(Proc), + ).returns(T::Hash[Symbol, T.anything]) + } + def find_versions(url:, regex: nil, provided_content: nil, options: Options.new, &block); end + end + end +end diff --git a/Library/Homebrew/livecheck/strategy.rb b/Library/Homebrew/livecheck/strategy.rb index 56d0ecb168..5c7ec03b4a 100644 --- a/Library/Homebrew/livecheck/strategy.rb +++ b/Library/Homebrew/livecheck/strategy.rb @@ -300,6 +300,7 @@ module Homebrew end end +require_relative "strategic" require_relative "strategy/apache" require_relative "strategy/bitbucket" require_relative "strategy/cpan" diff --git a/Library/Homebrew/livecheck/strategy/apache.rb b/Library/Homebrew/livecheck/strategy/apache.rb index f42c50495c..8362a7a4fb 100644 --- a/Library/Homebrew/livecheck/strategy/apache.rb +++ b/Library/Homebrew/livecheck/strategy/apache.rb @@ -26,6 +26,8 @@ module Homebrew # # @api public class Apache + extend Strategic + # The `Regexp` used to determine if the strategy applies to the URL. URL_MATCH_REGEX = %r{ ^https?:// @@ -42,8 +44,7 @@ module Homebrew # Whether the strategy can be applied to the provided URL. # # @param url [String] the URL to match against - # @return [Boolean] - sig { params(url: String).returns(T::Boolean) } + sig { override.params(url: String).returns(T::Boolean) } def self.match?(url) URL_MATCH_REGEX.match?(url) end @@ -54,7 +55,6 @@ module Homebrew # `livecheck` block. # # @param url [String] the URL used to generate values - # @return [Hash] sig { params(url: String).returns(T::Hash[Symbol, T.untyped]) } def self.generate_input_values(url) values = {} @@ -88,12 +88,12 @@ module Homebrew # @param options [Options] options to modify behavior # @return [Hash] sig { - params( + override(allow_incompatible: true).params( url: String, regex: T.nilable(Regexp), options: Options, block: T.nilable(Proc), - ).returns(T::Hash[Symbol, T.untyped]) + ).returns(T::Hash[Symbol, T.anything]) } def self.find_versions(url:, regex: nil, options: Options.new, &block) generated = generate_input_values(url) diff --git a/Library/Homebrew/livecheck/strategy/bitbucket.rb b/Library/Homebrew/livecheck/strategy/bitbucket.rb index 47928faf59..fb6bc3993a 100644 --- a/Library/Homebrew/livecheck/strategy/bitbucket.rb +++ b/Library/Homebrew/livecheck/strategy/bitbucket.rb @@ -28,6 +28,8 @@ module Homebrew # # @api public class Bitbucket + extend Strategic + # The `Regexp` used to determine if the strategy applies to the URL. URL_MATCH_REGEX = %r{ ^https?://bitbucket\.org @@ -41,8 +43,7 @@ module Homebrew # Whether the strategy can be applied to the provided URL. # # @param url [String] the URL to match against - # @return [Boolean] - sig { params(url: String).returns(T::Boolean) } + sig { override.params(url: String).returns(T::Boolean) } def self.match?(url) URL_MATCH_REGEX.match?(url) end @@ -53,7 +54,6 @@ module Homebrew # `livecheck` block. # # @param url [String] the URL used to generate values - # @return [Hash] sig { params(url: String).returns(T::Hash[Symbol, T.untyped]) } def self.generate_input_values(url) values = {} @@ -96,12 +96,12 @@ module Homebrew # @param options [Options] options to modify behavior # @return [Hash] sig { - params( + override(allow_incompatible: true).params( url: String, regex: T.nilable(Regexp), options: Options, block: T.nilable(Proc), - ).returns(T::Hash[Symbol, T.untyped]) + ).returns(T::Hash[Symbol, T.anything]) } def self.find_versions(url:, regex: nil, options: Options.new, &block) generated = generate_input_values(url) diff --git a/Library/Homebrew/livecheck/strategy/cpan.rb b/Library/Homebrew/livecheck/strategy/cpan.rb index 528817e911..ff5e0edab7 100644 --- a/Library/Homebrew/livecheck/strategy/cpan.rb +++ b/Library/Homebrew/livecheck/strategy/cpan.rb @@ -18,6 +18,8 @@ module Homebrew # # @api public class Cpan + extend Strategic + NICE_NAME = "CPAN" # The `Regexp` used to determine if the strategy applies to the URL. @@ -32,8 +34,7 @@ module Homebrew # Whether the strategy can be applied to the provided URL. # # @param url [String] the URL to match against - # @return [Boolean] - sig { params(url: String).returns(T::Boolean) } + sig { override.params(url: String).returns(T::Boolean) } def self.match?(url) URL_MATCH_REGEX.match?(url) end @@ -44,7 +45,6 @@ module Homebrew # `livecheck` block. # # @param url [String] the URL used to generate values - # @return [Hash] sig { params(url: String).returns(T::Hash[Symbol, T.untyped]) } def self.generate_input_values(url) values = {} @@ -75,12 +75,12 @@ module Homebrew # @param options [Options] options to modify behavior # @return [Hash] sig { - params( + override(allow_incompatible: true).params( url: String, regex: T.nilable(Regexp), options: Options, block: T.nilable(Proc), - ).returns(T::Hash[Symbol, T.untyped]) + ).returns(T::Hash[Symbol, T.anything]) } def self.find_versions(url:, regex: nil, options: Options.new, &block) generated = generate_input_values(url) diff --git a/Library/Homebrew/livecheck/strategy/crate.rb b/Library/Homebrew/livecheck/strategy/crate.rb index fbe7a862fa..f264c3ad96 100644 --- a/Library/Homebrew/livecheck/strategy/crate.rb +++ b/Library/Homebrew/livecheck/strategy/crate.rb @@ -17,6 +17,8 @@ module Homebrew # # @api public class Crate + extend Strategic + # The default regex used to identify versions when a regex isn't # provided. DEFAULT_REGEX = /^v?(\d+(?:\.\d+)+)$/i @@ -31,7 +33,7 @@ module Homebrew match[1] end end.freeze, T.proc.params( - arg0: T::Hash[String, T.untyped], + arg0: T::Hash[String, T.anything], arg1: Regexp, ).returns(T.any(String, T::Array[String]))) @@ -45,8 +47,7 @@ module Homebrew # Whether the strategy can be applied to the provided URL. # # @param url [String] the URL to match against - # @return [Boolean] - sig { params(url: String).returns(T::Boolean) } + sig { override.params(url: String).returns(T::Boolean) } def self.match?(url) URL_MATCH_REGEX.match?(url) end @@ -55,7 +56,6 @@ module Homebrew # various input values used by the strategy to check for new versions. # # @param url [String] the URL used to generate values - # @return [Hash] sig { params(url: String).returns(T::Hash[Symbol, T.untyped]) } def self.generate_input_values(url) values = {} @@ -67,7 +67,7 @@ module Homebrew end # Generates a URL and checks the content at the URL for new versions - # using {Json#versions_from_content}. + # using {Json.versions_from_content}. # # @param url [String] the URL of the content to check # @param regex [Regexp, nil] a regex for matching versions in content @@ -76,13 +76,13 @@ module Homebrew # @param options [Options] options to modify behavior # @return [Hash] sig { - params( + override.params( url: String, regex: T.nilable(Regexp), provided_content: T.nilable(String), options: Options, block: T.nilable(Proc), - ).returns(T::Hash[Symbol, T.untyped]) + ).returns(T::Hash[Symbol, T.anything]) } def self.find_versions(url:, regex: nil, provided_content: nil, options: Options.new, &block) match_data = { matches: {}, regex:, url: } diff --git a/Library/Homebrew/livecheck/strategy/electron_builder.rb b/Library/Homebrew/livecheck/strategy/electron_builder.rb index b499ac892b..66fde77a8c 100644 --- a/Library/Homebrew/livecheck/strategy/electron_builder.rb +++ b/Library/Homebrew/livecheck/strategy/electron_builder.rb @@ -10,6 +10,8 @@ module Homebrew # This strategy is not applied automatically and it's necessary to use # `strategy :electron_builder` in a `livecheck` block to apply it. class ElectronBuilder + extend Strategic + NICE_NAME = "electron-builder" # A priority of zero causes livecheck to skip the strategy. We do this @@ -22,8 +24,7 @@ module Homebrew # Whether the strategy can be applied to the provided URL. # # @param url [String] the URL to match against - # @return [Boolean] - sig { params(url: String).returns(T::Boolean) } + sig { override.params(url: String).returns(T::Boolean) } def self.match?(url) URL_MATCH_REGEX.match?(url) end @@ -37,16 +38,16 @@ module Homebrew # @param options [Options] options to modify behavior # @return [Hash] sig { - params( + override.params( url: String, regex: T.nilable(Regexp), provided_content: T.nilable(String), options: Options, block: T.nilable(Proc), - ).returns(T::Hash[Symbol, T.untyped]) + ).returns(T::Hash[Symbol, T.anything]) } def self.find_versions(url:, regex: nil, provided_content: nil, options: Options.new, &block) - if regex.present? && block.blank? + if regex.present? && !block_given? raise ArgumentError, "#{Utils.demodulize(name)} only supports a regex when using a `strategy` block" end diff --git a/Library/Homebrew/livecheck/strategy/extract_plist.rb b/Library/Homebrew/livecheck/strategy/extract_plist.rb index c35217a9db..acec406a3d 100644 --- a/Library/Homebrew/livecheck/strategy/extract_plist.rb +++ b/Library/Homebrew/livecheck/strategy/extract_plist.rb @@ -17,6 +17,8 @@ module Homebrew # This strategy is not applied automatically and it's necessary to use # `strategy :extract_plist` in a `livecheck` block to apply it. class ExtractPlist + extend Strategic + # A priority of zero causes livecheck to skip the strategy. We do this # for {ExtractPlist} so we can selectively apply it when appropriate. PRIORITY = 0 @@ -28,7 +30,7 @@ module Homebrew # # @param url [String] the URL to match against # @return [Boolean] - sig { params(url: String).returns(T::Boolean) } + sig { override.params(url: String).returns(T::Boolean) } def self.match?(url) URL_MATCH_REGEX.match?(url) end @@ -82,16 +84,16 @@ module Homebrew # @param options [Options] options to modify behavior # @return [Hash] sig { - params( + override(allow_incompatible: true).params( cask: Cask::Cask, url: T.nilable(String), regex: T.nilable(Regexp), options: Options, block: T.nilable(Proc), - ).returns(T::Hash[Symbol, T.untyped]) + ).returns(T::Hash[Symbol, T.anything]) } def self.find_versions(cask:, url: nil, regex: nil, options: Options.new, &block) - if regex.present? && block.blank? + if regex.present? && !block_given? raise ArgumentError, "#{Utils.demodulize(name)} only supports a regex when using a `strategy` block" end diff --git a/Library/Homebrew/livecheck/strategy/git.rb b/Library/Homebrew/livecheck/strategy/git.rb index 3af4e8f2c1..36053f15f0 100644 --- a/Library/Homebrew/livecheck/strategy/git.rb +++ b/Library/Homebrew/livecheck/strategy/git.rb @@ -25,6 +25,7 @@ module Homebrew # # @api public class Git + extend Strategic extend SystemCommand::Mixin # Used to cache processed URLs, to avoid duplicating effort. @@ -104,7 +105,7 @@ module Homebrew # # @param url [String] the URL to match against # @return [Boolean] - sig { params(url: String).returns(T::Boolean) } + sig { override.params(url: String).returns(T::Boolean) } def self.match?(url) url = preprocess_url(url) (DownloadStrategyDetector.detect(url) <= GitDownloadStrategy) == true @@ -189,12 +190,12 @@ module Homebrew # @param options [Options] options to modify behavior # @return [Hash] sig { - params( + override(allow_incompatible: true).params( url: String, regex: T.nilable(Regexp), options: Options, block: T.nilable(Proc), - ).returns(T::Hash[Symbol, T.untyped]) + ).returns(T::Hash[Symbol, T.anything]) } def self.find_versions(url:, regex: nil, options: Options.new, &block) match_data = { matches: {}, regex:, url: } diff --git a/Library/Homebrew/livecheck/strategy/github_latest.rb b/Library/Homebrew/livecheck/strategy/github_latest.rb index 387239cae0..19357c5864 100644 --- a/Library/Homebrew/livecheck/strategy/github_latest.rb +++ b/Library/Homebrew/livecheck/strategy/github_latest.rb @@ -28,6 +28,8 @@ module Homebrew # # @api public class GithubLatest + extend Strategic + NICE_NAME = "GitHub - Latest" # A priority of zero causes livecheck to skip the strategy. We do this @@ -39,7 +41,7 @@ module Homebrew # # @param url [String] the URL to match against # @return [Boolean] - sig { params(url: String).returns(T::Boolean) } + sig { override.params(url: String).returns(T::Boolean) } def self.match?(url) GithubReleases.match?(url) end @@ -73,12 +75,12 @@ module Homebrew # @param options [Options] options to modify behavior # @return [Hash] sig { - params( + override(allow_incompatible: true).params( url: String, regex: Regexp, options: Options, block: T.nilable(Proc), - ).returns(T::Hash[Symbol, T.untyped]) + ).returns(T::Hash[Symbol, T.anything]) } def self.find_versions(url:, regex: GithubReleases::DEFAULT_REGEX, options: Options.new, &block) match_data = { matches: {}, regex:, url: } diff --git a/Library/Homebrew/livecheck/strategy/github_releases.rb b/Library/Homebrew/livecheck/strategy/github_releases.rb index aec819f2fb..c5a0d93ab6 100644 --- a/Library/Homebrew/livecheck/strategy/github_releases.rb +++ b/Library/Homebrew/livecheck/strategy/github_releases.rb @@ -29,6 +29,8 @@ module Homebrew # # @api public class GithubReleases + extend Strategic + NICE_NAME = "GitHub - Releases" # A priority of zero causes livecheck to skip the strategy. We do this @@ -56,7 +58,7 @@ module Homebrew # # @param url [String] the URL to match against # @return [Boolean] - sig { params(url: String).returns(T::Boolean) } + sig { override.params(url: String).returns(T::Boolean) } def self.match?(url) URL_MATCH_REGEX.match?(url) end @@ -108,7 +110,7 @@ module Homebrew content.compact_blank.filter_map do |release| next if release["draft"] || release["prerelease"] - value = T.let(nil, T.untyped) + value = T.let(nil, T.nilable(String)) VERSION_KEYS.find do |key| match = release[key]&.match(regex) next if match.blank? @@ -127,12 +129,12 @@ module Homebrew # @param options [Options] options to modify behavior # @return [Hash] sig { - params( + override(allow_incompatible: true).params( url: String, regex: Regexp, options: Options, block: T.nilable(Proc), - ).returns(T::Hash[Symbol, T.untyped]) + ).returns(T::Hash[Symbol, T.anything]) } def self.find_versions(url:, regex: DEFAULT_REGEX, options: Options.new, &block) match_data = { matches: {}, regex:, url: } diff --git a/Library/Homebrew/livecheck/strategy/gnome.rb b/Library/Homebrew/livecheck/strategy/gnome.rb index dd3a83e46e..64882e5b40 100644 --- a/Library/Homebrew/livecheck/strategy/gnome.rb +++ b/Library/Homebrew/livecheck/strategy/gnome.rb @@ -25,6 +25,8 @@ module Homebrew # # @api public class Gnome + extend Strategic + NICE_NAME = "GNOME" # The `Regexp` used to determine if the strategy applies to the URL. @@ -38,7 +40,7 @@ module Homebrew # # @param url [String] the URL to match against # @return [Boolean] - sig { params(url: String).returns(T::Boolean) } + sig { override.params(url: String).returns(T::Boolean) } def self.match?(url) URL_MATCH_REGEX.match?(url) end @@ -77,12 +79,12 @@ module Homebrew # @param options [Options] options to modify behavior # @return [Hash] sig { - params( + override(allow_incompatible: true).params( url: String, regex: T.nilable(Regexp), options: Options, block: T.nilable(Proc), - ).returns(T::Hash[Symbol, T.untyped]) + ).returns(T::Hash[Symbol, T.anything]) } def self.find_versions(url:, regex: nil, options: Options.new, &block) generated = generate_input_values(url) diff --git a/Library/Homebrew/livecheck/strategy/gnu.rb b/Library/Homebrew/livecheck/strategy/gnu.rb index 3abd9bc15f..f9dec5bcb6 100644 --- a/Library/Homebrew/livecheck/strategy/gnu.rb +++ b/Library/Homebrew/livecheck/strategy/gnu.rb @@ -29,6 +29,8 @@ module Homebrew # # @api public class Gnu + extend Strategic + NICE_NAME = "GNU" # The `Regexp` used to determine if the strategy applies to the URL. @@ -42,7 +44,7 @@ module Homebrew # # @param url [String] the URL to match against # @return [Boolean] - sig { params(url: String).returns(T::Boolean) } + sig { override.params(url: String).returns(T::Boolean) } def self.match?(url) URL_MATCH_REGEX.match?(url) && url.exclude?("savannah.") end @@ -87,12 +89,12 @@ module Homebrew # @param options [Options] options to modify behavior # @return [Hash] sig { - params( + override(allow_incompatible: true).params( url: String, regex: T.nilable(Regexp), options: Options, block: T.nilable(Proc), - ).returns(T::Hash[Symbol, T.untyped]) + ).returns(T::Hash[Symbol, T.anything]) } def self.find_versions(url:, regex: nil, options: Options.new, &block) generated = generate_input_values(url) diff --git a/Library/Homebrew/livecheck/strategy/hackage.rb b/Library/Homebrew/livecheck/strategy/hackage.rb index 21143f7cf1..2591e03b86 100644 --- a/Library/Homebrew/livecheck/strategy/hackage.rb +++ b/Library/Homebrew/livecheck/strategy/hackage.rb @@ -17,6 +17,8 @@ module Homebrew # # @api public class Hackage + extend Strategic + # A `Regexp` used in determining if the strategy applies to the URL and # also as part of extracting the package name from the URL basename. PACKAGE_NAME_REGEX = /(?.+?)-\d+/i @@ -35,7 +37,7 @@ module Homebrew # # @param url [String] the URL to match against # @return [Boolean] - sig { params(url: String).returns(T::Boolean) } + sig { override.params(url: String).returns(T::Boolean) } def self.match?(url) URL_MATCH_REGEX.match?(url) end @@ -73,12 +75,12 @@ module Homebrew # @param options [Options] options to modify behavior # @return [Hash] sig { - params( + override(allow_incompatible: true).params( url: String, regex: T.nilable(Regexp), options: Options, block: T.nilable(Proc), - ).returns(T::Hash[Symbol, T.untyped]) + ).returns(T::Hash[Symbol, T.anything]) } def self.find_versions(url:, regex: nil, options: Options.new, &block) generated = generate_input_values(url) diff --git a/Library/Homebrew/livecheck/strategy/header_match.rb b/Library/Homebrew/livecheck/strategy/header_match.rb index b64e781056..7a5f6fed94 100644 --- a/Library/Homebrew/livecheck/strategy/header_match.rb +++ b/Library/Homebrew/livecheck/strategy/header_match.rb @@ -10,6 +10,8 @@ module Homebrew # This strategy is not applied automatically and it's necessary to use # `strategy :header_match` in a `livecheck` block to apply it. class HeaderMatch + extend Strategic + NICE_NAME = "Header match" # A priority of zero causes livecheck to skip the strategy. We do this @@ -26,7 +28,7 @@ module Homebrew # # @param url [String] the URL to match against # @return [Boolean] - sig { params(url: String).returns(T::Boolean) } + sig { override.params(url: String).returns(T::Boolean) } def self.match?(url) URL_MATCH_REGEX.match?(url) end @@ -70,12 +72,12 @@ module Homebrew # @param options [Options] options to modify behavior # @return [Hash] sig { - params( + override(allow_incompatible: true).params( url: String, regex: T.nilable(Regexp), options: Options, block: T.nilable(Proc), - ).returns(T::Hash[Symbol, T.untyped]) + ).returns(T::Hash[Symbol, T.anything]) } def self.find_versions(url:, regex: nil, options: Options.new, &block) match_data = { matches: {}, regex:, url: } diff --git a/Library/Homebrew/livecheck/strategy/json.rb b/Library/Homebrew/livecheck/strategy/json.rb index 546bb3814d..cf340b7fb1 100644 --- a/Library/Homebrew/livecheck/strategy/json.rb +++ b/Library/Homebrew/livecheck/strategy/json.rb @@ -23,6 +23,8 @@ module Homebrew # # @api public class Json + extend Strategic + NICE_NAME = "JSON" # A priority of zero causes livecheck to skip the strategy. We do this @@ -39,7 +41,7 @@ module Homebrew # # @param url [String] the URL to match against # @return [Boolean] - sig { params(url: String).returns(T::Boolean) } + sig { override.params(url: String).returns(T::Boolean) } def self.match?(url) URL_MATCH_REGEX.match?(url) end @@ -74,7 +76,7 @@ module Homebrew ).returns(T::Array[String]) } def self.versions_from_content(content, regex = nil, &block) - return [] if content.blank? || block.blank? + return [] if content.blank? || !block_given? json = parse_json(content) return [] if json.blank? @@ -97,19 +99,19 @@ module Homebrew # @param options [Options] options to modify behavior # @return [Hash] sig { - params( + override.params( url: String, regex: T.nilable(Regexp), provided_content: T.nilable(String), options: Options, block: T.nilable(Proc), - ).returns(T::Hash[Symbol, T.untyped]) + ).returns(T::Hash[Symbol, T.anything]) } def self.find_versions(url:, regex: nil, provided_content: nil, options: Options.new, &block) - raise ArgumentError, "#{Utils.demodulize(name)} requires a `strategy` block" if block.blank? + raise ArgumentError, "#{Utils.demodulize(name)} requires a `strategy` block" unless block_given? match_data = { matches: {}, regex:, url: } - return match_data if url.blank? || block.blank? + return match_data if url.blank? content = if provided_content.is_a?(String) match_data[:cached] = true diff --git a/Library/Homebrew/livecheck/strategy/launchpad.rb b/Library/Homebrew/livecheck/strategy/launchpad.rb index c47679b856..1bdf6bfc9d 100644 --- a/Library/Homebrew/livecheck/strategy/launchpad.rb +++ b/Library/Homebrew/livecheck/strategy/launchpad.rb @@ -23,6 +23,8 @@ module Homebrew # # @api public class Launchpad + extend Strategic + # The `Regexp` used to determine if the strategy applies to the URL. URL_MATCH_REGEX = %r{ ^https?://(?:[^/]+?\.)*launchpad\.net @@ -37,7 +39,7 @@ module Homebrew # # @param url [String] the URL to match against # @return [Boolean] - sig { params(url: String).returns(T::Boolean) } + sig { override.params(url: String).returns(T::Boolean) } def self.match?(url) URL_MATCH_REGEX.match?(url) end @@ -70,12 +72,12 @@ module Homebrew # @param options [Options] options to modify behavior # @return [Hash] sig { - params( + override(allow_incompatible: true).params( url: String, regex: Regexp, options: Options, block: T.nilable(Proc), - ).returns(T::Hash[Symbol, T.untyped]) + ).returns(T::Hash[Symbol, T.anything]) } def self.find_versions(url:, regex: DEFAULT_REGEX, options: Options.new, &block) generated = generate_input_values(url) diff --git a/Library/Homebrew/livecheck/strategy/npm.rb b/Library/Homebrew/livecheck/strategy/npm.rb index 8f12088d29..21707ec751 100644 --- a/Library/Homebrew/livecheck/strategy/npm.rb +++ b/Library/Homebrew/livecheck/strategy/npm.rb @@ -17,6 +17,8 @@ module Homebrew # # @api public class Npm + extend Strategic + NICE_NAME = "npm" # The `Regexp` used to determine if the strategy applies to the URL. @@ -29,7 +31,7 @@ module Homebrew # # @param url [String] the URL to match against # @return [Boolean] - sig { params(url: String).returns(T::Boolean) } + sig { override.params(url: String).returns(T::Boolean) } def self.match?(url) URL_MATCH_REGEX.match?(url) end @@ -68,12 +70,12 @@ module Homebrew # @param options [Options] options to modify behavior # @return [Hash] sig { - params( + override(allow_incompatible: true).params( url: String, regex: T.nilable(Regexp), options: Options, block: T.nilable(Proc), - ).returns(T::Hash[Symbol, T.untyped]) + ).returns(T::Hash[Symbol, T.anything]) } def self.find_versions(url:, regex: nil, options: Options.new, &block) generated = generate_input_values(url) diff --git a/Library/Homebrew/livecheck/strategy/page_match.rb b/Library/Homebrew/livecheck/strategy/page_match.rb index 601930ba84..4614c37e25 100644 --- a/Library/Homebrew/livecheck/strategy/page_match.rb +++ b/Library/Homebrew/livecheck/strategy/page_match.rb @@ -16,6 +16,8 @@ module Homebrew # # @api public class PageMatch + extend Strategic + NICE_NAME = "Page match" # A priority of zero causes livecheck to skip the strategy. We do this @@ -32,7 +34,7 @@ module Homebrew # # @param url [String] the URL to match against # @return [Boolean] - sig { params(url: String).returns(T::Boolean) } + sig { override.params(url: String).returns(T::Boolean) } def self.match?(url) URL_MATCH_REGEX.match?(url) end @@ -80,7 +82,7 @@ module Homebrew # @param options [Options] options to modify behavior # @return [Hash] sig { - params( + override.params( url: String, regex: T.nilable(Regexp), provided_content: T.nilable(String), @@ -89,12 +91,12 @@ module Homebrew ).returns(T::Hash[Symbol, T.untyped]) } def self.find_versions(url:, regex: nil, provided_content: nil, options: Options.new, &block) - if regex.blank? && block.blank? + if regex.blank? && !block_given? raise ArgumentError, "#{Utils.demodulize(name)} requires a regex or `strategy` block" end match_data = { matches: {}, regex:, url: } - return match_data if url.blank? || (regex.blank? && block.blank?) + return match_data if url.blank? content = if provided_content.is_a?(String) match_data[:cached] = true diff --git a/Library/Homebrew/livecheck/strategy/pypi.rb b/Library/Homebrew/livecheck/strategy/pypi.rb index b13042abe8..de079f4cc0 100644 --- a/Library/Homebrew/livecheck/strategy/pypi.rb +++ b/Library/Homebrew/livecheck/strategy/pypi.rb @@ -16,6 +16,8 @@ module Homebrew # # @api public class Pypi + extend Strategic + NICE_NAME = "PyPI" # The default `strategy` block used to extract version information when @@ -26,7 +28,7 @@ module Homebrew regex ? version[regex, 1] : version end.freeze, T.proc.params( - json: T::Hash[String, T.untyped], + json: T::Hash[String, T.anything], regex: T.nilable(Regexp), ).returns(T.nilable(String))) @@ -50,7 +52,7 @@ module Homebrew # # @param url [String] the URL to match against # @return [Boolean] - sig { params(url: String).returns(T::Boolean) } + sig { override.params(url: String).returns(T::Boolean) } def self.match?(url) URL_MATCH_REGEX.match?(url) end @@ -82,13 +84,13 @@ module Homebrew # @param options [Options] options to modify behavior # @return [Hash] sig { - params( + override.params( url: String, regex: T.nilable(Regexp), provided_content: T.nilable(String), options: Options, block: T.nilable(Proc), - ).returns(T::Hash[Symbol, T.untyped]) + ).returns(T::Hash[Symbol, T.anything]) } def self.find_versions(url:, regex: nil, provided_content: nil, options: Options.new, &block) match_data = { matches: {}, regex:, url: } diff --git a/Library/Homebrew/livecheck/strategy/sourceforge.rb b/Library/Homebrew/livecheck/strategy/sourceforge.rb index 9096ae8629..a44ceb67ef 100644 --- a/Library/Homebrew/livecheck/strategy/sourceforge.rb +++ b/Library/Homebrew/livecheck/strategy/sourceforge.rb @@ -31,6 +31,8 @@ module Homebrew # # @api public class Sourceforge + extend Strategic + NICE_NAME = "SourceForge" # The `Regexp` used to determine if the strategy applies to the URL. @@ -45,7 +47,7 @@ module Homebrew # # @param url [String] the URL to match against # @return [Boolean] - sig { params(url: String).returns(T::Boolean) } + sig { override.params(url: String).returns(T::Boolean) } def self.match?(url) URL_MATCH_REGEX.match?(url) end @@ -87,12 +89,12 @@ module Homebrew # @param options [Options] options to modify behavior # @return [Hash] sig { - params( + override(allow_incompatible: true).params( url: String, regex: T.nilable(Regexp), options: Options, block: T.nilable(Proc), - ).returns(T::Hash[Symbol, T.untyped]) + ).returns(T::Hash[Symbol, T.anything]) } def self.find_versions(url:, regex: nil, options: Options.new, &block) generated = generate_input_values(url) diff --git a/Library/Homebrew/livecheck/strategy/sparkle.rb b/Library/Homebrew/livecheck/strategy/sparkle.rb index 051880d320..9c984e4bcf 100644 --- a/Library/Homebrew/livecheck/strategy/sparkle.rb +++ b/Library/Homebrew/livecheck/strategy/sparkle.rb @@ -12,6 +12,8 @@ module Homebrew # This strategy is not applied automatically and it's necessary to use # `strategy :sparkle` in a `livecheck` block to apply it. class Sparkle + extend Strategic + # A priority of zero causes livecheck to skip the strategy. We do this # for {Sparkle} so we can selectively apply it when appropriate. PRIORITY = 0 @@ -26,7 +28,7 @@ module Homebrew # # @param url [String] the URL to match against # @return [Boolean] - sig { params(url: String).returns(T::Boolean) } + sig { override.params(url: String).returns(T::Boolean) } def self.match?(url) URL_MATCH_REGEX.match?(url) end @@ -217,15 +219,15 @@ module Homebrew # @param options [Options] options to modify behavior # @return [Hash] sig { - params( + override(allow_incompatible: true).params( url: String, regex: T.nilable(Regexp), options: Options, block: T.nilable(Proc), - ).returns(T::Hash[Symbol, T.untyped]) + ).returns(T::Hash[Symbol, T.anything]) } def self.find_versions(url:, regex: nil, options: Options.new, &block) - if regex.present? && block.blank? + if regex.present? && !block_given? raise ArgumentError, "#{Utils.demodulize(name)} only supports a regex when using a `strategy` block" end diff --git a/Library/Homebrew/livecheck/strategy/xml.rb b/Library/Homebrew/livecheck/strategy/xml.rb index 2971014b87..bb106dc792 100644 --- a/Library/Homebrew/livecheck/strategy/xml.rb +++ b/Library/Homebrew/livecheck/strategy/xml.rb @@ -27,6 +27,8 @@ module Homebrew # # @api public class Xml + extend Strategic + NICE_NAME = "XML" # A priority of zero causes livecheck to skip the strategy. We do this @@ -43,7 +45,7 @@ module Homebrew # # @param url [String] the URL to match against # @return [Boolean] - sig { params(url: String).returns(T::Boolean) } + sig { override.params(url: String).returns(T::Boolean) } def self.match?(url) URL_MATCH_REGEX.match?(url) end @@ -111,7 +113,7 @@ module Homebrew ).returns(T::Array[String]) } def self.versions_from_content(content, regex = nil, &block) - return [] if content.blank? || block.blank? + return [] if content.blank? || !block_given? require "rexml" xml = parse_xml(content) @@ -137,19 +139,19 @@ module Homebrew # @param options [Options] options to modify behavior # @return [Hash] sig { - params( + override.params( url: String, regex: T.nilable(Regexp), provided_content: T.nilable(String), options: Options, block: T.nilable(Proc), - ).returns(T::Hash[Symbol, T.untyped]) + ).returns(T::Hash[Symbol, T.anything]) } def self.find_versions(url:, regex: nil, provided_content: nil, options: Options.new, &block) - raise ArgumentError, "#{Utils.demodulize(name)} requires a `strategy` block" if block.blank? + raise ArgumentError, "#{Utils.demodulize(name)} requires a `strategy` block" unless block_given? match_data = { matches: {}, regex:, url: } - return match_data if url.blank? || block.blank? + return match_data if url.blank? content = if provided_content.is_a?(String) match_data[:cached] = true diff --git a/Library/Homebrew/livecheck/strategy/xorg.rb b/Library/Homebrew/livecheck/strategy/xorg.rb index ac93e2726b..d2059c21fc 100644 --- a/Library/Homebrew/livecheck/strategy/xorg.rb +++ b/Library/Homebrew/livecheck/strategy/xorg.rb @@ -39,6 +39,8 @@ module Homebrew # # @api public class Xorg + extend Strategic + NICE_NAME = "X.Org" # A `Regexp` used in determining if the strategy applies to the URL and @@ -65,7 +67,7 @@ module Homebrew # # @param url [String] the URL to match against # @return [Boolean] - sig { params(url: String).returns(T::Boolean) } + sig { override.params(url: String).returns(T::Boolean) } def self.match?(url) URL_MATCH_REGEX.match?(url) end @@ -112,12 +114,12 @@ module Homebrew # @param options [Options] options to modify behavior # @return [Hash] sig { - params( + override(allow_incompatible: true).params( url: String, regex: T.nilable(Regexp), options: Options, block: T.nilable(Proc), - ).returns(T::Hash[Symbol, T.untyped]) + ).returns(T::Hash[Symbol, T.anything]) } def self.find_versions(url:, regex: nil, options: Options.new, &block) generated = generate_input_values(url) @@ -134,7 +136,7 @@ module Homebrew ) # Cache any new page content - @page_data[generated_url] = match_data[:content] if match_data[:content].present? + @page_data[generated_url] = match_data[:content] unless match_data[:content].empty? match_data end diff --git a/Library/Homebrew/livecheck/strategy/yaml.rb b/Library/Homebrew/livecheck/strategy/yaml.rb index e791cd81e2..4f9acb369b 100644 --- a/Library/Homebrew/livecheck/strategy/yaml.rb +++ b/Library/Homebrew/livecheck/strategy/yaml.rb @@ -23,6 +23,8 @@ module Homebrew # # @api public class Yaml + extend Strategic + NICE_NAME = "YAML" # A priority of zero causes livecheck to skip the strategy. We do this @@ -39,7 +41,7 @@ module Homebrew # # @param url [String] the URL to match against # @return [Boolean] - sig { params(url: String).returns(T::Boolean) } + sig { override.params(url: String).returns(T::Boolean) } def self.match?(url) URL_MATCH_REGEX.match?(url) end @@ -72,7 +74,7 @@ module Homebrew ).returns(T::Array[String]) } def self.versions_from_content(content, regex = nil, &block) - return [] if content.blank? || block.blank? + return [] if content.blank? || !block_given? yaml = parse_yaml(content) return [] if yaml.blank? @@ -97,19 +99,19 @@ module Homebrew # @param options [Options] options to modify behavior # @return [Hash] sig { - params( + override.params( url: String, regex: T.nilable(Regexp), provided_content: T.nilable(String), options: Options, block: T.nilable(Proc), - ).returns(T::Hash[Symbol, T.untyped]) + ).returns(T::Hash[Symbol, T.anything]) } def self.find_versions(url:, regex: nil, provided_content: nil, options: Options.new, &block) - raise ArgumentError, "#{Utils.demodulize(name)} requires a `strategy` block" if block.blank? + raise ArgumentError, "#{Utils.demodulize(name)} requires a `strategy` block" unless block_given? match_data = { matches: {}, regex:, url: } - return match_data if url.blank? || block.blank? + return match_data if url.blank? content = if provided_content.is_a?(String) match_data[:cached] = true diff --git a/Library/Homebrew/resource.rb b/Library/Homebrew/resource.rb index 93349736d4..a8eeb2c7e2 100644 --- a/Library/Homebrew/resource.rb +++ b/Library/Homebrew/resource.rb @@ -74,7 +74,7 @@ class Resource # # @api public def stage(target = nil, debug_symbols: false, &block) - raise ArgumentError, "Target directory or block is required" if !target && block.blank? + raise ArgumentError, "Target directory or block is required" if !target && !block_given? prepare_patches fetch_patches(skip_downloaded: true) From 1ff3b62d7be1980cd1e1001de12da36e51eb1ee9 Mon Sep 17 00:00:00 2001 From: Gibson Fahnestock Date: Thu, 27 Feb 2025 11:59:08 +0800 Subject: [PATCH 189/322] fix: HOMEBREW_NO_SORBET_RUNTIME should work even if developer Today if you are in developer mode then `HOMEBREW_NO_SORBET_RUNTIME` doesn't take effect. But when doing development it's often useful to be able to disable type-checking, so have that env var take effect even in developer mode. --- Library/Homebrew/brew.sh | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Library/Homebrew/brew.sh b/Library/Homebrew/brew.sh index ee48f55738..d74fc2578b 100644 --- a/Library/Homebrew/brew.sh +++ b/Library/Homebrew/brew.sh @@ -969,13 +969,6 @@ then export HOMEBREW_DEVELOPER_COMMAND="1" fi -# Provide a (temporary, undocumented) way to disable Sorbet globally if needed -# to avoid reverting the above. -if [[ -n "${HOMEBREW_NO_SORBET_RUNTIME}" ]] -then - unset HOMEBREW_SORBET_RUNTIME -fi - if [[ -n "${HOMEBREW_DEVELOPER_COMMAND}" && -z "${HOMEBREW_DEVELOPER}" ]] then if [[ -z "${HOMEBREW_DEV_CMD_RUN}" ]] @@ -999,6 +992,13 @@ then export HOMEBREW_SORBET_RUNTIME="1" fi +# Provide a (temporary, undocumented) way to disable Sorbet globally if needed +# to avoid reverting the above. +if [[ -n "${HOMEBREW_NO_SORBET_RUNTIME}" ]] +then + unset HOMEBREW_SORBET_RUNTIME +fi + if [[ -f "${HOMEBREW_LIBRARY}/Homebrew/cmd/${HOMEBREW_COMMAND}.sh" ]] then HOMEBREW_BASH_COMMAND="${HOMEBREW_LIBRARY}/Homebrew/cmd/${HOMEBREW_COMMAND}.sh" From 029388a13038ac026a6545fff08f71598614afd9 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 27 Feb 2025 16:36:27 +0000 Subject: [PATCH 190/322] build(deps): bump the sorbet group in /Library/Homebrew with 4 updates Bumps the sorbet group in /Library/Homebrew with 4 updates: [sorbet-static-and-runtime](https://github.com/sorbet/sorbet), [sorbet-runtime](https://github.com/sorbet/sorbet), [sorbet](https://github.com/sorbet/sorbet) and [sorbet-static](https://github.com/sorbet/sorbet). Updates `sorbet-static-and-runtime` from 0.5.11862 to 0.5.11865 - [Release notes](https://github.com/sorbet/sorbet/releases) - [Commits](https://github.com/sorbet/sorbet/commits) Updates `sorbet-runtime` from 0.5.11862 to 0.5.11865 - [Release notes](https://github.com/sorbet/sorbet/releases) - [Commits](https://github.com/sorbet/sorbet/commits) Updates `sorbet` from 0.5.11862 to 0.5.11865 - [Release notes](https://github.com/sorbet/sorbet/releases) - [Commits](https://github.com/sorbet/sorbet/commits) Updates `sorbet-static` from 0.5.11862 to 0.5.11865 - [Release notes](https://github.com/sorbet/sorbet/releases) - [Commits](https://github.com/sorbet/sorbet/commits) --- updated-dependencies: - dependency-name: sorbet-static-and-runtime dependency-type: direct:development update-type: version-update:semver-patch dependency-group: sorbet - dependency-name: sorbet-runtime dependency-type: direct:production update-type: version-update:semver-patch dependency-group: sorbet - dependency-name: sorbet dependency-type: indirect update-type: version-update:semver-patch dependency-group: sorbet - dependency-name: sorbet-static dependency-type: indirect update-type: version-update:semver-patch dependency-group: sorbet ... Signed-off-by: dependabot[bot] --- Library/Homebrew/Gemfile.lock | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/Library/Homebrew/Gemfile.lock b/Library/Homebrew/Gemfile.lock index 3307253202..47ce53bf11 100644 --- a/Library/Homebrew/Gemfile.lock +++ b/Library/Homebrew/Gemfile.lock @@ -116,15 +116,15 @@ GEM simplecov-html (0.13.1) simplecov_json_formatter (0.1.4) simpleidn (0.2.3) - sorbet (0.5.11862) - sorbet-static (= 0.5.11862) - sorbet-runtime (0.5.11862) - sorbet-static (0.5.11862-aarch64-linux) - sorbet-static (0.5.11862-universal-darwin) - sorbet-static (0.5.11862-x86_64-linux) - sorbet-static-and-runtime (0.5.11862) - sorbet (= 0.5.11862) - sorbet-runtime (= 0.5.11862) + sorbet (0.5.11865) + sorbet-static (= 0.5.11865) + sorbet-runtime (0.5.11865) + sorbet-static (0.5.11865-aarch64-linux) + sorbet-static (0.5.11865-universal-darwin) + sorbet-static (0.5.11865-x86_64-linux) + sorbet-static-and-runtime (0.5.11865) + sorbet (= 0.5.11865) + sorbet-runtime (= 0.5.11865) spoom (1.5.4) erubi (>= 1.10.0) prism (>= 0.28.0) @@ -155,7 +155,6 @@ GEM PLATFORMS aarch64-linux - arm-linux arm64-darwin x86_64-darwin x86_64-linux From ae16e232aa1cdd5379ac7990df5803114d53914e Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Thu, 27 Feb 2025 16:38:28 +0000 Subject: [PATCH 191/322] brew vendor-gems: commit updates. --- Library/Homebrew/Gemfile.lock | 1 + Library/Homebrew/vendor/bundle/bundler/setup.rb | 8 ++++---- .../lib/sorbet-runtime.rb | 0 .../lib/types/_types.rb | 0 .../lib/types/abstract_utils.rb | 0 .../lib/types/boolean.rb | 0 .../lib/types/compatibility_patches.rb | 0 .../lib/types/configuration.rb | 0 .../lib/types/enum.rb | 0 .../lib/types/generic.rb | 0 .../lib/types/helpers.rb | 0 .../lib/types/non_forcing_constants.rb | 0 .../lib/types/private/abstract/data.rb | 0 .../lib/types/private/abstract/declare.rb | 0 .../lib/types/private/abstract/hooks.rb | 0 .../lib/types/private/abstract/validate.rb | 0 .../lib/types/private/caller_utils.rb | 0 .../lib/types/private/casts.rb | 0 .../lib/types/private/class_utils.rb | 0 .../lib/types/private/decl_state.rb | 0 .../lib/types/private/final.rb | 0 .../lib/types/private/methods/_methods.rb | 0 .../lib/types/private/methods/call_validation.rb | 0 .../lib/types/private/methods/call_validation_2_6.rb | 0 .../lib/types/private/methods/call_validation_2_7.rb | 0 .../lib/types/private/methods/decl_builder.rb | 0 .../lib/types/private/methods/modes.rb | 0 .../lib/types/private/methods/signature.rb | 0 .../lib/types/private/methods/signature_validation.rb | 0 .../lib/types/private/mixins/mixins.rb | 0 .../lib/types/private/retry.rb | 0 .../lib/types/private/runtime_levels.rb | 0 .../lib/types/private/sealed.rb | 0 .../lib/types/private/types/not_typed.rb | 0 .../lib/types/private/types/simple_pair_union.rb | 0 .../lib/types/private/types/string_holder.rb | 0 .../lib/types/private/types/type_alias.rb | 0 .../lib/types/private/types/void.rb | 0 .../lib/types/props/_props.rb | 0 .../lib/types/props/constructor.rb | 0 .../lib/types/props/custom_type.rb | 0 .../lib/types/props/decorator.rb | 0 .../lib/types/props/errors.rb | 0 .../lib/types/props/generated_code_validation.rb | 0 .../lib/types/props/has_lazily_specialized_methods.rb | 0 .../lib/types/props/optional.rb | 0 .../lib/types/props/plugin.rb | 0 .../lib/types/props/pretty_printable.rb | 0 .../lib/types/props/private/apply_default.rb | 0 .../lib/types/props/private/deserializer_generator.rb | 0 .../lib/types/props/private/parser.rb | 0 .../lib/types/props/private/serde_transform.rb | 0 .../lib/types/props/private/serializer_generator.rb | 0 .../lib/types/props/private/setter_factory.rb | 0 .../lib/types/props/serializable.rb | 0 .../lib/types/props/type_validation.rb | 0 .../lib/types/props/utils.rb | 0 .../lib/types/props/weak_constructor.rb | 0 .../lib/types/sig.rb | 0 .../lib/types/struct.rb | 0 .../lib/types/types/anything.rb | 0 .../lib/types/types/attached_class.rb | 0 .../lib/types/types/base.rb | 0 .../lib/types/types/class_of.rb | 0 .../lib/types/types/enum.rb | 0 .../lib/types/types/fixed_array.rb | 0 .../lib/types/types/fixed_hash.rb | 0 .../lib/types/types/intersection.rb | 0 .../lib/types/types/noreturn.rb | 0 .../lib/types/types/proc.rb | 0 .../lib/types/types/self_type.rb | 0 .../lib/types/types/simple.rb | 0 .../lib/types/types/t_enum.rb | 0 .../lib/types/types/type_member.rb | 0 .../lib/types/types/type_parameter.rb | 0 .../lib/types/types/type_template.rb | 0 .../lib/types/types/type_variable.rb | 0 .../lib/types/types/typed_array.rb | 0 .../lib/types/types/typed_class.rb | 0 .../lib/types/types/typed_enumerable.rb | 0 .../lib/types/types/typed_enumerator.rb | 0 .../lib/types/types/typed_enumerator_chain.rb | 0 .../lib/types/types/typed_enumerator_lazy.rb | 0 .../lib/types/types/typed_hash.rb | 0 .../lib/types/types/typed_range.rb | 0 .../lib/types/types/typed_set.rb | 0 .../lib/types/types/union.rb | 0 .../lib/types/types/untyped.rb | 0 .../lib/types/utils.rb | 0 89 files changed, 5 insertions(+), 4 deletions(-) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11862 => sorbet-runtime-0.5.11865}/lib/sorbet-runtime.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11862 => sorbet-runtime-0.5.11865}/lib/types/_types.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11862 => sorbet-runtime-0.5.11865}/lib/types/abstract_utils.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11862 => sorbet-runtime-0.5.11865}/lib/types/boolean.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11862 => sorbet-runtime-0.5.11865}/lib/types/compatibility_patches.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11862 => sorbet-runtime-0.5.11865}/lib/types/configuration.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11862 => sorbet-runtime-0.5.11865}/lib/types/enum.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11862 => sorbet-runtime-0.5.11865}/lib/types/generic.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11862 => sorbet-runtime-0.5.11865}/lib/types/helpers.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11862 => sorbet-runtime-0.5.11865}/lib/types/non_forcing_constants.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11862 => sorbet-runtime-0.5.11865}/lib/types/private/abstract/data.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11862 => sorbet-runtime-0.5.11865}/lib/types/private/abstract/declare.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11862 => sorbet-runtime-0.5.11865}/lib/types/private/abstract/hooks.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11862 => sorbet-runtime-0.5.11865}/lib/types/private/abstract/validate.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11862 => sorbet-runtime-0.5.11865}/lib/types/private/caller_utils.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11862 => sorbet-runtime-0.5.11865}/lib/types/private/casts.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11862 => sorbet-runtime-0.5.11865}/lib/types/private/class_utils.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11862 => sorbet-runtime-0.5.11865}/lib/types/private/decl_state.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11862 => sorbet-runtime-0.5.11865}/lib/types/private/final.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11862 => sorbet-runtime-0.5.11865}/lib/types/private/methods/_methods.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11862 => sorbet-runtime-0.5.11865}/lib/types/private/methods/call_validation.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11862 => sorbet-runtime-0.5.11865}/lib/types/private/methods/call_validation_2_6.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11862 => sorbet-runtime-0.5.11865}/lib/types/private/methods/call_validation_2_7.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11862 => sorbet-runtime-0.5.11865}/lib/types/private/methods/decl_builder.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11862 => sorbet-runtime-0.5.11865}/lib/types/private/methods/modes.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11862 => sorbet-runtime-0.5.11865}/lib/types/private/methods/signature.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11862 => sorbet-runtime-0.5.11865}/lib/types/private/methods/signature_validation.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11862 => sorbet-runtime-0.5.11865}/lib/types/private/mixins/mixins.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11862 => sorbet-runtime-0.5.11865}/lib/types/private/retry.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11862 => sorbet-runtime-0.5.11865}/lib/types/private/runtime_levels.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11862 => sorbet-runtime-0.5.11865}/lib/types/private/sealed.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11862 => sorbet-runtime-0.5.11865}/lib/types/private/types/not_typed.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11862 => sorbet-runtime-0.5.11865}/lib/types/private/types/simple_pair_union.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11862 => sorbet-runtime-0.5.11865}/lib/types/private/types/string_holder.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11862 => sorbet-runtime-0.5.11865}/lib/types/private/types/type_alias.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11862 => sorbet-runtime-0.5.11865}/lib/types/private/types/void.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11862 => sorbet-runtime-0.5.11865}/lib/types/props/_props.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11862 => sorbet-runtime-0.5.11865}/lib/types/props/constructor.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11862 => sorbet-runtime-0.5.11865}/lib/types/props/custom_type.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11862 => sorbet-runtime-0.5.11865}/lib/types/props/decorator.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11862 => sorbet-runtime-0.5.11865}/lib/types/props/errors.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11862 => sorbet-runtime-0.5.11865}/lib/types/props/generated_code_validation.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11862 => sorbet-runtime-0.5.11865}/lib/types/props/has_lazily_specialized_methods.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11862 => sorbet-runtime-0.5.11865}/lib/types/props/optional.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11862 => sorbet-runtime-0.5.11865}/lib/types/props/plugin.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11862 => sorbet-runtime-0.5.11865}/lib/types/props/pretty_printable.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11862 => sorbet-runtime-0.5.11865}/lib/types/props/private/apply_default.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11862 => sorbet-runtime-0.5.11865}/lib/types/props/private/deserializer_generator.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11862 => sorbet-runtime-0.5.11865}/lib/types/props/private/parser.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11862 => sorbet-runtime-0.5.11865}/lib/types/props/private/serde_transform.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11862 => sorbet-runtime-0.5.11865}/lib/types/props/private/serializer_generator.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11862 => sorbet-runtime-0.5.11865}/lib/types/props/private/setter_factory.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11862 => sorbet-runtime-0.5.11865}/lib/types/props/serializable.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11862 => sorbet-runtime-0.5.11865}/lib/types/props/type_validation.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11862 => sorbet-runtime-0.5.11865}/lib/types/props/utils.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11862 => sorbet-runtime-0.5.11865}/lib/types/props/weak_constructor.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11862 => sorbet-runtime-0.5.11865}/lib/types/sig.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11862 => sorbet-runtime-0.5.11865}/lib/types/struct.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11862 => sorbet-runtime-0.5.11865}/lib/types/types/anything.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11862 => sorbet-runtime-0.5.11865}/lib/types/types/attached_class.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11862 => sorbet-runtime-0.5.11865}/lib/types/types/base.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11862 => sorbet-runtime-0.5.11865}/lib/types/types/class_of.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11862 => sorbet-runtime-0.5.11865}/lib/types/types/enum.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11862 => sorbet-runtime-0.5.11865}/lib/types/types/fixed_array.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11862 => sorbet-runtime-0.5.11865}/lib/types/types/fixed_hash.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11862 => sorbet-runtime-0.5.11865}/lib/types/types/intersection.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11862 => sorbet-runtime-0.5.11865}/lib/types/types/noreturn.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11862 => sorbet-runtime-0.5.11865}/lib/types/types/proc.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11862 => sorbet-runtime-0.5.11865}/lib/types/types/self_type.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11862 => sorbet-runtime-0.5.11865}/lib/types/types/simple.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11862 => sorbet-runtime-0.5.11865}/lib/types/types/t_enum.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11862 => sorbet-runtime-0.5.11865}/lib/types/types/type_member.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11862 => sorbet-runtime-0.5.11865}/lib/types/types/type_parameter.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11862 => sorbet-runtime-0.5.11865}/lib/types/types/type_template.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11862 => sorbet-runtime-0.5.11865}/lib/types/types/type_variable.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11862 => sorbet-runtime-0.5.11865}/lib/types/types/typed_array.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11862 => sorbet-runtime-0.5.11865}/lib/types/types/typed_class.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11862 => sorbet-runtime-0.5.11865}/lib/types/types/typed_enumerable.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11862 => sorbet-runtime-0.5.11865}/lib/types/types/typed_enumerator.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11862 => sorbet-runtime-0.5.11865}/lib/types/types/typed_enumerator_chain.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11862 => sorbet-runtime-0.5.11865}/lib/types/types/typed_enumerator_lazy.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11862 => sorbet-runtime-0.5.11865}/lib/types/types/typed_hash.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11862 => sorbet-runtime-0.5.11865}/lib/types/types/typed_range.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11862 => sorbet-runtime-0.5.11865}/lib/types/types/typed_set.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11862 => sorbet-runtime-0.5.11865}/lib/types/types/union.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11862 => sorbet-runtime-0.5.11865}/lib/types/types/untyped.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11862 => sorbet-runtime-0.5.11865}/lib/types/utils.rb (100%) diff --git a/Library/Homebrew/Gemfile.lock b/Library/Homebrew/Gemfile.lock index 47ce53bf11..3143d7337f 100644 --- a/Library/Homebrew/Gemfile.lock +++ b/Library/Homebrew/Gemfile.lock @@ -155,6 +155,7 @@ GEM PLATFORMS aarch64-linux + arm-linux arm64-darwin x86_64-darwin x86_64-linux diff --git a/Library/Homebrew/vendor/bundle/bundler/setup.rb b/Library/Homebrew/vendor/bundle/bundler/setup.rb index d79fcf2fd4..e8c2953dc3 100644 --- a/Library/Homebrew/vendor/bundle/bundler/setup.rb +++ b/Library/Homebrew/vendor/bundle/bundler/setup.rb @@ -75,7 +75,7 @@ $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/extensions/arm64-darwin-20/#{Gem.extension_api_version}/pycall-1.5.2") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/pycall-1.5.2/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rainbow-3.1.1/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-runtime-0.5.11862/lib") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-runtime-0.5.11865/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rbi-0.2.4/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/extensions/arm64-darwin-20/#{Gem.extension_api_version}/rbs-3.8.1") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rbs-3.8.1/lib") @@ -107,9 +107,9 @@ $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/simplecov_json_formatter-0.1.4/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/simplecov-0.22.0/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/simplecov-cobertura-2.1.0/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-static-0.5.11862-universal-darwin/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-0.5.11862/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-static-and-runtime-0.5.11862/lib") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-static-0.5.11865-universal-darwin/lib") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-0.5.11865/lib") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-static-and-runtime-0.5.11865/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/thor-1.3.2/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/spoom-1.5.4/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/extensions/arm64-darwin-20/#{Gem.extension_api_version}/stackprof-0.2.27") diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/sorbet-runtime.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/sorbet-runtime.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/sorbet-runtime.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/sorbet-runtime.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/_types.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/_types.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/_types.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/_types.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/abstract_utils.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/abstract_utils.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/abstract_utils.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/abstract_utils.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/boolean.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/boolean.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/boolean.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/boolean.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/compatibility_patches.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/compatibility_patches.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/compatibility_patches.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/compatibility_patches.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/configuration.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/configuration.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/configuration.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/configuration.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/enum.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/enum.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/enum.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/enum.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/generic.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/generic.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/generic.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/generic.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/helpers.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/helpers.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/helpers.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/helpers.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/non_forcing_constants.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/non_forcing_constants.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/non_forcing_constants.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/non_forcing_constants.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/private/abstract/data.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/private/abstract/data.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/private/abstract/data.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/private/abstract/data.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/private/abstract/declare.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/private/abstract/declare.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/private/abstract/declare.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/private/abstract/declare.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/private/abstract/hooks.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/private/abstract/hooks.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/private/abstract/hooks.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/private/abstract/hooks.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/private/abstract/validate.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/private/abstract/validate.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/private/abstract/validate.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/private/abstract/validate.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/private/caller_utils.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/private/caller_utils.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/private/caller_utils.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/private/caller_utils.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/private/casts.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/private/casts.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/private/casts.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/private/casts.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/private/class_utils.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/private/class_utils.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/private/class_utils.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/private/class_utils.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/private/decl_state.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/private/decl_state.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/private/decl_state.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/private/decl_state.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/private/final.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/private/final.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/private/final.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/private/final.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/private/methods/_methods.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/private/methods/_methods.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/private/methods/_methods.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/private/methods/_methods.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/private/methods/call_validation.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/private/methods/call_validation.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/private/methods/call_validation.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/private/methods/call_validation.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/private/methods/call_validation_2_6.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/private/methods/call_validation_2_6.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/private/methods/call_validation_2_6.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/private/methods/call_validation_2_6.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/private/methods/call_validation_2_7.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/private/methods/call_validation_2_7.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/private/methods/call_validation_2_7.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/private/methods/call_validation_2_7.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/private/methods/decl_builder.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/private/methods/decl_builder.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/private/methods/decl_builder.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/private/methods/decl_builder.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/private/methods/modes.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/private/methods/modes.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/private/methods/modes.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/private/methods/modes.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/private/methods/signature.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/private/methods/signature.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/private/methods/signature.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/private/methods/signature.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/private/methods/signature_validation.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/private/methods/signature_validation.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/private/methods/signature_validation.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/private/methods/signature_validation.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/private/mixins/mixins.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/private/mixins/mixins.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/private/mixins/mixins.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/private/mixins/mixins.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/private/retry.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/private/retry.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/private/retry.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/private/retry.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/private/runtime_levels.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/private/runtime_levels.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/private/runtime_levels.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/private/runtime_levels.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/private/sealed.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/private/sealed.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/private/sealed.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/private/sealed.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/private/types/not_typed.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/private/types/not_typed.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/private/types/not_typed.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/private/types/not_typed.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/private/types/simple_pair_union.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/private/types/simple_pair_union.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/private/types/simple_pair_union.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/private/types/simple_pair_union.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/private/types/string_holder.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/private/types/string_holder.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/private/types/string_holder.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/private/types/string_holder.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/private/types/type_alias.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/private/types/type_alias.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/private/types/type_alias.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/private/types/type_alias.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/private/types/void.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/private/types/void.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/private/types/void.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/private/types/void.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/props/_props.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/props/_props.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/props/_props.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/props/_props.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/props/constructor.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/props/constructor.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/props/constructor.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/props/constructor.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/props/custom_type.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/props/custom_type.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/props/custom_type.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/props/custom_type.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/props/decorator.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/props/decorator.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/props/decorator.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/props/decorator.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/props/errors.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/props/errors.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/props/errors.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/props/errors.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/props/generated_code_validation.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/props/generated_code_validation.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/props/generated_code_validation.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/props/generated_code_validation.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/props/has_lazily_specialized_methods.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/props/has_lazily_specialized_methods.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/props/has_lazily_specialized_methods.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/props/has_lazily_specialized_methods.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/props/optional.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/props/optional.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/props/optional.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/props/optional.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/props/plugin.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/props/plugin.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/props/plugin.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/props/plugin.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/props/pretty_printable.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/props/pretty_printable.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/props/pretty_printable.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/props/pretty_printable.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/props/private/apply_default.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/props/private/apply_default.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/props/private/apply_default.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/props/private/apply_default.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/props/private/deserializer_generator.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/props/private/deserializer_generator.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/props/private/deserializer_generator.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/props/private/deserializer_generator.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/props/private/parser.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/props/private/parser.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/props/private/parser.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/props/private/parser.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/props/private/serde_transform.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/props/private/serde_transform.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/props/private/serde_transform.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/props/private/serde_transform.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/props/private/serializer_generator.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/props/private/serializer_generator.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/props/private/serializer_generator.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/props/private/serializer_generator.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/props/private/setter_factory.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/props/private/setter_factory.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/props/private/setter_factory.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/props/private/setter_factory.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/props/serializable.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/props/serializable.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/props/serializable.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/props/serializable.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/props/type_validation.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/props/type_validation.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/props/type_validation.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/props/type_validation.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/props/utils.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/props/utils.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/props/utils.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/props/utils.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/props/weak_constructor.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/props/weak_constructor.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/props/weak_constructor.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/props/weak_constructor.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/sig.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/sig.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/sig.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/sig.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/struct.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/struct.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/struct.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/struct.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/types/anything.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/types/anything.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/types/anything.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/types/anything.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/types/attached_class.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/types/attached_class.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/types/attached_class.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/types/attached_class.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/types/base.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/types/base.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/types/base.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/types/base.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/types/class_of.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/types/class_of.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/types/class_of.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/types/class_of.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/types/enum.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/types/enum.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/types/enum.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/types/enum.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/types/fixed_array.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/types/fixed_array.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/types/fixed_array.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/types/fixed_array.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/types/fixed_hash.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/types/fixed_hash.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/types/fixed_hash.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/types/fixed_hash.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/types/intersection.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/types/intersection.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/types/intersection.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/types/intersection.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/types/noreturn.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/types/noreturn.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/types/noreturn.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/types/noreturn.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/types/proc.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/types/proc.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/types/proc.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/types/proc.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/types/self_type.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/types/self_type.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/types/self_type.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/types/self_type.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/types/simple.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/types/simple.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/types/simple.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/types/simple.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/types/t_enum.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/types/t_enum.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/types/t_enum.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/types/t_enum.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/types/type_member.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/types/type_member.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/types/type_member.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/types/type_member.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/types/type_parameter.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/types/type_parameter.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/types/type_parameter.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/types/type_parameter.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/types/type_template.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/types/type_template.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/types/type_template.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/types/type_template.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/types/type_variable.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/types/type_variable.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/types/type_variable.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/types/type_variable.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/types/typed_array.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/types/typed_array.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/types/typed_array.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/types/typed_array.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/types/typed_class.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/types/typed_class.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/types/typed_class.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/types/typed_class.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/types/typed_enumerable.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/types/typed_enumerable.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/types/typed_enumerable.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/types/typed_enumerable.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/types/typed_enumerator.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/types/typed_enumerator.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/types/typed_enumerator.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/types/typed_enumerator.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/types/typed_enumerator_chain.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/types/typed_enumerator_chain.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/types/typed_enumerator_chain.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/types/typed_enumerator_chain.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/types/typed_enumerator_lazy.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/types/typed_enumerator_lazy.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/types/typed_enumerator_lazy.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/types/typed_enumerator_lazy.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/types/typed_hash.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/types/typed_hash.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/types/typed_hash.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/types/typed_hash.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/types/typed_range.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/types/typed_range.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/types/typed_range.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/types/typed_range.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/types/typed_set.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/types/typed_set.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/types/typed_set.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/types/typed_set.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/types/union.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/types/union.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/types/union.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/types/union.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/types/untyped.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/types/untyped.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/types/untyped.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/types/untyped.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/utils.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/utils.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11862/lib/types/utils.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/utils.rb From 40a75036f9de402a34f30a59d8df3950738e63de Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 27 Feb 2025 18:57:20 +0000 Subject: [PATCH 192/322] build(deps): bump setuptools in /Library/Homebrew/formula-analytics Bumps [setuptools](https://github.com/pypa/setuptools) from 75.8.1 to 75.8.2. - [Release notes](https://github.com/pypa/setuptools/releases) - [Changelog](https://github.com/pypa/setuptools/blob/main/NEWS.rst) - [Commits](https://github.com/pypa/setuptools/compare/v75.8.1...v75.8.2) --- updated-dependencies: - dependency-name: setuptools dependency-type: indirect update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- Library/Homebrew/formula-analytics/requirements.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Library/Homebrew/formula-analytics/requirements.txt b/Library/Homebrew/formula-analytics/requirements.txt index 4c21700d0c..66553f1a57 100644 --- a/Library/Homebrew/formula-analytics/requirements.txt +++ b/Library/Homebrew/formula-analytics/requirements.txt @@ -78,7 +78,7 @@ urllib3==2.3.0 \ # via influxdb3-python # The following packages are considered to be unsafe in a requirements file: -setuptools==75.8.1 \ - --hash=sha256:3bc32c0b84c643299ca94e77f834730f126efd621de0cc1de64119e0e17dab1f \ - --hash=sha256:65fb779a8f28895242923582eadca2337285f0891c2c9e160754df917c3d2530 +setuptools==75.8.2 \ + --hash=sha256:4880473a969e5f23f2a2be3646b2dfd84af9028716d398e46192f84bc36900d2 \ + --hash=sha256:558e47c15f1811c1fa7adbd0096669bf76c1d3f433f58324df69f3f5ecac4e8f # via influxdb3-python From a555c45e8abad2a85556b3c15dcefa442b7ced45 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 27 Feb 2025 18:57:30 +0000 Subject: [PATCH 193/322] build(deps): bump influxdb3-python Bumps [influxdb3-python](https://github.com/InfluxCommunity/influxdb3-python) from 0.10.0 to 0.11.0. - [Release notes](https://github.com/InfluxCommunity/influxdb3-python/releases) - [Changelog](https://github.com/InfluxCommunity/influxdb3-python/blob/main/CHANGELOG.md) - [Commits](https://github.com/InfluxCommunity/influxdb3-python/compare/v0.10.0...v0.11.0) --- updated-dependencies: - dependency-name: influxdb3-python dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- Library/Homebrew/formula-analytics/requirements.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Library/Homebrew/formula-analytics/requirements.txt b/Library/Homebrew/formula-analytics/requirements.txt index 4c21700d0c..9a18cca482 100644 --- a/Library/Homebrew/formula-analytics/requirements.txt +++ b/Library/Homebrew/formula-analytics/requirements.txt @@ -8,9 +8,9 @@ certifi==2025.1.31 \ --hash=sha256:3d5da6925056f6f18f119200434a4780a94263f10d1c21d032a6f6b2baa20651 \ --hash=sha256:ca78db4565a652026a4db2bcdf68f2fb589ea80d0be70e03929ed730746b84fe # via influxdb3-python -influxdb3-python==0.10.0 \ - --hash=sha256:d279e5f8a597d49b44035263b1cf1472a3861ceba930fd08e1e3b1721a07d3cf \ - --hash=sha256:f3d44dff4c4bbfdcb1fa1c4013ccfa317fbbd7df5812eb46395421166ffb385a +influxdb3-python==0.11.0 \ + --hash=sha256:07bea8e1150be9707f818cda9634600a42487ee14802208f3f0357af2847f6e3 \ + --hash=sha256:dd5a1197f776f9836935d797be2dbc9e09f75465188492409e0b5931e6a033c4 # via -r requirements.in pyarrow==19.0.1 \ --hash=sha256:008a4009efdb4ea3d2e18f05cd31f9d43c388aad29c636112c2966605ba33466 \ From 6b8b060e11c4a51027896691009daf39fbe1fe33 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 27 Feb 2025 16:36:48 +0000 Subject: [PATCH 194/322] build(deps-dev): bump rubocop from 1.72.2 to 1.73.1 in /Library/Homebrew Bumps [rubocop](https://github.com/rubocop/rubocop) from 1.72.2 to 1.73.1. - [Release notes](https://github.com/rubocop/rubocop/releases) - [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md) - [Commits](https://github.com/rubocop/rubocop/compare/v1.72.2...v1.73.1) --- updated-dependencies: - dependency-name: rubocop dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- Library/Homebrew/Gemfile.lock | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Library/Homebrew/Gemfile.lock b/Library/Homebrew/Gemfile.lock index 3143d7337f..5d5dcb4ffa 100644 --- a/Library/Homebrew/Gemfile.lock +++ b/Library/Homebrew/Gemfile.lock @@ -76,7 +76,7 @@ GEM rspec-support (3.13.2) rspec_junit_formatter (0.6.0) rspec-core (>= 2, < 4, != 2.12.0) - rubocop (1.72.2) + rubocop (1.73.1) json (~> 2.3) language_server-protocol (~> 3.17.0.2) lint_roller (~> 1.1.0) @@ -155,7 +155,6 @@ GEM PLATFORMS aarch64-linux - arm-linux arm64-darwin x86_64-darwin x86_64-linux From 026c029b51874f370096989c07f4dc9634762f0e Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Thu, 27 Feb 2025 16:38:39 +0000 Subject: [PATCH 195/322] brew vendor-gems: commit updates. --- Library/Homebrew/Gemfile.lock | 1 + Library/Homebrew/vendor/bundle/bundler/setup.rb | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Library/Homebrew/Gemfile.lock b/Library/Homebrew/Gemfile.lock index 5d5dcb4ffa..5752fe85d1 100644 --- a/Library/Homebrew/Gemfile.lock +++ b/Library/Homebrew/Gemfile.lock @@ -155,6 +155,7 @@ GEM PLATFORMS aarch64-linux + arm-linux arm64-darwin x86_64-darwin x86_64-linux diff --git a/Library/Homebrew/vendor/bundle/bundler/setup.rb b/Library/Homebrew/vendor/bundle/bundler/setup.rb index e8c2953dc3..e47d462ba4 100644 --- a/Library/Homebrew/vendor/bundle/bundler/setup.rb +++ b/Library/Homebrew/vendor/bundle/bundler/setup.rb @@ -94,7 +94,7 @@ $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/ruby-progressbar-1.13.0/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/unicode-emoji-4.0.4/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/unicode-display_width-3.1.4/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rubocop-1.72.2/lib") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rubocop-1.73.1/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rubocop-md-1.2.4/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rubocop-performance-1.23.1/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rubocop-rspec-3.4.0/lib") From fe76a5155bdd5e39a0fb306d4e2ffb27f5aae0b6 Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Thu, 27 Feb 2025 16:39:05 +0000 Subject: [PATCH 196/322] Update RBI files for rubocop. Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow. --- ...{rubocop@1.72.2.rbi => rubocop@1.73.1.rbi} | 992 +++++++++++------- 1 file changed, 638 insertions(+), 354 deletions(-) rename Library/Homebrew/sorbet/rbi/gems/{rubocop@1.72.2.rbi => rubocop@1.73.1.rbi} (99%) diff --git a/Library/Homebrew/sorbet/rbi/gems/rubocop@1.72.2.rbi b/Library/Homebrew/sorbet/rbi/gems/rubocop@1.73.1.rbi similarity index 99% rename from Library/Homebrew/sorbet/rbi/gems/rubocop@1.72.2.rbi rename to Library/Homebrew/sorbet/rbi/gems/rubocop@1.73.1.rbi index 71aef782b0..58a7aaa7ae 100644 --- a/Library/Homebrew/sorbet/rbi/gems/rubocop@1.72.2.rbi +++ b/Library/Homebrew/sorbet/rbi/gems/rubocop@1.73.1.rbi @@ -840,7 +840,7 @@ class RuboCop::CommentConfig # source://rubocop//lib/rubocop/comment_config.rb#63 def comment_only_line?(line_number); end - # source://rubocop-ast/1.38.0/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast/1.38.1/lib/rubocop/ast/utilities/simple_forwardable.rb#19 def config(*_arg0, **_arg1, &_arg2); end # source://rubocop//lib/rubocop/comment_config.rb#51 @@ -864,7 +864,7 @@ class RuboCop::CommentConfig # source://rubocop//lib/rubocop/comment_config.rb#30 def processed_source; end - # source://rubocop-ast/1.38.0/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast/1.38.1/lib/rubocop/ast/utilities/simple_forwardable.rb#19 def registry(*_arg0, **_arg1, &_arg2); end private @@ -1040,10 +1040,10 @@ class RuboCop::Config # source://rubocop//lib/rubocop/config.rb#31 def initialize(hash = T.unsafe(nil), loaded_path = T.unsafe(nil)); end - # source://rubocop-ast/1.38.0/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast/1.38.1/lib/rubocop/ast/utilities/simple_forwardable.rb#19 def [](*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/1.38.0/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast/1.38.1/lib/rubocop/ast/utilities/simple_forwardable.rb#19 def []=(*_arg0, **_arg1, &_arg2); end # @return [Boolean] @@ -1087,13 +1087,13 @@ class RuboCop::Config # source://rubocop//lib/rubocop/config.rb#171 def cop_enabled?(name); end - # source://rubocop-ast/1.38.0/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast/1.38.1/lib/rubocop/ast/utilities/simple_forwardable.rb#19 def delete(*_arg0, **_arg1, &_arg2); end # source://rubocop//lib/rubocop/config.rb#110 def deprecation_check; end - # source://rubocop-ast/1.38.0/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast/1.38.1/lib/rubocop/ast/utilities/simple_forwardable.rb#19 def dig(*_arg0, **_arg1, &_arg2); end # @return [Boolean] @@ -1101,10 +1101,10 @@ class RuboCop::Config # source://rubocop//lib/rubocop/config.rb#175 def disabled_new_cops?; end - # source://rubocop-ast/1.38.0/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast/1.38.1/lib/rubocop/ast/utilities/simple_forwardable.rb#19 def each(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/1.38.0/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast/1.38.1/lib/rubocop/ast/utilities/simple_forwardable.rb#19 def each_key(*_arg0, **_arg1, &_arg2); end # @return [Boolean] @@ -1112,7 +1112,7 @@ class RuboCop::Config # source://rubocop//lib/rubocop/config.rb#179 def enabled_new_cops?; end - # source://rubocop-ast/1.38.0/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast/1.38.1/lib/rubocop/ast/utilities/simple_forwardable.rb#19 def fetch(*_arg0, **_arg1, &_arg2); end # @return [Boolean] @@ -1174,10 +1174,10 @@ class RuboCop::Config # source://rubocop//lib/rubocop/config.rb#81 def internal?; end - # source://rubocop-ast/1.38.0/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast/1.38.1/lib/rubocop/ast/utilities/simple_forwardable.rb#19 def key?(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/1.38.0/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast/1.38.1/lib/rubocop/ast/utilities/simple_forwardable.rb#19 def keys(*_arg0, **_arg1, &_arg2); end # source://rubocop//lib/rubocop/config.rb#52 @@ -1194,10 +1194,10 @@ class RuboCop::Config # source://rubocop//lib/rubocop/config.rb#86 def make_excludes_absolute; end - # source://rubocop-ast/1.38.0/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast/1.38.1/lib/rubocop/ast/utilities/simple_forwardable.rb#19 def map(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/1.38.0/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast/1.38.1/lib/rubocop/ast/utilities/simple_forwardable.rb#19 def merge(*_arg0, **_arg1, &_arg2); end # source://rubocop//lib/rubocop/config.rb#264 @@ -1223,7 +1223,7 @@ class RuboCop::Config # source://rubocop//lib/rubocop/config.rb#224 def possibly_include_hidden?; end - # source://rubocop-ast/1.38.0/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast/1.38.1/lib/rubocop/ast/utilities/simple_forwardable.rb#19 def replace(*_arg0, **_arg1, &_arg2); end # source://rubocop//lib/rubocop/config.rb#76 @@ -1240,22 +1240,22 @@ class RuboCop::Config # source://rubocop//lib/rubocop/config.rb#268 def target_rails_version; end - # source://rubocop-ast/1.38.0/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast/1.38.1/lib/rubocop/ast/utilities/simple_forwardable.rb#19 def target_ruby_version(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/1.38.0/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast/1.38.1/lib/rubocop/ast/utilities/simple_forwardable.rb#19 def to_h(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/1.38.0/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast/1.38.1/lib/rubocop/ast/utilities/simple_forwardable.rb#19 def to_hash(*_arg0, **_arg1, &_arg2); end # source://rubocop//lib/rubocop/config.rb#72 def to_s; end - # source://rubocop-ast/1.38.0/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast/1.38.1/lib/rubocop/ast/utilities/simple_forwardable.rb#19 def transform_values(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/1.38.0/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast/1.38.1/lib/rubocop/ast/utilities/simple_forwardable.rb#19 def validate(*_arg0, **_arg1, &_arg2); end # source://rubocop//lib/rubocop/config.rb#63 @@ -2377,10 +2377,10 @@ class RuboCop::ConfigValidator # source://rubocop//lib/rubocop/config_validator.rb#28 def initialize(config); end - # source://rubocop-ast/1.38.0/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast/1.38.1/lib/rubocop/ast/utilities/simple_forwardable.rb#19 def for_all_cops(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/1.38.0/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast/1.38.1/lib/rubocop/ast/utilities/simple_forwardable.rb#19 def smart_loaded_path(*_arg0, **_arg1, &_arg2); end # source://rubocop//lib/rubocop/config_validator.rb#65 @@ -7066,16 +7066,16 @@ module RuboCop::Cop::HashSubset private - # source://rubocop//lib/rubocop/cop/mixin/hash_subset.rb#166 + # source://rubocop//lib/rubocop/cop/mixin/hash_subset.rb#181 def decorate_source(value); end - # source://rubocop//lib/rubocop/cop/mixin/hash_subset.rb#174 + # source://rubocop//lib/rubocop/cop/mixin/hash_subset.rb#189 def except_key(node); end - # source://rubocop//lib/rubocop/cop/mixin/hash_subset.rb#153 + # source://rubocop//lib/rubocop/cop/mixin/hash_subset.rb#168 def except_key_source(key); end - # source://rubocop//lib/rubocop/cop/mixin/hash_subset.rb#145 + # source://rubocop//lib/rubocop/cop/mixin/hash_subset.rb#160 def extract_body_if_negated(body); end # source://rubocop//lib/rubocop/cop/mixin/hash_subset.rb#59 @@ -7088,15 +7088,15 @@ module RuboCop::Cop::HashSubset # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/mixin/hash_subset.rb#123 + # source://rubocop//lib/rubocop/cop/mixin/hash_subset.rb#138 def included?(body, negated); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/mixin/hash_subset.rb#131 + # source://rubocop//lib/rubocop/cop/mixin/hash_subset.rb#146 def not_included?(body, negated); end - # source://rubocop//lib/rubocop/cop/mixin/hash_subset.rb#182 + # source://rubocop//lib/rubocop/cop/mixin/hash_subset.rb#197 def offense_range(node); end # @raise [NotImplementedError] @@ -7106,22 +7106,22 @@ module RuboCop::Cop::HashSubset # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/mixin/hash_subset.rb#88 + # source://rubocop//lib/rubocop/cop/mixin/hash_subset.rb#95 def range_include?(send_node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/mixin/hash_subset.rb#135 + # source://rubocop//lib/rubocop/cop/mixin/hash_subset.rb#150 def safe_to_register_offense?(block, except_key); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/mixin/hash_subset.rb#108 + # source://rubocop//lib/rubocop/cop/mixin/hash_subset.rb#123 def semantically_except_method?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/mixin/hash_subset.rb#119 + # source://rubocop//lib/rubocop/cop/mixin/hash_subset.rb#134 def semantically_slice_method?(node); end # @raise [NotImplementedError] @@ -7132,8 +7132,18 @@ module RuboCop::Cop::HashSubset # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/mixin/hash_subset.rb#100 + # source://rubocop//lib/rubocop/cop/mixin/hash_subset.rb#88 + def slices_key?(send_node, method, key_arg, value_arg); end + + # @return [Boolean] + # + # source://rubocop//lib/rubocop/cop/mixin/hash_subset.rb#115 def supported_subset_method?(method); end + + # @return [Boolean] + # + # source://rubocop//lib/rubocop/cop/mixin/hash_subset.rb#107 + def using_value_variable?(send_node, value_arg); end end # source://rubocop//lib/rubocop/cop/mixin/hash_subset.rb#16 @@ -9836,17 +9846,17 @@ class RuboCop::Cop::Layout::EmptyLinesAroundAccessModifier < ::RuboCop::Cop::Bas # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/layout/empty_lines_around_access_modifier.rb#164 + # source://rubocop//lib/rubocop/cop/layout/empty_lines_around_access_modifier.rb#166 def block_start?(line); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/layout/empty_lines_around_access_modifier.rb#170 + # source://rubocop//lib/rubocop/cop/layout/empty_lines_around_access_modifier.rb#172 def body_end?(line); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/layout/empty_lines_around_access_modifier.rb#158 + # source://rubocop//lib/rubocop/cop/layout/empty_lines_around_access_modifier.rb#160 def class_def?(line); end # source://rubocop//lib/rubocop/cop/layout/empty_lines_around_access_modifier.rb#124 @@ -9854,7 +9864,7 @@ class RuboCop::Cop::Layout::EmptyLinesAroundAccessModifier < ::RuboCop::Cop::Bas # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/layout/empty_lines_around_access_modifier.rb#154 + # source://rubocop//lib/rubocop/cop/layout/empty_lines_around_access_modifier.rb#156 def empty_lines_around?(node); end # @return [Boolean] @@ -9862,30 +9872,50 @@ class RuboCop::Cop::Layout::EmptyLinesAroundAccessModifier < ::RuboCop::Cop::Bas # source://rubocop//lib/rubocop/cop/layout/empty_lines_around_access_modifier.rb#104 def expected_empty_lines?(node); end - # source://rubocop//lib/rubocop/cop/layout/empty_lines_around_access_modifier.rb#180 + # @return [Boolean] + # + # source://rubocop//lib/rubocop/cop/layout/empty_lines_around_access_modifier.rb#225 + def inside_block?(node); end + + # source://rubocop//lib/rubocop/cop/layout/empty_lines_around_access_modifier.rb#182 def message(node); end - # source://rubocop//lib/rubocop/cop/layout/empty_lines_around_access_modifier.rb#189 + # source://rubocop//lib/rubocop/cop/layout/empty_lines_around_access_modifier.rb#191 def message_for_around_style(node); end - # source://rubocop//lib/rubocop/cop/layout/empty_lines_around_access_modifier.rb#199 + # source://rubocop//lib/rubocop/cop/layout/empty_lines_around_access_modifier.rb#201 def message_for_only_before_style(node); end - # source://rubocop//lib/rubocop/cop/layout/empty_lines_around_access_modifier.rb#176 + # source://rubocop//lib/rubocop/cop/layout/empty_lines_around_access_modifier.rb#178 def next_empty_line_range(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/layout/empty_lines_around_access_modifier.rb#148 + # source://rubocop//lib/rubocop/cop/layout/empty_lines_around_access_modifier.rb#150 def next_line_empty?(last_send_line); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/layout/empty_lines_around_access_modifier.rb#141 + # source://rubocop//lib/rubocop/cop/layout/empty_lines_around_access_modifier.rb#229 + def no_empty_lines_around_block_body?; end + + # @return [Boolean] + # + # source://rubocop//lib/rubocop/cop/layout/empty_lines_around_access_modifier.rb#143 def previous_line_empty?(send_line); end - # source://rubocop//lib/rubocop/cop/layout/empty_lines_around_access_modifier.rb#137 + # source://rubocop//lib/rubocop/cop/layout/empty_lines_around_access_modifier.rb#139 def previous_line_ignoring_comments(processed_source, send_line); end + + # @return [Boolean] + # + # source://rubocop//lib/rubocop/cop/layout/empty_lines_around_access_modifier.rb#219 + def should_insert_line_after?(node); end + + # @return [Boolean] + # + # source://rubocop//lib/rubocop/cop/layout/empty_lines_around_access_modifier.rb#211 + def should_insert_line_before?(node); end end # source://rubocop//lib/rubocop/cop/layout/empty_lines_around_access_modifier.rb#48 @@ -18988,71 +19018,66 @@ class RuboCop::Cop::Lint::DuplicateMethods < ::RuboCop::Cop::Base # source://rubocop//lib/rubocop/cop/lint/duplicate_methods.rb#47 def initialize(config = T.unsafe(nil), options = T.unsafe(nil)); end - # source://rubocop//lib/rubocop/cop/lint/duplicate_methods.rb#88 + # source://rubocop//lib/rubocop/cop/lint/duplicate_methods.rb#85 def alias_method?(param0 = T.unsafe(nil)); end - # source://rubocop//lib/rubocop/cop/lint/duplicate_methods.rb#75 + # source://rubocop//lib/rubocop/cop/lint/duplicate_methods.rb#73 def method_alias?(param0 = T.unsafe(nil)); end - # source://rubocop//lib/rubocop/cop/lint/duplicate_methods.rb#79 + # source://rubocop//lib/rubocop/cop/lint/duplicate_methods.rb#77 def on_alias(node); end # source://rubocop//lib/rubocop/cop/lint/duplicate_methods.rb#53 def on_def(node); end - # source://rubocop//lib/rubocop/cop/lint/duplicate_methods.rb#62 + # source://rubocop//lib/rubocop/cop/lint/duplicate_methods.rb#61 def on_defs(node); end - # source://rubocop//lib/rubocop/cop/lint/duplicate_methods.rb#94 + # source://rubocop//lib/rubocop/cop/lint/duplicate_methods.rb#91 def on_send(node); end - # source://rubocop//lib/rubocop/cop/lint/duplicate_methods.rb#93 + # source://rubocop//lib/rubocop/cop/lint/duplicate_methods.rb#90 def sym_name(param0 = T.unsafe(nil)); end private - # source://rubocop//lib/rubocop/cop/lint/duplicate_methods.rb#107 + # source://rubocop//lib/rubocop/cop/lint/duplicate_methods.rb#103 def check_const_receiver(node, name, const_name); end - # source://rubocop//lib/rubocop/cop/lint/duplicate_methods.rb#114 + # source://rubocop//lib/rubocop/cop/lint/duplicate_methods.rb#110 def check_self_receiver(node, name); end - # source://rubocop//lib/rubocop/cop/lint/duplicate_methods.rb#198 + # source://rubocop//lib/rubocop/cop/lint/duplicate_methods.rb#194 def found_attr(node, args, readable: T.unsafe(nil), writable: T.unsafe(nil)); end - # source://rubocop//lib/rubocop/cop/lint/duplicate_methods.rb#126 + # source://rubocop//lib/rubocop/cop/lint/duplicate_methods.rb#122 def found_instance_method(node, name); end - # source://rubocop//lib/rubocop/cop/lint/duplicate_methods.rb#149 + # source://rubocop//lib/rubocop/cop/lint/duplicate_methods.rb#145 def found_method(node, method_name); end - # source://rubocop//lib/rubocop/cop/lint/duplicate_methods.rb#139 + # source://rubocop//lib/rubocop/cop/lint/duplicate_methods.rb#135 def found_sclass_method(node, name); end - # source://rubocop//lib/rubocop/cop/lint/duplicate_methods.rb#176 + # source://rubocop//lib/rubocop/cop/lint/duplicate_methods.rb#172 def location(node); end - # source://rubocop//lib/rubocop/cop/lint/duplicate_methods.rb#208 + # source://rubocop//lib/rubocop/cop/lint/duplicate_methods.rb#204 def lookup_constant(node, const_name); end - # source://rubocop//lib/rubocop/cop/lint/duplicate_methods.rb#121 + # source://rubocop//lib/rubocop/cop/lint/duplicate_methods.rb#117 def message_for_dup(node, method_name, key); end - # source://rubocop//lib/rubocop/cop/lint/duplicate_methods.rb#168 + # source://rubocop//lib/rubocop/cop/lint/duplicate_methods.rb#164 def method_key(node, method_name); end - # source://rubocop//lib/rubocop/cop/lint/duplicate_methods.rb#184 + # source://rubocop//lib/rubocop/cop/lint/duplicate_methods.rb#180 def on_attr(node, attr_name, args); end - # @return [Boolean] - # - # source://rubocop//lib/rubocop/cop/lint/duplicate_methods.rb#240 - def possible_dsl?(node); end - - # source://rubocop//lib/rubocop/cop/lint/duplicate_methods.rb#226 + # source://rubocop//lib/rubocop/cop/lint/duplicate_methods.rb#222 def qualified_name(enclosing, namespace, mod_name); end - # source://rubocop//lib/rubocop/cop/lint/duplicate_methods.rb#250 + # source://rubocop//lib/rubocop/cop/lint/duplicate_methods.rb#236 def source_location(node); end end @@ -19583,55 +19608,60 @@ class RuboCop::Cop::Lint::EmptyConditionalBody < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop//lib/rubocop/cop/lint/empty_conditional_body.rb#71 + # source://rubocop//lib/rubocop/cop/lint/empty_conditional_body.rb#70 def on_if(node); end private # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/lint/empty_conditional_body.rb#177 + # source://rubocop//lib/rubocop/cop/lint/empty_conditional_body.rb#182 def all_branches_body_missing?(node); end - # source://rubocop//lib/rubocop/cop/lint/empty_conditional_body.rb#95 + # source://rubocop//lib/rubocop/cop/lint/empty_conditional_body.rb#100 def autocorrect(corrector, node); end - # source://rubocop//lib/rubocop/cop/lint/empty_conditional_body.rb#163 + # source://rubocop//lib/rubocop/cop/lint/empty_conditional_body.rb#168 def branch_range(node); end - # source://rubocop//lib/rubocop/cop/lint/empty_conditional_body.rb#125 + # source://rubocop//lib/rubocop/cop/lint/empty_conditional_body.rb#130 def correct_other_branches(corrector, node); end - # source://rubocop//lib/rubocop/cop/lint/empty_conditional_body.rb#183 + # source://rubocop//lib/rubocop/cop/lint/empty_conditional_body.rb#188 def deletion_range(range); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/lint/empty_conditional_body.rb#158 + # source://rubocop//lib/rubocop/cop/lint/empty_conditional_body.rb#83 + def do_autocorrect?(node); end + + # @return [Boolean] + # + # source://rubocop//lib/rubocop/cop/lint/empty_conditional_body.rb#163 def else_branch?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/lint/empty_conditional_body.rb#152 + # source://rubocop//lib/rubocop/cop/lint/empty_conditional_body.rb#157 def empty_elsif_branch?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/lint/empty_conditional_body.rb#144 + # source://rubocop//lib/rubocop/cop/lint/empty_conditional_body.rb#149 def empty_if_branch?(node); end - # source://rubocop//lib/rubocop/cop/lint/empty_conditional_body.rb#87 + # source://rubocop//lib/rubocop/cop/lint/empty_conditional_body.rb#92 def offense_range(node); end - # source://rubocop//lib/rubocop/cop/lint/empty_conditional_body.rb#101 + # source://rubocop//lib/rubocop/cop/lint/empty_conditional_body.rb#106 def remove_comments(corrector, node); end - # source://rubocop//lib/rubocop/cop/lint/empty_conditional_body.rb#109 + # source://rubocop//lib/rubocop/cop/lint/empty_conditional_body.rb#114 def remove_empty_branch(corrector, node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/lint/empty_conditional_body.rb#137 + # source://rubocop//lib/rubocop/cop/lint/empty_conditional_body.rb#142 def require_other_branches_correction?(node); end end @@ -20095,10 +20125,10 @@ class RuboCop::Cop::Lint::FloatComparison < ::RuboCop::Cop::Base private - # source://rubocop//lib/rubocop/cop/lint/float_comparison.rb#100 + # source://rubocop//lib/rubocop/cop/lint/float_comparison.rb#95 def check_numeric_returning_method(node); end - # source://rubocop//lib/rubocop/cop/lint/float_comparison.rb#85 + # source://rubocop//lib/rubocop/cop/lint/float_comparison.rb#84 def check_send(node); end # @return [Boolean] @@ -20891,12 +20921,15 @@ RuboCop::Cop::Lint::LambdaWithoutLiteralBlock::RESTRICT_ON_SEND = T.let(T.unsafe # end # # # bad -# if some_var && true +# # We're only interested in the left hand side being a truthy literal, +# # because it affects the evaluation of the &&, whereas the right hand +# # side will be conditionally executed/called and can be a literal. +# if true && some_var # do_something # end # # # good -# if some_var && some_condition +# if some_var # do_something # end # @@ -20906,72 +20939,79 @@ RuboCop::Cop::Lint::LambdaWithoutLiteralBlock::RESTRICT_ON_SEND = T.let(T.unsafe # break if condition # end # -# source://rubocop//lib/rubocop/cop/lint/literal_as_condition.rb#35 +# source://rubocop//lib/rubocop/cop/lint/literal_as_condition.rb#38 class RuboCop::Cop::Lint::LiteralAsCondition < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp + extend ::RuboCop::Cop::AutoCorrector - # source://rubocop//lib/rubocop/cop/lint/literal_as_condition.rb#94 + # source://rubocop//lib/rubocop/cop/lint/literal_as_condition.rb#160 def message(node); end - # source://rubocop//lib/rubocop/cop/lint/literal_as_condition.rb#59 + # source://rubocop//lib/rubocop/cop/lint/literal_as_condition.rb#45 + def on_and(node); end + + # source://rubocop//lib/rubocop/cop/lint/literal_as_condition.rb#125 def on_case(case_node); end - # source://rubocop//lib/rubocop/cop/lint/literal_as_condition.rb#74 + # source://rubocop//lib/rubocop/cop/lint/literal_as_condition.rb#140 def on_case_match(case_match_node); end - # source://rubocop//lib/rubocop/cop/lint/literal_as_condition.rb#41 + # source://rubocop//lib/rubocop/cop/lint/literal_as_condition.rb#53 def on_if(node); end - # source://rubocop//lib/rubocop/cop/lint/literal_as_condition.rb#88 + # source://rubocop//lib/rubocop/cop/lint/literal_as_condition.rb#154 def on_send(node); end - # source://rubocop//lib/rubocop/cop/lint/literal_as_condition.rb#52 + # source://rubocop//lib/rubocop/cop/lint/literal_as_condition.rb#95 def on_until(node); end - # source://rubocop//lib/rubocop/cop/lint/literal_as_condition.rb#52 + # source://rubocop//lib/rubocop/cop/lint/literal_as_condition.rb#110 def on_until_post(node); end - # source://rubocop//lib/rubocop/cop/lint/literal_as_condition.rb#45 + # source://rubocop//lib/rubocop/cop/lint/literal_as_condition.rb#65 def on_while(node); end - # source://rubocop//lib/rubocop/cop/lint/literal_as_condition.rb#45 + # source://rubocop//lib/rubocop/cop/lint/literal_as_condition.rb#80 def on_while_post(node); end private # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/lint/literal_as_condition.rb#109 + # source://rubocop//lib/rubocop/cop/lint/literal_as_condition.rb#175 def basic_literal?(node); end - # source://rubocop//lib/rubocop/cop/lint/literal_as_condition.rb#139 + # source://rubocop//lib/rubocop/cop/lint/literal_as_condition.rb#207 def check_case(case_node); end - # source://rubocop//lib/rubocop/cop/lint/literal_as_condition.rb#100 + # source://rubocop//lib/rubocop/cop/lint/literal_as_condition.rb#166 def check_for_literal(node); end - # source://rubocop//lib/rubocop/cop/lint/literal_as_condition.rb#121 + # source://rubocop//lib/rubocop/cop/lint/literal_as_condition.rb#187 def check_node(node); end - # source://rubocop//lib/rubocop/cop/lint/literal_as_condition.rb#148 + # source://rubocop//lib/rubocop/cop/lint/literal_as_condition.rb#216 def condition(node); end - # source://rubocop//lib/rubocop/cop/lint/literal_as_condition.rb#131 + # source://rubocop//lib/rubocop/cop/lint/literal_as_condition.rb#232 + def correct_if_node(node, cond, result); end + + # source://rubocop//lib/rubocop/cop/lint/literal_as_condition.rb#197 def handle_node(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/lint/literal_as_condition.rb#117 + # source://rubocop//lib/rubocop/cop/lint/literal_as_condition.rb#183 def primitive_array?(node); end - # source://rubocop//lib/rubocop/cop/lint/literal_as_condition.rb#156 + # source://rubocop//lib/rubocop/cop/lint/literal_as_condition.rb#224 def when_conditions_range(when_node); end end -# source://rubocop//lib/rubocop/cop/lint/literal_as_condition.rb#38 +# source://rubocop//lib/rubocop/cop/lint/literal_as_condition.rb#42 RuboCop::Cop::Lint::LiteralAsCondition::MSG = T.let(T.unsafe(nil), String) -# source://rubocop//lib/rubocop/cop/lint/literal_as_condition.rb#39 +# source://rubocop//lib/rubocop/cop/lint/literal_as_condition.rb#43 RuboCop::Cop::Lint::LiteralAsCondition::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Checks for literal assignments in the conditions of `if`, `while`, and `until`. @@ -23106,7 +23146,6 @@ RuboCop::Cop::Lint::RedundantRegexpQuantifiers::MSG_REDUNDANT_QUANTIFIER = T.let # * 2.0+ ... `enumerator` # * 2.1+ ... `thread` # * 2.2+ ... Add `rational` and `complex` above -# * 2.5+ ... Add `pp` above # * 2.7+ ... Add `ruby2_keywords` above # * 3.1+ ... Add `fiber` above # * 3.2+ ... `set` @@ -23121,43 +23160,32 @@ RuboCop::Cop::Lint::RedundantRegexpQuantifiers::MSG_REDUNDANT_QUANTIFIER = T.let # # good # require 'unloaded_feature' # -# source://rubocop//lib/rubocop/cop/lint/redundant_require_statement.rb#38 +# source://rubocop//lib/rubocop/cop/lint/redundant_require_statement.rb#33 class RuboCop::Cop::Lint::RedundantRequireStatement < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop//lib/rubocop/cop/lint/redundant_require_statement.rb#61 + # source://rubocop//lib/rubocop/cop/lint/redundant_require_statement.rb#47 def on_send(node); end - # source://rubocop//lib/rubocop/cop/lint/redundant_require_statement.rb#57 - def pp_const?(param0 = T.unsafe(nil)); end - - # source://rubocop//lib/rubocop/cop/lint/redundant_require_statement.rb#51 + # source://rubocop//lib/rubocop/cop/lint/redundant_require_statement.rb#42 def redundant_require_statement?(param0 = T.unsafe(nil)); end private # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/lint/redundant_require_statement.rb#91 - def need_to_require_pp?; end - - # @return [Boolean] - # - # source://rubocop//lib/rubocop/cop/lint/redundant_require_statement.rb#80 + # source://rubocop//lib/rubocop/cop/lint/redundant_require_statement.rb#66 def redundant_feature?(feature_name); end end -# source://rubocop//lib/rubocop/cop/lint/redundant_require_statement.rb#42 +# source://rubocop//lib/rubocop/cop/lint/redundant_require_statement.rb#37 RuboCop::Cop::Lint::RedundantRequireStatement::MSG = T.let(T.unsafe(nil), String) -# source://rubocop//lib/rubocop/cop/lint/redundant_require_statement.rb#45 -RuboCop::Cop::Lint::RedundantRequireStatement::PRETTY_PRINT_METHODS = T.let(T.unsafe(nil), Array) - -# source://rubocop//lib/rubocop/cop/lint/redundant_require_statement.rb#43 +# source://rubocop//lib/rubocop/cop/lint/redundant_require_statement.rb#38 RuboCop::Cop::Lint::RedundantRequireStatement::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) -# source://rubocop//lib/rubocop/cop/lint/redundant_require_statement.rb#44 +# source://rubocop//lib/rubocop/cop/lint/redundant_require_statement.rb#39 RuboCop::Cop::Lint::RedundantRequireStatement::RUBY_22_LOADED_FEATURES = T.let(T.unsafe(nil), Array) # Checks for redundant safe navigation calls. @@ -23508,7 +23536,7 @@ RuboCop::Cop::Lint::RedundantStringCoercion::RESTRICT_ON_SEND = T.let(T.unsafe(n # 1i.to_c # [].to_a # {}.to_h -# Set.new.to_s +# Set.new.to_set # # # good # "text" @@ -23521,6 +23549,16 @@ RuboCop::Cop::Lint::RedundantStringCoercion::RESTRICT_ON_SEND = T.let(T.unsafe(n # {} # Set.new # +# # bad +# Integer(var).to_i +# +# # good +# Integer(var) +# +# # good - chaining to a type constructor with exceptions suppressed +# # in this case, `Integer()` could return `nil` +# Integer(var, exception: false).to_i +# # # bad - chaining the same conversion # foo.to_s.to_s # @@ -23533,98 +23571,106 @@ RuboCop::Cop::Lint::RedundantStringCoercion::RESTRICT_ON_SEND = T.let(T.unsafe(n # # good # inspect # -# source://rubocop//lib/rubocop/cop/lint/redundant_type_conversion.rb#67 +# source://rubocop//lib/rubocop/cop/lint/redundant_type_conversion.rb#77 class RuboCop::Cop::Lint::RedundantTypeConversion < ::RuboCop::Cop::Base extend ::RuboCop::Cop::AutoCorrector - # source://rubocop//lib/rubocop/cop/lint/redundant_type_conversion.rb#141 + # source://rubocop//lib/rubocop/cop/lint/redundant_type_conversion.rb#151 def array_constructor?(param0 = T.unsafe(nil)); end - # source://rubocop//lib/rubocop/cop/lint/redundant_type_conversion.rb#136 + # source://rubocop//lib/rubocop/cop/lint/redundant_type_conversion.rb#146 def complex_constructor?(param0 = T.unsafe(nil)); end - # source://rubocop//lib/rubocop/cop/lint/redundant_type_conversion.rb#126 + # source://rubocop//lib/rubocop/cop/lint/redundant_type_conversion.rb#175 + def exception_false_keyword_argument?(param0 = T.unsafe(nil)); end + + # source://rubocop//lib/rubocop/cop/lint/redundant_type_conversion.rb#136 def float_constructor?(param0 = T.unsafe(nil)); end - # source://rubocop//lib/rubocop/cop/lint/redundant_type_conversion.rb#149 + # source://rubocop//lib/rubocop/cop/lint/redundant_type_conversion.rb#159 def hash_constructor?(param0 = T.unsafe(nil)); end - # source://rubocop//lib/rubocop/cop/lint/redundant_type_conversion.rb#121 + # source://rubocop//lib/rubocop/cop/lint/redundant_type_conversion.rb#131 def integer_constructor?(param0 = T.unsafe(nil)); end - # source://rubocop//lib/rubocop/cop/lint/redundant_type_conversion.rb#165 + # source://rubocop//lib/rubocop/cop/lint/redundant_type_conversion.rb#180 def on_csend(node); end - # source://rubocop//lib/rubocop/cop/lint/redundant_type_conversion.rb#165 + # source://rubocop//lib/rubocop/cop/lint/redundant_type_conversion.rb#180 def on_send(node); end - # source://rubocop//lib/rubocop/cop/lint/redundant_type_conversion.rb#131 + # source://rubocop//lib/rubocop/cop/lint/redundant_type_conversion.rb#141 def rational_constructor?(param0 = T.unsafe(nil)); end - # source://rubocop//lib/rubocop/cop/lint/redundant_type_conversion.rb#158 + # source://rubocop//lib/rubocop/cop/lint/redundant_type_conversion.rb#168 def set_constructor?(param0 = T.unsafe(nil)); end - # source://rubocop//lib/rubocop/cop/lint/redundant_type_conversion.rb#113 + # source://rubocop//lib/rubocop/cop/lint/redundant_type_conversion.rb#123 def string_constructor?(param0 = T.unsafe(nil)); end - # source://rubocop//lib/rubocop/cop/lint/redundant_type_conversion.rb#108 + # source://rubocop//lib/rubocop/cop/lint/redundant_type_conversion.rb#118 def type_constructor?(param0 = T.unsafe(nil), param1); end private # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/lint/redundant_type_conversion.rb#217 + # source://rubocop//lib/rubocop/cop/lint/redundant_type_conversion.rb#238 def chained_conversion?(node, receiver); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/lint/redundant_type_conversion.rb#223 + # source://rubocop//lib/rubocop/cop/lint/redundant_type_conversion.rb#244 def chained_to_typed_method?(node, receiver); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/lint/redundant_type_conversion.rb#210 + # source://rubocop//lib/rubocop/cop/lint/redundant_type_conversion.rb#225 def constructor?(node, receiver); end - # source://rubocop//lib/rubocop/cop/lint/redundant_type_conversion.rb#191 + # @return [Boolean] + # + # source://rubocop//lib/rubocop/cop/lint/redundant_type_conversion.rb#232 + def constructor_suppresses_exceptions?(receiver); end + + # source://rubocop//lib/rubocop/cop/lint/redundant_type_conversion.rb#206 def find_receiver(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/lint/redundant_type_conversion.rb#185 + # source://rubocop//lib/rubocop/cop/lint/redundant_type_conversion.rb#200 def hash_or_set_with_block?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/lint/redundant_type_conversion.rb#204 + # source://rubocop//lib/rubocop/cop/lint/redundant_type_conversion.rb#219 def literal_receiver?(node, receiver); end end # Maps each conversion method to the pattern matcher for that type's constructors # Not every type has a constructor, for instance Symbol. # -# source://rubocop//lib/rubocop/cop/lint/redundant_type_conversion.rb#87 +# source://rubocop//lib/rubocop/cop/lint/redundant_type_conversion.rb#97 RuboCop::Cop::Lint::RedundantTypeConversion::CONSTRUCTOR_MAPPING = T.let(T.unsafe(nil), Hash) -# source://rubocop//lib/rubocop/cop/lint/redundant_type_conversion.rb#102 +# source://rubocop//lib/rubocop/cop/lint/redundant_type_conversion.rb#112 RuboCop::Cop::Lint::RedundantTypeConversion::CONVERSION_METHODS = T.let(T.unsafe(nil), Set) # Maps conversion methods to the node types for the literals of that type # -# source://rubocop//lib/rubocop/cop/lint/redundant_type_conversion.rb#73 +# source://rubocop//lib/rubocop/cop/lint/redundant_type_conversion.rb#83 RuboCop::Cop::Lint::RedundantTypeConversion::LITERAL_NODE_TYPES = T.let(T.unsafe(nil), Hash) -# source://rubocop//lib/rubocop/cop/lint/redundant_type_conversion.rb#70 +# source://rubocop//lib/rubocop/cop/lint/redundant_type_conversion.rb#80 RuboCop::Cop::Lint::RedundantTypeConversion::MSG = T.let(T.unsafe(nil), String) -# source://rubocop//lib/rubocop/cop/lint/redundant_type_conversion.rb#103 +# source://rubocop//lib/rubocop/cop/lint/redundant_type_conversion.rb#113 RuboCop::Cop::Lint::RedundantTypeConversion::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Set) # Methods that already are expected to return a given type, which makes a further # conversion redundant. # -# source://rubocop//lib/rubocop/cop/lint/redundant_type_conversion.rb#100 +# source://rubocop//lib/rubocop/cop/lint/redundant_type_conversion.rb#110 RuboCop::Cop::Lint::RedundantTypeConversion::TYPED_METHODS = T.let(T.unsafe(nil), Hash) # Checks for redundant `with_index`. @@ -27225,58 +27271,58 @@ class RuboCop::Cop::Lint::Void < ::RuboCop::Cop::Base # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/lint/void.rb#255 + # source://rubocop//lib/rubocop/cop/lint/void.rb#261 def all_keys_entirely_literal?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/lint/void.rb#259 + # source://rubocop//lib/rubocop/cop/lint/void.rb#265 def all_values_entirely_literal?(node); end - # source://rubocop//lib/rubocop/cop/lint/void.rb#233 + # source://rubocop//lib/rubocop/cop/lint/void.rb#239 def autocorrect_nonmutating_send(corrector, node, suggestion); end - # source://rubocop//lib/rubocop/cop/lint/void.rb#227 + # source://rubocop//lib/rubocop/cop/lint/void.rb#233 def autocorrect_void_expression(corrector, node); end - # source://rubocop//lib/rubocop/cop/lint/void.rb#214 + # source://rubocop//lib/rubocop/cop/lint/void.rb#220 def autocorrect_void_op(corrector, node); end # source://rubocop//lib/rubocop/cop/lint/void.rb#101 def check_begin(node); end - # source://rubocop//lib/rubocop/cop/lint/void.rb#199 + # source://rubocop//lib/rubocop/cop/lint/void.rb#205 def check_ensure(node); end # source://rubocop//lib/rubocop/cop/lint/void.rb#115 def check_expression(expr); end - # source://rubocop//lib/rubocop/cop/lint/void.rb#157 + # source://rubocop//lib/rubocop/cop/lint/void.rb#163 def check_literal(node); end - # source://rubocop//lib/rubocop/cop/lint/void.rb#181 + # source://rubocop//lib/rubocop/cop/lint/void.rb#187 def check_nonmutating(node); end - # source://rubocop//lib/rubocop/cop/lint/void.rb#165 + # source://rubocop//lib/rubocop/cop/lint/void.rb#171 def check_self(node); end - # source://rubocop//lib/rubocop/cop/lint/void.rb#139 + # source://rubocop//lib/rubocop/cop/lint/void.rb#145 def check_var(node); end - # source://rubocop//lib/rubocop/cop/lint/void.rb#173 + # source://rubocop//lib/rubocop/cop/lint/void.rb#179 def check_void_expression(node); end - # source://rubocop//lib/rubocop/cop/lint/void.rb#128 + # source://rubocop//lib/rubocop/cop/lint/void.rb#129 def check_void_op(node, &block); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/lint/void.rb#242 + # source://rubocop//lib/rubocop/cop/lint/void.rb#248 def entirely_literal?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/lint/void.rb#207 + # source://rubocop//lib/rubocop/cop/lint/void.rb#213 def in_void_context?(node); end end @@ -30343,8 +30389,15 @@ end # source://rubocop//lib/rubocop/cop/naming/rescued_exceptions_variable_name.rb#64 RuboCop::Cop::Naming::RescuedExceptionsVariableName::MSG = T.let(T.unsafe(nil), String) -# Makes sure that all variables use the configured style, -# snake_case or camelCase, for their names. +# Checks that the configured style (snake_case or camelCase) is used for all variable names. +# This includes local variables, instance variables, class variables, method arguments +# (positional, keyword, rest or block), and block arguments. +# +# The cop can also be configured to forbid using specific names for variables, using +# `ForbiddenIdentifiers` or `ForbiddenPatterns`. In addition to the above, this applies +# to global variables as well. +# +# Method definitions and method calls are not affected by this cop. # # @example EnforcedStyle: snake_case (default) # # bad @@ -30363,9 +30416,21 @@ RuboCop::Cop::Naming::RescuedExceptionsVariableName::MSG = T.let(T.unsafe(nil), # fooBar = 1 # @example AllowedPatterns: ['_v\d+\z'] # # good (with EnforcedStyle: camelCase) -# :release_v1 +# release_v1 = true +# @example ForbiddenIdentifiers: ['fooBar'] +# # bad (in all cases) +# fooBar = 1 +# @fooBar = 1 +# @@fooBar = 1 +# $fooBar = 1 +# @example ForbiddenPatterns: ['_v\d+\z'] +# # bad (in all cases) +# release_v1 = true +# @release_v1 = true +# @@release_v1 = true +# $release_v1 = true # -# source://rubocop//lib/rubocop/cop/naming/variable_name.rb#31 +# source://rubocop//lib/rubocop/cop/naming/variable_name.rb#52 class RuboCop::Cop::Naming::VariableName < ::RuboCop::Cop::Base include ::RuboCop::Cop::AllowedIdentifiers include ::RuboCop::Cop::ConfigurableEnforcedStyle @@ -30373,53 +30438,80 @@ class RuboCop::Cop::Naming::VariableName < ::RuboCop::Cop::Base include ::RuboCop::Cop::ConfigurableNaming include ::RuboCop::Cop::AllowedPattern - # source://rubocop//lib/rubocop/cop/naming/variable_name.rb#42 + # source://rubocop//lib/rubocop/cop/naming/variable_name.rb#64 def on_arg(node); end - # source://rubocop//lib/rubocop/cop/naming/variable_name.rb#42 + # source://rubocop//lib/rubocop/cop/naming/variable_name.rb#64 def on_blockarg(node); end - # source://rubocop//lib/rubocop/cop/naming/variable_name.rb#42 + # source://rubocop//lib/rubocop/cop/naming/variable_name.rb#64 def on_cvasgn(node); end - # source://rubocop//lib/rubocop/cop/naming/variable_name.rb#42 + # Only forbidden names are checked for global variable assignment + # + # source://rubocop//lib/rubocop/cop/naming/variable_name.rb#86 + def on_gvasgn(node); end + + # source://rubocop//lib/rubocop/cop/naming/variable_name.rb#64 def on_ivasgn(node); end - # source://rubocop//lib/rubocop/cop/naming/variable_name.rb#42 + # source://rubocop//lib/rubocop/cop/naming/variable_name.rb#64 def on_kwarg(node); end - # source://rubocop//lib/rubocop/cop/naming/variable_name.rb#42 + # source://rubocop//lib/rubocop/cop/naming/variable_name.rb#64 def on_kwoptarg(node); end - # source://rubocop//lib/rubocop/cop/naming/variable_name.rb#42 + # source://rubocop//lib/rubocop/cop/naming/variable_name.rb#64 def on_kwrestarg(node); end - # source://rubocop//lib/rubocop/cop/naming/variable_name.rb#42 + # source://rubocop//lib/rubocop/cop/naming/variable_name.rb#64 def on_lvar(node); end - # source://rubocop//lib/rubocop/cop/naming/variable_name.rb#42 + # source://rubocop//lib/rubocop/cop/naming/variable_name.rb#64 def on_lvasgn(node); end - # source://rubocop//lib/rubocop/cop/naming/variable_name.rb#42 + # source://rubocop//lib/rubocop/cop/naming/variable_name.rb#64 def on_optarg(node); end - # source://rubocop//lib/rubocop/cop/naming/variable_name.rb#42 + # source://rubocop//lib/rubocop/cop/naming/variable_name.rb#64 def on_restarg(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/naming/variable_name.rb#38 + # source://rubocop//lib/rubocop/cop/naming/variable_name.rb#60 def valid_name?(node, name, given_style = T.unsafe(nil)); end private - # source://rubocop//lib/rubocop/cop/naming/variable_name.rb#61 + # source://rubocop//lib/rubocop/cop/naming/variable_name.rb#99 + def forbidden_identifiers; end + + # @return [Boolean] + # + # source://rubocop//lib/rubocop/cop/naming/variable_name.rb#111 + def forbidden_name?(name); end + + # source://rubocop//lib/rubocop/cop/naming/variable_name.rb#103 + def forbidden_patterns; end + + # @return [Boolean] + # + # source://rubocop//lib/rubocop/cop/naming/variable_name.rb#107 + def matches_forbidden_pattern?(name); end + + # source://rubocop//lib/rubocop/cop/naming/variable_name.rb#95 def message(style); end + + # source://rubocop//lib/rubocop/cop/naming/variable_name.rb#118 + def register_forbidden_name(node); end end -# source://rubocop//lib/rubocop/cop/naming/variable_name.rb#36 +# source://rubocop//lib/rubocop/cop/naming/variable_name.rb#57 RuboCop::Cop::Naming::VariableName::MSG = T.let(T.unsafe(nil), String) +# source://rubocop//lib/rubocop/cop/naming/variable_name.rb#58 +RuboCop::Cop::Naming::VariableName::MSG_FORBIDDEN = T.let(T.unsafe(nil), String) + # Makes sure that all numbered variables use the # configured style, snake_case, normalcase, or non_integer, # for their numbering. @@ -32701,7 +32793,7 @@ class RuboCop::Cop::Style::AccessorGrouping < ::RuboCop::Cop::Base # source://rubocop//lib/rubocop/cop/style/accessor_grouping.rb#122 def class_send_elements(class_node); end - # source://rubocop//lib/rubocop/cop/style/accessor_grouping.rb#165 + # source://rubocop//lib/rubocop/cop/style/accessor_grouping.rb#179 def group_accessors(node, accessors); end # @return [Boolean] @@ -32709,7 +32801,12 @@ class RuboCop::Cop::Style::AccessorGrouping < ::RuboCop::Cop::Base # source://rubocop//lib/rubocop/cop/style/accessor_grouping.rb#99 def groupable_accessor?(node); end + # @return [Boolean] + # # source://rubocop//lib/rubocop/cop/style/accessor_grouping.rb#142 + def groupable_sibling_accessor?(node, sibling); end + + # source://rubocop//lib/rubocop/cop/style/accessor_grouping.rb#149 def groupable_sibling_accessors(send_node); end # @return [Boolean] @@ -32717,10 +32814,10 @@ class RuboCop::Cop::Style::AccessorGrouping < ::RuboCop::Cop::Base # source://rubocop//lib/rubocop/cop/style/accessor_grouping.rb#134 def grouped_style?; end - # source://rubocop//lib/rubocop/cop/style/accessor_grouping.rb#151 + # source://rubocop//lib/rubocop/cop/style/accessor_grouping.rb#155 def message(send_node); end - # source://rubocop//lib/rubocop/cop/style/accessor_grouping.rb#156 + # source://rubocop//lib/rubocop/cop/style/accessor_grouping.rb#160 def preferred_accessors(node); end # @return [Boolean] @@ -32728,13 +32825,20 @@ class RuboCop::Cop::Style::AccessorGrouping < ::RuboCop::Cop::Base # source://rubocop//lib/rubocop/cop/style/accessor_grouping.rb#94 def previous_line_comment?(node); end - # source://rubocop//lib/rubocop/cop/style/accessor_grouping.rb#171 + # source://rubocop//lib/rubocop/cop/style/accessor_grouping.rb#185 def separate_accessors(node); end # @return [Boolean] # # source://rubocop//lib/rubocop/cop/style/accessor_grouping.rb#138 def separated_style?; end + + # Group after constants + # + # @return [Boolean] + # + # source://rubocop//lib/rubocop/cop/style/accessor_grouping.rb#174 + def skip_for_grouping?(node); end end # source://rubocop//lib/rubocop/cop/style/accessor_grouping.rb#59 @@ -37926,8 +38030,11 @@ RuboCop::Cop::Style::EndBlock::MSG = T.let(T.unsafe(nil), String) # Checks for endless methods. # -# It can enforce either the use of endless methods definitions -# for single-lined method bodies, or disallow endless methods. +# It can enforce endless method definitions whenever possible or with single line methods. +# It can also disallow multiline endless method definitions or all endless definitions. +# +# `require_single_line` style enforces endless method definitions for single line methods. +# `require_always` style enforces endless method definitions for single statement methods. # # Other method definition types are not considered by this cop. # @@ -37936,63 +38043,172 @@ RuboCop::Cop::Style::EndBlock::MSG = T.let(T.unsafe(nil), String) # * allow_single_line (default) - only single line endless method definitions are allowed. # * allow_always - all endless method definitions are allowed. # * disallow - all endless method definitions are disallowed. +# * require_single_line - endless method definitions are required for single line methods. +# * require_always - all endless method definitions are required. # # NOTE: Incorrect endless method definitions will always be # corrected to a multi-line definition. # # @example EnforcedStyle: allow_single_line (default) -# # good -# def my_method() = x -# # # bad, multi-line endless method -# def my_method() = x.foo +# def my_method = x.foo # .bar # .baz +# +# # good +# def my_method +# x +# end +# +# # good +# def my_method = x +# +# # good +# def my_method +# x.foo +# .bar +# .baz +# end # @example EnforcedStyle: allow_always # # good -# def my_method() = x +# def my_method +# x +# end # # # good -# def my_method() = x.foo +# def my_method = x +# +# # good +# def my_method = x.foo # .bar # .baz +# +# # good +# def my_method +# x.foo +# .bar +# .baz +# end # @example EnforcedStyle: disallow # # bad -# def my_method() = x +# def my_method = x # # # bad -# def my_method() = x.foo +# def my_method = x.foo # .bar # .baz # -# source://rubocop//lib/rubocop/cop/style/endless_method.rb#49 +# # good +# def my_method +# x +# end +# +# # good +# def my_method +# x.foo +# .bar +# .baz +# end +# @example EnforcedStyle: require_single_line +# # bad +# def my_method +# x +# end +# +# # bad +# def my_method = x.foo +# .bar +# .baz +# +# # good +# def my_method = x +# +# # good +# def my_method +# x.foo +# .bar +# .baz +# end +# @example EnforcedStyle: require_always +# # bad +# def my_method +# x +# end +# +# # bad +# def my_method +# x.foo +# .bar +# .baz +# end +# +# # good +# def my_method = x +# +# # good +# def my_method = x.foo +# .bar +# .baz +# +# source://rubocop//lib/rubocop/cop/style/endless_method.rb#132 class RuboCop::Cop::Style::EndlessMethod < ::RuboCop::Cop::Base include ::RuboCop::Cop::ConfigurableEnforcedStyle include ::RuboCop::Cop::EndlessMethodRewriter extend ::RuboCop::Cop::TargetRubyVersion extend ::RuboCop::Cop::AutoCorrector - # source://rubocop//lib/rubocop/cop/style/endless_method.rb#61 + # source://rubocop//lib/rubocop/cop/style/endless_method.rb#146 def on_def(node); end private - # source://rubocop//lib/rubocop/cop/style/endless_method.rb#71 + # source://rubocop//lib/rubocop/cop/style/endless_method.rb#217 + def arguments(node, missing = T.unsafe(nil)); end + + # @return [Boolean] + # + # source://rubocop//lib/rubocop/cop/style/endless_method.rb#221 + def can_be_made_endless?(node); end + + # source://rubocop//lib/rubocop/cop/style/endless_method.rb#201 + def correct_to_multiline(corrector, node); end + + # source://rubocop//lib/rubocop/cop/style/endless_method.rb#211 + def endless_replacement(node); end + + # source://rubocop//lib/rubocop/cop/style/endless_method.rb#163 def handle_allow_style(node); end - # source://rubocop//lib/rubocop/cop/style/endless_method.rb#80 + # source://rubocop//lib/rubocop/cop/style/endless_method.rb#195 def handle_disallow_style(node); end + + # source://rubocop//lib/rubocop/cop/style/endless_method.rb#186 + def handle_require_always_style(node); end + + # source://rubocop//lib/rubocop/cop/style/endless_method.rb#172 + def handle_require_single_line_style(node); end + + # @return [Boolean] + # + # source://rubocop//lib/rubocop/cop/style/endless_method.rb#225 + def too_long_when_made_endless?(node); end end -# source://rubocop//lib/rubocop/cop/style/endless_method.rb#57 +# source://rubocop//lib/rubocop/cop/style/endless_method.rb#140 RuboCop::Cop::Style::EndlessMethod::CORRECTION_STYLES = T.let(T.unsafe(nil), Array) -# source://rubocop//lib/rubocop/cop/style/endless_method.rb#58 +# source://rubocop//lib/rubocop/cop/style/endless_method.rb#141 RuboCop::Cop::Style::EndlessMethod::MSG = T.let(T.unsafe(nil), String) -# source://rubocop//lib/rubocop/cop/style/endless_method.rb#59 +# source://rubocop//lib/rubocop/cop/style/endless_method.rb#142 RuboCop::Cop::Style::EndlessMethod::MSG_MULTI_LINE = T.let(T.unsafe(nil), String) +# source://rubocop//lib/rubocop/cop/style/endless_method.rb#144 +RuboCop::Cop::Style::EndlessMethod::MSG_REQUIRE_ALWAYS = T.let(T.unsafe(nil), String) + +# source://rubocop//lib/rubocop/cop/style/endless_method.rb#143 +RuboCop::Cop::Style::EndlessMethod::MSG_REQUIRE_SINGLE = T.let(T.unsafe(nil), String) + # Checks for consistent usage of `ENV['HOME']`. If `nil` is used as # the second argument of `ENV.fetch`, it is treated as a bad case like `ENV[]`. # @@ -41906,7 +42122,7 @@ class RuboCop::Cop::Style::LineEndConcatenation < ::RuboCop::Cop::Base private - # source://rubocop//lib/rubocop/cop/style/line_end_concatenation.rb#74 + # source://rubocop//lib/rubocop/cop/style/line_end_concatenation.rb#80 def autocorrect(corrector, operator_range); end # source://rubocop//lib/rubocop/cop/style/line_end_concatenation.rb#57 @@ -41914,35 +42130,38 @@ class RuboCop::Cop::Style::LineEndConcatenation < ::RuboCop::Cop::Base # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/line_end_concatenation.rb#101 + # source://rubocop//lib/rubocop/cop/style/line_end_concatenation.rb#107 def eligible_next_successor?(next_successor); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/line_end_concatenation.rb#97 + # source://rubocop//lib/rubocop/cop/style/line_end_concatenation.rb#103 def eligible_operator?(operator); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/line_end_concatenation.rb#105 + # source://rubocop//lib/rubocop/cop/style/line_end_concatenation.rb#111 def eligible_predecessor?(predecessor); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/line_end_concatenation.rb#93 + # source://rubocop//lib/rubocop/cop/style/line_end_concatenation.rb#99 def eligible_successor?(successor); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/line_end_concatenation.rb#87 + # source://rubocop//lib/rubocop/cop/style/line_end_concatenation.rb#93 def eligible_token_set?(predecessor, operator, successor); end + # source://rubocop//lib/rubocop/cop/style/line_end_concatenation.rb#72 + def register_offense(operator); end + # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/line_end_concatenation.rb#124 + # source://rubocop//lib/rubocop/cop/style/line_end_concatenation.rb#130 def standard_string_literal?(token); end - # source://rubocop//lib/rubocop/cop/style/line_end_concatenation.rb#109 + # source://rubocop//lib/rubocop/cop/style/line_end_concatenation.rb#115 def token_after_last_string(successor, base_index); end class << self @@ -42154,10 +42373,10 @@ class RuboCop::Cop::Style::MagicCommentFormat::CommentRange # source://rubocop//lib/rubocop/cop/style/magic_comment_format.rb#125 def directives; end - # source://rubocop-ast/1.38.0/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast/1.38.1/lib/rubocop/ast/utilities/simple_forwardable.rb#19 def loc(*_arg0, **_arg1, &_arg2); end - # source://rubocop-ast/1.38.0/lib/rubocop/ast/utilities/simple_forwardable.rb#9 + # source://rubocop-ast/1.38.1/lib/rubocop/ast/utilities/simple_forwardable.rb#19 def text(*_arg0, **_arg1, &_arg2); end # A magic comment can contain one value (normal style) or @@ -44361,7 +44580,7 @@ class RuboCop::Cop::Style::MutableConstant < ::RuboCop::Cop::Base include ::RuboCop::Cop::ConfigurableEnforcedStyle extend ::RuboCop::Cop::AutoCorrector - # source://rubocop-sorbet/0.8.7/lib/rubocop/cop/sorbet/mutable_constant_sorbet_aware_behaviour.rb#18 + # source://rubocop-sorbet/0.8.9/lib/rubocop/cop/sorbet/mutable_constant_sorbet_aware_behaviour.rb#18 def on_assignment(value); end # source://rubocop//lib/rubocop/cop/style/mutable_constant.rb#127 @@ -44379,7 +44598,7 @@ class RuboCop::Cop::Style::MutableConstant < ::RuboCop::Cop::Base # source://rubocop//lib/rubocop/cop/style/mutable_constant.rb#216 def splat_value(param0 = T.unsafe(nil)); end - # source://rubocop-sorbet/0.8.7/lib/rubocop/cop/sorbet/mutable_constant_sorbet_aware_behaviour.rb#12 + # source://rubocop-sorbet/0.8.9/lib/rubocop/cop/sorbet/mutable_constant_sorbet_aware_behaviour.rb#12 def t_let(param0 = T.unsafe(nil)); end private @@ -47444,13 +47663,33 @@ RuboCop::Cop::Style::RedundantCapitalW::MSG = T.let(T.unsafe(nil), String) # c # end # -# source://rubocop//lib/rubocop/cop/style/redundant_condition.rb#45 +# # bad +# a.nil? ? true : a +# +# # good +# a.nil? || a +# +# # bad +# if a.nil? +# true +# else +# a +# end +# +# # good +# a.nil? || a +# @example AllowedMethods: ['nonzero?'] (default) +# # good +# num.nonzero? ? true : false +# +# source://rubocop//lib/rubocop/cop/style/redundant_condition.rb#65 class RuboCop::Cop::Style::RedundantCondition < ::RuboCop::Cop::Base + include ::RuboCop::Cop::AllowedMethods include ::RuboCop::Cop::CommentsHelp include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop//lib/rubocop/cop/style/redundant_condition.rb#56 + # source://rubocop//lib/rubocop/cop/style/redundant_condition.rb#77 def on_if(node); end private @@ -47460,119 +47699,124 @@ class RuboCop::Cop::Style::RedundantCondition < ::RuboCop::Cop::Base # # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/redundant_condition.rb#182 + # source://rubocop//lib/rubocop/cop/style/redundant_condition.rb#226 def argument_with_operator?(argument); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/redundant_condition.rb#159 + # source://rubocop//lib/rubocop/cop/style/redundant_condition.rb#203 def asgn_type?(node); end - # source://rubocop//lib/rubocop/cop/style/redundant_condition.rb#76 + # source://rubocop//lib/rubocop/cop/style/redundant_condition.rb#97 def autocorrect(corrector, node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/redundant_condition.rb#149 + # source://rubocop//lib/rubocop/cop/style/redundant_condition.rb#193 def branches_have_assignment?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/redundant_condition.rb#163 + # source://rubocop//lib/rubocop/cop/style/redundant_condition.rb#207 def branches_have_method?(node); end - # source://rubocop//lib/rubocop/cop/style/redundant_condition.rb#255 + # source://rubocop//lib/rubocop/cop/style/redundant_condition.rb#301 def correct_ternary(corrector, node); end - # source://rubocop//lib/rubocop/cop/style/redundant_condition.rb#202 + # source://rubocop//lib/rubocop/cop/style/redundant_condition.rb#248 def else_source(else_branch, arithmetic_operation); end - # source://rubocop//lib/rubocop/cop/style/redundant_condition.rb#228 + # source://rubocop//lib/rubocop/cop/style/redundant_condition.rb#274 def else_source_if_has_assignment(else_branch); end - # source://rubocop//lib/rubocop/cop/style/redundant_condition.rb#218 + # source://rubocop//lib/rubocop/cop/style/redundant_condition.rb#264 def else_source_if_has_method(else_branch); end - # source://rubocop//lib/rubocop/cop/style/redundant_condition.rb#190 + # @return [Boolean] + # + # source://rubocop//lib/rubocop/cop/style/redundant_condition.rb#181 + def if_branch_is_true_type_and_else_is_not?(node); end + + # source://rubocop//lib/rubocop/cop/style/redundant_condition.rb#234 def if_source(if_branch, arithmetic_operation); end - # source://rubocop//lib/rubocop/cop/style/redundant_condition.rb#238 + # source://rubocop//lib/rubocop/cop/style/redundant_condition.rb#284 def make_ternary_form(node); end - # source://rubocop//lib/rubocop/cop/style/redundant_condition.rb#68 + # source://rubocop//lib/rubocop/cop/style/redundant_condition.rb#89 def message(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/redundant_condition.rb#97 + # source://rubocop//lib/rubocop/cop/style/redundant_condition.rb#118 def offense?(node); end - # source://rubocop//lib/rubocop/cop/style/redundant_condition.rb#90 + # source://rubocop//lib/rubocop/cop/style/redundant_condition.rb#111 def range_of_offense(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/redundant_condition.rb#105 + # source://rubocop//lib/rubocop/cop/style/redundant_condition.rb#126 def redundant_condition?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/redundant_condition.rb#270 + # source://rubocop//lib/rubocop/cop/style/redundant_condition.rb#316 def require_braces?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/redundant_condition.rb#263 + # source://rubocop//lib/rubocop/cop/style/redundant_condition.rb#309 def require_parentheses?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/redundant_condition.rb#176 + # source://rubocop//lib/rubocop/cop/style/redundant_condition.rb#220 def same_method?(if_branch, else_branch); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/redundant_condition.rb#170 + # source://rubocop//lib/rubocop/cop/style/redundant_condition.rb#214 def single_argument_method?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/redundant_condition.rb#121 + # source://rubocop//lib/rubocop/cop/style/redundant_condition.rb#142 def synonymous_condition_and_branch?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/redundant_condition.rb#274 + # source://rubocop//lib/rubocop/cop/style/redundant_condition.rb#320 def use_arithmetic_operation?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/redundant_condition.rb#117 + # source://rubocop//lib/rubocop/cop/style/redundant_condition.rb#138 def use_hash_key_access?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/redundant_condition.rb#113 + # source://rubocop//lib/rubocop/cop/style/redundant_condition.rb#134 def use_hash_key_assignment?(else_branch); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/redundant_condition.rb#109 + # source://rubocop//lib/rubocop/cop/style/redundant_condition.rb#130 def use_if_branch?(else_branch); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/redundant_condition.rb#278 + # source://rubocop//lib/rubocop/cop/style/redundant_condition.rb#324 def without_argument_parentheses_method?(node); end end -# source://rubocop//lib/rubocop/cop/style/redundant_condition.rb#52 +# source://rubocop//lib/rubocop/cop/style/redundant_condition.rb#73 RuboCop::Cop::Style::RedundantCondition::ARGUMENT_WITH_OPERATOR_TYPES = T.let(T.unsafe(nil), Array) -# source://rubocop//lib/rubocop/cop/style/redundant_condition.rb#50 +# source://rubocop//lib/rubocop/cop/style/redundant_condition.rb#71 RuboCop::Cop::Style::RedundantCondition::MSG = T.let(T.unsafe(nil), String) -# source://rubocop//lib/rubocop/cop/style/redundant_condition.rb#51 +# source://rubocop//lib/rubocop/cop/style/redundant_condition.rb#72 RuboCop::Cop::Style::RedundantCondition::REDUNDANT_CONDITION = T.let(T.unsafe(nil), String) # Checks for redundant returning of true/false in conditionals. @@ -48165,73 +48409,76 @@ class RuboCop::Cop::Style::RedundantFormat < ::RuboCop::Cop::Base # source://rubocop//lib/rubocop/cop/style/redundant_format.rb#56 def format_without_additional_args?(param0 = T.unsafe(nil)); end - # source://rubocop//lib/rubocop/cop/style/redundant_format.rb#75 + # source://rubocop//lib/rubocop/cop/style/redundant_format.rb#83 def on_send(node); end # source://rubocop//lib/rubocop/cop/style/redundant_format.rb#61 def rational_number?(param0 = T.unsafe(nil)); end + # source://rubocop//lib/rubocop/cop/style/redundant_format.rb#76 + def splatted_arguments?(param0 = T.unsafe(nil)); end + private # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/redundant_format.rb#113 + # source://rubocop//lib/rubocop/cop/style/redundant_format.rb#125 def all_fields_literal?(string, arguments); end - # source://rubocop//lib/rubocop/cop/style/redundant_format.rb#200 + # source://rubocop//lib/rubocop/cop/style/redundant_format.rb#212 def argument_value(argument); end - # source://rubocop//lib/rubocop/cop/style/redundant_format.rb#196 + # source://rubocop//lib/rubocop/cop/style/redundant_format.rb#208 def argument_values(arguments); end - # source://rubocop//lib/rubocop/cop/style/redundant_format.rb#232 + # source://rubocop//lib/rubocop/cop/style/redundant_format.rb#244 def complex_value(complex_node); end - # source://rubocop//lib/rubocop/cop/style/redundant_format.rb#92 + # source://rubocop//lib/rubocop/cop/style/redundant_format.rb#102 def detect_unnecessary_fields(node); end - # source://rubocop//lib/rubocop/cop/style/redundant_format.rb#218 + # source://rubocop//lib/rubocop/cop/style/redundant_format.rb#230 def dsym_value(dsym_node); end - # source://rubocop//lib/rubocop/cop/style/redundant_format.rb#131 + # source://rubocop//lib/rubocop/cop/style/redundant_format.rb#143 def find_argument(sequence, arguments, hash); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/redundant_format.rb#172 + # source://rubocop//lib/rubocop/cop/style/redundant_format.rb#184 def float?(argument); end - # source://rubocop//lib/rubocop/cop/style/redundant_format.rb#222 + # source://rubocop//lib/rubocop/cop/style/redundant_format.rb#234 def hash_value(hash_node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/redundant_format.rb#168 + # source://rubocop//lib/rubocop/cop/style/redundant_format.rb#180 def integer?(argument); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/redundant_format.rb#144 + # source://rubocop//lib/rubocop/cop/style/redundant_format.rb#156 def matching_argument?(sequence, argument); end - # source://rubocop//lib/rubocop/cop/style/redundant_format.rb#88 - def message(node); end + # source://rubocop//lib/rubocop/cop/style/redundant_format.rb#98 + def message(node, prefer); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/redundant_format.rb#162 + # source://rubocop//lib/rubocop/cop/style/redundant_format.rb#174 def numeric?(argument); end # Add correct quotes to the formatted string, preferring retaining the existing # quotes if possible. # - # source://rubocop//lib/rubocop/cop/style/redundant_format.rb#178 + # source://rubocop//lib/rubocop/cop/style/redundant_format.rb#190 def quote(string, node); end - # source://rubocop//lib/rubocop/cop/style/redundant_format.rb#228 + # source://rubocop//lib/rubocop/cop/style/redundant_format.rb#240 def rational_value(rational_node); end - # source://rubocop//lib/rubocop/cop/style/redundant_format.rb#104 + # source://rubocop//lib/rubocop/cop/style/redundant_format.rb#114 def register_all_fields_literal(node, string, arguments); end end @@ -51589,9 +51836,9 @@ RuboCop::Cop::Style::SingleLineDoEndBlock::MSG = T.let(T.unsafe(nil), String) # # Endless methods added in Ruby 3.0 are also accepted by this cop. # -# If `Style/EndlessMethod` is enabled with `EnforcedStyle: allow_single_line` or -# `allow_always`, single-line methods will be autocorrected to endless -# methods if there is only one statement in the body. +# If `Style/EndlessMethod` is enabled with `EnforcedStyle: allow_single_line`, `allow_always`, +# `require_single_line`, or `require_always`, single-line methods will be autocorrected +# to endless methods if there is only one statement in the body. # # @example # # bad @@ -53650,12 +53897,13 @@ end # Checks for trailing comma in array literals. # The configuration options are: # -# * `consistent_comma`: Requires a comma after the -# last item of all non-empty, multiline array literals. -# * `comma`: Requires a comma after last item in an array, -# but only when each item is on its own line. -# * `no_comma`: Does not require a comma after the -# last item in an array +# * `consistent_comma`: Requires a comma after the last item of all non-empty, multiline array +# literals. +# * `comma`: Requires a comma after the last item in an array, but only when each item is on +# its own line. +# * `diff_comma`: Requires a comma after the last item in an array, but only when that item is +# followed by an immediate newline. +# * `no_comma`: Does not require a comma after the last item in an array # # @example EnforcedStyleForMultiline: consistent_comma # # bad @@ -53680,6 +53928,14 @@ end # 1, # 2, # ] +# +# # bad +# a = [1, 2, +# 3, 4] +# +# # good +# a = [1, 2, +# 3, 4,] # @example EnforcedStyleForMultiline: comma # # bad # a = [1, 2,] @@ -53714,6 +53970,37 @@ end # 1, # 2, # ] +# @example EnforcedStyleForMultiline: diff_comma +# # bad +# a = [1, 2,] +# +# # good +# a = [1, 2] +# +# # good +# a = [ +# 1, 2, +# 3, +# ] +# +# # good +# a = [ +# 1, 2, 3, +# ] +# +# # good +# a = [ +# 1, +# 2, +# ] +# +# # bad +# a = [1, 2, +# 3, 4,] +# +# # good +# a = [1, 2, +# 3, 4] # @example EnforcedStyleForMultiline: no_comma (default) # # bad # a = [1, 2,] @@ -53724,14 +54011,14 @@ end # 2 # ] # -# source://rubocop//lib/rubocop/cop/style/trailing_comma_in_array_literal.rb#84 +# source://rubocop//lib/rubocop/cop/style/trailing_comma_in_array_literal.rb#125 class RuboCop::Cop::Style::TrailingCommaInArrayLiteral < ::RuboCop::Cop::Base include ::RuboCop::Cop::ConfigurableEnforcedStyle include ::RuboCop::Cop::RangeHelp include ::RuboCop::Cop::TrailingComma extend ::RuboCop::Cop::AutoCorrector - # source://rubocop//lib/rubocop/cop/style/trailing_comma_in_array_literal.rb#88 + # source://rubocop//lib/rubocop/cop/style/trailing_comma_in_array_literal.rb#129 def on_array(node); end end @@ -53808,12 +54095,13 @@ RuboCop::Cop::Style::TrailingCommaInBlockArgs::MSG = T.let(T.unsafe(nil), String # Checks for trailing comma in hash literals. # The configuration options are: # -# * `consistent_comma`: Requires a comma after the -# last item of all non-empty, multiline hash literals. -# * `comma`: Requires a comma after the last item in a hash, -# but only when each item is on its own line. -# * `no_comma`: Does not require a comma after the -# last item in a hash +# * `consistent_comma`: Requires a comma after the last item of all non-empty, multiline hash +# literals. +# * `comma`: Requires a comma after the last item in a hash, but only when each item is on its +# own line. +# * `diff_comma`: Requires a comma after the last item in a hash, but only when that item is +# followed by an immediate newline. +# * `no_comma`: Does not require a comma after the last item in a hash # # @example EnforcedStyleForMultiline: consistent_comma # @@ -53839,6 +54127,14 @@ RuboCop::Cop::Style::TrailingCommaInBlockArgs::MSG = T.let(T.unsafe(nil), String # foo: 1, # bar: 2, # } +# +# # bad +# a = { foo: 1, bar: 2, +# baz: 3, qux: 4 } +# +# # good +# a = { foo: 1, bar: 2, +# baz: 3, qux: 4, } # @example EnforcedStyleForMultiline: comma # # # bad @@ -53874,6 +54170,38 @@ RuboCop::Cop::Style::TrailingCommaInBlockArgs::MSG = T.let(T.unsafe(nil), String # foo: 1, # bar: 2, # } +# @example EnforcedStyleForMultiline: diff_comma +# +# # bad +# a = { foo: 1, bar: 2, } +# +# # good +# a = { foo: 1, bar: 2 } +# +# # good +# a = { +# foo: 1, bar: 2, +# qux: 3, +# } +# +# # good +# a = { +# foo: 1, bar: 2, qux: 3, +# } +# +# # good +# a = { +# foo: 1, +# bar: 2, +# } +# +# # bad +# a = { foo: 1, bar: 2, +# baz: 3, qux: 4, } +# +# # good +# a = { foo: 1, bar: 2, +# baz: 3, qux: 4 } # @example EnforcedStyleForMultiline: no_comma (default) # # # bad @@ -53885,14 +54213,14 @@ RuboCop::Cop::Style::TrailingCommaInBlockArgs::MSG = T.let(T.unsafe(nil), String # bar: 2 # } # -# source://rubocop//lib/rubocop/cop/style/trailing_comma_in_hash_literal.rb#87 +# source://rubocop//lib/rubocop/cop/style/trailing_comma_in_hash_literal.rb#129 class RuboCop::Cop::Style::TrailingCommaInHashLiteral < ::RuboCop::Cop::Base include ::RuboCop::Cop::ConfigurableEnforcedStyle include ::RuboCop::Cop::RangeHelp include ::RuboCop::Cop::TrailingComma extend ::RuboCop::Cop::AutoCorrector - # source://rubocop//lib/rubocop/cop/style/trailing_comma_in_hash_literal.rb#91 + # source://rubocop//lib/rubocop/cop/style/trailing_comma_in_hash_literal.rb#133 def on_hash(node); end end @@ -55268,7 +55596,7 @@ end # Common methods shared by Style/TrailingCommaInArguments, # Style/TrailingCommaInArrayLiteral and Style/TrailingCommaInHashLiteral # -# source://rubocop//lib/rubocop/cop/mixin/trailing_comma.rb#7 +# source://rubocop//lib/rubocop/cop/mixin/trailing_comma.rb#8 module RuboCop::Cop::TrailingComma include ::RuboCop::Cop::ConfigurableEnforcedStyle include ::RuboCop::Cop::RangeHelp @@ -55281,63 +55609,68 @@ module RuboCop::Cop::TrailingComma # # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/mixin/trailing_comma.rb#104 + # source://rubocop//lib/rubocop/cop/mixin/trailing_comma.rb#109 def allowed_multiline_argument?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/mixin/trailing_comma.rb#167 + # source://rubocop//lib/rubocop/cop/mixin/trailing_comma.rb#178 def any_heredoc?(items); end - # source://rubocop//lib/rubocop/cop/mixin/trailing_comma.rb#159 + # source://rubocop//lib/rubocop/cop/mixin/trailing_comma.rb#170 def autocorrect_range(item); end - # source://rubocop//lib/rubocop/cop/mixin/trailing_comma.rb#133 + # source://rubocop//lib/rubocop/cop/mixin/trailing_comma.rb#144 def avoid_comma(kind, comma_begin_pos, extra_info); end # Returns true if the node has round/square/curly brackets. # # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/mixin/trailing_comma.rb#82 + # source://rubocop//lib/rubocop/cop/mixin/trailing_comma.rb#87 def brackets?(node); end - # source://rubocop//lib/rubocop/cop/mixin/trailing_comma.rb#19 + # source://rubocop//lib/rubocop/cop/mixin/trailing_comma.rb#20 def check(node, items, kind, begin_pos, end_pos); end - # source://rubocop//lib/rubocop/cop/mixin/trailing_comma.rb#37 + # source://rubocop//lib/rubocop/cop/mixin/trailing_comma.rb#38 def check_comma(node, kind, comma_pos); end - # source://rubocop//lib/rubocop/cop/mixin/trailing_comma.rb#43 + # source://rubocop//lib/rubocop/cop/mixin/trailing_comma.rb#44 def check_literal(node, kind); end - # source://rubocop//lib/rubocop/cop/mixin/trailing_comma.rb#30 + # source://rubocop//lib/rubocop/cop/mixin/trailing_comma.rb#31 def comma_offset(items, range); end - # source://rubocop//lib/rubocop/cop/mixin/trailing_comma.rb#108 + # source://rubocop//lib/rubocop/cop/mixin/trailing_comma.rb#113 def elements(node); end - # source://rubocop//lib/rubocop/cop/mixin/trailing_comma.rb#54 + # source://rubocop//lib/rubocop/cop/mixin/trailing_comma.rb#55 def extra_avoid_comma_info; end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/mixin/trailing_comma.rb#171 + # source://rubocop//lib/rubocop/cop/mixin/trailing_comma.rb#182 def heredoc?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/mixin/trailing_comma.rb#189 + # source://rubocop//lib/rubocop/cop/mixin/trailing_comma.rb#200 def heredoc_send?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/mixin/trailing_comma.rb#76 + # source://rubocop//lib/rubocop/cop/mixin/trailing_comma.rb#81 def inside_comment?(range, comma_offset); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/mixin/trailing_comma.rb#93 + # source://rubocop//lib/rubocop/cop/mixin/trailing_comma.rb#138 + def last_item_precedes_newline?(node); end + + # @return [Boolean] + # + # source://rubocop//lib/rubocop/cop/mixin/trailing_comma.rb#98 def method_name_and_arguments_on_same_line?(node); end # Returns true if the round/square/curly brackets of the given node are @@ -55346,32 +55679,32 @@ module RuboCop::Cop::TrailingComma # # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/mixin/trailing_comma.rb#89 + # source://rubocop//lib/rubocop/cop/mixin/trailing_comma.rb#94 def multiline?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/mixin/trailing_comma.rb#123 + # source://rubocop//lib/rubocop/cop/mixin/trailing_comma.rb#128 def no_elements_on_same_line?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/mixin/trailing_comma.rb#129 + # source://rubocop//lib/rubocop/cop/mixin/trailing_comma.rb#134 def on_same_line?(range1, range2); end - # source://rubocop//lib/rubocop/cop/mixin/trailing_comma.rb#147 + # source://rubocop//lib/rubocop/cop/mixin/trailing_comma.rb#158 def put_comma(items, kind); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/mixin/trailing_comma.rb#65 + # source://rubocop//lib/rubocop/cop/mixin/trailing_comma.rb#68 def should_have_comma?(style, node); end - # source://rubocop//lib/rubocop/cop/mixin/trailing_comma.rb#15 + # source://rubocop//lib/rubocop/cop/mixin/trailing_comma.rb#16 def style_parameter_name; end end -# source://rubocop//lib/rubocop/cop/mixin/trailing_comma.rb#11 +# source://rubocop//lib/rubocop/cop/mixin/trailing_comma.rb#12 RuboCop::Cop::TrailingComma::MSG = T.let(T.unsafe(nil), String) # Common functionality shared by Uncommunicative cops @@ -55825,55 +56158,6 @@ RuboCop::Cop::Utils::FormatString::TYPE = T.let(T.unsafe(nil), Regexp) # source://rubocop//lib/rubocop/cop/utils/format_string.rb#13 RuboCop::Cop::Utils::FormatString::WIDTH = T.let(T.unsafe(nil), Regexp) -# Helper to abstract complexity of building range pairs -# with octal escape reconstruction (needed for regexp_parser < 2.7). -# -# source://rubocop//lib/rubocop/cop/utils/regexp_ranges.rb#8 -class RuboCop::Cop::Utils::RegexpRanges - # @return [RegexpRanges] a new instance of RegexpRanges - # - # source://rubocop//lib/rubocop/cop/utils/regexp_ranges.rb#11 - def initialize(root); end - - # source://rubocop//lib/rubocop/cop/utils/regexp_ranges.rb#18 - def compound_token; end - - # source://rubocop//lib/rubocop/cop/utils/regexp_ranges.rb#24 - def pairs; end - - # Returns the value of attribute root. - # - # source://rubocop//lib/rubocop/cop/utils/regexp_ranges.rb#9 - def root; end - - private - - # source://rubocop//lib/rubocop/cop/utils/regexp_ranges.rb#78 - def compose_range(expressions, current); end - - # @return [Boolean] - # - # source://rubocop//lib/rubocop/cop/utils/regexp_ranges.rb#90 - def escaped_octal?(expr); end - - # @return [Boolean] - # - # source://rubocop//lib/rubocop/cop/utils/regexp_ranges.rb#94 - def octal_digit?(char); end - - # source://rubocop//lib/rubocop/cop/utils/regexp_ranges.rb#98 - def pop_octal_digits(expressions); end - - # source://rubocop//lib/rubocop/cop/utils/regexp_ranges.rb#44 - def populate(expr); end - - # source://rubocop//lib/rubocop/cop/utils/regexp_ranges.rb#32 - def populate_all; end - - # source://rubocop//lib/rubocop/cop/utils/regexp_ranges.rb#63 - def process_set(expressions, current); end -end - # This force provides a way to track local variables and scopes of Ruby. # Cops interact with this force need to override some of the hook methods. # @@ -59805,7 +60089,7 @@ module RuboCop::Plugin class << self # @api private # - # source://rubocop//lib/rubocop/plugin.rb#30 + # source://rubocop//lib/rubocop/plugin.rb#37 def integrate_plugins(rubocop_config, plugins); end # @api private From b5db95bee547b74b7cda4d8f980b8b52c266bb43 Mon Sep 17 00:00:00 2001 From: Caleb Xu Date: Fri, 28 Feb 2025 03:30:27 -0500 Subject: [PATCH 197/322] keg: fix normalize_pod2man_outputs! for compressed manpages --- Library/Homebrew/keg.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Library/Homebrew/keg.rb b/Library/Homebrew/keg.rb index 4c6b1cbf8a..b28810e9d8 100644 --- a/Library/Homebrew/keg.rb +++ b/Library/Homebrew/keg.rb @@ -556,7 +556,8 @@ class Keg end def normalize_pod2man_outputs! - manpages = Dir[path/"share/man/*/*"] + # Only process uncompressed manpages, which end in a digit + manpages = Dir[path/"share/man/*/*.[1-9]"] generated_regex = /^\.\\"\s*Automatically generated by .*\n/ manpages.each do |f| manpage = Pathname.new(f) From 7a5d4256e57d16d8860addefb6210dc6595f3b51 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Fri, 28 Feb 2025 09:59:32 +0000 Subject: [PATCH 198/322] Fix Rubocop warnings (without `brew style --fix`) --- Library/Homebrew/diagnostic.rb | 14 ++++++-------- Library/Homebrew/formula_installer.rb | 7 ++----- Library/Homebrew/locale.rb | 8 +++----- Library/Homebrew/style.rb | 14 ++++---------- Library/Homebrew/utils/analytics.rb | 6 ------ Library/Homebrew/utils/pypi.rb | 7 ++----- 6 files changed, 17 insertions(+), 39 deletions(-) diff --git a/Library/Homebrew/diagnostic.rb b/Library/Homebrew/diagnostic.rb index 67c53b1f4f..45757ece68 100644 --- a/Library/Homebrew/diagnostic.rb +++ b/Library/Homebrew/diagnostic.rb @@ -748,14 +748,12 @@ module Homebrew def check_for_unlinked_but_not_keg_only unlinked = Formula.racks.reject do |rack| - if (HOMEBREW_LINKED_KEGS/rack.basename).directory? - true - else - begin - Formulary.from_rack(rack).keg_only? - rescue FormulaUnavailableError, TapFormulaAmbiguityError - false - end + next true if (HOMEBREW_LINKED_KEGS/rack.basename).directory? + + begin + Formulary.from_rack(rack).keg_only? + rescue FormulaUnavailableError, TapFormulaAmbiguityError + false end end.map(&:basename) return if unlinked.empty? diff --git a/Library/Homebrew/formula_installer.rb b/Library/Homebrew/formula_installer.rb index e87c14df85..1fab9334b9 100644 --- a/Library/Homebrew/formula_installer.rb +++ b/Library/Homebrew/formula_installer.rb @@ -809,11 +809,8 @@ on_request: installed_on_request?, options:) options |= inherited_options options &= df.options - installed_on_request = if df.any_version_installed? && tab.present? && tab.installed_on_request - true - else - false - end + installed_on_request = df.any_version_installed? && tab.present? && tab.installed_on_request + installed_on_request ||= false fi = FormulaInstaller.new( df, diff --git a/Library/Homebrew/locale.rb b/Library/Homebrew/locale.rb index 49b28c0795..040647f218 100644 --- a/Library/Homebrew/locale.rb +++ b/Library/Homebrew/locale.rb @@ -81,11 +81,9 @@ class Locale end [:language, :script, :region].all? do |var| - if other.public_send(var).nil? - true - else - public_send(var) == other.public_send(var) - end + next true if other.public_send(var).nil? + + public_send(var) == other.public_send(var) end end diff --git a/Library/Homebrew/style.rb b/Library/Homebrew/style.rb index e25271138b..8d9d99f366 100644 --- a/Library/Homebrew/style.rb +++ b/Library/Homebrew/style.rb @@ -85,21 +85,15 @@ module Homebrew run_shellcheck(shell_files, output_type, fix:) end - shfmt_result = if files.present? && shell_files.empty? - true - else - run_shfmt(shell_files, fix:) - end + shfmt_result = files.present? && shell_files.empty? + shfmt_result ||= run_shfmt(shell_files, fix:) has_actionlint_workflow = actionlint_files.any? do |path| path.to_s.end_with?("/.github/workflows/actionlint.yml") end odebug "actionlint workflow detected. Skipping actionlint checks." if has_actionlint_workflow - actionlint_result = if files.present? && (has_actionlint_workflow || actionlint_files.empty?) - true - else - run_actionlint(actionlint_files) - end + actionlint_result = files.present? && (has_actionlint_workflow || actionlint_files.empty?) + actionlint_result ||= run_actionlint(actionlint_files) if output_type == :json Offenses.new(rubocop_result + shellcheck_result) diff --git a/Library/Homebrew/utils/analytics.rb b/Library/Homebrew/utils/analytics.rb index fc38425a8f..54674b019f 100644 --- a/Library/Homebrew/utils/analytics.rb +++ b/Library/Homebrew/utils/analytics.rb @@ -71,9 +71,6 @@ module Utils def report_package_event(measurement, package_name:, tap_name:, on_request: false, options: "") return if not_this_run? || disabled? - # ensure on_request is a boolean - on_request = on_request ? true : false - # ensure options are removed (by `.compact` below) if empty options = nil if options.blank? @@ -137,9 +134,6 @@ module Utils return if not_this_run? || disabled? return if ENV["HOMEBREW_TEST_BOT_ANALYTICS"].blank? - # ensure passed is a boolean - passed = passed ? true : false - # Tags must have low cardinality. tags = { passed:, diff --git a/Library/Homebrew/utils/pypi.rb b/Library/Homebrew/utils/pypi.rb index d8920b3d75..9005162454 100644 --- a/Library/Homebrew/utils/pypi.rb +++ b/Library/Homebrew/utils/pypi.rb @@ -340,11 +340,8 @@ module PyPI show_info = !print_only && !silent ohai "Retrieving PyPI dependencies for \"#{input_packages.join(" ")}\"..." if show_info - print_stderr = if verbose && show_info - true - else - false - end + print_stderr = verbose && show_info + print_stderr ||= false found_packages = pip_report(input_packages, python_name:, print_stderr:) # Resolve the dependency tree of excluded packages to prune the above From 8bd3b482583377da6c924976d5ae0eba6169ccdf Mon Sep 17 00:00:00 2001 From: Todd Schulman Date: Thu, 27 Feb 2025 23:23:28 -0500 Subject: [PATCH 199/322] fix(search.rb): fix regex regression in search Fixes a regression in `brew search` which prevented using a regex for the search pattern after strict typing was added to `formula.rb` in commit a81239e. Now performs fuzzy search only if input is a string. Closes #19397 --- Library/Homebrew/search.rb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Library/Homebrew/search.rb b/Library/Homebrew/search.rb index b33a4ccbf1..343c11eef3 100644 --- a/Library/Homebrew/search.rb +++ b/Library/Homebrew/search.rb @@ -69,7 +69,11 @@ module Homebrew aliases = Formula.alias_full_names results = search(Formula.full_names + aliases, string_or_regex).sort - results |= Formula.fuzzy_search(string_or_regex).map { |n| Formulary.factory(n).full_name } + if string_or_regex.is_a?(String) + results |= Formula.fuzzy_search(string_or_regex).map do |n| + Formulary.factory(n).full_name + end + end results.filter_map do |name| formula, canonical_full_name = begin From f569b92fbb305d8bc1b4314212c16d8ae37c23be Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 28 Feb 2025 18:02:02 +0000 Subject: [PATCH 200/322] build(deps): bump the sorbet group in /Library/Homebrew with 4 updates Bumps the sorbet group in /Library/Homebrew with 4 updates: [sorbet-static-and-runtime](https://github.com/sorbet/sorbet), [sorbet-runtime](https://github.com/sorbet/sorbet), [sorbet](https://github.com/sorbet/sorbet) and [sorbet-static](https://github.com/sorbet/sorbet). Updates `sorbet-static-and-runtime` from 0.5.11865 to 0.5.11874 - [Release notes](https://github.com/sorbet/sorbet/releases) - [Commits](https://github.com/sorbet/sorbet/commits) Updates `sorbet-runtime` from 0.5.11865 to 0.5.11874 - [Release notes](https://github.com/sorbet/sorbet/releases) - [Commits](https://github.com/sorbet/sorbet/commits) Updates `sorbet` from 0.5.11865 to 0.5.11874 - [Release notes](https://github.com/sorbet/sorbet/releases) - [Commits](https://github.com/sorbet/sorbet/commits) Updates `sorbet-static` from 0.5.11865 to 0.5.11874 - [Release notes](https://github.com/sorbet/sorbet/releases) - [Commits](https://github.com/sorbet/sorbet/commits) --- updated-dependencies: - dependency-name: sorbet-static-and-runtime dependency-type: direct:development update-type: version-update:semver-patch dependency-group: sorbet - dependency-name: sorbet-runtime dependency-type: direct:production update-type: version-update:semver-patch dependency-group: sorbet - dependency-name: sorbet dependency-type: indirect update-type: version-update:semver-patch dependency-group: sorbet - dependency-name: sorbet-static dependency-type: indirect update-type: version-update:semver-patch dependency-group: sorbet ... Signed-off-by: dependabot[bot] --- Library/Homebrew/Gemfile.lock | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/Library/Homebrew/Gemfile.lock b/Library/Homebrew/Gemfile.lock index 5752fe85d1..cf71bb3e96 100644 --- a/Library/Homebrew/Gemfile.lock +++ b/Library/Homebrew/Gemfile.lock @@ -116,15 +116,15 @@ GEM simplecov-html (0.13.1) simplecov_json_formatter (0.1.4) simpleidn (0.2.3) - sorbet (0.5.11865) - sorbet-static (= 0.5.11865) - sorbet-runtime (0.5.11865) - sorbet-static (0.5.11865-aarch64-linux) - sorbet-static (0.5.11865-universal-darwin) - sorbet-static (0.5.11865-x86_64-linux) - sorbet-static-and-runtime (0.5.11865) - sorbet (= 0.5.11865) - sorbet-runtime (= 0.5.11865) + sorbet (0.5.11874) + sorbet-static (= 0.5.11874) + sorbet-runtime (0.5.11874) + sorbet-static (0.5.11874-aarch64-linux) + sorbet-static (0.5.11874-universal-darwin) + sorbet-static (0.5.11874-x86_64-linux) + sorbet-static-and-runtime (0.5.11874) + sorbet (= 0.5.11874) + sorbet-runtime (= 0.5.11874) spoom (1.5.4) erubi (>= 1.10.0) prism (>= 0.28.0) @@ -155,7 +155,6 @@ GEM PLATFORMS aarch64-linux - arm-linux arm64-darwin x86_64-darwin x86_64-linux From 82de4997b61dc5279f0517f26b14f8c82ef9e897 Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Fri, 28 Feb 2025 19:59:00 +0000 Subject: [PATCH 201/322] brew vendor-gems: commit updates. --- Library/Homebrew/Gemfile.lock | 1 + Library/Homebrew/vendor/bundle/bundler/setup.rb | 8 ++++---- .../lib/sorbet-runtime.rb | 0 .../lib/types/_types.rb | 0 .../lib/types/abstract_utils.rb | 0 .../lib/types/boolean.rb | 0 .../lib/types/compatibility_patches.rb | 0 .../lib/types/configuration.rb | 0 .../lib/types/enum.rb | 0 .../lib/types/generic.rb | 0 .../lib/types/helpers.rb | 0 .../lib/types/non_forcing_constants.rb | 0 .../lib/types/private/abstract/data.rb | 0 .../lib/types/private/abstract/declare.rb | 0 .../lib/types/private/abstract/hooks.rb | 0 .../lib/types/private/abstract/validate.rb | 0 .../lib/types/private/caller_utils.rb | 0 .../lib/types/private/casts.rb | 0 .../lib/types/private/class_utils.rb | 0 .../lib/types/private/decl_state.rb | 0 .../lib/types/private/final.rb | 0 .../lib/types/private/methods/_methods.rb | 0 .../lib/types/private/methods/call_validation.rb | 0 .../lib/types/private/methods/call_validation_2_6.rb | 0 .../lib/types/private/methods/call_validation_2_7.rb | 0 .../lib/types/private/methods/decl_builder.rb | 0 .../lib/types/private/methods/modes.rb | 0 .../lib/types/private/methods/signature.rb | 0 .../lib/types/private/methods/signature_validation.rb | 0 .../lib/types/private/mixins/mixins.rb | 0 .../lib/types/private/retry.rb | 0 .../lib/types/private/runtime_levels.rb | 0 .../lib/types/private/sealed.rb | 0 .../lib/types/private/types/not_typed.rb | 0 .../lib/types/private/types/simple_pair_union.rb | 0 .../lib/types/private/types/string_holder.rb | 0 .../lib/types/private/types/type_alias.rb | 0 .../lib/types/private/types/void.rb | 0 .../lib/types/props/_props.rb | 0 .../lib/types/props/constructor.rb | 0 .../lib/types/props/custom_type.rb | 0 .../lib/types/props/decorator.rb | 0 .../lib/types/props/errors.rb | 0 .../lib/types/props/generated_code_validation.rb | 0 .../lib/types/props/has_lazily_specialized_methods.rb | 0 .../lib/types/props/optional.rb | 0 .../lib/types/props/plugin.rb | 0 .../lib/types/props/pretty_printable.rb | 0 .../lib/types/props/private/apply_default.rb | 0 .../lib/types/props/private/deserializer_generator.rb | 0 .../lib/types/props/private/parser.rb | 0 .../lib/types/props/private/serde_transform.rb | 0 .../lib/types/props/private/serializer_generator.rb | 0 .../lib/types/props/private/setter_factory.rb | 0 .../lib/types/props/serializable.rb | 0 .../lib/types/props/type_validation.rb | 0 .../lib/types/props/utils.rb | 0 .../lib/types/props/weak_constructor.rb | 0 .../lib/types/sig.rb | 0 .../lib/types/struct.rb | 0 .../lib/types/types/anything.rb | 0 .../lib/types/types/attached_class.rb | 0 .../lib/types/types/base.rb | 0 .../lib/types/types/class_of.rb | 0 .../lib/types/types/enum.rb | 0 .../lib/types/types/fixed_array.rb | 0 .../lib/types/types/fixed_hash.rb | 0 .../lib/types/types/intersection.rb | 0 .../lib/types/types/noreturn.rb | 0 .../lib/types/types/proc.rb | 0 .../lib/types/types/self_type.rb | 0 .../lib/types/types/simple.rb | 0 .../lib/types/types/t_enum.rb | 0 .../lib/types/types/type_member.rb | 0 .../lib/types/types/type_parameter.rb | 0 .../lib/types/types/type_template.rb | 0 .../lib/types/types/type_variable.rb | 0 .../lib/types/types/typed_array.rb | 0 .../lib/types/types/typed_class.rb | 0 .../lib/types/types/typed_enumerable.rb | 0 .../lib/types/types/typed_enumerator.rb | 0 .../lib/types/types/typed_enumerator_chain.rb | 0 .../lib/types/types/typed_enumerator_lazy.rb | 0 .../lib/types/types/typed_hash.rb | 0 .../lib/types/types/typed_range.rb | 0 .../lib/types/types/typed_set.rb | 0 .../lib/types/types/union.rb | 0 .../lib/types/types/untyped.rb | 0 .../lib/types/utils.rb | 0 89 files changed, 5 insertions(+), 4 deletions(-) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11865 => sorbet-runtime-0.5.11874}/lib/sorbet-runtime.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11865 => sorbet-runtime-0.5.11874}/lib/types/_types.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11865 => sorbet-runtime-0.5.11874}/lib/types/abstract_utils.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11865 => sorbet-runtime-0.5.11874}/lib/types/boolean.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11865 => sorbet-runtime-0.5.11874}/lib/types/compatibility_patches.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11865 => sorbet-runtime-0.5.11874}/lib/types/configuration.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11865 => sorbet-runtime-0.5.11874}/lib/types/enum.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11865 => sorbet-runtime-0.5.11874}/lib/types/generic.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11865 => sorbet-runtime-0.5.11874}/lib/types/helpers.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11865 => sorbet-runtime-0.5.11874}/lib/types/non_forcing_constants.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11865 => sorbet-runtime-0.5.11874}/lib/types/private/abstract/data.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11865 => sorbet-runtime-0.5.11874}/lib/types/private/abstract/declare.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11865 => sorbet-runtime-0.5.11874}/lib/types/private/abstract/hooks.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11865 => sorbet-runtime-0.5.11874}/lib/types/private/abstract/validate.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11865 => sorbet-runtime-0.5.11874}/lib/types/private/caller_utils.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11865 => sorbet-runtime-0.5.11874}/lib/types/private/casts.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11865 => sorbet-runtime-0.5.11874}/lib/types/private/class_utils.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11865 => sorbet-runtime-0.5.11874}/lib/types/private/decl_state.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11865 => sorbet-runtime-0.5.11874}/lib/types/private/final.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11865 => sorbet-runtime-0.5.11874}/lib/types/private/methods/_methods.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11865 => sorbet-runtime-0.5.11874}/lib/types/private/methods/call_validation.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11865 => sorbet-runtime-0.5.11874}/lib/types/private/methods/call_validation_2_6.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11865 => sorbet-runtime-0.5.11874}/lib/types/private/methods/call_validation_2_7.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11865 => sorbet-runtime-0.5.11874}/lib/types/private/methods/decl_builder.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11865 => sorbet-runtime-0.5.11874}/lib/types/private/methods/modes.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11865 => sorbet-runtime-0.5.11874}/lib/types/private/methods/signature.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11865 => sorbet-runtime-0.5.11874}/lib/types/private/methods/signature_validation.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11865 => sorbet-runtime-0.5.11874}/lib/types/private/mixins/mixins.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11865 => sorbet-runtime-0.5.11874}/lib/types/private/retry.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11865 => sorbet-runtime-0.5.11874}/lib/types/private/runtime_levels.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11865 => sorbet-runtime-0.5.11874}/lib/types/private/sealed.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11865 => sorbet-runtime-0.5.11874}/lib/types/private/types/not_typed.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11865 => sorbet-runtime-0.5.11874}/lib/types/private/types/simple_pair_union.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11865 => sorbet-runtime-0.5.11874}/lib/types/private/types/string_holder.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11865 => sorbet-runtime-0.5.11874}/lib/types/private/types/type_alias.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11865 => sorbet-runtime-0.5.11874}/lib/types/private/types/void.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11865 => sorbet-runtime-0.5.11874}/lib/types/props/_props.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11865 => sorbet-runtime-0.5.11874}/lib/types/props/constructor.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11865 => sorbet-runtime-0.5.11874}/lib/types/props/custom_type.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11865 => sorbet-runtime-0.5.11874}/lib/types/props/decorator.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11865 => sorbet-runtime-0.5.11874}/lib/types/props/errors.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11865 => sorbet-runtime-0.5.11874}/lib/types/props/generated_code_validation.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11865 => sorbet-runtime-0.5.11874}/lib/types/props/has_lazily_specialized_methods.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11865 => sorbet-runtime-0.5.11874}/lib/types/props/optional.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11865 => sorbet-runtime-0.5.11874}/lib/types/props/plugin.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11865 => sorbet-runtime-0.5.11874}/lib/types/props/pretty_printable.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11865 => sorbet-runtime-0.5.11874}/lib/types/props/private/apply_default.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11865 => sorbet-runtime-0.5.11874}/lib/types/props/private/deserializer_generator.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11865 => sorbet-runtime-0.5.11874}/lib/types/props/private/parser.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11865 => sorbet-runtime-0.5.11874}/lib/types/props/private/serde_transform.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11865 => sorbet-runtime-0.5.11874}/lib/types/props/private/serializer_generator.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11865 => sorbet-runtime-0.5.11874}/lib/types/props/private/setter_factory.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11865 => sorbet-runtime-0.5.11874}/lib/types/props/serializable.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11865 => sorbet-runtime-0.5.11874}/lib/types/props/type_validation.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11865 => sorbet-runtime-0.5.11874}/lib/types/props/utils.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11865 => sorbet-runtime-0.5.11874}/lib/types/props/weak_constructor.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11865 => sorbet-runtime-0.5.11874}/lib/types/sig.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11865 => sorbet-runtime-0.5.11874}/lib/types/struct.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11865 => sorbet-runtime-0.5.11874}/lib/types/types/anything.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11865 => sorbet-runtime-0.5.11874}/lib/types/types/attached_class.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11865 => sorbet-runtime-0.5.11874}/lib/types/types/base.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11865 => sorbet-runtime-0.5.11874}/lib/types/types/class_of.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11865 => sorbet-runtime-0.5.11874}/lib/types/types/enum.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11865 => sorbet-runtime-0.5.11874}/lib/types/types/fixed_array.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11865 => sorbet-runtime-0.5.11874}/lib/types/types/fixed_hash.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11865 => sorbet-runtime-0.5.11874}/lib/types/types/intersection.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11865 => sorbet-runtime-0.5.11874}/lib/types/types/noreturn.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11865 => sorbet-runtime-0.5.11874}/lib/types/types/proc.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11865 => sorbet-runtime-0.5.11874}/lib/types/types/self_type.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11865 => sorbet-runtime-0.5.11874}/lib/types/types/simple.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11865 => sorbet-runtime-0.5.11874}/lib/types/types/t_enum.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11865 => sorbet-runtime-0.5.11874}/lib/types/types/type_member.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11865 => sorbet-runtime-0.5.11874}/lib/types/types/type_parameter.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11865 => sorbet-runtime-0.5.11874}/lib/types/types/type_template.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11865 => sorbet-runtime-0.5.11874}/lib/types/types/type_variable.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11865 => sorbet-runtime-0.5.11874}/lib/types/types/typed_array.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11865 => sorbet-runtime-0.5.11874}/lib/types/types/typed_class.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11865 => sorbet-runtime-0.5.11874}/lib/types/types/typed_enumerable.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11865 => sorbet-runtime-0.5.11874}/lib/types/types/typed_enumerator.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11865 => sorbet-runtime-0.5.11874}/lib/types/types/typed_enumerator_chain.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11865 => sorbet-runtime-0.5.11874}/lib/types/types/typed_enumerator_lazy.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11865 => sorbet-runtime-0.5.11874}/lib/types/types/typed_hash.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11865 => sorbet-runtime-0.5.11874}/lib/types/types/typed_range.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11865 => sorbet-runtime-0.5.11874}/lib/types/types/typed_set.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11865 => sorbet-runtime-0.5.11874}/lib/types/types/union.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11865 => sorbet-runtime-0.5.11874}/lib/types/types/untyped.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11865 => sorbet-runtime-0.5.11874}/lib/types/utils.rb (100%) diff --git a/Library/Homebrew/Gemfile.lock b/Library/Homebrew/Gemfile.lock index cf71bb3e96..c7a0908171 100644 --- a/Library/Homebrew/Gemfile.lock +++ b/Library/Homebrew/Gemfile.lock @@ -155,6 +155,7 @@ GEM PLATFORMS aarch64-linux + arm-linux arm64-darwin x86_64-darwin x86_64-linux diff --git a/Library/Homebrew/vendor/bundle/bundler/setup.rb b/Library/Homebrew/vendor/bundle/bundler/setup.rb index e47d462ba4..a696e72d0b 100644 --- a/Library/Homebrew/vendor/bundle/bundler/setup.rb +++ b/Library/Homebrew/vendor/bundle/bundler/setup.rb @@ -75,7 +75,7 @@ $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/extensions/arm64-darwin-20/#{Gem.extension_api_version}/pycall-1.5.2") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/pycall-1.5.2/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rainbow-3.1.1/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-runtime-0.5.11865/lib") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-runtime-0.5.11874/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rbi-0.2.4/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/extensions/arm64-darwin-20/#{Gem.extension_api_version}/rbs-3.8.1") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rbs-3.8.1/lib") @@ -107,9 +107,9 @@ $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/simplecov_json_formatter-0.1.4/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/simplecov-0.22.0/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/simplecov-cobertura-2.1.0/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-static-0.5.11865-universal-darwin/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-0.5.11865/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-static-and-runtime-0.5.11865/lib") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-static-0.5.11874-universal-darwin/lib") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-0.5.11874/lib") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-static-and-runtime-0.5.11874/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/thor-1.3.2/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/spoom-1.5.4/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/extensions/arm64-darwin-20/#{Gem.extension_api_version}/stackprof-0.2.27") diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/sorbet-runtime.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/sorbet-runtime.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/sorbet-runtime.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/sorbet-runtime.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/_types.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/_types.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/_types.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/_types.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/abstract_utils.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/abstract_utils.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/abstract_utils.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/abstract_utils.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/boolean.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/boolean.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/boolean.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/boolean.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/compatibility_patches.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/compatibility_patches.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/compatibility_patches.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/compatibility_patches.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/configuration.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/configuration.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/configuration.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/configuration.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/enum.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/enum.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/enum.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/enum.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/generic.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/generic.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/generic.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/generic.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/helpers.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/helpers.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/helpers.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/helpers.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/non_forcing_constants.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/non_forcing_constants.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/non_forcing_constants.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/non_forcing_constants.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/private/abstract/data.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/private/abstract/data.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/private/abstract/data.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/private/abstract/data.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/private/abstract/declare.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/private/abstract/declare.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/private/abstract/declare.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/private/abstract/declare.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/private/abstract/hooks.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/private/abstract/hooks.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/private/abstract/hooks.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/private/abstract/hooks.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/private/abstract/validate.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/private/abstract/validate.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/private/abstract/validate.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/private/abstract/validate.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/private/caller_utils.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/private/caller_utils.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/private/caller_utils.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/private/caller_utils.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/private/casts.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/private/casts.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/private/casts.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/private/casts.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/private/class_utils.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/private/class_utils.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/private/class_utils.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/private/class_utils.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/private/decl_state.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/private/decl_state.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/private/decl_state.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/private/decl_state.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/private/final.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/private/final.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/private/final.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/private/final.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/private/methods/_methods.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/private/methods/_methods.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/private/methods/_methods.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/private/methods/_methods.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/private/methods/call_validation.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/private/methods/call_validation.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/private/methods/call_validation.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/private/methods/call_validation.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/private/methods/call_validation_2_6.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/private/methods/call_validation_2_6.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/private/methods/call_validation_2_6.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/private/methods/call_validation_2_6.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/private/methods/call_validation_2_7.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/private/methods/call_validation_2_7.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/private/methods/call_validation_2_7.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/private/methods/call_validation_2_7.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/private/methods/decl_builder.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/private/methods/decl_builder.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/private/methods/decl_builder.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/private/methods/decl_builder.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/private/methods/modes.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/private/methods/modes.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/private/methods/modes.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/private/methods/modes.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/private/methods/signature.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/private/methods/signature.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/private/methods/signature.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/private/methods/signature.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/private/methods/signature_validation.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/private/methods/signature_validation.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/private/methods/signature_validation.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/private/methods/signature_validation.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/private/mixins/mixins.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/private/mixins/mixins.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/private/mixins/mixins.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/private/mixins/mixins.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/private/retry.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/private/retry.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/private/retry.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/private/retry.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/private/runtime_levels.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/private/runtime_levels.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/private/runtime_levels.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/private/runtime_levels.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/private/sealed.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/private/sealed.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/private/sealed.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/private/sealed.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/private/types/not_typed.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/private/types/not_typed.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/private/types/not_typed.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/private/types/not_typed.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/private/types/simple_pair_union.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/private/types/simple_pair_union.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/private/types/simple_pair_union.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/private/types/simple_pair_union.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/private/types/string_holder.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/private/types/string_holder.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/private/types/string_holder.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/private/types/string_holder.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/private/types/type_alias.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/private/types/type_alias.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/private/types/type_alias.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/private/types/type_alias.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/private/types/void.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/private/types/void.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/private/types/void.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/private/types/void.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/props/_props.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/props/_props.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/props/_props.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/props/_props.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/props/constructor.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/props/constructor.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/props/constructor.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/props/constructor.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/props/custom_type.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/props/custom_type.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/props/custom_type.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/props/custom_type.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/props/decorator.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/props/decorator.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/props/decorator.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/props/decorator.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/props/errors.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/props/errors.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/props/errors.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/props/errors.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/props/generated_code_validation.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/props/generated_code_validation.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/props/generated_code_validation.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/props/generated_code_validation.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/props/has_lazily_specialized_methods.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/props/has_lazily_specialized_methods.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/props/has_lazily_specialized_methods.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/props/has_lazily_specialized_methods.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/props/optional.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/props/optional.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/props/optional.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/props/optional.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/props/plugin.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/props/plugin.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/props/plugin.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/props/plugin.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/props/pretty_printable.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/props/pretty_printable.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/props/pretty_printable.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/props/pretty_printable.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/props/private/apply_default.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/props/private/apply_default.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/props/private/apply_default.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/props/private/apply_default.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/props/private/deserializer_generator.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/props/private/deserializer_generator.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/props/private/deserializer_generator.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/props/private/deserializer_generator.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/props/private/parser.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/props/private/parser.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/props/private/parser.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/props/private/parser.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/props/private/serde_transform.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/props/private/serde_transform.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/props/private/serde_transform.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/props/private/serde_transform.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/props/private/serializer_generator.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/props/private/serializer_generator.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/props/private/serializer_generator.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/props/private/serializer_generator.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/props/private/setter_factory.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/props/private/setter_factory.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/props/private/setter_factory.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/props/private/setter_factory.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/props/serializable.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/props/serializable.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/props/serializable.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/props/serializable.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/props/type_validation.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/props/type_validation.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/props/type_validation.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/props/type_validation.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/props/utils.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/props/utils.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/props/utils.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/props/utils.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/props/weak_constructor.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/props/weak_constructor.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/props/weak_constructor.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/props/weak_constructor.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/sig.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/sig.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/sig.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/sig.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/struct.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/struct.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/struct.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/struct.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/types/anything.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/types/anything.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/types/anything.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/types/anything.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/types/attached_class.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/types/attached_class.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/types/attached_class.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/types/attached_class.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/types/base.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/types/base.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/types/base.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/types/base.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/types/class_of.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/types/class_of.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/types/class_of.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/types/class_of.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/types/enum.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/types/enum.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/types/enum.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/types/enum.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/types/fixed_array.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/types/fixed_array.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/types/fixed_array.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/types/fixed_array.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/types/fixed_hash.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/types/fixed_hash.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/types/fixed_hash.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/types/fixed_hash.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/types/intersection.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/types/intersection.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/types/intersection.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/types/intersection.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/types/noreturn.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/types/noreturn.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/types/noreturn.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/types/noreturn.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/types/proc.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/types/proc.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/types/proc.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/types/proc.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/types/self_type.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/types/self_type.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/types/self_type.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/types/self_type.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/types/simple.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/types/simple.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/types/simple.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/types/simple.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/types/t_enum.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/types/t_enum.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/types/t_enum.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/types/t_enum.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/types/type_member.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/types/type_member.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/types/type_member.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/types/type_member.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/types/type_parameter.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/types/type_parameter.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/types/type_parameter.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/types/type_parameter.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/types/type_template.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/types/type_template.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/types/type_template.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/types/type_template.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/types/type_variable.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/types/type_variable.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/types/type_variable.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/types/type_variable.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/types/typed_array.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/types/typed_array.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/types/typed_array.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/types/typed_array.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/types/typed_class.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/types/typed_class.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/types/typed_class.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/types/typed_class.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/types/typed_enumerable.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/types/typed_enumerable.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/types/typed_enumerable.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/types/typed_enumerable.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/types/typed_enumerator.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/types/typed_enumerator.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/types/typed_enumerator.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/types/typed_enumerator.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/types/typed_enumerator_chain.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/types/typed_enumerator_chain.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/types/typed_enumerator_chain.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/types/typed_enumerator_chain.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/types/typed_enumerator_lazy.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/types/typed_enumerator_lazy.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/types/typed_enumerator_lazy.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/types/typed_enumerator_lazy.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/types/typed_hash.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/types/typed_hash.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/types/typed_hash.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/types/typed_hash.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/types/typed_range.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/types/typed_range.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/types/typed_range.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/types/typed_range.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/types/typed_set.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/types/typed_set.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/types/typed_set.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/types/typed_set.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/types/union.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/types/union.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/types/union.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/types/union.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/types/untyped.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/types/untyped.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/types/untyped.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/types/untyped.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/utils.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/utils.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11865/lib/types/utils.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/utils.rb From a8e192fde54a33f3ba00df1b460a544973712837 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun, 2 Mar 2025 05:33:57 +0000 Subject: [PATCH 202/322] build(deps): bump the sorbet group in /Library/Homebrew with 4 updates Bumps the sorbet group in /Library/Homebrew with 4 updates: [sorbet-static-and-runtime](https://github.com/sorbet/sorbet), [sorbet-runtime](https://github.com/sorbet/sorbet), [sorbet](https://github.com/sorbet/sorbet) and [sorbet-static](https://github.com/sorbet/sorbet). Updates `sorbet-static-and-runtime` from 0.5.11874 to 0.5.11875 - [Release notes](https://github.com/sorbet/sorbet/releases) - [Commits](https://github.com/sorbet/sorbet/commits) Updates `sorbet-runtime` from 0.5.11874 to 0.5.11875 - [Release notes](https://github.com/sorbet/sorbet/releases) - [Commits](https://github.com/sorbet/sorbet/commits) Updates `sorbet` from 0.5.11874 to 0.5.11875 - [Release notes](https://github.com/sorbet/sorbet/releases) - [Commits](https://github.com/sorbet/sorbet/commits) Updates `sorbet-static` from 0.5.11874 to 0.5.11875 - [Release notes](https://github.com/sorbet/sorbet/releases) - [Commits](https://github.com/sorbet/sorbet/commits) --- updated-dependencies: - dependency-name: sorbet-static-and-runtime dependency-type: direct:development update-type: version-update:semver-patch dependency-group: sorbet - dependency-name: sorbet-runtime dependency-type: direct:production update-type: version-update:semver-patch dependency-group: sorbet - dependency-name: sorbet dependency-type: indirect update-type: version-update:semver-patch dependency-group: sorbet - dependency-name: sorbet-static dependency-type: indirect update-type: version-update:semver-patch dependency-group: sorbet ... Signed-off-by: dependabot[bot] --- Library/Homebrew/Gemfile.lock | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/Library/Homebrew/Gemfile.lock b/Library/Homebrew/Gemfile.lock index c7a0908171..db6ed849cf 100644 --- a/Library/Homebrew/Gemfile.lock +++ b/Library/Homebrew/Gemfile.lock @@ -116,15 +116,15 @@ GEM simplecov-html (0.13.1) simplecov_json_formatter (0.1.4) simpleidn (0.2.3) - sorbet (0.5.11874) - sorbet-static (= 0.5.11874) - sorbet-runtime (0.5.11874) - sorbet-static (0.5.11874-aarch64-linux) - sorbet-static (0.5.11874-universal-darwin) - sorbet-static (0.5.11874-x86_64-linux) - sorbet-static-and-runtime (0.5.11874) - sorbet (= 0.5.11874) - sorbet-runtime (= 0.5.11874) + sorbet (0.5.11875) + sorbet-static (= 0.5.11875) + sorbet-runtime (0.5.11875) + sorbet-static (0.5.11875-aarch64-linux) + sorbet-static (0.5.11875-universal-darwin) + sorbet-static (0.5.11875-x86_64-linux) + sorbet-static-and-runtime (0.5.11875) + sorbet (= 0.5.11875) + sorbet-runtime (= 0.5.11875) spoom (1.5.4) erubi (>= 1.10.0) prism (>= 0.28.0) @@ -155,7 +155,6 @@ GEM PLATFORMS aarch64-linux - arm-linux arm64-darwin x86_64-darwin x86_64-linux From f43e0c4804c8323ad58d04d6a759ef876b6b792f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun, 2 Mar 2025 05:34:07 +0000 Subject: [PATCH 203/322] build(deps-dev): bump parallel_tests in /Library/Homebrew Bumps [parallel_tests](https://github.com/grosser/parallel_tests) from 4.9.1 to 5.0.0. - [Changelog](https://github.com/grosser/parallel_tests/blob/master/CHANGELOG.md) - [Commits](https://github.com/grosser/parallel_tests/compare/v4.9.1...v5.0.0) --- updated-dependencies: - dependency-name: parallel_tests dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- Library/Homebrew/Gemfile.lock | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Library/Homebrew/Gemfile.lock b/Library/Homebrew/Gemfile.lock index c7a0908171..9286693a81 100644 --- a/Library/Homebrew/Gemfile.lock +++ b/Library/Homebrew/Gemfile.lock @@ -31,7 +31,7 @@ GEM minitest (5.25.4) netrc (0.11.0) parallel (1.26.3) - parallel_tests (4.9.1) + parallel_tests (5.0.0) parallel parser (3.3.7.1) ast (~> 2.4.1) @@ -155,7 +155,6 @@ GEM PLATFORMS aarch64-linux - arm-linux arm64-darwin x86_64-darwin x86_64-linux From 51b06c63b397b3ee92e0a430b07699cfcea4cd88 Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Sun, 2 Mar 2025 05:36:54 +0000 Subject: [PATCH 204/322] brew vendor-gems: commit updates. --- Library/Homebrew/Gemfile.lock | 1 + Library/Homebrew/vendor/bundle/bundler/setup.rb | 8 ++++---- .../lib/sorbet-runtime.rb | 0 .../lib/types/_types.rb | 0 .../lib/types/abstract_utils.rb | 0 .../lib/types/boolean.rb | 0 .../lib/types/compatibility_patches.rb | 0 .../lib/types/configuration.rb | 0 .../lib/types/enum.rb | 0 .../lib/types/generic.rb | 0 .../lib/types/helpers.rb | 0 .../lib/types/non_forcing_constants.rb | 0 .../lib/types/private/abstract/data.rb | 0 .../lib/types/private/abstract/declare.rb | 0 .../lib/types/private/abstract/hooks.rb | 0 .../lib/types/private/abstract/validate.rb | 0 .../lib/types/private/caller_utils.rb | 0 .../lib/types/private/casts.rb | 0 .../lib/types/private/class_utils.rb | 0 .../lib/types/private/decl_state.rb | 0 .../lib/types/private/final.rb | 0 .../lib/types/private/methods/_methods.rb | 0 .../lib/types/private/methods/call_validation.rb | 0 .../lib/types/private/methods/call_validation_2_6.rb | 0 .../lib/types/private/methods/call_validation_2_7.rb | 0 .../lib/types/private/methods/decl_builder.rb | 0 .../lib/types/private/methods/modes.rb | 0 .../lib/types/private/methods/signature.rb | 0 .../lib/types/private/methods/signature_validation.rb | 0 .../lib/types/private/mixins/mixins.rb | 0 .../lib/types/private/retry.rb | 0 .../lib/types/private/runtime_levels.rb | 0 .../lib/types/private/sealed.rb | 0 .../lib/types/private/types/not_typed.rb | 0 .../lib/types/private/types/simple_pair_union.rb | 0 .../lib/types/private/types/string_holder.rb | 0 .../lib/types/private/types/type_alias.rb | 0 .../lib/types/private/types/void.rb | 0 .../lib/types/props/_props.rb | 0 .../lib/types/props/constructor.rb | 0 .../lib/types/props/custom_type.rb | 0 .../lib/types/props/decorator.rb | 0 .../lib/types/props/errors.rb | 0 .../lib/types/props/generated_code_validation.rb | 0 .../lib/types/props/has_lazily_specialized_methods.rb | 0 .../lib/types/props/optional.rb | 0 .../lib/types/props/plugin.rb | 0 .../lib/types/props/pretty_printable.rb | 0 .../lib/types/props/private/apply_default.rb | 0 .../lib/types/props/private/deserializer_generator.rb | 0 .../lib/types/props/private/parser.rb | 0 .../lib/types/props/private/serde_transform.rb | 0 .../lib/types/props/private/serializer_generator.rb | 0 .../lib/types/props/private/setter_factory.rb | 0 .../lib/types/props/serializable.rb | 0 .../lib/types/props/type_validation.rb | 0 .../lib/types/props/utils.rb | 0 .../lib/types/props/weak_constructor.rb | 0 .../lib/types/sig.rb | 0 .../lib/types/struct.rb | 0 .../lib/types/types/anything.rb | 0 .../lib/types/types/attached_class.rb | 0 .../lib/types/types/base.rb | 0 .../lib/types/types/class_of.rb | 0 .../lib/types/types/enum.rb | 0 .../lib/types/types/fixed_array.rb | 0 .../lib/types/types/fixed_hash.rb | 0 .../lib/types/types/intersection.rb | 0 .../lib/types/types/noreturn.rb | 0 .../lib/types/types/proc.rb | 0 .../lib/types/types/self_type.rb | 0 .../lib/types/types/simple.rb | 0 .../lib/types/types/t_enum.rb | 0 .../lib/types/types/type_member.rb | 0 .../lib/types/types/type_parameter.rb | 0 .../lib/types/types/type_template.rb | 0 .../lib/types/types/type_variable.rb | 0 .../lib/types/types/typed_array.rb | 0 .../lib/types/types/typed_class.rb | 0 .../lib/types/types/typed_enumerable.rb | 0 .../lib/types/types/typed_enumerator.rb | 0 .../lib/types/types/typed_enumerator_chain.rb | 0 .../lib/types/types/typed_enumerator_lazy.rb | 0 .../lib/types/types/typed_hash.rb | 0 .../lib/types/types/typed_range.rb | 0 .../lib/types/types/typed_set.rb | 0 .../lib/types/types/union.rb | 0 .../lib/types/types/untyped.rb | 0 .../lib/types/utils.rb | 0 89 files changed, 5 insertions(+), 4 deletions(-) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11874 => sorbet-runtime-0.5.11875}/lib/sorbet-runtime.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11874 => sorbet-runtime-0.5.11875}/lib/types/_types.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11874 => sorbet-runtime-0.5.11875}/lib/types/abstract_utils.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11874 => sorbet-runtime-0.5.11875}/lib/types/boolean.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11874 => sorbet-runtime-0.5.11875}/lib/types/compatibility_patches.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11874 => sorbet-runtime-0.5.11875}/lib/types/configuration.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11874 => sorbet-runtime-0.5.11875}/lib/types/enum.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11874 => sorbet-runtime-0.5.11875}/lib/types/generic.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11874 => sorbet-runtime-0.5.11875}/lib/types/helpers.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11874 => sorbet-runtime-0.5.11875}/lib/types/non_forcing_constants.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11874 => sorbet-runtime-0.5.11875}/lib/types/private/abstract/data.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11874 => sorbet-runtime-0.5.11875}/lib/types/private/abstract/declare.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11874 => sorbet-runtime-0.5.11875}/lib/types/private/abstract/hooks.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11874 => sorbet-runtime-0.5.11875}/lib/types/private/abstract/validate.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11874 => sorbet-runtime-0.5.11875}/lib/types/private/caller_utils.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11874 => sorbet-runtime-0.5.11875}/lib/types/private/casts.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11874 => sorbet-runtime-0.5.11875}/lib/types/private/class_utils.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11874 => sorbet-runtime-0.5.11875}/lib/types/private/decl_state.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11874 => sorbet-runtime-0.5.11875}/lib/types/private/final.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11874 => sorbet-runtime-0.5.11875}/lib/types/private/methods/_methods.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11874 => sorbet-runtime-0.5.11875}/lib/types/private/methods/call_validation.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11874 => sorbet-runtime-0.5.11875}/lib/types/private/methods/call_validation_2_6.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11874 => sorbet-runtime-0.5.11875}/lib/types/private/methods/call_validation_2_7.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11874 => sorbet-runtime-0.5.11875}/lib/types/private/methods/decl_builder.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11874 => sorbet-runtime-0.5.11875}/lib/types/private/methods/modes.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11874 => sorbet-runtime-0.5.11875}/lib/types/private/methods/signature.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11874 => sorbet-runtime-0.5.11875}/lib/types/private/methods/signature_validation.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11874 => sorbet-runtime-0.5.11875}/lib/types/private/mixins/mixins.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11874 => sorbet-runtime-0.5.11875}/lib/types/private/retry.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11874 => sorbet-runtime-0.5.11875}/lib/types/private/runtime_levels.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11874 => sorbet-runtime-0.5.11875}/lib/types/private/sealed.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11874 => sorbet-runtime-0.5.11875}/lib/types/private/types/not_typed.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11874 => sorbet-runtime-0.5.11875}/lib/types/private/types/simple_pair_union.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11874 => sorbet-runtime-0.5.11875}/lib/types/private/types/string_holder.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11874 => sorbet-runtime-0.5.11875}/lib/types/private/types/type_alias.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11874 => sorbet-runtime-0.5.11875}/lib/types/private/types/void.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11874 => sorbet-runtime-0.5.11875}/lib/types/props/_props.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11874 => sorbet-runtime-0.5.11875}/lib/types/props/constructor.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11874 => sorbet-runtime-0.5.11875}/lib/types/props/custom_type.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11874 => sorbet-runtime-0.5.11875}/lib/types/props/decorator.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11874 => sorbet-runtime-0.5.11875}/lib/types/props/errors.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11874 => sorbet-runtime-0.5.11875}/lib/types/props/generated_code_validation.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11874 => sorbet-runtime-0.5.11875}/lib/types/props/has_lazily_specialized_methods.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11874 => sorbet-runtime-0.5.11875}/lib/types/props/optional.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11874 => sorbet-runtime-0.5.11875}/lib/types/props/plugin.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11874 => sorbet-runtime-0.5.11875}/lib/types/props/pretty_printable.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11874 => sorbet-runtime-0.5.11875}/lib/types/props/private/apply_default.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11874 => sorbet-runtime-0.5.11875}/lib/types/props/private/deserializer_generator.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11874 => sorbet-runtime-0.5.11875}/lib/types/props/private/parser.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11874 => sorbet-runtime-0.5.11875}/lib/types/props/private/serde_transform.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11874 => sorbet-runtime-0.5.11875}/lib/types/props/private/serializer_generator.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11874 => sorbet-runtime-0.5.11875}/lib/types/props/private/setter_factory.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11874 => sorbet-runtime-0.5.11875}/lib/types/props/serializable.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11874 => sorbet-runtime-0.5.11875}/lib/types/props/type_validation.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11874 => sorbet-runtime-0.5.11875}/lib/types/props/utils.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11874 => sorbet-runtime-0.5.11875}/lib/types/props/weak_constructor.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11874 => sorbet-runtime-0.5.11875}/lib/types/sig.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11874 => sorbet-runtime-0.5.11875}/lib/types/struct.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11874 => sorbet-runtime-0.5.11875}/lib/types/types/anything.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11874 => sorbet-runtime-0.5.11875}/lib/types/types/attached_class.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11874 => sorbet-runtime-0.5.11875}/lib/types/types/base.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11874 => sorbet-runtime-0.5.11875}/lib/types/types/class_of.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11874 => sorbet-runtime-0.5.11875}/lib/types/types/enum.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11874 => sorbet-runtime-0.5.11875}/lib/types/types/fixed_array.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11874 => sorbet-runtime-0.5.11875}/lib/types/types/fixed_hash.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11874 => sorbet-runtime-0.5.11875}/lib/types/types/intersection.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11874 => sorbet-runtime-0.5.11875}/lib/types/types/noreturn.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11874 => sorbet-runtime-0.5.11875}/lib/types/types/proc.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11874 => sorbet-runtime-0.5.11875}/lib/types/types/self_type.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11874 => sorbet-runtime-0.5.11875}/lib/types/types/simple.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11874 => sorbet-runtime-0.5.11875}/lib/types/types/t_enum.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11874 => sorbet-runtime-0.5.11875}/lib/types/types/type_member.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11874 => sorbet-runtime-0.5.11875}/lib/types/types/type_parameter.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11874 => sorbet-runtime-0.5.11875}/lib/types/types/type_template.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11874 => sorbet-runtime-0.5.11875}/lib/types/types/type_variable.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11874 => sorbet-runtime-0.5.11875}/lib/types/types/typed_array.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11874 => sorbet-runtime-0.5.11875}/lib/types/types/typed_class.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11874 => sorbet-runtime-0.5.11875}/lib/types/types/typed_enumerable.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11874 => sorbet-runtime-0.5.11875}/lib/types/types/typed_enumerator.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11874 => sorbet-runtime-0.5.11875}/lib/types/types/typed_enumerator_chain.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11874 => sorbet-runtime-0.5.11875}/lib/types/types/typed_enumerator_lazy.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11874 => sorbet-runtime-0.5.11875}/lib/types/types/typed_hash.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11874 => sorbet-runtime-0.5.11875}/lib/types/types/typed_range.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11874 => sorbet-runtime-0.5.11875}/lib/types/types/typed_set.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11874 => sorbet-runtime-0.5.11875}/lib/types/types/union.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11874 => sorbet-runtime-0.5.11875}/lib/types/types/untyped.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11874 => sorbet-runtime-0.5.11875}/lib/types/utils.rb (100%) diff --git a/Library/Homebrew/Gemfile.lock b/Library/Homebrew/Gemfile.lock index db6ed849cf..79390ac197 100644 --- a/Library/Homebrew/Gemfile.lock +++ b/Library/Homebrew/Gemfile.lock @@ -155,6 +155,7 @@ GEM PLATFORMS aarch64-linux + arm-linux arm64-darwin x86_64-darwin x86_64-linux diff --git a/Library/Homebrew/vendor/bundle/bundler/setup.rb b/Library/Homebrew/vendor/bundle/bundler/setup.rb index a696e72d0b..55796fde45 100644 --- a/Library/Homebrew/vendor/bundle/bundler/setup.rb +++ b/Library/Homebrew/vendor/bundle/bundler/setup.rb @@ -75,7 +75,7 @@ $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/extensions/arm64-darwin-20/#{Gem.extension_api_version}/pycall-1.5.2") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/pycall-1.5.2/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rainbow-3.1.1/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-runtime-0.5.11874/lib") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-runtime-0.5.11875/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rbi-0.2.4/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/extensions/arm64-darwin-20/#{Gem.extension_api_version}/rbs-3.8.1") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rbs-3.8.1/lib") @@ -107,9 +107,9 @@ $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/simplecov_json_formatter-0.1.4/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/simplecov-0.22.0/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/simplecov-cobertura-2.1.0/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-static-0.5.11874-universal-darwin/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-0.5.11874/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-static-and-runtime-0.5.11874/lib") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-static-0.5.11875-universal-darwin/lib") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-0.5.11875/lib") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-static-and-runtime-0.5.11875/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/thor-1.3.2/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/spoom-1.5.4/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/extensions/arm64-darwin-20/#{Gem.extension_api_version}/stackprof-0.2.27") diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/sorbet-runtime.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/sorbet-runtime.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/sorbet-runtime.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/sorbet-runtime.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/_types.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/_types.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/_types.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/_types.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/abstract_utils.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/abstract_utils.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/abstract_utils.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/abstract_utils.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/boolean.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/boolean.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/boolean.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/boolean.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/compatibility_patches.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/compatibility_patches.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/compatibility_patches.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/compatibility_patches.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/configuration.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/configuration.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/configuration.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/configuration.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/enum.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/enum.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/enum.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/enum.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/generic.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/generic.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/generic.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/generic.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/helpers.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/helpers.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/helpers.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/helpers.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/non_forcing_constants.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/non_forcing_constants.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/non_forcing_constants.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/non_forcing_constants.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/private/abstract/data.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/private/abstract/data.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/private/abstract/data.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/private/abstract/data.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/private/abstract/declare.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/private/abstract/declare.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/private/abstract/declare.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/private/abstract/declare.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/private/abstract/hooks.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/private/abstract/hooks.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/private/abstract/hooks.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/private/abstract/hooks.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/private/abstract/validate.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/private/abstract/validate.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/private/abstract/validate.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/private/abstract/validate.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/private/caller_utils.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/private/caller_utils.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/private/caller_utils.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/private/caller_utils.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/private/casts.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/private/casts.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/private/casts.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/private/casts.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/private/class_utils.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/private/class_utils.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/private/class_utils.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/private/class_utils.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/private/decl_state.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/private/decl_state.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/private/decl_state.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/private/decl_state.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/private/final.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/private/final.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/private/final.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/private/final.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/private/methods/_methods.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/private/methods/_methods.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/private/methods/_methods.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/private/methods/_methods.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/private/methods/call_validation.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/private/methods/call_validation.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/private/methods/call_validation.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/private/methods/call_validation.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/private/methods/call_validation_2_6.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/private/methods/call_validation_2_6.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/private/methods/call_validation_2_6.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/private/methods/call_validation_2_6.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/private/methods/call_validation_2_7.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/private/methods/call_validation_2_7.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/private/methods/call_validation_2_7.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/private/methods/call_validation_2_7.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/private/methods/decl_builder.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/private/methods/decl_builder.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/private/methods/decl_builder.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/private/methods/decl_builder.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/private/methods/modes.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/private/methods/modes.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/private/methods/modes.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/private/methods/modes.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/private/methods/signature.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/private/methods/signature.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/private/methods/signature.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/private/methods/signature.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/private/methods/signature_validation.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/private/methods/signature_validation.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/private/methods/signature_validation.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/private/methods/signature_validation.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/private/mixins/mixins.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/private/mixins/mixins.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/private/mixins/mixins.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/private/mixins/mixins.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/private/retry.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/private/retry.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/private/retry.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/private/retry.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/private/runtime_levels.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/private/runtime_levels.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/private/runtime_levels.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/private/runtime_levels.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/private/sealed.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/private/sealed.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/private/sealed.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/private/sealed.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/private/types/not_typed.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/private/types/not_typed.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/private/types/not_typed.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/private/types/not_typed.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/private/types/simple_pair_union.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/private/types/simple_pair_union.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/private/types/simple_pair_union.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/private/types/simple_pair_union.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/private/types/string_holder.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/private/types/string_holder.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/private/types/string_holder.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/private/types/string_holder.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/private/types/type_alias.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/private/types/type_alias.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/private/types/type_alias.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/private/types/type_alias.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/private/types/void.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/private/types/void.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/private/types/void.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/private/types/void.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/props/_props.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/props/_props.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/props/_props.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/props/_props.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/props/constructor.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/props/constructor.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/props/constructor.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/props/constructor.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/props/custom_type.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/props/custom_type.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/props/custom_type.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/props/custom_type.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/props/decorator.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/props/decorator.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/props/decorator.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/props/decorator.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/props/errors.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/props/errors.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/props/errors.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/props/errors.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/props/generated_code_validation.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/props/generated_code_validation.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/props/generated_code_validation.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/props/generated_code_validation.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/props/has_lazily_specialized_methods.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/props/has_lazily_specialized_methods.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/props/has_lazily_specialized_methods.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/props/has_lazily_specialized_methods.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/props/optional.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/props/optional.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/props/optional.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/props/optional.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/props/plugin.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/props/plugin.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/props/plugin.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/props/plugin.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/props/pretty_printable.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/props/pretty_printable.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/props/pretty_printable.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/props/pretty_printable.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/props/private/apply_default.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/props/private/apply_default.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/props/private/apply_default.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/props/private/apply_default.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/props/private/deserializer_generator.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/props/private/deserializer_generator.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/props/private/deserializer_generator.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/props/private/deserializer_generator.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/props/private/parser.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/props/private/parser.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/props/private/parser.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/props/private/parser.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/props/private/serde_transform.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/props/private/serde_transform.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/props/private/serde_transform.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/props/private/serde_transform.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/props/private/serializer_generator.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/props/private/serializer_generator.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/props/private/serializer_generator.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/props/private/serializer_generator.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/props/private/setter_factory.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/props/private/setter_factory.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/props/private/setter_factory.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/props/private/setter_factory.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/props/serializable.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/props/serializable.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/props/serializable.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/props/serializable.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/props/type_validation.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/props/type_validation.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/props/type_validation.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/props/type_validation.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/props/utils.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/props/utils.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/props/utils.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/props/utils.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/props/weak_constructor.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/props/weak_constructor.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/props/weak_constructor.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/props/weak_constructor.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/sig.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/sig.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/sig.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/sig.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/struct.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/struct.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/struct.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/struct.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/types/anything.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/types/anything.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/types/anything.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/types/anything.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/types/attached_class.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/types/attached_class.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/types/attached_class.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/types/attached_class.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/types/base.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/types/base.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/types/base.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/types/base.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/types/class_of.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/types/class_of.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/types/class_of.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/types/class_of.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/types/enum.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/types/enum.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/types/enum.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/types/enum.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/types/fixed_array.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/types/fixed_array.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/types/fixed_array.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/types/fixed_array.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/types/fixed_hash.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/types/fixed_hash.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/types/fixed_hash.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/types/fixed_hash.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/types/intersection.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/types/intersection.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/types/intersection.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/types/intersection.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/types/noreturn.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/types/noreturn.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/types/noreturn.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/types/noreturn.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/types/proc.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/types/proc.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/types/proc.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/types/proc.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/types/self_type.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/types/self_type.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/types/self_type.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/types/self_type.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/types/simple.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/types/simple.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/types/simple.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/types/simple.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/types/t_enum.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/types/t_enum.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/types/t_enum.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/types/t_enum.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/types/type_member.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/types/type_member.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/types/type_member.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/types/type_member.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/types/type_parameter.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/types/type_parameter.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/types/type_parameter.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/types/type_parameter.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/types/type_template.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/types/type_template.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/types/type_template.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/types/type_template.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/types/type_variable.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/types/type_variable.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/types/type_variable.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/types/type_variable.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/types/typed_array.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/types/typed_array.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/types/typed_array.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/types/typed_array.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/types/typed_class.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/types/typed_class.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/types/typed_class.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/types/typed_class.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/types/typed_enumerable.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/types/typed_enumerable.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/types/typed_enumerable.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/types/typed_enumerable.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/types/typed_enumerator.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/types/typed_enumerator.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/types/typed_enumerator.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/types/typed_enumerator.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/types/typed_enumerator_chain.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/types/typed_enumerator_chain.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/types/typed_enumerator_chain.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/types/typed_enumerator_chain.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/types/typed_enumerator_lazy.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/types/typed_enumerator_lazy.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/types/typed_enumerator_lazy.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/types/typed_enumerator_lazy.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/types/typed_hash.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/types/typed_hash.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/types/typed_hash.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/types/typed_hash.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/types/typed_range.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/types/typed_range.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/types/typed_range.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/types/typed_range.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/types/typed_set.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/types/typed_set.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/types/typed_set.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/types/typed_set.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/types/union.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/types/union.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/types/union.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/types/union.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/types/untyped.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/types/untyped.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/types/untyped.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/types/untyped.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/utils.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/utils.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11874/lib/types/utils.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/utils.rb From a6c35549890810f596c20d09b4bd4d51ae97c652 Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Sun, 2 Mar 2025 05:37:02 +0000 Subject: [PATCH 205/322] brew vendor-gems: commit updates. --- Library/Homebrew/Gemfile.lock | 1 + Library/Homebrew/vendor/bundle/bundler/setup.rb | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Library/Homebrew/Gemfile.lock b/Library/Homebrew/Gemfile.lock index 9286693a81..a4ea15858a 100644 --- a/Library/Homebrew/Gemfile.lock +++ b/Library/Homebrew/Gemfile.lock @@ -155,6 +155,7 @@ GEM PLATFORMS aarch64-linux + arm-linux arm64-darwin x86_64-darwin x86_64-linux diff --git a/Library/Homebrew/vendor/bundle/bundler/setup.rb b/Library/Homebrew/vendor/bundle/bundler/setup.rb index a696e72d0b..3b6fae3f5f 100644 --- a/Library/Homebrew/vendor/bundle/bundler/setup.rb +++ b/Library/Homebrew/vendor/bundle/bundler/setup.rb @@ -63,7 +63,7 @@ $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/minitest-5.25.4/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/netrc-0.11.0/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/parallel-1.26.3/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/parallel_tests-4.9.1/lib") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/parallel_tests-5.0.0/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/extensions/arm64-darwin-20/#{Gem.extension_api_version}/racc-1.8.1") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/racc-1.8.1/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/parser-3.3.7.1/lib") From 7621b5c4c41898ab2d43111280c770603745086d Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Sun, 2 Mar 2025 05:37:08 +0000 Subject: [PATCH 206/322] Update RBI files for parallel_tests. Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow. --- ...sts@4.9.1.rbi => parallel_tests@5.0.0.rbi} | 34 ++++++++++++------- 1 file changed, 21 insertions(+), 13 deletions(-) rename Library/Homebrew/sorbet/rbi/gems/{parallel_tests@4.9.1.rbi => parallel_tests@5.0.0.rbi} (86%) diff --git a/Library/Homebrew/sorbet/rbi/gems/parallel_tests@4.9.1.rbi b/Library/Homebrew/sorbet/rbi/gems/parallel_tests@5.0.0.rbi similarity index 86% rename from Library/Homebrew/sorbet/rbi/gems/parallel_tests@4.9.1.rbi rename to Library/Homebrew/sorbet/rbi/gems/parallel_tests@5.0.0.rbi index 361da9d361..1212b5c716 100644 --- a/Library/Homebrew/sorbet/rbi/gems/parallel_tests@4.9.1.rbi +++ b/Library/Homebrew/sorbet/rbi/gems/parallel_tests@5.0.0.rbi @@ -14,47 +14,52 @@ module ParallelTests # # @return [Boolean] # - # source://parallel_tests//lib/parallel_tests.rb#52 + # source://parallel_tests//lib/parallel_tests.rb#66 def bundler_enabled?; end - # source://parallel_tests//lib/parallel_tests.rb#97 + # source://parallel_tests//lib/parallel_tests.rb#111 def delta; end - # source://parallel_tests//lib/parallel_tests.rb#16 + # source://parallel_tests//lib/parallel_tests.rb#28 + def determine_multiple(multiple); end + + # used by external libraries, do not rename or change api + # + # source://parallel_tests//lib/parallel_tests.rb#18 def determine_number_of_processes(count); end # @return [Boolean] # - # source://parallel_tests//lib/parallel_tests.rb#68 + # source://parallel_tests//lib/parallel_tests.rb#82 def first_process?; end # @return [Boolean] # - # source://parallel_tests//lib/parallel_tests.rb#72 + # source://parallel_tests//lib/parallel_tests.rb#86 def last_process?; end - # source://parallel_tests//lib/parallel_tests.rb#93 + # source://parallel_tests//lib/parallel_tests.rb#107 def now; end - # source://parallel_tests//lib/parallel_tests.rb#89 + # source://parallel_tests//lib/parallel_tests.rb#103 def number_of_running_processes; end - # source://parallel_tests//lib/parallel_tests.rb#41 + # source://parallel_tests//lib/parallel_tests.rb#55 def pid_file_path; end - # source://parallel_tests//lib/parallel_tests.rb#37 + # source://parallel_tests//lib/parallel_tests.rb#51 def pids; end - # source://parallel_tests//lib/parallel_tests.rb#45 + # source://parallel_tests//lib/parallel_tests.rb#59 def stop_all_processes; end - # source://parallel_tests//lib/parallel_tests.rb#84 + # source://parallel_tests//lib/parallel_tests.rb#98 def wait_for_other_processes_to_finish; end - # source://parallel_tests//lib/parallel_tests.rb#24 + # source://parallel_tests//lib/parallel_tests.rb#38 def with_pid_file; end - # source://parallel_tests//lib/parallel_tests.rb#80 + # source://parallel_tests//lib/parallel_tests.rb#94 def with_ruby_binary(command); end end end @@ -146,6 +151,9 @@ class ParallelTests::CLI def use_colors?; end end +# source://parallel_tests//lib/parallel_tests.rb#9 +ParallelTests::DEFAULT_MULTIPLY_PROCESSES = T.let(T.unsafe(nil), Float) + # source://parallel_tests//lib/parallel_tests/grouper.rb#3 class ParallelTests::Grouper class << self From c5d80271f44b1358479b3a8d16986dc93df3f40e Mon Sep 17 00:00:00 2001 From: thibhero Date: Sun, 2 Mar 2025 20:03:39 -0500 Subject: [PATCH 207/322] dont ask input if gets doesnt exist because of test --- Library/Homebrew/install.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/Library/Homebrew/install.rb b/Library/Homebrew/install.rb index ab443e0e7c..558d722737 100644 --- a/Library/Homebrew/install.rb +++ b/Library/Homebrew/install.rb @@ -329,6 +329,7 @@ module Homebrew def ask_input ohai "Do you want to proceed with the installation? [Y/y/yes/N/n]" + return unless $stdin.gets != nil accepted_inputs = %w[y yes] declined_inputs = %w[n no] loop do From b7a298e1ecf8abf33771307630579b8351dc99f0 Mon Sep 17 00:00:00 2001 From: thibhero Date: Sun, 2 Mar 2025 20:04:02 -0500 Subject: [PATCH 208/322] first test to check option `--ask` --- Library/Homebrew/test/cmd/install_spec.rb | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Library/Homebrew/test/cmd/install_spec.rb b/Library/Homebrew/test/cmd/install_spec.rb index 4772947bf0..11eb405c78 100644 --- a/Library/Homebrew/test/cmd/install_spec.rb +++ b/Library/Homebrew/test/cmd/install_spec.rb @@ -84,4 +84,15 @@ RSpec.describe Homebrew::Cmd::InstallCmd do expect(HOMEBREW_CELLAR/"testball1/0.1/bin/test.dSYM/Contents/Resources/DWARF/test").to be_a_file if OS.mac? expect(HOMEBREW_CACHE/"Sources/testball1").to be_a_directory end + + it "installs with asking for user prompts without installed dependent checks", :integration_test do + setup_test_formula "testball1" + + expect { + brew "install", "--ask", "testball1" + }.to output(/Formulae:\s*testball1/).to_stdout.and not_to_output.to_stderr + + expect(HOMEBREW_CELLAR/"testball1/0.1/bin/test").to be_a_file + end + end From 42caf20fa4720223026af75b8851891ea67e2b15 Mon Sep 17 00:00:00 2001 From: Heath Stewart Date: Sun, 2 Mar 2025 18:17:38 -0800 Subject: [PATCH 209/322] Add PowerShell (pwsh) completion support Resolves #19403 --- Library/Homebrew/caveats.rb | 7 +++++- Library/Homebrew/formula.rb | 28 ++++++++++++++++------- Library/Homebrew/keg.rb | 2 ++ Library/Homebrew/rubocops/lines.rb | 3 ++- Library/Homebrew/test/caveats_spec.rb | 7 ++++++ Library/Homebrew/test/utils/shell_spec.rb | 5 ++++ Library/Homebrew/utils/shell.rb | 10 +++++++- docs/Shell-Completion.md | 12 ++++++++++ 8 files changed, 63 insertions(+), 11 deletions(-) diff --git a/Library/Homebrew/caveats.rb b/Library/Homebrew/caveats.rb index 1769f7ce76..b843926058 100644 --- a/Library/Homebrew/caveats.rb +++ b/Library/Homebrew/caveats.rb @@ -29,7 +29,7 @@ class Caveats end caveats << keg_only_text - valid_shells = [:bash, :zsh, :fish].freeze + valid_shells = [:bash, :zsh, :fish, :pwsh].freeze current_shell = Utils::Shell.preferred || Utils::Shell.parent shells = if current_shell.present? && (shell_sym = current_shell.to_sym) && @@ -143,6 +143,11 @@ class Caveats zsh #{installed.join(" and ")} have been installed to: #{root_dir}/share/zsh/site-functions EOS + when :pwsh + <<~EOS + PowerShell completion has been installed to: + #{root_dir}/share/pwsh/completions + EOS end end diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb index 1770c1344b..74b5e957b4 100644 --- a/Library/Homebrew/formula.rb +++ b/Library/Homebrew/formula.rb @@ -1137,6 +1137,13 @@ class Formula sig { returns(Pathname) } def fish_completion = share/"fish/vendor_completions.d" + # The directory where formula's powershell completion files should be + # installed. + # This is symlinked into `HOMEBREW_PREFIX` after installation or with + # `brew link` for formulae that are not keg-only. + sig { returns(Pathname) } + def pwsh_completion = share/"pwsh/completions" + # The directory used for as the prefix for {#etc} and {#var} files on # installation so, despite not being in `HOMEBREW_CELLAR`, they are installed # there after pouring a bottle. @@ -1989,7 +1996,7 @@ class Formula end private :extract_macho_slice_from - # Generate shell completions for a formula for `bash`, `zsh` and `fish`, using the formula's executable. + # Generate shell completions for a formula for `bash`, `zsh`, `fish`, and `powershell`, using the formula's executable. # # ### Examples # @@ -2003,6 +2010,8 @@ class Formula # (zsh_completion/"_foo").write Utils.safe_popen_read({ "SHELL" => "zsh" }, bin/"foo", "completions", "zsh") # (fish_completion/"foo.fish").write Utils.safe_popen_read({ "SHELL" => "fish" }, bin/"foo", # "completions", "fish") + # (pwsh_completion/"foo").write Utils.safe_popen_read({ "SHELL" => "pwsh" }, bin/"foo", + # "completions", "powershell") # ``` # # Selecting shells and using a different `base_name`. @@ -2094,7 +2103,7 @@ class Formula } def generate_completions_from_executable(*commands, base_name: nil, - shells: [:bash, :zsh, :fish], + shells: [:bash, :zsh, :fish, :pwsh], shell_parameter_format: nil) executable = commands.first.to_s base_name ||= File.basename(executable) if executable.start_with?(bin.to_s, sbin.to_s) @@ -2104,28 +2113,31 @@ class Formula bash: bash_completion/base_name, zsh: zsh_completion/"_#{base_name}", fish: fish_completion/"#{base_name}.fish", + pwsh: pwsh_completion/"#{base_name}.ps1", } shells.each do |shell| popen_read_env = { "SHELL" => shell.to_s } script_path = completion_script_path_map[shell] + # Go's cobra and Rust's clap accept "powershell". + shell_argument = shell == :pwsh ? "powershell" : shell.to_s shell_parameter = if shell_parameter_format.nil? - shell.to_s + shell_argument.to_s elsif shell_parameter_format == :flag - "--#{shell}" + "--#{shell_argument}" elsif shell_parameter_format == :arg - "--shell=#{shell}" + "--shell=#{shell_argument}" elsif shell_parameter_format == :none nil elsif shell_parameter_format == :click prog_name = File.basename(executable).upcase.tr("-", "_") - popen_read_env["_#{prog_name}_COMPLETE"] = "#{shell}_source" + popen_read_env["_#{prog_name}_COMPLETE"] = "#{shell_argument}_source" nil elsif shell_parameter_format == :clap - popen_read_env["COMPLETE"] = shell.to_s + popen_read_env["COMPLETE"] = shell_argument.to_s nil else - "#{shell_parameter_format}#{shell}" + "#{shell_parameter_format}#{shell_argument}" end popen_read_args = %w[] diff --git a/Library/Homebrew/keg.rb b/Library/Homebrew/keg.rb index b28810e9d8..c7035fcf8c 100644 --- a/Library/Homebrew/keg.rb +++ b/Library/Homebrew/keg.rb @@ -147,6 +147,7 @@ class Keg share/man/man1 share/man/man2 share/man/man3 share/man/man4 share/man/man5 share/man/man6 share/man/man7 share/man/man8 share/zsh share/zsh/site-functions + share/pwsh share/pwsh/completions var/log ].map { |dir| HOMEBREW_PREFIX/dir } + must_exist_subdirectories + [ HOMEBREW_CACHE, @@ -354,6 +355,7 @@ class Keg when :zsh dir = path/"share/zsh/site-functions" dir if dir.directory? && dir.children.any? { |f| f.basename.to_s.start_with?("_") } + when :pwsh then path/"share/pwsh/completions" end dir&.directory? && !dir.children.empty? end diff --git a/Library/Homebrew/rubocops/lines.rb b/Library/Homebrew/rubocops/lines.rb index 609188e4a1..698aee4fc1 100644 --- a/Library/Homebrew/rubocops/lines.rb +++ b/Library/Homebrew/rubocops/lines.rb @@ -533,7 +533,7 @@ module RuboCop correctable_shell_completion_node(install) do |node, shell, base_name, executable, subcmd, shell_parameter| # generate_completions_from_executable only applicable if shell is passed - next unless shell_parameter.match?(/(bash|zsh|fish)/) + next unless shell_parameter.match?(/(bash|zsh|fish|pwsh)/) base_name = base_name.delete_prefix("_").delete_suffix(".fish") shell = shell.to_s.delete_suffix("_completion").to_sym @@ -541,6 +541,7 @@ module RuboCop .delete_suffix("bash") .delete_suffix("zsh") .delete_suffix("fish") + .delete_suffix("pwsh") shell_parameter_format = if shell_parameter_stripped.empty? nil elsif shell_parameter_stripped == "--" diff --git a/Library/Homebrew/test/caveats_spec.rb b/Library/Homebrew/test/caveats_spec.rb index c9231e2615..7871177928 100644 --- a/Library/Homebrew/test/caveats_spec.rb +++ b/Library/Homebrew/test/caveats_spec.rb @@ -248,6 +248,7 @@ RSpec.describe Caveats do let(:bash_completion_dir) { path/"etc/bash_completion.d" } let(:fish_vendor_completions) { path/"share/fish/vendor_completions.d" } let(:zsh_site_functions) { path/"share/zsh/site-functions" } + let(:pwsh_completion_dir) { path/"share/pwsh/completions" } before do # don't try to load/fetch gcc/glibc @@ -274,6 +275,12 @@ RSpec.describe Caveats do FileUtils.touch zsh_site_functions/f.name expect(caveats).to include(HOMEBREW_PREFIX/"share/zsh/site-functions") end + + it "includes where pwsh completions have been installed to" do + pwsh_completion_dir.mkpath + FileUtils.touch pwsh_completion_dir/f.name + expect(caveats).to include(HOMEBREW_PREFIX/"share/pwsh/completions") + end end end end diff --git a/Library/Homebrew/test/utils/shell_spec.rb b/Library/Homebrew/test/utils/shell_spec.rb index 16bb3670a3..3855f08131 100644 --- a/Library/Homebrew/test/utils/shell_spec.rb +++ b/Library/Homebrew/test/utils/shell_spec.rb @@ -35,6 +35,11 @@ RSpec.describe Utils::Shell do ENV["SHELL"] = "/bin/ksh" expect(described_class.profile).to eq("~/.kshrc") end + + it "returns ~/.config/powershell/Microsoft.PowerShell_profile.ps1 for PowerShell" do + ENV["SHELL"] = "/usr/bin/pwsh" + expect(described_class.profile).to eq("~/.config/powershell/Microsoft.PowerShell_profile.ps1") + end end describe "::from_path" do diff --git a/Library/Homebrew/utils/shell.rb b/Library/Homebrew/utils/shell.rb index eb429ab7a6..1e88d881dd 100644 --- a/Library/Homebrew/utils/shell.rb +++ b/Library/Homebrew/utils/shell.rb @@ -17,7 +17,7 @@ module Utils shell_name = File.basename(path) # handle possible version suffix like `zsh-5.2` shell_name.sub!(/-.*\z/m, "") - shell_name.to_sym if %w[bash csh fish ksh mksh rc sh tcsh zsh].include?(shell_name) + shell_name.to_sym if %w[bash csh fish ksh mksh pwsh rc sh tcsh zsh].include?(shell_name) end sig { params(default: String).returns(String) } @@ -60,6 +60,9 @@ module Utils when :bash bash_profile = "#{Dir.home}/.bash_profile" return bash_profile if File.exist? bash_profile + when :pwsh + pwsh_profile = "#{Dir.home}/.config/powershell/Microsoft.PowerShell_profile.ps1" + return pwsh_profile if File.exist? pwsh_profile when :rc rc_profile = "#{Dir.home}/.rcrc" return rc_profile if File.exist? rc_profile @@ -78,6 +81,8 @@ module Utils case preferred when :bash, :ksh, :sh, :zsh, nil "echo 'export #{variable}=#{sh_quote(value)}' >> #{profile}" + when :pwsh + "$env:#{variable}='#{value}' >> #{profile}" when :rc "echo '#{variable}=(#{sh_quote(value)})' >> #{profile}" when :csh, :tcsh @@ -92,6 +97,8 @@ module Utils case preferred when :bash, :ksh, :mksh, :sh, :zsh, nil "echo 'export PATH=\"#{sh_quote(path)}:$PATH\"' >> #{profile}" + when :pwsh + "$env:PATH = '#{path}' + \":${env:PATH}\" >> #{profile}" when :rc "echo 'path=(#{sh_quote(path)} $path)' >> #{profile}" when :csh, :tcsh @@ -108,6 +115,7 @@ module Utils fish: "~/.config/fish/config.fish", ksh: "~/.kshrc", mksh: "~/.kshrc", + pwsh: "~/.config/powershell/Microsoft.PowerShell_profile.ps1", rc: "~/.rcrc", sh: "~/.profile", tcsh: "~/.tcshrc", diff --git a/docs/Shell-Completion.md b/docs/Shell-Completion.md index 91ada47368..125966f99b 100644 --- a/docs/Shell-Completion.md +++ b/docs/Shell-Completion.md @@ -74,3 +74,15 @@ if test -d (brew --prefix)"/share/fish/vendor_completions.d" set -p fish_complete_path (brew --prefix)/share/fish/vendor_completions.d end ``` + +## Configuring Completions in `pwsh` + +To make Homebrew's completions available in `pwsh` (PowerShell), you must source the definitions as part of your shell's startup. Add the following to your `$PROFILE`, for example: `~/.config/powershell/Microsoft.PowerShell_profile.ps1`: + +```pwsh +if ((Get-Command brew) -and (Test-Path ($completions = "$(brew --prefix)/share/pwsh/completions"))) { + foreach ($f in Get-ChildItem -Path $completions -File) { + . $f + } +} +``` From 15282dcdbda3173b3010bed644e5882897ad2cea Mon Sep 17 00:00:00 2001 From: Heath Stewart Date: Sun, 2 Mar 2025 18:44:40 -0800 Subject: [PATCH 210/322] Fix lint --- Library/Homebrew/formula.rb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb index 74b5e957b4..6d9071a20e 100644 --- a/Library/Homebrew/formula.rb +++ b/Library/Homebrew/formula.rb @@ -1996,7 +1996,8 @@ class Formula end private :extract_macho_slice_from - # Generate shell completions for a formula for `bash`, `zsh`, `fish`, and `powershell`, using the formula's executable. + # Generate shell completions for a formula for `bash`, `zsh`, `fish`, and `pwsh`, + # using the formula's executable. # # ### Examples # @@ -2120,7 +2121,7 @@ class Formula popen_read_env = { "SHELL" => shell.to_s } script_path = completion_script_path_map[shell] # Go's cobra and Rust's clap accept "powershell". - shell_argument = shell == :pwsh ? "powershell" : shell.to_s + shell_argument = (shell == :pwsh) ? "powershell" : shell.to_s shell_parameter = if shell_parameter_format.nil? shell_argument.to_s elsif shell_parameter_format == :flag From fcf18912fea7893ed4b8e1ba2ad8a7e1be62d66d Mon Sep 17 00:00:00 2001 From: Douglas Eichelberger Date: Mon, 24 Feb 2025 14:49:33 -0800 Subject: [PATCH 211/322] Inline use of attr_predicate --- Library/Homebrew/attrable.rb | 21 ------- .../cask/artifact/abstract_artifact.rb | 1 - Library/Homebrew/cask/audit.rb | 39 +++++++++--- Library/Homebrew/cask/auditor.rb | 63 ++++++++++++++----- Library/Homebrew/cask/cask.rb | 7 +-- Library/Homebrew/cask/dsl.rb | 24 +++++-- Library/Homebrew/cask/dsl/caveats.rb | 9 +-- Library/Homebrew/cask/installer.rb | 53 ++++++++++++++-- Library/Homebrew/cask/reinstall.rb | 34 +++++----- Library/Homebrew/cask/staged.rb | 2 +- Library/Homebrew/cask/uninstall.rb | 5 +- Library/Homebrew/cleanup.rb | 13 ++-- Library/Homebrew/debrew.rb | 6 +- Library/Homebrew/dev-cmd/audit.rb | 4 +- Library/Homebrew/formula.rb | 11 ++-- Library/Homebrew/formula_installer.rb | 55 +++++++++++++--- Library/Homebrew/requirement.rb | 1 - Library/Homebrew/software_spec.rb | 1 - .../Homebrew/sorbet/rbi/dsl/cask/audit.rbi | 23 ------- Library/Homebrew/sorbet/rbi/dsl/cask/cask.rbi | 3 - Library/Homebrew/sorbet/rbi/dsl/cask/dsl.rbi | 23 ------- .../sorbet/rbi/dsl/cask/dsl/caveats.rbi | 5 +- .../sorbet/rbi/dsl/cask/installer.rbi | 47 -------------- Library/Homebrew/sorbet/rbi/dsl/debrew.rbi | 13 ---- Library/Homebrew/sorbet/rbi/dsl/formula.rbi | 8 --- .../sorbet/rbi/dsl/formula_installer.rbi | 56 ----------------- .../sorbet/rbi/dsl/homebrew/cleanup.rbi | 17 ----- .../sorbet/rbi/dsl/system_command.rbi | 20 ------ .../sorbet/tapioca/compilers/attrables.rb | 42 ------------- Library/Homebrew/system_command.rb | 14 ++++- 30 files changed, 250 insertions(+), 370 deletions(-) delete mode 100644 Library/Homebrew/attrable.rb delete mode 100644 Library/Homebrew/sorbet/rbi/dsl/cask/audit.rbi delete mode 100644 Library/Homebrew/sorbet/rbi/dsl/cask/dsl.rbi delete mode 100644 Library/Homebrew/sorbet/rbi/dsl/cask/installer.rbi delete mode 100644 Library/Homebrew/sorbet/rbi/dsl/debrew.rbi delete mode 100644 Library/Homebrew/sorbet/rbi/dsl/formula_installer.rbi delete mode 100644 Library/Homebrew/sorbet/rbi/dsl/homebrew/cleanup.rbi delete mode 100644 Library/Homebrew/sorbet/rbi/dsl/system_command.rbi delete mode 100644 Library/Homebrew/sorbet/tapioca/compilers/attrables.rb diff --git a/Library/Homebrew/attrable.rb b/Library/Homebrew/attrable.rb deleted file mode 100644 index 590a6f147d..0000000000 --- a/Library/Homebrew/attrable.rb +++ /dev/null @@ -1,21 +0,0 @@ -# typed: strict -# frozen_string_literal: true - -# This module provides methods to define specialized attributes. -# Method stubs are generated by the {Tapioca::Compilers::Attrables} compiler. -# @note The compiler is fragile, and must be updated if the filename changes, if methods are added or removed, -# or if a method's arity changes. -module Attrable - extend T::Helpers - - requires_ancestor { Module } - - sig { params(attrs: Symbol).void } - def attr_predicate(*attrs) - attrs.each do |attr| - define_method attr do - instance_variable_get("@#{attr.to_s.sub(/\?$/, "")}") == true - end - end - end -end diff --git a/Library/Homebrew/cask/artifact/abstract_artifact.rb b/Library/Homebrew/cask/artifact/abstract_artifact.rb index 7a509970f9..09ed1fabe8 100644 --- a/Library/Homebrew/cask/artifact/abstract_artifact.rb +++ b/Library/Homebrew/cask/artifact/abstract_artifact.rb @@ -1,7 +1,6 @@ # typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true -require "attrable" require "extend/object/deep_dup" module Cask diff --git a/Library/Homebrew/cask/audit.rb b/Library/Homebrew/cask/audit.rb index f59ff7bdd8..0a64100adc 100644 --- a/Library/Homebrew/cask/audit.rb +++ b/Library/Homebrew/cask/audit.rb @@ -1,7 +1,6 @@ # typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true -require "attrable" require "cask/denylist" require "cask/download" require "digest" @@ -19,7 +18,6 @@ module Cask class Audit include SystemCommand::Mixin include ::Utils::Curl - extend Attrable sig { returns(Cask) } attr_reader :cask @@ -27,11 +25,16 @@ module Cask sig { returns(T.nilable(Download)) } attr_reader :download - attr_predicate :new_cask?, :strict?, :signing?, :online?, :token_conflicts? - + sig { + params( + cask: ::Cask::Cask, download: T::Boolean, quarantine: T::Boolean, token_conflicts: T.nilable(T::Boolean), + online: T.nilable(T::Boolean), strict: T.nilable(T::Boolean), signing: T.nilable(T::Boolean), + new_cask: T.nilable(T::Boolean), only: T::Array[String], except: T::Array[String] + ).void + } def initialize( cask, - download: nil, quarantine: nil, + download: false, quarantine: false, token_conflicts: nil, online: nil, strict: nil, signing: nil, new_cask: nil, only: [], except: [] ) @@ -42,7 +45,7 @@ module Cask token_conflicts = new_cask if token_conflicts.nil? # `online` and `signing` imply `download` - download = online || signing if download.nil? + download ||= online || signing @cask = cask @download = Download.new(cask, quarantine:) if download @@ -51,18 +54,34 @@ module Cask @signing = signing @new_cask = new_cask @token_conflicts = token_conflicts - @only = only || [] - @except = except || [] + @only = only + @except = except end + sig { returns(T::Boolean) } + def new_cask? = !!@new_cask + + sig { returns(T::Boolean) } + def online? =!!@online + + sig { returns(T::Boolean) } + def signing? = !!@signing + + sig { returns(T::Boolean) } + def strict? = !!@strict + + sig { returns(T::Boolean) } + def token_conflicts? = !!@token_conflicts + + sig { returns(::Cask::Audit) } def run! only_audits = @only except_audits = @except private_methods.map(&:to_s).grep(/^audit_/).each do |audit_method_name| name = audit_method_name.delete_prefix("audit_") - next if !only_audits.empty? && only_audits&.exclude?(name) - next if except_audits&.include?(name) + next if !only_audits.empty? && only_audits.exclude?(name) + next if except_audits.include?(name) send(audit_method_name) end diff --git a/Library/Homebrew/cask/auditor.rb b/Library/Homebrew/cask/auditor.rb index f79de72185..0af5f20860 100644 --- a/Library/Homebrew/cask/auditor.rb +++ b/Library/Homebrew/cask/auditor.rb @@ -1,4 +1,4 @@ -# typed: true # rubocop:todo Sorbet/StrictSigil +# typed: strict # frozen_string_literal: true require "cask/audit" @@ -6,22 +6,50 @@ require "cask/audit" module Cask # Helper class for auditing all available languages of a cask. class Auditor - def self.audit(cask, **options) - new(cask, **options).audit + # TODO: use argument forwarding (...) when Sorbet supports it in strict mode + sig { + params( + cask: ::Cask::Cask, audit_download: T::Boolean, audit_online: T.nilable(T::Boolean), + audit_strict: T.nilable(T::Boolean), audit_signing: T.nilable(T::Boolean), + audit_token_conflicts: T.nilable(T::Boolean), audit_new_cask: T.nilable(T::Boolean), quarantine: T::Boolean, + any_named_args: T::Boolean, language: T.nilable(String), only: T::Array[String], except: T::Array[String] + ).returns(T::Set[String]) + } + def self.audit( + cask, audit_download: false, audit_online: nil, audit_strict: nil, audit_signing: nil, + audit_token_conflicts: nil, audit_new_cask: nil, quarantine: false, any_named_args: false, language: nil, + only: [], except: [] + ) + new( + cask, audit_download:, audit_online:, audit_strict:, audit_signing:, audit_token_conflicts:, + audit_new_cask:, quarantine:, any_named_args:, language:, only:, except: + ).audit end - attr_reader :cask, :language + sig { returns(::Cask::Cask) } + attr_reader :cask + sig { returns(T.nilable(String)) } + attr_reader :language + + sig { + params( + cask: ::Cask::Cask, audit_download: T::Boolean, audit_online: T.nilable(T::Boolean), + audit_strict: T.nilable(T::Boolean), audit_signing: T.nilable(T::Boolean), + audit_token_conflicts: T.nilable(T::Boolean), audit_new_cask: T.nilable(T::Boolean), quarantine: T::Boolean, + any_named_args: T::Boolean, language: T.nilable(String), only: T::Array[String], except: T::Array[String] + ).void + } def initialize( cask, - audit_download: nil, + audit_download: false, audit_online: nil, audit_strict: nil, audit_signing: nil, audit_token_conflicts: nil, audit_new_cask: nil, - quarantine: nil, - any_named_args: nil, + quarantine: false, + any_named_args: false, language: nil, only: [], except: [] @@ -42,17 +70,18 @@ module Cask LANGUAGE_BLOCK_LIMIT = 10 + sig { returns(T::Set[String]) } def audit errors = Set.new - if !language && language_blocks - sample_languages = if language_blocks.length > LANGUAGE_BLOCK_LIMIT && !@audit_new_cask - sample_keys = language_blocks.keys.sample(LANGUAGE_BLOCK_LIMIT) + if !language && (blocks = language_blocks) + sample_languages = if blocks.length > LANGUAGE_BLOCK_LIMIT && !@audit_new_cask + sample_keys = T.must(blocks.keys.sample(LANGUAGE_BLOCK_LIMIT)) ohai "Auditing a sample of available languages for #{cask}: " \ "#{sample_keys.map { |lang| lang[0].to_s }.to_sentence}" - language_blocks.select { |k| sample_keys.include?(k) } + blocks.select { |k| sample_keys.include?(k) } else - language_blocks + blocks end sample_languages.each_key do |l| @@ -74,14 +103,16 @@ module Cask private + sig { params(audit: T.nilable(Audit)).returns(T::Boolean) } def output_summary?(audit = nil) - return true if @any_named_args.present? - return true if @audit_strict.present? - return false if audit.blank? + return true if @any_named_args + return true if @audit_strict + return false if audit.nil? audit.errors? end + sig { params(languages: T::Array[String]).returns(::Cask::Audit) } def audit_languages(languages) original_config = cask.config localized_config = original_config.merge(Config.new(explicit: { languages: })) @@ -92,6 +123,7 @@ module Cask cask.config = original_config end + sig { params(cask: ::Cask::Cask).returns(::Cask::Audit) } def audit_cask_instance(cask) audit = Audit.new( cask, @@ -108,6 +140,7 @@ module Cask audit.run! end + sig { returns(T.nilable(T::Hash[T::Array[String], T.proc.returns(T.untyped)])) } def language_blocks cask.instance_variable_get(:@dsl).instance_variable_get(:@language_blocks) end diff --git a/Library/Homebrew/cask/cask.rb b/Library/Homebrew/cask/cask.rb index 0bbe88cc10..2a787593c4 100644 --- a/Library/Homebrew/cask/cask.rb +++ b/Library/Homebrew/cask/cask.rb @@ -1,7 +1,6 @@ # typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true -require "attrable" require "bundle_version" require "cask/cask_loader" require "cask/config" @@ -15,7 +14,6 @@ module Cask # An instance of a cask. class Cask extend Forwardable - extend Attrable extend APIHashable include Metadata @@ -32,8 +30,6 @@ module Cask attr_reader :sourcefile_path, :source, :default_config, :loader attr_accessor :download, :allow_reassignment - attr_predicate :loaded_from_api? - def self.all(eval_all: false) if !eval_all && !Homebrew::EnvConfig.eval_all? raise ArgumentError, "Cask::Cask#all cannot be used without `--eval-all` or HOMEBREW_EVAL_ALL" @@ -92,6 +88,9 @@ module Cask end end + sig { returns(T::Boolean) } + def loaded_from_api? = @loaded_from_api + # An old name for the cask. sig { returns(T::Array[String]) } def old_tokens diff --git a/Library/Homebrew/cask/dsl.rb b/Library/Homebrew/cask/dsl.rb index 5251af7e62..9946c199e9 100644 --- a/Library/Homebrew/cask/dsl.rb +++ b/Library/Homebrew/cask/dsl.rb @@ -1,7 +1,6 @@ # typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true -require "attrable" require "locale" require "lazy_object" require "livecheck" @@ -105,19 +104,36 @@ module Cask *ARTIFACT_BLOCK_CLASSES.flat_map { |klass| [klass.dsl_key, klass.uninstall_dsl_key] }, ]).freeze - extend Attrable include OnSystem::MacOSAndLinux attr_reader :cask, :token, :deprecation_date, :deprecation_reason, :deprecation_replacement, :disable_date, :disable_reason, :disable_replacement, :on_system_block_min_os - attr_predicate :deprecated?, :disabled?, :livecheck_defined?, :on_system_blocks_exist?, :depends_on_set_in_block? - def initialize(cask) @cask = cask + @depends_on_set_in_block = T.let(false, T::Boolean) + @deprecated = T.let(false, T::Boolean) + @disabled = T.let(false, T::Boolean) + @livecheck_defined = T.let(false, T::Boolean) + @on_system_blocks_exist = T.let(false, T::Boolean) @token = cask.token end + sig { returns(T::Boolean) } + def depends_on_set_in_block? = @depends_on_set_in_block + + sig { returns(T::Boolean) } + def deprecated? = @deprecated + + sig { returns(T::Boolean) } + def disabled? = @disabled + + sig { returns(T::Boolean) } + def livecheck_defined? = @livecheck_defined + + sig { returns(T::Boolean) } + def on_system_blocks_exist? = @on_system_blocks_exist + # Specifies the cask's name. # # NOTE: Multiple names can be specified. diff --git a/Library/Homebrew/cask/dsl/caveats.rb b/Library/Homebrew/cask/dsl/caveats.rb index cd27bf0776..9d5d38490a 100644 --- a/Library/Homebrew/cask/dsl/caveats.rb +++ b/Library/Homebrew/cask/dsl/caveats.rb @@ -1,8 +1,6 @@ # typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true -require "attrable" - module Cask class DSL # Class corresponding to the `caveats` stanza. @@ -15,10 +13,6 @@ module Cask # to the output by the caller, but that feature is only for the # convenience of cask authors. class Caveats < Base - extend Attrable - - attr_predicate :discontinued? - def initialize(*args) super @built_in_caveats = {} @@ -37,6 +31,9 @@ module Cask private_class_method :caveat + sig { returns(T::Boolean) } + def discontinued? = @discontinued + sig { returns(String) } def to_s (@custom_caveats + @built_in_caveats.values).join("\n") diff --git a/Library/Homebrew/cask/installer.rb b/Library/Homebrew/cask/installer.rb index e9bbdc497d..188013086f 100644 --- a/Library/Homebrew/cask/installer.rb +++ b/Library/Homebrew/cask/installer.rb @@ -1,7 +1,6 @@ # typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true -require "attrable" require "formula_installer" require "unpack_strategy" require "utils/topological_hash" @@ -17,8 +16,15 @@ require "cgi" module Cask # Installer for a {Cask}. class Installer - extend Attrable - + sig { + params( + cask: ::Cask::Cask, command: T::Class[SystemCommand], force: T::Boolean, adopt: T::Boolean, + skip_cask_deps: T::Boolean, binaries: T::Boolean, verbose: T::Boolean, zap: T::Boolean, + require_sha: T::Boolean, upgrade: T::Boolean, reinstall: T::Boolean, installed_as_dependency: T::Boolean, + installed_on_request: T::Boolean, quarantine: T::Boolean, verify_download_integrity: T::Boolean, + quiet: T::Boolean + ).void + } def initialize(cask, command: SystemCommand, force: false, adopt: false, skip_cask_deps: false, binaries: true, verbose: false, zap: false, require_sha: false, upgrade: false, reinstall: false, @@ -42,9 +48,44 @@ module Cask @quiet = quiet end - attr_predicate :binaries?, :force?, :adopt?, :skip_cask_deps?, :require_sha?, - :reinstall?, :upgrade?, :verbose?, :zap?, :installed_as_dependency?, :installed_on_request?, - :quarantine?, :quiet? + sig { returns(T::Boolean) } + def adopt? = @adopt + + sig { returns(T::Boolean) } + def binaries? = @binaries + + sig { returns(T::Boolean) } + def force? = @force + + sig { returns(T::Boolean) } + def installed_as_dependency? = @installed_as_dependency + + sig { returns(T::Boolean) } + def installed_on_request? = @installed_on_request + + sig { returns(T::Boolean) } + def quarantine? = @quarantine + + sig { returns(T::Boolean) } + def quiet? = @quiet + + sig { returns(T::Boolean) } + def reinstall? = @reinstall + + sig { returns(T::Boolean) } + def require_sha? = @require_sha + + sig { returns(T::Boolean) } + def skip_cask_deps? = @skip_cask_deps + + sig { returns(T::Boolean) } + def upgrade? = @upgrade + + sig { returns(T::Boolean) } + def verbose? = @verbose + + sig { returns(T::Boolean) } + def zap? = @zap def self.caveats(cask) odebug "Printing caveats" diff --git a/Library/Homebrew/cask/reinstall.rb b/Library/Homebrew/cask/reinstall.rb index bad643b380..cdd0124606 100644 --- a/Library/Homebrew/cask/reinstall.rb +++ b/Library/Homebrew/cask/reinstall.rb @@ -1,32 +1,32 @@ -# typed: true # rubocop:todo Sorbet/StrictSigil +# typed: strict # frozen_string_literal: true module Cask class Reinstall + sig { + params( + casks: ::Cask::Cask, verbose: T::Boolean, force: T::Boolean, skip_cask_deps: T::Boolean, binaries: T::Boolean, + require_sha: T::Boolean, quarantine: T::Boolean, zap: T::Boolean + ).void + } def self.reinstall_casks( *casks, - verbose: nil, - force: nil, - skip_cask_deps: nil, - binaries: nil, - require_sha: nil, - quarantine: nil, - zap: nil + verbose: false, + force: false, + skip_cask_deps: false, + binaries: false, + require_sha: false, + quarantine: false, + zap: false ) require "cask/installer" quarantine = true if quarantine.nil? casks.each do |cask| - Installer.new(cask, - binaries:, - verbose:, - force:, - skip_cask_deps:, - require_sha:, - reinstall: true, - quarantine:, - zap:).install + Installer + .new(cask, binaries:, verbose:, force:, skip_cask_deps:, require_sha:, reinstall: true, quarantine:, zap:) + .install end end end diff --git a/Library/Homebrew/cask/staged.rb b/Library/Homebrew/cask/staged.rb index 43d0e8c37c..dbaa50a8f8 100644 --- a/Library/Homebrew/cask/staged.rb +++ b/Library/Homebrew/cask/staged.rb @@ -8,7 +8,7 @@ module Cask module Staged extend T::Helpers - requires_ancestor { Kernel } + requires_ancestor { ::Cask::DSL::Base } Paths = T.type_alias { T.any(String, Pathname, T::Array[T.any(String, Pathname)]) } sig { params(paths: Paths, permissions_str: String).void } diff --git a/Library/Homebrew/cask/uninstall.rb b/Library/Homebrew/cask/uninstall.rb index ebfc74ee27..38f2587e13 100644 --- a/Library/Homebrew/cask/uninstall.rb +++ b/Library/Homebrew/cask/uninstall.rb @@ -1,9 +1,10 @@ -# typed: true # rubocop:todo Sorbet/StrictSigil +# typed: strict # frozen_string_literal: true module Cask class Uninstall - def self.uninstall_casks(*casks, binaries: nil, force: false, verbose: false) + sig { params(casks: ::Cask::Cask, binaries: T::Boolean, force: T::Boolean, verbose: T::Boolean).void } + def self.uninstall_casks(*casks, binaries: false, force: false, verbose: false) require "cask/installer" casks.each do |cask| diff --git a/Library/Homebrew/cleanup.rb b/Library/Homebrew/cleanup.rb index 68b22eb204..9c20506a87 100644 --- a/Library/Homebrew/cleanup.rb +++ b/Library/Homebrew/cleanup.rb @@ -3,7 +3,6 @@ require "utils/bottles" -require "attrable" require "formula" require "cask/cask_loader" @@ -209,11 +208,8 @@ module Homebrew end end - extend Attrable - PERIODIC_CLEAN_FILE = (HOMEBREW_CACHE/".cleaned").freeze - attr_predicate :dry_run?, :scrub?, :prune? attr_reader :args, :days, :cache, :disk_cleanup_size def initialize(*args, dry_run: false, scrub: false, days: nil, cache: HOMEBREW_CACHE) @@ -227,6 +223,15 @@ module Homebrew @cleaned_up_paths = Set.new end + sig { returns(T::Boolean) } + def dry_run? = @dry_run + + sig { returns(T::Boolean) } + def prune? = @prune + + sig { returns(T::Boolean) } + def scrub? = @scrub + def self.install_formula_clean!(formula, dry_run: false) return if Homebrew::EnvConfig.no_install_cleanup? return unless formula.latest_version_installed? diff --git a/Library/Homebrew/debrew.rb b/Library/Homebrew/debrew.rb index 5679d2ccfb..46956f696b 100644 --- a/Library/Homebrew/debrew.rb +++ b/Library/Homebrew/debrew.rb @@ -1,7 +1,6 @@ # typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true -require "attrable" require "mutex_m" require "ignorable" @@ -73,9 +72,10 @@ module Debrew @debugged_exceptions = Set.new class << self - extend Attrable - attr_predicate :active? attr_reader :debugged_exceptions + + sig { returns(T::Boolean) } + def active? = @active end def self.debrew diff --git a/Library/Homebrew/dev-cmd/audit.rb b/Library/Homebrew/dev-cmd/audit.rb index 2f9d3f0b63..24e69cb463 100644 --- a/Library/Homebrew/dev-cmd/audit.rb +++ b/Library/Homebrew/dev-cmd/audit.rb @@ -261,8 +261,8 @@ module Homebrew audit_token_conflicts: args.token_conflicts? || nil, quarantine: true, any_named_args: !no_named_args, - only: args.only, - except: args.except, + only: args.only || [], + except: args.except || [], ).to_a end end.uniq diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb index 1770c1344b..f8ede28ffe 100644 --- a/Library/Homebrew/formula.rb +++ b/Library/Homebrew/formula.rb @@ -1,7 +1,6 @@ # typed: strict # frozen_string_literal: true -require "attrable" require "cache_store" require "did_you_mean" require "formula_support" @@ -79,7 +78,6 @@ class Formula include Homebrew::Livecheck::Constants extend Forwardable extend Cachable - extend Attrable extend APIHashable extend T::Helpers @@ -3288,8 +3286,6 @@ class Formula # The methods below define the formula DSL. class << self - extend Attrable - include BuildEnvironment::DSL include OnSystem::MacOSAndLinux @@ -3307,6 +3303,7 @@ class Formula @skip_clean_paths = T.let(Set.new, T.nilable(T::Set[T.any(String, Symbol)])) @link_overwrite_paths = T.let(Set.new, T.nilable(T::Set[String])) @loaded_from_api = T.let(false, T.nilable(T::Boolean)) + @on_system_blocks_exist = T.let(false, T.nilable(T::Boolean)) @network_access_allowed = T.let(SUPPORTED_NETWORK_ACCESS_PHASES.to_h do |phase| [phase, DEFAULT_NETWORK_ACCESS_ALLOWED] end, T.nilable(T::Hash[Symbol, T::Boolean])) @@ -3327,11 +3324,13 @@ class Formula def network_access_allowed = T.must(@network_access_allowed) # Whether this formula was loaded using the formulae.brew.sh API - attr_predicate :loaded_from_api? + sig { returns(T::Boolean) } + def loaded_from_api? = !!@loaded_from_api # Whether this formula contains OS/arch-specific blocks # (e.g. `on_macos`, `on_arm`, `on_monterey :or_older`, `on_system :linux, macos: :big_sur_or_newer`). - attr_predicate :on_system_blocks_exist? + sig { returns(T::Boolean) } + def on_system_blocks_exist? = !!@on_system_blocks_exist # The reason for why this software is not linked (by default) to {::HOMEBREW_PREFIX}. sig { returns(T.nilable(KegOnlyReason)) } diff --git a/Library/Homebrew/formula_installer.rb b/Library/Homebrew/formula_installer.rb index 1fab9334b9..e84bea4082 100644 --- a/Library/Homebrew/formula_installer.rb +++ b/Library/Homebrew/formula_installer.rb @@ -29,7 +29,6 @@ require "utils/fork" # Installer for a formula. class FormulaInstaller include FormulaCellarChecks - extend Attrable ETC_VAR_DIRS = T.let([HOMEBREW_PREFIX/"etc", HOMEBREW_PREFIX/"var"].freeze, T::Array[Pathname]) @@ -45,12 +44,6 @@ class FormulaInstaller sig { returns(T::Boolean) } attr_accessor :link_keg - attr_predicate :installed_as_dependency?, :installed_on_request? - attr_predicate :show_summary_heading?, :show_header? - attr_predicate :force_bottle?, :ignore_deps?, :only_deps?, :interactive?, :git?, :force?, :overwrite?, :keep_tmp? - attr_predicate :debug_symbols? - attr_predicate :verbose?, :debug?, :quiet? - sig { params( formula: Formula, @@ -148,6 +141,54 @@ class FormulaInstaller @formula = T.let(T.must(previously_fetched_formula), Formula) if previously_fetched_formula end + sig { returns(T::Boolean) } + def debug? = @debug + + sig { returns(T::Boolean) } + def debug_symbols? = @debug_symbols + + sig { returns(T::Boolean) } + def force? = @force + + sig { returns(T::Boolean) } + def force_bottle? = @force_bottle + + sig { returns(T::Boolean) } + def git? = @git + + sig { returns(T::Boolean) } + def ignore_deps? = @ignore_deps + + sig { returns(T::Boolean) } + def installed_as_dependency? = @installed_as_dependency + + sig { returns(T::Boolean) } + def installed_on_request? = @installed_on_request + + sig { returns(T::Boolean) } + def interactive? = @interactive + + sig { returns(T::Boolean) } + def keep_tmp? = @keep_tmp + + sig { returns(T::Boolean) } + def only_deps? = @only_deps + + sig { returns(T::Boolean) } + def overwrite? = @overwrite + + sig { returns(T::Boolean) } + def quiet? = @quiet + + sig { returns(T::Boolean) } + def show_header? = @show_header + + sig { returns(T::Boolean) } + def show_summary_heading? = @show_summary_heading + + sig { returns(T::Boolean) } + def verbose? = @verbose + sig { returns(T::Set[Formula]) } def self.attempted @attempted ||= T.let(Set.new, T.nilable(T::Set[Formula])) diff --git a/Library/Homebrew/requirement.rb b/Library/Homebrew/requirement.rb index 868d8e0f68..82851e5ad6 100644 --- a/Library/Homebrew/requirement.rb +++ b/Library/Homebrew/requirement.rb @@ -1,7 +1,6 @@ # typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true -require "attrable" require "dependable" require "dependency" require "dependencies" diff --git a/Library/Homebrew/software_spec.rb b/Library/Homebrew/software_spec.rb index bd5974db22..fdd77a37b7 100644 --- a/Library/Homebrew/software_spec.rb +++ b/Library/Homebrew/software_spec.rb @@ -1,7 +1,6 @@ # typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true -require "attrable" require "resource" require "download_strategy" require "checksum" diff --git a/Library/Homebrew/sorbet/rbi/dsl/cask/audit.rbi b/Library/Homebrew/sorbet/rbi/dsl/cask/audit.rbi deleted file mode 100644 index 9f9cb7d83a..0000000000 --- a/Library/Homebrew/sorbet/rbi/dsl/cask/audit.rbi +++ /dev/null @@ -1,23 +0,0 @@ -# typed: true - -# DO NOT EDIT MANUALLY -# This is an autogenerated file for dynamic methods in `Cask::Audit`. -# Please instead update this file by running `bin/tapioca dsl Cask::Audit`. - - -class Cask::Audit - sig { returns(T::Boolean) } - def new_cask?; end - - sig { returns(T::Boolean) } - def online?; end - - sig { returns(T::Boolean) } - def signing?; end - - sig { returns(T::Boolean) } - def strict?; end - - sig { returns(T::Boolean) } - def token_conflicts?; end -end diff --git a/Library/Homebrew/sorbet/rbi/dsl/cask/cask.rbi b/Library/Homebrew/sorbet/rbi/dsl/cask/cask.rbi index 789d386ab2..2baa754fd0 100644 --- a/Library/Homebrew/sorbet/rbi/dsl/cask/cask.rbi +++ b/Library/Homebrew/sorbet/rbi/dsl/cask/cask.rbi @@ -120,9 +120,6 @@ class Cask::Cask sig { params(args: T.untyped, block: T.untyped).returns(T::Boolean) } def livecheckable?(*args, &block); end - sig { returns(T::Boolean) } - def loaded_from_api?; end - sig { params(args: T.untyped, block: T.untyped).returns(T.untyped) } def manpage(*args, &block); end diff --git a/Library/Homebrew/sorbet/rbi/dsl/cask/dsl.rbi b/Library/Homebrew/sorbet/rbi/dsl/cask/dsl.rbi deleted file mode 100644 index 93510e134b..0000000000 --- a/Library/Homebrew/sorbet/rbi/dsl/cask/dsl.rbi +++ /dev/null @@ -1,23 +0,0 @@ -# typed: true - -# DO NOT EDIT MANUALLY -# This is an autogenerated file for dynamic methods in `Cask::DSL`. -# Please instead update this file by running `bin/tapioca dsl Cask::DSL`. - - -class Cask::DSL - sig { returns(T::Boolean) } - def depends_on_set_in_block?; end - - sig { returns(T::Boolean) } - def deprecated?; end - - sig { returns(T::Boolean) } - def disabled?; end - - sig { returns(T::Boolean) } - def livecheck_defined?; end - - sig { returns(T::Boolean) } - def on_system_blocks_exist?; end -end diff --git a/Library/Homebrew/sorbet/rbi/dsl/cask/dsl/caveats.rbi b/Library/Homebrew/sorbet/rbi/dsl/cask/dsl/caveats.rbi index 8a9839ac27..394dbec9d5 100644 --- a/Library/Homebrew/sorbet/rbi/dsl/cask/dsl/caveats.rbi +++ b/Library/Homebrew/sorbet/rbi/dsl/cask/dsl/caveats.rbi @@ -5,7 +5,4 @@ # Please instead update this file by running `bin/tapioca dsl Cask::DSL::Caveats`. -class Cask::DSL::Caveats - sig { returns(T::Boolean) } - def discontinued?; end -end +class Cask::DSL::Caveats; end diff --git a/Library/Homebrew/sorbet/rbi/dsl/cask/installer.rbi b/Library/Homebrew/sorbet/rbi/dsl/cask/installer.rbi deleted file mode 100644 index 6fafb97179..0000000000 --- a/Library/Homebrew/sorbet/rbi/dsl/cask/installer.rbi +++ /dev/null @@ -1,47 +0,0 @@ -# typed: true - -# DO NOT EDIT MANUALLY -# This is an autogenerated file for dynamic methods in `Cask::Installer`. -# Please instead update this file by running `bin/tapioca dsl Cask::Installer`. - - -class Cask::Installer - sig { returns(T::Boolean) } - def adopt?; end - - sig { returns(T::Boolean) } - def binaries?; end - - sig { returns(T::Boolean) } - def force?; end - - sig { returns(T::Boolean) } - def installed_as_dependency?; end - - sig { returns(T::Boolean) } - def installed_on_request?; end - - sig { returns(T::Boolean) } - def quarantine?; end - - sig { returns(T::Boolean) } - def quiet?; end - - sig { returns(T::Boolean) } - def reinstall?; end - - sig { returns(T::Boolean) } - def require_sha?; end - - sig { returns(T::Boolean) } - def skip_cask_deps?; end - - sig { returns(T::Boolean) } - def upgrade?; end - - sig { returns(T::Boolean) } - def verbose?; end - - sig { returns(T::Boolean) } - def zap?; end -end diff --git a/Library/Homebrew/sorbet/rbi/dsl/debrew.rbi b/Library/Homebrew/sorbet/rbi/dsl/debrew.rbi deleted file mode 100644 index 89b6cf7412..0000000000 --- a/Library/Homebrew/sorbet/rbi/dsl/debrew.rbi +++ /dev/null @@ -1,13 +0,0 @@ -# typed: true - -# DO NOT EDIT MANUALLY -# This is an autogenerated file for dynamic methods in `Debrew`. -# Please instead update this file by running `bin/tapioca dsl Debrew`. - - -module Debrew - class << self - sig { returns(T::Boolean) } - def active?; end - end -end diff --git a/Library/Homebrew/sorbet/rbi/dsl/formula.rbi b/Library/Homebrew/sorbet/rbi/dsl/formula.rbi index c21f24179a..8e7c2d0290 100644 --- a/Library/Homebrew/sorbet/rbi/dsl/formula.rbi +++ b/Library/Homebrew/sorbet/rbi/dsl/formula.rbi @@ -140,12 +140,4 @@ class Formula sig { params(args: T.untyped, block: T.untyped).returns(T.untyped) } def version(*args, &block); end - - class << self - sig { returns(T::Boolean) } - def loaded_from_api?; end - - sig { returns(T::Boolean) } - def on_system_blocks_exist?; end - end end diff --git a/Library/Homebrew/sorbet/rbi/dsl/formula_installer.rbi b/Library/Homebrew/sorbet/rbi/dsl/formula_installer.rbi deleted file mode 100644 index e6cdede310..0000000000 --- a/Library/Homebrew/sorbet/rbi/dsl/formula_installer.rbi +++ /dev/null @@ -1,56 +0,0 @@ -# typed: true - -# DO NOT EDIT MANUALLY -# This is an autogenerated file for dynamic methods in `FormulaInstaller`. -# Please instead update this file by running `bin/tapioca dsl FormulaInstaller`. - - -class FormulaInstaller - sig { returns(T::Boolean) } - def debug?; end - - sig { returns(T::Boolean) } - def debug_symbols?; end - - sig { returns(T::Boolean) } - def force?; end - - sig { returns(T::Boolean) } - def force_bottle?; end - - sig { returns(T::Boolean) } - def git?; end - - sig { returns(T::Boolean) } - def ignore_deps?; end - - sig { returns(T::Boolean) } - def installed_as_dependency?; end - - sig { returns(T::Boolean) } - def installed_on_request?; end - - sig { returns(T::Boolean) } - def interactive?; end - - sig { returns(T::Boolean) } - def keep_tmp?; end - - sig { returns(T::Boolean) } - def only_deps?; end - - sig { returns(T::Boolean) } - def overwrite?; end - - sig { returns(T::Boolean) } - def quiet?; end - - sig { returns(T::Boolean) } - def show_header?; end - - sig { returns(T::Boolean) } - def show_summary_heading?; end - - sig { returns(T::Boolean) } - def verbose?; end -end diff --git a/Library/Homebrew/sorbet/rbi/dsl/homebrew/cleanup.rbi b/Library/Homebrew/sorbet/rbi/dsl/homebrew/cleanup.rbi deleted file mode 100644 index 852b2b5cc7..0000000000 --- a/Library/Homebrew/sorbet/rbi/dsl/homebrew/cleanup.rbi +++ /dev/null @@ -1,17 +0,0 @@ -# typed: true - -# DO NOT EDIT MANUALLY -# This is an autogenerated file for dynamic methods in `Homebrew::Cleanup`. -# Please instead update this file by running `bin/tapioca dsl Homebrew::Cleanup`. - - -class Homebrew::Cleanup - sig { returns(T::Boolean) } - def dry_run?; end - - sig { returns(T::Boolean) } - def prune?; end - - sig { returns(T::Boolean) } - def scrub?; end -end diff --git a/Library/Homebrew/sorbet/rbi/dsl/system_command.rbi b/Library/Homebrew/sorbet/rbi/dsl/system_command.rbi deleted file mode 100644 index e2e8a6a2aa..0000000000 --- a/Library/Homebrew/sorbet/rbi/dsl/system_command.rbi +++ /dev/null @@ -1,20 +0,0 @@ -# typed: true - -# DO NOT EDIT MANUALLY -# This is an autogenerated file for dynamic methods in `SystemCommand`. -# Please instead update this file by running `bin/tapioca dsl SystemCommand`. - - -class SystemCommand - sig { returns(T::Boolean) } - def must_succeed?; end - - sig { returns(T::Boolean) } - def reset_uid?; end - - sig { returns(T::Boolean) } - def sudo?; end - - sig { returns(T::Boolean) } - def sudo_as_root?; end -end diff --git a/Library/Homebrew/sorbet/tapioca/compilers/attrables.rb b/Library/Homebrew/sorbet/tapioca/compilers/attrables.rb deleted file mode 100644 index d4400d198c..0000000000 --- a/Library/Homebrew/sorbet/tapioca/compilers/attrables.rb +++ /dev/null @@ -1,42 +0,0 @@ -# typed: strict -# frozen_string_literal: true - -require_relative "../../../global" -require "sorbet/tapioca/utils" -require "debrew" - -module Tapioca - module Compilers - class Attrables < Tapioca::Dsl::Compiler - ATTRABLE_FILENAME = "attrable.rb" - ConstantType = type_member { { fixed: Module } } - - sig { override.returns(T::Enumerable[Module]) } - def self.gather_constants = Homebrew::Tapioca::Utils.named_objects_with_module(Attrable) - - sig { override.void } - def decorate - root.create_path(constant) do |klass| - Homebrew::Tapioca::Utils.methods_from_file(constant, ATTRABLE_FILENAME) - .each { |method| compile_attrable_method(klass, method) } - Homebrew::Tapioca::Utils.methods_from_file(constant, ATTRABLE_FILENAME, class_methods: true) - .each { |method| compile_attrable_method(klass, method, class_method: true) } - end - end - - private - - sig { params(klass: RBI::Scope, method: T.any(Method, UnboundMethod), class_method: T::Boolean).void } - def compile_attrable_method(klass, method, class_method: false) - raise "Unsupported arity for method #{method.name} - did `Attrable` change?" unless method.arity.zero? - - # attr_predicate - klass.create_method( - method.name.to_s, - return_type: "T::Boolean", - class_method:, - ) - end - end - end -end diff --git a/Library/Homebrew/system_command.rb b/Library/Homebrew/system_command.rb index 94601fb4da..737eea4322 100644 --- a/Library/Homebrew/system_command.rb +++ b/Library/Homebrew/system_command.rb @@ -1,7 +1,6 @@ # typed: true # rubocop:todo Sorbet/StrictSigil # frozen_string_literal: true -require "attrable" require "plist" require "shellwords" require "uri" @@ -34,7 +33,6 @@ class SystemCommand end include Context - extend Attrable def self.run(executable, **options) new(executable, **options).run! @@ -154,7 +152,17 @@ class SystemCommand attr_reader :executable, :args, :input, :chdir, :env - attr_predicate :sudo?, :sudo_as_root?, :must_succeed?, :reset_uid? + sig { returns(T::Boolean) } + def must_succeed? = @must_succeed + + sig { returns(T::Boolean) } + def reset_uid? = @reset_uid + + sig { returns(T::Boolean) } + def sudo? = @sudo + + sig { returns(T::Boolean) } + def sudo_as_root? = @sudo_as_root sig { returns(T::Boolean) } def debug? From 807709622b23741941547f8f478b0d059b35105a Mon Sep 17 00:00:00 2001 From: Carlo Cabrera Date: Mon, 3 Mar 2025 20:07:13 +0800 Subject: [PATCH 212/322] formula: remove `pwsh` from default completion shells Fixes https://github.com/Homebrew/brew/pull/19407#issuecomment-2694083829 --- Library/Homebrew/formula.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb index c37069e8bc..353fa3d80a 100644 --- a/Library/Homebrew/formula.rb +++ b/Library/Homebrew/formula.rb @@ -2102,7 +2102,7 @@ class Formula } def generate_completions_from_executable(*commands, base_name: nil, - shells: [:bash, :zsh, :fish, :pwsh], + shells: [:bash, :zsh, :fish], shell_parameter_format: nil) executable = commands.first.to_s base_name ||= File.basename(executable) if executable.start_with?(bin.to_s, sbin.to_s) From c3c6a90b44a5ffa2bf0bd25535aee1ad81b2c237 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 3 Mar 2025 18:04:41 +0000 Subject: [PATCH 213/322] build(deps): bump actions/download-artifact in the artifacts group Bumps the artifacts group with 1 update: [actions/download-artifact](https://github.com/actions/download-artifact). Updates `actions/download-artifact` from 4.1.8 to 4.1.9 - [Release notes](https://github.com/actions/download-artifact/releases) - [Commits](https://github.com/actions/download-artifact/compare/fa0a91b85d4f404e444e00e005971372dc801d16...cc203385981b70ca67e1cc392babf9cc229d5806) --- updated-dependencies: - dependency-name: actions/download-artifact dependency-type: direct:production update-type: version-update:semver-patch dependency-group: artifacts ... Signed-off-by: dependabot[bot] --- .github/workflows/actionlint.yml | 2 +- .github/workflows/pkg-installer.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/actionlint.yml b/.github/workflows/actionlint.yml index 905c704b48..310fe401fa 100644 --- a/.github/workflows/actionlint.yml +++ b/.github/workflows/actionlint.yml @@ -72,7 +72,7 @@ jobs: security-events: write steps: - name: Download SARIF file - uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8 + uses: actions/download-artifact@cc203385981b70ca67e1cc392babf9cc229d5806 # v4.1.9 with: name: results.sarif path: results.sarif diff --git a/.github/workflows/pkg-installer.yml b/.github/workflows/pkg-installer.yml index 0a55f254ea..b494777e19 100644 --- a/.github/workflows/pkg-installer.yml +++ b/.github/workflows/pkg-installer.yml @@ -160,7 +160,7 @@ jobs: name: macos-15-arm64 steps: - name: Download installer from GitHub Actions - uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8 + uses: actions/download-artifact@cc203385981b70ca67e1cc392babf9cc229d5806 # v4.1.9 with: name: "${{ needs.build.outputs.installer_path }}" @@ -213,7 +213,7 @@ jobs: contents: write steps: - name: Download installer from GitHub Actions - uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8 + uses: actions/download-artifact@cc203385981b70ca67e1cc392babf9cc229d5806 # v4.1.9 with: name: "${{ needs.build.outputs.installer_path }}" From 6198f5d5e15aa71bde65ba06490f111117b93b9e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 3 Mar 2025 18:04:44 +0000 Subject: [PATCH 214/322] build(deps): bump docker/build-push-action from 6.14.0 to 6.15.0 Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 6.14.0 to 6.15.0. - [Release notes](https://github.com/docker/build-push-action/releases) - [Commits](https://github.com/docker/build-push-action/compare/0adf9959216b96bec444f325f1e493d4aa344497...471d1dc4e07e5cdedd4c2171150001c434f0b7a4) --- updated-dependencies: - dependency-name: docker/build-push-action dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- .github/workflows/docker.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 1b78e06d2d..69ac5285ea 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -112,7 +112,7 @@ jobs: password: ${{ secrets.GITHUB_TOKEN }} - name: Build Docker image - uses: docker/build-push-action@0adf9959216b96bec444f325f1e493d4aa344497 # v6.14.0 + uses: docker/build-push-action@471d1dc4e07e5cdedd4c2171150001c434f0b7a4 # v6.15.0 with: context: . load: true @@ -141,7 +141,7 @@ jobs: - name: Deploy the tagged Docker image if: steps.attributes.outputs.push == 'true' - uses: docker/build-push-action@0adf9959216b96bec444f325f1e493d4aa344497 # v6.14.0 + uses: docker/build-push-action@471d1dc4e07e5cdedd4c2171150001c434f0b7a4 # v6.15.0 with: context: . push: true From 4d69e23bf2ffa010b5fc59551a15b6943d7f34ec Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 3 Mar 2025 18:04:48 +0000 Subject: [PATCH 215/322] build(deps): bump codecov/codecov-action from 5.3.1 to 5.4.0 Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 5.3.1 to 5.4.0. - [Release notes](https://github.com/codecov/codecov-action/releases) - [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md) - [Commits](https://github.com/codecov/codecov-action/compare/13ce06bfc6bbe3ecf90edbbf1bc32fe5978ca1d3...0565863a31f2c772f9f0395002a31e3f06189574) --- updated-dependencies: - dependency-name: codecov/codecov-action dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- .github/workflows/tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 3f31a76f42..d379c6f3c7 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -348,7 +348,7 @@ jobs: disable_search: true token: ${{ secrets.CODECOV_TOKEN }} - - uses: codecov/codecov-action@13ce06bfc6bbe3ecf90edbbf1bc32fe5978ca1d3 # v5.3.1 + - uses: codecov/codecov-action@0565863a31f2c772f9f0395002a31e3f06189574 # v5.4.0 with: working-directory: ${{ steps.set-up-homebrew.outputs.repository-path }} files: Library/Homebrew/test/coverage/coverage.xml From e02884e8af8950e3adb119ca05f1c4ff38d53efe Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 3 Mar 2025 18:04:50 +0000 Subject: [PATCH 216/322] build(deps): bump actions/create-github-app-token from 1.11.5 to 1.11.6 Bumps [actions/create-github-app-token](https://github.com/actions/create-github-app-token) from 1.11.5 to 1.11.6. - [Release notes](https://github.com/actions/create-github-app-token/releases) - [Commits](https://github.com/actions/create-github-app-token/compare/0d564482f06ca65fa9e77e2510873638c82206f2...21cfef2b496dd8ef5b904c159339626a10ad380e) --- updated-dependencies: - dependency-name: actions/create-github-app-token dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- .github/workflows/vendor-gems.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/vendor-gems.yml b/.github/workflows/vendor-gems.yml index 9e4b32ca2b..feb0dcafd9 100644 --- a/.github/workflows/vendor-gems.yml +++ b/.github/workflows/vendor-gems.yml @@ -92,7 +92,7 @@ jobs: fi - name: Generate push token - uses: actions/create-github-app-token@0d564482f06ca65fa9e77e2510873638c82206f2 # v1.11.5 + uses: actions/create-github-app-token@21cfef2b496dd8ef5b904c159339626a10ad380e # v1.11.6 id: app-token if: github.event_name == 'workflow_dispatch' with: From ab7fbfdc09002ade536c1fd4a971939607065b33 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 3 Mar 2025 18:04:55 +0000 Subject: [PATCH 217/322] build(deps): bump actions/cache from 4.2.1 to 4.2.2 Bumps [actions/cache](https://github.com/actions/cache) from 4.2.1 to 4.2.2. - [Release notes](https://github.com/actions/cache/releases) - [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md) - [Commits](https://github.com/actions/cache/compare/0c907a75c2c80ebcb7f088228285e798b750cf8f...d4323d4df104b026a6aa633fdb11d772146be0bf) --- updated-dependencies: - dependency-name: actions/cache dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- .github/workflows/autogenerated-files.yml | 2 +- .../sponsors-maintainers-man-completions.yml | 2 +- .github/workflows/tests.yml | 14 +++++++------- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/autogenerated-files.yml b/.github/workflows/autogenerated-files.yml index 29dc44412c..752408d08a 100644 --- a/.github/workflows/autogenerated-files.yml +++ b/.github/workflows/autogenerated-files.yml @@ -34,7 +34,7 @@ jobs: test-bot: true - name: Cache Bundler RubyGems - uses: actions/cache@0c907a75c2c80ebcb7f088228285e798b750cf8f # v4.2.1 + uses: actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf # v4.2.2 with: path: ${{ steps.set-up-homebrew.outputs.gems-path }} key: ${{ runner.os }}-rubygems-${{ steps.set-up-homebrew.outputs.gems-hash }} diff --git a/.github/workflows/sponsors-maintainers-man-completions.yml b/.github/workflows/sponsors-maintainers-man-completions.yml index b6203e417f..c1a59d02fb 100644 --- a/.github/workflows/sponsors-maintainers-man-completions.yml +++ b/.github/workflows/sponsors-maintainers-man-completions.yml @@ -50,7 +50,7 @@ jobs: signing_key: ${{ secrets.BREWTESTBOT_SSH_SIGNING_KEY }} - name: Cache Bundler RubyGems - uses: actions/cache@0c907a75c2c80ebcb7f088228285e798b750cf8f # v4.2.1 + uses: actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf # v4.2.2 with: path: ${{ steps.set-up-homebrew.outputs.gems-path }} key: ${{ runner.os }}-rubygems-${{ steps.set-up-homebrew.outputs.gems-hash }} diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 3f31a76f42..a5087aa61a 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -40,7 +40,7 @@ jobs: test-bot: false - name: Cache Bundler RubyGems - uses: actions/cache@0c907a75c2c80ebcb7f088228285e798b750cf8f # v4.2.1 + uses: actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf # v4.2.2 with: path: ${{ steps.set-up-homebrew.outputs.gems-path }} key: ${{ runner.os }}-rubygems-syntax-${{ steps.set-up-homebrew.outputs.gems-hash }} @@ -53,7 +53,7 @@ jobs: run: brew install shellcheck shfmt - name: Cache style cache - uses: actions/cache@0c907a75c2c80ebcb7f088228285e798b750cf8f # v4.2.1 + uses: actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf # v4.2.2 with: path: ~/.cache/Homebrew/style key: syntax-style-cache-${{ github.sha }} @@ -92,7 +92,7 @@ jobs: test-bot: true - name: Cache Bundler RubyGems - uses: actions/cache@0c907a75c2c80ebcb7f088228285e798b750cf8f # v4.2.1 + uses: actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf # v4.2.2 with: path: ${{ steps.set-up-homebrew.outputs.gems-path }} key: ${{ runner.os }}-rubygems-tap-syntax-${{ steps.set-up-homebrew.outputs.gems-hash }} @@ -102,7 +102,7 @@ jobs: run: brew install-bundler-gems --groups=style - name: Cache style cache - uses: actions/cache@0c907a75c2c80ebcb7f088228285e798b750cf8f # v4.2.1 + uses: actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf # v4.2.2 with: path: ~/.cache/Homebrew/style key: tap-syntax-style-cache-${{ github.sha }} @@ -279,7 +279,7 @@ jobs: test-bot: false - name: Cache Bundler RubyGems - uses: actions/cache@0c907a75c2c80ebcb7f088228285e798b750cf8f # v4.2.1 + uses: actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf # v4.2.2 with: path: ${{ steps.set-up-homebrew.outputs.gems-path }} key: ${{ matrix.runs-on }}-tests-rubygems-${{ steps.set-up-homebrew.outputs.gems-hash }} @@ -294,7 +294,7 @@ jobs: run: mkdir tests - name: Cache parallel tests log - uses: actions/cache@0c907a75c2c80ebcb7f088228285e798b750cf8f # v4.2.1 + uses: actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf # v4.2.2 with: path: tests key: ${{ runner.os }}-${{ matrix.test-flags }}-parallel_runtime_rspec-${{ github.sha }} @@ -415,7 +415,7 @@ jobs: - name: Cache Homebrew Bundler RubyGems id: cache - uses: actions/cache@0c907a75c2c80ebcb7f088228285e798b750cf8f # v4.2.1 + uses: actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf # v4.2.2 with: path: ${{ steps.set-up-homebrew.outputs.gems-path }} key: ${{ runner.os }}-rubygems-${{ steps.set-up-homebrew.outputs.gems-hash }} From 75b418c6466dd6a416c82b21787b3935e42c8a0d Mon Sep 17 00:00:00 2001 From: Patrick Linnane Date: Mon, 3 Mar 2025 10:31:26 -0800 Subject: [PATCH 218/322] dependabot: allow up to 10 open PR's Signed-off-by: Patrick Linnane --- .github/dependabot.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 417a3aaeac..f08563b11c 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -14,6 +14,7 @@ updates: artifacts: patterns: - actions/*-artifact + open-pull-requests-limit: 10 - package-ecosystem: bundler directory: /Library/Homebrew @@ -25,6 +26,7 @@ updates: sorbet: patterns: - "sorbet*" + open-pull-requests-limit: 10 - package-ecosystem: npm directory: / @@ -32,6 +34,7 @@ updates: interval: daily allow: - dependency-type: all + open-pull-requests-limit: 10 - package-ecosystem: docker directory: / @@ -39,6 +42,7 @@ updates: interval: daily allow: - dependency-type: all + open-pull-requests-limit: 10 - package-ecosystem: devcontainers directory: / @@ -46,6 +50,7 @@ updates: interval: daily allow: - dependency-type: all + open-pull-requests-limit: 10 - package-ecosystem: pip directory: / @@ -53,6 +58,7 @@ updates: interval: daily allow: - dependency-type: all + open-pull-requests-limit: 10 - package-ecosystem: pip directory: /Library/Homebrew/formula-analytics/ @@ -60,3 +66,4 @@ updates: interval: daily allow: - dependency-type: all + open-pull-requests-limit: 10 From e3a83532e76755848e5e4bc48ad7ced34aeeccc3 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 3 Mar 2025 18:34:57 +0000 Subject: [PATCH 219/322] build(deps): bump docker/setup-buildx-action from 3.9.0 to 3.10.0 Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) from 3.9.0 to 3.10.0. - [Release notes](https://github.com/docker/setup-buildx-action/releases) - [Commits](https://github.com/docker/setup-buildx-action/compare/f7ce87c1d6bead3e36075b2ce75da1f6cc28aaca...b5ca514318bd6ebac0fb2aedd5d36ec1b5c232a2) --- updated-dependencies: - dependency-name: docker/setup-buildx-action dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- .github/workflows/docker.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 69ac5285ea..9b0ddf1f3b 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -37,7 +37,7 @@ jobs: run: git fetch origin master - name: Set up Docker Buildx - uses: docker/setup-buildx-action@f7ce87c1d6bead3e36075b2ce75da1f6cc28aaca # v3.9.0 + uses: docker/setup-buildx-action@b5ca514318bd6ebac0fb2aedd5d36ec1b5c232a2 # v3.10.0 with: cache-binary: false From 927e41c1cc5f74a561c0e6f6cabaff9bd08aa2e5 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 3 Mar 2025 18:35:01 +0000 Subject: [PATCH 220/322] build(deps): bump actions/attest-build-provenance from 2.2.0 to 2.2.2 Bumps [actions/attest-build-provenance](https://github.com/actions/attest-build-provenance) from 2.2.0 to 2.2.2. - [Release notes](https://github.com/actions/attest-build-provenance/releases) - [Changelog](https://github.com/actions/attest-build-provenance/blob/main/RELEASE.md) - [Commits](https://github.com/actions/attest-build-provenance/compare/520d128f165991a6c774bcb264f323e3d70747f4...bd77c077858b8d561b7a36cbe48ef4cc642ca39d) --- updated-dependencies: - dependency-name: actions/attest-build-provenance dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- .github/workflows/pkg-installer.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pkg-installer.yml b/.github/workflows/pkg-installer.yml index b494777e19..8f371bfdba 100644 --- a/.github/workflows/pkg-installer.yml +++ b/.github/workflows/pkg-installer.yml @@ -133,7 +133,7 @@ jobs: fi - name: Generate build provenance - uses: actions/attest-build-provenance@520d128f165991a6c774bcb264f323e3d70747f4 # v2.2.0 + uses: actions/attest-build-provenance@bd77c077858b8d561b7a36cbe48ef4cc642ca39d # v2.2.2 with: subject-path: Homebrew-${{ steps.homebrew-version.outputs.version }}.pkg From 222e8d129a33d52d03e99aed8e0896e29e46705b Mon Sep 17 00:00:00 2001 From: Heath Stewart Date: Tue, 4 Mar 2025 02:16:48 -0800 Subject: [PATCH 221/322] Document pwsh shell completion Based on discussion in #19408, update the documentation to specify that `:pwsh` must be passed explicitly and that it will translate to a "powershell" argument, as is currently supported by Go's common `github.com/spf13/cobra` module and Rust's common `clap` (with `clap_complete`) crate. --- Library/Homebrew/formula.rb | 15 +++++++++++++-- docs/Formula-Cookbook.md | 1 + 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb index 353fa3d80a..2a695206b5 100644 --- a/Library/Homebrew/formula.rb +++ b/Library/Homebrew/formula.rb @@ -1994,8 +1994,8 @@ class Formula end private :extract_macho_slice_from - # Generate shell completions for a formula for `bash`, `zsh`, `fish`, and `pwsh`, - # using the formula's executable. + # Generate shell completions for a formula for `bash`, `zsh`, `fish`, and + # optionally `pwsh` using the formula's executable. # # ### Examples # @@ -2009,6 +2009,17 @@ class Formula # (zsh_completion/"_foo").write Utils.safe_popen_read({ "SHELL" => "zsh" }, bin/"foo", "completions", "zsh") # (fish_completion/"foo.fish").write Utils.safe_popen_read({ "SHELL" => "fish" }, bin/"foo", # "completions", "fish") + # ``` + # + # If your executable can generate completions for PowerShell, + # you must pass ":pwsh" explicitly along with any other supported shells. + # This will pass "powershell" as the completion argument. + # + # ```ruby + # generate_completions_from_executable(bin/"foo", "completions", shells: [:bash, :pwsh]) + # + # # translates to + # (bash_completion/"foo").write Utils.safe_popen_read({ "SHELL" => "bash" }, bin/"foo", "completions", "bash") # (pwsh_completion/"foo").write Utils.safe_popen_read({ "SHELL" => "pwsh" }, bin/"foo", # "completions", "powershell") # ``` diff --git a/docs/Formula-Cookbook.md b/docs/Formula-Cookbook.md index e1ba0012fc..a8a8004c4a 100644 --- a/docs/Formula-Cookbook.md +++ b/docs/Formula-Cookbook.md @@ -889,6 +889,7 @@ Generally we'd rather you were specific about which files or directories need to | **`bash_completion`** | `#{prefix}/etc/bash_completion.d` | `/opt/homebrew/Cellar/foo/0.1/etc/bash_completion.d` | | **`zsh_completion`** | `#{prefix}/share/zsh/site-functions` | `/opt/homebrew/Cellar/foo/0.1/share/zsh/site-functions` | | **`fish_completion`** | `#{prefix}/share/fish/vendor_completions.d` | `/opt/homebrew/Cellar/foo/0.1/share/fish/vendor_completions.d` | +| **`pwsh_completion`** | `#{prefix}/share/pwsh/completions` | `/opt/homebrew/Cellar/foo/0.1/share/pwsh/completions` | | **`etc`** | `#{HOMEBREW_PREFIX}/etc` | `/opt/homebrew/etc` | | **`pkgetc`** | `#{HOMEBREW_PREFIX}/etc/#{name}` | `/opt/homebrew/etc/foo` | | **`var`** | `#{HOMEBREW_PREFIX}/var` | `/opt/homebrew/var` | From bf7514f3280282330c184949c0c429cafe6bdce6 Mon Sep 17 00:00:00 2001 From: botantony Date: Tue, 4 Mar 2025 13:04:10 +0100 Subject: [PATCH 222/322] docs: add a bit more information about `std_*_args` to Formula Cookbook --- Library/Homebrew/formula.rb | 3 +++ docs/Formula-Cookbook.md | 17 ++++++++++++++++- 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb index 2a695206b5..eafbfe021a 100644 --- a/Library/Homebrew/formula.rb +++ b/Library/Homebrew/formula.rb @@ -1865,6 +1865,9 @@ class Formula # Standard parameters for zig builds. # + # `release_mode` can be set to either `:safe`, `:fast`, or `:small` + # with `:fast` being the default value + # # @api public sig { params(prefix: T.any(String, Pathname), diff --git a/docs/Formula-Cookbook.md b/docs/Formula-Cookbook.md index a8a8004c4a..7451e5312e 100644 --- a/docs/Formula-Cookbook.md +++ b/docs/Formula-Cookbook.md @@ -460,7 +460,7 @@ end ### Standard arguments -For any formula using certain well-known build systems, there will be arguments that should be passed during compilation so that the build conforms to Homebrew standards. These have been collected into a set of `std_*_args` methods. +For any formula using certain well-known build systems, there will be arguments that should be passed during compilation so that the build conforms to Homebrew standards. These have been collected into a set of `std_*_args` methods. Detailed information about each of those methods can be found in [Rubydoc](https://rubydoc.brew.sh/Formula). Most of these methods accept parameters to customize their output. For example, to set the install prefix to [**`libexec`**](#variables-for-directory-locations) for `configure` or `cmake`: @@ -517,6 +517,8 @@ The `std_*_args` methods, as well as the arguments they pass, are: "-o=#{output}" ``` +It also provides a convenient way to set `-ldflags` and `-gcflags`, see examples: [`babelfish`](https://github.com/Homebrew/homebrew-core/blob/master/Formula/b/babelfish.rb) and [`wazero`](https://github.com/Homebrew/homebrew-core/blob/master/Formula/w/wazero.rb) formulae. + #### `std_meson_args` ```ruby @@ -546,6 +548,19 @@ The `std_*_args` methods, as well as the arguments they pass, are: "--no-compile" ``` +#### `std_zig_args` + +```ruby +"--prefix" +prefix +"--release=#{release_mode}" +"-Doptimize=Release#{release_mode}" +"--summary" +"all" +``` + +`release_mode` is a symbol that accepts only `:fast`, `:safe`, and `:small` values (with `:fast` being default). + ### `bin.install "foo"` You’ll see stuff like this in some formulae. This moves the file `foo` into the formula’s `bin` directory (`/opt/homebrew/Cellar/pkg/0.1/bin`) and makes it executable (`chmod 0555 foo`). From f20395983108136e2c1dd0bc89cb7d27d93cbaac Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 4 Mar 2025 18:47:19 +0000 Subject: [PATCH 223/322] build(deps): bump the sorbet group in /Library/Homebrew with 4 updates Bumps the sorbet group in /Library/Homebrew with 4 updates: [sorbet-static-and-runtime](https://github.com/sorbet/sorbet), [sorbet-runtime](https://github.com/sorbet/sorbet), [sorbet](https://github.com/sorbet/sorbet) and [sorbet-static](https://github.com/sorbet/sorbet). Updates `sorbet-static-and-runtime` from 0.5.11875 to 0.5.11882 - [Release notes](https://github.com/sorbet/sorbet/releases) - [Commits](https://github.com/sorbet/sorbet/commits) Updates `sorbet-runtime` from 0.5.11875 to 0.5.11882 - [Release notes](https://github.com/sorbet/sorbet/releases) - [Commits](https://github.com/sorbet/sorbet/commits) Updates `sorbet` from 0.5.11875 to 0.5.11882 - [Release notes](https://github.com/sorbet/sorbet/releases) - [Commits](https://github.com/sorbet/sorbet/commits) Updates `sorbet-static` from 0.5.11875 to 0.5.11882 - [Release notes](https://github.com/sorbet/sorbet/releases) - [Commits](https://github.com/sorbet/sorbet/commits) --- updated-dependencies: - dependency-name: sorbet-static-and-runtime dependency-type: direct:development update-type: version-update:semver-patch dependency-group: sorbet - dependency-name: sorbet-runtime dependency-type: direct:production update-type: version-update:semver-patch dependency-group: sorbet - dependency-name: sorbet dependency-type: indirect update-type: version-update:semver-patch dependency-group: sorbet - dependency-name: sorbet-static dependency-type: indirect update-type: version-update:semver-patch dependency-group: sorbet ... Signed-off-by: dependabot[bot] --- Library/Homebrew/Gemfile.lock | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/Library/Homebrew/Gemfile.lock b/Library/Homebrew/Gemfile.lock index 02849478d9..102dd4e108 100644 --- a/Library/Homebrew/Gemfile.lock +++ b/Library/Homebrew/Gemfile.lock @@ -116,15 +116,15 @@ GEM simplecov-html (0.13.1) simplecov_json_formatter (0.1.4) simpleidn (0.2.3) - sorbet (0.5.11875) - sorbet-static (= 0.5.11875) - sorbet-runtime (0.5.11875) - sorbet-static (0.5.11875-aarch64-linux) - sorbet-static (0.5.11875-universal-darwin) - sorbet-static (0.5.11875-x86_64-linux) - sorbet-static-and-runtime (0.5.11875) - sorbet (= 0.5.11875) - sorbet-runtime (= 0.5.11875) + sorbet (0.5.11882) + sorbet-static (= 0.5.11882) + sorbet-runtime (0.5.11882) + sorbet-static (0.5.11882-aarch64-linux) + sorbet-static (0.5.11882-universal-darwin) + sorbet-static (0.5.11882-x86_64-linux) + sorbet-static-and-runtime (0.5.11882) + sorbet (= 0.5.11882) + sorbet-runtime (= 0.5.11882) spoom (1.5.4) erubi (>= 1.10.0) prism (>= 0.28.0) @@ -155,7 +155,6 @@ GEM PLATFORMS aarch64-linux - arm-linux arm64-darwin x86_64-darwin x86_64-linux From d0df4385e4887ed921419ab734f046f7c400e920 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 4 Mar 2025 18:47:29 +0000 Subject: [PATCH 224/322] build(deps-dev): bump rubocop from 1.73.1 to 1.73.2 in /Library/Homebrew Bumps [rubocop](https://github.com/rubocop/rubocop) from 1.73.1 to 1.73.2. - [Release notes](https://github.com/rubocop/rubocop/releases) - [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md) - [Commits](https://github.com/rubocop/rubocop/compare/v1.73.1...v1.73.2) --- updated-dependencies: - dependency-name: rubocop dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- Library/Homebrew/Gemfile.lock | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Library/Homebrew/Gemfile.lock b/Library/Homebrew/Gemfile.lock index 02849478d9..71aa202090 100644 --- a/Library/Homebrew/Gemfile.lock +++ b/Library/Homebrew/Gemfile.lock @@ -76,7 +76,7 @@ GEM rspec-support (3.13.2) rspec_junit_formatter (0.6.0) rspec-core (>= 2, < 4, != 2.12.0) - rubocop (1.73.1) + rubocop (1.73.2) json (~> 2.3) language_server-protocol (~> 3.17.0.2) lint_roller (~> 1.1.0) @@ -155,7 +155,6 @@ GEM PLATFORMS aarch64-linux - arm-linux arm64-darwin x86_64-darwin x86_64-linux From 7e6727021d5edab3693150797d8fca3dfa2c5786 Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Tue, 4 Mar 2025 19:07:43 +0000 Subject: [PATCH 225/322] brew vendor-gems: commit updates. --- Library/Homebrew/Gemfile.lock | 1 + Library/Homebrew/vendor/bundle/bundler/setup.rb | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Library/Homebrew/Gemfile.lock b/Library/Homebrew/Gemfile.lock index 71aa202090..3f705e1ad5 100644 --- a/Library/Homebrew/Gemfile.lock +++ b/Library/Homebrew/Gemfile.lock @@ -155,6 +155,7 @@ GEM PLATFORMS aarch64-linux + arm-linux arm64-darwin x86_64-darwin x86_64-linux diff --git a/Library/Homebrew/vendor/bundle/bundler/setup.rb b/Library/Homebrew/vendor/bundle/bundler/setup.rb index eceee0230a..e0e7006b93 100644 --- a/Library/Homebrew/vendor/bundle/bundler/setup.rb +++ b/Library/Homebrew/vendor/bundle/bundler/setup.rb @@ -94,7 +94,7 @@ $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/ruby-progressbar-1.13.0/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/unicode-emoji-4.0.4/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/unicode-display_width-3.1.4/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rubocop-1.73.1/lib") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rubocop-1.73.2/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rubocop-md-1.2.4/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rubocop-performance-1.23.1/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rubocop-rspec-3.4.0/lib") From 7fdfddf6978d953d1c55cada2efecfdc42ba5030 Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Tue, 4 Mar 2025 19:07:55 +0000 Subject: [PATCH 226/322] brew vendor-gems: commit updates. --- Library/Homebrew/Gemfile.lock | 1 + Library/Homebrew/vendor/bundle/bundler/setup.rb | 8 ++++---- .../lib/sorbet-runtime.rb | 0 .../lib/types/_types.rb | 0 .../lib/types/abstract_utils.rb | 0 .../lib/types/boolean.rb | 0 .../lib/types/compatibility_patches.rb | 0 .../lib/types/configuration.rb | 0 .../lib/types/enum.rb | 0 .../lib/types/generic.rb | 0 .../lib/types/helpers.rb | 0 .../lib/types/non_forcing_constants.rb | 0 .../lib/types/private/abstract/data.rb | 0 .../lib/types/private/abstract/declare.rb | 0 .../lib/types/private/abstract/hooks.rb | 0 .../lib/types/private/abstract/validate.rb | 0 .../lib/types/private/caller_utils.rb | 0 .../lib/types/private/casts.rb | 0 .../lib/types/private/class_utils.rb | 0 .../lib/types/private/decl_state.rb | 0 .../lib/types/private/final.rb | 0 .../lib/types/private/methods/_methods.rb | 0 .../lib/types/private/methods/call_validation.rb | 0 .../lib/types/private/methods/call_validation_2_6.rb | 0 .../lib/types/private/methods/call_validation_2_7.rb | 0 .../lib/types/private/methods/decl_builder.rb | 0 .../lib/types/private/methods/modes.rb | 0 .../lib/types/private/methods/signature.rb | 0 .../lib/types/private/methods/signature_validation.rb | 0 .../lib/types/private/mixins/mixins.rb | 0 .../lib/types/private/retry.rb | 0 .../lib/types/private/runtime_levels.rb | 0 .../lib/types/private/sealed.rb | 0 .../lib/types/private/types/not_typed.rb | 0 .../lib/types/private/types/simple_pair_union.rb | 0 .../lib/types/private/types/string_holder.rb | 0 .../lib/types/private/types/type_alias.rb | 0 .../lib/types/private/types/void.rb | 0 .../lib/types/props/_props.rb | 0 .../lib/types/props/constructor.rb | 0 .../lib/types/props/custom_type.rb | 0 .../lib/types/props/decorator.rb | 0 .../lib/types/props/errors.rb | 0 .../lib/types/props/generated_code_validation.rb | 0 .../lib/types/props/has_lazily_specialized_methods.rb | 0 .../lib/types/props/optional.rb | 0 .../lib/types/props/plugin.rb | 0 .../lib/types/props/pretty_printable.rb | 0 .../lib/types/props/private/apply_default.rb | 0 .../lib/types/props/private/deserializer_generator.rb | 0 .../lib/types/props/private/parser.rb | 0 .../lib/types/props/private/serde_transform.rb | 0 .../lib/types/props/private/serializer_generator.rb | 0 .../lib/types/props/private/setter_factory.rb | 0 .../lib/types/props/serializable.rb | 0 .../lib/types/props/type_validation.rb | 0 .../lib/types/props/utils.rb | 0 .../lib/types/props/weak_constructor.rb | 0 .../lib/types/sig.rb | 0 .../lib/types/struct.rb | 0 .../lib/types/types/anything.rb | 0 .../lib/types/types/attached_class.rb | 0 .../lib/types/types/base.rb | 0 .../lib/types/types/class_of.rb | 0 .../lib/types/types/enum.rb | 0 .../lib/types/types/fixed_array.rb | 0 .../lib/types/types/fixed_hash.rb | 0 .../lib/types/types/intersection.rb | 0 .../lib/types/types/noreturn.rb | 0 .../lib/types/types/proc.rb | 0 .../lib/types/types/self_type.rb | 0 .../lib/types/types/simple.rb | 0 .../lib/types/types/t_enum.rb | 0 .../lib/types/types/type_member.rb | 0 .../lib/types/types/type_parameter.rb | 0 .../lib/types/types/type_template.rb | 0 .../lib/types/types/type_variable.rb | 0 .../lib/types/types/typed_array.rb | 0 .../lib/types/types/typed_class.rb | 0 .../lib/types/types/typed_enumerable.rb | 0 .../lib/types/types/typed_enumerator.rb | 0 .../lib/types/types/typed_enumerator_chain.rb | 0 .../lib/types/types/typed_enumerator_lazy.rb | 0 .../lib/types/types/typed_hash.rb | 0 .../lib/types/types/typed_range.rb | 0 .../lib/types/types/typed_set.rb | 0 .../lib/types/types/union.rb | 0 .../lib/types/types/untyped.rb | 0 .../lib/types/utils.rb | 0 89 files changed, 5 insertions(+), 4 deletions(-) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11875 => sorbet-runtime-0.5.11882}/lib/sorbet-runtime.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11875 => sorbet-runtime-0.5.11882}/lib/types/_types.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11875 => sorbet-runtime-0.5.11882}/lib/types/abstract_utils.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11875 => sorbet-runtime-0.5.11882}/lib/types/boolean.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11875 => sorbet-runtime-0.5.11882}/lib/types/compatibility_patches.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11875 => sorbet-runtime-0.5.11882}/lib/types/configuration.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11875 => sorbet-runtime-0.5.11882}/lib/types/enum.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11875 => sorbet-runtime-0.5.11882}/lib/types/generic.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11875 => sorbet-runtime-0.5.11882}/lib/types/helpers.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11875 => sorbet-runtime-0.5.11882}/lib/types/non_forcing_constants.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11875 => sorbet-runtime-0.5.11882}/lib/types/private/abstract/data.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11875 => sorbet-runtime-0.5.11882}/lib/types/private/abstract/declare.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11875 => sorbet-runtime-0.5.11882}/lib/types/private/abstract/hooks.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11875 => sorbet-runtime-0.5.11882}/lib/types/private/abstract/validate.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11875 => sorbet-runtime-0.5.11882}/lib/types/private/caller_utils.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11875 => sorbet-runtime-0.5.11882}/lib/types/private/casts.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11875 => sorbet-runtime-0.5.11882}/lib/types/private/class_utils.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11875 => sorbet-runtime-0.5.11882}/lib/types/private/decl_state.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11875 => sorbet-runtime-0.5.11882}/lib/types/private/final.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11875 => sorbet-runtime-0.5.11882}/lib/types/private/methods/_methods.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11875 => sorbet-runtime-0.5.11882}/lib/types/private/methods/call_validation.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11875 => sorbet-runtime-0.5.11882}/lib/types/private/methods/call_validation_2_6.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11875 => sorbet-runtime-0.5.11882}/lib/types/private/methods/call_validation_2_7.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11875 => sorbet-runtime-0.5.11882}/lib/types/private/methods/decl_builder.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11875 => sorbet-runtime-0.5.11882}/lib/types/private/methods/modes.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11875 => sorbet-runtime-0.5.11882}/lib/types/private/methods/signature.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11875 => sorbet-runtime-0.5.11882}/lib/types/private/methods/signature_validation.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11875 => sorbet-runtime-0.5.11882}/lib/types/private/mixins/mixins.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11875 => sorbet-runtime-0.5.11882}/lib/types/private/retry.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11875 => sorbet-runtime-0.5.11882}/lib/types/private/runtime_levels.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11875 => sorbet-runtime-0.5.11882}/lib/types/private/sealed.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11875 => sorbet-runtime-0.5.11882}/lib/types/private/types/not_typed.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11875 => sorbet-runtime-0.5.11882}/lib/types/private/types/simple_pair_union.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11875 => sorbet-runtime-0.5.11882}/lib/types/private/types/string_holder.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11875 => sorbet-runtime-0.5.11882}/lib/types/private/types/type_alias.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11875 => sorbet-runtime-0.5.11882}/lib/types/private/types/void.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11875 => sorbet-runtime-0.5.11882}/lib/types/props/_props.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11875 => sorbet-runtime-0.5.11882}/lib/types/props/constructor.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11875 => sorbet-runtime-0.5.11882}/lib/types/props/custom_type.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11875 => sorbet-runtime-0.5.11882}/lib/types/props/decorator.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11875 => sorbet-runtime-0.5.11882}/lib/types/props/errors.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11875 => sorbet-runtime-0.5.11882}/lib/types/props/generated_code_validation.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11875 => sorbet-runtime-0.5.11882}/lib/types/props/has_lazily_specialized_methods.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11875 => sorbet-runtime-0.5.11882}/lib/types/props/optional.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11875 => sorbet-runtime-0.5.11882}/lib/types/props/plugin.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11875 => sorbet-runtime-0.5.11882}/lib/types/props/pretty_printable.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11875 => sorbet-runtime-0.5.11882}/lib/types/props/private/apply_default.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11875 => sorbet-runtime-0.5.11882}/lib/types/props/private/deserializer_generator.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11875 => sorbet-runtime-0.5.11882}/lib/types/props/private/parser.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11875 => sorbet-runtime-0.5.11882}/lib/types/props/private/serde_transform.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11875 => sorbet-runtime-0.5.11882}/lib/types/props/private/serializer_generator.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11875 => sorbet-runtime-0.5.11882}/lib/types/props/private/setter_factory.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11875 => sorbet-runtime-0.5.11882}/lib/types/props/serializable.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11875 => sorbet-runtime-0.5.11882}/lib/types/props/type_validation.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11875 => sorbet-runtime-0.5.11882}/lib/types/props/utils.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11875 => sorbet-runtime-0.5.11882}/lib/types/props/weak_constructor.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11875 => sorbet-runtime-0.5.11882}/lib/types/sig.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11875 => sorbet-runtime-0.5.11882}/lib/types/struct.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11875 => sorbet-runtime-0.5.11882}/lib/types/types/anything.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11875 => sorbet-runtime-0.5.11882}/lib/types/types/attached_class.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11875 => sorbet-runtime-0.5.11882}/lib/types/types/base.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11875 => sorbet-runtime-0.5.11882}/lib/types/types/class_of.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11875 => sorbet-runtime-0.5.11882}/lib/types/types/enum.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11875 => sorbet-runtime-0.5.11882}/lib/types/types/fixed_array.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11875 => sorbet-runtime-0.5.11882}/lib/types/types/fixed_hash.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11875 => sorbet-runtime-0.5.11882}/lib/types/types/intersection.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11875 => sorbet-runtime-0.5.11882}/lib/types/types/noreturn.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11875 => sorbet-runtime-0.5.11882}/lib/types/types/proc.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11875 => sorbet-runtime-0.5.11882}/lib/types/types/self_type.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11875 => sorbet-runtime-0.5.11882}/lib/types/types/simple.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11875 => sorbet-runtime-0.5.11882}/lib/types/types/t_enum.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11875 => sorbet-runtime-0.5.11882}/lib/types/types/type_member.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11875 => sorbet-runtime-0.5.11882}/lib/types/types/type_parameter.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11875 => sorbet-runtime-0.5.11882}/lib/types/types/type_template.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11875 => sorbet-runtime-0.5.11882}/lib/types/types/type_variable.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11875 => sorbet-runtime-0.5.11882}/lib/types/types/typed_array.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11875 => sorbet-runtime-0.5.11882}/lib/types/types/typed_class.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11875 => sorbet-runtime-0.5.11882}/lib/types/types/typed_enumerable.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11875 => sorbet-runtime-0.5.11882}/lib/types/types/typed_enumerator.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11875 => sorbet-runtime-0.5.11882}/lib/types/types/typed_enumerator_chain.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11875 => sorbet-runtime-0.5.11882}/lib/types/types/typed_enumerator_lazy.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11875 => sorbet-runtime-0.5.11882}/lib/types/types/typed_hash.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11875 => sorbet-runtime-0.5.11882}/lib/types/types/typed_range.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11875 => sorbet-runtime-0.5.11882}/lib/types/types/typed_set.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11875 => sorbet-runtime-0.5.11882}/lib/types/types/union.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11875 => sorbet-runtime-0.5.11882}/lib/types/types/untyped.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11875 => sorbet-runtime-0.5.11882}/lib/types/utils.rb (100%) diff --git a/Library/Homebrew/Gemfile.lock b/Library/Homebrew/Gemfile.lock index 102dd4e108..c06598c651 100644 --- a/Library/Homebrew/Gemfile.lock +++ b/Library/Homebrew/Gemfile.lock @@ -155,6 +155,7 @@ GEM PLATFORMS aarch64-linux + arm-linux arm64-darwin x86_64-darwin x86_64-linux diff --git a/Library/Homebrew/vendor/bundle/bundler/setup.rb b/Library/Homebrew/vendor/bundle/bundler/setup.rb index eceee0230a..45e0f6ee4f 100644 --- a/Library/Homebrew/vendor/bundle/bundler/setup.rb +++ b/Library/Homebrew/vendor/bundle/bundler/setup.rb @@ -75,7 +75,7 @@ $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/extensions/arm64-darwin-20/#{Gem.extension_api_version}/pycall-1.5.2") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/pycall-1.5.2/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rainbow-3.1.1/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-runtime-0.5.11875/lib") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-runtime-0.5.11882/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rbi-0.2.4/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/extensions/arm64-darwin-20/#{Gem.extension_api_version}/rbs-3.8.1") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rbs-3.8.1/lib") @@ -107,9 +107,9 @@ $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/simplecov_json_formatter-0.1.4/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/simplecov-0.22.0/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/simplecov-cobertura-2.1.0/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-static-0.5.11875-universal-darwin/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-0.5.11875/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-static-and-runtime-0.5.11875/lib") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-static-0.5.11882-universal-darwin/lib") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-0.5.11882/lib") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-static-and-runtime-0.5.11882/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/thor-1.3.2/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/spoom-1.5.4/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/extensions/arm64-darwin-20/#{Gem.extension_api_version}/stackprof-0.2.27") diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/sorbet-runtime.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/sorbet-runtime.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/sorbet-runtime.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/sorbet-runtime.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/_types.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/_types.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/_types.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/_types.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/abstract_utils.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/abstract_utils.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/abstract_utils.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/abstract_utils.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/boolean.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/boolean.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/boolean.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/boolean.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/compatibility_patches.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/compatibility_patches.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/compatibility_patches.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/compatibility_patches.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/configuration.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/configuration.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/configuration.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/configuration.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/enum.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/enum.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/enum.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/enum.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/generic.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/generic.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/generic.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/generic.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/helpers.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/helpers.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/helpers.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/helpers.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/non_forcing_constants.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/non_forcing_constants.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/non_forcing_constants.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/non_forcing_constants.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/private/abstract/data.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/private/abstract/data.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/private/abstract/data.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/private/abstract/data.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/private/abstract/declare.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/private/abstract/declare.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/private/abstract/declare.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/private/abstract/declare.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/private/abstract/hooks.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/private/abstract/hooks.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/private/abstract/hooks.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/private/abstract/hooks.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/private/abstract/validate.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/private/abstract/validate.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/private/abstract/validate.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/private/abstract/validate.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/private/caller_utils.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/private/caller_utils.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/private/caller_utils.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/private/caller_utils.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/private/casts.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/private/casts.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/private/casts.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/private/casts.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/private/class_utils.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/private/class_utils.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/private/class_utils.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/private/class_utils.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/private/decl_state.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/private/decl_state.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/private/decl_state.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/private/decl_state.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/private/final.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/private/final.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/private/final.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/private/final.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/private/methods/_methods.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/private/methods/_methods.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/private/methods/_methods.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/private/methods/_methods.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/private/methods/call_validation.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/private/methods/call_validation.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/private/methods/call_validation.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/private/methods/call_validation.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/private/methods/call_validation_2_6.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/private/methods/call_validation_2_6.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/private/methods/call_validation_2_6.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/private/methods/call_validation_2_6.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/private/methods/call_validation_2_7.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/private/methods/call_validation_2_7.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/private/methods/call_validation_2_7.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/private/methods/call_validation_2_7.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/private/methods/decl_builder.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/private/methods/decl_builder.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/private/methods/decl_builder.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/private/methods/decl_builder.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/private/methods/modes.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/private/methods/modes.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/private/methods/modes.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/private/methods/modes.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/private/methods/signature.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/private/methods/signature.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/private/methods/signature.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/private/methods/signature.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/private/methods/signature_validation.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/private/methods/signature_validation.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/private/methods/signature_validation.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/private/methods/signature_validation.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/private/mixins/mixins.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/private/mixins/mixins.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/private/mixins/mixins.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/private/mixins/mixins.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/private/retry.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/private/retry.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/private/retry.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/private/retry.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/private/runtime_levels.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/private/runtime_levels.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/private/runtime_levels.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/private/runtime_levels.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/private/sealed.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/private/sealed.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/private/sealed.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/private/sealed.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/private/types/not_typed.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/private/types/not_typed.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/private/types/not_typed.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/private/types/not_typed.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/private/types/simple_pair_union.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/private/types/simple_pair_union.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/private/types/simple_pair_union.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/private/types/simple_pair_union.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/private/types/string_holder.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/private/types/string_holder.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/private/types/string_holder.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/private/types/string_holder.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/private/types/type_alias.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/private/types/type_alias.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/private/types/type_alias.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/private/types/type_alias.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/private/types/void.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/private/types/void.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/private/types/void.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/private/types/void.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/props/_props.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/props/_props.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/props/_props.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/props/_props.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/props/constructor.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/props/constructor.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/props/constructor.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/props/constructor.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/props/custom_type.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/props/custom_type.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/props/custom_type.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/props/custom_type.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/props/decorator.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/props/decorator.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/props/decorator.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/props/decorator.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/props/errors.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/props/errors.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/props/errors.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/props/errors.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/props/generated_code_validation.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/props/generated_code_validation.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/props/generated_code_validation.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/props/generated_code_validation.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/props/has_lazily_specialized_methods.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/props/has_lazily_specialized_methods.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/props/has_lazily_specialized_methods.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/props/has_lazily_specialized_methods.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/props/optional.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/props/optional.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/props/optional.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/props/optional.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/props/plugin.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/props/plugin.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/props/plugin.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/props/plugin.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/props/pretty_printable.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/props/pretty_printable.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/props/pretty_printable.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/props/pretty_printable.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/props/private/apply_default.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/props/private/apply_default.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/props/private/apply_default.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/props/private/apply_default.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/props/private/deserializer_generator.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/props/private/deserializer_generator.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/props/private/deserializer_generator.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/props/private/deserializer_generator.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/props/private/parser.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/props/private/parser.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/props/private/parser.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/props/private/parser.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/props/private/serde_transform.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/props/private/serde_transform.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/props/private/serde_transform.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/props/private/serde_transform.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/props/private/serializer_generator.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/props/private/serializer_generator.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/props/private/serializer_generator.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/props/private/serializer_generator.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/props/private/setter_factory.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/props/private/setter_factory.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/props/private/setter_factory.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/props/private/setter_factory.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/props/serializable.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/props/serializable.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/props/serializable.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/props/serializable.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/props/type_validation.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/props/type_validation.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/props/type_validation.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/props/type_validation.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/props/utils.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/props/utils.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/props/utils.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/props/utils.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/props/weak_constructor.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/props/weak_constructor.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/props/weak_constructor.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/props/weak_constructor.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/sig.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/sig.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/sig.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/sig.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/struct.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/struct.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/struct.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/struct.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/types/anything.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/types/anything.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/types/anything.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/types/anything.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/types/attached_class.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/types/attached_class.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/types/attached_class.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/types/attached_class.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/types/base.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/types/base.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/types/base.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/types/base.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/types/class_of.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/types/class_of.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/types/class_of.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/types/class_of.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/types/enum.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/types/enum.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/types/enum.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/types/enum.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/types/fixed_array.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/types/fixed_array.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/types/fixed_array.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/types/fixed_array.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/types/fixed_hash.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/types/fixed_hash.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/types/fixed_hash.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/types/fixed_hash.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/types/intersection.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/types/intersection.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/types/intersection.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/types/intersection.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/types/noreturn.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/types/noreturn.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/types/noreturn.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/types/noreturn.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/types/proc.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/types/proc.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/types/proc.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/types/proc.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/types/self_type.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/types/self_type.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/types/self_type.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/types/self_type.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/types/simple.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/types/simple.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/types/simple.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/types/simple.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/types/t_enum.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/types/t_enum.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/types/t_enum.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/types/t_enum.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/types/type_member.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/types/type_member.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/types/type_member.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/types/type_member.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/types/type_parameter.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/types/type_parameter.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/types/type_parameter.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/types/type_parameter.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/types/type_template.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/types/type_template.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/types/type_template.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/types/type_template.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/types/type_variable.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/types/type_variable.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/types/type_variable.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/types/type_variable.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/types/typed_array.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/types/typed_array.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/types/typed_array.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/types/typed_array.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/types/typed_class.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/types/typed_class.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/types/typed_class.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/types/typed_class.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/types/typed_enumerable.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/types/typed_enumerable.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/types/typed_enumerable.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/types/typed_enumerable.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/types/typed_enumerator.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/types/typed_enumerator.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/types/typed_enumerator.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/types/typed_enumerator.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/types/typed_enumerator_chain.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/types/typed_enumerator_chain.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/types/typed_enumerator_chain.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/types/typed_enumerator_chain.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/types/typed_enumerator_lazy.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/types/typed_enumerator_lazy.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/types/typed_enumerator_lazy.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/types/typed_enumerator_lazy.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/types/typed_hash.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/types/typed_hash.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/types/typed_hash.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/types/typed_hash.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/types/typed_range.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/types/typed_range.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/types/typed_range.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/types/typed_range.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/types/typed_set.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/types/typed_set.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/types/typed_set.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/types/typed_set.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/types/union.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/types/union.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/types/union.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/types/union.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/types/untyped.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/types/untyped.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/types/untyped.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/types/untyped.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/utils.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/utils.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11875/lib/types/utils.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/utils.rb From 60d2db77f8a4419ab7744efd9fcf0833714e4ca7 Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Tue, 4 Mar 2025 19:08:05 +0000 Subject: [PATCH 227/322] Update RBI files for rubocop. Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow. --- ...{rubocop@1.73.1.rbi => rubocop@1.73.2.rbi} | 347 +++++++++--------- 1 file changed, 171 insertions(+), 176 deletions(-) rename Library/Homebrew/sorbet/rbi/gems/{rubocop@1.73.1.rbi => rubocop@1.73.2.rbi} (99%) diff --git a/Library/Homebrew/sorbet/rbi/gems/rubocop@1.73.1.rbi b/Library/Homebrew/sorbet/rbi/gems/rubocop@1.73.2.rbi similarity index 99% rename from Library/Homebrew/sorbet/rbi/gems/rubocop@1.73.1.rbi rename to Library/Homebrew/sorbet/rbi/gems/rubocop@1.73.2.rbi index 58a7aaa7ae..d02343407d 100644 --- a/Library/Homebrew/sorbet/rbi/gems/rubocop@1.73.1.rbi +++ b/Library/Homebrew/sorbet/rbi/gems/rubocop@1.73.2.rbi @@ -1427,7 +1427,7 @@ class RuboCop::ConfigLoader extend ::RuboCop::FileFinder class << self - # source://rubocop//lib/rubocop/config_loader.rb#149 + # source://rubocop//lib/rubocop/config_loader.rb#148 def add_excludes_from_files(config, config_file); end # Used to add features that were required inside a config or from @@ -1435,7 +1435,7 @@ class RuboCop::ConfigLoader # # @api private # - # source://rubocop//lib/rubocop/config_loader.rb#238 + # source://rubocop//lib/rubocop/config_loader.rb#237 def add_loaded_features(loaded_features); end # Used to add plugins that were required inside a config or from @@ -1443,10 +1443,10 @@ class RuboCop::ConfigLoader # # @api private # - # source://rubocop//lib/rubocop/config_loader.rb#231 + # source://rubocop//lib/rubocop/config_loader.rb#230 def add_loaded_plugins(loaded_plugins); end - # source://rubocop//lib/rubocop/config_loader.rb#92 + # source://rubocop//lib/rubocop/config_loader.rb#91 def add_missing_namespaces(path, hash); end # source://rubocop//lib/rubocop/config_loader.rb#41 @@ -1458,10 +1458,10 @@ class RuboCop::ConfigLoader # user's home directory is checked. If there's no .rubocop.yml # there either, the path to the default file is returned. # - # source://rubocop//lib/rubocop/config_loader.rb#116 + # source://rubocop//lib/rubocop/config_loader.rb#115 def configuration_file_for(target_dir); end - # source://rubocop//lib/rubocop/config_loader.rb#120 + # source://rubocop//lib/rubocop/config_loader.rb#119 def configuration_from_file(config_file, check: T.unsafe(nil)); end # Returns the value of attribute debug. @@ -1481,7 +1481,7 @@ class RuboCop::ConfigLoader # source://rubocop//lib/rubocop/config_loader.rb#33 def debug?; end - # source://rubocop//lib/rubocop/config_loader.rb#159 + # source://rubocop//lib/rubocop/config_loader.rb#158 def default_configuration; end # Sets the attribute default_configuration @@ -1549,7 +1549,7 @@ class RuboCop::ConfigLoader # so this API is usually not needed. It is intended to be used only when implementing tests # that do not use `rubocop/rspec/support`. # - # source://rubocop//lib/rubocop/config_loader.rb#171 + # source://rubocop//lib/rubocop/config_loader.rb#170 def inject_defaults!(config_yml_path); end # source://rubocop//lib/rubocop/config_loader.rb#53 @@ -1557,7 +1557,7 @@ class RuboCop::ConfigLoader # @raise [TypeError] # - # source://rubocop//lib/rubocop/config_loader.rb#79 + # source://rubocop//lib/rubocop/config_loader.rb#78 def load_yaml_configuration(absolute_path); end # Returns the value of attribute loaded_features. @@ -1574,20 +1574,20 @@ class RuboCop::ConfigLoader # with the addition that any value that is a hash, and occurs in both # arguments, will also be merged. And so on. # - # source://rubocop//lib/rubocop/config_loader.rb#107 + # source://rubocop//lib/rubocop/config_loader.rb#106 def merge(base_hash, derived_hash); end # Merges the given configuration with the default one. # - # source://rubocop//lib/rubocop/config_loader.rb#224 + # source://rubocop//lib/rubocop/config_loader.rb#223 def merge_with_default(config, config_file, unset_nil: T.unsafe(nil)); end - # source://rubocop//lib/rubocop/config_loader.rb#140 + # source://rubocop//lib/rubocop/config_loader.rb#139 def pending_cops_only_qualified(pending_cops); end # @return [Boolean] # - # source://rubocop//lib/rubocop/config_loader.rb#144 + # source://rubocop//lib/rubocop/config_loader.rb#143 def possible_new_cops?(config); end # Returns the path RuboCop inferred as the root of the project. No file @@ -1595,37 +1595,37 @@ class RuboCop::ConfigLoader # # @deprecated Use `RuboCop::ConfigFinder.project_root` instead. # - # source://rubocop//lib/rubocop/config_loader.rb#199 + # source://rubocop//lib/rubocop/config_loader.rb#198 def project_root; end - # source://rubocop//lib/rubocop/config_loader.rb#208 + # source://rubocop//lib/rubocop/config_loader.rb#207 def warn_on_pending_cops(pending_cops); end - # source://rubocop//lib/rubocop/config_loader.rb#216 + # source://rubocop//lib/rubocop/config_loader.rb#215 def warn_pending_cop(cop); end private - # source://rubocop//lib/rubocop/config_loader.rb#252 + # source://rubocop//lib/rubocop/config_loader.rb#251 def check_duplication(yaml_code, absolute_path); end - # source://rubocop//lib/rubocop/config_loader.rb#244 + # source://rubocop//lib/rubocop/config_loader.rb#243 def file_path(file); end # Read the specified file, or exit with a friendly, concise message on # stderr. Care is taken to use the standard OS exit code for a "file not # found" error. # - # source://rubocop//lib/rubocop/config_loader.rb#272 + # source://rubocop//lib/rubocop/config_loader.rb#271 def read_file(absolute_path); end - # source://rubocop//lib/rubocop/config_loader.rb#248 + # source://rubocop//lib/rubocop/config_loader.rb#247 def resolver; end - # source://rubocop//lib/rubocop/config_loader.rb#278 + # source://rubocop//lib/rubocop/config_loader.rb#277 def yaml_tree_to_hash(yaml_tree); end - # source://rubocop//lib/rubocop/config_loader.rb#288 + # source://rubocop//lib/rubocop/config_loader.rb#287 def yaml_tree_to_hash!(yaml_tree); end end end @@ -19585,6 +19585,13 @@ RuboCop::Cop::Lint::EmptyClass::METACLASS_MSG = T.let(T.unsafe(nil), String) # if condition # do_something # elsif other_condition +# nil +# end +# +# # good +# if condition +# do_something +# elsif other_condition # do_something_else # end # @example AllowComments: true (default) @@ -19602,70 +19609,48 @@ RuboCop::Cop::Lint::EmptyClass::METACLASS_MSG = T.let(T.unsafe(nil), String) # # noop # end # -# source://rubocop//lib/rubocop/cop/lint/empty_conditional_body.rb#63 +# source://rubocop//lib/rubocop/cop/lint/empty_conditional_body.rb#65 class RuboCop::Cop::Lint::EmptyConditionalBody < ::RuboCop::Cop::Base include ::RuboCop::Cop::CommentsHelp - include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop//lib/rubocop/cop/lint/empty_conditional_body.rb#70 + # source://rubocop//lib/rubocop/cop/lint/empty_conditional_body.rb#71 def on_if(node); end private - # @return [Boolean] - # - # source://rubocop//lib/rubocop/cop/lint/empty_conditional_body.rb#182 - def all_branches_body_missing?(node); end - - # source://rubocop//lib/rubocop/cop/lint/empty_conditional_body.rb#100 - def autocorrect(corrector, node); end - - # source://rubocop//lib/rubocop/cop/lint/empty_conditional_body.rb#168 + # source://rubocop//lib/rubocop/cop/lint/empty_conditional_body.rb#125 def branch_range(node); end - # source://rubocop//lib/rubocop/cop/lint/empty_conditional_body.rb#130 - def correct_other_branches(corrector, node); end + # @return [Boolean] + # + # source://rubocop//lib/rubocop/cop/lint/empty_conditional_body.rb#94 + def can_simplify_conditional?(node); end - # source://rubocop//lib/rubocop/cop/lint/empty_conditional_body.rb#188 + # source://rubocop//lib/rubocop/cop/lint/empty_conditional_body.rb#133 def deletion_range(range); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/lint/empty_conditional_body.rb#83 - def do_autocorrect?(node); end - - # @return [Boolean] - # - # source://rubocop//lib/rubocop/cop/lint/empty_conditional_body.rb#163 + # source://rubocop//lib/rubocop/cop/lint/empty_conditional_body.rb#121 def else_branch?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/lint/empty_conditional_body.rb#157 - def empty_elsif_branch?(node); end - - # @return [Boolean] - # - # source://rubocop//lib/rubocop/cop/lint/empty_conditional_body.rb#149 + # source://rubocop//lib/rubocop/cop/lint/empty_conditional_body.rb#113 def empty_if_branch?(node); end - # source://rubocop//lib/rubocop/cop/lint/empty_conditional_body.rb#92 + # source://rubocop//lib/rubocop/cop/lint/empty_conditional_body.rb#108 + def flip_orphaned_else(corrector, node); end + + # source://rubocop//lib/rubocop/cop/lint/empty_conditional_body.rb#86 def offense_range(node); end - # source://rubocop//lib/rubocop/cop/lint/empty_conditional_body.rb#106 - def remove_comments(corrector, node); end - - # source://rubocop//lib/rubocop/cop/lint/empty_conditional_body.rb#114 + # source://rubocop//lib/rubocop/cop/lint/empty_conditional_body.rb#98 def remove_empty_branch(corrector, node); end - - # @return [Boolean] - # - # source://rubocop//lib/rubocop/cop/lint/empty_conditional_body.rb#142 - def require_other_branches_correction?(node); end end -# source://rubocop//lib/rubocop/cop/lint/empty_conditional_body.rb#68 +# source://rubocop//lib/rubocop/cop/lint/empty_conditional_body.rb#69 RuboCop::Cop::Lint::EmptyConditionalBody::MSG = T.let(T.unsafe(nil), String) # Checks for empty `ensure` blocks. @@ -20018,9 +20003,6 @@ class RuboCop::Cop::Lint::ErbNewArguments < ::RuboCop::Cop::Base private - # source://rubocop//lib/rubocop/cop/lint/erb_new_arguments.rb#160 - def arguments_range(node); end - # source://rubocop//lib/rubocop/cop/lint/erb_new_arguments.rb#115 def autocorrect(corrector, node); end @@ -31536,10 +31518,22 @@ end module RuboCop::Cop::RangeHelp private - # source://rubocop//lib/rubocop/cop/mixin/range_help.rb#140 + # source://rubocop//lib/rubocop/cop/mixin/range_help.rb#152 def add_range(range1, range2); end - # source://rubocop//lib/rubocop/cop/mixin/range_help.rb#81 + # A range containing the first to the last argument + # of a method call or method definition. + # def foo(a, b:) + # ^^^^^ + # bar(1, 2, 3, &blk) + # ^^^^^^^^^^^^^ + # baz { |x, y:, z:| } + # ^^^^^^^^^ + # + # source://rubocop//lib/rubocop/cop/mixin/range_help.rb#45 + def arguments_range(node); end + + # source://rubocop//lib/rubocop/cop/mixin/range_help.rb#93 def column_offset_between(base_range, range); end # A range containing only the contents of a literal with delimiters (e.g. in @@ -31548,7 +31542,7 @@ module RuboCop::Cop::RangeHelp # source://rubocop//lib/rubocop/cop/mixin/range_help.rb#33 def contents_range(node); end - # source://rubocop//lib/rubocop/cop/mixin/range_help.rb#99 + # source://rubocop//lib/rubocop/cop/mixin/range_help.rb#111 def directions(side); end # Returns the column attribute of the range, except if the range is on @@ -31556,34 +31550,34 @@ module RuboCop::Cop::RangeHelp # line, in which case 1 is subtracted from the column value. This gives # the column as it appears when viewing the file in an editor. # - # source://rubocop//lib/rubocop/cop/mixin/range_help.rb#91 + # source://rubocop//lib/rubocop/cop/mixin/range_help.rb#103 def effective_column(range); end - # source://rubocop//lib/rubocop/cop/mixin/range_help.rb#108 + # source://rubocop//lib/rubocop/cop/mixin/range_help.rb#120 def final_pos(src, pos, increment, continuations, newlines, whitespace); end - # source://rubocop//lib/rubocop/cop/mixin/range_help.rb#116 + # source://rubocop//lib/rubocop/cop/mixin/range_help.rb#128 def move_pos(src, pos, step, condition, regexp); end - # source://rubocop//lib/rubocop/cop/mixin/range_help.rb#122 + # source://rubocop//lib/rubocop/cop/mixin/range_help.rb#134 def move_pos_str(src, pos, step, condition, needle); end - # source://rubocop//lib/rubocop/cop/mixin/range_help.rb#37 + # source://rubocop//lib/rubocop/cop/mixin/range_help.rb#49 def range_between(start_pos, end_pos); end - # source://rubocop//lib/rubocop/cop/mixin/range_help.rb#72 + # source://rubocop//lib/rubocop/cop/mixin/range_help.rb#84 def range_by_whole_lines(range, include_final_newline: T.unsafe(nil), buffer: T.unsafe(nil)); end - # source://rubocop//lib/rubocop/cop/mixin/range_help.rb#133 + # source://rubocop//lib/rubocop/cop/mixin/range_help.rb#145 def range_with_comments(node); end - # source://rubocop//lib/rubocop/cop/mixin/range_help.rb#129 + # source://rubocop//lib/rubocop/cop/mixin/range_help.rb#141 def range_with_comments_and_lines(node); end - # source://rubocop//lib/rubocop/cop/mixin/range_help.rb#41 + # source://rubocop//lib/rubocop/cop/mixin/range_help.rb#53 def range_with_surrounding_comma(range, side = T.unsafe(nil)); end - # source://rubocop//lib/rubocop/cop/mixin/range_help.rb#55 + # source://rubocop//lib/rubocop/cop/mixin/range_help.rb#67 def range_with_surrounding_space(range_positional = T.unsafe(nil), range: T.unsafe(nil), side: T.unsafe(nil), newlines: T.unsafe(nil), whitespace: T.unsafe(nil), continuations: T.unsafe(nil), buffer: T.unsafe(nil)); end # source://rubocop//lib/rubocop/cop/mixin/range_help.rb#12 @@ -38520,9 +38514,6 @@ class RuboCop::Cop::Style::ExpandPathArguments < ::RuboCop::Cop::Base private - # source://rubocop//lib/rubocop/cop/style/expand_path_arguments.rb#189 - def arguments_range(node); end - # source://rubocop//lib/rubocop/cop/style/expand_path_arguments.rb#100 def autocorrect(corrector, node); end @@ -41604,61 +41595,61 @@ class RuboCop::Cop::Style::InverseMethods < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop//lib/rubocop/cop/style/inverse_methods.rb#69 + # source://rubocop//lib/rubocop/cop/style/inverse_methods.rb#70 def inverse_block?(param0 = T.unsafe(nil)); end - # source://rubocop//lib/rubocop/cop/style/inverse_methods.rb#60 + # source://rubocop//lib/rubocop/cop/style/inverse_methods.rb#61 def inverse_candidate?(param0 = T.unsafe(nil)); end - # source://rubocop//lib/rubocop/cop/style/inverse_methods.rb#91 + # source://rubocop//lib/rubocop/cop/style/inverse_methods.rb#92 def on_block(node); end - # source://rubocop//lib/rubocop/cop/style/inverse_methods.rb#77 + # source://rubocop//lib/rubocop/cop/style/inverse_methods.rb#78 def on_csend(node); end - # source://rubocop//lib/rubocop/cop/style/inverse_methods.rb#91 + # source://rubocop//lib/rubocop/cop/style/inverse_methods.rb#92 def on_numblock(node); end - # source://rubocop//lib/rubocop/cop/style/inverse_methods.rb#77 + # source://rubocop//lib/rubocop/cop/style/inverse_methods.rb#78 def on_send(node); end private # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/inverse_methods.rb#176 + # source://rubocop//lib/rubocop/cop/style/inverse_methods.rb#179 def camel_case_constant?(node); end - # source://rubocop//lib/rubocop/cop/style/inverse_methods.rb#120 + # source://rubocop//lib/rubocop/cop/style/inverse_methods.rb#121 def correct_inverse_block(corrector, node); end - # source://rubocop//lib/rubocop/cop/style/inverse_methods.rb#111 + # source://rubocop//lib/rubocop/cop/style/inverse_methods.rb#112 def correct_inverse_method(corrector, node); end - # source://rubocop//lib/rubocop/cop/style/inverse_methods.rb#127 + # source://rubocop//lib/rubocop/cop/style/inverse_methods.rb#128 def correct_inverse_selector(block, corrector); end - # source://rubocop//lib/rubocop/cop/style/inverse_methods.rb#180 + # source://rubocop//lib/rubocop/cop/style/inverse_methods.rb#183 def dot_range(loc); end - # source://rubocop//lib/rubocop/cop/style/inverse_methods.rb#165 + # source://rubocop//lib/rubocop/cop/style/inverse_methods.rb#162 def end_parentheses(node, method_call); end - # source://rubocop//lib/rubocop/cop/style/inverse_methods.rb#149 + # source://rubocop//lib/rubocop/cop/style/inverse_methods.rb#150 def inverse_blocks; end - # source://rubocop//lib/rubocop/cop/style/inverse_methods.rb#144 + # source://rubocop//lib/rubocop/cop/style/inverse_methods.rb#145 def inverse_methods; end - # source://rubocop//lib/rubocop/cop/style/inverse_methods.rb#190 + # source://rubocop//lib/rubocop/cop/style/inverse_methods.rb#193 def message(method, inverse); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/inverse_methods.rb#153 + # source://rubocop//lib/rubocop/cop/style/inverse_methods.rb#154 def negated?(node); end - # source://rubocop//lib/rubocop/cop/style/inverse_methods.rb#161 + # source://rubocop//lib/rubocop/cop/style/inverse_methods.rb#158 def not_to_receiver(node, method_call); end # When comparing classes, `!(Integer < Numeric)` is not the same as @@ -41666,41 +41657,44 @@ class RuboCop::Cop::Style::InverseMethods < ::RuboCop::Cop::Base # # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/inverse_methods.rb#171 + # source://rubocop//lib/rubocop/cop/style/inverse_methods.rb#174 def possible_class_hierarchy_check?(lhs, rhs, method); end + # source://rubocop//lib/rubocop/cop/style/inverse_methods.rb#187 + def remove_end_parenthesis(corrector, node, method, method_call); end + # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/inverse_methods.rb#157 - def relational_comparison_with_safe_navigation?(node); end - - # source://rubocop//lib/rubocop/cop/style/inverse_methods.rb#184 - def remove_end_parenthesis(corrector, node, method, method_call); end + # source://rubocop//lib/rubocop/cop/style/inverse_methods.rb#166 + def safe_navigation_incompatible?(node); end class << self - # source://rubocop//lib/rubocop/cop/style/inverse_methods.rb#55 + # source://rubocop//lib/rubocop/cop/style/inverse_methods.rb#56 def autocorrect_incompatible_with; end end end -# source://rubocop//lib/rubocop/cop/style/inverse_methods.rb#51 +# source://rubocop//lib/rubocop/cop/style/inverse_methods.rb#52 RuboCop::Cop::Style::InverseMethods::CAMEL_CASE = T.let(T.unsafe(nil), Regexp) # source://rubocop//lib/rubocop/cop/style/inverse_methods.rb#48 RuboCop::Cop::Style::InverseMethods::CLASS_COMPARISON_METHODS = T.let(T.unsafe(nil), Array) -# source://rubocop//lib/rubocop/cop/style/inverse_methods.rb#49 +# source://rubocop//lib/rubocop/cop/style/inverse_methods.rb#50 RuboCop::Cop::Style::InverseMethods::EQUALITY_METHODS = T.let(T.unsafe(nil), Array) # source://rubocop//lib/rubocop/cop/style/inverse_methods.rb#47 RuboCop::Cop::Style::InverseMethods::MSG = T.let(T.unsafe(nil), String) -# source://rubocop//lib/rubocop/cop/style/inverse_methods.rb#50 +# source://rubocop//lib/rubocop/cop/style/inverse_methods.rb#51 RuboCop::Cop::Style::InverseMethods::NEGATED_EQUALITY_METHODS = T.let(T.unsafe(nil), Array) -# source://rubocop//lib/rubocop/cop/style/inverse_methods.rb#53 +# source://rubocop//lib/rubocop/cop/style/inverse_methods.rb#54 RuboCop::Cop::Style::InverseMethods::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) +# source://rubocop//lib/rubocop/cop/style/inverse_methods.rb#49 +RuboCop::Cop::Style::InverseMethods::SAFE_NAVIGATION_INCOMPATIBLE_METHODS = T.let(T.unsafe(nil), Array) + # Checks for usages of `unless` which can be replaced by `if` with inverted condition. # Code without `unless` is easier to read, but that is subjective, so this cop # is disabled by default. @@ -41948,10 +41942,13 @@ class RuboCop::Cop::Style::KeywordParametersOrder < ::RuboCop::Cop::Base private - # source://rubocop//lib/rubocop/cop/style/keyword_parameters_order.rb#58 + # source://rubocop//lib/rubocop/cop/style/keyword_parameters_order.rb#64 def append_newline_to_last_kwoptarg(arguments, corrector); end - # source://rubocop//lib/rubocop/cop/style/keyword_parameters_order.rb#66 + # source://rubocop//lib/rubocop/cop/style/keyword_parameters_order.rb#55 + def autocorrect(corrector, node, defining_node, kwarg_nodes); end + + # source://rubocop//lib/rubocop/cop/style/keyword_parameters_order.rb#72 def remove_kwargs(kwarg_nodes, corrector); end end @@ -44254,33 +44251,30 @@ class RuboCop::Cop::Style::MultilineMethodSignature < ::RuboCop::Cop::Base private - # source://rubocop//lib/rubocop/cop/style/multiline_method_signature.rb#69 - def arguments_range(node); end - # source://rubocop//lib/rubocop/cop/style/multiline_method_signature.rb#42 def autocorrect(corrector, node, begin_of_arguments); end - # source://rubocop//lib/rubocop/cop/style/multiline_method_signature.rb#81 + # source://rubocop//lib/rubocop/cop/style/multiline_method_signature.rb#73 def closing_line(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/multiline_method_signature.rb#85 + # source://rubocop//lib/rubocop/cop/style/multiline_method_signature.rb#77 def correction_exceeds_max_line_length?(node); end - # source://rubocop//lib/rubocop/cop/style/multiline_method_signature.rb#93 + # source://rubocop//lib/rubocop/cop/style/multiline_method_signature.rb#85 def definition_width(node); end - # source://rubocop//lib/rubocop/cop/style/multiline_method_signature.rb#89 + # source://rubocop//lib/rubocop/cop/style/multiline_method_signature.rb#81 def indentation_width(node); end # source://rubocop//lib/rubocop/cop/style/multiline_method_signature.rb#65 def last_line_source_of_arguments(arguments); end - # source://rubocop//lib/rubocop/cop/style/multiline_method_signature.rb#97 + # source://rubocop//lib/rubocop/cop/style/multiline_method_signature.rb#89 def max_line_length; end - # source://rubocop//lib/rubocop/cop/style/multiline_method_signature.rb#77 + # source://rubocop//lib/rubocop/cop/style/multiline_method_signature.rb#69 def opening_line(node); end end @@ -47699,12 +47693,12 @@ class RuboCop::Cop::Style::RedundantCondition < ::RuboCop::Cop::Base # # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/redundant_condition.rb#226 + # source://rubocop//lib/rubocop/cop/style/redundant_condition.rb#225 def argument_with_operator?(argument); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/redundant_condition.rb#203 + # source://rubocop//lib/rubocop/cop/style/redundant_condition.rb#202 def asgn_type?(node); end # source://rubocop//lib/rubocop/cop/style/redundant_condition.rb#97 @@ -47712,24 +47706,24 @@ class RuboCop::Cop::Style::RedundantCondition < ::RuboCop::Cop::Base # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/redundant_condition.rb#193 + # source://rubocop//lib/rubocop/cop/style/redundant_condition.rb#192 def branches_have_assignment?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/redundant_condition.rb#207 + # source://rubocop//lib/rubocop/cop/style/redundant_condition.rb#206 def branches_have_method?(node); end - # source://rubocop//lib/rubocop/cop/style/redundant_condition.rb#301 + # source://rubocop//lib/rubocop/cop/style/redundant_condition.rb#300 def correct_ternary(corrector, node); end - # source://rubocop//lib/rubocop/cop/style/redundant_condition.rb#248 + # source://rubocop//lib/rubocop/cop/style/redundant_condition.rb#247 def else_source(else_branch, arithmetic_operation); end - # source://rubocop//lib/rubocop/cop/style/redundant_condition.rb#274 + # source://rubocop//lib/rubocop/cop/style/redundant_condition.rb#273 def else_source_if_has_assignment(else_branch); end - # source://rubocop//lib/rubocop/cop/style/redundant_condition.rb#264 + # source://rubocop//lib/rubocop/cop/style/redundant_condition.rb#263 def else_source_if_has_method(else_branch); end # @return [Boolean] @@ -47737,10 +47731,10 @@ class RuboCop::Cop::Style::RedundantCondition < ::RuboCop::Cop::Base # source://rubocop//lib/rubocop/cop/style/redundant_condition.rb#181 def if_branch_is_true_type_and_else_is_not?(node); end - # source://rubocop//lib/rubocop/cop/style/redundant_condition.rb#234 + # source://rubocop//lib/rubocop/cop/style/redundant_condition.rb#233 def if_source(if_branch, arithmetic_operation); end - # source://rubocop//lib/rubocop/cop/style/redundant_condition.rb#284 + # source://rubocop//lib/rubocop/cop/style/redundant_condition.rb#283 def make_ternary_form(node); end # source://rubocop//lib/rubocop/cop/style/redundant_condition.rb#89 @@ -47761,22 +47755,22 @@ class RuboCop::Cop::Style::RedundantCondition < ::RuboCop::Cop::Base # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/redundant_condition.rb#316 + # source://rubocop//lib/rubocop/cop/style/redundant_condition.rb#315 def require_braces?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/redundant_condition.rb#309 + # source://rubocop//lib/rubocop/cop/style/redundant_condition.rb#308 def require_parentheses?(node); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/redundant_condition.rb#220 + # source://rubocop//lib/rubocop/cop/style/redundant_condition.rb#219 def same_method?(if_branch, else_branch); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/redundant_condition.rb#214 + # source://rubocop//lib/rubocop/cop/style/redundant_condition.rb#213 def single_argument_method?(node); end # @return [Boolean] @@ -47786,7 +47780,7 @@ class RuboCop::Cop::Style::RedundantCondition < ::RuboCop::Cop::Base # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/redundant_condition.rb#320 + # source://rubocop//lib/rubocop/cop/style/redundant_condition.rb#319 def use_arithmetic_operation?(node); end # @return [Boolean] @@ -47806,7 +47800,7 @@ class RuboCop::Cop::Style::RedundantCondition < ::RuboCop::Cop::Base # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/redundant_condition.rb#324 + # source://rubocop//lib/rubocop/cop/style/redundant_condition.rb#323 def without_argument_parentheses_method?(node); end end @@ -52054,12 +52048,9 @@ class RuboCop::Cop::Style::SoleNestedConditional < ::RuboCop::Cop::Base # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/sole_nested_conditional.rb#260 + # source://rubocop//lib/rubocop/cop/style/sole_nested_conditional.rb#254 def allow_modifier?; end - # source://rubocop//lib/rubocop/cop/style/sole_nested_conditional.rb#233 - def arguments_range(node); end - # source://rubocop//lib/rubocop/cop/style/sole_nested_conditional.rb#81 def assigned_variables(condition); end @@ -52103,13 +52094,13 @@ class RuboCop::Cop::Style::SoleNestedConditional < ::RuboCop::Cop::Base # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/sole_nested_conditional.rb#264 + # source://rubocop//lib/rubocop/cop/style/sole_nested_conditional.rb#258 def outer_condition_modify_form?(node, if_branch); end - # source://rubocop//lib/rubocop/cop/style/sole_nested_conditional.rb#253 + # source://rubocop//lib/rubocop/cop/style/sole_nested_conditional.rb#247 def parenthesized_method_arguments(node); end - # source://rubocop//lib/rubocop/cop/style/sole_nested_conditional.rb#243 + # source://rubocop//lib/rubocop/cop/style/sole_nested_conditional.rb#237 def replace_condition(condition); end # @return [Boolean] @@ -52127,7 +52118,7 @@ class RuboCop::Cop::Style::SoleNestedConditional < ::RuboCop::Cop::Base # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/style/sole_nested_conditional.rb#239 + # source://rubocop//lib/rubocop/cop/style/sole_nested_conditional.rb#233 def wrap_condition?(node); end class << self @@ -56007,40 +55998,44 @@ module RuboCop::Cop::Utils; end class RuboCop::Cop::Utils::FormatString # @return [FormatString] a new instance of FormatString # - # source://rubocop//lib/rubocop/cop/utils/format_string.rb#91 + # source://rubocop//lib/rubocop/cop/utils/format_string.rb#94 def initialize(string); end - # source://rubocop//lib/rubocop/cop/utils/format_string.rb#95 + # source://rubocop//lib/rubocop/cop/utils/format_string.rb#98 def format_sequences; end - # source://rubocop//lib/rubocop/cop/utils/format_string.rb#107 + # source://rubocop//lib/rubocop/cop/utils/format_string.rb#110 def max_digit_dollar_num; end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/utils/format_string.rb#103 + # source://rubocop//lib/rubocop/cop/utils/format_string.rb#106 def named_interpolation?; end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/utils/format_string.rb#99 + # source://rubocop//lib/rubocop/cop/utils/format_string.rb#102 def valid?; end private # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/utils/format_string.rb#119 + # source://rubocop//lib/rubocop/cop/utils/format_string.rb#122 def mixed_formats?; end - # source://rubocop//lib/rubocop/cop/utils/format_string.rb#113 + # source://rubocop//lib/rubocop/cop/utils/format_string.rb#116 def parse; end end -# source://rubocop//lib/rubocop/cop/utils/format_string.rb#8 +# Escaping the `#` in `INTERPOLATION` and `TEMPLATE_NAME` is necessary to +# avoid a bug in Ruby 3.2.0 +# See: https://bugs.ruby-lang.org/issues/19379 +# +# source://rubocop//lib/rubocop/cop/utils/format_string.rb#11 RuboCop::Cop::Utils::FormatString::DIGIT_DOLLAR = T.let(T.unsafe(nil), Regexp) -# source://rubocop//lib/rubocop/cop/utils/format_string.rb#10 +# source://rubocop//lib/rubocop/cop/utils/format_string.rb#13 RuboCop::Cop::Utils::FormatString::FLAG = T.let(T.unsafe(nil), Regexp) # The syntax of a format sequence is as follows. @@ -56057,105 +56052,105 @@ RuboCop::Cop::Utils::FormatString::FLAG = T.let(T.unsafe(nil), Regexp) # # @see https://ruby-doc.org/core-2.6.3/Kernel.html#method-i-format # -# source://rubocop//lib/rubocop/cop/utils/format_string.rb#44 +# source://rubocop//lib/rubocop/cop/utils/format_string.rb#47 class RuboCop::Cop::Utils::FormatString::FormatSequence # @return [FormatSequence] a new instance of FormatSequence # - # source://rubocop//lib/rubocop/cop/utils/format_string.rb#47 + # source://rubocop//lib/rubocop/cop/utils/format_string.rb#50 def initialize(match); end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/utils/format_string.rb#63 + # source://rubocop//lib/rubocop/cop/utils/format_string.rb#66 def annotated?; end # Returns the value of attribute arg_number. # - # source://rubocop//lib/rubocop/cop/utils/format_string.rb#45 + # source://rubocop//lib/rubocop/cop/utils/format_string.rb#48 def arg_number; end # Number of arguments required for the format sequence # - # source://rubocop//lib/rubocop/cop/utils/format_string.rb#72 + # source://rubocop//lib/rubocop/cop/utils/format_string.rb#75 def arity; end # Returns the value of attribute begin_pos. # - # source://rubocop//lib/rubocop/cop/utils/format_string.rb#45 + # source://rubocop//lib/rubocop/cop/utils/format_string.rb#48 def begin_pos; end # Returns the value of attribute end_pos. # - # source://rubocop//lib/rubocop/cop/utils/format_string.rb#45 + # source://rubocop//lib/rubocop/cop/utils/format_string.rb#48 def end_pos; end # Returns the value of attribute flags. # - # source://rubocop//lib/rubocop/cop/utils/format_string.rb#45 + # source://rubocop//lib/rubocop/cop/utils/format_string.rb#48 def flags; end - # source://rubocop//lib/rubocop/cop/utils/format_string.rb#76 + # source://rubocop//lib/rubocop/cop/utils/format_string.rb#79 def max_digit_dollar_num; end # Returns the value of attribute name. # - # source://rubocop//lib/rubocop/cop/utils/format_string.rb#45 + # source://rubocop//lib/rubocop/cop/utils/format_string.rb#48 def name; end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/utils/format_string.rb#59 + # source://rubocop//lib/rubocop/cop/utils/format_string.rb#62 def percent?; end # Returns the value of attribute precision. # - # source://rubocop//lib/rubocop/cop/utils/format_string.rb#45 + # source://rubocop//lib/rubocop/cop/utils/format_string.rb#48 def precision; end - # source://rubocop//lib/rubocop/cop/utils/format_string.rb#80 + # source://rubocop//lib/rubocop/cop/utils/format_string.rb#83 def style; end # @return [Boolean] # - # source://rubocop//lib/rubocop/cop/utils/format_string.rb#67 + # source://rubocop//lib/rubocop/cop/utils/format_string.rb#70 def template?; end # Returns the value of attribute type. # - # source://rubocop//lib/rubocop/cop/utils/format_string.rb#45 + # source://rubocop//lib/rubocop/cop/utils/format_string.rb#48 def type; end # Returns the value of attribute width. # - # source://rubocop//lib/rubocop/cop/utils/format_string.rb#45 + # source://rubocop//lib/rubocop/cop/utils/format_string.rb#48 def width; end end -# source://rubocop//lib/rubocop/cop/utils/format_string.rb#9 +# source://rubocop//lib/rubocop/cop/utils/format_string.rb#12 RuboCop::Cop::Utils::FormatString::INTERPOLATION = T.let(T.unsafe(nil), Regexp) -# source://rubocop//lib/rubocop/cop/utils/format_string.rb#16 +# source://rubocop//lib/rubocop/cop/utils/format_string.rb#19 RuboCop::Cop::Utils::FormatString::NAME = T.let(T.unsafe(nil), Regexp) -# source://rubocop//lib/rubocop/cop/utils/format_string.rb#12 +# source://rubocop//lib/rubocop/cop/utils/format_string.rb#15 RuboCop::Cop::Utils::FormatString::NUMBER = T.let(T.unsafe(nil), Regexp) -# source://rubocop//lib/rubocop/cop/utils/format_string.rb#11 +# source://rubocop//lib/rubocop/cop/utils/format_string.rb#14 RuboCop::Cop::Utils::FormatString::NUMBER_ARG = T.let(T.unsafe(nil), Regexp) -# source://rubocop//lib/rubocop/cop/utils/format_string.rb#14 +# source://rubocop//lib/rubocop/cop/utils/format_string.rb#17 RuboCop::Cop::Utils::FormatString::PRECISION = T.let(T.unsafe(nil), Regexp) -# source://rubocop//lib/rubocop/cop/utils/format_string.rb#19 +# source://rubocop//lib/rubocop/cop/utils/format_string.rb#22 RuboCop::Cop::Utils::FormatString::SEQUENCE = T.let(T.unsafe(nil), Regexp) -# source://rubocop//lib/rubocop/cop/utils/format_string.rb#17 +# source://rubocop//lib/rubocop/cop/utils/format_string.rb#20 RuboCop::Cop::Utils::FormatString::TEMPLATE_NAME = T.let(T.unsafe(nil), Regexp) -# source://rubocop//lib/rubocop/cop/utils/format_string.rb#15 +# source://rubocop//lib/rubocop/cop/utils/format_string.rb#18 RuboCop::Cop::Utils::FormatString::TYPE = T.let(T.unsafe(nil), Regexp) -# source://rubocop//lib/rubocop/cop/utils/format_string.rb#13 +# source://rubocop//lib/rubocop/cop/utils/format_string.rb#16 RuboCop::Cop::Utils::FormatString::WIDTH = T.let(T.unsafe(nil), Regexp) # This force provides a way to track local variables and scopes of Ruby. From 1b73efa575610262235f685927d8880c966bcff9 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sat, 1 Mar 2025 03:56:10 +0000 Subject: [PATCH 228/322] build(deps-dev): bump rubocop-rspec from 3.4.0 to 3.5.0 in /Library/Homebrew Dependabot couldn't find the original pull request head commit, ac410e7e262a92178dcdb3a8d25fee8ab24d5424. --- Library/Homebrew/Gemfile.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Library/Homebrew/Gemfile.lock b/Library/Homebrew/Gemfile.lock index 02849478d9..e53fb604fd 100644 --- a/Library/Homebrew/Gemfile.lock +++ b/Library/Homebrew/Gemfile.lock @@ -94,8 +94,9 @@ GEM rubocop-performance (1.23.1) rubocop (>= 1.48.1, < 2.0) rubocop-ast (>= 1.31.1, < 2.0) - rubocop-rspec (3.4.0) - rubocop (~> 1.61) + rubocop-rspec (3.5.0) + lint_roller (~> 1.1) + rubocop (~> 1.72, >= 1.72.1) rubocop-sorbet (0.8.9) rubocop (>= 1) ruby-lsp (0.23.11) @@ -155,7 +156,6 @@ GEM PLATFORMS aarch64-linux - arm-linux arm64-darwin x86_64-darwin x86_64-linux From 6f616a416ba67f6b8347190a654a2d1d49da1734 Mon Sep 17 00:00:00 2001 From: Douglas Eichelberger Date: Tue, 4 Mar 2025 11:31:29 -0800 Subject: [PATCH 229/322] Update per https://github.com/rubocop/rubocop-rspec/issues/2048\#issuecomment-2694423765 --- Library/.rubocop.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Library/.rubocop.yml b/Library/.rubocop.yml index 1f4ab021ed..b0ecdc23ee 100644 --- a/Library/.rubocop.yml +++ b/Library/.rubocop.yml @@ -1,4 +1,8 @@ --- +plugins: + - rubocop-rspec: + plugin_class_name: RuboCop::RSpec::Plugin + require: - ./Homebrew/rubocops.rb - rubocop-md From 1494a471dd8df9856f055b980c09bfb139601da0 Mon Sep 17 00:00:00 2001 From: Douglas Eichelberger Date: Tue, 4 Mar 2025 11:35:33 -0800 Subject: [PATCH 230/322] remove lint_roller from tapioca exclusions --- Library/Homebrew/sorbet/tapioca/config.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/Library/Homebrew/sorbet/tapioca/config.yml b/Library/Homebrew/sorbet/tapioca/config.yml index 6949cc1b0d..d4e2f10cdd 100644 --- a/Library/Homebrew/sorbet/tapioca/config.yml +++ b/Library/Homebrew/sorbet/tapioca/config.yml @@ -16,7 +16,6 @@ gem: - docile - hana - language_server-protocol - - lint_roller - netrc - parallel - public_suffix From f030eb27f11464cd5bf7baec18e837f3bc3c2ddd Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Tue, 4 Mar 2025 19:37:25 +0000 Subject: [PATCH 231/322] brew vendor-gems: commit updates. --- Library/Homebrew/Gemfile.lock | 1 + Library/Homebrew/vendor/bundle/bundler/setup.rb | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Library/Homebrew/Gemfile.lock b/Library/Homebrew/Gemfile.lock index e53fb604fd..8786a8c932 100644 --- a/Library/Homebrew/Gemfile.lock +++ b/Library/Homebrew/Gemfile.lock @@ -156,6 +156,7 @@ GEM PLATFORMS aarch64-linux + arm-linux arm64-darwin x86_64-darwin x86_64-linux diff --git a/Library/Homebrew/vendor/bundle/bundler/setup.rb b/Library/Homebrew/vendor/bundle/bundler/setup.rb index eceee0230a..543e60022f 100644 --- a/Library/Homebrew/vendor/bundle/bundler/setup.rb +++ b/Library/Homebrew/vendor/bundle/bundler/setup.rb @@ -97,7 +97,7 @@ $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rubocop-1.73.1/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rubocop-md-1.2.4/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rubocop-performance-1.23.1/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rubocop-rspec-3.4.0/lib") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rubocop-rspec-3.5.0/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rubocop-sorbet-0.8.9/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/ruby-lsp-0.23.11/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/ruby-macho-4.1.0/lib") From 30832168f1dd07bafae686d45397f607113bb9cc Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Tue, 4 Mar 2025 19:37:33 +0000 Subject: [PATCH 232/322] Update RBI files for rubocop-rspec. Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow. --- .../sorbet/rbi/gems/lint_roller@1.1.0.rbi | 240 ++++++++++++++++++ ...spec@3.4.0.rbi => rubocop-rspec@3.5.0.rbi} | 221 ++++++++-------- 2 files changed, 355 insertions(+), 106 deletions(-) create mode 100644 Library/Homebrew/sorbet/rbi/gems/lint_roller@1.1.0.rbi rename Library/Homebrew/sorbet/rbi/gems/{rubocop-rspec@3.4.0.rbi => rubocop-rspec@3.5.0.rbi} (98%) diff --git a/Library/Homebrew/sorbet/rbi/gems/lint_roller@1.1.0.rbi b/Library/Homebrew/sorbet/rbi/gems/lint_roller@1.1.0.rbi new file mode 100644 index 0000000000..ef073b8c76 --- /dev/null +++ b/Library/Homebrew/sorbet/rbi/gems/lint_roller@1.1.0.rbi @@ -0,0 +1,240 @@ +# typed: true + +# DO NOT EDIT MANUALLY +# This is an autogenerated file for types exported from the `lint_roller` gem. +# Please instead update this file by running `bin/tapioca gem lint_roller`. + + +# source://lint_roller//lib/lint_roller/context.rb#1 +module LintRoller; end + +# source://lint_roller//lib/lint_roller/about.rb#2 +class LintRoller::About < ::Struct + # Returns the value of attribute description + # + # @return [Object] the current value of description + def description; end + + # Sets the attribute description + # + # @param value [Object] the value to set the attribute description to. + # @return [Object] the newly set value + def description=(_); end + + # Returns the value of attribute homepage + # + # @return [Object] the current value of homepage + def homepage; end + + # Sets the attribute homepage + # + # @param value [Object] the value to set the attribute homepage to. + # @return [Object] the newly set value + def homepage=(_); end + + # Returns the value of attribute name + # + # @return [Object] the current value of name + def name; end + + # Sets the attribute name + # + # @param value [Object] the value to set the attribute name to. + # @return [Object] the newly set value + def name=(_); end + + # Returns the value of attribute version + # + # @return [Object] the current value of version + def version; end + + # Sets the attribute version + # + # @param value [Object] the value to set the attribute version to. + # @return [Object] the newly set value + def version=(_); end + + class << self + def [](*_arg0); end + def inspect; end + def keyword_init?; end + def members; end + def new(*_arg0); end + end +end + +# source://lint_roller//lib/lint_roller/context.rb#2 +class LintRoller::Context < ::Struct + # Returns the value of attribute engine + # + # @return [Object] the current value of engine + def engine; end + + # Sets the attribute engine + # + # @param value [Object] the value to set the attribute engine to. + # @return [Object] the newly set value + def engine=(_); end + + # Returns the value of attribute engine_version + # + # @return [Object] the current value of engine_version + def engine_version; end + + # Sets the attribute engine_version + # + # @param value [Object] the value to set the attribute engine_version to. + # @return [Object] the newly set value + def engine_version=(_); end + + # Returns the value of attribute rule_format + # + # @return [Object] the current value of rule_format + def rule_format; end + + # Sets the attribute rule_format + # + # @param value [Object] the value to set the attribute rule_format to. + # @return [Object] the newly set value + def rule_format=(_); end + + # Returns the value of attribute runner + # + # @return [Object] the current value of runner + def runner; end + + # Sets the attribute runner + # + # @param value [Object] the value to set the attribute runner to. + # @return [Object] the newly set value + def runner=(_); end + + # Returns the value of attribute runner_version + # + # @return [Object] the current value of runner_version + def runner_version; end + + # Sets the attribute runner_version + # + # @param value [Object] the value to set the attribute runner_version to. + # @return [Object] the newly set value + def runner_version=(_); end + + # Returns the value of attribute target_ruby_version + # + # @return [Object] the current value of target_ruby_version + def target_ruby_version; end + + # Sets the attribute target_ruby_version + # + # @param value [Object] the value to set the attribute target_ruby_version to. + # @return [Object] the newly set value + def target_ruby_version=(_); end + + class << self + def [](*_arg0); end + def inspect; end + def keyword_init?; end + def members; end + def new(*_arg0); end + end +end + +# source://lint_roller//lib/lint_roller/error.rb#2 +class LintRoller::Error < ::StandardError; end + +# source://lint_roller//lib/lint_roller/plugin.rb#2 +class LintRoller::Plugin + # `config' is a Hash of options passed to the plugin by the user + # + # @return [Plugin] a new instance of Plugin + # + # source://lint_roller//lib/lint_roller/plugin.rb#4 + def initialize(config = T.unsafe(nil)); end + + # @raise [Error] + # + # source://lint_roller//lib/lint_roller/plugin.rb#8 + def about; end + + # `context' is an instance of LintRoller::Context provided by the runner + # + # @raise [Error] + # + # source://lint_roller//lib/lint_roller/plugin.rb#18 + def rules(context); end + + # `context' is an instance of LintRoller::Context provided by the runner + # + # @return [Boolean] + # + # source://lint_roller//lib/lint_roller/plugin.rb#13 + def supported?(context); end +end + +# source://lint_roller//lib/lint_roller/rules.rb#2 +class LintRoller::Rules < ::Struct + # Returns the value of attribute config_format + # + # @return [Object] the current value of config_format + def config_format; end + + # Sets the attribute config_format + # + # @param value [Object] the value to set the attribute config_format to. + # @return [Object] the newly set value + def config_format=(_); end + + # Returns the value of attribute error + # + # @return [Object] the current value of error + def error; end + + # Sets the attribute error + # + # @param value [Object] the value to set the attribute error to. + # @return [Object] the newly set value + def error=(_); end + + # Returns the value of attribute type + # + # @return [Object] the current value of type + def type; end + + # Sets the attribute type + # + # @param value [Object] the value to set the attribute type to. + # @return [Object] the newly set value + def type=(_); end + + # Returns the value of attribute value + # + # @return [Object] the current value of value + def value; end + + # Sets the attribute value + # + # @param value [Object] the value to set the attribute value to. + # @return [Object] the newly set value + def value=(_); end + + class << self + def [](*_arg0); end + def inspect; end + def keyword_init?; end + def members; end + def new(*_arg0); end + end +end + +# source://lint_roller//lib/lint_roller/support/merges_upstream_metadata.rb#2 +module LintRoller::Support; end + +# source://lint_roller//lib/lint_roller/support/merges_upstream_metadata.rb#3 +class LintRoller::Support::MergesUpstreamMetadata + # source://lint_roller//lib/lint_roller/support/merges_upstream_metadata.rb#4 + def merge(plugin_yaml, upstream_yaml); end +end + +# source://lint_roller//lib/lint_roller/version.rb#2 +LintRoller::VERSION = T.let(T.unsafe(nil), String) diff --git a/Library/Homebrew/sorbet/rbi/gems/rubocop-rspec@3.4.0.rbi b/Library/Homebrew/sorbet/rbi/gems/rubocop-rspec@3.5.0.rbi similarity index 98% rename from Library/Homebrew/sorbet/rbi/gems/rubocop-rspec@3.4.0.rbi rename to Library/Homebrew/sorbet/rbi/gems/rubocop-rspec@3.5.0.rbi index bed4a17447..ecbf2b1954 100644 --- a/Library/Homebrew/sorbet/rbi/gems/rubocop-rspec@3.4.0.rbi +++ b/Library/Homebrew/sorbet/rbi/gems/rubocop-rspec@3.5.0.rbi @@ -371,10 +371,10 @@ class RuboCop::Cop::RSpec::BeNil < ::RuboCop::Cop::RSpec::Base private - # source://rubocop-rspec//lib/rubocop/cop/rspec/be_nil.rb#64 + # source://rubocop-rspec//lib/rubocop/cop/rspec/be_nil.rb#68 def check_be_nil_style(node); end - # source://rubocop-rspec//lib/rubocop/cop/rspec/be_nil.rb#56 + # source://rubocop-rspec//lib/rubocop/cop/rspec/be_nil.rb#60 def check_be_style(node); end end @@ -489,39 +489,39 @@ class RuboCop::Cop::RSpec::ChangeByZero < ::RuboCop::Cop::RSpec::Base private - # source://rubocop-rspec//lib/rubocop/cop/rspec/change_by_zero.rb#134 + # source://rubocop-rspec//lib/rubocop/cop/rspec/change_by_zero.rb#132 def autocorrect(corrector, node, change_node); end - # source://rubocop-rspec//lib/rubocop/cop/rspec/change_by_zero.rb#141 + # source://rubocop-rspec//lib/rubocop/cop/rspec/change_by_zero.rb#139 def autocorrect_compound(corrector, node); end # @return [Boolean] # - # source://rubocop-rspec//lib/rubocop/cop/rspec/change_by_zero.rb#120 + # source://rubocop-rspec//lib/rubocop/cop/rspec/change_by_zero.rb#118 def compound_expectations?(node); end - # source://rubocop-rspec//lib/rubocop/cop/rspec/change_by_zero.rb#151 + # source://rubocop-rspec//lib/rubocop/cop/rspec/change_by_zero.rb#149 def insert_operator(corrector, node, change_node); end - # source://rubocop-rspec//lib/rubocop/cop/rspec/change_by_zero.rb#125 + # source://rubocop-rspec//lib/rubocop/cop/rspec/change_by_zero.rb#123 def message(change_node); end - # source://rubocop-rspec//lib/rubocop/cop/rspec/change_by_zero.rb#129 + # source://rubocop-rspec//lib/rubocop/cop/rspec/change_by_zero.rb#127 def message_compound(change_node); end - # source://rubocop-rspec//lib/rubocop/cop/rspec/change_by_zero.rb#175 + # source://rubocop-rspec//lib/rubocop/cop/rspec/change_by_zero.rb#173 def negated_matcher; end - # source://rubocop-rspec//lib/rubocop/cop/rspec/change_by_zero.rb#179 + # source://rubocop-rspec//lib/rubocop/cop/rspec/change_by_zero.rb#177 def preferred_method; end - # source://rubocop-rspec//lib/rubocop/cop/rspec/change_by_zero.rb#105 + # source://rubocop-rspec//lib/rubocop/cop/rspec/change_by_zero.rb#104 def register_offense(node, change_node); end - # source://rubocop-rspec//lib/rubocop/cop/rspec/change_by_zero.rb#164 + # source://rubocop-rspec//lib/rubocop/cop/rspec/change_by_zero.rb#162 def remove_by_zero(corrector, node, change_node); end - # source://rubocop-rspec//lib/rubocop/cop/rspec/change_by_zero.rb#160 + # source://rubocop-rspec//lib/rubocop/cop/rspec/change_by_zero.rb#158 def replace_node(node, change_node); end end @@ -1924,41 +1924,41 @@ class RuboCop::Cop::RSpec::ExampleWording < ::RuboCop::Cop::RSpec::Base # source://rubocop-rspec//lib/rubocop/cop/rspec/example_wording.rb#63 def it_description(param0 = T.unsafe(nil)); end - # source://rubocop-rspec//lib/rubocop/cop/rspec/example_wording.rb#71 + # source://rubocop-rspec//lib/rubocop/cop/rspec/example_wording.rb#70 def on_block(node); end private - # source://rubocop-rspec//lib/rubocop/cop/rspec/example_wording.rb#89 + # source://rubocop-rspec//lib/rubocop/cop/rspec/example_wording.rb#87 def add_wording_offense(node, message); end - # source://rubocop-rspec//lib/rubocop/cop/rspec/example_wording.rb#136 + # source://rubocop-rspec//lib/rubocop/cop/rspec/example_wording.rb#134 def custom_transform; end - # source://rubocop-rspec//lib/rubocop/cop/rspec/example_wording.rb#99 + # source://rubocop-rspec//lib/rubocop/cop/rspec/example_wording.rb#97 def docstring(node); end - # source://rubocop-rspec//lib/rubocop/cop/rspec/example_wording.rb#140 + # source://rubocop-rspec//lib/rubocop/cop/rspec/example_wording.rb#138 def ignored_words; end # @return [Boolean] # - # source://rubocop-rspec//lib/rubocop/cop/rspec/example_wording.rb#144 + # source://rubocop-rspec//lib/rubocop/cop/rspec/example_wording.rb#142 def insufficient_docstring?(description_node); end - # source://rubocop-rspec//lib/rubocop/cop/rspec/example_wording.rb#148 + # source://rubocop-rspec//lib/rubocop/cop/rspec/example_wording.rb#146 def insufficient_examples; end - # source://rubocop-rspec//lib/rubocop/cop/rspec/example_wording.rb#153 + # source://rubocop-rspec//lib/rubocop/cop/rspec/example_wording.rb#151 def preprocess(message); end - # source://rubocop-rspec//lib/rubocop/cop/rspec/example_wording.rb#109 + # source://rubocop-rspec//lib/rubocop/cop/rspec/example_wording.rb#107 def replacement_text(node); end # Recursive processing is required to process nested dstr nodes # that is the case for \-separated multiline strings with interpolation. # - # source://rubocop-rspec//lib/rubocop/cop/rspec/example_wording.rb#125 + # source://rubocop-rspec//lib/rubocop/cop/rspec/example_wording.rb#123 def text(node); end end @@ -2269,65 +2269,65 @@ RuboCop::Cop::RSpec::ExpectOutput::MSG = T.let(T.unsafe(nil), String) # A helper for `explicit` style # -# source://rubocop-rspec//lib/rubocop/cop/rspec/predicate_matcher.rb#121 +# source://rubocop-rspec//lib/rubocop/cop/rspec/predicate_matcher.rb#129 module RuboCop::Cop::RSpec::ExplicitHelper include ::RuboCop::RSpec::Language extend ::RuboCop::AST::NodePattern::Macros - # source://rubocop-rspec//lib/rubocop/cop/rspec/predicate_matcher.rb#182 + # source://rubocop-rspec//lib/rubocop/cop/rspec/predicate_matcher.rb#190 def predicate_matcher?(param0 = T.unsafe(nil)); end - # source://rubocop-rspec//lib/rubocop/cop/rspec/predicate_matcher.rb#195 + # source://rubocop-rspec//lib/rubocop/cop/rspec/predicate_matcher.rb#203 def predicate_matcher_block?(param0 = T.unsafe(nil)); end private - # source://rubocop-rspec//lib/rubocop/cop/rspec/predicate_matcher.rb#135 + # source://rubocop-rspec//lib/rubocop/cop/rspec/predicate_matcher.rb#143 def allowed_explicit_matchers; end - # source://rubocop-rspec//lib/rubocop/cop/rspec/predicate_matcher.rb#139 + # source://rubocop-rspec//lib/rubocop/cop/rspec/predicate_matcher.rb#147 def check_explicit(node); end - # source://rubocop-rspec//lib/rubocop/cop/rspec/predicate_matcher.rb#219 + # source://rubocop-rspec//lib/rubocop/cop/rspec/predicate_matcher.rb#227 def corrector_explicit(corrector, to_node, actual, matcher, block_child); end # @return [Boolean] # - # source://rubocop-rspec//lib/rubocop/cop/rspec/predicate_matcher.rb#175 + # source://rubocop-rspec//lib/rubocop/cop/rspec/predicate_matcher.rb#183 def heredoc_argument?(matcher); end - # source://rubocop-rspec//lib/rubocop/cop/rspec/predicate_matcher.rb#213 + # source://rubocop-rspec//lib/rubocop/cop/rspec/predicate_matcher.rb#221 def message_explicit(matcher); end - # source://rubocop-rspec//lib/rubocop/cop/rspec/predicate_matcher.rb#226 + # source://rubocop-rspec//lib/rubocop/cop/rspec/predicate_matcher.rb#234 def move_predicate(corrector, actual, matcher, block_child); end # @return [Boolean] # - # source://rubocop-rspec//lib/rubocop/cop/rspec/predicate_matcher.rb#204 + # source://rubocop-rspec//lib/rubocop/cop/rspec/predicate_matcher.rb#212 def predicate_matcher_name?(name); end # @return [Boolean] # - # source://rubocop-rspec//lib/rubocop/cop/rspec/predicate_matcher.rb#162 + # source://rubocop-rspec//lib/rubocop/cop/rspec/predicate_matcher.rb#170 def replaceable_matcher?(matcher); end - # source://rubocop-rspec//lib/rubocop/cop/rspec/predicate_matcher.rb#255 + # source://rubocop-rspec//lib/rubocop/cop/rspec/predicate_matcher.rb#261 def replacement_matcher(node); end - # source://rubocop-rspec//lib/rubocop/cop/rspec/predicate_matcher.rb#237 + # source://rubocop-rspec//lib/rubocop/cop/rspec/predicate_matcher.rb#244 def to_predicate_method(matcher); end # @return [Boolean] # - # source://rubocop-rspec//lib/rubocop/cop/rspec/predicate_matcher.rb#171 + # source://rubocop-rspec//lib/rubocop/cop/rspec/predicate_matcher.rb#179 def uncorrectable_matcher?(node, matcher); end end -# source://rubocop-rspec//lib/rubocop/cop/rspec/predicate_matcher.rb#127 +# source://rubocop-rspec//lib/rubocop/cop/rspec/predicate_matcher.rb#135 RuboCop::Cop::RSpec::ExplicitHelper::BUILT_IN_MATCHERS = T.let(T.unsafe(nil), Array) -# source://rubocop-rspec//lib/rubocop/cop/rspec/predicate_matcher.rb#125 +# source://rubocop-rspec//lib/rubocop/cop/rspec/predicate_matcher.rb#133 RuboCop::Cop::RSpec::ExplicitHelper::MSG_EXPLICIT = T.let(T.unsafe(nil), String) # Help methods for file. @@ -2405,15 +2405,16 @@ class RuboCop::Cop::RSpec::Focus < ::RuboCop::Cop::RSpec::Base private - # source://rubocop-rspec//lib/rubocop/cop/rspec/focus.rb#104 + # source://rubocop-rspec//lib/rubocop/cop/rspec/focus.rb#108 def correct_send(corrector, focus); end - # @yield [node] - # - # source://rubocop-rspec//lib/rubocop/cop/rspec/focus.rb#91 - def focus_metadata(node, &block); end + # source://rubocop-rspec//lib/rubocop/cop/rspec/focus.rb#89 + def on_focused_block(node); end - # source://rubocop-rspec//lib/rubocop/cop/rspec/focus.rb#97 + # source://rubocop-rspec//lib/rubocop/cop/rspec/focus.rb#95 + def on_metadata(node); end + + # source://rubocop-rspec//lib/rubocop/cop/rspec/focus.rb#101 def with_surrounding(focus); end end @@ -2673,15 +2674,15 @@ class RuboCop::Cop::RSpec::ImplicitExpect < ::RuboCop::Cop::RSpec::Base private - # source://rubocop-rspec//lib/rubocop/cop/rspec/implicit_expect.rb#78 - def is_expected_range(source_map); end - # source://rubocop-rspec//lib/rubocop/cop/rspec/implicit_expect.rb#69 def offending_expect(node); end # source://rubocop-rspec//lib/rubocop/cop/rspec/implicit_expect.rb#86 def offense_message(offending_source); end + # source://rubocop-rspec//lib/rubocop/cop/rspec/implicit_expect.rb#78 + def range_for_is_expected(source_map); end + # source://rubocop-rspec//lib/rubocop/cop/rspec/implicit_expect.rb#94 def replacement_source(offending_source); end end @@ -2770,45 +2771,45 @@ class RuboCop::Cop::RSpec::ImplicitSubject < ::RuboCop::Cop::RSpec::Base # source://rubocop-rspec//lib/rubocop/cop/rspec/implicit_subject.rb#100 def autocorrect(corrector, node); end - # source://rubocop-rspec//lib/rubocop/cop/rspec/implicit_subject.rb#159 + # source://rubocop-rspec//lib/rubocop/cop/rspec/implicit_subject.rb#167 def example_of(node); end # @return [Boolean] # - # source://rubocop-rspec//lib/rubocop/cop/rspec/implicit_subject.rb#135 + # source://rubocop-rspec//lib/rubocop/cop/rspec/implicit_subject.rb#143 def implicit_subject_in_non_its?(node); end # @return [Boolean] # - # source://rubocop-rspec//lib/rubocop/cop/rspec/implicit_subject.rb#139 + # source://rubocop-rspec//lib/rubocop/cop/rspec/implicit_subject.rb#147 def implicit_subject_in_non_its_and_non_single_line?(node); end # @return [Boolean] # - # source://rubocop-rspec//lib/rubocop/cop/rspec/implicit_subject.rb#143 + # source://rubocop-rspec//lib/rubocop/cop/rspec/implicit_subject.rb#151 def implicit_subject_in_non_its_and_non_single_statement?(node); end # @return [Boolean] # - # source://rubocop-rspec//lib/rubocop/cop/rspec/implicit_subject.rb#122 + # source://rubocop-rspec//lib/rubocop/cop/rspec/implicit_subject.rb#126 def invalid?(node); end # @return [Boolean] # - # source://rubocop-rspec//lib/rubocop/cop/rspec/implicit_subject.rb#147 + # source://rubocop-rspec//lib/rubocop/cop/rspec/implicit_subject.rb#155 def its?(node); end - # source://rubocop-rspec//lib/rubocop/cop/rspec/implicit_subject.rb#113 + # source://rubocop-rspec//lib/rubocop/cop/rspec/implicit_subject.rb#117 def message(_node); end # @return [Boolean] # - # source://rubocop-rspec//lib/rubocop/cop/rspec/implicit_subject.rb#151 + # source://rubocop-rspec//lib/rubocop/cop/rspec/implicit_subject.rb#159 def single_line?(node); end # @return [Boolean] # - # source://rubocop-rspec//lib/rubocop/cop/rspec/implicit_subject.rb#155 + # source://rubocop-rspec//lib/rubocop/cop/rspec/implicit_subject.rb#163 def single_statement?(node); end end @@ -2872,25 +2873,25 @@ class RuboCop::Cop::RSpec::IndexedLet < ::RuboCop::Cop::RSpec::Base private - # source://rubocop-rspec//lib/rubocop/cop/rspec/indexed_let.rb#105 + # source://rubocop-rspec//lib/rubocop/cop/rspec/indexed_let.rb#107 def allowed_identifiers; end - # source://rubocop-rspec//lib/rubocop/cop/rspec/indexed_let.rb#99 + # source://rubocop-rspec//lib/rubocop/cop/rspec/indexed_let.rb#101 def cop_config_patterns_values; end - # source://rubocop-rspec//lib/rubocop/cop/rspec/indexed_let.rb#79 + # source://rubocop-rspec//lib/rubocop/cop/rspec/indexed_let.rb#81 def filter_indexed_lets(candidates); end # @return [Boolean] # - # source://rubocop-rspec//lib/rubocop/cop/rspec/indexed_let.rb#88 + # source://rubocop-rspec//lib/rubocop/cop/rspec/indexed_let.rb#90 def indexed_let?(node); end - # source://rubocop-rspec//lib/rubocop/cop/rspec/indexed_let.rb#95 + # source://rubocop-rspec//lib/rubocop/cop/rspec/indexed_let.rb#97 def let_name_stripped_index(node); end end -# source://rubocop-rspec//lib/rubocop/cop/rspec/indexed_let.rb#77 +# source://rubocop-rspec//lib/rubocop/cop/rspec/indexed_let.rb#78 RuboCop::Cop::RSpec::IndexedLet::INDEX_REGEX = T.let(T.unsafe(nil), Regexp) # source://rubocop-rspec//lib/rubocop/cop/rspec/indexed_let.rb#51 @@ -2906,45 +2907,50 @@ module RuboCop::Cop::RSpec::InflectedHelper include ::RuboCop::RSpec::Language extend ::RuboCop::AST::NodePattern::Macros - # source://rubocop-rspec//lib/rubocop/cop/rspec/predicate_matcher.rb#39 + # source://rubocop-rspec//lib/rubocop/cop/rspec/predicate_matcher.rb#45 def be_bool?(param0 = T.unsafe(nil)); end - # source://rubocop-rspec//lib/rubocop/cop/rspec/predicate_matcher.rb#44 + # source://rubocop-rspec//lib/rubocop/cop/rspec/predicate_matcher.rb#50 def be_boolthy?(param0 = T.unsafe(nil)); end - # source://rubocop-rspec//lib/rubocop/cop/rspec/predicate_matcher.rb#29 + # source://rubocop-rspec//lib/rubocop/cop/rspec/predicate_matcher.rb#31 def predicate_in_actual?(param0 = T.unsafe(nil)); end private # @return [Boolean] # - # source://rubocop-rspec//lib/rubocop/cop/rspec/predicate_matcher.rb#48 + # source://rubocop-rspec//lib/rubocop/cop/rspec/predicate_matcher.rb#54 def boolean_matcher?(node); end + # @return [Boolean] + # + # source://rubocop-rspec//lib/rubocop/cop/rspec/predicate_matcher.rb#40 + def cannot_replace_predicate?(send_node); end + # source://rubocop-rspec//lib/rubocop/cop/rspec/predicate_matcher.rb#16 def check_inflected(node); end - # source://rubocop-rspec//lib/rubocop/cop/rspec/predicate_matcher.rb#60 + # source://rubocop-rspec//lib/rubocop/cop/rspec/predicate_matcher.rb#66 def message_inflected(predicate); end # @return [Boolean] # - # source://rubocop-rspec//lib/rubocop/cop/rspec/predicate_matcher.rb#56 + # source://rubocop-rspec//lib/rubocop/cop/rspec/predicate_matcher.rb#62 def predicate?(sym); end - # source://rubocop-rspec//lib/rubocop/cop/rspec/predicate_matcher.rb#85 + # source://rubocop-rspec//lib/rubocop/cop/rspec/predicate_matcher.rb#89 def remove_predicate(corrector, predicate); end - # source://rubocop-rspec//lib/rubocop/cop/rspec/predicate_matcher.rb#96 + # source://rubocop-rspec//lib/rubocop/cop/rspec/predicate_matcher.rb#100 def rewrite_matcher(corrector, predicate, matcher); end - # source://rubocop-rspec//lib/rubocop/cop/rspec/predicate_matcher.rb#67 + # source://rubocop-rspec//lib/rubocop/cop/rspec/predicate_matcher.rb#72 def to_predicate_matcher(name); end # @return [Boolean] # - # source://rubocop-rspec//lib/rubocop/cop/rspec/predicate_matcher.rb#107 + # source://rubocop-rspec//lib/rubocop/cop/rspec/predicate_matcher.rb#111 def true?(to_symbol, matcher); end end @@ -4010,7 +4016,7 @@ class RuboCop::Cop::RSpec::MultipleExpectations < ::RuboCop::Cop::RSpec::Base # source://rubocop-rspec//lib/rubocop/cop/rspec/multiple_expectations.rb#86 def expect?(param0 = T.unsafe(nil)); end - # source://rubocop/1.70.0/lib/rubocop/cop/exclude_limit.rb#11 + # source://rubocop/1.73.1/lib/rubocop/cop/exclude_limit.rb#11 def max=(value); end # source://rubocop-rspec//lib/rubocop/cop/rspec/multiple_expectations.rb#93 @@ -4125,7 +4131,7 @@ RuboCop::Cop::RSpec::MultipleExpectations::TRUE_NODE = T.let(T.unsafe(nil), Proc class RuboCop::Cop::RSpec::MultipleMemoizedHelpers < ::RuboCop::Cop::RSpec::Base include ::RuboCop::Cop::RSpec::Variable - # source://rubocop/1.70.0/lib/rubocop/cop/exclude_limit.rb#11 + # source://rubocop/1.73.1/lib/rubocop/cop/exclude_limit.rb#11 def max=(value); end # source://rubocop-rspec//lib/rubocop/cop/rspec/multiple_memoized_helpers.rb#91 @@ -4467,7 +4473,7 @@ end class RuboCop::Cop::RSpec::NestedGroups < ::RuboCop::Cop::RSpec::Base include ::RuboCop::Cop::RSpec::TopLevelGroup - # source://rubocop/1.70.0/lib/rubocop/cop/exclude_limit.rb#11 + # source://rubocop/1.73.1/lib/rubocop/cop/exclude_limit.rb#11 def max=(value); end # source://rubocop-rspec//lib/rubocop/cop/rspec/nested_groups.rb#107 @@ -4891,21 +4897,21 @@ RuboCop::Cop::RSpec::PendingWithoutReason::MSG = T.let(T.unsafe(nil), String) # # good - the above code is rewritten to it by this cop # expect(foo.something?).to be_truthy # -# source://rubocop-rspec//lib/rubocop/cop/rspec/predicate_matcher.rb#318 +# source://rubocop-rspec//lib/rubocop/cop/rspec/predicate_matcher.rb#324 class RuboCop::Cop::RSpec::PredicateMatcher < ::RuboCop::Cop::RSpec::Base include ::RuboCop::Cop::ConfigurableEnforcedStyle include ::RuboCop::Cop::RSpec::InflectedHelper include ::RuboCop::Cop::RSpec::ExplicitHelper extend ::RuboCop::Cop::AutoCorrector - # source://rubocop-rspec//lib/rubocop/cop/rspec/predicate_matcher.rb#335 + # source://rubocop-rspec//lib/rubocop/cop/rspec/predicate_matcher.rb#345 def on_block(node); end - # source://rubocop-rspec//lib/rubocop/cop/rspec/predicate_matcher.rb#326 + # source://rubocop-rspec//lib/rubocop/cop/rspec/predicate_matcher.rb#332 def on_send(node); end end -# source://rubocop-rspec//lib/rubocop/cop/rspec/predicate_matcher.rb#324 +# source://rubocop-rspec//lib/rubocop/cop/rspec/predicate_matcher.rb#330 RuboCop::Cop::RSpec::PredicateMatcher::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Check for `once` and `twice` receive counts matchers usage. @@ -7051,9 +7057,6 @@ class RuboCop::RSpec::AlignLetBrace def token; end end -# source://rubocop-rspec//lib/rubocop/rspec.rb#7 -RuboCop::RSpec::CONFIG_DEFAULT = T.let(T.unsafe(nil), Pathname) - # Wrapper for RSpec DSL methods # # source://rubocop-rspec//lib/rubocop/rspec/concept.rb#6 @@ -7251,17 +7254,6 @@ class RuboCop::RSpec::Hook < ::RuboCop::RSpec::Concept def valid_scope?(node); end end -# Because RuboCop doesn't yet support plugins, we have to monkey patch in a -# bit of our configuration. -# -# source://rubocop-rspec//lib/rubocop/rspec/inject.rb#7 -module RuboCop::RSpec::Inject - class << self - # source://rubocop-rspec//lib/rubocop/rspec/inject.rb#8 - def defaults!; end - end -end - # Contains node matchers for common RSpec DSL. # # RSpec allows for configuring aliases for commonly used DSL elements, e.g. @@ -7466,8 +7458,25 @@ module RuboCop::RSpec::Node def recursive_literal_or_const?; end end -# source://rubocop-rspec//lib/rubocop/rspec.rb#6 -RuboCop::RSpec::PROJECT_ROOT = T.let(T.unsafe(nil), Pathname) +# A plugin that integrates RuboCop RSpec with RuboCop's plugin system. +# +# source://rubocop-rspec//lib/rubocop/rspec/plugin.rb#8 +class RuboCop::RSpec::Plugin < ::LintRoller::Plugin + # :nocov: + # + # source://rubocop-rspec//lib/rubocop/rspec/plugin.rb#10 + def about; end + + # source://rubocop-rspec//lib/rubocop/rspec/plugin.rb#24 + def rules(_context); end + + # :nocov: + # + # @return [Boolean] + # + # source://rubocop-rspec//lib/rubocop/rspec/plugin.rb#20 + def supported?(context); end +end # Version information for the RSpec RuboCop plugin. # @@ -7486,46 +7495,46 @@ class RuboCop::RSpec::Wording # source://rubocop-rspec//lib/rubocop/rspec/wording.rb#14 def initialize(text, ignore:, replace:); end - # source://rubocop-rspec//lib/rubocop/rspec/wording.rb#21 + # source://rubocop-rspec//lib/rubocop/rspec/wording.rb#20 def rewrite; end private - # source://rubocop-rspec//lib/rubocop/rspec/wording.rb#80 + # source://rubocop-rspec//lib/rubocop/rspec/wording.rb#78 def append_suffix(word, suffix); end # @return [Boolean] # - # source://rubocop-rspec//lib/rubocop/rspec/wording.rb#65 + # source://rubocop-rspec//lib/rubocop/rspec/wording.rb#63 def ignored_word?(word); end # Returns the value of attribute ignores. # - # source://rubocop-rspec//lib/rubocop/rspec/wording.rb#39 + # source://rubocop-rspec//lib/rubocop/rspec/wording.rb#37 def ignores; end - # source://rubocop-rspec//lib/rubocop/rspec/wording.rb#51 + # source://rubocop-rspec//lib/rubocop/rspec/wording.rb#49 def remove_should_and_pluralize; end - # source://rubocop-rspec//lib/rubocop/rspec/wording.rb#41 + # source://rubocop-rspec//lib/rubocop/rspec/wording.rb#39 def replace_prefix(pattern, replacement); end # Returns the value of attribute replacements. # - # source://rubocop-rspec//lib/rubocop/rspec/wording.rb#39 + # source://rubocop-rspec//lib/rubocop/rspec/wording.rb#37 def replacements; end - # source://rubocop-rspec//lib/rubocop/rspec/wording.rb#69 + # source://rubocop-rspec//lib/rubocop/rspec/wording.rb#67 def substitute(word); end # Returns the value of attribute text. # - # source://rubocop-rspec//lib/rubocop/rspec/wording.rb#39 + # source://rubocop-rspec//lib/rubocop/rspec/wording.rb#37 def text; end # @return [Boolean] # - # source://rubocop-rspec//lib/rubocop/rspec/wording.rb#47 + # source://rubocop-rspec//lib/rubocop/rspec/wording.rb#45 def uppercase?(word); end end From 8301d39b99b17e0cb985142d1263704f30af63b1 Mon Sep 17 00:00:00 2001 From: Douglas Eichelberger Date: Tue, 4 Mar 2025 11:48:54 -0800 Subject: [PATCH 233/322] fix: require strategic interface in each livecheck strategy --- Library/Homebrew/livecheck/strategy.rb | 1 - Library/Homebrew/livecheck/strategy/apache.rb | 2 ++ Library/Homebrew/livecheck/strategy/bitbucket.rb | 2 ++ Library/Homebrew/livecheck/strategy/cpan.rb | 2 ++ Library/Homebrew/livecheck/strategy/crate.rb | 2 ++ Library/Homebrew/livecheck/strategy/electron_builder.rb | 2 ++ Library/Homebrew/livecheck/strategy/extract_plist.rb | 1 + Library/Homebrew/livecheck/strategy/git.rb | 1 + Library/Homebrew/livecheck/strategy/github_latest.rb | 2 ++ Library/Homebrew/livecheck/strategy/github_releases.rb | 2 ++ Library/Homebrew/livecheck/strategy/gnome.rb | 2 ++ Library/Homebrew/livecheck/strategy/gnu.rb | 2 ++ Library/Homebrew/livecheck/strategy/hackage.rb | 2 ++ Library/Homebrew/livecheck/strategy/header_match.rb | 2 ++ Library/Homebrew/livecheck/strategy/json.rb | 2 ++ Library/Homebrew/livecheck/strategy/launchpad.rb | 2 ++ Library/Homebrew/livecheck/strategy/npm.rb | 2 ++ Library/Homebrew/livecheck/strategy/page_match.rb | 2 ++ Library/Homebrew/livecheck/strategy/pypi.rb | 2 ++ Library/Homebrew/livecheck/strategy/sourceforge.rb | 2 ++ Library/Homebrew/livecheck/strategy/sparkle.rb | 1 + Library/Homebrew/livecheck/strategy/xml.rb | 2 ++ Library/Homebrew/livecheck/strategy/xorg.rb | 2 ++ Library/Homebrew/livecheck/strategy/yaml.rb | 2 ++ 24 files changed, 43 insertions(+), 1 deletion(-) diff --git a/Library/Homebrew/livecheck/strategy.rb b/Library/Homebrew/livecheck/strategy.rb index 5c7ec03b4a..56d0ecb168 100644 --- a/Library/Homebrew/livecheck/strategy.rb +++ b/Library/Homebrew/livecheck/strategy.rb @@ -300,7 +300,6 @@ module Homebrew end end -require_relative "strategic" require_relative "strategy/apache" require_relative "strategy/bitbucket" require_relative "strategy/cpan" diff --git a/Library/Homebrew/livecheck/strategy/apache.rb b/Library/Homebrew/livecheck/strategy/apache.rb index 8362a7a4fb..8464772050 100644 --- a/Library/Homebrew/livecheck/strategy/apache.rb +++ b/Library/Homebrew/livecheck/strategy/apache.rb @@ -1,6 +1,8 @@ # typed: strict # frozen_string_literal: true +require "livecheck/strategic" + module Homebrew module Livecheck module Strategy diff --git a/Library/Homebrew/livecheck/strategy/bitbucket.rb b/Library/Homebrew/livecheck/strategy/bitbucket.rb index fb6bc3993a..6624e07490 100644 --- a/Library/Homebrew/livecheck/strategy/bitbucket.rb +++ b/Library/Homebrew/livecheck/strategy/bitbucket.rb @@ -1,6 +1,8 @@ # typed: strict # frozen_string_literal: true +require "livecheck/strategic" + module Homebrew module Livecheck module Strategy diff --git a/Library/Homebrew/livecheck/strategy/cpan.rb b/Library/Homebrew/livecheck/strategy/cpan.rb index ff5e0edab7..5480a7be8d 100644 --- a/Library/Homebrew/livecheck/strategy/cpan.rb +++ b/Library/Homebrew/livecheck/strategy/cpan.rb @@ -1,6 +1,8 @@ # typed: strict # frozen_string_literal: true +require "livecheck/strategic" + module Homebrew module Livecheck module Strategy diff --git a/Library/Homebrew/livecheck/strategy/crate.rb b/Library/Homebrew/livecheck/strategy/crate.rb index f264c3ad96..41a871b398 100644 --- a/Library/Homebrew/livecheck/strategy/crate.rb +++ b/Library/Homebrew/livecheck/strategy/crate.rb @@ -1,6 +1,8 @@ # typed: strict # frozen_string_literal: true +require "livecheck/strategic" + module Homebrew module Livecheck module Strategy diff --git a/Library/Homebrew/livecheck/strategy/electron_builder.rb b/Library/Homebrew/livecheck/strategy/electron_builder.rb index 66fde77a8c..d055b276c9 100644 --- a/Library/Homebrew/livecheck/strategy/electron_builder.rb +++ b/Library/Homebrew/livecheck/strategy/electron_builder.rb @@ -1,6 +1,8 @@ # typed: strict # frozen_string_literal: true +require "livecheck/strategic" + module Homebrew module Livecheck module Strategy diff --git a/Library/Homebrew/livecheck/strategy/extract_plist.rb b/Library/Homebrew/livecheck/strategy/extract_plist.rb index acec406a3d..27f0596003 100644 --- a/Library/Homebrew/livecheck/strategy/extract_plist.rb +++ b/Library/Homebrew/livecheck/strategy/extract_plist.rb @@ -2,6 +2,7 @@ # frozen_string_literal: true require "bundle_version" +require "livecheck/strategic" require "unversioned_cask_checker" module Homebrew diff --git a/Library/Homebrew/livecheck/strategy/git.rb b/Library/Homebrew/livecheck/strategy/git.rb index 36053f15f0..5b4c07205e 100644 --- a/Library/Homebrew/livecheck/strategy/git.rb +++ b/Library/Homebrew/livecheck/strategy/git.rb @@ -2,6 +2,7 @@ # frozen_string_literal: true require "addressable" +require "livecheck/strategic" require "system_command" module Homebrew diff --git a/Library/Homebrew/livecheck/strategy/github_latest.rb b/Library/Homebrew/livecheck/strategy/github_latest.rb index 19357c5864..365a1b3814 100644 --- a/Library/Homebrew/livecheck/strategy/github_latest.rb +++ b/Library/Homebrew/livecheck/strategy/github_latest.rb @@ -1,6 +1,8 @@ # typed: strict # frozen_string_literal: true +require "livecheck/strategic" + module Homebrew module Livecheck module Strategy diff --git a/Library/Homebrew/livecheck/strategy/github_releases.rb b/Library/Homebrew/livecheck/strategy/github_releases.rb index c5a0d93ab6..aae1615219 100644 --- a/Library/Homebrew/livecheck/strategy/github_releases.rb +++ b/Library/Homebrew/livecheck/strategy/github_releases.rb @@ -1,6 +1,8 @@ # typed: strict # frozen_string_literal: true +require "livecheck/strategic" + module Homebrew module Livecheck module Strategy diff --git a/Library/Homebrew/livecheck/strategy/gnome.rb b/Library/Homebrew/livecheck/strategy/gnome.rb index 64882e5b40..a03f8a0801 100644 --- a/Library/Homebrew/livecheck/strategy/gnome.rb +++ b/Library/Homebrew/livecheck/strategy/gnome.rb @@ -1,6 +1,8 @@ # typed: strict # frozen_string_literal: true +require "livecheck/strategic" + module Homebrew module Livecheck module Strategy diff --git a/Library/Homebrew/livecheck/strategy/gnu.rb b/Library/Homebrew/livecheck/strategy/gnu.rb index f9dec5bcb6..fd335915ae 100644 --- a/Library/Homebrew/livecheck/strategy/gnu.rb +++ b/Library/Homebrew/livecheck/strategy/gnu.rb @@ -1,6 +1,8 @@ # typed: strict # frozen_string_literal: true +require "livecheck/strategic" + module Homebrew module Livecheck module Strategy diff --git a/Library/Homebrew/livecheck/strategy/hackage.rb b/Library/Homebrew/livecheck/strategy/hackage.rb index 2591e03b86..72d42c8508 100644 --- a/Library/Homebrew/livecheck/strategy/hackage.rb +++ b/Library/Homebrew/livecheck/strategy/hackage.rb @@ -1,6 +1,8 @@ # typed: strict # frozen_string_literal: true +require "livecheck/strategic" + module Homebrew module Livecheck module Strategy diff --git a/Library/Homebrew/livecheck/strategy/header_match.rb b/Library/Homebrew/livecheck/strategy/header_match.rb index 7a5f6fed94..5e275b81c5 100644 --- a/Library/Homebrew/livecheck/strategy/header_match.rb +++ b/Library/Homebrew/livecheck/strategy/header_match.rb @@ -1,6 +1,8 @@ # typed: strict # frozen_string_literal: true +require "livecheck/strategic" + module Homebrew module Livecheck module Strategy diff --git a/Library/Homebrew/livecheck/strategy/json.rb b/Library/Homebrew/livecheck/strategy/json.rb index cf340b7fb1..c676330a92 100644 --- a/Library/Homebrew/livecheck/strategy/json.rb +++ b/Library/Homebrew/livecheck/strategy/json.rb @@ -1,6 +1,8 @@ # typed: strict # frozen_string_literal: true +require "livecheck/strategic" + module Homebrew module Livecheck module Strategy diff --git a/Library/Homebrew/livecheck/strategy/launchpad.rb b/Library/Homebrew/livecheck/strategy/launchpad.rb index 1bdf6bfc9d..b821795fdb 100644 --- a/Library/Homebrew/livecheck/strategy/launchpad.rb +++ b/Library/Homebrew/livecheck/strategy/launchpad.rb @@ -1,6 +1,8 @@ # typed: strict # frozen_string_literal: true +require "livecheck/strategic" + module Homebrew module Livecheck module Strategy diff --git a/Library/Homebrew/livecheck/strategy/npm.rb b/Library/Homebrew/livecheck/strategy/npm.rb index 21707ec751..b6aab7f4d1 100644 --- a/Library/Homebrew/livecheck/strategy/npm.rb +++ b/Library/Homebrew/livecheck/strategy/npm.rb @@ -1,6 +1,8 @@ # typed: strict # frozen_string_literal: true +require "livecheck/strategic" + module Homebrew module Livecheck module Strategy diff --git a/Library/Homebrew/livecheck/strategy/page_match.rb b/Library/Homebrew/livecheck/strategy/page_match.rb index 4614c37e25..c7d098b92b 100644 --- a/Library/Homebrew/livecheck/strategy/page_match.rb +++ b/Library/Homebrew/livecheck/strategy/page_match.rb @@ -1,6 +1,8 @@ # typed: strict # frozen_string_literal: true +require "livecheck/strategic" + module Homebrew module Livecheck module Strategy diff --git a/Library/Homebrew/livecheck/strategy/pypi.rb b/Library/Homebrew/livecheck/strategy/pypi.rb index de079f4cc0..e9101d5e6a 100644 --- a/Library/Homebrew/livecheck/strategy/pypi.rb +++ b/Library/Homebrew/livecheck/strategy/pypi.rb @@ -1,6 +1,8 @@ # typed: strict # frozen_string_literal: true +require "livecheck/strategic" + module Homebrew module Livecheck module Strategy diff --git a/Library/Homebrew/livecheck/strategy/sourceforge.rb b/Library/Homebrew/livecheck/strategy/sourceforge.rb index a44ceb67ef..eb3effc313 100644 --- a/Library/Homebrew/livecheck/strategy/sourceforge.rb +++ b/Library/Homebrew/livecheck/strategy/sourceforge.rb @@ -1,6 +1,8 @@ # typed: strict # frozen_string_literal: true +require "livecheck/strategic" + module Homebrew module Livecheck module Strategy diff --git a/Library/Homebrew/livecheck/strategy/sparkle.rb b/Library/Homebrew/livecheck/strategy/sparkle.rb index 9c984e4bcf..b57ae0d16c 100644 --- a/Library/Homebrew/livecheck/strategy/sparkle.rb +++ b/Library/Homebrew/livecheck/strategy/sparkle.rb @@ -2,6 +2,7 @@ # frozen_string_literal: true require "bundle_version" +require "livecheck/strategic" module Homebrew module Livecheck diff --git a/Library/Homebrew/livecheck/strategy/xml.rb b/Library/Homebrew/livecheck/strategy/xml.rb index bb106dc792..5c391be719 100644 --- a/Library/Homebrew/livecheck/strategy/xml.rb +++ b/Library/Homebrew/livecheck/strategy/xml.rb @@ -1,6 +1,8 @@ # typed: strict # frozen_string_literal: true +require "livecheck/strategic" + module Homebrew module Livecheck module Strategy diff --git a/Library/Homebrew/livecheck/strategy/xorg.rb b/Library/Homebrew/livecheck/strategy/xorg.rb index d2059c21fc..d62233a69a 100644 --- a/Library/Homebrew/livecheck/strategy/xorg.rb +++ b/Library/Homebrew/livecheck/strategy/xorg.rb @@ -1,6 +1,8 @@ # typed: strict # frozen_string_literal: true +require "livecheck/strategic" + module Homebrew module Livecheck module Strategy diff --git a/Library/Homebrew/livecheck/strategy/yaml.rb b/Library/Homebrew/livecheck/strategy/yaml.rb index 4f9acb369b..41c08ff11b 100644 --- a/Library/Homebrew/livecheck/strategy/yaml.rb +++ b/Library/Homebrew/livecheck/strategy/yaml.rb @@ -1,6 +1,8 @@ # typed: strict # frozen_string_literal: true +require "livecheck/strategic" + module Homebrew module Livecheck module Strategy From 3bb22ad9ac3bd784a9c0b89d64ddb1c7ad50a3f6 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sat, 1 Mar 2025 03:56:05 +0000 Subject: [PATCH 234/322] build(deps-dev): bump rubocop-md in /Library/Homebrew Bumps [rubocop-md](https://github.com/rubocop/rubocop-md) from 1.2.4 to 2.0.0. - [Release notes](https://github.com/rubocop/rubocop-md/releases) - [Changelog](https://github.com/rubocop/rubocop-md/blob/master/CHANGELOG.md) - [Commits](https://github.com/rubocop/rubocop-md/compare/v1.2.4...v2.0.0) --- updated-dependencies: - dependency-name: rubocop-md dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- Library/Homebrew/Gemfile.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Library/Homebrew/Gemfile.lock b/Library/Homebrew/Gemfile.lock index 9893a28e61..3d0c6cab8f 100644 --- a/Library/Homebrew/Gemfile.lock +++ b/Library/Homebrew/Gemfile.lock @@ -89,8 +89,9 @@ GEM unicode-display_width (>= 2.4.0, < 4.0) rubocop-ast (1.38.1) parser (>= 3.3.1.0) - rubocop-md (1.2.4) - rubocop (>= 1.45) + rubocop-md (2.0.0) + lint_roller (~> 1.1) + rubocop (>= 1.72.1) rubocop-performance (1.23.1) rubocop (>= 1.48.1, < 2.0) rubocop-ast (>= 1.31.1, < 2.0) @@ -156,7 +157,6 @@ GEM PLATFORMS aarch64-linux - arm-linux arm64-darwin x86_64-darwin x86_64-linux From 9ac221606842575e10a09affe273a0a1731ce7c9 Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Sat, 1 Mar 2025 03:57:23 +0000 Subject: [PATCH 235/322] brew vendor-gems: commit updates. --- Library/Homebrew/Gemfile.lock | 1 + Library/Homebrew/vendor/bundle/bundler/setup.rb | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Library/Homebrew/Gemfile.lock b/Library/Homebrew/Gemfile.lock index 3d0c6cab8f..28ee78c2b6 100644 --- a/Library/Homebrew/Gemfile.lock +++ b/Library/Homebrew/Gemfile.lock @@ -157,6 +157,7 @@ GEM PLATFORMS aarch64-linux + arm-linux arm64-darwin x86_64-darwin x86_64-linux diff --git a/Library/Homebrew/vendor/bundle/bundler/setup.rb b/Library/Homebrew/vendor/bundle/bundler/setup.rb index 782d307558..f5396cde63 100644 --- a/Library/Homebrew/vendor/bundle/bundler/setup.rb +++ b/Library/Homebrew/vendor/bundle/bundler/setup.rb @@ -95,7 +95,7 @@ $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/unicode-emoji-4.0.4/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/unicode-display_width-3.1.4/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rubocop-1.73.2/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rubocop-md-1.2.4/lib") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rubocop-md-2.0.0/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rubocop-performance-1.23.1/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rubocop-rspec-3.5.0/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rubocop-sorbet-0.8.9/lib") From af9a94ebf0d76866938eace41b58572071746358 Mon Sep 17 00:00:00 2001 From: Patrick Linnane Date: Tue, 4 Mar 2025 11:08:52 -0800 Subject: [PATCH 236/322] workflows/tests: use Docker image for Ubuntu 20.04 Signed-off-by: Patrick Linnane --- .github/workflows/tests.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 808e49beea..5123481f58 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -242,6 +242,7 @@ jobs: name: ${{ matrix.name }} needs: syntax runs-on: ${{ matrix.runs-on }} + container: ${{ matrix.container }} strategy: matrix: include: @@ -259,7 +260,8 @@ jobs: runs-on: ubuntu-22.04 - name: tests (Ubuntu 20.04) test-flags: --coverage - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest + container: ghcr.io/homebrew/ubuntu20.04:latest - name: tests (macOS 13 x86_64) test-flags: --coverage runs-on: macos-13 @@ -364,12 +366,15 @@ jobs: strategy: matrix: include: + - name: test default formula (Ubuntu 24.04) + runs-on: ubuntu-latest + container: ghcr.io/homebrew/ubuntu24.04:latest - name: test default formula (Ubuntu 22.04) runs-on: ubuntu-latest container: ghcr.io/homebrew/ubuntu22.04:master - name: test default formula (Ubuntu 20.04) runs-on: ubuntu-latest - container: ghcr.io/homebrew/ubuntu20.04 + container: ghcr.io/homebrew/ubuntu20.04:latest - name: test default formula (macOS 13 x86_64) runs-on: macos-13 - name: test default formula (macOS 15 arm64) From e898337b858bcf6e5b2408e440b6c8b788e26ccb Mon Sep 17 00:00:00 2001 From: Douglas Eichelberger Date: Tue, 4 Mar 2025 12:23:34 -0800 Subject: [PATCH 237/322] Convert rubocop-md to plugin --- Library/.rubocop.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Library/.rubocop.yml b/Library/.rubocop.yml index b0ecdc23ee..1f0e6aea74 100644 --- a/Library/.rubocop.yml +++ b/Library/.rubocop.yml @@ -1,13 +1,13 @@ --- plugins: + - rubocop-md: + plugin_class_name: RuboCop::Markdown::Plugin - rubocop-rspec: plugin_class_name: RuboCop::RSpec::Plugin require: - ./Homebrew/rubocops.rb - - rubocop-md - rubocop-performance - - rubocop-rspec - rubocop-sorbet inherit_mode: From 49cab95a53d7192fcd762e79f71aa95ffceede71 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 4 Mar 2025 21:07:20 +0000 Subject: [PATCH 238/322] build(deps-dev): bump rubocop-performance from 1.23.1 to 1.24.0 in /Library/Homebrew Dependabot couldn't find the original pull request head commit, 8e90e064d6680169b95122594b9d997a21b299bc. --- Library/Homebrew/Gemfile.lock | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Library/Homebrew/Gemfile.lock b/Library/Homebrew/Gemfile.lock index 28ee78c2b6..f635b49032 100644 --- a/Library/Homebrew/Gemfile.lock +++ b/Library/Homebrew/Gemfile.lock @@ -92,9 +92,10 @@ GEM rubocop-md (2.0.0) lint_roller (~> 1.1) rubocop (>= 1.72.1) - rubocop-performance (1.23.1) - rubocop (>= 1.48.1, < 2.0) - rubocop-ast (>= 1.31.1, < 2.0) + rubocop-performance (1.24.0) + lint_roller (~> 1.1) + rubocop (>= 1.72.1, < 2.0) + rubocop-ast (>= 1.38.0, < 2.0) rubocop-rspec (3.5.0) lint_roller (~> 1.1) rubocop (~> 1.72, >= 1.72.1) @@ -157,7 +158,6 @@ GEM PLATFORMS aarch64-linux - arm-linux arm64-darwin x86_64-darwin x86_64-linux From f9f9430f8e120a9b3e5ee17d88b6094812180a86 Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Tue, 4 Mar 2025 21:09:09 +0000 Subject: [PATCH 239/322] brew vendor-gems: commit updates. --- Library/Homebrew/Gemfile.lock | 1 + Library/Homebrew/vendor/bundle/bundler/setup.rb | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Library/Homebrew/Gemfile.lock b/Library/Homebrew/Gemfile.lock index f635b49032..b2032810c3 100644 --- a/Library/Homebrew/Gemfile.lock +++ b/Library/Homebrew/Gemfile.lock @@ -158,6 +158,7 @@ GEM PLATFORMS aarch64-linux + arm-linux arm64-darwin x86_64-darwin x86_64-linux diff --git a/Library/Homebrew/vendor/bundle/bundler/setup.rb b/Library/Homebrew/vendor/bundle/bundler/setup.rb index f5396cde63..99465ecb87 100644 --- a/Library/Homebrew/vendor/bundle/bundler/setup.rb +++ b/Library/Homebrew/vendor/bundle/bundler/setup.rb @@ -96,7 +96,7 @@ $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/unicode-display_width-3.1.4/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rubocop-1.73.2/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rubocop-md-2.0.0/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rubocop-performance-1.23.1/lib") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rubocop-performance-1.24.0/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rubocop-rspec-3.5.0/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rubocop-sorbet-0.8.9/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/ruby-lsp-0.23.11/lib") From 9627edd4071c2eb8acb9e43149dff62952731439 Mon Sep 17 00:00:00 2001 From: Douglas Eichelberger Date: Tue, 4 Mar 2025 13:10:48 -0800 Subject: [PATCH 240/322] Convert rubocop-performance to plugin --- Library/.rubocop.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Library/.rubocop.yml b/Library/.rubocop.yml index 1f0e6aea74..7259c42a9b 100644 --- a/Library/.rubocop.yml +++ b/Library/.rubocop.yml @@ -2,12 +2,13 @@ plugins: - rubocop-md: plugin_class_name: RuboCop::Markdown::Plugin + - rubocop-performance: + plugin_class_name: RuboCop::Performance::Plugin - rubocop-rspec: plugin_class_name: RuboCop::RSpec::Plugin require: - ./Homebrew/rubocops.rb - - rubocop-performance - rubocop-sorbet inherit_mode: From 9bde3e18a61af640aad85b0eb37469c0a0b0d75f Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Wed, 5 Mar 2025 00:08:18 +0000 Subject: [PATCH 241/322] Update manpage and completions. Autogenerated by the [sponsors-maintainers-man-completions](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/sponsors-maintainers-man-completions.yml) workflow. --- docs/Manpage.md | 4 ++++ manpages/brew.1 | 5 ++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/docs/Manpage.md b/docs/Manpage.md index 08c2988b0d..0ab8fa1a26 100644 --- a/docs/Manpage.md +++ b/docs/Manpage.md @@ -3297,6 +3297,10 @@ flags which will help with finding keg-only dependencies like `openssl`, : `install` runs `brew upgrade` on outdated dependencies, even if `$HOMEBREW_BUNDLE_NO_UPGRADE` is set. +`--install` + +: Run `install` before continuing to other operations e.g. `exec`. + `-f`, `--force` : `install` runs with `--force`/`--overwrite`. `dump` overwrites an existing diff --git a/manpages/brew.1 b/manpages/brew.1 index 0b0ddd990c..8b043c2961 100644 --- a/manpages/brew.1 +++ b/manpages/brew.1 @@ -1,5 +1,5 @@ .\" generated by kramdown -.TH "BREW" "1" "February 2025" "Homebrew" +.TH "BREW" "1" "March 2025" "Homebrew" .SH NAME brew \- The Missing Package Manager for macOS (or Linux) .SH "SYNOPSIS" @@ -2115,6 +2115,9 @@ Read the \fBBrewfile\fP from \fB$HOMEBREW_BUNDLE_FILE_GLOBAL\fP (if set), \fB${X \fB\-\-upgrade\fP \fBinstall\fP runs \fBbrew upgrade\fP on outdated dependencies, even if \fB$HOMEBREW_BUNDLE_NO_UPGRADE\fP is set\. .TP +\fB\-\-install\fP +Run \fBinstall\fP before continuing to other operations e\.g\. \fBexec\fP\&\. +.TP \fB\-f\fP, \fB\-\-force\fP \fBinstall\fP runs with \fB\-\-force\fP/\fB\-\-overwrite\fP\&\. \fBdump\fP overwrites an existing \fBBrewfile\fP\&\. \fBcleanup\fP actually performs its cleanup operations\. .TP From 49007fbccde0a6b17874ba46f2f9f884b579e417 Mon Sep 17 00:00:00 2001 From: thibhero Date: Tue, 4 Mar 2025 20:01:07 -0500 Subject: [PATCH 242/322] modifying kernel.rb to accept negative value for disk_usage_readable --- Library/Homebrew/extend/kernel.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Library/Homebrew/extend/kernel.rb b/Library/Homebrew/extend/kernel.rb index 94bcf520c0..7d21851fd0 100644 --- a/Library/Homebrew/extend/kernel.rb +++ b/Library/Homebrew/extend/kernel.rb @@ -459,13 +459,13 @@ module Kernel end def disk_usage_readable(size_in_bytes) - if size_in_bytes >= 1_073_741_824 + if size_in_bytes.abs >= 1_073_741_824 size = size_in_bytes.to_f / 1_073_741_824 unit = "GB" - elsif size_in_bytes >= 1_048_576 + elsif size_in_bytes.abs >= 1_048_576 size = size_in_bytes.to_f / 1_048_576 unit = "MB" - elsif size_in_bytes >= 1_024 + elsif size_in_bytes.abs >= 1_024 size = size_in_bytes.to_f / 1_024 unit = "KB" else From 78a326d832486fef538fd9643b9b923419dacd6f Mon Sep 17 00:00:00 2001 From: Eric Knibbe Date: Sun, 2 Mar 2025 07:05:46 -0500 Subject: [PATCH 243/322] pkg: fix existing installation not being upgraded --- package/scripts/postinstall | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/package/scripts/postinstall b/package/scripts/postinstall index 4296700b90..dc83014913 100755 --- a/package/scripts/postinstall +++ b/package/scripts/postinstall @@ -29,9 +29,9 @@ export HOME="${homebrew_directory}" # reset Git repository cd "${homebrew_directory}" git config --global --add safe.directory "${homebrew_directory}" -git reset --hard -git checkout --force master -git branch | grep -v '\*' | xargs -n 1 git branch --delete --force || true +git checkout --force -B stable +git reset --hard "$(git tag --list --sort="-version:refname" | head -n1)" +git clean -f -d rm "${homebrew_directory}/.gitconfig" # move to /usr/local if on x86_64 @@ -44,8 +44,9 @@ then export HOME="/usr/local/Homebrew" git config --global --add safe.directory /usr/local/Homebrew + git -C /usr/local/Homebrew checkout --force -B stable git -C /usr/local/Homebrew reset --hard - git -C /usr/local/Homebrew checkout --force master + git -C /usr/local/Homebrew clean -f -d rm /usr/local/Homebrew/.gitconfig else mkdir -vp /usr/local/bin From 7fe2f3b0459a1113dd232ad3ab71c43139fca90a Mon Sep 17 00:00:00 2001 From: Adrian Ho Date: Wed, 5 Mar 2025 17:31:25 +0800 Subject: [PATCH 244/322] cmd/tap: don't stacktrace on user error Resolves #19427. --- Library/Homebrew/cmd/tap.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Library/Homebrew/cmd/tap.rb b/Library/Homebrew/cmd/tap.rb index 85aef45a01..17fbfb5639 100644 --- a/Library/Homebrew/cmd/tap.rb +++ b/Library/Homebrew/cmd/tap.rb @@ -59,14 +59,14 @@ module Homebrew elsif args.no_named? puts Tap.installed.sort_by(&:name) else - tap = Tap.fetch(args.named.fetch(0)) begin + tap = Tap.fetch(args.named.fetch(0)) tap.install clone_target: args.named.second, custom_remote: args.custom_remote?, quiet: args.quiet?, verify: args.eval_all? || Homebrew::EnvConfig.eval_all?, force: args.force? - rescue TapRemoteMismatchError, TapNoCustomRemoteError => e + rescue Tap::InvalidNameError, TapRemoteMismatchError, TapNoCustomRemoteError => e odie e rescue TapAlreadyTappedError nil From d5c3b7fec7aaad961bb02b995aff9e5fd09f339b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 5 Mar 2025 18:02:23 +0000 Subject: [PATCH 245/322] build(deps): bump the sorbet group in /Library/Homebrew with 4 updates Bumps the sorbet group in /Library/Homebrew with 4 updates: [sorbet-static-and-runtime](https://github.com/sorbet/sorbet), [sorbet-runtime](https://github.com/sorbet/sorbet), [sorbet](https://github.com/sorbet/sorbet) and [sorbet-static](https://github.com/sorbet/sorbet). Updates `sorbet-static-and-runtime` from 0.5.11882 to 0.5.11888 - [Release notes](https://github.com/sorbet/sorbet/releases) - [Commits](https://github.com/sorbet/sorbet/commits) Updates `sorbet-runtime` from 0.5.11882 to 0.5.11888 - [Release notes](https://github.com/sorbet/sorbet/releases) - [Commits](https://github.com/sorbet/sorbet/commits) Updates `sorbet` from 0.5.11882 to 0.5.11888 - [Release notes](https://github.com/sorbet/sorbet/releases) - [Commits](https://github.com/sorbet/sorbet/commits) Updates `sorbet-static` from 0.5.11882 to 0.5.11888 - [Release notes](https://github.com/sorbet/sorbet/releases) - [Commits](https://github.com/sorbet/sorbet/commits) --- updated-dependencies: - dependency-name: sorbet-static-and-runtime dependency-type: direct:development update-type: version-update:semver-patch dependency-group: sorbet - dependency-name: sorbet-runtime dependency-type: direct:production update-type: version-update:semver-patch dependency-group: sorbet - dependency-name: sorbet dependency-type: indirect update-type: version-update:semver-patch dependency-group: sorbet - dependency-name: sorbet-static dependency-type: indirect update-type: version-update:semver-patch dependency-group: sorbet ... Signed-off-by: dependabot[bot] --- Library/Homebrew/Gemfile.lock | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/Library/Homebrew/Gemfile.lock b/Library/Homebrew/Gemfile.lock index b2032810c3..f9b1215bc4 100644 --- a/Library/Homebrew/Gemfile.lock +++ b/Library/Homebrew/Gemfile.lock @@ -119,15 +119,15 @@ GEM simplecov-html (0.13.1) simplecov_json_formatter (0.1.4) simpleidn (0.2.3) - sorbet (0.5.11882) - sorbet-static (= 0.5.11882) - sorbet-runtime (0.5.11882) - sorbet-static (0.5.11882-aarch64-linux) - sorbet-static (0.5.11882-universal-darwin) - sorbet-static (0.5.11882-x86_64-linux) - sorbet-static-and-runtime (0.5.11882) - sorbet (= 0.5.11882) - sorbet-runtime (= 0.5.11882) + sorbet (0.5.11888) + sorbet-static (= 0.5.11888) + sorbet-runtime (0.5.11888) + sorbet-static (0.5.11888-aarch64-linux) + sorbet-static (0.5.11888-universal-darwin) + sorbet-static (0.5.11888-x86_64-linux) + sorbet-static-and-runtime (0.5.11888) + sorbet (= 0.5.11888) + sorbet-runtime (= 0.5.11888) spoom (1.5.4) erubi (>= 1.10.0) prism (>= 0.28.0) @@ -158,7 +158,6 @@ GEM PLATFORMS aarch64-linux - arm-linux arm64-darwin x86_64-darwin x86_64-linux From 1358883cd67ba5b14f6b64595f736fbed6e7b601 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 5 Mar 2025 18:02:47 +0000 Subject: [PATCH 246/322] build(deps-dev): bump parallel_tests in /Library/Homebrew Bumps [parallel_tests](https://github.com/grosser/parallel_tests) from 5.0.0 to 5.0.1. - [Changelog](https://github.com/grosser/parallel_tests/blob/master/CHANGELOG.md) - [Commits](https://github.com/grosser/parallel_tests/compare/v5.0.0...v5.0.1) --- updated-dependencies: - dependency-name: parallel_tests dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- Library/Homebrew/Gemfile.lock | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Library/Homebrew/Gemfile.lock b/Library/Homebrew/Gemfile.lock index b2032810c3..356a19f17d 100644 --- a/Library/Homebrew/Gemfile.lock +++ b/Library/Homebrew/Gemfile.lock @@ -31,7 +31,7 @@ GEM minitest (5.25.4) netrc (0.11.0) parallel (1.26.3) - parallel_tests (5.0.0) + parallel_tests (5.0.1) parallel parser (3.3.7.1) ast (~> 2.4.1) @@ -158,7 +158,6 @@ GEM PLATFORMS aarch64-linux - arm-linux arm64-darwin x86_64-darwin x86_64-linux From 01bcf2e5bee2ed6bf86b989f119bd46a9418c236 Mon Sep 17 00:00:00 2001 From: thibhero Date: Wed, 5 Mar 2025 13:05:14 -0500 Subject: [PATCH 247/322] brew vendor-gems: commit updates. --- .../Homebrew/vendor/bundle/bundler/setup.rb | 76 +------------------ 1 file changed, 1 insertion(+), 75 deletions(-) diff --git a/Library/Homebrew/vendor/bundle/bundler/setup.rb b/Library/Homebrew/vendor/bundle/bundler/setup.rb index 697e52ed5c..5de4adde5a 100644 --- a/Library/Homebrew/vendor/bundle/bundler/setup.rb +++ b/Library/Homebrew/vendor/bundle/bundler/setup.rb @@ -36,86 +36,12 @@ else end $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/public_suffix-6.0.1/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/addressable-2.8.7/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/ast-2.4.2/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/base64-0.2.0/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/benchmark-0.4.0/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/extensions/arm64-darwin-20/#{Gem.extension_api_version}/bigdecimal-3.1.9") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/bigdecimal-3.1.9/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/bindata-2.5.0/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/coderay-1.1.3/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/concurrent-ruby-1.3.5/lib/concurrent-ruby") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/diff-lcs-1.5.1/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/docile-1.4.1/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/elftools-1.3.1/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/erubi-1.13.1/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/hana-1.3.7/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/extensions/arm64-darwin-20/#{Gem.extension_api_version}/json-2.9.1") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/json-2.9.1/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/regexp_parser-2.10.0/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/simpleidn-0.2.3/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/json_schemer-2.4.0/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rexml-3.4.0/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/kramdown-2.5.1/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/language_server-protocol-3.17.0.4/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/logger-1.6.5/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/method_source-1.1.0/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/minitest-5.25.4/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/netrc-0.11.0/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/parallel-1.26.3/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/parallel_tests-4.9.0/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/extensions/arm64-darwin-20/#{Gem.extension_api_version}/racc-1.8.1") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/racc-1.8.1/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/parser-3.3.7.1/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/patchelf-1.5.1/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/plist-3.7.2/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/extensions/arm64-darwin-20/#{Gem.extension_api_version}/prism-1.3.0") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/prism-1.3.0/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/pry-0.15.2/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/extensions/arm64-darwin-20/#{Gem.extension_api_version}/pycall-1.5.2") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/pycall-1.5.2/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rainbow-3.1.1/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-runtime-0.5.11812/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rbi-0.2.4/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/extensions/arm64-darwin-20/#{Gem.extension_api_version}/rbs-3.8.1") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rbs-3.8.1/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/extensions/arm64-darwin-20/#{Gem.extension_api_version}/redcarpet-3.6.0") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/redcarpet-3.6.0/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rspec-support-3.13.2/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rspec-core-3.13.3/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rspec-expectations-3.13.3/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rspec-mocks-3.13.2/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rspec-3.13.0/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rspec-github-3.0.0/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rspec-retry-0.6.2/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rspec-sorbet-1.9.2/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rspec_junit_formatter-0.6.0/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rubocop-ast-1.38.0/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/ruby-progressbar-1.13.0/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/unicode-emoji-4.0.4/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/unicode-display_width-3.1.4/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rubocop-1.71.2/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rubocop-md-1.2.4/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rubocop-performance-1.23.1/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rubocop-rspec-3.4.0/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rubocop-sorbet-0.8.7/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/ruby-lsp-0.23.9/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/ruby-macho-4.1.0/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/extensions/arm64-darwin-20/#{Gem.extension_api_version}/ruby-prof-1.7.1") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/ruby-prof-1.7.1/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/simplecov-html-0.13.1/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/simplecov_json_formatter-0.1.4/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/simplecov-0.22.0/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/simplecov-cobertura-2.1.0/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-static-0.5.11812-universal-darwin/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-0.5.11812/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-static-and-runtime-0.5.11812/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/thor-1.3.2/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/spoom-1.5.3/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/extensions/arm64-darwin-20/#{Gem.extension_api_version}/stackprof-0.2.27") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/stackprof-0.2.27/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/yard-0.9.37/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/yard-sorbet-0.9.0/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/tapioca-0.16.9/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/extensions/arm64-darwin-20/#{Gem.extension_api_version}/vernier-1.5.0") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/vernier-1.5.0/lib") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-runtime-0.5.11812/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/warning-1.5.0/lib") From 55b07d7fedfc920a417a8ddc733543b4ca06ac59 Mon Sep 17 00:00:00 2001 From: Sean Molenaar Date: Mon, 3 Mar 2025 17:54:54 +0100 Subject: [PATCH 248/322] feat: add cask shell completion --- Library/Homebrew/cask/artifact.rb | 3 +++ .../Homebrew/cask/artifact/bashcompletion.rb | 25 +++++++++++++++++++ .../Homebrew/cask/artifact/fishcompletion.rb | 25 +++++++++++++++++++ .../Homebrew/cask/artifact/shellcompletion.rb | 20 +++++++++++++++ .../Homebrew/cask/artifact/zshcompletion.rb | 25 +++++++++++++++++++ Library/Homebrew/cask/config.rb | 15 +++++++++++ Library/Homebrew/cask/dsl.rb | 3 +++ .../extend/os/linux/cask/installer.rb | 7 +++++- 8 files changed, 122 insertions(+), 1 deletion(-) create mode 100644 Library/Homebrew/cask/artifact/bashcompletion.rb create mode 100644 Library/Homebrew/cask/artifact/fishcompletion.rb create mode 100644 Library/Homebrew/cask/artifact/shellcompletion.rb create mode 100644 Library/Homebrew/cask/artifact/zshcompletion.rb diff --git a/Library/Homebrew/cask/artifact.rb b/Library/Homebrew/cask/artifact.rb index eab26b9f43..02b1298b55 100644 --- a/Library/Homebrew/cask/artifact.rb +++ b/Library/Homebrew/cask/artifact.rb @@ -22,6 +22,9 @@ require "cask/artifact/prefpane" require "cask/artifact/qlplugin" require "cask/artifact/mdimporter" require "cask/artifact/screen_saver" +require "cask/artifact/bashcompletion" +require "cask/artifact/fishcompletion" +require "cask/artifact/zshcompletion" require "cask/artifact/service" require "cask/artifact/stage_only" require "cask/artifact/suite" diff --git a/Library/Homebrew/cask/artifact/bashcompletion.rb b/Library/Homebrew/cask/artifact/bashcompletion.rb new file mode 100644 index 0000000000..e42f1085ca --- /dev/null +++ b/Library/Homebrew/cask/artifact/bashcompletion.rb @@ -0,0 +1,25 @@ +# typed: strict +# frozen_string_literal: true + +require "cask/artifact/shellcompletion" + +module Cask + module Artifact + # Artifact corresponding to the `bash_completion` stanza. + class BashCompletion < ShellCompletion + sig { params(target: T.any(String, Pathname)).returns(Pathname) } + def resolve_target(target) + name = if target.to_s.end_with? ".bash" + target + else + new_name = File.basename(target, File.extname(target)) + odebug "Renaming completion #{target} to #{new_name}" + + new_name + end + + config.bash_completion/name + end + end + end +end diff --git a/Library/Homebrew/cask/artifact/fishcompletion.rb b/Library/Homebrew/cask/artifact/fishcompletion.rb new file mode 100644 index 0000000000..ef4e13c8cd --- /dev/null +++ b/Library/Homebrew/cask/artifact/fishcompletion.rb @@ -0,0 +1,25 @@ +# typed: strict +# frozen_string_literal: true + +require "cask/artifact/shellcompletion" + +module Cask + module Artifact + # Artifact corresponding to the `fish_completion` stanza. + class FishCompletion < ShellCompletion + sig { params(target: T.any(String, Pathname)).returns(Pathname) } + def resolve_target(target) + name = if target.to_s.end_with? ".fish" + target + else + new_name = "#{File.basename(target, File.extname(target))}.fish" + odebug "Renaming completion #{target} to #{new_name}" + + new_name + end + + config.fish_completion/name + end + end + end +end diff --git a/Library/Homebrew/cask/artifact/shellcompletion.rb b/Library/Homebrew/cask/artifact/shellcompletion.rb new file mode 100644 index 0000000000..d39d1f6913 --- /dev/null +++ b/Library/Homebrew/cask/artifact/shellcompletion.rb @@ -0,0 +1,20 @@ +# typed: strict +# frozen_string_literal: true + +require "cask/artifact/symlinked" + +module Cask + module Artifact + class ShellCompletion < Symlinked + sig { params(cask: Cask, source: T.any(String, Pathname)).returns(ShellCompletion) } + def self.from_args(cask, source) + new(cask, source) + end + + sig { params(_: T.any(String, Pathname)).returns(Pathname) } + def resolve_target(_) + raise CaskInvalidError, "Shell completion without shell info" + end + end + end +end diff --git a/Library/Homebrew/cask/artifact/zshcompletion.rb b/Library/Homebrew/cask/artifact/zshcompletion.rb new file mode 100644 index 0000000000..971de91857 --- /dev/null +++ b/Library/Homebrew/cask/artifact/zshcompletion.rb @@ -0,0 +1,25 @@ +# typed: strict +# frozen_string_literal: true + +require "cask/artifact/shellcompletion" + +module Cask + module Artifact + # Artifact corresponding to the `zsh_completion` stanza. + class ZshCompletion < ShellCompletion + sig { params(target: T.any(String, Pathname)).returns(Pathname) } + def resolve_target(target) + name = if target.to_s.start_with? "_" + target + else + new_name = "_#{File.basename(target, File.extname(target))}" + odebug "Renaming completion #{target} to #{new_name}" + + new_name + end + + config.zsh_completion/name + end + end + end +end diff --git a/Library/Homebrew/cask/config.rb b/Library/Homebrew/cask/config.rb index aa0d76dfb3..68b0f91e95 100644 --- a/Library/Homebrew/cask/config.rb +++ b/Library/Homebrew/cask/config.rb @@ -176,6 +176,21 @@ module Cask @manpagedir ||= T.let(HOMEBREW_PREFIX/"share/man", T.nilable(Pathname)) end + sig { returns(Pathname) } + def bash_completion + @bash_completion ||= T.let(HOMEBREW_PREFIX/"etc/bash_completion.d", T.nilable(Pathname)) + end + + sig { returns(Pathname) } + def zsh_completion + @zsh_completion ||= T.let(HOMEBREW_PREFIX/"share/zsh/site-functions", T.nilable(Pathname)) + end + + sig { returns(Pathname) } + def fish_completion + @fish_completion ||= T.let(HOMEBREW_PREFIX/"share/fish/vendor_completions.d", T.nilable(Pathname)) + end + sig { returns(T::Array[String]) } def languages [ diff --git a/Library/Homebrew/cask/dsl.rb b/Library/Homebrew/cask/dsl.rb index 9946c199e9..38952a9e49 100644 --- a/Library/Homebrew/cask/dsl.rb +++ b/Library/Homebrew/cask/dsl.rb @@ -53,6 +53,9 @@ module Cask Artifact::Suite, Artifact::VstPlugin, Artifact::Vst3Plugin, + Artifact::ZshCompletion, + Artifact::FishCompletion, + Artifact::BashCompletion, Artifact::Uninstall, Artifact::Zap, ].freeze diff --git a/Library/Homebrew/extend/os/linux/cask/installer.rb b/Library/Homebrew/extend/os/linux/cask/installer.rb index 5add7aae64..ab267068a8 100644 --- a/Library/Homebrew/extend/os/linux/cask/installer.rb +++ b/Library/Homebrew/extend/os/linux/cask/installer.rb @@ -16,7 +16,12 @@ module OS return if artifacts.all?(::Cask::Artifact::Font) install_artifacts = artifacts.reject { |artifact| artifact.instance_of?(::Cask::Artifact::Zap) } - return if install_artifacts.all?(::Cask::Artifact::Binary) + return if install_artifacts.all? do |artifact| + artifact.is_a?(::Cask::Artifact::Binary) || + artifact.is_a?(::Cask::Artifact::ShellCompletion) || + artifact.is_a?(::Cask::Artifact::Artifact) || + artifact.is_a?(::Cask::Artifact::Manpage) + end raise ::Cask::CaskError, "macOS is required for this software." end From ab2b18f78c94e00103a7b331579bb82ef98764f6 Mon Sep 17 00:00:00 2001 From: Sean Molenaar Date: Mon, 3 Mar 2025 17:55:10 +0100 Subject: [PATCH 249/322] feat: add os_version for casks --- Library/Homebrew/cask/dsl.rb | 8 ++++++++ Library/Homebrew/extend/os/cask/dsl.rb | 4 ++++ Library/Homebrew/extend/os/mac/cask/dsl.rb | 23 ++++++++++++++++++++++ 3 files changed, 35 insertions(+) create mode 100644 Library/Homebrew/extend/os/cask/dsl.rb create mode 100644 Library/Homebrew/extend/os/mac/cask/dsl.rb diff --git a/Library/Homebrew/cask/dsl.rb b/Library/Homebrew/cask/dsl.rb index 38952a9e49..6dc120b395 100644 --- a/Library/Homebrew/cask/dsl.rb +++ b/Library/Homebrew/cask/dsl.rb @@ -452,6 +452,7 @@ module Cask @artifacts ||= ArtifactSet.new end + sig { returns(Pathname) } def caskroom_path cask.caskroom_path end @@ -459,6 +460,7 @@ module Cask # The staged location for this cask, including version number. # # @api public + sig { returns(Pathname) } def staged_path return @staged_path if @staged_path @@ -590,9 +592,15 @@ module Cask true end + sig { returns(T.nilable(MacOSVersion)) } + def os_version + nil + end + # The directory `app`s are installed into. # # @api public + sig { returns(T.any(Pathname, String)) } def appdir return HOMEBREW_CASK_APPDIR_PLACEHOLDER if Cask.generating_hash? diff --git a/Library/Homebrew/extend/os/cask/dsl.rb b/Library/Homebrew/extend/os/cask/dsl.rb new file mode 100644 index 0000000000..1ee72f032f --- /dev/null +++ b/Library/Homebrew/extend/os/cask/dsl.rb @@ -0,0 +1,4 @@ +# typed: strict +# frozen_string_literal: true + +require "extend/os/mac/cask/dsl" if OS.mac? diff --git a/Library/Homebrew/extend/os/mac/cask/dsl.rb b/Library/Homebrew/extend/os/mac/cask/dsl.rb new file mode 100644 index 0000000000..252c6a16f5 --- /dev/null +++ b/Library/Homebrew/extend/os/mac/cask/dsl.rb @@ -0,0 +1,23 @@ +# typed: strict +# frozen_string_literal: true + +require "cask/macos" + +module OS + module Mac + module Cask + module DSL + extend T::Helpers + + requires_ancestor { ::Cask::DSL } + + sig { returns(T.nilable(MacOSVersion)) } + def os_version + MacOS.full_version + end + end + end + end +end + +Cask::DSL.prepend(OS::Mac::Cask::DSL) From fc319f6793e91262f58e6449e2eea1a4ca923160 Mon Sep 17 00:00:00 2001 From: Sean Molenaar Date: Tue, 4 Mar 2025 17:25:10 +0100 Subject: [PATCH 250/322] feat: add tests for completion stanzas --- .../Homebrew/cask/artifact/bashcompletion.rb | 2 +- .../test/cask/artifact/bashcompletion_spec.rb | 44 ++++++++++++++++++ .../cask/artifact/fishlcompletion_spec.rb | 44 ++++++++++++++++++ .../test/cask/artifact/zshcompletion_spec.rb | 44 ++++++++++++++++++ .../fixtures/cask/AppWithShellCompletion.zip | Bin 0 -> 1098 bytes .../cask/Casks/with-shellcompletion-long.rb | 11 +++++ .../cask/Casks/with-shellcompletion.rb | 11 +++++ 7 files changed, 155 insertions(+), 1 deletion(-) create mode 100644 Library/Homebrew/test/cask/artifact/bashcompletion_spec.rb create mode 100644 Library/Homebrew/test/cask/artifact/fishlcompletion_spec.rb create mode 100644 Library/Homebrew/test/cask/artifact/zshcompletion_spec.rb create mode 100644 Library/Homebrew/test/support/fixtures/cask/AppWithShellCompletion.zip create mode 100644 Library/Homebrew/test/support/fixtures/cask/Casks/with-shellcompletion-long.rb create mode 100644 Library/Homebrew/test/support/fixtures/cask/Casks/with-shellcompletion.rb diff --git a/Library/Homebrew/cask/artifact/bashcompletion.rb b/Library/Homebrew/cask/artifact/bashcompletion.rb index e42f1085ca..3ffe7c6833 100644 --- a/Library/Homebrew/cask/artifact/bashcompletion.rb +++ b/Library/Homebrew/cask/artifact/bashcompletion.rb @@ -9,7 +9,7 @@ module Cask class BashCompletion < ShellCompletion sig { params(target: T.any(String, Pathname)).returns(Pathname) } def resolve_target(target) - name = if target.to_s.end_with? ".bash" + name = if File.extname(target).nil? target else new_name = File.basename(target, File.extname(target)) diff --git a/Library/Homebrew/test/cask/artifact/bashcompletion_spec.rb b/Library/Homebrew/test/cask/artifact/bashcompletion_spec.rb new file mode 100644 index 0000000000..3bdfec62f4 --- /dev/null +++ b/Library/Homebrew/test/cask/artifact/bashcompletion_spec.rb @@ -0,0 +1,44 @@ +# frozen_string_literal: true + +RSpec.describe Cask::Artifact::BashCompletion, :cask do + let(:cask) { Cask::CaskLoader.load(cask_token) } + + context "with install" do + let(:install_phase) do + lambda do + cask.artifacts.select { |a| a.is_a?(described_class) }.each do |artifact| + artifact.install_phase(command: NeverSudoSystemCommand, force: false) + end + end + end + + let(:source_path) { cask.staged_path.join("test.bash") } + let(:target_path) { cask.config.bash_completion.join("test") } + let(:full_source_path) { cask.staged_path.join("test.bash-completion") } + let(:full_target_path) { cask.config.bash_completion.join("test") } + + before do + InstallHelper.install_without_artifacts(cask) + end + + context "with completion" do + let(:cask_token) { "with-shellcompletion" } + + it "links the completion to the proper directory" do + install_phase.call + + expect(File).to be_identical target_path, source_path + end + end + + context "with long completion" do + let(:cask_token) { "with-shellcompletion-long" } + + it "links the completion to the proper directory" do + install_phase.call + + expect(File).to be_identical full_target_path, full_source_path + end + end + end +end diff --git a/Library/Homebrew/test/cask/artifact/fishlcompletion_spec.rb b/Library/Homebrew/test/cask/artifact/fishlcompletion_spec.rb new file mode 100644 index 0000000000..f5e166ff45 --- /dev/null +++ b/Library/Homebrew/test/cask/artifact/fishlcompletion_spec.rb @@ -0,0 +1,44 @@ +# frozen_string_literal: true + +RSpec.describe Cask::Artifact::FishCompletion, :cask do + let(:cask) { Cask::CaskLoader.load(cask_token) } + + context "with install" do + let(:install_phase) do + lambda do + cask.artifacts.select { |a| a.is_a?(described_class) }.each do |artifact| + artifact.install_phase(command: NeverSudoSystemCommand, force: false) + end + end + end + + let(:source_path) { cask.staged_path.join("test.fish") } + let(:target_path) { cask.config.fish_completion.join("test.fish") } + let(:full_source_path) { cask.staged_path.join("test.fish-completion") } + let(:full_target_path) { cask.config.fish_completion.join("test.fish") } + + before do + InstallHelper.install_without_artifacts(cask) + end + + context "with completion" do + let(:cask_token) { "with-shellcompletion" } + + it "links the completion to the proper directory" do + install_phase.call + + expect(File).to be_identical target_path, source_path + end + end + + context "with long completion" do + let(:cask_token) { "with-shellcompletion-long" } + + it "links the completion to the proper directory" do + install_phase.call + + expect(File).to be_identical full_target_path, full_source_path + end + end + end +end diff --git a/Library/Homebrew/test/cask/artifact/zshcompletion_spec.rb b/Library/Homebrew/test/cask/artifact/zshcompletion_spec.rb new file mode 100644 index 0000000000..8a46f84f5e --- /dev/null +++ b/Library/Homebrew/test/cask/artifact/zshcompletion_spec.rb @@ -0,0 +1,44 @@ +# frozen_string_literal: true + +RSpec.describe Cask::Artifact::ZshCompletion, :cask do + let(:cask) { Cask::CaskLoader.load(cask_token) } + + context "with install" do + let(:install_phase) do + lambda do + cask.artifacts.select { |a| a.is_a?(described_class) }.each do |artifact| + artifact.install_phase(command: NeverSudoSystemCommand, force: false) + end + end + end + + let(:source_path) { cask.staged_path.join("_test") } + let(:target_path) { cask.config.zsh_completion.join("_test") } + let(:full_source_path) { cask.staged_path.join("test.zsh-completion") } + let(:full_target_path) { cask.config.zsh_completion.join("_test") } + + before do + InstallHelper.install_without_artifacts(cask) + end + + context "with completion" do + let(:cask_token) { "with-shellcompletion" } + + it "links the completion to the proper directory" do + install_phase.call + + expect(File).to be_identical target_path, source_path + end + end + + context "with long completion" do + let(:cask_token) { "with-shellcompletion-long" } + + it "links the completion to the proper directory" do + install_phase.call + + expect(File).to be_identical full_target_path, full_source_path + end + end + end +end diff --git a/Library/Homebrew/test/support/fixtures/cask/AppWithShellCompletion.zip b/Library/Homebrew/test/support/fixtures/cask/AppWithShellCompletion.zip new file mode 100644 index 0000000000000000000000000000000000000000..bd3496ae419226bd69fbc1986ed4b246b8c8bec3 GIT binary patch literal 1098 zcmaLWJxT*X6bJCPUuv`wlwctif~D~ckywaL5Jk{JRyXQ`nt@$G>?{K6IlMp)As)bU z1e9PS7XII4*BR%-UEZ+G{CG3(zulcEo+W;siq($%sFoR8rnV5RREUlJy#_@^{<1qj z-Q3Pm5Pt?l@fb_@SNM3y4t1dcq3ji9>m)5MB(b&jdd}q~#s;yd6YHn_D{-cCsLjtxXVN21W5 literal 0 HcmV?d00001 diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/with-shellcompletion-long.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/with-shellcompletion-long.rb new file mode 100644 index 0000000000..8a0e80ad30 --- /dev/null +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/with-shellcompletion-long.rb @@ -0,0 +1,11 @@ +cask "with-shellcompletion-long" do + version "1.2.3" + sha256 "957978d9b30adfda8e1f914ba8c8019e016545c8f7e16c6ab0234d189fac8146" + + url "file://#{TEST_FIXTURE_DIR}/cask/AppWithShellCompletion.zip" + homepage "https://brew.sh/with-autodetected-manpage-section" + + bash_completion "test.bash-completion" + fish_completion "test.fish-completion" + zsh_completion "test.zsh-completion" +end diff --git a/Library/Homebrew/test/support/fixtures/cask/Casks/with-shellcompletion.rb b/Library/Homebrew/test/support/fixtures/cask/Casks/with-shellcompletion.rb new file mode 100644 index 0000000000..54f518dd4c --- /dev/null +++ b/Library/Homebrew/test/support/fixtures/cask/Casks/with-shellcompletion.rb @@ -0,0 +1,11 @@ +cask "with-shellcompletion" do + version "1.2.3" + sha256 "957978d9b30adfda8e1f914ba8c8019e016545c8f7e16c6ab0234d189fac8146" + + url "file://#{TEST_FIXTURE_DIR}/cask/AppWithShellCompletion.zip" + homepage "https://brew.sh/with-autodetected-manpage-section" + + bash_completion "test.bash" + fish_completion "test.fish" + zsh_completion "_test" +end From ca483bbed360db825f526a3a26d3b5a49277008f Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Wed, 5 Mar 2025 19:54:23 +0000 Subject: [PATCH 251/322] brew vendor-gems: commit updates. --- Library/Homebrew/Gemfile.lock | 1 + Library/Homebrew/vendor/bundle/bundler/setup.rb | 8 ++++---- .../lib/sorbet-runtime.rb | 0 .../lib/types/_types.rb | 0 .../lib/types/abstract_utils.rb | 0 .../lib/types/boolean.rb | 0 .../lib/types/compatibility_patches.rb | 0 .../lib/types/configuration.rb | 0 .../lib/types/enum.rb | 0 .../lib/types/generic.rb | 0 .../lib/types/helpers.rb | 0 .../lib/types/non_forcing_constants.rb | 0 .../lib/types/private/abstract/data.rb | 0 .../lib/types/private/abstract/declare.rb | 0 .../lib/types/private/abstract/hooks.rb | 0 .../lib/types/private/abstract/validate.rb | 0 .../lib/types/private/caller_utils.rb | 0 .../lib/types/private/casts.rb | 0 .../lib/types/private/class_utils.rb | 0 .../lib/types/private/decl_state.rb | 0 .../lib/types/private/final.rb | 0 .../lib/types/private/methods/_methods.rb | 0 .../lib/types/private/methods/call_validation.rb | 0 .../lib/types/private/methods/call_validation_2_6.rb | 0 .../lib/types/private/methods/call_validation_2_7.rb | 0 .../lib/types/private/methods/decl_builder.rb | 0 .../lib/types/private/methods/modes.rb | 0 .../lib/types/private/methods/signature.rb | 0 .../lib/types/private/methods/signature_validation.rb | 0 .../lib/types/private/mixins/mixins.rb | 0 .../lib/types/private/retry.rb | 0 .../lib/types/private/runtime_levels.rb | 0 .../lib/types/private/sealed.rb | 0 .../lib/types/private/types/not_typed.rb | 0 .../lib/types/private/types/simple_pair_union.rb | 0 .../lib/types/private/types/string_holder.rb | 0 .../lib/types/private/types/type_alias.rb | 0 .../lib/types/private/types/void.rb | 0 .../lib/types/props/_props.rb | 0 .../lib/types/props/constructor.rb | 0 .../lib/types/props/custom_type.rb | 0 .../lib/types/props/decorator.rb | 0 .../lib/types/props/errors.rb | 0 .../lib/types/props/generated_code_validation.rb | 0 .../lib/types/props/has_lazily_specialized_methods.rb | 0 .../lib/types/props/optional.rb | 0 .../lib/types/props/plugin.rb | 0 .../lib/types/props/pretty_printable.rb | 0 .../lib/types/props/private/apply_default.rb | 0 .../lib/types/props/private/deserializer_generator.rb | 0 .../lib/types/props/private/parser.rb | 0 .../lib/types/props/private/serde_transform.rb | 0 .../lib/types/props/private/serializer_generator.rb | 0 .../lib/types/props/private/setter_factory.rb | 0 .../lib/types/props/serializable.rb | 0 .../lib/types/props/type_validation.rb | 0 .../lib/types/props/utils.rb | 0 .../lib/types/props/weak_constructor.rb | 0 .../lib/types/sig.rb | 0 .../lib/types/struct.rb | 0 .../lib/types/types/anything.rb | 0 .../lib/types/types/attached_class.rb | 0 .../lib/types/types/base.rb | 0 .../lib/types/types/class_of.rb | 0 .../lib/types/types/enum.rb | 0 .../lib/types/types/fixed_array.rb | 0 .../lib/types/types/fixed_hash.rb | 0 .../lib/types/types/intersection.rb | 0 .../lib/types/types/noreturn.rb | 0 .../lib/types/types/proc.rb | 0 .../lib/types/types/self_type.rb | 0 .../lib/types/types/simple.rb | 0 .../lib/types/types/t_enum.rb | 0 .../lib/types/types/type_member.rb | 0 .../lib/types/types/type_parameter.rb | 0 .../lib/types/types/type_template.rb | 0 .../lib/types/types/type_variable.rb | 0 .../lib/types/types/typed_array.rb | 0 .../lib/types/types/typed_class.rb | 0 .../lib/types/types/typed_enumerable.rb | 0 .../lib/types/types/typed_enumerator.rb | 0 .../lib/types/types/typed_enumerator_chain.rb | 0 .../lib/types/types/typed_enumerator_lazy.rb | 0 .../lib/types/types/typed_hash.rb | 0 .../lib/types/types/typed_range.rb | 0 .../lib/types/types/typed_set.rb | 0 .../lib/types/types/union.rb | 0 .../lib/types/types/untyped.rb | 0 .../lib/types/utils.rb | 0 89 files changed, 5 insertions(+), 4 deletions(-) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11882 => sorbet-runtime-0.5.11888}/lib/sorbet-runtime.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11882 => sorbet-runtime-0.5.11888}/lib/types/_types.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11882 => sorbet-runtime-0.5.11888}/lib/types/abstract_utils.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11882 => sorbet-runtime-0.5.11888}/lib/types/boolean.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11882 => sorbet-runtime-0.5.11888}/lib/types/compatibility_patches.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11882 => sorbet-runtime-0.5.11888}/lib/types/configuration.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11882 => sorbet-runtime-0.5.11888}/lib/types/enum.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11882 => sorbet-runtime-0.5.11888}/lib/types/generic.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11882 => sorbet-runtime-0.5.11888}/lib/types/helpers.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11882 => sorbet-runtime-0.5.11888}/lib/types/non_forcing_constants.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11882 => sorbet-runtime-0.5.11888}/lib/types/private/abstract/data.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11882 => sorbet-runtime-0.5.11888}/lib/types/private/abstract/declare.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11882 => sorbet-runtime-0.5.11888}/lib/types/private/abstract/hooks.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11882 => sorbet-runtime-0.5.11888}/lib/types/private/abstract/validate.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11882 => sorbet-runtime-0.5.11888}/lib/types/private/caller_utils.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11882 => sorbet-runtime-0.5.11888}/lib/types/private/casts.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11882 => sorbet-runtime-0.5.11888}/lib/types/private/class_utils.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11882 => sorbet-runtime-0.5.11888}/lib/types/private/decl_state.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11882 => sorbet-runtime-0.5.11888}/lib/types/private/final.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11882 => sorbet-runtime-0.5.11888}/lib/types/private/methods/_methods.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11882 => sorbet-runtime-0.5.11888}/lib/types/private/methods/call_validation.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11882 => sorbet-runtime-0.5.11888}/lib/types/private/methods/call_validation_2_6.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11882 => sorbet-runtime-0.5.11888}/lib/types/private/methods/call_validation_2_7.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11882 => sorbet-runtime-0.5.11888}/lib/types/private/methods/decl_builder.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11882 => sorbet-runtime-0.5.11888}/lib/types/private/methods/modes.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11882 => sorbet-runtime-0.5.11888}/lib/types/private/methods/signature.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11882 => sorbet-runtime-0.5.11888}/lib/types/private/methods/signature_validation.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11882 => sorbet-runtime-0.5.11888}/lib/types/private/mixins/mixins.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11882 => sorbet-runtime-0.5.11888}/lib/types/private/retry.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11882 => sorbet-runtime-0.5.11888}/lib/types/private/runtime_levels.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11882 => sorbet-runtime-0.5.11888}/lib/types/private/sealed.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11882 => sorbet-runtime-0.5.11888}/lib/types/private/types/not_typed.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11882 => sorbet-runtime-0.5.11888}/lib/types/private/types/simple_pair_union.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11882 => sorbet-runtime-0.5.11888}/lib/types/private/types/string_holder.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11882 => sorbet-runtime-0.5.11888}/lib/types/private/types/type_alias.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11882 => sorbet-runtime-0.5.11888}/lib/types/private/types/void.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11882 => sorbet-runtime-0.5.11888}/lib/types/props/_props.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11882 => sorbet-runtime-0.5.11888}/lib/types/props/constructor.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11882 => sorbet-runtime-0.5.11888}/lib/types/props/custom_type.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11882 => sorbet-runtime-0.5.11888}/lib/types/props/decorator.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11882 => sorbet-runtime-0.5.11888}/lib/types/props/errors.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11882 => sorbet-runtime-0.5.11888}/lib/types/props/generated_code_validation.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11882 => sorbet-runtime-0.5.11888}/lib/types/props/has_lazily_specialized_methods.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11882 => sorbet-runtime-0.5.11888}/lib/types/props/optional.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11882 => sorbet-runtime-0.5.11888}/lib/types/props/plugin.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11882 => sorbet-runtime-0.5.11888}/lib/types/props/pretty_printable.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11882 => sorbet-runtime-0.5.11888}/lib/types/props/private/apply_default.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11882 => sorbet-runtime-0.5.11888}/lib/types/props/private/deserializer_generator.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11882 => sorbet-runtime-0.5.11888}/lib/types/props/private/parser.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11882 => sorbet-runtime-0.5.11888}/lib/types/props/private/serde_transform.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11882 => sorbet-runtime-0.5.11888}/lib/types/props/private/serializer_generator.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11882 => sorbet-runtime-0.5.11888}/lib/types/props/private/setter_factory.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11882 => sorbet-runtime-0.5.11888}/lib/types/props/serializable.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11882 => sorbet-runtime-0.5.11888}/lib/types/props/type_validation.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11882 => sorbet-runtime-0.5.11888}/lib/types/props/utils.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11882 => sorbet-runtime-0.5.11888}/lib/types/props/weak_constructor.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11882 => sorbet-runtime-0.5.11888}/lib/types/sig.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11882 => sorbet-runtime-0.5.11888}/lib/types/struct.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11882 => sorbet-runtime-0.5.11888}/lib/types/types/anything.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11882 => sorbet-runtime-0.5.11888}/lib/types/types/attached_class.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11882 => sorbet-runtime-0.5.11888}/lib/types/types/base.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11882 => sorbet-runtime-0.5.11888}/lib/types/types/class_of.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11882 => sorbet-runtime-0.5.11888}/lib/types/types/enum.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11882 => sorbet-runtime-0.5.11888}/lib/types/types/fixed_array.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11882 => sorbet-runtime-0.5.11888}/lib/types/types/fixed_hash.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11882 => sorbet-runtime-0.5.11888}/lib/types/types/intersection.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11882 => sorbet-runtime-0.5.11888}/lib/types/types/noreturn.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11882 => sorbet-runtime-0.5.11888}/lib/types/types/proc.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11882 => sorbet-runtime-0.5.11888}/lib/types/types/self_type.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11882 => sorbet-runtime-0.5.11888}/lib/types/types/simple.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11882 => sorbet-runtime-0.5.11888}/lib/types/types/t_enum.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11882 => sorbet-runtime-0.5.11888}/lib/types/types/type_member.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11882 => sorbet-runtime-0.5.11888}/lib/types/types/type_parameter.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11882 => sorbet-runtime-0.5.11888}/lib/types/types/type_template.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11882 => sorbet-runtime-0.5.11888}/lib/types/types/type_variable.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11882 => sorbet-runtime-0.5.11888}/lib/types/types/typed_array.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11882 => sorbet-runtime-0.5.11888}/lib/types/types/typed_class.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11882 => sorbet-runtime-0.5.11888}/lib/types/types/typed_enumerable.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11882 => sorbet-runtime-0.5.11888}/lib/types/types/typed_enumerator.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11882 => sorbet-runtime-0.5.11888}/lib/types/types/typed_enumerator_chain.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11882 => sorbet-runtime-0.5.11888}/lib/types/types/typed_enumerator_lazy.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11882 => sorbet-runtime-0.5.11888}/lib/types/types/typed_hash.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11882 => sorbet-runtime-0.5.11888}/lib/types/types/typed_range.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11882 => sorbet-runtime-0.5.11888}/lib/types/types/typed_set.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11882 => sorbet-runtime-0.5.11888}/lib/types/types/union.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11882 => sorbet-runtime-0.5.11888}/lib/types/types/untyped.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11882 => sorbet-runtime-0.5.11888}/lib/types/utils.rb (100%) diff --git a/Library/Homebrew/Gemfile.lock b/Library/Homebrew/Gemfile.lock index f9b1215bc4..d059bcd338 100644 --- a/Library/Homebrew/Gemfile.lock +++ b/Library/Homebrew/Gemfile.lock @@ -158,6 +158,7 @@ GEM PLATFORMS aarch64-linux + arm-linux arm64-darwin x86_64-darwin x86_64-linux diff --git a/Library/Homebrew/vendor/bundle/bundler/setup.rb b/Library/Homebrew/vendor/bundle/bundler/setup.rb index 99465ecb87..810c594e4f 100644 --- a/Library/Homebrew/vendor/bundle/bundler/setup.rb +++ b/Library/Homebrew/vendor/bundle/bundler/setup.rb @@ -75,7 +75,7 @@ $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/extensions/arm64-darwin-20/#{Gem.extension_api_version}/pycall-1.5.2") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/pycall-1.5.2/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rainbow-3.1.1/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-runtime-0.5.11882/lib") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-runtime-0.5.11888/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rbi-0.2.4/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/extensions/arm64-darwin-20/#{Gem.extension_api_version}/rbs-3.8.1") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rbs-3.8.1/lib") @@ -107,9 +107,9 @@ $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/simplecov_json_formatter-0.1.4/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/simplecov-0.22.0/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/simplecov-cobertura-2.1.0/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-static-0.5.11882-universal-darwin/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-0.5.11882/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-static-and-runtime-0.5.11882/lib") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-static-0.5.11888-universal-darwin/lib") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-0.5.11888/lib") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-static-and-runtime-0.5.11888/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/thor-1.3.2/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/spoom-1.5.4/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/extensions/arm64-darwin-20/#{Gem.extension_api_version}/stackprof-0.2.27") diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/sorbet-runtime.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/sorbet-runtime.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/sorbet-runtime.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/sorbet-runtime.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/_types.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/_types.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/_types.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/_types.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/abstract_utils.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/abstract_utils.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/abstract_utils.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/abstract_utils.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/boolean.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/boolean.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/boolean.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/boolean.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/compatibility_patches.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/compatibility_patches.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/compatibility_patches.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/compatibility_patches.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/configuration.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/configuration.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/configuration.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/configuration.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/enum.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/enum.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/enum.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/enum.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/generic.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/generic.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/generic.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/generic.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/helpers.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/helpers.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/helpers.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/helpers.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/non_forcing_constants.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/non_forcing_constants.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/non_forcing_constants.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/non_forcing_constants.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/private/abstract/data.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/private/abstract/data.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/private/abstract/data.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/private/abstract/data.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/private/abstract/declare.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/private/abstract/declare.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/private/abstract/declare.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/private/abstract/declare.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/private/abstract/hooks.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/private/abstract/hooks.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/private/abstract/hooks.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/private/abstract/hooks.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/private/abstract/validate.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/private/abstract/validate.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/private/abstract/validate.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/private/abstract/validate.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/private/caller_utils.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/private/caller_utils.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/private/caller_utils.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/private/caller_utils.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/private/casts.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/private/casts.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/private/casts.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/private/casts.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/private/class_utils.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/private/class_utils.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/private/class_utils.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/private/class_utils.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/private/decl_state.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/private/decl_state.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/private/decl_state.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/private/decl_state.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/private/final.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/private/final.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/private/final.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/private/final.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/private/methods/_methods.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/private/methods/_methods.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/private/methods/_methods.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/private/methods/_methods.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/private/methods/call_validation.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/private/methods/call_validation.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/private/methods/call_validation.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/private/methods/call_validation.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/private/methods/call_validation_2_6.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/private/methods/call_validation_2_6.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/private/methods/call_validation_2_6.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/private/methods/call_validation_2_6.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/private/methods/call_validation_2_7.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/private/methods/call_validation_2_7.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/private/methods/call_validation_2_7.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/private/methods/call_validation_2_7.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/private/methods/decl_builder.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/private/methods/decl_builder.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/private/methods/decl_builder.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/private/methods/decl_builder.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/private/methods/modes.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/private/methods/modes.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/private/methods/modes.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/private/methods/modes.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/private/methods/signature.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/private/methods/signature.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/private/methods/signature.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/private/methods/signature.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/private/methods/signature_validation.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/private/methods/signature_validation.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/private/methods/signature_validation.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/private/methods/signature_validation.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/private/mixins/mixins.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/private/mixins/mixins.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/private/mixins/mixins.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/private/mixins/mixins.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/private/retry.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/private/retry.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/private/retry.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/private/retry.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/private/runtime_levels.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/private/runtime_levels.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/private/runtime_levels.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/private/runtime_levels.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/private/sealed.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/private/sealed.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/private/sealed.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/private/sealed.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/private/types/not_typed.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/private/types/not_typed.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/private/types/not_typed.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/private/types/not_typed.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/private/types/simple_pair_union.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/private/types/simple_pair_union.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/private/types/simple_pair_union.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/private/types/simple_pair_union.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/private/types/string_holder.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/private/types/string_holder.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/private/types/string_holder.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/private/types/string_holder.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/private/types/type_alias.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/private/types/type_alias.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/private/types/type_alias.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/private/types/type_alias.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/private/types/void.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/private/types/void.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/private/types/void.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/private/types/void.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/props/_props.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/props/_props.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/props/_props.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/props/_props.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/props/constructor.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/props/constructor.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/props/constructor.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/props/constructor.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/props/custom_type.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/props/custom_type.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/props/custom_type.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/props/custom_type.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/props/decorator.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/props/decorator.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/props/decorator.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/props/decorator.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/props/errors.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/props/errors.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/props/errors.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/props/errors.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/props/generated_code_validation.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/props/generated_code_validation.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/props/generated_code_validation.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/props/generated_code_validation.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/props/has_lazily_specialized_methods.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/props/has_lazily_specialized_methods.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/props/has_lazily_specialized_methods.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/props/has_lazily_specialized_methods.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/props/optional.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/props/optional.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/props/optional.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/props/optional.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/props/plugin.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/props/plugin.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/props/plugin.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/props/plugin.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/props/pretty_printable.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/props/pretty_printable.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/props/pretty_printable.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/props/pretty_printable.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/props/private/apply_default.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/props/private/apply_default.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/props/private/apply_default.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/props/private/apply_default.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/props/private/deserializer_generator.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/props/private/deserializer_generator.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/props/private/deserializer_generator.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/props/private/deserializer_generator.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/props/private/parser.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/props/private/parser.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/props/private/parser.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/props/private/parser.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/props/private/serde_transform.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/props/private/serde_transform.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/props/private/serde_transform.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/props/private/serde_transform.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/props/private/serializer_generator.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/props/private/serializer_generator.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/props/private/serializer_generator.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/props/private/serializer_generator.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/props/private/setter_factory.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/props/private/setter_factory.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/props/private/setter_factory.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/props/private/setter_factory.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/props/serializable.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/props/serializable.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/props/serializable.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/props/serializable.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/props/type_validation.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/props/type_validation.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/props/type_validation.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/props/type_validation.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/props/utils.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/props/utils.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/props/utils.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/props/utils.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/props/weak_constructor.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/props/weak_constructor.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/props/weak_constructor.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/props/weak_constructor.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/sig.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/sig.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/sig.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/sig.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/struct.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/struct.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/struct.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/struct.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/types/anything.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/types/anything.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/types/anything.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/types/anything.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/types/attached_class.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/types/attached_class.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/types/attached_class.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/types/attached_class.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/types/base.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/types/base.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/types/base.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/types/base.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/types/class_of.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/types/class_of.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/types/class_of.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/types/class_of.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/types/enum.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/types/enum.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/types/enum.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/types/enum.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/types/fixed_array.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/types/fixed_array.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/types/fixed_array.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/types/fixed_array.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/types/fixed_hash.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/types/fixed_hash.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/types/fixed_hash.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/types/fixed_hash.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/types/intersection.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/types/intersection.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/types/intersection.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/types/intersection.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/types/noreturn.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/types/noreturn.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/types/noreturn.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/types/noreturn.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/types/proc.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/types/proc.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/types/proc.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/types/proc.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/types/self_type.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/types/self_type.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/types/self_type.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/types/self_type.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/types/simple.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/types/simple.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/types/simple.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/types/simple.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/types/t_enum.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/types/t_enum.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/types/t_enum.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/types/t_enum.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/types/type_member.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/types/type_member.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/types/type_member.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/types/type_member.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/types/type_parameter.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/types/type_parameter.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/types/type_parameter.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/types/type_parameter.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/types/type_template.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/types/type_template.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/types/type_template.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/types/type_template.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/types/type_variable.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/types/type_variable.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/types/type_variable.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/types/type_variable.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/types/typed_array.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/types/typed_array.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/types/typed_array.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/types/typed_array.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/types/typed_class.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/types/typed_class.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/types/typed_class.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/types/typed_class.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/types/typed_enumerable.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/types/typed_enumerable.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/types/typed_enumerable.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/types/typed_enumerable.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/types/typed_enumerator.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/types/typed_enumerator.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/types/typed_enumerator.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/types/typed_enumerator.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/types/typed_enumerator_chain.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/types/typed_enumerator_chain.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/types/typed_enumerator_chain.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/types/typed_enumerator_chain.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/types/typed_enumerator_lazy.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/types/typed_enumerator_lazy.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/types/typed_enumerator_lazy.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/types/typed_enumerator_lazy.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/types/typed_hash.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/types/typed_hash.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/types/typed_hash.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/types/typed_hash.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/types/typed_range.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/types/typed_range.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/types/typed_range.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/types/typed_range.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/types/typed_set.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/types/typed_set.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/types/typed_set.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/types/typed_set.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/types/union.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/types/union.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/types/union.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/types/union.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/types/untyped.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/types/untyped.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/types/untyped.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/types/untyped.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/utils.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/utils.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11882/lib/types/utils.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/utils.rb From 817c40d2618e0e4aee902a7ef2e1e42520cab7a1 Mon Sep 17 00:00:00 2001 From: thibhero Date: Wed, 5 Mar 2025 17:37:25 -0500 Subject: [PATCH 252/322] test for upgrade_spec.rb --- Library/Homebrew/test/cmd/upgrade_spec.rb | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/Library/Homebrew/test/cmd/upgrade_spec.rb b/Library/Homebrew/test/cmd/upgrade_spec.rb index 4e7953ee74..0bd3453644 100644 --- a/Library/Homebrew/test/cmd/upgrade_spec.rb +++ b/Library/Homebrew/test/cmd/upgrade_spec.rb @@ -15,4 +15,17 @@ RSpec.describe Homebrew::Cmd::UpgradeCmd do expect(HOMEBREW_CELLAR/"testball/0.1").to be_a_directory expect(HOMEBREW_CELLAR/"testball/0.0.1").not_to exist end + + it "upgrades with asking for user prompts", :integration_test do + setup_test_formula "testball" + (HOMEBREW_CELLAR/"testball/0.0.1/foo").mkpath + + expect { + brew "upgrade", "--ask" + }.to output(/.*Formula\s*\(1\):\s*testball.*/ + ).to_stdout.and not_to_output.to_stderr + + expect(HOMEBREW_CELLAR/"testball/0.1").to be_a_directory + expect(HOMEBREW_CELLAR/"testball/0.0.1").not_to exist + end end From 0b53e54bfaea8f993dcfffd5d26db65d8231b73b Mon Sep 17 00:00:00 2001 From: thibhero Date: Wed, 5 Mar 2025 17:38:18 -0500 Subject: [PATCH 253/322] Moving ask input to Install.ask --- Library/Homebrew/cmd/install.rb | 13 +--- Library/Homebrew/cmd/reinstall.rb | 12 +--- Library/Homebrew/cmd/upgrade.rb | 14 +--- Library/Homebrew/install.rb | 106 ++++++++++++++++++------------ 4 files changed, 69 insertions(+), 76 deletions(-) diff --git a/Library/Homebrew/cmd/install.rb b/Library/Homebrew/cmd/install.rb index d14a50def1..b93b0f6397 100644 --- a/Library/Homebrew/cmd/install.rb +++ b/Library/Homebrew/cmd/install.rb @@ -307,19 +307,8 @@ module Homebrew Install.perform_preinstall_checks_once Install.check_cc_argv(args.cc) - # Main block: if asking the user is enabled, show dependency and size information. if args.ask? - ohai "Looking for bottles..." - - sized_formulae = Install.compute_sized_formulae(formulae, args: args) - sizes = Install.compute_total_sizes(sized_formulae, debug: args.debug?) - - puts "Formulae: #{sized_formulae.join(", ")}\n\n" - puts "Download Size: #{disk_usage_readable(sizes[:download])}" - puts "Install Size: #{disk_usage_readable(sizes[:installed])}" - puts "Net Install Size: #{disk_usage_readable(sizes[:net])}" if sizes[:net] != 0 - - Install.ask_input + Install.ask(formulae, args: args) end Install.install_formulae( diff --git a/Library/Homebrew/cmd/reinstall.rb b/Library/Homebrew/cmd/reinstall.rb index 9c67de6062..094936dd3f 100644 --- a/Library/Homebrew/cmd/reinstall.rb +++ b/Library/Homebrew/cmd/reinstall.rb @@ -133,17 +133,7 @@ module Homebrew # Main block: if asking the user is enabled, show dependency and size information. if args.ask? - ohai "Looking for bottles..." - - sized_formulae = Install.compute_sized_formulae(formulae, args: args) - sizes = Install.compute_total_sizes(sized_formulae, debug: args.debug?) - - puts "Formulae: #{sized_formulae.join(", ")}\n\n" - puts "Download Size: #{disk_usage_readable(sizes[:download])}" - puts "Install Size: #{disk_usage_readable(sizes[:installed])}" - puts "Net Install Size: #{disk_usage_readable(sizes[:net])}" if sizes[:net] != 0 - - Install.ask_input + Install.ask(formulae, args: args) end formulae.each do |formula| diff --git a/Library/Homebrew/cmd/upgrade.rb b/Library/Homebrew/cmd/upgrade.rb index 4e1fac7a03..c33c7c7bf4 100644 --- a/Library/Homebrew/cmd/upgrade.rb +++ b/Library/Homebrew/cmd/upgrade.rb @@ -216,24 +216,14 @@ module Homebrew "#{f.full_specified_name} #{f.pkg_version}" end end - puts formulae_upgrades.join("\n") + puts formulae_upgrades.join("\n") unless args.ask? end Install.perform_preinstall_checks_once # Main block: if asking the user is enabled, show dependency and size information. if args.ask? - ohai "Looking for bottles..." - - sized_formulae = Install.compute_sized_formulae(formulae_to_install, args: args) - sizes = Install.compute_total_sizes(sized_formulae, debug: args.debug?) - - puts "Formulae: #{sized_formulae.join(", ")}\n\n" - puts "Download Size: #{disk_usage_readable(sizes[:download])}" - puts "Install Size: #{disk_usage_readable(sizes[:installed])}" - puts "Net Install Size: #{disk_usage_readable(sizes[:net])}" if sizes[:net] != 0 - - Install.ask_input + Install.ask(formulae_to_install, args: args) end Upgrade.upgrade_formulae( diff --git a/Library/Homebrew/install.rb b/Library/Homebrew/install.rb index 558d722737..37a42ccd3b 100644 --- a/Library/Homebrew/install.rb +++ b/Library/Homebrew/install.rb @@ -327,17 +327,74 @@ module Homebrew puts formula_names.join(" ") end + + # Main block: if asking the user is enabled, show dependency and size information. + def ask(formulae, args:) + ohai "Looking for bottles..." + + sized_formulae = compute_sized_formulae(formulae, args: args) + sizes = compute_total_sizes(sized_formulae, debug: args.debug?) + + puts "#{::Utils.pluralize("Formul", sized_formulae.count, plural: "ae", + singular: "a")} (#{sized_formulae.count}): #{sized_formulae.join(", ")}\n\n" + puts "Download Size: #{disk_usage_readable(sizes[:download])}" + puts "Install Size: #{disk_usage_readable(sizes[:installed])}" + puts "Net Install Size: #{disk_usage_readable(sizes[:net])}" if sizes[:net] != 0 + + ask_input + end + + private + + def perform_preinstall_checks(all_fatal: false) + check_prefix + check_cpu + attempt_directory_creation + Diagnostic.checks(:supported_configuration_checks, fatal: all_fatal) + Diagnostic.checks(:fatal_preinstall_checks) + end + alias generic_perform_preinstall_checks perform_preinstall_checks + + def attempt_directory_creation + Keg.must_exist_directories.each do |dir| + FileUtils.mkdir_p(dir) unless dir.exist? + rescue + nil + end + end + + def check_cpu + return unless Hardware::CPU.ppc? + + odie <<~EOS + Sorry, Homebrew does not support your computer's CPU architecture! + For PowerPC Mac (PPC32/PPC64BE) support, see: + #{Formatter.url("https://github.com/mistydemeo/tigerbrew")} + EOS + end + + def install_formula(formula_installer) + formula = formula_installer.formula + + upgrade = formula.linked? && formula.outdated? && !formula.head? && !Homebrew::EnvConfig.no_install_upgrade? + + Upgrade.install_formula(formula_installer, upgrade:) + end + + def ask_input ohai "Do you want to proceed with the installation? [Y/y/yes/N/n]" - return unless $stdin.gets != nil accepted_inputs = %w[y yes] declined_inputs = %w[n no] loop do - result = $stdin.gets.chomp.strip.downcase + result = $stdin.gets + return unless result + + result = result.chomp.strip.downcase if accepted_inputs.include?(result) break elsif declined_inputs.include?(result) - exit 0 + exit 1 else puts "Invalid input. Please enter 'Y', 'y', or 'yes' to proceed, or 'N' to abort." end @@ -359,7 +416,11 @@ module Homebrew outdated_dependents = deps.map(&:to_formula).reject(&:pinned?).select do |dep| dep.installed_kegs.empty? || (dep.bottled? && dep.outdated?) end - + deps.map(&:to_formula).each do |f| + outdated_dependents.concat(f.recursive_dependencies.map(&:to_formula).reject(&:pinned?).select do |dep| + dep.installed_kegs.empty? || (dep.bottled? && dep.outdated?) + end) + end formula_list.concat(outdated_dependents) end @@ -403,43 +464,6 @@ module Homebrew installed: total_installed_size, net: total_net_size } end - - private - - def perform_preinstall_checks(all_fatal: false) - check_prefix - check_cpu - attempt_directory_creation - Diagnostic.checks(:supported_configuration_checks, fatal: all_fatal) - Diagnostic.checks(:fatal_preinstall_checks) - end - alias generic_perform_preinstall_checks perform_preinstall_checks - - def attempt_directory_creation - Keg.must_exist_directories.each do |dir| - FileUtils.mkdir_p(dir) unless dir.exist? - rescue - nil - end - end - - def check_cpu - return unless Hardware::CPU.ppc? - - odie <<~EOS - Sorry, Homebrew does not support your computer's CPU architecture! - For PowerPC Mac (PPC32/PPC64BE) support, see: - #{Formatter.url("https://github.com/mistydemeo/tigerbrew")} - EOS - end - - def install_formula(formula_installer) - formula = formula_installer.formula - - upgrade = formula.linked? && formula.outdated? && !formula.head? && !Homebrew::EnvConfig.no_install_upgrade? - - Upgrade.install_formula(formula_installer, upgrade:) - end end end end From 665fbc382d22be139d83355b55a835d611e35255 Mon Sep 17 00:00:00 2001 From: thibhero Date: Wed, 5 Mar 2025 17:38:55 -0500 Subject: [PATCH 254/322] second test for install with dependencies --- Library/Homebrew/test/cmd/install_spec.rb | 47 ++++++++++++++++++++++- 1 file changed, 46 insertions(+), 1 deletion(-) diff --git a/Library/Homebrew/test/cmd/install_spec.rb b/Library/Homebrew/test/cmd/install_spec.rb index 11eb405c78..e9744e71d2 100644 --- a/Library/Homebrew/test/cmd/install_spec.rb +++ b/Library/Homebrew/test/cmd/install_spec.rb @@ -4,6 +4,7 @@ require "cmd/install" require "cmd/shared_examples/args_parse" RSpec.describe Homebrew::Cmd::InstallCmd do + include FileUtils it_behaves_like "parseable arguments" it "installs formulae", :integration_test do @@ -90,9 +91,53 @@ RSpec.describe Homebrew::Cmd::InstallCmd do expect { brew "install", "--ask", "testball1" - }.to output(/Formulae:\s*testball1/).to_stdout.and not_to_output.to_stderr + }.to output(/.*Formula\s*\(1\):\s*testball1.*/ + ).to_stdout.and not_to_output.to_stderr expect(HOMEBREW_CELLAR/"testball1/0.1/bin/test").to be_a_file end + it "installs with asking for user prompts with installed dependent checks", :integration_test do + setup_test_formula "testball1", <<~RUBY + url "https://brew.sh/testball1-1.0" + depends_on "testball3" + depends_on "build" => :build + depends_on "installed" + RUBY + setup_test_formula "installed" + setup_test_formula "testball3", <<~RUBY + url "https://brew.sh/testball3-1.0" + depends_on "testball4" + RUBY + setup_test_formula "testball4", <<~RUBY + url "https://brew.sh/testball4-1.0" + RUBY + setup_test_formula "hiop" + setup_test_formula "build" + + expect { + brew "info", "testball1" + }.to be_a_failure + + expect { + brew "info", "testball4" + }.to be_a_failure + + # Mock `Formula#any_version_installed?` by creating the tab in a plausible keg directory + keg_dir = HOMEBREW_CELLAR/"installed"/"1.0" + keg_dir.mkpath + touch keg_dir/AbstractTab::FILENAME + # + # expect { brew "deps", "baz", "--include-test", "--missing", "--skip-recommended" } + # .to be_a_success + # .and output("bar\nfoo\ntest\n").to_stdout + # .and not_to_output.to_stderr + + expect { + brew "install", "--ask", "testball1" + }.to output(/.*Formula\s*\(3\):\s*testball1\s*,?\s*testball3\s*,?\s*testball4.*/ + ).to_stdout.and not_to_output.to_stderr + + expect(HOMEBREW_CELLAR/"testball1/0.1/bin/test").to be_a_file + end end From e8ce2d6fdcb54e61eddf10c5974455b217535764 Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Thu, 6 Mar 2025 00:26:37 +0000 Subject: [PATCH 255/322] sorbet: Update RBI files. Autogenerated by the [sorbet](https://github.com/Homebrew/brew/blob/master/.github/workflows/sorbet.yml) workflow. --- Library/Homebrew/sorbet/rbi/dsl/cask/cask.rbi | 9 +++++++++ ...parallel_tests@5.0.0.rbi => parallel_tests@5.0.1.rbi} | 0 2 files changed, 9 insertions(+) rename Library/Homebrew/sorbet/rbi/gems/{parallel_tests@5.0.0.rbi => parallel_tests@5.0.1.rbi} (100%) diff --git a/Library/Homebrew/sorbet/rbi/dsl/cask/cask.rbi b/Library/Homebrew/sorbet/rbi/dsl/cask/cask.rbi index 2baa754fd0..235c60d69b 100644 --- a/Library/Homebrew/sorbet/rbi/dsl/cask/cask.rbi +++ b/Library/Homebrew/sorbet/rbi/dsl/cask/cask.rbi @@ -30,6 +30,9 @@ class Cask::Cask sig { params(args: T.untyped, block: T.untyped).returns(T.untyped) } def auto_updates(*args, &block); end + sig { params(args: T.untyped, block: T.untyped).returns(T.untyped) } + def bash_completion(*args, &block); end + sig { params(args: T.untyped, block: T.untyped).returns(T.untyped) } def binary(*args, &block); end @@ -90,6 +93,9 @@ class Cask::Cask sig { params(args: T.untyped, block: T.untyped).returns(T::Boolean) } def discontinued?(*args, &block); end + sig { params(args: T.untyped, block: T.untyped).returns(T.untyped) } + def fish_completion(*args, &block); end + sig { params(args: T.untyped, block: T.untyped).returns(T.untyped) } def font(*args, &block); end @@ -191,4 +197,7 @@ class Cask::Cask sig { params(args: T.untyped, block: T.untyped).returns(T.untyped) } def zap(*args, &block); end + + sig { params(args: T.untyped, block: T.untyped).returns(T.untyped) } + def zsh_completion(*args, &block); end end diff --git a/Library/Homebrew/sorbet/rbi/gems/parallel_tests@5.0.0.rbi b/Library/Homebrew/sorbet/rbi/gems/parallel_tests@5.0.1.rbi similarity index 100% rename from Library/Homebrew/sorbet/rbi/gems/parallel_tests@5.0.0.rbi rename to Library/Homebrew/sorbet/rbi/gems/parallel_tests@5.0.1.rbi From 0b9374b7acfc0d30c40bac261e78fe37ed4e157e Mon Sep 17 00:00:00 2001 From: thibhero Date: Wed, 5 Mar 2025 21:29:02 -0500 Subject: [PATCH 256/322] modifying integration_test.rb to work with other dependencies --- .../spec/shared_context/integration_test.rb | 45 ++++++++++++++++--- 1 file changed, 38 insertions(+), 7 deletions(-) diff --git a/Library/Homebrew/test/support/helper/spec/shared_context/integration_test.rb b/Library/Homebrew/test/support/helper/spec/shared_context/integration_test.rb index 8c5c1740d2..4240f77abd 100644 --- a/Library/Homebrew/test/support/helper/spec/shared_context/integration_test.rb +++ b/Library/Homebrew/test/support/helper/spec/shared_context/integration_test.rb @@ -135,13 +135,43 @@ RSpec.shared_context "integration test" do # rubocop:disable RSpec/ContextWordin case name when /^testball/ # Use a different tarball for testball2 to avoid lock errors when writing concurrency tests - prefix = (name == "testball2") ? "testball2" : "testball" - tarball = if OS.linux? - TEST_FIXTURE_DIR/"tarballs/#{prefix}-0.1-linux.tbz" + if name == "testball3" || name == "testball4" + tarball = if OS.linux? + TEST_FIXTURE_DIR/"tarballs/#{name}-0.1-linux.tbz" + else + TEST_FIXTURE_DIR/"tarballs/#{name}-0.1.tbz" + end + content = <<~RUBY + desc "Some test" + homepage "https://brew.sh/#{name}" + url "file://#{tarball}" + sha256 "#{tarball.sha256}" + + option "with-foo", "Build with foo" + #{bottle_block} + def install + STDERR.puts prefix + (prefix/"foo"/"#{name}").write("#{name}") if build.with? "foo" + prefix.install Dir["*"] + (buildpath/"#{name}.c").write \ + "#include \\nint main(){printf(\\"#{name}\\");return 0;}" + bin.mkpath + system ENV.cc, "#{name}.c", "-o", bin/"#{name}" + end + + #{content} + + # something here + RUBY else - TEST_FIXTURE_DIR/"tarballs/#{prefix}-0.1.tbz" - end - content = <<~RUBY + prefix = (name == "testball2") ? "testball2" : "testball" + tarball = if OS.linux? + TEST_FIXTURE_DIR/"tarballs/#{prefix}-0.1-linux.tbz" + else + TEST_FIXTURE_DIR/"tarballs/#{prefix}-0.1.tbz" + end + + content = <<~RUBY desc "Some test" homepage "https://brew.sh/#{name}" url "file://#{tarball}" @@ -161,7 +191,8 @@ RSpec.shared_context "integration test" do # rubocop:disable RSpec/ContextWordin #{content} # something here - RUBY + RUBY + end when "bar" content = <<~RUBY url "https://brew.sh/#{name}-1.0" From 640c5175fb5a0ae1452a7fb4a35be48ff7053bc3 Mon Sep 17 00:00:00 2001 From: thibhero Date: Wed, 5 Mar 2025 21:31:21 -0500 Subject: [PATCH 257/322] creating install test with dependencies --- Library/Homebrew/test/cmd/install_spec.rb | 23 +++++------------------ 1 file changed, 5 insertions(+), 18 deletions(-) diff --git a/Library/Homebrew/test/cmd/install_spec.rb b/Library/Homebrew/test/cmd/install_spec.rb index e9744e71d2..6afb9a3267 100644 --- a/Library/Homebrew/test/cmd/install_spec.rb +++ b/Library/Homebrew/test/cmd/install_spec.rb @@ -99,45 +99,32 @@ RSpec.describe Homebrew::Cmd::InstallCmd do it "installs with asking for user prompts with installed dependent checks", :integration_test do setup_test_formula "testball1", <<~RUBY - url "https://brew.sh/testball1-1.0" depends_on "testball3" - depends_on "build" => :build + # should work as its not building but test doesnt pass if dependant + # depends_on "build" => :build depends_on "installed" RUBY setup_test_formula "installed" setup_test_formula "testball3", <<~RUBY - url "https://brew.sh/testball3-1.0" depends_on "testball4" RUBY setup_test_formula "testball4", <<~RUBY - url "https://brew.sh/testball4-1.0" RUBY setup_test_formula "hiop" setup_test_formula "build" - expect { - brew "info", "testball1" - }.to be_a_failure - - expect { - brew "info", "testball4" - }.to be_a_failure - # Mock `Formula#any_version_installed?` by creating the tab in a plausible keg directory keg_dir = HOMEBREW_CELLAR/"installed"/"1.0" keg_dir.mkpath touch keg_dir/AbstractTab::FILENAME - # - # expect { brew "deps", "baz", "--include-test", "--missing", "--skip-recommended" } - # .to be_a_success - # .and output("bar\nfoo\ntest\n").to_stdout - # .and not_to_output.to_stderr expect { brew "install", "--ask", "testball1" - }.to output(/.*Formula\s*\(3\):\s*testball1\s*,?\s*testball3\s*,?\s*testball4.*/ + }.to output(/.*Formulae\s*\(3\):\s*testball1\s*,?\s*testball3\s*,?\s*testball4.*/ ).to_stdout.and not_to_output.to_stderr expect(HOMEBREW_CELLAR/"testball1/0.1/bin/test").to be_a_file + expect(HOMEBREW_CELLAR/"testball4/0.1/bin/testball4").to be_a_file + expect(HOMEBREW_CELLAR/"testball3/0.1/bin/testball3").to be_a_file end end From 0f919e839754112b41319d0c3bc9c86ed00ff114 Mon Sep 17 00:00:00 2001 From: thibhero Date: Wed, 5 Mar 2025 21:32:48 -0500 Subject: [PATCH 258/322] new files for integration_spec.rb for testball3 and 4 --- .../fixtures/tarballs/testball3-0.1-linux.tbz | Bin 0 -> 441 bytes .../support/fixtures/tarballs/testball3-0.1.tbz | Bin 0 -> 437 bytes .../fixtures/tarballs/testball4-0.1-linux.tbz | Bin 0 -> 442 bytes .../support/fixtures/tarballs/testball4-0.1.tbz | Bin 0 -> 432 bytes 4 files changed, 0 insertions(+), 0 deletions(-) create mode 100644 Library/Homebrew/test/support/fixtures/tarballs/testball3-0.1-linux.tbz create mode 100644 Library/Homebrew/test/support/fixtures/tarballs/testball3-0.1.tbz create mode 100644 Library/Homebrew/test/support/fixtures/tarballs/testball4-0.1-linux.tbz create mode 100644 Library/Homebrew/test/support/fixtures/tarballs/testball4-0.1.tbz diff --git a/Library/Homebrew/test/support/fixtures/tarballs/testball3-0.1-linux.tbz b/Library/Homebrew/test/support/fixtures/tarballs/testball3-0.1-linux.tbz new file mode 100644 index 0000000000000000000000000000000000000000..29650d8089198f02e48b283b5d2a82daa7d452b7 GIT binary patch literal 441 zcmV;q0Y?5pT4*^jL0KkKS!chXs{jFe|F!kt{c`_j|3C;x4oCoi01*HP zFaeA+U^J$hnHm7l&;S4c00x=>X`lfJO${|P0000D000000031Yo~nM0Od6X>Jxn7_ z4H^vwntBk>14f3PrV(XE0AL2S6i>{|kP(VVN`zuZi`VS~0t+BOH$md5A^{ANLUKf0 zNfv5PG?5!xdtKUCAA)2?33z21f?a99y}7BAdShlsODL$uZbYxgw(7#$aL%4Drth+g zrehJ@<&9Rnd-LtZC2H{+XPB6bCg~x)pM#2pL`acY*NbBQw!BnEw)rygw>z?YQba-k zQ41JSoXnJaB7}Or7)b%}2Q_xRUtpT7meO4~*ek_ET({JxOlTBCl4kHU7p|069 zfQs1zvPwaPdwKA%mksM)I8*`D4hdXtHdBDox&GjC5#(?;*gFcqm@$VMYis8@3+lf` zFE6L>m*oO*q&%9IBfz=&aws*2dLXZdAUFz;$_xf?hc;LQz?c{<1_ffqpb7H>gsGc} z%dOKH9`*3a3v@v~po+OnWlse)5fiprTqumC4Z0FVGb2hYU<5d!jIt0w5t+&=z&-d; zW{w3aIj}T2V{jT3P7swq!aq#DxnVpytx?c%IB3Eh0s0PgGT0U$hYexDs&%JKNCBO5 zdlMNsR@JZg6$I6Tgn>r&21GE4yG75#iX*5mN((&^q(&-Iy(x f4Euuu^TNW#+BaJVVcK^R0sj|rML1B9!cJzwYBII{ literal 0 HcmV?d00001 diff --git a/Library/Homebrew/test/support/fixtures/tarballs/testball4-0.1-linux.tbz b/Library/Homebrew/test/support/fixtures/tarballs/testball4-0.1-linux.tbz new file mode 100644 index 0000000000000000000000000000000000000000..3fd48d948dd45575b60fd8b3918f39cd464f0c72 GIT binary patch literal 442 zcmV;r0Y&~oT4*^jL0KkKS#=Y8O8^0T|F!kt{c`_j|3C;x4oCoi01*HP zFae6p+d(NcH8PJ=LmsHYGBBEHp@K4KGBouAMo&n{1d)|cZOe>N3Cuv&X49W| z5XNB+VJD0#D>}OgS+#1IPyyr)1gC9wRe)rLKI$mhoeBju2jRE_;l2{ln+b{mvk}hO zSq}5H%`%Z#z%;GKOD;OBRf(jgyCV$UB@upBBpenj@=Q);$R#8%3Xv{MUr&t_5nPa> zRhA|?=4mp579)C?f}Sbhp@11aq^azr+p6%Dh!cHA4rL;6K&a71^yr+y%eeY8h;>`$ zyKbI2Z?`#S{(nh@LKRywpl6G1wXiqd9ejrpgj0hcWe)^>BL^Oe8N)u^7`1AWVP-iu zB1UD1xgNg82|ghyK%`P0@pLB)3S_aux`J?Fg;dH#1wzZj_<&GNPqR2BiOEZY?#<7t ki_@% literal 0 HcmV?d00001 diff --git a/Library/Homebrew/test/support/fixtures/tarballs/testball4-0.1.tbz b/Library/Homebrew/test/support/fixtures/tarballs/testball4-0.1.tbz new file mode 100644 index 0000000000000000000000000000000000000000..5c9ca1d2fefa9992f11b6677f172a696e4956b4c GIT binary patch literal 432 zcmV;h0Z;xyT4*^jL0KkKSv`NL6#xNq|F!!3BM=NGg8-Th113!wG8jN%BvVG35SgVt6HOX4 z^$drpiL?k}7@Jd1Q`15$D$or8-hyBES+YVHBTHE1jt}6r4hTju0O-%5xIhFjG6!Uo z!wXZ$`m807)wNtN0Cod{RyNx#AT;iGdR&D&t_I5ofoK#4xNWAbeIj4?tTx?w@cwdg zz_=GfYclelWzClQgIZDxP&YxqRt7*|I5@cSKsDkC!I4l^iEAt>a8YgmV2WnO8Hkst0$wD{@nI~j~&R`JDw4?-TuDdH%p2Jzj z7NzM52n3o8yQxG z+x!c`MgVY_BoYkju*{^E0K}lK1&NeY%JSB`q5*i9uRAzNP!1XZ@8Qv>C{|c;X$(u< a3rkms-RvF*iT)-7{x0N-aG@Z2|57Ta_qYZC literal 0 HcmV?d00001 From 885b7c6f4fc95a407f3994692094e6c3b1e5c5f3 Mon Sep 17 00:00:00 2001 From: thibhero Date: Wed, 5 Mar 2025 23:57:58 -0500 Subject: [PATCH 259/322] checking other tests functions --- Library/Homebrew/test/cmd/install_spec.rb | 82 +++++++++---------- .../spec/shared_context/integration_test.rb | 44 ++-------- 2 files changed, 48 insertions(+), 78 deletions(-) diff --git a/Library/Homebrew/test/cmd/install_spec.rb b/Library/Homebrew/test/cmd/install_spec.rb index 6afb9a3267..a0a296115e 100644 --- a/Library/Homebrew/test/cmd/install_spec.rb +++ b/Library/Homebrew/test/cmd/install_spec.rb @@ -86,45 +86,45 @@ RSpec.describe Homebrew::Cmd::InstallCmd do expect(HOMEBREW_CACHE/"Sources/testball1").to be_a_directory end - it "installs with asking for user prompts without installed dependent checks", :integration_test do - setup_test_formula "testball1" - - expect { - brew "install", "--ask", "testball1" - }.to output(/.*Formula\s*\(1\):\s*testball1.*/ - ).to_stdout.and not_to_output.to_stderr - - expect(HOMEBREW_CELLAR/"testball1/0.1/bin/test").to be_a_file - end - - it "installs with asking for user prompts with installed dependent checks", :integration_test do - setup_test_formula "testball1", <<~RUBY - depends_on "testball3" - # should work as its not building but test doesnt pass if dependant - # depends_on "build" => :build - depends_on "installed" - RUBY - setup_test_formula "installed" - setup_test_formula "testball3", <<~RUBY - depends_on "testball4" - RUBY - setup_test_formula "testball4", <<~RUBY - RUBY - setup_test_formula "hiop" - setup_test_formula "build" - - # Mock `Formula#any_version_installed?` by creating the tab in a plausible keg directory - keg_dir = HOMEBREW_CELLAR/"installed"/"1.0" - keg_dir.mkpath - touch keg_dir/AbstractTab::FILENAME - - expect { - brew "install", "--ask", "testball1" - }.to output(/.*Formulae\s*\(3\):\s*testball1\s*,?\s*testball3\s*,?\s*testball4.*/ - ).to_stdout.and not_to_output.to_stderr - - expect(HOMEBREW_CELLAR/"testball1/0.1/bin/test").to be_a_file - expect(HOMEBREW_CELLAR/"testball4/0.1/bin/testball4").to be_a_file - expect(HOMEBREW_CELLAR/"testball3/0.1/bin/testball3").to be_a_file - end + # it "installs with asking for user prompts without installed dependent checks", :integration_test do + # setup_test_formula "testball1" + # + # expect { + # brew "install", "--ask", "testball1" + # }.to output(/.*Formula\s*\(1\):\s*testball1.*/ + # ).to_stdout.and not_to_output.to_stderr + # + # expect(HOMEBREW_CELLAR/"testball1/0.1/bin/test").to be_a_file + # end + # + # it "installs with asking for user prompts with installed dependent checks", :integration_test do + # setup_test_formula "testball1", <<~RUBY + # depends_on "testball5" + # # should work as its not building but test doesnt pass if dependant + # # depends_on "build" => :build + # depends_on "installed" + # RUBY + # setup_test_formula "installed" + # setup_test_formula "testball5", <<~RUBY + # depends_on "testball4" + # RUBY + # setup_test_formula "testball4", <<~RUBY + # RUBY + # setup_test_formula "hiop" + # setup_test_formula "build" + # + # # Mock `Formula#any_version_installed?` by creating the tab in a plausible keg directory + # keg_dir = HOMEBREW_CELLAR/"installed"/"1.0" + # keg_dir.mkpath + # touch keg_dir/AbstractTab::FILENAME + # + # expect { + # brew "install", "--ask", "testball1" + # }.to output(/.*Formulae\s*\(3\):\s*testball1\s*,?\s*testball5\s*,?\s*testball4.*/ + # ).to_stdout.and not_to_output.to_stderr + # + # expect(HOMEBREW_CELLAR/"testball1/0.1/bin/test").to be_a_file + # expect(HOMEBREW_CELLAR/"testball4/0.1/bin/testball4").to be_a_file + # expect(HOMEBREW_CELLAR/"testball5/0.1/bin/testball5").to be_a_file + # end end diff --git a/Library/Homebrew/test/support/helper/spec/shared_context/integration_test.rb b/Library/Homebrew/test/support/helper/spec/shared_context/integration_test.rb index 4240f77abd..1d8f6a03c6 100644 --- a/Library/Homebrew/test/support/helper/spec/shared_context/integration_test.rb +++ b/Library/Homebrew/test/support/helper/spec/shared_context/integration_test.rb @@ -135,43 +135,14 @@ RSpec.shared_context "integration test" do # rubocop:disable RSpec/ContextWordin case name when /^testball/ # Use a different tarball for testball2 to avoid lock errors when writing concurrency tests - if name == "testball3" || name == "testball4" - tarball = if OS.linux? - TEST_FIXTURE_DIR/"tarballs/#{name}-0.1-linux.tbz" - else - TEST_FIXTURE_DIR/"tarballs/#{name}-0.1.tbz" - end - content = <<~RUBY - desc "Some test" - homepage "https://brew.sh/#{name}" - url "file://#{tarball}" - sha256 "#{tarball.sha256}" + prefix = (name == "testball2") ? "testball2" : "testball" + tarball = if OS.linux? + TEST_FIXTURE_DIR/"tarballs/#{prefix}-0.1-linux.tbz" + else + TEST_FIXTURE_DIR/"tarballs/#{prefix}-0.1.tbz" + end - option "with-foo", "Build with foo" - #{bottle_block} - def install - STDERR.puts prefix - (prefix/"foo"/"#{name}").write("#{name}") if build.with? "foo" - prefix.install Dir["*"] - (buildpath/"#{name}.c").write \ - "#include \\nint main(){printf(\\"#{name}\\");return 0;}" - bin.mkpath - system ENV.cc, "#{name}.c", "-o", bin/"#{name}" - end - - #{content} - - # something here - RUBY - else - prefix = (name == "testball2") ? "testball2" : "testball" - tarball = if OS.linux? - TEST_FIXTURE_DIR/"tarballs/#{prefix}-0.1-linux.tbz" - else - TEST_FIXTURE_DIR/"tarballs/#{prefix}-0.1.tbz" - end - - content = <<~RUBY + content = <<~RUBY desc "Some test" homepage "https://brew.sh/#{name}" url "file://#{tarball}" @@ -192,7 +163,6 @@ RSpec.shared_context "integration test" do # rubocop:disable RSpec/ContextWordin # something here RUBY - end when "bar" content = <<~RUBY url "https://brew.sh/#{name}-1.0" From 67c333ec0ad0cf0bf0db78f3ccc6424197d4aa64 Mon Sep 17 00:00:00 2001 From: Sam Ford <1584702+samford@users.noreply.github.com> Date: Thu, 6 Mar 2025 09:56:01 -0500 Subject: [PATCH 260/322] Xorg: Handle nil `:content` value The `Xorg.find_versions` method was recently updated to replace `match_data[:content].blank?` with `match_data[:content].empty?` but this is producing an `undefined method 'empty?' for nil` error, as `:content` is not present when `PageMatch.find_versions` uses cached content. This updates `Xorg.find_versions` to handle nil `:content` values in a way that's similar to other `find_versions` methods. --- Library/Homebrew/livecheck/strategy/xorg.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Library/Homebrew/livecheck/strategy/xorg.rb b/Library/Homebrew/livecheck/strategy/xorg.rb index d62233a69a..8a7483ee1f 100644 --- a/Library/Homebrew/livecheck/strategy/xorg.rb +++ b/Library/Homebrew/livecheck/strategy/xorg.rb @@ -136,9 +136,11 @@ module Homebrew options:, &block ) + content = match_data[:content] + return match_data if content.blank? # Cache any new page content - @page_data[generated_url] = match_data[:content] unless match_data[:content].empty? + @page_data[generated_url] = content unless cached_content match_data end From d22184d593329454bae6d69d488862b465a205db Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Thu, 6 Mar 2025 15:38:28 +0000 Subject: [PATCH 261/322] global: cleanup environment variables. In the spirit of trying to cleanup e.g. `brew sh` or `brew bundle env` environment variables: let's delete them instead of fetching them. This avoids having `env` output all the environment variables that we're just using to pass state from Bash to Ruby. --- Library/Homebrew/global.rb | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/Library/Homebrew/global.rb b/Library/Homebrew/global.rb index 3aeedb202c..7bddc7d33d 100644 --- a/Library/Homebrew/global.rb +++ b/Library/Homebrew/global.rb @@ -7,8 +7,10 @@ HOMEBREW_HELP_MESSAGE = ENV.fetch("HOMEBREW_HELP_MESSAGE").freeze HOMEBREW_API_DEFAULT_DOMAIN = ENV.fetch("HOMEBREW_API_DEFAULT_DOMAIN").freeze HOMEBREW_BOTTLE_DEFAULT_DOMAIN = ENV.fetch("HOMEBREW_BOTTLE_DEFAULT_DOMAIN").freeze -HOMEBREW_BREW_DEFAULT_GIT_REMOTE = ENV.fetch("HOMEBREW_BREW_DEFAULT_GIT_REMOTE").freeze -HOMEBREW_CORE_DEFAULT_GIT_REMOTE = ENV.fetch("HOMEBREW_CORE_DEFAULT_GIT_REMOTE").freeze + +HOMEBREW_BREW_DEFAULT_GIT_REMOTE = ENV.delete("HOMEBREW_BREW_DEFAULT_GIT_REMOTE").freeze +HOMEBREW_CORE_DEFAULT_GIT_REMOTE = ENV.delete("HOMEBREW_CORE_DEFAULT_GIT_REMOTE").freeze + HOMEBREW_DEFAULT_CACHE = ENV.fetch("HOMEBREW_DEFAULT_CACHE").freeze HOMEBREW_DEFAULT_LOGS = ENV.fetch("HOMEBREW_DEFAULT_LOGS").freeze HOMEBREW_DEFAULT_TEMP = ENV.fetch("HOMEBREW_DEFAULT_TEMP").freeze @@ -16,9 +18,11 @@ HOMEBREW_REQUIRED_RUBY_VERSION = ENV.fetch("HOMEBREW_REQUIRED_RUBY_VERSION").fre HOMEBREW_PRODUCT = ENV.fetch("HOMEBREW_PRODUCT").freeze HOMEBREW_VERSION = ENV.fetch("HOMEBREW_VERSION").freeze + HOMEBREW_WWW = "https://brew.sh" HOMEBREW_API_WWW = "https://formulae.brew.sh" HOMEBREW_DOCS_WWW = "https://docs.brew.sh" + HOMEBREW_SYSTEM = ENV.fetch("HOMEBREW_SYSTEM").freeze HOMEBREW_PROCESSOR = ENV.fetch("HOMEBREW_PROCESSOR").freeze HOMEBREW_PHYSICAL_PROCESSOR = ENV.fetch("HOMEBREW_PHYSICAL_PROCESSOR").freeze @@ -33,13 +37,14 @@ HOMEBREW_USER_AGENT_FAKE_SAFARI = "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 " \ "(KHTML, like Gecko) Version/17.0 Safari/605.1.15" HOMEBREW_GITHUB_PACKAGES_AUTH = ENV.fetch("HOMEBREW_GITHUB_PACKAGES_AUTH").freeze - HOMEBREW_DEFAULT_PREFIX = ENV.fetch("HOMEBREW_GENERIC_DEFAULT_PREFIX").freeze HOMEBREW_DEFAULT_REPOSITORY = ENV.fetch("HOMEBREW_GENERIC_DEFAULT_REPOSITORY").freeze -HOMEBREW_MACOS_ARM_DEFAULT_PREFIX = ENV.fetch("HOMEBREW_MACOS_ARM_DEFAULT_PREFIX").freeze -HOMEBREW_MACOS_ARM_DEFAULT_REPOSITORY = ENV.fetch("HOMEBREW_MACOS_ARM_DEFAULT_REPOSITORY").freeze -HOMEBREW_LINUX_DEFAULT_PREFIX = ENV.fetch("HOMEBREW_LINUX_DEFAULT_PREFIX").freeze -HOMEBREW_LINUX_DEFAULT_REPOSITORY = ENV.fetch("HOMEBREW_LINUX_DEFAULT_REPOSITORY").freeze + +HOMEBREW_MACOS_ARM_DEFAULT_PREFIX = ENV.delete("HOMEBREW_MACOS_ARM_DEFAULT_PREFIX").freeze +HOMEBREW_MACOS_ARM_DEFAULT_REPOSITORY = ENV.delete("HOMEBREW_MACOS_ARM_DEFAULT_REPOSITORY").freeze +HOMEBREW_LINUX_DEFAULT_PREFIX = ENV.delete("HOMEBREW_LINUX_DEFAULT_PREFIX").freeze +HOMEBREW_LINUX_DEFAULT_REPOSITORY = ENV.delete("HOMEBREW_LINUX_DEFAULT_REPOSITORY").freeze + HOMEBREW_PREFIX_PLACEHOLDER = "$HOMEBREW_PREFIX" HOMEBREW_CELLAR_PLACEHOLDER = "$HOMEBREW_CELLAR" # Needs a leading slash to avoid `File.expand.path` complaining about non-absolute home. From 1ac70579ebe55f81e525bf51a3838a3744eb0f7c Mon Sep 17 00:00:00 2001 From: Sam Ford <1584702+samford@users.noreply.github.com> Date: Thu, 6 Mar 2025 11:33:43 -0500 Subject: [PATCH 262/322] Cask: skip livecheck https audit for POST requests We recently added `POST` request support to livecheck but related cask checks are failing the `livecheck_https_availability` audit because it calls `validate_url_for_https_availability` which calls `Utils::Curl.curl_check_http_content` and that checks the URL using a `GET` request. Adding `POST` request support to all of those methods will take some work, so this adds a guard to skip the audit if the `livecheck` block uses `post_form` or `post_json`. This isn't ideal but it will allow us to add these `livecheck` blocks in the interim time. Co-authored-by: Douglas Eichelberger --- Library/Homebrew/cask/audit.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Library/Homebrew/cask/audit.rb b/Library/Homebrew/cask/audit.rb index 0a64100adc..8fe410a0d1 100644 --- a/Library/Homebrew/cask/audit.rb +++ b/Library/Homebrew/cask/audit.rb @@ -950,6 +950,9 @@ module Cask return unless (url = cask.livecheck.url) return if url.is_a?(Symbol) + options = cask.livecheck.options + return if options.post_form || options.post_json + validate_url_for_https_availability( url, "livecheck URL", check_content: true, From c5ec1fa61b0e143eff182e5a4b058869f5091945 Mon Sep 17 00:00:00 2001 From: Eric Knibbe Date: Thu, 6 Mar 2025 14:10:37 -0500 Subject: [PATCH 263/322] cask/installer: pass more options to cask dependencies --- Library/Homebrew/cask/installer.rb | 7 +++++-- Library/Homebrew/cmd/install.rb | 10 +++++----- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/Library/Homebrew/cask/installer.rb b/Library/Homebrew/cask/installer.rb index 188013086f..e95f8d5677 100644 --- a/Library/Homebrew/cask/installer.rb +++ b/Library/Homebrew/cask/installer.rb @@ -424,10 +424,13 @@ on_request: true) cask_or_formula, adopt: adopt?, binaries: binaries?, - verbose: verbose?, + force: false, installed_as_dependency: true, installed_on_request: false, - force: false, + quarantine: quarantine?, + quiet: quiet?, + require_sha: require_sha?, + verbose: verbose?, ).install else Homebrew::Install.perform_preinstall_checks_once diff --git a/Library/Homebrew/cmd/install.rb b/Library/Homebrew/cmd/install.rb index cd31c888be..f4ba0f2f29 100644 --- a/Library/Homebrew/cmd/install.rb +++ b/Library/Homebrew/cmd/install.rb @@ -237,14 +237,14 @@ module Homebrew new_casks.each do |cask| Cask::Installer.new( cask, - binaries: args.binaries?, - verbose: args.verbose?, - force: args.force?, adopt: args.adopt?, - require_sha: args.require_sha?, - skip_cask_deps: args.skip_cask_deps?, + binaries: args.binaries?, + force: args.force?, quarantine: args.quarantine?, quiet: args.quiet?, + require_sha: args.require_sha?, + skip_cask_deps: args.skip_cask_deps?, + verbose: args.verbose?, ).install end From 4e90aa527d90ddcb7ae5464154656a31764f9092 Mon Sep 17 00:00:00 2001 From: thibhero Date: Thu, 6 Mar 2025 19:34:25 -0500 Subject: [PATCH 264/322] moving testball3 to testball5 --- ...tball3-0.1-linux.tbz => testball5-0.1-linux.tbz} | Bin .../{testball3-0.1.tbz => testball5-0.1.tbz} | Bin 2 files changed, 0 insertions(+), 0 deletions(-) rename Library/Homebrew/test/support/fixtures/tarballs/{testball3-0.1-linux.tbz => testball5-0.1-linux.tbz} (100%) rename Library/Homebrew/test/support/fixtures/tarballs/{testball3-0.1.tbz => testball5-0.1.tbz} (100%) diff --git a/Library/Homebrew/test/support/fixtures/tarballs/testball3-0.1-linux.tbz b/Library/Homebrew/test/support/fixtures/tarballs/testball5-0.1-linux.tbz similarity index 100% rename from Library/Homebrew/test/support/fixtures/tarballs/testball3-0.1-linux.tbz rename to Library/Homebrew/test/support/fixtures/tarballs/testball5-0.1-linux.tbz diff --git a/Library/Homebrew/test/support/fixtures/tarballs/testball3-0.1.tbz b/Library/Homebrew/test/support/fixtures/tarballs/testball5-0.1.tbz similarity index 100% rename from Library/Homebrew/test/support/fixtures/tarballs/testball3-0.1.tbz rename to Library/Homebrew/test/support/fixtures/tarballs/testball5-0.1.tbz From 16599b6e050764f5b96516552c15c52381eea24d Mon Sep 17 00:00:00 2001 From: thibhero Date: Thu, 6 Mar 2025 19:34:46 -0500 Subject: [PATCH 265/322] tests for install_spec.rb --- Library/Homebrew/test/cmd/install_spec.rb | 82 +++++++++---------- .../spec/shared_context/integration_test.rb | 46 +++++++++-- 2 files changed, 79 insertions(+), 49 deletions(-) diff --git a/Library/Homebrew/test/cmd/install_spec.rb b/Library/Homebrew/test/cmd/install_spec.rb index a0a296115e..5cea09d32b 100644 --- a/Library/Homebrew/test/cmd/install_spec.rb +++ b/Library/Homebrew/test/cmd/install_spec.rb @@ -86,45 +86,45 @@ RSpec.describe Homebrew::Cmd::InstallCmd do expect(HOMEBREW_CACHE/"Sources/testball1").to be_a_directory end - # it "installs with asking for user prompts without installed dependent checks", :integration_test do - # setup_test_formula "testball1" - # - # expect { - # brew "install", "--ask", "testball1" - # }.to output(/.*Formula\s*\(1\):\s*testball1.*/ - # ).to_stdout.and not_to_output.to_stderr - # - # expect(HOMEBREW_CELLAR/"testball1/0.1/bin/test").to be_a_file - # end - # - # it "installs with asking for user prompts with installed dependent checks", :integration_test do - # setup_test_formula "testball1", <<~RUBY - # depends_on "testball5" - # # should work as its not building but test doesnt pass if dependant - # # depends_on "build" => :build - # depends_on "installed" - # RUBY - # setup_test_formula "installed" - # setup_test_formula "testball5", <<~RUBY - # depends_on "testball4" - # RUBY - # setup_test_formula "testball4", <<~RUBY - # RUBY - # setup_test_formula "hiop" - # setup_test_formula "build" - # - # # Mock `Formula#any_version_installed?` by creating the tab in a plausible keg directory - # keg_dir = HOMEBREW_CELLAR/"installed"/"1.0" - # keg_dir.mkpath - # touch keg_dir/AbstractTab::FILENAME - # - # expect { - # brew "install", "--ask", "testball1" - # }.to output(/.*Formulae\s*\(3\):\s*testball1\s*,?\s*testball5\s*,?\s*testball4.*/ - # ).to_stdout.and not_to_output.to_stderr - # - # expect(HOMEBREW_CELLAR/"testball1/0.1/bin/test").to be_a_file - # expect(HOMEBREW_CELLAR/"testball4/0.1/bin/testball4").to be_a_file - # expect(HOMEBREW_CELLAR/"testball5/0.1/bin/testball5").to be_a_file - # end + it "installs with asking for user prompts without installed dependent checks", :integration_test do + setup_test_formula "testball1" + + expect { + brew "install", "--ask", "testball1" + }.to output(/.*Formula\s*\(1\):\s*testball1.*/ + ).to_stdout.and not_to_output.to_stderr + + expect(HOMEBREW_CELLAR/"testball1/0.1/bin/test").to be_a_file + end + + it "installs with asking for user prompts with installed dependent checks", :integration_test do + setup_test_formula "testball1", <<~RUBY + depends_on "testball5" + # should work as its not building but test doesnt pass if dependant + # depends_on "build" => :build + depends_on "installed" + RUBY + setup_test_formula "installed" + setup_test_formula "testball5", <<~RUBY + depends_on "testball4" + RUBY + setup_test_formula "testball4", <<~RUBY + RUBY + setup_test_formula "hiop" + setup_test_formula "build" + + # Mock `Formula#any_version_installed?` by creating the tab in a plausible keg directory + keg_dir = HOMEBREW_CELLAR/"installed"/"1.0" + keg_dir.mkpath + touch keg_dir/AbstractTab::FILENAME + + expect { + brew "install", "--ask", "testball1" + }.to output(/.*Formulae\s*\(3\):\s*testball1\s*,?\s*testball5\s*,?\s*testball4.*/ + ).to_stdout.and not_to_output.to_stderr + + expect(HOMEBREW_CELLAR/"testball1/0.1/bin/test").to be_a_file + expect(HOMEBREW_CELLAR/"testball4/0.1/bin/testball4").to be_a_file + expect(HOMEBREW_CELLAR/"testball5/0.1/bin/testball5").to be_a_file + end end diff --git a/Library/Homebrew/test/support/helper/spec/shared_context/integration_test.rb b/Library/Homebrew/test/support/helper/spec/shared_context/integration_test.rb index 1d8f6a03c6..1465b0124d 100644 --- a/Library/Homebrew/test/support/helper/spec/shared_context/integration_test.rb +++ b/Library/Homebrew/test/support/helper/spec/shared_context/integration_test.rb @@ -134,15 +134,44 @@ RSpec.shared_context "integration test" do # rubocop:disable RSpec/ContextWordin bottle_block: nil, tab_attributes: nil) case name when /^testball/ - # Use a different tarball for testball2 to avoid lock errors when writing concurrency tests - prefix = (name == "testball2") ? "testball2" : "testball" - tarball = if OS.linux? - TEST_FIXTURE_DIR/"tarballs/#{prefix}-0.1-linux.tbz" - else - TEST_FIXTURE_DIR/"tarballs/#{prefix}-0.1.tbz" - end + if name == "testball5" || name == "testball4" + tarball = if OS.linux? + TEST_FIXTURE_DIR/"tarballs/#{name}-0.1-linux.tbz" + else + TEST_FIXTURE_DIR/"tarballs/#{name}-0.1.tbz" + end + content = <<~RUBY + desc "Some test" + homepage "https://brew.sh/#{name}" + url "file://#{tarball}" + sha256 "#{tarball.sha256}" - content = <<~RUBY + option "with-foo", "Build with foo" + #{bottle_block} + def install + STDERR.puts prefix + (prefix/"foo"/"#{name}").write("#{name}") if build.with? "foo" + prefix.install Dir["*"] + (buildpath/"#{name}.c").write \ + "#include \\nint main(){printf(\\"#{name}\\");return 0;}" + bin.mkpath + system ENV.cc, "#{name}.c", "-o", bin/"#{name}" + end + + #{content} + + # something here + RUBY + else + # Use a different tarball for testball2 to avoid lock errors when writing concurrency tests + prefix = (name == "testball2") ? "testball2" : "testball" + tarball = if OS.linux? + TEST_FIXTURE_DIR/"tarballs/#{prefix}-0.1-linux.tbz" + else + TEST_FIXTURE_DIR/"tarballs/#{prefix}-0.1.tbz" + end + + content = <<~RUBY desc "Some test" homepage "https://brew.sh/#{name}" url "file://#{tarball}" @@ -163,6 +192,7 @@ RSpec.shared_context "integration test" do # rubocop:disable RSpec/ContextWordin # something here RUBY + end when "bar" content = <<~RUBY url "https://brew.sh/#{name}-1.0" From 4651b961faa70073430cd233a17482740cef2759 Mon Sep 17 00:00:00 2001 From: thibhero Date: Thu, 6 Mar 2025 19:57:44 -0500 Subject: [PATCH 266/322] removing attributes from macOS --- .../fixtures/tarballs/testball4-0.1-linux.tbz | Bin 442 -> 190 bytes .../support/fixtures/tarballs/testball4-0.1.tbz | Bin 432 -> 186 bytes .../fixtures/tarballs/testball5-0.1-linux.tbz | Bin 441 -> 188 bytes .../support/fixtures/tarballs/testball5-0.1.tbz | Bin 437 -> 135 bytes 4 files changed, 0 insertions(+), 0 deletions(-) diff --git a/Library/Homebrew/test/support/fixtures/tarballs/testball4-0.1-linux.tbz b/Library/Homebrew/test/support/fixtures/tarballs/testball4-0.1-linux.tbz index 3fd48d948dd45575b60fd8b3918f39cd464f0c72..72957a4c136c5006830afd1f370975d4a9ea384c 100644 GIT binary patch literal 190 zcmV;v073skT4*^jL0KkKSrGmy%m4s~eUQ+A1b{#T|9}Amc4wYI1V8`?FaWu%HBA`} zGzKFe88c97pQ4XZpa1{>1ym-cnKaPTA)si}L(9vpms@AzH3I%L4@sb<2%AYNVHwJ; z$|zo?qhyfe!6F*iB6P+{t%)R6F_qe_Q1&2(22(hsvcieLE@06hgoTZPE7ZE%G5I2&|x45mIzE(8Yui-$rRy2KtuSaFb%IxE&u=k literal 442 zcmV;r0Y&~oT4*^jL0KkKS#=Y8O8^0T|F!kt{c`_j|3C;x4oCoi01*HP zFae6p+d(NcH8PJ=LmsHYGBBEHp@K4KGBouAMo&n{1d)|cZOe>N3Cuv&X49W| z5XNB+VJD0#D>}OgS+#1IPyyr)1gC9wRe)rLKI$mhoeBju2jRE_;l2{ln+b{mvk}hO zSq}5H%`%Z#z%;GKOD;OBRf(jgyCV$UB@upBBpenj@=Q);$R#8%3Xv{MUr&t_5nPa> zRhA|?=4mp579)C?f}Sbhp@11aq^azr+p6%Dh!cHA4rL;6K&a71^yr+y%eeY8h;>`$ zyKbI2Z?`#S{(nh@LKRywpl6G1wXiqd9ejrpgj0hcWe)^>BL^Oe8N)u^7`1AWVP-iu zB1UD1xgNg82|ghyK%`P0@pLB)3S_aux`J?Fg;dH#1wzZj_<&GNPqR2BiOEZY?#<7t ki_@% diff --git a/Library/Homebrew/test/support/fixtures/tarballs/testball4-0.1.tbz b/Library/Homebrew/test/support/fixtures/tarballs/testball4-0.1.tbz index 5c9ca1d2fefa9992f11b6677f172a696e4956b4c..c7c57aee5f2c729db393dba428cf85dd098feca9 100644 GIT binary patch literal 186 zcmV;r07d^oT4*^jL0KkKS^F(o&W?u00=MuyCH@~ z1k(a!F*IN$G=o!7pfo)}pa4}wnrZ4ZG}A!P^)hMdO*S^)!rBp#F27L8S_=?~ys0J; zu3auALZu5h+zf{XsgQ$}+{S}An*$5&#)Cq*h)G7GyB=gu!70#CcAi;hs6QtVL3`3mL*mH79FCS`?+~IidVr$rRy2L+rfls1&(OZ2$lO literal 432 zcmV;h0Z;xyT4*^jL0KkKSv`NL6#xNq|F!!3BM=NGg8-Th113!wG8jN%BvVG35SgVt6HOX4 z^$drpiL?k}7@Jd1Q`15$D$or8-hyBES+YVHBTHE1jt}6r4hTju0O-%5xIhFjG6!Uo z!wXZ$`m807)wNtN0Cod{RyNx#AT;iGdR&D&t_I5ofoK#4xNWAbeIj4?tTx?w@cwdg zz_=GfYclelWzClQgIZDxP&YxqRt7*|I5@cSKsDkC!I4l^iEAt>a8YgmV2WnO8Hkst0$wD{@nI~j~&R`JDw4?-TuDdH%p2Jzj z7NzM52n3o8yQxG z+x!c`MgVY_BoYkju*{^E0K}lK1&NeY%JSB`q5*i9uRAzNP!1XZ@8Qv>C{|c;X$(u< a3rkms-RvF*iT)-7{x0N-aG@Z2|57Ta_qYZC diff --git a/Library/Homebrew/test/support/fixtures/tarballs/testball5-0.1-linux.tbz b/Library/Homebrew/test/support/fixtures/tarballs/testball5-0.1-linux.tbz index 29650d8089198f02e48b283b5d2a82daa7d452b7..4d35e20d2b6e98b55beb4be565c208e48bda91aa 100644 GIT binary patch literal 188 zcmV;t07L&mT4*^jL0KkKS$VhjegFW6eUQ+A1b{#T|9}Amc4wYI1V8`?FaWu%HBA`} zGzKFe88c97pQO~$kN^Mx1ys^%WHb#JfDHq?yPdadxA7Ule)@-%5>}KNiL%ELbK=#t1m_nu$UdF1u|t#F&B_45o2ODAkt{c`_j|3C;x4oCoi01*HP zFaeA+U^J$hnHm7l&;S4c00x=>X`lfJO${|P0000D000000031Yo~nM0Od6X>Jxn7_ z4H^vwntBk>14f3PrV(XE0AL2S6i>{|kP(VVN`zuZi`VS~0t+BOH$md5A^{ANLUKf0 zNfv5PG?5!xdtKUCAA)2?33z21f?a99y}7BAdShlsODL$uZbYxgw(7#$aL%4Drth+g zrehJ@<&9Rnd-LtZC2H{+XPB6bCg~x)pM#2pL`acY*NbBQw!BnEw)rygw>z?YQba-k zQ41JSoND~=yU4W+6GY$X% literal 437 zcmV;m0ZRTtT4*^jL0KkKS;9_c!TXnJaB7}Or7)b%}2Q_xRUtpT7meO4~*ek_ET({JxOlTBCl4kHU7p|069 zfQs1zvPwaPdwKA%mksM)I8*`D4hdXtHdBDox&GjC5#(?;*gFcqm@$VMYis8@3+lf` zFE6L>m*oO*q&%9IBfz=&aws*2dLXZdAUFz;$_xf?hc;LQz?c{<1_ffqpb7H>gsGc} z%dOKH9`*3a3v@v~po+OnWlse)5fiprTqumC4Z0FVGb2hYU<5d!jIt0w5t+&=z&-d; zW{w3aIj}T2V{jT3P7swq!aq#DxnVpytx?c%IB3Eh0s0PgGT0U$hYexDs&%JKNCBO5 zdlMNsR@JZg6$I6Tgn>r&21GE4yG75#iX*5mN((&^q(&-Iy(x f4Euuu^TNW#+BaJVVcK^R0sj|rML1B9!cJzwYBII{ From e5e647d950adeb9feeab1fce4e604bd38a860204 Mon Sep 17 00:00:00 2001 From: thibhero Date: Thu, 6 Mar 2025 19:58:32 -0500 Subject: [PATCH 267/322] refactoring testball --- .../spec/shared_context/integration_test.rb | 86 +++++++------------ 1 file changed, 29 insertions(+), 57 deletions(-) diff --git a/Library/Homebrew/test/support/helper/spec/shared_context/integration_test.rb b/Library/Homebrew/test/support/helper/spec/shared_context/integration_test.rb index 1465b0124d..f585f3ee96 100644 --- a/Library/Homebrew/test/support/helper/spec/shared_context/integration_test.rb +++ b/Library/Homebrew/test/support/helper/spec/shared_context/integration_test.rb @@ -134,65 +134,37 @@ RSpec.shared_context "integration test" do # rubocop:disable RSpec/ContextWordin bottle_block: nil, tab_attributes: nil) case name when /^testball/ - if name == "testball5" || name == "testball4" - tarball = if OS.linux? - TEST_FIXTURE_DIR/"tarballs/#{name}-0.1-linux.tbz" - else - TEST_FIXTURE_DIR/"tarballs/#{name}-0.1.tbz" - end - content = <<~RUBY - desc "Some test" - homepage "https://brew.sh/#{name}" - url "file://#{tarball}" - sha256 "#{tarball.sha256}" - - option "with-foo", "Build with foo" - #{bottle_block} - def install - STDERR.puts prefix - (prefix/"foo"/"#{name}").write("#{name}") if build.with? "foo" - prefix.install Dir["*"] - (buildpath/"#{name}.c").write \ - "#include \\nint main(){printf(\\"#{name}\\");return 0;}" - bin.mkpath - system ENV.cc, "#{name}.c", "-o", bin/"#{name}" - end - - #{content} - - # something here - RUBY + case name + when "testball4", "testball5", "testball2" + prefix = name else - # Use a different tarball for testball2 to avoid lock errors when writing concurrency tests - prefix = (name == "testball2") ? "testball2" : "testball" - tarball = if OS.linux? - TEST_FIXTURE_DIR/"tarballs/#{prefix}-0.1-linux.tbz" - else - TEST_FIXTURE_DIR/"tarballs/#{prefix}-0.1.tbz" - end - - content = <<~RUBY - desc "Some test" - homepage "https://brew.sh/#{name}" - url "file://#{tarball}" - sha256 "#{tarball.sha256}" - - option "with-foo", "Build with foo" - #{bottle_block} - def install - (prefix/"foo"/"test").write("test") if build.with? "foo" - prefix.install Dir["*"] - (buildpath/"test.c").write \ - "#include \\nint main(){printf(\\"test\\");return 0;}" - bin.mkpath - system ENV.cc, "test.c", "-o", bin/"test" - end - - #{content} - - # something here - RUBY + prefix = "testball" end + tarball_name = "#{prefix}-0.1#{'-linux' if OS.linux?}.tbz" + tarball = TEST_FIXTURE_DIR/"tarballs/#{tarball_name}" + + content = <<~RUBY + desc "Some test" + homepage "https://brew.sh/#{name}" + url "file://#{tarball}" + sha256 "#{tarball.sha256}" + + option "with-foo", "Build with foo" + #{bottle_block} + + def install + (prefix/"foo"/"#{prefix}").write("#{prefix}") if build.with? "foo" + prefix.install Dir["*"] + (buildpath/"#{prefix}.c").write \\ + "#include \\nint main(){printf(\\"#{prefix}\\");return 0;}" + bin.mkpath + system ENV.cc, "#{prefix}.c", "-o", bin/"#{prefix}" + end + + #{content} + + # something here + RUBY when "bar" content = <<~RUBY url "https://brew.sh/#{name}-1.0" From fa4e2bad6e269afe80a2f3bdad7a685cd5492c33 Mon Sep 17 00:00:00 2001 From: thibhero Date: Thu, 6 Mar 2025 20:59:33 -0500 Subject: [PATCH 268/322] updating testball5-0.1.tbz to make it work --- .../support/fixtures/tarballs/testball5-0.1.tbz | Bin 135 -> 184 bytes 1 file changed, 0 insertions(+), 0 deletions(-) diff --git a/Library/Homebrew/test/support/fixtures/tarballs/testball5-0.1.tbz b/Library/Homebrew/test/support/fixtures/tarballs/testball5-0.1.tbz index 1dc6e1f40e38ccd998d850027e5b7de793543ecf..06def51fbd0e79fd5e65bb76a885fdaf0adf1251 100644 GIT binary patch literal 184 zcmV;p07w5qT4*^jL0KkKS%nYLQ2+pge~{3C1b{#T|9}7l5CC>(o&W?u00=Muxv)xz zG|&J5Xwy$nYMv1qX`lc!01Bz3(gvCgho~9=$&;nq@4N9D0lM1ND~=yU4W+6GY$X% From f4d93e19b872760e5fa8563af1f7b4ec269bcd72 Mon Sep 17 00:00:00 2001 From: thibhero Date: Thu, 6 Mar 2025 20:59:56 -0500 Subject: [PATCH 269/322] refactoring testball case to make it more readable --- .../spec/shared_context/integration_test.rb | 45 ++++++++++--------- 1 file changed, 25 insertions(+), 20 deletions(-) diff --git a/Library/Homebrew/test/support/helper/spec/shared_context/integration_test.rb b/Library/Homebrew/test/support/helper/spec/shared_context/integration_test.rb index f585f3ee96..d205f2f005 100644 --- a/Library/Homebrew/test/support/helper/spec/shared_context/integration_test.rb +++ b/Library/Homebrew/test/support/helper/spec/shared_context/integration_test.rb @@ -135,36 +135,41 @@ RSpec.shared_context "integration test" do # rubocop:disable RSpec/ContextWordin case name when /^testball/ case name - when "testball4", "testball5", "testball2" + when "testball4", "testball5" prefix = name + program_name = name + when "testball2" + prefix = name + program_name = "test" else prefix = "testball" + program_name = "test" end + tarball_name = "#{prefix}-0.1#{'-linux' if OS.linux?}.tbz" - tarball = TEST_FIXTURE_DIR/"tarballs/#{tarball_name}" + tarball = TEST_FIXTURE_DIR / "tarballs/#{tarball_name}" content = <<~RUBY - desc "Some test" - homepage "https://brew.sh/#{name}" - url "file://#{tarball}" - sha256 "#{tarball.sha256}" + desc "Some test" + homepage "https://brew.sh/#{name}" + url "file://#{tarball}" + sha256 "#{tarball.sha256}" - option "with-foo", "Build with foo" - #{bottle_block} + option "with-foo", "Build with foo" + #{bottle_block} + def install + (prefix/"foo"/"#{program_name}").write("#{program_name}") if build.with? "foo" + prefix.install Dir["*"] + (buildpath/"#{program_name}.c").write \ + "#include \\nint main(){printf(\\"#{program_name}\\");return 0;}" + bin.mkpath + system ENV.cc, "#{program_name}.c", "-o", bin/"#{program_name}" + end - def install - (prefix/"foo"/"#{prefix}").write("#{prefix}") if build.with? "foo" - prefix.install Dir["*"] - (buildpath/"#{prefix}.c").write \\ - "#include \\nint main(){printf(\\"#{prefix}\\");return 0;}" - bin.mkpath - system ENV.cc, "#{prefix}.c", "-o", bin/"#{prefix}" - end + #{content} - #{content} - - # something here - RUBY + # something here + RUBY when "bar" content = <<~RUBY url "https://brew.sh/#{name}-1.0" From 99fad7797cccc7b141389cda3f34c61d396044cb Mon Sep 17 00:00:00 2001 From: thibhero Date: Thu, 6 Mar 2025 21:27:13 -0500 Subject: [PATCH 270/322] modifying files with brew style --- Library/Homebrew/cmd/install.rb | 4 +-- Library/Homebrew/cmd/reinstall.rb | 4 +-- Library/Homebrew/cmd/upgrade.rb | 4 +-- Library/Homebrew/install.rb | 7 ++-- Library/Homebrew/test/cmd/install_spec.rb | 12 +++---- .../spec/shared_context/integration_test.rb | 34 +++++++++---------- 6 files changed, 28 insertions(+), 37 deletions(-) diff --git a/Library/Homebrew/cmd/install.rb b/Library/Homebrew/cmd/install.rb index b93b0f6397..d6b29fea44 100644 --- a/Library/Homebrew/cmd/install.rb +++ b/Library/Homebrew/cmd/install.rb @@ -307,9 +307,7 @@ module Homebrew Install.perform_preinstall_checks_once Install.check_cc_argv(args.cc) - if args.ask? - Install.ask(formulae, args: args) - end + Install.ask(formulae, args: args) if args.ask? Install.install_formulae( installed_formulae, diff --git a/Library/Homebrew/cmd/reinstall.rb b/Library/Homebrew/cmd/reinstall.rb index 094936dd3f..4556222e1c 100644 --- a/Library/Homebrew/cmd/reinstall.rb +++ b/Library/Homebrew/cmd/reinstall.rb @@ -132,9 +132,7 @@ module Homebrew Install.perform_preinstall_checks_once # Main block: if asking the user is enabled, show dependency and size information. - if args.ask? - Install.ask(formulae, args: args) - end + Install.ask(formulae, args: args) if args.ask? formulae.each do |formula| if formula.pinned? diff --git a/Library/Homebrew/cmd/upgrade.rb b/Library/Homebrew/cmd/upgrade.rb index c33c7c7bf4..b48ace323d 100644 --- a/Library/Homebrew/cmd/upgrade.rb +++ b/Library/Homebrew/cmd/upgrade.rb @@ -222,9 +222,7 @@ module Homebrew Install.perform_preinstall_checks_once # Main block: if asking the user is enabled, show dependency and size information. - if args.ask? - Install.ask(formulae_to_install, args: args) - end + Install.ask(formulae_to_install, args: args) if args.ask? Upgrade.upgrade_formulae( formulae_to_install, diff --git a/Library/Homebrew/install.rb b/Library/Homebrew/install.rb index 37a42ccd3b..c7a0b41aff 100644 --- a/Library/Homebrew/install.rb +++ b/Library/Homebrew/install.rb @@ -327,7 +327,6 @@ module Homebrew puts formula_names.join(" ") end - # Main block: if asking the user is enabled, show dependency and size information. def ask(formulae, args:) ohai "Looking for bottles..." @@ -335,8 +334,9 @@ module Homebrew sized_formulae = compute_sized_formulae(formulae, args: args) sizes = compute_total_sizes(sized_formulae, debug: args.debug?) - puts "#{::Utils.pluralize("Formul", sized_formulae.count, plural: "ae", - singular: "a")} (#{sized_formulae.count}): #{sized_formulae.join(", ")}\n\n" + puts "#{::Utils.pluralize("Formul", sized_formulae.count, plural: "ae", + singular: "a")} (#{sized_formulae.count}): \ + #{sized_formulae.join(", ")}\n\n" puts "Download Size: #{disk_usage_readable(sizes[:download])}" puts "Install Size: #{disk_usage_readable(sizes[:installed])}" puts "Net Install Size: #{disk_usage_readable(sizes[:net])}" if sizes[:net] != 0 @@ -381,7 +381,6 @@ module Homebrew Upgrade.install_formula(formula_installer, upgrade:) end - def ask_input ohai "Do you want to proceed with the installation? [Y/y/yes/N/n]" accepted_inputs = %w[y yes] diff --git a/Library/Homebrew/test/cmd/install_spec.rb b/Library/Homebrew/test/cmd/install_spec.rb index 5cea09d32b..460c465c76 100644 --- a/Library/Homebrew/test/cmd/install_spec.rb +++ b/Library/Homebrew/test/cmd/install_spec.rb @@ -89,10 +89,9 @@ RSpec.describe Homebrew::Cmd::InstallCmd do it "installs with asking for user prompts without installed dependent checks", :integration_test do setup_test_formula "testball1" - expect { + expect do brew "install", "--ask", "testball1" - }.to output(/.*Formula\s*\(1\):\s*testball1.*/ - ).to_stdout.and not_to_output.to_stderr + end.to output(/.*Formula\s*\(1\):\s*testball1.*/).to_stdout.and not_to_output.to_stderr expect(HOMEBREW_CELLAR/"testball1/0.1/bin/test").to be_a_file end @@ -108,8 +107,7 @@ RSpec.describe Homebrew::Cmd::InstallCmd do setup_test_formula "testball5", <<~RUBY depends_on "testball4" RUBY - setup_test_formula "testball4", <<~RUBY - RUBY + setup_test_formula "testball4", "" setup_test_formula "hiop" setup_test_formula "build" @@ -120,8 +118,8 @@ RSpec.describe Homebrew::Cmd::InstallCmd do expect { brew "install", "--ask", "testball1" - }.to output(/.*Formulae\s*\(3\):\s*testball1\s*,?\s*testball5\s*,?\s*testball4.*/ - ).to_stdout.and not_to_output.to_stderr + }.to output(/.*Formulae\s*\(3\):\s*testball1\s*,?\s*testball5\s*,?\s*testball4.*/).to_stdout + .and not_to_output.to_stderr expect(HOMEBREW_CELLAR/"testball1/0.1/bin/test").to be_a_file expect(HOMEBREW_CELLAR/"testball4/0.1/bin/testball4").to be_a_file diff --git a/Library/Homebrew/test/support/helper/spec/shared_context/integration_test.rb b/Library/Homebrew/test/support/helper/spec/shared_context/integration_test.rb index d205f2f005..f8f3b0f60a 100644 --- a/Library/Homebrew/test/support/helper/spec/shared_context/integration_test.rb +++ b/Library/Homebrew/test/support/helper/spec/shared_context/integration_test.rb @@ -146,29 +146,29 @@ RSpec.shared_context "integration test" do # rubocop:disable RSpec/ContextWordin program_name = "test" end - tarball_name = "#{prefix}-0.1#{'-linux' if OS.linux?}.tbz" + tarball_name = "#{prefix}-0.1#{"-linux" if OS.linux?}.tbz" tarball = TEST_FIXTURE_DIR / "tarballs/#{tarball_name}" content = <<~RUBY - desc "Some test" - homepage "https://brew.sh/#{name}" - url "file://#{tarball}" - sha256 "#{tarball.sha256}" + desc "Some test" + homepage "https://brew.sh/#{name}" + url "file://#{tarball}" + sha256 "#{tarball.sha256}" - option "with-foo", "Build with foo" - #{bottle_block} - def install - (prefix/"foo"/"#{program_name}").write("#{program_name}") if build.with? "foo" - prefix.install Dir["*"] - (buildpath/"#{program_name}.c").write \ - "#include \\nint main(){printf(\\"#{program_name}\\");return 0;}" - bin.mkpath - system ENV.cc, "#{program_name}.c", "-o", bin/"#{program_name}" - end + option "with-foo", "Build with foo" + #{bottle_block} + def install + (prefix/"foo"/"#{program_name}").write("#{program_name}") if build.with? "foo" + prefix.install Dir["*"] + (buildpath/"#{program_name}.c").write \ + "#include \\nint main(){printf(\\"#{program_name}\\");return 0;}" + bin.mkpath + system ENV.cc, "#{program_name}.c", "-o", bin/"#{program_name}" + end - #{content} + #{content} - # something here + # something here RUBY when "bar" content = <<~RUBY From c5b8dd91f18c259f21270c5c3f646e7567d14a8c Mon Sep 17 00:00:00 2001 From: thibhero Date: Thu, 6 Mar 2025 21:27:25 -0500 Subject: [PATCH 271/322] test for upgrade --- Library/Homebrew/test/cmd/upgrade_spec.rb | 37 +++++++++++++++++++++-- 1 file changed, 34 insertions(+), 3 deletions(-) diff --git a/Library/Homebrew/test/cmd/upgrade_spec.rb b/Library/Homebrew/test/cmd/upgrade_spec.rb index 0bd3453644..3075df4f6f 100644 --- a/Library/Homebrew/test/cmd/upgrade_spec.rb +++ b/Library/Homebrew/test/cmd/upgrade_spec.rb @@ -20,12 +20,43 @@ RSpec.describe Homebrew::Cmd::UpgradeCmd do setup_test_formula "testball" (HOMEBREW_CELLAR/"testball/0.0.1/foo").mkpath - expect { + expect do brew "upgrade", "--ask" - }.to output(/.*Formula\s*\(1\):\s*testball.*/ - ).to_stdout.and not_to_output.to_stderr + end.to output(/.*Formula\s*\(1\):\s*testball.*/).to_stdout.and not_to_output.to_stderr expect(HOMEBREW_CELLAR/"testball/0.1").to be_a_directory expect(HOMEBREW_CELLAR/"testball/0.0.1").not_to exist end + + it "upgrades with asking for user prompts with dependants checks", :integration_test do + setup_test_formula "testball1", <<~RUBY + depends_on "testball5" + # should work as its not building but test doesnt pass if dependant + # depends_on "build" => :build + depends_on "installed" + RUBY + setup_test_formula "installed" + setup_test_formula "testball5", <<~RUBY + depends_on "testball4" + RUBY + setup_test_formula "testball4" + setup_test_formula "hiop" + setup_test_formula "build" + + (HOMEBREW_CELLAR/"testball/0.0.1/foo").mkpath + (HOMEBREW_CELLAR/"testball5/0.0.1/foo").mkpath + (HOMEBREW_CELLAR/"testball4/0.0.1/foo").mkpath + + expect { + brew "upgrade", "--ask" + }.to output(/.*Formulae\s*\(3\):\s*testball1\s*,?\s*testball5\s*,?\s*testball4.*/) + .to_stdout.and not_to_output.to_stderr + + expect(HOMEBREW_CELLAR/"testball/0.1").to be_a_directory + expect(HOMEBREW_CELLAR/"testball/0.0.1").not_to exist + expect(HOMEBREW_CELLAR/"testball5/0.1").to be_a_directory + expect(HOMEBREW_CELLAR/"testball5/0.0.1").not_to exist + expect(HOMEBREW_CELLAR/"testball4/0.1").to be_a_directory + expect(HOMEBREW_CELLAR/"testball4/0.0.1").not_to exist + end end From 0ebbd118e4450ff3126277127e98148e69ad098f Mon Sep 17 00:00:00 2001 From: thibhero Date: Thu, 6 Mar 2025 21:27:35 -0500 Subject: [PATCH 272/322] test for reinstall --- Library/Homebrew/test/cmd/reinstall_spec.rb | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/Library/Homebrew/test/cmd/reinstall_spec.rb b/Library/Homebrew/test/cmd/reinstall_spec.rb index fd5690de26..9452e9b1cb 100644 --- a/Library/Homebrew/test/cmd/reinstall_spec.rb +++ b/Library/Homebrew/test/cmd/reinstall_spec.rb @@ -20,4 +20,18 @@ RSpec.describe Homebrew::Cmd::Reinstall do expect(foo_dir).to exist end + + it "reinstalls a Formula with ask input", :integration_test do + install_test_formula "testball" + foo_dir = HOMEBREW_CELLAR/"testball/0.1/bin" + expect(foo_dir).to exist + FileUtils.rm_r(foo_dir) + + expect { brew "reinstall", "--ask", "testball" } + .to output(/.*Formula\s*\(1\):\s*testball.*/).to_stdout + .and not_to_output.to_stderr + .and be_a_success + + expect(foo_dir).to exist + end end From 2edc42e905d89a13a333df924716c699e133c533 Mon Sep 17 00:00:00 2001 From: thibhero Date: Thu, 6 Mar 2025 21:43:24 -0500 Subject: [PATCH 273/322] erratum testball and not testball1 --- Library/Homebrew/test/cmd/upgrade_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Library/Homebrew/test/cmd/upgrade_spec.rb b/Library/Homebrew/test/cmd/upgrade_spec.rb index 3075df4f6f..f74f573e66 100644 --- a/Library/Homebrew/test/cmd/upgrade_spec.rb +++ b/Library/Homebrew/test/cmd/upgrade_spec.rb @@ -29,7 +29,7 @@ RSpec.describe Homebrew::Cmd::UpgradeCmd do end it "upgrades with asking for user prompts with dependants checks", :integration_test do - setup_test_formula "testball1", <<~RUBY + setup_test_formula "testball", <<~RUBY depends_on "testball5" # should work as its not building but test doesnt pass if dependant # depends_on "build" => :build @@ -49,7 +49,7 @@ RSpec.describe Homebrew::Cmd::UpgradeCmd do expect { brew "upgrade", "--ask" - }.to output(/.*Formulae\s*\(3\):\s*testball1\s*,?\s*testball5\s*,?\s*testball4.*/) + }.to output(/.*Formulae\s*\(3\):\s*testball\s*,?\s*testball5\s*,?\s*testball4.*/) .to_stdout.and not_to_output.to_stderr expect(HOMEBREW_CELLAR/"testball/0.1").to be_a_directory From 483aa26aaa5525d9045f91fd129a675f041a8f61 Mon Sep 17 00:00:00 2001 From: thibhero Date: Thu, 6 Mar 2025 22:02:45 -0500 Subject: [PATCH 274/322] checking also the formula itself --- Library/Homebrew/install.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/install.rb b/Library/Homebrew/install.rb index c7a0b41aff..6250ea91df 100644 --- a/Library/Homebrew/install.rb +++ b/Library/Homebrew/install.rb @@ -407,7 +407,7 @@ module Homebrew def compute_sized_formulae(formulae, args:) sized_formulae = formulae.flat_map do |formula| # Always include the formula itself. - formula_list = [formula] + formula_list = formula.installed_kegs.empty? || (formula.bottled? && formula.outdated?) ? [formula] : [] deps = args.build_from_source? ? formula.deps.build : formula.deps.required # If there are dependencies, try to gather outdated, bottled ones. From e6d02658b218a2ae18bcf0605304422fa5039659 Mon Sep 17 00:00:00 2001 From: thibhero Date: Thu, 6 Mar 2025 22:03:15 -0500 Subject: [PATCH 275/322] adding installed up-to-date --- Library/Homebrew/test/cmd/upgrade_spec.rb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Library/Homebrew/test/cmd/upgrade_spec.rb b/Library/Homebrew/test/cmd/upgrade_spec.rb index f74f573e66..04429e7e40 100644 --- a/Library/Homebrew/test/cmd/upgrade_spec.rb +++ b/Library/Homebrew/test/cmd/upgrade_spec.rb @@ -47,9 +47,13 @@ RSpec.describe Homebrew::Cmd::UpgradeCmd do (HOMEBREW_CELLAR/"testball5/0.0.1/foo").mkpath (HOMEBREW_CELLAR/"testball4/0.0.1/foo").mkpath + keg_dir = HOMEBREW_CELLAR/"installed"/"1.0" + keg_dir.mkpath + touch keg_dir/AbstractTab::FILENAME + expect { brew "upgrade", "--ask" - }.to output(/.*Formulae\s*\(3\):\s*testball\s*,?\s*testball5\s*,?\s*testball4.*/) + }.to output(/.*Formulae\s*\(3\):\s*testball4\s*,?\s*testball5\s*,?\s*testball5.*/) .to_stdout.and not_to_output.to_stderr expect(HOMEBREW_CELLAR/"testball/0.1").to be_a_directory From 8506f1901a4d87a36d5bff9840d9c8e10aea8e20 Mon Sep 17 00:00:00 2001 From: thibhero Date: Thu, 6 Mar 2025 22:20:52 -0500 Subject: [PATCH 276/322] check only if formula is bottled for first formula --- Library/Homebrew/install.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Library/Homebrew/install.rb b/Library/Homebrew/install.rb index 6250ea91df..97734f232e 100644 --- a/Library/Homebrew/install.rb +++ b/Library/Homebrew/install.rb @@ -406,8 +406,8 @@ module Homebrew # 3. Optionally, any installed formula that depends on one of these and is outdated. def compute_sized_formulae(formulae, args:) sized_formulae = formulae.flat_map do |formula| - # Always include the formula itself. - formula_list = formula.installed_kegs.empty? || (formula.bottled? && formula.outdated?) ? [formula] : [] + # Always include the formula itself if bottled. + formula_list = formula.bottled? ? [formula] : [] deps = args.build_from_source? ? formula.deps.build : formula.deps.required # If there are dependencies, try to gather outdated, bottled ones. From 0b302dc3ad84d2f9f72325015d145ebd8a677893 Mon Sep 17 00:00:00 2001 From: thibhero Date: Thu, 6 Mar 2025 22:32:51 -0500 Subject: [PATCH 277/322] always include --- Library/Homebrew/install.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Library/Homebrew/install.rb b/Library/Homebrew/install.rb index 97734f232e..c7a0b41aff 100644 --- a/Library/Homebrew/install.rb +++ b/Library/Homebrew/install.rb @@ -406,8 +406,8 @@ module Homebrew # 3. Optionally, any installed formula that depends on one of these and is outdated. def compute_sized_formulae(formulae, args:) sized_formulae = formulae.flat_map do |formula| - # Always include the formula itself if bottled. - formula_list = formula.bottled? ? [formula] : [] + # Always include the formula itself. + formula_list = [formula] deps = args.build_from_source? ? formula.deps.build : formula.deps.required # If there are dependencies, try to gather outdated, bottled ones. From 459741f683cf7b059464631188a9c20abfd7e9d1 Mon Sep 17 00:00:00 2001 From: thibhero Date: Thu, 6 Mar 2025 22:59:58 -0500 Subject: [PATCH 278/322] include FileUtils for touch --- Library/Homebrew/test/cmd/upgrade_spec.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Library/Homebrew/test/cmd/upgrade_spec.rb b/Library/Homebrew/test/cmd/upgrade_spec.rb index 04429e7e40..0b3679ecfd 100644 --- a/Library/Homebrew/test/cmd/upgrade_spec.rb +++ b/Library/Homebrew/test/cmd/upgrade_spec.rb @@ -4,6 +4,7 @@ require "cmd/shared_examples/args_parse" require "cmd/upgrade" RSpec.describe Homebrew::Cmd::UpgradeCmd do + include FileUtils it_behaves_like "parseable arguments" it "upgrades a Formula and cleans up old versions", :integration_test do @@ -53,7 +54,7 @@ RSpec.describe Homebrew::Cmd::UpgradeCmd do expect { brew "upgrade", "--ask" - }.to output(/.*Formulae\s*\(3\):\s*testball4\s*,?\s*testball5\s*,?\s*testball5.*/) + }.to output(/.*Formulae\s*\(3\):\s*testball4\s*,?\s*testball5\s*,?\s*testball.*/) .to_stdout.and not_to_output.to_stderr expect(HOMEBREW_CELLAR/"testball/0.1").to be_a_directory From 909f2afd16ccf6197e7798fbf208fabd89d6588f Mon Sep 17 00:00:00 2001 From: thibhero Date: Thu, 6 Mar 2025 23:02:17 -0500 Subject: [PATCH 279/322] brew style --fix --- Library/Homebrew/test/cmd/install_spec.rb | 6 +++--- Library/Homebrew/test/cmd/reinstall_spec.rb | 4 ++-- Library/Homebrew/test/cmd/upgrade_spec.rb | 6 +++--- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Library/Homebrew/test/cmd/install_spec.rb b/Library/Homebrew/test/cmd/install_spec.rb index 460c465c76..ef74f06cc3 100644 --- a/Library/Homebrew/test/cmd/install_spec.rb +++ b/Library/Homebrew/test/cmd/install_spec.rb @@ -116,10 +116,10 @@ RSpec.describe Homebrew::Cmd::InstallCmd do keg_dir.mkpath touch keg_dir/AbstractTab::FILENAME - expect { + expect do brew "install", "--ask", "testball1" - }.to output(/.*Formulae\s*\(3\):\s*testball1\s*,?\s*testball5\s*,?\s*testball4.*/).to_stdout - .and not_to_output.to_stderr + end.to output(/.*Formulae\s*\(3\):\s*testball1\s*,?\s*testball5\s*,?\s*testball4.*/).to_stdout + .and not_to_output.to_stderr expect(HOMEBREW_CELLAR/"testball1/0.1/bin/test").to be_a_file expect(HOMEBREW_CELLAR/"testball4/0.1/bin/testball4").to be_a_file diff --git a/Library/Homebrew/test/cmd/reinstall_spec.rb b/Library/Homebrew/test/cmd/reinstall_spec.rb index 9452e9b1cb..77e55c994c 100644 --- a/Library/Homebrew/test/cmd/reinstall_spec.rb +++ b/Library/Homebrew/test/cmd/reinstall_spec.rb @@ -29,8 +29,8 @@ RSpec.describe Homebrew::Cmd::Reinstall do expect { brew "reinstall", "--ask", "testball" } .to output(/.*Formula\s*\(1\):\s*testball.*/).to_stdout - .and not_to_output.to_stderr - .and be_a_success + .and not_to_output.to_stderr + .and be_a_success expect(foo_dir).to exist end diff --git a/Library/Homebrew/test/cmd/upgrade_spec.rb b/Library/Homebrew/test/cmd/upgrade_spec.rb index 0b3679ecfd..0dbac25f7f 100644 --- a/Library/Homebrew/test/cmd/upgrade_spec.rb +++ b/Library/Homebrew/test/cmd/upgrade_spec.rb @@ -52,10 +52,10 @@ RSpec.describe Homebrew::Cmd::UpgradeCmd do keg_dir.mkpath touch keg_dir/AbstractTab::FILENAME - expect { + expect do brew "upgrade", "--ask" - }.to output(/.*Formulae\s*\(3\):\s*testball4\s*,?\s*testball5\s*,?\s*testball.*/) - .to_stdout.and not_to_output.to_stderr + end.to output(/.*Formulae\s*\(3\):\s*testball4\s*,?\s*testball5\s*,?\s*testball.*/) + .to_stdout.and not_to_output.to_stderr expect(HOMEBREW_CELLAR/"testball/0.1").to be_a_directory expect(HOMEBREW_CELLAR/"testball/0.0.1").not_to exist From 9874f2bbb913e4e0e1e39b1baf575a6dd180afc6 Mon Sep 17 00:00:00 2001 From: thibhero Date: Thu, 6 Mar 2025 23:30:22 -0500 Subject: [PATCH 280/322] check for formula in any order --- Library/Homebrew/test/cmd/upgrade_spec.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Library/Homebrew/test/cmd/upgrade_spec.rb b/Library/Homebrew/test/cmd/upgrade_spec.rb index 0dbac25f7f..1fc6f65c4d 100644 --- a/Library/Homebrew/test/cmd/upgrade_spec.rb +++ b/Library/Homebrew/test/cmd/upgrade_spec.rb @@ -54,7 +54,8 @@ RSpec.describe Homebrew::Cmd::UpgradeCmd do expect do brew "upgrade", "--ask" - end.to output(/.*Formulae\s*\(3\):\s*testball4\s*,?\s*testball5\s*,?\s*testball.*/) + end.to output(/.*Formulae\s*\(3\):\s*(?:testball|testball5|testball4)\s*,?\s*(?:testball|testball5|testball4)\s*,? +\s*(?:testball|testball5|testball4).*/) .to_stdout.and not_to_output.to_stderr expect(HOMEBREW_CELLAR/"testball/0.1").to be_a_directory From 640556df39e7898ea6eae5359057be67a6686778 Mon Sep 17 00:00:00 2001 From: thibhero Date: Thu, 6 Mar 2025 23:52:12 -0500 Subject: [PATCH 281/322] correcting big space while displaying --- Library/Homebrew/install.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Library/Homebrew/install.rb b/Library/Homebrew/install.rb index c7a0b41aff..eea3f6fa9d 100644 --- a/Library/Homebrew/install.rb +++ b/Library/Homebrew/install.rb @@ -335,8 +335,8 @@ module Homebrew sizes = compute_total_sizes(sized_formulae, debug: args.debug?) puts "#{::Utils.pluralize("Formul", sized_formulae.count, plural: "ae", - singular: "a")} (#{sized_formulae.count}): \ - #{sized_formulae.join(", ")}\n\n" + singular: "a")} \ +(#{sized_formulae.count}): #{sized_formulae.join(", ")}\n\n" puts "Download Size: #{disk_usage_readable(sizes[:download])}" puts "Install Size: #{disk_usage_readable(sizes[:installed])}" puts "Net Install Size: #{disk_usage_readable(sizes[:net])}" if sizes[:net] != 0 From 692174305d55640472286bfa1db00863333f2ee2 Mon Sep 17 00:00:00 2001 From: thibhero Date: Thu, 6 Mar 2025 23:54:19 -0500 Subject: [PATCH 282/322] correcting regex to match in any order and only once --- Library/Homebrew/test/cmd/upgrade_spec.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Library/Homebrew/test/cmd/upgrade_spec.rb b/Library/Homebrew/test/cmd/upgrade_spec.rb index 1fc6f65c4d..436b513cb7 100644 --- a/Library/Homebrew/test/cmd/upgrade_spec.rb +++ b/Library/Homebrew/test/cmd/upgrade_spec.rb @@ -54,8 +54,7 @@ RSpec.describe Homebrew::Cmd::UpgradeCmd do expect do brew "upgrade", "--ask" - end.to output(/.*Formulae\s*\(3\):\s*(?:testball|testball5|testball4)\s*,?\s*(?:testball|testball5|testball4)\s*,? -\s*(?:testball|testball5|testball4).*/) + end.to output(/Formulae\s*\(3\):\s*(testball|testball5|testball4)\s*,\s*(?!(\1))(testball|testball5|testball4)\s*,\s*(?!(\1|\3))(testball|testball5|testball4)/) .to_stdout.and not_to_output.to_stderr expect(HOMEBREW_CELLAR/"testball/0.1").to be_a_directory From 6d3ca98207973e55a4c678c9c8cfe4bd44161aa1 Mon Sep 17 00:00:00 2001 From: thibhero Date: Fri, 7 Mar 2025 00:38:02 -0500 Subject: [PATCH 283/322] correcting regex to match in any order and only once --- Library/Homebrew/test/cmd/upgrade_spec.rb | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/Library/Homebrew/test/cmd/upgrade_spec.rb b/Library/Homebrew/test/cmd/upgrade_spec.rb index 436b513cb7..27b9fc7891 100644 --- a/Library/Homebrew/test/cmd/upgrade_spec.rb +++ b/Library/Homebrew/test/cmd/upgrade_spec.rb @@ -52,9 +52,25 @@ RSpec.describe Homebrew::Cmd::UpgradeCmd do keg_dir.mkpath touch keg_dir/AbstractTab::FILENAME + regex = / + Formulae\s*\(3\):\s* + ( + testball|testball5|testball4 + ) + \s*,\s* + (?!\1) + ( + testball|testball5|testball4 + ) + \s*,\s* + (?!\1|\2) + ( + testball|testball5|testball4 + ) + /x expect do brew "upgrade", "--ask" - end.to output(/Formulae\s*\(3\):\s*(testball|testball5|testball4)\s*,\s*(?!(\1))(testball|testball5|testball4)\s*,\s*(?!(\1|\3))(testball|testball5|testball4)/) + end.to output(regex) .to_stdout.and not_to_output.to_stderr expect(HOMEBREW_CELLAR/"testball/0.1").to be_a_directory From 564b03694aacd14c95d1fe136b63dcf7741e1caa Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Fri, 7 Mar 2025 00:26:49 +0000 Subject: [PATCH 284/322] global: revert changes to some variables. Let's ensure these are always set again. --- Library/Homebrew/global.rb | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Library/Homebrew/global.rb b/Library/Homebrew/global.rb index 7bddc7d33d..4ba34f3a48 100644 --- a/Library/Homebrew/global.rb +++ b/Library/Homebrew/global.rb @@ -7,9 +7,8 @@ HOMEBREW_HELP_MESSAGE = ENV.fetch("HOMEBREW_HELP_MESSAGE").freeze HOMEBREW_API_DEFAULT_DOMAIN = ENV.fetch("HOMEBREW_API_DEFAULT_DOMAIN").freeze HOMEBREW_BOTTLE_DEFAULT_DOMAIN = ENV.fetch("HOMEBREW_BOTTLE_DEFAULT_DOMAIN").freeze - -HOMEBREW_BREW_DEFAULT_GIT_REMOTE = ENV.delete("HOMEBREW_BREW_DEFAULT_GIT_REMOTE").freeze -HOMEBREW_CORE_DEFAULT_GIT_REMOTE = ENV.delete("HOMEBREW_CORE_DEFAULT_GIT_REMOTE").freeze +HOMEBREW_BREW_DEFAULT_GIT_REMOTE = ENV.fetch("HOMEBREW_BREW_DEFAULT_GIT_REMOTE").freeze +HOMEBREW_CORE_DEFAULT_GIT_REMOTE = ENV.fetch("HOMEBREW_CORE_DEFAULT_GIT_REMOTE").freeze HOMEBREW_DEFAULT_CACHE = ENV.fetch("HOMEBREW_DEFAULT_CACHE").freeze HOMEBREW_DEFAULT_LOGS = ENV.fetch("HOMEBREW_DEFAULT_LOGS").freeze From 3e7a583a939b30b59539f4d58eda73cbc2d1ed4e Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Fri, 7 Mar 2025 00:07:58 +0000 Subject: [PATCH 285/322] Update manpage and completions. Autogenerated by the [sponsors-maintainers-man-completions](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/sponsors-maintainers-man-completions.yml) workflow. Signed-off-by: Patrick Linnane --- docs/Manpage.md | 10 +++++----- manpages/brew.1 | 6 +++--- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/docs/Manpage.md b/docs/Manpage.md index 0ab8fa1a26..862fddbb65 100644 --- a/docs/Manpage.md +++ b/docs/Manpage.md @@ -3220,7 +3220,7 @@ to one or more of the following environment variables: `brew bundle dump` : Write all installed casks/formulae/images/taps into a `Brewfile` in the - current directory. + current directory or to a custom file specified with the `--file` option. `brew bundle cleanup` @@ -3271,13 +3271,13 @@ flags which will help with finding keg-only dependencies like `openssl`, `--file` -: Read the `Brewfile` from this location. Use `--file=-` to pipe to - stdin/stdout. +: Read from or write to the `Brewfile` from this location. Use `--file=-` to + pipe to stdin/stdout. `--global` -: Read the `Brewfile` from `$HOMEBREW_BUNDLE_FILE_GLOBAL` (if set), - `${XDG_CONFIG_HOME}/homebrew/Brewfile` (if `$XDG_CONFIG_HOME` is set), +: Read from or write to the `Brewfile` from `$HOMEBREW_BUNDLE_FILE_GLOBAL` (if + set), `${XDG_CONFIG_HOME}/homebrew/Brewfile` (if `$XDG_CONFIG_HOME` is set), `~/.homebrew/Brewfile` or `~/.Brewfile` otherwise. `-v`, `--verbose` diff --git a/manpages/brew.1 b/manpages/brew.1 index 8b043c2961..b200952860 100644 --- a/manpages/brew.1 +++ b/manpages/brew.1 @@ -2067,7 +2067,7 @@ You can skip the installation of dependencies by adding space\-separated values Shorthand for \fBbrew bundle install \-\-upgrade\fP\&\. .TP \fBbrew bundle dump\fP -Write all installed casks/formulae/images/taps into a \fBBrewfile\fP in the current directory\. +Write all installed casks/formulae/images/taps into a \fBBrewfile\fP in the current directory or to a custom file specified with the \fB\-\-file\fP option\. .TP \fBbrew bundle cleanup\fP Uninstall all dependencies not present in the \fBBrewfile\fP\&\. @@ -2101,10 +2101,10 @@ Run your shell in a \fBbrew bundle exec\fP environment\. Print the environment variables that would be set in a \fBbrew bundle exec\fP environment\. .TP \fB\-\-file\fP -Read the \fBBrewfile\fP from this location\. Use \fB\-\-file=\-\fP to pipe to stdin/stdout\. +Read from or write to the \fBBrewfile\fP from this location\. Use \fB\-\-file=\-\fP to pipe to stdin/stdout\. .TP \fB\-\-global\fP -Read the \fBBrewfile\fP from \fB$HOMEBREW_BUNDLE_FILE_GLOBAL\fP (if set), \fB${XDG_CONFIG_HOME}/homebrew/Brewfile\fP (if \fB$XDG_CONFIG_HOME\fP is set), \fB~/\.homebrew/Brewfile\fP or \fB~/\.Brewfile\fP otherwise\. +Read from or write to the \fBBrewfile\fP from \fB$HOMEBREW_BUNDLE_FILE_GLOBAL\fP (if set), \fB${XDG_CONFIG_HOME}/homebrew/Brewfile\fP (if \fB$XDG_CONFIG_HOME\fP is set), \fB~/\.homebrew/Brewfile\fP or \fB~/\.Brewfile\fP otherwise\. .TP \fB\-v\fP, \fB\-\-verbose\fP \fBinstall\fP prints output from commands as they are run\. \fBcheck\fP lists all missing dependencies\. From 548d87c9e840e227c7c34b449ec9fc60f806f651 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thibaut=20H=C3=A9rault?= <78233978+tyuwags@users.noreply.github.com> Date: Fri, 7 Mar 2025 11:26:52 -0500 Subject: [PATCH 286/322] Update Library/Homebrew/cmd/reinstall.rb comment Co-authored-by: Mike McQuaid --- Library/Homebrew/cmd/reinstall.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/cmd/reinstall.rb b/Library/Homebrew/cmd/reinstall.rb index 4556222e1c..3c767f0619 100644 --- a/Library/Homebrew/cmd/reinstall.rb +++ b/Library/Homebrew/cmd/reinstall.rb @@ -131,7 +131,7 @@ module Homebrew unless formulae.empty? Install.perform_preinstall_checks_once - # Main block: if asking the user is enabled, show dependency and size information. + # If asking the user is enabled, show dependency and size information. Install.ask(formulae, args: args) if args.ask? formulae.each do |formula| From d7723fa6ed163594e64d577b1a876c358a195494 Mon Sep 17 00:00:00 2001 From: thibhero Date: Fri, 7 Mar 2025 11:32:34 -0500 Subject: [PATCH 287/322] resolving conversations from pull request --- Library/Homebrew/env_config.rb | 3 ++- Library/Homebrew/install.rb | 28 ++++++++++++---------------- 2 files changed, 14 insertions(+), 17 deletions(-) diff --git a/Library/Homebrew/env_config.rb b/Library/Homebrew/env_config.rb index 5ccf2326ce..213a0fdae8 100644 --- a/Library/Homebrew/env_config.rb +++ b/Library/Homebrew/env_config.rb @@ -49,7 +49,8 @@ module Homebrew boolean: true, }, HOMEBREW_ASK: { - description: "If set, pass `--ask`to all formula install commands.", + description: "If set, pass `--ask`to all formulae `brew install`, `brew upgrade` and `brew reinstall` " \ + "commands.", boolean: true, }, HOMEBREW_AUTO_UPDATE_SECS: { diff --git a/Library/Homebrew/install.rb b/Library/Homebrew/install.rb index eea3f6fa9d..db240ee171 100644 --- a/Library/Homebrew/install.rb +++ b/Library/Homebrew/install.rb @@ -327,7 +327,7 @@ module Homebrew puts formula_names.join(" ") end - # Main block: if asking the user is enabled, show dependency and size information. + # If asking the user is enabled, show dependency and size information. def ask(formulae, args:) ohai "Looking for bottles..." @@ -410,18 +410,16 @@ module Homebrew formula_list = [formula] deps = args.build_from_source? ? formula.deps.build : formula.deps.required - # If there are dependencies, try to gather outdated, bottled ones. - if deps.any? - outdated_dependents = deps.map(&:to_formula).reject(&:pinned?).select do |dep| - dep.installed_kegs.empty? || (dep.bottled? && dep.outdated?) - end - deps.map(&:to_formula).each do |f| - outdated_dependents.concat(f.recursive_dependencies.map(&:to_formula).reject(&:pinned?).select do |dep| - dep.installed_kegs.empty? || (dep.bottled? && dep.outdated?) - end) - end - formula_list.concat(outdated_dependents) + + outdated_dependents = deps.map(&:to_formula).reject(&:pinned?).select do |dep| + dep.installed_kegs.empty? || (dep.bottled? && dep.outdated?) end + deps.map(&:to_formula).each do |f| + outdated_dependents.concat(f.recursive_dependencies.map(&:to_formula).reject(&:pinned?).select do |dep| + dep.installed_kegs.empty? || (dep.bottled? && dep.outdated?) + end) + end + formula_list.concat(outdated_dependents) formula_list end @@ -430,7 +428,7 @@ module Homebrew unless Homebrew::EnvConfig.no_installed_dependents_check? sized_formulae.concat(Formula.installed.select do |installed_formula| installed_formula.bottled? && installed_formula.outdated? && - installed_formula.deps.required.any? { |dep| sized_formulae.include?(dep.to_formula) } + installed_formula.deps.required.map(&:to_formula).intersect?(sized_formulae) end) end @@ -443,9 +441,7 @@ module Homebrew total_installed_size = 0 total_net_size = 0 - sized_formulae.each do |formula| - next unless (bottle = formula.bottle) - + sized_formulae.select(&:bottle).each do |formula| # Fetch additional bottle metadata (if necessary). bottle.fetch_tab(quiet: !debug) From 2b156ad4c985386d255e0eb698eb7d3c3faccba6 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 7 Mar 2025 16:38:43 +0000 Subject: [PATCH 288/322] build(deps): bump the sorbet group in /Library/Homebrew with 4 updates Dependabot couldn't find the original pull request head commit, 3c4ba633e80f0c1253d4e90744500456b71eb142. --- Library/Homebrew/Gemfile.lock | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/Library/Homebrew/Gemfile.lock b/Library/Homebrew/Gemfile.lock index ae914193d9..9210956299 100644 --- a/Library/Homebrew/Gemfile.lock +++ b/Library/Homebrew/Gemfile.lock @@ -119,15 +119,15 @@ GEM simplecov-html (0.13.1) simplecov_json_formatter (0.1.4) simpleidn (0.2.3) - sorbet (0.5.11888) - sorbet-static (= 0.5.11888) - sorbet-runtime (0.5.11888) - sorbet-static (0.5.11888-aarch64-linux) - sorbet-static (0.5.11888-universal-darwin) - sorbet-static (0.5.11888-x86_64-linux) - sorbet-static-and-runtime (0.5.11888) - sorbet (= 0.5.11888) - sorbet-runtime (= 0.5.11888) + sorbet (0.5.11906) + sorbet-static (= 0.5.11906) + sorbet-runtime (0.5.11906) + sorbet-static (0.5.11906-aarch64-linux) + sorbet-static (0.5.11906-universal-darwin) + sorbet-static (0.5.11906-x86_64-linux) + sorbet-static-and-runtime (0.5.11906) + sorbet (= 0.5.11906) + sorbet-runtime (= 0.5.11906) spoom (1.5.4) erubi (>= 1.10.0) prism (>= 0.28.0) From f47562c874e4b96a1a9ebc48c6c2f9d08afc1cc0 Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Fri, 7 Mar 2025 16:40:07 +0000 Subject: [PATCH 289/322] brew vendor-gems: commit updates. --- Library/Homebrew/Gemfile.lock | 1 + Library/Homebrew/vendor/bundle/bundler/setup.rb | 10 +++++----- .../lib/sorbet-runtime.rb | 0 .../lib/types/_types.rb | 0 .../lib/types/abstract_utils.rb | 0 .../lib/types/boolean.rb | 0 .../lib/types/compatibility_patches.rb | 0 .../lib/types/configuration.rb | 0 .../lib/types/enum.rb | 0 .../lib/types/generic.rb | 0 .../lib/types/helpers.rb | 0 .../lib/types/non_forcing_constants.rb | 0 .../lib/types/private/abstract/data.rb | 0 .../lib/types/private/abstract/declare.rb | 0 .../lib/types/private/abstract/hooks.rb | 0 .../lib/types/private/abstract/validate.rb | 0 .../lib/types/private/caller_utils.rb | 0 .../lib/types/private/casts.rb | 0 .../lib/types/private/class_utils.rb | 0 .../lib/types/private/decl_state.rb | 0 .../lib/types/private/final.rb | 0 .../lib/types/private/methods/_methods.rb | 0 .../lib/types/private/methods/call_validation.rb | 0 .../lib/types/private/methods/call_validation_2_6.rb | 0 .../lib/types/private/methods/call_validation_2_7.rb | 0 .../lib/types/private/methods/decl_builder.rb | 0 .../lib/types/private/methods/modes.rb | 0 .../lib/types/private/methods/signature.rb | 0 .../lib/types/private/methods/signature_validation.rb | 0 .../lib/types/private/mixins/mixins.rb | 0 .../lib/types/private/retry.rb | 0 .../lib/types/private/runtime_levels.rb | 0 .../lib/types/private/sealed.rb | 0 .../lib/types/private/types/not_typed.rb | 0 .../lib/types/private/types/simple_pair_union.rb | 0 .../lib/types/private/types/string_holder.rb | 0 .../lib/types/private/types/type_alias.rb | 0 .../lib/types/private/types/void.rb | 0 .../lib/types/props/_props.rb | 0 .../lib/types/props/constructor.rb | 0 .../lib/types/props/custom_type.rb | 0 .../lib/types/props/decorator.rb | 0 .../lib/types/props/errors.rb | 0 .../lib/types/props/generated_code_validation.rb | 0 .../lib/types/props/has_lazily_specialized_methods.rb | 0 .../lib/types/props/optional.rb | 0 .../lib/types/props/plugin.rb | 0 .../lib/types/props/pretty_printable.rb | 0 .../lib/types/props/private/apply_default.rb | 0 .../lib/types/props/private/deserializer_generator.rb | 0 .../lib/types/props/private/parser.rb | 0 .../lib/types/props/private/serde_transform.rb | 0 .../lib/types/props/private/serializer_generator.rb | 0 .../lib/types/props/private/setter_factory.rb | 0 .../lib/types/props/serializable.rb | 0 .../lib/types/props/type_validation.rb | 0 .../lib/types/props/utils.rb | 0 .../lib/types/props/weak_constructor.rb | 0 .../lib/types/sig.rb | 0 .../lib/types/struct.rb | 0 .../lib/types/types/anything.rb | 0 .../lib/types/types/attached_class.rb | 0 .../lib/types/types/base.rb | 0 .../lib/types/types/class_of.rb | 0 .../lib/types/types/enum.rb | 0 .../lib/types/types/fixed_array.rb | 0 .../lib/types/types/fixed_hash.rb | 0 .../lib/types/types/intersection.rb | 0 .../lib/types/types/noreturn.rb | 0 .../lib/types/types/proc.rb | 0 .../lib/types/types/self_type.rb | 0 .../lib/types/types/simple.rb | 0 .../lib/types/types/t_enum.rb | 0 .../lib/types/types/type_member.rb | 0 .../lib/types/types/type_parameter.rb | 0 .../lib/types/types/type_template.rb | 0 .../lib/types/types/type_variable.rb | 0 .../lib/types/types/typed_array.rb | 0 .../lib/types/types/typed_class.rb | 0 .../lib/types/types/typed_enumerable.rb | 0 .../lib/types/types/typed_enumerator.rb | 0 .../lib/types/types/typed_enumerator_chain.rb | 0 .../lib/types/types/typed_enumerator_lazy.rb | 0 .../lib/types/types/typed_hash.rb | 0 .../lib/types/types/typed_range.rb | 0 .../lib/types/types/typed_set.rb | 0 .../lib/types/types/union.rb | 0 .../lib/types/types/untyped.rb | 0 .../lib/types/utils.rb | 0 89 files changed, 6 insertions(+), 5 deletions(-) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11888 => sorbet-runtime-0.5.11906}/lib/sorbet-runtime.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11888 => sorbet-runtime-0.5.11906}/lib/types/_types.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11888 => sorbet-runtime-0.5.11906}/lib/types/abstract_utils.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11888 => sorbet-runtime-0.5.11906}/lib/types/boolean.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11888 => sorbet-runtime-0.5.11906}/lib/types/compatibility_patches.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11888 => sorbet-runtime-0.5.11906}/lib/types/configuration.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11888 => sorbet-runtime-0.5.11906}/lib/types/enum.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11888 => sorbet-runtime-0.5.11906}/lib/types/generic.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11888 => sorbet-runtime-0.5.11906}/lib/types/helpers.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11888 => sorbet-runtime-0.5.11906}/lib/types/non_forcing_constants.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11888 => sorbet-runtime-0.5.11906}/lib/types/private/abstract/data.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11888 => sorbet-runtime-0.5.11906}/lib/types/private/abstract/declare.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11888 => sorbet-runtime-0.5.11906}/lib/types/private/abstract/hooks.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11888 => sorbet-runtime-0.5.11906}/lib/types/private/abstract/validate.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11888 => sorbet-runtime-0.5.11906}/lib/types/private/caller_utils.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11888 => sorbet-runtime-0.5.11906}/lib/types/private/casts.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11888 => sorbet-runtime-0.5.11906}/lib/types/private/class_utils.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11888 => sorbet-runtime-0.5.11906}/lib/types/private/decl_state.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11888 => sorbet-runtime-0.5.11906}/lib/types/private/final.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11888 => sorbet-runtime-0.5.11906}/lib/types/private/methods/_methods.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11888 => sorbet-runtime-0.5.11906}/lib/types/private/methods/call_validation.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11888 => sorbet-runtime-0.5.11906}/lib/types/private/methods/call_validation_2_6.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11888 => sorbet-runtime-0.5.11906}/lib/types/private/methods/call_validation_2_7.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11888 => sorbet-runtime-0.5.11906}/lib/types/private/methods/decl_builder.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11888 => sorbet-runtime-0.5.11906}/lib/types/private/methods/modes.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11888 => sorbet-runtime-0.5.11906}/lib/types/private/methods/signature.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11888 => sorbet-runtime-0.5.11906}/lib/types/private/methods/signature_validation.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11888 => sorbet-runtime-0.5.11906}/lib/types/private/mixins/mixins.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11888 => sorbet-runtime-0.5.11906}/lib/types/private/retry.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11888 => sorbet-runtime-0.5.11906}/lib/types/private/runtime_levels.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11888 => sorbet-runtime-0.5.11906}/lib/types/private/sealed.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11888 => sorbet-runtime-0.5.11906}/lib/types/private/types/not_typed.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11888 => sorbet-runtime-0.5.11906}/lib/types/private/types/simple_pair_union.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11888 => sorbet-runtime-0.5.11906}/lib/types/private/types/string_holder.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11888 => sorbet-runtime-0.5.11906}/lib/types/private/types/type_alias.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11888 => sorbet-runtime-0.5.11906}/lib/types/private/types/void.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11888 => sorbet-runtime-0.5.11906}/lib/types/props/_props.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11888 => sorbet-runtime-0.5.11906}/lib/types/props/constructor.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11888 => sorbet-runtime-0.5.11906}/lib/types/props/custom_type.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11888 => sorbet-runtime-0.5.11906}/lib/types/props/decorator.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11888 => sorbet-runtime-0.5.11906}/lib/types/props/errors.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11888 => sorbet-runtime-0.5.11906}/lib/types/props/generated_code_validation.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11888 => sorbet-runtime-0.5.11906}/lib/types/props/has_lazily_specialized_methods.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11888 => sorbet-runtime-0.5.11906}/lib/types/props/optional.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11888 => sorbet-runtime-0.5.11906}/lib/types/props/plugin.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11888 => sorbet-runtime-0.5.11906}/lib/types/props/pretty_printable.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11888 => sorbet-runtime-0.5.11906}/lib/types/props/private/apply_default.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11888 => sorbet-runtime-0.5.11906}/lib/types/props/private/deserializer_generator.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11888 => sorbet-runtime-0.5.11906}/lib/types/props/private/parser.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11888 => sorbet-runtime-0.5.11906}/lib/types/props/private/serde_transform.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11888 => sorbet-runtime-0.5.11906}/lib/types/props/private/serializer_generator.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11888 => sorbet-runtime-0.5.11906}/lib/types/props/private/setter_factory.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11888 => sorbet-runtime-0.5.11906}/lib/types/props/serializable.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11888 => sorbet-runtime-0.5.11906}/lib/types/props/type_validation.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11888 => sorbet-runtime-0.5.11906}/lib/types/props/utils.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11888 => sorbet-runtime-0.5.11906}/lib/types/props/weak_constructor.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11888 => sorbet-runtime-0.5.11906}/lib/types/sig.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11888 => sorbet-runtime-0.5.11906}/lib/types/struct.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11888 => sorbet-runtime-0.5.11906}/lib/types/types/anything.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11888 => sorbet-runtime-0.5.11906}/lib/types/types/attached_class.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11888 => sorbet-runtime-0.5.11906}/lib/types/types/base.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11888 => sorbet-runtime-0.5.11906}/lib/types/types/class_of.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11888 => sorbet-runtime-0.5.11906}/lib/types/types/enum.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11888 => sorbet-runtime-0.5.11906}/lib/types/types/fixed_array.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11888 => sorbet-runtime-0.5.11906}/lib/types/types/fixed_hash.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11888 => sorbet-runtime-0.5.11906}/lib/types/types/intersection.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11888 => sorbet-runtime-0.5.11906}/lib/types/types/noreturn.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11888 => sorbet-runtime-0.5.11906}/lib/types/types/proc.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11888 => sorbet-runtime-0.5.11906}/lib/types/types/self_type.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11888 => sorbet-runtime-0.5.11906}/lib/types/types/simple.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11888 => sorbet-runtime-0.5.11906}/lib/types/types/t_enum.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11888 => sorbet-runtime-0.5.11906}/lib/types/types/type_member.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11888 => sorbet-runtime-0.5.11906}/lib/types/types/type_parameter.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11888 => sorbet-runtime-0.5.11906}/lib/types/types/type_template.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11888 => sorbet-runtime-0.5.11906}/lib/types/types/type_variable.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11888 => sorbet-runtime-0.5.11906}/lib/types/types/typed_array.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11888 => sorbet-runtime-0.5.11906}/lib/types/types/typed_class.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11888 => sorbet-runtime-0.5.11906}/lib/types/types/typed_enumerable.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11888 => sorbet-runtime-0.5.11906}/lib/types/types/typed_enumerator.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11888 => sorbet-runtime-0.5.11906}/lib/types/types/typed_enumerator_chain.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11888 => sorbet-runtime-0.5.11906}/lib/types/types/typed_enumerator_lazy.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11888 => sorbet-runtime-0.5.11906}/lib/types/types/typed_hash.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11888 => sorbet-runtime-0.5.11906}/lib/types/types/typed_range.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11888 => sorbet-runtime-0.5.11906}/lib/types/types/typed_set.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11888 => sorbet-runtime-0.5.11906}/lib/types/types/union.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11888 => sorbet-runtime-0.5.11906}/lib/types/types/untyped.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11888 => sorbet-runtime-0.5.11906}/lib/types/utils.rb (100%) diff --git a/Library/Homebrew/Gemfile.lock b/Library/Homebrew/Gemfile.lock index 9210956299..54807dff99 100644 --- a/Library/Homebrew/Gemfile.lock +++ b/Library/Homebrew/Gemfile.lock @@ -158,6 +158,7 @@ GEM PLATFORMS aarch64-linux + arm-linux arm64-darwin x86_64-darwin x86_64-linux diff --git a/Library/Homebrew/vendor/bundle/bundler/setup.rb b/Library/Homebrew/vendor/bundle/bundler/setup.rb index 810c594e4f..8565c5310d 100644 --- a/Library/Homebrew/vendor/bundle/bundler/setup.rb +++ b/Library/Homebrew/vendor/bundle/bundler/setup.rb @@ -63,7 +63,7 @@ $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/minitest-5.25.4/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/netrc-0.11.0/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/parallel-1.26.3/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/parallel_tests-5.0.0/lib") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/parallel_tests-5.0.1/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/extensions/arm64-darwin-20/#{Gem.extension_api_version}/racc-1.8.1") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/racc-1.8.1/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/parser-3.3.7.1/lib") @@ -75,7 +75,7 @@ $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/extensions/arm64-darwin-20/#{Gem.extension_api_version}/pycall-1.5.2") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/pycall-1.5.2/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rainbow-3.1.1/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-runtime-0.5.11888/lib") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-runtime-0.5.11906/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rbi-0.2.4/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/extensions/arm64-darwin-20/#{Gem.extension_api_version}/rbs-3.8.1") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rbs-3.8.1/lib") @@ -107,9 +107,9 @@ $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/simplecov_json_formatter-0.1.4/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/simplecov-0.22.0/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/simplecov-cobertura-2.1.0/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-static-0.5.11888-universal-darwin/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-0.5.11888/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-static-and-runtime-0.5.11888/lib") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-static-0.5.11906-universal-darwin/lib") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-0.5.11906/lib") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-static-and-runtime-0.5.11906/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/thor-1.3.2/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/spoom-1.5.4/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/extensions/arm64-darwin-20/#{Gem.extension_api_version}/stackprof-0.2.27") diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/sorbet-runtime.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/sorbet-runtime.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/sorbet-runtime.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/sorbet-runtime.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/_types.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/_types.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/_types.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/_types.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/abstract_utils.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/abstract_utils.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/abstract_utils.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/abstract_utils.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/boolean.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/boolean.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/boolean.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/boolean.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/compatibility_patches.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/compatibility_patches.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/compatibility_patches.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/compatibility_patches.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/configuration.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/configuration.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/configuration.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/configuration.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/enum.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/enum.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/enum.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/enum.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/generic.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/generic.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/generic.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/generic.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/helpers.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/helpers.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/helpers.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/helpers.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/non_forcing_constants.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/non_forcing_constants.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/non_forcing_constants.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/non_forcing_constants.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/private/abstract/data.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/private/abstract/data.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/private/abstract/data.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/private/abstract/data.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/private/abstract/declare.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/private/abstract/declare.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/private/abstract/declare.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/private/abstract/declare.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/private/abstract/hooks.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/private/abstract/hooks.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/private/abstract/hooks.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/private/abstract/hooks.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/private/abstract/validate.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/private/abstract/validate.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/private/abstract/validate.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/private/abstract/validate.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/private/caller_utils.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/private/caller_utils.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/private/caller_utils.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/private/caller_utils.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/private/casts.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/private/casts.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/private/casts.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/private/casts.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/private/class_utils.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/private/class_utils.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/private/class_utils.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/private/class_utils.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/private/decl_state.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/private/decl_state.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/private/decl_state.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/private/decl_state.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/private/final.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/private/final.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/private/final.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/private/final.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/private/methods/_methods.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/private/methods/_methods.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/private/methods/_methods.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/private/methods/_methods.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/private/methods/call_validation.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/private/methods/call_validation.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/private/methods/call_validation.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/private/methods/call_validation.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/private/methods/call_validation_2_6.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/private/methods/call_validation_2_6.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/private/methods/call_validation_2_6.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/private/methods/call_validation_2_6.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/private/methods/call_validation_2_7.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/private/methods/call_validation_2_7.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/private/methods/call_validation_2_7.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/private/methods/call_validation_2_7.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/private/methods/decl_builder.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/private/methods/decl_builder.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/private/methods/decl_builder.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/private/methods/decl_builder.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/private/methods/modes.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/private/methods/modes.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/private/methods/modes.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/private/methods/modes.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/private/methods/signature.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/private/methods/signature.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/private/methods/signature.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/private/methods/signature.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/private/methods/signature_validation.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/private/methods/signature_validation.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/private/methods/signature_validation.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/private/methods/signature_validation.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/private/mixins/mixins.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/private/mixins/mixins.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/private/mixins/mixins.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/private/mixins/mixins.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/private/retry.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/private/retry.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/private/retry.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/private/retry.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/private/runtime_levels.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/private/runtime_levels.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/private/runtime_levels.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/private/runtime_levels.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/private/sealed.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/private/sealed.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/private/sealed.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/private/sealed.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/private/types/not_typed.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/private/types/not_typed.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/private/types/not_typed.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/private/types/not_typed.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/private/types/simple_pair_union.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/private/types/simple_pair_union.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/private/types/simple_pair_union.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/private/types/simple_pair_union.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/private/types/string_holder.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/private/types/string_holder.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/private/types/string_holder.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/private/types/string_holder.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/private/types/type_alias.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/private/types/type_alias.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/private/types/type_alias.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/private/types/type_alias.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/private/types/void.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/private/types/void.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/private/types/void.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/private/types/void.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/props/_props.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/props/_props.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/props/_props.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/props/_props.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/props/constructor.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/props/constructor.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/props/constructor.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/props/constructor.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/props/custom_type.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/props/custom_type.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/props/custom_type.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/props/custom_type.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/props/decorator.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/props/decorator.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/props/decorator.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/props/decorator.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/props/errors.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/props/errors.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/props/errors.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/props/errors.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/props/generated_code_validation.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/props/generated_code_validation.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/props/generated_code_validation.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/props/generated_code_validation.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/props/has_lazily_specialized_methods.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/props/has_lazily_specialized_methods.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/props/has_lazily_specialized_methods.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/props/has_lazily_specialized_methods.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/props/optional.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/props/optional.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/props/optional.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/props/optional.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/props/plugin.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/props/plugin.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/props/plugin.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/props/plugin.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/props/pretty_printable.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/props/pretty_printable.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/props/pretty_printable.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/props/pretty_printable.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/props/private/apply_default.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/props/private/apply_default.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/props/private/apply_default.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/props/private/apply_default.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/props/private/deserializer_generator.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/props/private/deserializer_generator.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/props/private/deserializer_generator.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/props/private/deserializer_generator.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/props/private/parser.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/props/private/parser.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/props/private/parser.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/props/private/parser.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/props/private/serde_transform.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/props/private/serde_transform.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/props/private/serde_transform.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/props/private/serde_transform.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/props/private/serializer_generator.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/props/private/serializer_generator.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/props/private/serializer_generator.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/props/private/serializer_generator.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/props/private/setter_factory.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/props/private/setter_factory.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/props/private/setter_factory.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/props/private/setter_factory.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/props/serializable.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/props/serializable.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/props/serializable.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/props/serializable.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/props/type_validation.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/props/type_validation.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/props/type_validation.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/props/type_validation.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/props/utils.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/props/utils.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/props/utils.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/props/utils.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/props/weak_constructor.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/props/weak_constructor.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/props/weak_constructor.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/props/weak_constructor.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/sig.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/sig.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/sig.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/sig.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/struct.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/struct.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/struct.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/struct.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/types/anything.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/types/anything.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/types/anything.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/types/anything.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/types/attached_class.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/types/attached_class.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/types/attached_class.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/types/attached_class.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/types/base.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/types/base.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/types/base.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/types/base.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/types/class_of.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/types/class_of.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/types/class_of.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/types/class_of.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/types/enum.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/types/enum.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/types/enum.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/types/enum.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/types/fixed_array.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/types/fixed_array.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/types/fixed_array.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/types/fixed_array.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/types/fixed_hash.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/types/fixed_hash.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/types/fixed_hash.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/types/fixed_hash.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/types/intersection.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/types/intersection.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/types/intersection.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/types/intersection.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/types/noreturn.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/types/noreturn.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/types/noreturn.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/types/noreturn.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/types/proc.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/types/proc.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/types/proc.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/types/proc.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/types/self_type.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/types/self_type.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/types/self_type.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/types/self_type.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/types/simple.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/types/simple.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/types/simple.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/types/simple.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/types/t_enum.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/types/t_enum.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/types/t_enum.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/types/t_enum.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/types/type_member.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/types/type_member.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/types/type_member.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/types/type_member.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/types/type_parameter.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/types/type_parameter.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/types/type_parameter.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/types/type_parameter.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/types/type_template.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/types/type_template.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/types/type_template.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/types/type_template.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/types/type_variable.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/types/type_variable.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/types/type_variable.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/types/type_variable.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/types/typed_array.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/types/typed_array.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/types/typed_array.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/types/typed_array.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/types/typed_class.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/types/typed_class.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/types/typed_class.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/types/typed_class.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/types/typed_enumerable.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/types/typed_enumerable.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/types/typed_enumerable.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/types/typed_enumerable.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/types/typed_enumerator.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/types/typed_enumerator.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/types/typed_enumerator.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/types/typed_enumerator.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/types/typed_enumerator_chain.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/types/typed_enumerator_chain.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/types/typed_enumerator_chain.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/types/typed_enumerator_chain.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/types/typed_enumerator_lazy.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/types/typed_enumerator_lazy.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/types/typed_enumerator_lazy.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/types/typed_enumerator_lazy.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/types/typed_hash.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/types/typed_hash.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/types/typed_hash.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/types/typed_hash.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/types/typed_range.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/types/typed_range.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/types/typed_range.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/types/typed_range.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/types/typed_set.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/types/typed_set.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/types/typed_set.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/types/typed_set.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/types/union.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/types/union.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/types/union.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/types/union.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/types/untyped.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/types/untyped.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/types/untyped.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/types/untyped.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/utils.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/utils.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11888/lib/types/utils.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/utils.rb From c1d80ecf540901a94382b7a96b94755f60ceb090 Mon Sep 17 00:00:00 2001 From: thibhero Date: Fri, 7 Mar 2025 16:18:17 -0500 Subject: [PATCH 290/322] resolving conversations from pull request --- Library/Homebrew/install.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Library/Homebrew/install.rb b/Library/Homebrew/install.rb index db240ee171..40503f6783 100644 --- a/Library/Homebrew/install.rb +++ b/Library/Homebrew/install.rb @@ -334,8 +334,7 @@ module Homebrew sized_formulae = compute_sized_formulae(formulae, args: args) sizes = compute_total_sizes(sized_formulae, debug: args.debug?) - puts "#{::Utils.pluralize("Formul", sized_formulae.count, plural: "ae", - singular: "a")} \ + puts "#{::Utils.pluralize("Formul", sized_formulae.count, plural: "ae")} \ (#{sized_formulae.count}): #{sized_formulae.join(", ")}\n\n" puts "Download Size: #{disk_usage_readable(sizes[:download])}" puts "Install Size: #{disk_usage_readable(sizes[:installed])}" @@ -442,6 +441,7 @@ module Homebrew total_net_size = 0 sized_formulae.select(&:bottle).each do |formula| + bottle = formula.bottle # Fetch additional bottle metadata (if necessary). bottle.fetch_tab(quiet: !debug) From 96983ee4efe211497a34d3eb78f96c3eb16fda6a Mon Sep 17 00:00:00 2001 From: thibhero Date: Fri, 7 Mar 2025 16:21:05 -0500 Subject: [PATCH 291/322] Specifying the plural of formula --- Library/Homebrew/install.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/install.rb b/Library/Homebrew/install.rb index 40503f6783..1f14cbd211 100644 --- a/Library/Homebrew/install.rb +++ b/Library/Homebrew/install.rb @@ -334,7 +334,7 @@ module Homebrew sized_formulae = compute_sized_formulae(formulae, args: args) sizes = compute_total_sizes(sized_formulae, debug: args.debug?) - puts "#{::Utils.pluralize("Formul", sized_formulae.count, plural: "ae")} \ + puts "#{::Utils.pluralize("Formula", sized_formulae.count, plural: "e")} \ (#{sized_formulae.count}): #{sized_formulae.join(", ")}\n\n" puts "Download Size: #{disk_usage_readable(sizes[:download])}" puts "Install Size: #{disk_usage_readable(sizes[:installed])}" From 9096a111d7e48c6c3dd98f1bf769a6d33d01c630 Mon Sep 17 00:00:00 2001 From: Sam Ford <1584702+samford@users.noreply.github.com> Date: Fri, 7 Mar 2025 20:28:03 -0500 Subject: [PATCH 292/322] curl_headers: Handle POST requests `Livecheck::Strategy.page_headers` uses `Utils::Curl.curl_headers` but the method only handles `HEAD` and `GET` requests. I recently added `POST` support to livecheck but forgot to update `curl_headers` in the process, so `livecheck` blocks using the `HeaderMatch` strategy along with `post_form` or `post_json` will fail because curl doesn't allow both `--head` and `--data`/`--json` arguments. This addresses the issue by updating `curl_headers` to handle `POST` requests and skip the `GET` retry logic. --- Library/Homebrew/utils/curl.rb | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/Library/Homebrew/utils/curl.rb b/Library/Homebrew/utils/curl.rb index fb51876e0e..0fda86f324 100644 --- a/Library/Homebrew/utils/curl.rb +++ b/Library/Homebrew/utils/curl.rb @@ -277,15 +277,20 @@ module Utils ).returns(T::Hash[Symbol, T.untyped]) } def curl_headers(*args, wanted_headers: [], **options) - get_retry_args = ["--request", "GET"] + base_args = ["--fail", "--location", "--silent"] + get_retry_args = [] + if (is_post_request = args.include?("POST")) + base_args << "--dump-header" << "-" + else + base_args << "--head" + get_retry_args << "--request" << "GET" + end + # This is a workaround for https://github.com/Homebrew/brew/issues/18213 get_retry_args << "--http1.1" if curl_version >= Version.new("8.7") && curl_version < Version.new("8.10") [[], get_retry_args].each do |request_args| - result = curl_output( - "--fail", "--location", "--silent", "--head", *request_args, *args, - **options - ) + result = curl_output(*base_args, *request_args, *args, **options) # We still receive usable headers with certain non-successful exit # statuses, so we special case them below. @@ -295,6 +300,7 @@ module Utils CURL_RECV_ERROR_EXIT_CODE, ].include?(result.exit_status) parsed_output = parse_curl_output(result.stdout) + return parsed_output if is_post_request if request_args.empty? # If we didn't get any wanted header yet, retry using `GET`. From 8ba1b4400a935036686918358a0da45a676133c0 Mon Sep 17 00:00:00 2001 From: Sam Ford <1584702+samford@users.noreply.github.com> Date: Fri, 7 Mar 2025 20:31:00 -0500 Subject: [PATCH 293/322] livecheck: Include Content-Length header for POST Some servers will return an error response if a `Content-Length` header isn't included in a `POST` request, so this adds it to the `post_args` array when `post_form` or `post_json` are used. --- Library/Homebrew/livecheck/strategy.rb | 8 +++++++- Library/Homebrew/test/livecheck/strategy_spec.rb | 12 +++++++++--- 2 files changed, 16 insertions(+), 4 deletions(-) diff --git a/Library/Homebrew/livecheck/strategy.rb b/Library/Homebrew/livecheck/strategy.rb index 56d0ecb168..92b75552fb 100644 --- a/Library/Homebrew/livecheck/strategy.rb +++ b/Library/Homebrew/livecheck/strategy.rb @@ -178,7 +178,7 @@ module Homebrew ).returns(T::Array[String]) } def self.post_args(post_form: nil, post_json: nil) - if post_form.present? + args = if post_form.present? require "uri" ["--data", URI.encode_www_form(post_form)] elsif post_json.present? @@ -187,6 +187,12 @@ module Homebrew else [] end + + if (content_length = args[1]&.length) + args << "--header" << "Content-Length: #{content_length}" + end + + args end # Collects HTTP response headers, starting with the provided URL. diff --git a/Library/Homebrew/test/livecheck/strategy_spec.rb b/Library/Homebrew/test/livecheck/strategy_spec.rb index 4ef416c331..396fb5ccb0 100644 --- a/Library/Homebrew/test/livecheck/strategy_spec.rb +++ b/Library/Homebrew/test/livecheck/strategy_spec.rb @@ -144,16 +144,22 @@ RSpec.describe Homebrew::Livecheck::Strategy do end describe "::post_args" do + let(:form_string_content_length) { "Content-Length: #{form_string.length}" } + let(:json_string_content_length) { "Content-Length: #{json_string.length}" } + it "returns an array including `--data` and an encoded form data string" do - expect(strategy.post_args(post_form: post_hash)).to eq(["--data", form_string]) + expect(strategy.post_args(post_form: post_hash)) + .to eq(["--data", form_string, "--header", form_string_content_length]) # If both `post_form` and `post_json` are present, only `post_form` will # be used. - expect(strategy.post_args(post_form: post_hash, post_json: post_hash)).to eq(["--data", form_string]) + expect(strategy.post_args(post_form: post_hash, post_json: post_hash)) + .to eq(["--data", form_string, "--header", form_string_content_length]) end it "returns an array including `--json` and a JSON string" do - expect(strategy.post_args(post_json: post_hash)).to eq(["--json", json_string]) + expect(strategy.post_args(post_json: post_hash)) + .to eq(["--json", json_string, "--header", json_string_content_length]) end it "returns an empty array if `post_form` value is blank" do From 86ec9c7c93788663147b65482c5e402c5d6d951d Mon Sep 17 00:00:00 2001 From: Adrian Ho Date: Mon, 10 Mar 2025 10:01:38 +0800 Subject: [PATCH 294/322] diagnostic: enforce user_path_1 prerequisite Resolves #19447. --- Library/Homebrew/diagnostic.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Library/Homebrew/diagnostic.rb b/Library/Homebrew/diagnostic.rb index 45757ece68..bb00169fce 100644 --- a/Library/Homebrew/diagnostic.rb +++ b/Library/Homebrew/diagnostic.rb @@ -426,10 +426,12 @@ module Homebrew end end + @user_path_1_done = true message unless message.empty? end def check_user_path_2 + check_user_path_1 unless defined?(@user_path_1_done) return if @seen_prefix_bin <<~EOS @@ -440,6 +442,7 @@ module Homebrew end def check_user_path_3 + check_user_path_1 unless defined?(@user_path_1_done) return if @seen_prefix_sbin # Don't complain about sbin not being in the path if it doesn't exist From 7f28b979af142d778281f00c59c19364a7343d74 Mon Sep 17 00:00:00 2001 From: Caleb Xu Date: Mon, 10 Mar 2025 03:06:46 -0400 Subject: [PATCH 295/322] keg: fix normalize_pod2man_outputs! for non-UTF-8 manpages --- Library/Homebrew/keg.rb | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Library/Homebrew/keg.rb b/Library/Homebrew/keg.rb index c7035fcf8c..4e4218fbd5 100644 --- a/Library/Homebrew/keg.rb +++ b/Library/Homebrew/keg.rb @@ -566,6 +566,15 @@ class Keg next unless manpage.file? content = manpage.read + unless content.valid_encoding? + # Occasionally, a manpage might not be encoded as UTF-8. ISO-8859-1 is a + # common alternative that's worth trying in this case. + content = File.read(manpage, encoding: "ISO-8859-1") + + # If the encoding is still invalid, we can't do anything about it. + next unless content.valid_encoding? + end + content = content.gsub(generated_regex, "") content = content.lines.map do |line| next line unless line.start_with?(".TH") From 1d35406905e645e4f30b318d78ec9f76cbc247ee Mon Sep 17 00:00:00 2001 From: Nanda H Krishna Date: Mon, 10 Mar 2025 13:21:00 -0400 Subject: [PATCH 296/322] livecheck: fix parent reference handling --- Library/Homebrew/livecheck/livecheck.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Library/Homebrew/livecheck/livecheck.rb b/Library/Homebrew/livecheck/livecheck.rb index 13effefbb0..8370b23c59 100644 --- a/Library/Homebrew/livecheck/livecheck.rb +++ b/Library/Homebrew/livecheck/livecheck.rb @@ -895,9 +895,9 @@ module Homebrew block_provided: livecheck_strategy_block.present?, ) strategy = Strategy.from_symbol(livecheck_strategy) || strategies.first - next unless strategy + next if strategy.blank? && livecheck_reference != :parent - strategy_name = livecheck_strategy_names(strategy) + strategy_name = livecheck_strategy_names(strategy) if strategy.present? if strategy.respond_to?(:preprocess_url) url = strategy.preprocess_url(url) From b0ac857f8913b1398de01ff3d8a087caca437879 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 10 Mar 2025 18:24:58 +0000 Subject: [PATCH 297/322] build(deps): bump the sorbet group in /Library/Homebrew with 4 updates Bumps the sorbet group in /Library/Homebrew with 4 updates: [sorbet-static-and-runtime](https://github.com/sorbet/sorbet), [sorbet-runtime](https://github.com/sorbet/sorbet), [sorbet](https://github.com/sorbet/sorbet) and [sorbet-static](https://github.com/sorbet/sorbet). Updates `sorbet-static-and-runtime` from 0.5.11906 to 0.5.11911 - [Release notes](https://github.com/sorbet/sorbet/releases) - [Commits](https://github.com/sorbet/sorbet/commits) Updates `sorbet-runtime` from 0.5.11906 to 0.5.11911 - [Release notes](https://github.com/sorbet/sorbet/releases) - [Commits](https://github.com/sorbet/sorbet/commits) Updates `sorbet` from 0.5.11906 to 0.5.11911 - [Release notes](https://github.com/sorbet/sorbet/releases) - [Commits](https://github.com/sorbet/sorbet/commits) Updates `sorbet-static` from 0.5.11906 to 0.5.11911 - [Release notes](https://github.com/sorbet/sorbet/releases) - [Commits](https://github.com/sorbet/sorbet/commits) --- updated-dependencies: - dependency-name: sorbet-static-and-runtime dependency-type: direct:development update-type: version-update:semver-patch dependency-group: sorbet - dependency-name: sorbet-runtime dependency-type: direct:production update-type: version-update:semver-patch dependency-group: sorbet - dependency-name: sorbet dependency-type: indirect update-type: version-update:semver-patch dependency-group: sorbet - dependency-name: sorbet-static dependency-type: indirect update-type: version-update:semver-patch dependency-group: sorbet ... Signed-off-by: dependabot[bot] --- Library/Homebrew/Gemfile.lock | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/Library/Homebrew/Gemfile.lock b/Library/Homebrew/Gemfile.lock index 54807dff99..4a60c0d28c 100644 --- a/Library/Homebrew/Gemfile.lock +++ b/Library/Homebrew/Gemfile.lock @@ -119,15 +119,15 @@ GEM simplecov-html (0.13.1) simplecov_json_formatter (0.1.4) simpleidn (0.2.3) - sorbet (0.5.11906) - sorbet-static (= 0.5.11906) - sorbet-runtime (0.5.11906) - sorbet-static (0.5.11906-aarch64-linux) - sorbet-static (0.5.11906-universal-darwin) - sorbet-static (0.5.11906-x86_64-linux) - sorbet-static-and-runtime (0.5.11906) - sorbet (= 0.5.11906) - sorbet-runtime (= 0.5.11906) + sorbet (0.5.11911) + sorbet-static (= 0.5.11911) + sorbet-runtime (0.5.11911) + sorbet-static (0.5.11911-aarch64-linux) + sorbet-static (0.5.11911-universal-darwin) + sorbet-static (0.5.11911-x86_64-linux) + sorbet-static-and-runtime (0.5.11911) + sorbet (= 0.5.11911) + sorbet-runtime (= 0.5.11911) spoom (1.5.4) erubi (>= 1.10.0) prism (>= 0.28.0) @@ -158,7 +158,6 @@ GEM PLATFORMS aarch64-linux - arm-linux arm64-darwin x86_64-darwin x86_64-linux From f2ccf370cf0a4db6ed4b07e84d2aaacdb534aba3 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 10 Mar 2025 18:25:15 +0000 Subject: [PATCH 298/322] build(deps-dev): bump rubocop-sorbet in /Library/Homebrew Bumps [rubocop-sorbet](https://github.com/shopify/rubocop-sorbet) from 0.8.9 to 0.9.0. - [Release notes](https://github.com/shopify/rubocop-sorbet/releases) - [Commits](https://github.com/shopify/rubocop-sorbet/compare/v0.8.9...v0.9.0) --- updated-dependencies: - dependency-name: rubocop-sorbet dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- Library/Homebrew/Gemfile.lock | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Library/Homebrew/Gemfile.lock b/Library/Homebrew/Gemfile.lock index 54807dff99..202a8ee72d 100644 --- a/Library/Homebrew/Gemfile.lock +++ b/Library/Homebrew/Gemfile.lock @@ -99,7 +99,8 @@ GEM rubocop-rspec (3.5.0) lint_roller (~> 1.1) rubocop (~> 1.72, >= 1.72.1) - rubocop-sorbet (0.8.9) + rubocop-sorbet (0.9.0) + lint_roller (~> 1.1) rubocop (>= 1) ruby-lsp (0.23.11) language_server-protocol (~> 3.17.0) @@ -158,7 +159,6 @@ GEM PLATFORMS aarch64-linux - arm-linux arm64-darwin x86_64-darwin x86_64-linux From 8e86e933329f255722fbccf1c3a457c9f66bacdb Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 10 Mar 2025 18:25:27 +0000 Subject: [PATCH 299/322] build(deps-dev): bump parallel_tests in /Library/Homebrew Bumps [parallel_tests](https://github.com/grosser/parallel_tests) from 5.0.1 to 5.1.0. - [Changelog](https://github.com/grosser/parallel_tests/blob/master/CHANGELOG.md) - [Commits](https://github.com/grosser/parallel_tests/compare/v5.0.1...v5.1.0) --- updated-dependencies: - dependency-name: parallel_tests dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- Library/Homebrew/Gemfile.lock | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Library/Homebrew/Gemfile.lock b/Library/Homebrew/Gemfile.lock index 54807dff99..f233657501 100644 --- a/Library/Homebrew/Gemfile.lock +++ b/Library/Homebrew/Gemfile.lock @@ -31,7 +31,7 @@ GEM minitest (5.25.4) netrc (0.11.0) parallel (1.26.3) - parallel_tests (5.0.1) + parallel_tests (5.1.0) parallel parser (3.3.7.1) ast (~> 2.4.1) @@ -158,7 +158,6 @@ GEM PLATFORMS aarch64-linux - arm-linux arm64-darwin x86_64-darwin x86_64-linux From 63b87e2a376818356f395b5de204adde8b5143af Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 10 Mar 2025 18:29:42 +0000 Subject: [PATCH 300/322] build(deps): bump actions/attest-build-provenance from 2.2.2 to 2.2.3 Bumps [actions/attest-build-provenance](https://github.com/actions/attest-build-provenance) from 2.2.2 to 2.2.3. - [Release notes](https://github.com/actions/attest-build-provenance/releases) - [Changelog](https://github.com/actions/attest-build-provenance/blob/main/RELEASE.md) - [Commits](https://github.com/actions/attest-build-provenance/compare/bd77c077858b8d561b7a36cbe48ef4cc642ca39d...c074443f1aee8d4aeeae555aebba3282517141b2) --- updated-dependencies: - dependency-name: actions/attest-build-provenance dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- .github/workflows/pkg-installer.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pkg-installer.yml b/.github/workflows/pkg-installer.yml index 8f371bfdba..afdba2743f 100644 --- a/.github/workflows/pkg-installer.yml +++ b/.github/workflows/pkg-installer.yml @@ -133,7 +133,7 @@ jobs: fi - name: Generate build provenance - uses: actions/attest-build-provenance@bd77c077858b8d561b7a36cbe48ef4cc642ca39d # v2.2.2 + uses: actions/attest-build-provenance@c074443f1aee8d4aeeae555aebba3282517141b2 # v2.2.3 with: subject-path: Homebrew-${{ steps.homebrew-version.outputs.version }}.pkg From 2cb7aab67bf4ed9778ae62db7fe8a36b968f3e01 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 10 Mar 2025 18:29:49 +0000 Subject: [PATCH 301/322] build(deps): bump github/codeql-action from 3.28.10 to 3.28.11 Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.28.10 to 3.28.11. - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](https://github.com/github/codeql-action/compare/b56ba49b26e50535fa1e7f7db0f4f7b4bf65d80d...6bb031afdd8eb862ea3fc1848194185e076637e5) --- updated-dependencies: - dependency-name: github/codeql-action dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- .github/workflows/actionlint.yml | 2 +- .github/workflows/codeql-analysis.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/actionlint.yml b/.github/workflows/actionlint.yml index 310fe401fa..4140fcbbd6 100644 --- a/.github/workflows/actionlint.yml +++ b/.github/workflows/actionlint.yml @@ -78,7 +78,7 @@ jobs: path: results.sarif - name: Upload SARIF file - uses: github/codeql-action/upload-sarif@b56ba49b26e50535fa1e7f7db0f4f7b4bf65d80d # v3.28.10 + uses: github/codeql-action/upload-sarif@6bb031afdd8eb862ea3fc1848194185e076637e5 # v3.28.11 with: sarif_file: results.sarif category: zizmor diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index b279cfe0c3..cc9006e023 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -28,7 +28,7 @@ jobs: persist-credentials: false - name: Initialize CodeQL - uses: github/codeql-action/init@b56ba49b26e50535fa1e7f7db0f4f7b4bf65d80d # v3.28.10 + uses: github/codeql-action/init@6bb031afdd8eb862ea3fc1848194185e076637e5 # v3.28.11 with: languages: ruby config: | @@ -36,4 +36,4 @@ jobs: - Library/Homebrew/vendor - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@b56ba49b26e50535fa1e7f7db0f4f7b4bf65d80d # v3.28.10 + uses: github/codeql-action/analyze@6bb031afdd8eb862ea3fc1848194185e076637e5 # v3.28.11 From fa431a529d91a90435c6bc1d15c4cb8c14031db5 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 10 Mar 2025 18:29:53 +0000 Subject: [PATCH 302/322] build(deps): bump ruby/setup-ruby from 1.221.0 to 1.222.0 Bumps [ruby/setup-ruby](https://github.com/ruby/setup-ruby) from 1.221.0 to 1.222.0. - [Release notes](https://github.com/ruby/setup-ruby/releases) - [Changelog](https://github.com/ruby/setup-ruby/blob/master/release.rb) - [Commits](https://github.com/ruby/setup-ruby/compare/32110d4e311bd8996b2a82bf2a43b714ccc91777...277ba2a127aba66d45bad0fa2dc56f80dbfedffa) --- updated-dependencies: - dependency-name: ruby/setup-ruby dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- .github/workflows/docs.yml | 2 +- .github/workflows/rubydoc.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index a44e31398e..24869a8fc9 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -53,7 +53,7 @@ jobs: run: vale docs/ - name: Install Ruby - uses: ruby/setup-ruby@32110d4e311bd8996b2a82bf2a43b714ccc91777 # v1.221.0 + uses: ruby/setup-ruby@277ba2a127aba66d45bad0fa2dc56f80dbfedffa # v1.222.0 with: bundler-cache: true working-directory: docs diff --git a/.github/workflows/rubydoc.yml b/.github/workflows/rubydoc.yml index bbf4fdbf5a..b0945af673 100644 --- a/.github/workflows/rubydoc.yml +++ b/.github/workflows/rubydoc.yml @@ -43,7 +43,7 @@ jobs: persist-credentials: false - name: Install Ruby - uses: ruby/setup-ruby@32110d4e311bd8996b2a82bf2a43b714ccc91777 # v1.221.0 + uses: ruby/setup-ruby@277ba2a127aba66d45bad0fa2dc56f80dbfedffa # v1.222.0 with: bundler-cache: true working-directory: rubydoc From 76954e4daf9dba18fc8c20ca8bdb21de0b1e9d5c Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Mon, 10 Mar 2025 18:46:49 +0000 Subject: [PATCH 303/322] brew vendor-gems: commit updates. --- Library/Homebrew/Gemfile.lock | 1 + Library/Homebrew/vendor/bundle/bundler/setup.rb | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Library/Homebrew/Gemfile.lock b/Library/Homebrew/Gemfile.lock index 202a8ee72d..ac0b43404b 100644 --- a/Library/Homebrew/Gemfile.lock +++ b/Library/Homebrew/Gemfile.lock @@ -159,6 +159,7 @@ GEM PLATFORMS aarch64-linux + arm-linux arm64-darwin x86_64-darwin x86_64-linux diff --git a/Library/Homebrew/vendor/bundle/bundler/setup.rb b/Library/Homebrew/vendor/bundle/bundler/setup.rb index 8565c5310d..0e47940bac 100644 --- a/Library/Homebrew/vendor/bundle/bundler/setup.rb +++ b/Library/Homebrew/vendor/bundle/bundler/setup.rb @@ -98,7 +98,7 @@ $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rubocop-md-2.0.0/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rubocop-performance-1.24.0/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rubocop-rspec-3.5.0/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rubocop-sorbet-0.8.9/lib") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rubocop-sorbet-0.9.0/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/ruby-lsp-0.23.11/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/ruby-macho-4.1.0/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/extensions/arm64-darwin-20/#{Gem.extension_api_version}/ruby-prof-1.7.1") From 44498462c5e4950d7f10ce67ac483580a53b76c7 Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Mon, 10 Mar 2025 18:46:51 +0000 Subject: [PATCH 304/322] brew vendor-gems: commit updates. --- Library/Homebrew/Gemfile.lock | 1 + Library/Homebrew/vendor/bundle/bundler/setup.rb | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Library/Homebrew/Gemfile.lock b/Library/Homebrew/Gemfile.lock index f233657501..3636f34ae4 100644 --- a/Library/Homebrew/Gemfile.lock +++ b/Library/Homebrew/Gemfile.lock @@ -158,6 +158,7 @@ GEM PLATFORMS aarch64-linux + arm-linux arm64-darwin x86_64-darwin x86_64-linux diff --git a/Library/Homebrew/vendor/bundle/bundler/setup.rb b/Library/Homebrew/vendor/bundle/bundler/setup.rb index 8565c5310d..83832c319f 100644 --- a/Library/Homebrew/vendor/bundle/bundler/setup.rb +++ b/Library/Homebrew/vendor/bundle/bundler/setup.rb @@ -63,7 +63,7 @@ $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/minitest-5.25.4/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/netrc-0.11.0/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/parallel-1.26.3/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/parallel_tests-5.0.1/lib") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/parallel_tests-5.1.0/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/extensions/arm64-darwin-20/#{Gem.extension_api_version}/racc-1.8.1") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/racc-1.8.1/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/parser-3.3.7.1/lib") From de79dac6ca86ab66ffbe0e2dac5f397ca8695769 Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Mon, 10 Mar 2025 18:46:51 +0000 Subject: [PATCH 305/322] brew vendor-gems: commit updates. --- Library/Homebrew/Gemfile.lock | 1 + Library/Homebrew/vendor/bundle/bundler/setup.rb | 8 ++++---- .../lib/sorbet-runtime.rb | 0 .../lib/types/_types.rb | 0 .../lib/types/abstract_utils.rb | 0 .../lib/types/boolean.rb | 0 .../lib/types/compatibility_patches.rb | 0 .../lib/types/configuration.rb | 0 .../lib/types/enum.rb | 0 .../lib/types/generic.rb | 0 .../lib/types/helpers.rb | 0 .../lib/types/non_forcing_constants.rb | 0 .../lib/types/private/abstract/data.rb | 0 .../lib/types/private/abstract/declare.rb | 0 .../lib/types/private/abstract/hooks.rb | 0 .../lib/types/private/abstract/validate.rb | 0 .../lib/types/private/caller_utils.rb | 0 .../lib/types/private/casts.rb | 0 .../lib/types/private/class_utils.rb | 0 .../lib/types/private/decl_state.rb | 0 .../lib/types/private/final.rb | 0 .../lib/types/private/methods/_methods.rb | 0 .../lib/types/private/methods/call_validation.rb | 0 .../lib/types/private/methods/call_validation_2_6.rb | 0 .../lib/types/private/methods/call_validation_2_7.rb | 0 .../lib/types/private/methods/decl_builder.rb | 0 .../lib/types/private/methods/modes.rb | 0 .../lib/types/private/methods/signature.rb | 0 .../lib/types/private/methods/signature_validation.rb | 0 .../lib/types/private/mixins/mixins.rb | 0 .../lib/types/private/retry.rb | 0 .../lib/types/private/runtime_levels.rb | 0 .../lib/types/private/sealed.rb | 4 ++-- .../lib/types/private/types/not_typed.rb | 0 .../lib/types/private/types/simple_pair_union.rb | 0 .../lib/types/private/types/string_holder.rb | 0 .../lib/types/private/types/type_alias.rb | 0 .../lib/types/private/types/void.rb | 0 .../lib/types/props/_props.rb | 0 .../lib/types/props/constructor.rb | 0 .../lib/types/props/custom_type.rb | 0 .../lib/types/props/decorator.rb | 0 .../lib/types/props/errors.rb | 0 .../lib/types/props/generated_code_validation.rb | 0 .../lib/types/props/has_lazily_specialized_methods.rb | 0 .../lib/types/props/optional.rb | 0 .../lib/types/props/plugin.rb | 0 .../lib/types/props/pretty_printable.rb | 0 .../lib/types/props/private/apply_default.rb | 0 .../lib/types/props/private/deserializer_generator.rb | 0 .../lib/types/props/private/parser.rb | 0 .../lib/types/props/private/serde_transform.rb | 0 .../lib/types/props/private/serializer_generator.rb | 0 .../lib/types/props/private/setter_factory.rb | 0 .../lib/types/props/serializable.rb | 0 .../lib/types/props/type_validation.rb | 0 .../lib/types/props/utils.rb | 0 .../lib/types/props/weak_constructor.rb | 0 .../lib/types/sig.rb | 0 .../lib/types/struct.rb | 0 .../lib/types/types/anything.rb | 0 .../lib/types/types/attached_class.rb | 0 .../lib/types/types/base.rb | 0 .../lib/types/types/class_of.rb | 0 .../lib/types/types/enum.rb | 0 .../lib/types/types/fixed_array.rb | 0 .../lib/types/types/fixed_hash.rb | 0 .../lib/types/types/intersection.rb | 0 .../lib/types/types/noreturn.rb | 0 .../lib/types/types/proc.rb | 0 .../lib/types/types/self_type.rb | 0 .../lib/types/types/simple.rb | 0 .../lib/types/types/t_enum.rb | 0 .../lib/types/types/type_member.rb | 0 .../lib/types/types/type_parameter.rb | 0 .../lib/types/types/type_template.rb | 0 .../lib/types/types/type_variable.rb | 0 .../lib/types/types/typed_array.rb | 0 .../lib/types/types/typed_class.rb | 0 .../lib/types/types/typed_enumerable.rb | 0 .../lib/types/types/typed_enumerator.rb | 0 .../lib/types/types/typed_enumerator_chain.rb | 0 .../lib/types/types/typed_enumerator_lazy.rb | 0 .../lib/types/types/typed_hash.rb | 0 .../lib/types/types/typed_range.rb | 0 .../lib/types/types/typed_set.rb | 0 .../lib/types/types/union.rb | 0 .../lib/types/types/untyped.rb | 0 .../lib/types/utils.rb | 0 89 files changed, 7 insertions(+), 6 deletions(-) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11906 => sorbet-runtime-0.5.11911}/lib/sorbet-runtime.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11906 => sorbet-runtime-0.5.11911}/lib/types/_types.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11906 => sorbet-runtime-0.5.11911}/lib/types/abstract_utils.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11906 => sorbet-runtime-0.5.11911}/lib/types/boolean.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11906 => sorbet-runtime-0.5.11911}/lib/types/compatibility_patches.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11906 => sorbet-runtime-0.5.11911}/lib/types/configuration.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11906 => sorbet-runtime-0.5.11911}/lib/types/enum.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11906 => sorbet-runtime-0.5.11911}/lib/types/generic.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11906 => sorbet-runtime-0.5.11911}/lib/types/helpers.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11906 => sorbet-runtime-0.5.11911}/lib/types/non_forcing_constants.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11906 => sorbet-runtime-0.5.11911}/lib/types/private/abstract/data.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11906 => sorbet-runtime-0.5.11911}/lib/types/private/abstract/declare.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11906 => sorbet-runtime-0.5.11911}/lib/types/private/abstract/hooks.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11906 => sorbet-runtime-0.5.11911}/lib/types/private/abstract/validate.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11906 => sorbet-runtime-0.5.11911}/lib/types/private/caller_utils.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11906 => sorbet-runtime-0.5.11911}/lib/types/private/casts.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11906 => sorbet-runtime-0.5.11911}/lib/types/private/class_utils.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11906 => sorbet-runtime-0.5.11911}/lib/types/private/decl_state.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11906 => sorbet-runtime-0.5.11911}/lib/types/private/final.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11906 => sorbet-runtime-0.5.11911}/lib/types/private/methods/_methods.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11906 => sorbet-runtime-0.5.11911}/lib/types/private/methods/call_validation.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11906 => sorbet-runtime-0.5.11911}/lib/types/private/methods/call_validation_2_6.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11906 => sorbet-runtime-0.5.11911}/lib/types/private/methods/call_validation_2_7.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11906 => sorbet-runtime-0.5.11911}/lib/types/private/methods/decl_builder.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11906 => sorbet-runtime-0.5.11911}/lib/types/private/methods/modes.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11906 => sorbet-runtime-0.5.11911}/lib/types/private/methods/signature.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11906 => sorbet-runtime-0.5.11911}/lib/types/private/methods/signature_validation.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11906 => sorbet-runtime-0.5.11911}/lib/types/private/mixins/mixins.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11906 => sorbet-runtime-0.5.11911}/lib/types/private/retry.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11906 => sorbet-runtime-0.5.11911}/lib/types/private/runtime_levels.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11906 => sorbet-runtime-0.5.11911}/lib/types/private/sealed.rb (93%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11906 => sorbet-runtime-0.5.11911}/lib/types/private/types/not_typed.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11906 => sorbet-runtime-0.5.11911}/lib/types/private/types/simple_pair_union.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11906 => sorbet-runtime-0.5.11911}/lib/types/private/types/string_holder.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11906 => sorbet-runtime-0.5.11911}/lib/types/private/types/type_alias.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11906 => sorbet-runtime-0.5.11911}/lib/types/private/types/void.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11906 => sorbet-runtime-0.5.11911}/lib/types/props/_props.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11906 => sorbet-runtime-0.5.11911}/lib/types/props/constructor.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11906 => sorbet-runtime-0.5.11911}/lib/types/props/custom_type.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11906 => sorbet-runtime-0.5.11911}/lib/types/props/decorator.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11906 => sorbet-runtime-0.5.11911}/lib/types/props/errors.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11906 => sorbet-runtime-0.5.11911}/lib/types/props/generated_code_validation.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11906 => sorbet-runtime-0.5.11911}/lib/types/props/has_lazily_specialized_methods.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11906 => sorbet-runtime-0.5.11911}/lib/types/props/optional.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11906 => sorbet-runtime-0.5.11911}/lib/types/props/plugin.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11906 => sorbet-runtime-0.5.11911}/lib/types/props/pretty_printable.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11906 => sorbet-runtime-0.5.11911}/lib/types/props/private/apply_default.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11906 => sorbet-runtime-0.5.11911}/lib/types/props/private/deserializer_generator.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11906 => sorbet-runtime-0.5.11911}/lib/types/props/private/parser.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11906 => sorbet-runtime-0.5.11911}/lib/types/props/private/serde_transform.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11906 => sorbet-runtime-0.5.11911}/lib/types/props/private/serializer_generator.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11906 => sorbet-runtime-0.5.11911}/lib/types/props/private/setter_factory.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11906 => sorbet-runtime-0.5.11911}/lib/types/props/serializable.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11906 => sorbet-runtime-0.5.11911}/lib/types/props/type_validation.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11906 => sorbet-runtime-0.5.11911}/lib/types/props/utils.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11906 => sorbet-runtime-0.5.11911}/lib/types/props/weak_constructor.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11906 => sorbet-runtime-0.5.11911}/lib/types/sig.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11906 => sorbet-runtime-0.5.11911}/lib/types/struct.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11906 => sorbet-runtime-0.5.11911}/lib/types/types/anything.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11906 => sorbet-runtime-0.5.11911}/lib/types/types/attached_class.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11906 => sorbet-runtime-0.5.11911}/lib/types/types/base.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11906 => sorbet-runtime-0.5.11911}/lib/types/types/class_of.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11906 => sorbet-runtime-0.5.11911}/lib/types/types/enum.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11906 => sorbet-runtime-0.5.11911}/lib/types/types/fixed_array.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11906 => sorbet-runtime-0.5.11911}/lib/types/types/fixed_hash.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11906 => sorbet-runtime-0.5.11911}/lib/types/types/intersection.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11906 => sorbet-runtime-0.5.11911}/lib/types/types/noreturn.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11906 => sorbet-runtime-0.5.11911}/lib/types/types/proc.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11906 => sorbet-runtime-0.5.11911}/lib/types/types/self_type.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11906 => sorbet-runtime-0.5.11911}/lib/types/types/simple.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11906 => sorbet-runtime-0.5.11911}/lib/types/types/t_enum.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11906 => sorbet-runtime-0.5.11911}/lib/types/types/type_member.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11906 => sorbet-runtime-0.5.11911}/lib/types/types/type_parameter.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11906 => sorbet-runtime-0.5.11911}/lib/types/types/type_template.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11906 => sorbet-runtime-0.5.11911}/lib/types/types/type_variable.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11906 => sorbet-runtime-0.5.11911}/lib/types/types/typed_array.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11906 => sorbet-runtime-0.5.11911}/lib/types/types/typed_class.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11906 => sorbet-runtime-0.5.11911}/lib/types/types/typed_enumerable.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11906 => sorbet-runtime-0.5.11911}/lib/types/types/typed_enumerator.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11906 => sorbet-runtime-0.5.11911}/lib/types/types/typed_enumerator_chain.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11906 => sorbet-runtime-0.5.11911}/lib/types/types/typed_enumerator_lazy.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11906 => sorbet-runtime-0.5.11911}/lib/types/types/typed_hash.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11906 => sorbet-runtime-0.5.11911}/lib/types/types/typed_range.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11906 => sorbet-runtime-0.5.11911}/lib/types/types/typed_set.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11906 => sorbet-runtime-0.5.11911}/lib/types/types/union.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11906 => sorbet-runtime-0.5.11911}/lib/types/types/untyped.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11906 => sorbet-runtime-0.5.11911}/lib/types/utils.rb (100%) diff --git a/Library/Homebrew/Gemfile.lock b/Library/Homebrew/Gemfile.lock index 4a60c0d28c..b4727ca068 100644 --- a/Library/Homebrew/Gemfile.lock +++ b/Library/Homebrew/Gemfile.lock @@ -158,6 +158,7 @@ GEM PLATFORMS aarch64-linux + arm-linux arm64-darwin x86_64-darwin x86_64-linux diff --git a/Library/Homebrew/vendor/bundle/bundler/setup.rb b/Library/Homebrew/vendor/bundle/bundler/setup.rb index 8565c5310d..3b01b62dc3 100644 --- a/Library/Homebrew/vendor/bundle/bundler/setup.rb +++ b/Library/Homebrew/vendor/bundle/bundler/setup.rb @@ -75,7 +75,7 @@ $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/extensions/arm64-darwin-20/#{Gem.extension_api_version}/pycall-1.5.2") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/pycall-1.5.2/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rainbow-3.1.1/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-runtime-0.5.11906/lib") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-runtime-0.5.11911/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rbi-0.2.4/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/extensions/arm64-darwin-20/#{Gem.extension_api_version}/rbs-3.8.1") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rbs-3.8.1/lib") @@ -107,9 +107,9 @@ $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/simplecov_json_formatter-0.1.4/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/simplecov-0.22.0/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/simplecov-cobertura-2.1.0/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-static-0.5.11906-universal-darwin/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-0.5.11906/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-static-and-runtime-0.5.11906/lib") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-static-0.5.11911-universal-darwin/lib") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-0.5.11911/lib") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-static-and-runtime-0.5.11911/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/thor-1.3.2/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/spoom-1.5.4/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/extensions/arm64-darwin-20/#{Gem.extension_api_version}/stackprof-0.2.27") diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/sorbet-runtime.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/sorbet-runtime.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/sorbet-runtime.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/sorbet-runtime.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/_types.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/_types.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/_types.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/_types.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/abstract_utils.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/abstract_utils.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/abstract_utils.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/abstract_utils.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/boolean.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/boolean.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/boolean.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/boolean.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/compatibility_patches.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/compatibility_patches.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/compatibility_patches.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/compatibility_patches.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/configuration.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/configuration.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/configuration.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/configuration.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/enum.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/enum.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/enum.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/enum.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/generic.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/generic.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/generic.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/generic.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/helpers.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/helpers.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/helpers.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/helpers.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/non_forcing_constants.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/non_forcing_constants.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/non_forcing_constants.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/non_forcing_constants.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/private/abstract/data.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/private/abstract/data.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/private/abstract/data.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/private/abstract/data.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/private/abstract/declare.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/private/abstract/declare.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/private/abstract/declare.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/private/abstract/declare.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/private/abstract/hooks.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/private/abstract/hooks.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/private/abstract/hooks.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/private/abstract/hooks.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/private/abstract/validate.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/private/abstract/validate.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/private/abstract/validate.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/private/abstract/validate.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/private/caller_utils.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/private/caller_utils.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/private/caller_utils.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/private/caller_utils.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/private/casts.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/private/casts.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/private/casts.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/private/casts.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/private/class_utils.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/private/class_utils.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/private/class_utils.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/private/class_utils.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/private/decl_state.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/private/decl_state.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/private/decl_state.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/private/decl_state.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/private/final.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/private/final.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/private/final.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/private/final.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/private/methods/_methods.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/private/methods/_methods.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/private/methods/_methods.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/private/methods/_methods.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/private/methods/call_validation.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/private/methods/call_validation.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/private/methods/call_validation.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/private/methods/call_validation.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/private/methods/call_validation_2_6.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/private/methods/call_validation_2_6.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/private/methods/call_validation_2_6.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/private/methods/call_validation_2_6.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/private/methods/call_validation_2_7.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/private/methods/call_validation_2_7.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/private/methods/call_validation_2_7.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/private/methods/call_validation_2_7.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/private/methods/decl_builder.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/private/methods/decl_builder.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/private/methods/decl_builder.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/private/methods/decl_builder.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/private/methods/modes.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/private/methods/modes.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/private/methods/modes.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/private/methods/modes.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/private/methods/signature.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/private/methods/signature.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/private/methods/signature.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/private/methods/signature.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/private/methods/signature_validation.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/private/methods/signature_validation.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/private/methods/signature_validation.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/private/methods/signature_validation.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/private/mixins/mixins.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/private/mixins/mixins.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/private/mixins/mixins.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/private/mixins/mixins.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/private/retry.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/private/retry.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/private/retry.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/private/retry.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/private/runtime_levels.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/private/runtime_levels.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/private/runtime_levels.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/private/runtime_levels.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/private/sealed.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/private/sealed.rb similarity index 93% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/private/sealed.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/private/sealed.rb index 0c912f9a46..7fb8475f75 100644 --- a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/private/sealed.rb +++ b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/private/sealed.rb @@ -22,14 +22,14 @@ module T::Private::Sealed module NoIncludeExtend def included(child) super - caller_loc = T::Private::CallerUtils.find_caller {|loc| !loc.to_s.match(/in `included'$/)} + caller_loc = T::Private::CallerUtils.find_caller {|loc| loc.base_label != 'included'} T::Private::Sealed.validate_inheritance(caller_loc, self, child, 'included') @sorbet_sealed_module_all_subclasses << child end def extended(child) super - caller_loc = T::Private::CallerUtils.find_caller {|loc| !loc.to_s.match(/in `extended'$/)} + caller_loc = T::Private::CallerUtils.find_caller {|loc| loc.base_label != 'extended'} T::Private::Sealed.validate_inheritance(caller_loc, self, child, 'extended') @sorbet_sealed_module_all_subclasses << child end diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/private/types/not_typed.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/private/types/not_typed.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/private/types/not_typed.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/private/types/not_typed.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/private/types/simple_pair_union.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/private/types/simple_pair_union.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/private/types/simple_pair_union.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/private/types/simple_pair_union.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/private/types/string_holder.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/private/types/string_holder.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/private/types/string_holder.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/private/types/string_holder.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/private/types/type_alias.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/private/types/type_alias.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/private/types/type_alias.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/private/types/type_alias.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/private/types/void.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/private/types/void.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/private/types/void.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/private/types/void.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/props/_props.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/props/_props.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/props/_props.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/props/_props.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/props/constructor.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/props/constructor.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/props/constructor.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/props/constructor.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/props/custom_type.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/props/custom_type.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/props/custom_type.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/props/custom_type.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/props/decorator.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/props/decorator.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/props/decorator.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/props/decorator.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/props/errors.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/props/errors.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/props/errors.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/props/errors.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/props/generated_code_validation.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/props/generated_code_validation.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/props/generated_code_validation.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/props/generated_code_validation.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/props/has_lazily_specialized_methods.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/props/has_lazily_specialized_methods.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/props/has_lazily_specialized_methods.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/props/has_lazily_specialized_methods.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/props/optional.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/props/optional.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/props/optional.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/props/optional.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/props/plugin.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/props/plugin.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/props/plugin.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/props/plugin.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/props/pretty_printable.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/props/pretty_printable.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/props/pretty_printable.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/props/pretty_printable.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/props/private/apply_default.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/props/private/apply_default.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/props/private/apply_default.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/props/private/apply_default.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/props/private/deserializer_generator.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/props/private/deserializer_generator.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/props/private/deserializer_generator.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/props/private/deserializer_generator.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/props/private/parser.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/props/private/parser.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/props/private/parser.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/props/private/parser.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/props/private/serde_transform.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/props/private/serde_transform.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/props/private/serde_transform.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/props/private/serde_transform.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/props/private/serializer_generator.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/props/private/serializer_generator.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/props/private/serializer_generator.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/props/private/serializer_generator.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/props/private/setter_factory.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/props/private/setter_factory.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/props/private/setter_factory.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/props/private/setter_factory.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/props/serializable.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/props/serializable.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/props/serializable.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/props/serializable.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/props/type_validation.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/props/type_validation.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/props/type_validation.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/props/type_validation.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/props/utils.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/props/utils.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/props/utils.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/props/utils.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/props/weak_constructor.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/props/weak_constructor.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/props/weak_constructor.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/props/weak_constructor.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/sig.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/sig.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/sig.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/sig.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/struct.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/struct.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/struct.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/struct.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/types/anything.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/types/anything.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/types/anything.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/types/anything.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/types/attached_class.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/types/attached_class.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/types/attached_class.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/types/attached_class.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/types/base.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/types/base.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/types/base.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/types/base.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/types/class_of.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/types/class_of.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/types/class_of.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/types/class_of.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/types/enum.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/types/enum.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/types/enum.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/types/enum.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/types/fixed_array.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/types/fixed_array.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/types/fixed_array.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/types/fixed_array.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/types/fixed_hash.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/types/fixed_hash.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/types/fixed_hash.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/types/fixed_hash.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/types/intersection.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/types/intersection.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/types/intersection.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/types/intersection.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/types/noreturn.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/types/noreturn.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/types/noreturn.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/types/noreturn.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/types/proc.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/types/proc.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/types/proc.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/types/proc.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/types/self_type.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/types/self_type.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/types/self_type.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/types/self_type.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/types/simple.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/types/simple.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/types/simple.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/types/simple.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/types/t_enum.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/types/t_enum.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/types/t_enum.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/types/t_enum.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/types/type_member.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/types/type_member.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/types/type_member.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/types/type_member.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/types/type_parameter.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/types/type_parameter.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/types/type_parameter.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/types/type_parameter.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/types/type_template.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/types/type_template.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/types/type_template.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/types/type_template.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/types/type_variable.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/types/type_variable.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/types/type_variable.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/types/type_variable.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/types/typed_array.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/types/typed_array.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/types/typed_array.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/types/typed_array.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/types/typed_class.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/types/typed_class.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/types/typed_class.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/types/typed_class.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/types/typed_enumerable.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/types/typed_enumerable.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/types/typed_enumerable.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/types/typed_enumerable.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/types/typed_enumerator.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/types/typed_enumerator.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/types/typed_enumerator.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/types/typed_enumerator.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/types/typed_enumerator_chain.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/types/typed_enumerator_chain.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/types/typed_enumerator_chain.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/types/typed_enumerator_chain.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/types/typed_enumerator_lazy.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/types/typed_enumerator_lazy.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/types/typed_enumerator_lazy.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/types/typed_enumerator_lazy.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/types/typed_hash.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/types/typed_hash.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/types/typed_hash.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/types/typed_hash.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/types/typed_range.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/types/typed_range.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/types/typed_range.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/types/typed_range.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/types/typed_set.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/types/typed_set.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/types/typed_set.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/types/typed_set.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/types/union.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/types/union.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/types/union.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/types/union.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/types/untyped.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/types/untyped.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/types/untyped.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/types/untyped.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/utils.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/utils.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11906/lib/types/utils.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/utils.rb From 9c17b633de2633b8b3781471c2d8538087f5e815 Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Mon, 10 Mar 2025 18:46:57 +0000 Subject: [PATCH 306/322] Update RBI files for parallel_tests. Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow. --- .../gems/{parallel_tests@5.0.1.rbi => parallel_tests@5.1.0.rbi} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename Library/Homebrew/sorbet/rbi/gems/{parallel_tests@5.0.1.rbi => parallel_tests@5.1.0.rbi} (100%) diff --git a/Library/Homebrew/sorbet/rbi/gems/parallel_tests@5.0.1.rbi b/Library/Homebrew/sorbet/rbi/gems/parallel_tests@5.1.0.rbi similarity index 100% rename from Library/Homebrew/sorbet/rbi/gems/parallel_tests@5.0.1.rbi rename to Library/Homebrew/sorbet/rbi/gems/parallel_tests@5.1.0.rbi From e22cbc5a4d3f8b0ba2f3a870e78d5d33f6dc3eab Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 10 Mar 2025 19:12:22 +0000 Subject: [PATCH 307/322] build(deps): bump setuptools in /Library/Homebrew/formula-analytics Bumps [setuptools](https://github.com/pypa/setuptools) from 75.8.2 to 76.0.0. - [Release notes](https://github.com/pypa/setuptools/releases) - [Changelog](https://github.com/pypa/setuptools/blob/main/NEWS.rst) - [Commits](https://github.com/pypa/setuptools/compare/v75.8.2...v76.0.0) --- updated-dependencies: - dependency-name: setuptools dependency-type: indirect update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- Library/Homebrew/formula-analytics/requirements.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Library/Homebrew/formula-analytics/requirements.txt b/Library/Homebrew/formula-analytics/requirements.txt index 5aefc1d901..41c27aad02 100644 --- a/Library/Homebrew/formula-analytics/requirements.txt +++ b/Library/Homebrew/formula-analytics/requirements.txt @@ -78,7 +78,7 @@ urllib3==2.3.0 \ # via influxdb3-python # The following packages are considered to be unsafe in a requirements file: -setuptools==75.8.2 \ - --hash=sha256:4880473a969e5f23f2a2be3646b2dfd84af9028716d398e46192f84bc36900d2 \ - --hash=sha256:558e47c15f1811c1fa7adbd0096669bf76c1d3f433f58324df69f3f5ecac4e8f +setuptools==76.0.0 \ + --hash=sha256:199466a166ff664970d0ee145839f5582cb9bca7a0a3a2e795b6a9cb2308e9c6 \ + --hash=sha256:43b4ee60e10b0d0ee98ad11918e114c70701bc6051662a9a675a0496c1a158f4 # via influxdb3-python From 8f2317f9084a4b9eb3ffc6c707378a717dec3f5a Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Tue, 11 Mar 2025 10:09:23 +0000 Subject: [PATCH 308/322] Update manpage and completions. Autogenerated by the [sponsors-maintainers-man-completions](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/sponsors-maintainers-man-completions.yml) workflow. --- completions/bash/brew | 4 ++++ completions/fish/brew.fish | 4 ++++ completions/zsh/_brew | 12 ++++++++---- docs/Manpage.md | 31 +++++++++++++++++++++++++++++++ manpages/brew.1 | 18 ++++++++++++++++++ 5 files changed, 65 insertions(+), 4 deletions(-) diff --git a/completions/bash/brew b/completions/bash/brew index 704a02b4a5..0bba26ebb5 100644 --- a/completions/bash/brew +++ b/completions/bash/brew @@ -1367,6 +1367,7 @@ _brew_instal() { --HEAD --adopt --appdir + --ask --audio-unit-plugindir --binaries --bottle-arch @@ -1431,6 +1432,7 @@ _brew_install() { --HEAD --adopt --appdir + --ask --audio-unit-plugindir --binaries --bottle-arch @@ -2090,6 +2092,7 @@ _brew_reinstall() { __brewcomp " --adopt --appdir + --ask --audio-unit-plugindir --binaries --build-from-source @@ -2869,6 +2872,7 @@ _brew_upgrade() { -*) __brewcomp " --appdir + --ask --audio-unit-plugindir --binaries --build-from-source diff --git a/completions/fish/brew.fish b/completions/fish/brew.fish index 1a00fe99aa..5dc8a97696 100644 --- a/completions/fish/brew.fish +++ b/completions/fish/brew.fish @@ -910,6 +910,7 @@ __fish_brew_complete_arg 'info; and not __fish_seen_argument -l formula -l formu __fish_brew_complete_arg 'instal' -l HEAD -d 'If formula defines it, install the HEAD version, aka. main, trunk, unstable, master' __fish_brew_complete_arg 'instal' -l adopt -d 'Adopt existing artifacts in the destination that are identical to those being installed. Cannot be combined with `--force`' __fish_brew_complete_arg 'instal' -l appdir -d 'Target location for Applications (default: `/Applications`)' +__fish_brew_complete_arg 'instal' -l ask -d 'Ask for confirmation before downloading and installing formulae. Print bottles and dependencies download size and install size' __fish_brew_complete_arg 'instal' -l audio-unit-plugindir -d 'Target location for Audio Unit Plugins (default: `~/Library/Audio/Plug-Ins/Components`)' __fish_brew_complete_arg 'instal' -l binaries -d 'Disable/enable linking of helper executables (default: enabled)' __fish_brew_complete_arg 'instal' -l bottle-arch -d 'Optimise bottles for the specified architecture rather than the oldest architecture supported by the version of macOS the bottles are built on' @@ -965,6 +966,7 @@ __fish_brew_complete_cmd 'install' 'Install a formula or cask' __fish_brew_complete_arg 'install' -l HEAD -d 'If formula defines it, install the HEAD version, aka. main, trunk, unstable, master' __fish_brew_complete_arg 'install' -l adopt -d 'Adopt existing artifacts in the destination that are identical to those being installed. Cannot be combined with `--force`' __fish_brew_complete_arg 'install' -l appdir -d 'Target location for Applications (default: `/Applications`)' +__fish_brew_complete_arg 'install' -l ask -d 'Ask for confirmation before downloading and installing formulae. Print bottles and dependencies download size and install size' __fish_brew_complete_arg 'install' -l audio-unit-plugindir -d 'Target location for Audio Unit Plugins (default: `~/Library/Audio/Plug-Ins/Components`)' __fish_brew_complete_arg 'install' -l binaries -d 'Disable/enable linking of helper executables (default: enabled)' __fish_brew_complete_arg 'install' -l bottle-arch -d 'Optimise bottles for the specified architecture rather than the oldest architecture supported by the version of macOS the bottles are built on' @@ -1372,6 +1374,7 @@ __fish_brew_complete_arg 'readall' -a '(__fish_brew_suggest_taps_installed)' __fish_brew_complete_cmd 'reinstall' 'Uninstall and then reinstall a formula or cask using the same options it was originally installed with, plus any appended options specific to a formula' __fish_brew_complete_arg 'reinstall' -l adopt -d 'Adopt existing artifacts in the destination that are identical to those being installed. Cannot be combined with `--force`' __fish_brew_complete_arg 'reinstall' -l appdir -d 'Target location for Applications (default: `/Applications`)' +__fish_brew_complete_arg 'reinstall' -l ask -d 'Ask for confirmation before downloading and upgrading formulae. Print bottles and dependencies download size, install and net install size' __fish_brew_complete_arg 'reinstall' -l audio-unit-plugindir -d 'Target location for Audio Unit Plugins (default: `~/Library/Audio/Plug-Ins/Components`)' __fish_brew_complete_arg 'reinstall' -l binaries -d 'Disable/enable linking of helper executables (default: enabled)' __fish_brew_complete_arg 'reinstall' -l build-from-source -d 'Compile formula from source even if a bottle is available' @@ -1813,6 +1816,7 @@ __fish_brew_complete_arg 'update-test' -l verbose -d 'Make some output more verb __fish_brew_complete_cmd 'upgrade' 'Upgrade outdated casks and outdated, unpinned formulae using the same options they were originally installed with, plus any appended brew formula options' __fish_brew_complete_arg 'upgrade' -l appdir -d 'Target location for Applications (default: `/Applications`)' +__fish_brew_complete_arg 'upgrade' -l ask -d 'Ask for confirmation before downloading and upgrading formulae. Print bottles and dependencies download size, install and net install size' __fish_brew_complete_arg 'upgrade' -l audio-unit-plugindir -d 'Target location for Audio Unit Plugins (default: `~/Library/Audio/Plug-Ins/Components`)' __fish_brew_complete_arg 'upgrade' -l binaries -d 'Disable/enable linking of helper executables (default: enabled)' __fish_brew_complete_arg 'upgrade' -l build-from-source -d 'Compile formula from source even if a bottle is available' diff --git a/completions/zsh/_brew b/completions/zsh/_brew index 8213c5fb53..1adde7deeb 100644 --- a/completions/zsh/_brew +++ b/completions/zsh/_brew @@ -1156,6 +1156,7 @@ _brew_instal() { '(--cask)--HEAD[If formula defines it, install the HEAD version, aka. main, trunk, unstable, master]' \ '(--formula --force)--adopt[Adopt existing artifacts in the destination that are identical to those being installed. Cannot be combined with `--force`]' \ '(--formula)--appdir[Target location for Applications (default: `/Applications`)]' \ + '(--cask)--ask[Ask for confirmation before downloading and installing formulae. Print bottles and dependencies download size and install size]' \ '(--formula)--audio-unit-plugindir[Target location for Audio Unit Plugins (default: `~/Library/Audio/Plug-Ins/Components`)]' \ '(--formula)--binaries[Disable/enable linking of helper executables (default: enabled)]' \ '(--cask)--bottle-arch[Optimise bottles for the specified architecture rather than the oldest architecture supported by the version of macOS the bottles are built on]' \ @@ -1205,7 +1206,7 @@ _brew_instal() { '(--casks --binaries --require-sha --quarantine --adopt --skip-cask-deps --zap --appdir --keyboard-layoutdir --colorpickerdir --prefpanedir --qlplugindir --mdimporterdir --dictionarydir --fontdir --servicedir --input-methoddir --internet-plugindir --audio-unit-plugindir --vst-plugindir --vst3-plugindir --screen-saverdir --language)--formula[Treat all named arguments as formulae]' \ '*::formula:__brew_formulae' \ - cask \ - '(--formulae --env --ignore-dependencies --only-dependencies --cc --build-from-source --force-bottle --include-test --HEAD --fetch-HEAD --keep-tmp --debug-symbols --build-bottle --skip-post-install --skip-link --bottle-arch --interactive --git --overwrite)--cask[Treat all named arguments as casks]' \ + '(--formulae --env --ignore-dependencies --only-dependencies --cc --build-from-source --force-bottle --include-test --HEAD --fetch-HEAD --keep-tmp --debug-symbols --build-bottle --skip-post-install --skip-link --bottle-arch --interactive --git --overwrite --ask)--cask[Treat all named arguments as casks]' \ '*::cask:__brew_casks' } @@ -1215,6 +1216,7 @@ _brew_install() { '(--cask)--HEAD[If formula defines it, install the HEAD version, aka. main, trunk, unstable, master]' \ '(--formula --force)--adopt[Adopt existing artifacts in the destination that are identical to those being installed. Cannot be combined with `--force`]' \ '(--formula)--appdir[Target location for Applications (default: `/Applications`)]' \ + '(--cask)--ask[Ask for confirmation before downloading and installing formulae. Print bottles and dependencies download size and install size]' \ '(--formula)--audio-unit-plugindir[Target location for Audio Unit Plugins (default: `~/Library/Audio/Plug-Ins/Components`)]' \ '(--formula)--binaries[Disable/enable linking of helper executables (default: enabled)]' \ '(--cask)--bottle-arch[Optimise bottles for the specified architecture rather than the oldest architecture supported by the version of macOS the bottles are built on]' \ @@ -1264,7 +1266,7 @@ _brew_install() { '(--casks --binaries --require-sha --quarantine --adopt --skip-cask-deps --zap --appdir --keyboard-layoutdir --colorpickerdir --prefpanedir --qlplugindir --mdimporterdir --dictionarydir --fontdir --servicedir --input-methoddir --internet-plugindir --audio-unit-plugindir --vst-plugindir --vst3-plugindir --screen-saverdir --language)--formula[Treat all named arguments as formulae]' \ '*::formula:__brew_formulae' \ - cask \ - '(--formulae --env --ignore-dependencies --only-dependencies --cc --build-from-source --force-bottle --include-test --HEAD --fetch-HEAD --keep-tmp --debug-symbols --build-bottle --skip-post-install --skip-link --bottle-arch --interactive --git --overwrite)--cask[Treat all named arguments as casks]' \ + '(--formulae --env --ignore-dependencies --only-dependencies --cc --build-from-source --force-bottle --include-test --HEAD --fetch-HEAD --keep-tmp --debug-symbols --build-bottle --skip-post-install --skip-link --bottle-arch --interactive --git --overwrite --ask)--cask[Treat all named arguments as casks]' \ '*::cask:__brew_casks' } @@ -1704,6 +1706,7 @@ _brew_reinstall() { _arguments \ '(--formula)--adopt[Adopt existing artifacts in the destination that are identical to those being installed. Cannot be combined with `--force`]' \ '(--formula)--appdir[Target location for Applications (default: `/Applications`)]' \ + '(--cask)--ask[Ask for confirmation before downloading and upgrading formulae. Print bottles and dependencies download size, install and net install size]' \ '(--formula)--audio-unit-plugindir[Target location for Audio Unit Plugins (default: `~/Library/Audio/Plug-Ins/Components`)]' \ '(--formula)--binaries[Disable/enable linking of helper executables (default: enabled)]' \ '(--cask --force-bottle)--build-from-source[Compile formula from source even if a bottle is available]' \ @@ -1742,7 +1745,7 @@ _brew_reinstall() { '(--casks --binaries --require-sha --quarantine --adopt --skip-cask-deps --zap --appdir --keyboard-layoutdir --colorpickerdir --prefpanedir --qlplugindir --mdimporterdir --dictionarydir --fontdir --servicedir --input-methoddir --internet-plugindir --audio-unit-plugindir --vst-plugindir --vst3-plugindir --screen-saverdir --language)--formula[Treat all named arguments as formulae]' \ '*::formula:__brew_formulae' \ - cask \ - '(--formulae --build-from-source --interactive --force-bottle --keep-tmp --debug-symbols --git)--cask[Treat all named arguments as casks]' \ + '(--formulae --build-from-source --interactive --force-bottle --keep-tmp --debug-symbols --git --ask)--cask[Treat all named arguments as casks]' \ '*::cask:__brew_casks' } @@ -2255,6 +2258,7 @@ _brew_update_test() { _brew_upgrade() { _arguments \ '(--formula)--appdir[Target location for Applications (default: `/Applications`)]' \ + '(--cask)--ask[Ask for confirmation before downloading and upgrading formulae. Print bottles and dependencies download size, install and net install size]' \ '(--formula)--audio-unit-plugindir[Target location for Audio Unit Plugins (default: `~/Library/Audio/Plug-Ins/Components`)]' \ '(--formula)--binaries[Disable/enable linking of helper executables (default: enabled)]' \ '(--cask --force-bottle)--build-from-source[Compile formula from source even if a bottle is available]' \ @@ -2297,7 +2301,7 @@ _brew_upgrade() { '(--casks --skip-cask-deps --greedy --greedy-latest --greedy-auto-updates --binaries --require-sha --quarantine --appdir --keyboard-layoutdir --colorpickerdir --prefpanedir --qlplugindir --mdimporterdir --dictionarydir --fontdir --servicedir --input-methoddir --internet-plugindir --audio-unit-plugindir --vst-plugindir --vst3-plugindir --screen-saverdir --language)--formula[Treat all named arguments as formulae. If no named arguments are specified, upgrade only outdated formulae]' \ '*::installed_formula:__brew_installed_formulae' \ - installed_cask \ - '(--formulae --build-from-source --interactive --force-bottle --fetch-HEAD --keep-tmp --debug-symbols --overwrite)--cask[Treat all named arguments as casks. If no named arguments are specified, upgrade only outdated casks]' \ + '(--formulae --build-from-source --interactive --force-bottle --fetch-HEAD --keep-tmp --debug-symbols --overwrite --ask)--cask[Treat all named arguments as casks. If no named arguments are specified, upgrade only outdated casks]' \ '*::installed_cask:__brew_installed_casks' } diff --git a/docs/Manpage.md b/docs/Manpage.md index 862fddbb65..dcda668a4c 100644 --- a/docs/Manpage.md +++ b/docs/Manpage.md @@ -678,6 +678,11 @@ upgrade *`formula`* if it is already installed but outdated. : Delete files that already exist in the prefix while linking. +`--ask` + +: Ask for confirmation before downloading and installing formulae. Print bottles + and dependencies download size and install size. + `--cask` : Treat all named arguments as casks. @@ -1076,6 +1081,11 @@ for the reinstalled formulae or, every 30 days, for all formulae. : Create a Git repository, useful for creating patches to the software. +`--ask` + +: Ask for confirmation before downloading and upgrading formulae. Print bottles + and dependencies download size, install and net install size. + `--cask` : Treat all named arguments as casks. @@ -1430,6 +1440,11 @@ for the upgraded formulae or, every 30 days, for all formulae. : Delete files that already exist in the prefix while linking. +`--ask` + +: Ask for confirmation before downloading and upgrading formulae. Print bottles + and dependencies download size, install and net install size. + `--cask` : Treat all named arguments as casks. If no named arguments are specified, @@ -3249,6 +3264,17 @@ By default, only Homebrew formula dependencies are listed. : Edit the `Brewfile` in your editor. +`brew bundle add` *`name`* \[...\] + +: Add entries to your `Brewfile`. Adds formulae by default. Use `--cask`, + `--tap`, `--whalebrew` or `--vscode` to add the corresponding entry instead. + +`brew bundle remove` *`name`* \[...\] + +: Remove entries that match `name` from your `Brewfile`. Use `--formula`, + `--cask`, `--tap`, `--mas`, `--whalebrew` or `--vscode` to remove only entries + of the corresponding type. + `brew bundle exec` *`command`* : Run an external command in an isolated build environment based on the @@ -3764,6 +3790,11 @@ command execution e.g. `$(cat file)`. are both set, if the request to `$HOMEBREW_ARTIFACT_DOMAIN` fails then Homebrew will error rather than trying any other/default URLs. +`HOMEBREW_ASK` + +: If set, pass `--ask`to all formulae `brew install`, `brew upgrade` and `brew + reinstall` commands. + `HOMEBREW_AUTO_UPDATE_SECS` : Run `brew update` once every `$HOMEBREW_AUTO_UPDATE_SECS` seconds before some diff --git a/manpages/brew.1 b/manpages/brew.1 index b200952860..04c72bb541 100644 --- a/manpages/brew.1 +++ b/manpages/brew.1 @@ -423,6 +423,9 @@ Create a Git repository, useful for creating patches to the software\. \fB\-\-overwrite\fP Delete files that already exist in the prefix while linking\. .TP +\fB\-\-ask\fP +Ask for confirmation before downloading and installing formulae\. Print bottles and dependencies download size and install size\. +.TP \fB\-\-cask\fP Treat all named arguments as casks\. .TP @@ -672,6 +675,9 @@ Generate debug symbols on build\. Source will be retained in a cache directory\. \fB\-g\fP, \fB\-\-git\fP Create a Git repository, useful for creating patches to the software\. .TP +\fB\-\-ask\fP +Ask for confirmation before downloading and upgrading formulae\. Print bottles and dependencies download size, install and net install size\. +.TP \fB\-\-cask\fP Treat all named arguments as casks\. .TP @@ -891,6 +897,9 @@ Generate debug symbols on build\. Source will be retained in a cache directory\. \fB\-\-overwrite\fP Delete files that already exist in the prefix while linking\. .TP +\fB\-\-ask\fP +Ask for confirmation before downloading and upgrading formulae\. Print bottles and dependencies download size, install and net install size\. +.TP \fB\-\-cask\fP Treat all named arguments as casks\. If no named arguments are specified, upgrade only outdated casks\. .TP @@ -2089,6 +2098,12 @@ By default, only Homebrew formula dependencies are listed\. \fBbrew bundle edit\fP Edit the \fBBrewfile\fP in your editor\. .TP +\fBbrew bundle add\fP \fIname\fP [\.\.\.] +Add entries to your \fBBrewfile\fP\&\. Adds formulae by default\. Use \fB\-\-cask\fP, \fB\-\-tap\fP, \fB\-\-whalebrew\fP or \fB\-\-vscode\fP to add the corresponding entry instead\. +.TP +\fBbrew bundle remove\fP \fIname\fP [\.\.\.] +Remove entries that match \fBname\fP from your \fBBrewfile\fP\&\. Use \fB\-\-formula\fP, \fB\-\-cask\fP, \fB\-\-tap\fP, \fB\-\-mas\fP, \fB\-\-whalebrew\fP or \fB\-\-vscode\fP to remove only entries of the corresponding type\. +.TP \fBbrew bundle exec\fP \fIcommand\fP Run an external command in an isolated build environment based on the \fBBrewfile\fP dependencies\. .P @@ -2417,6 +2432,9 @@ Prefix all download URLs, including those for bottles, with this value\. For exa \fBHOMEBREW_ARTIFACT_DOMAIN_NO_FALLBACK\fP When \fB$HOMEBREW_ARTIFACT_DOMAIN\fP and \fB$HOMEBREW_ARTIFACT_DOMAIN_NO_FALLBACK\fP are both set, if the request to \fB$HOMEBREW_ARTIFACT_DOMAIN\fP fails then Homebrew will error rather than trying any other/default URLs\. .TP +\fBHOMEBREW_ASK\fP +If set, pass \fB\-\-ask\fPto all formulae \fBbrew install\fP, \fBbrew upgrade\fP and \fBbrew reinstall\fP commands\. +.TP \fBHOMEBREW_AUTO_UPDATE_SECS\fP Run \fBbrew update\fP once every \fB$HOMEBREW_AUTO_UPDATE_SECS\fP seconds before some commands, e\.g\. \fBbrew install\fP, \fBbrew upgrade\fP and \fBbrew tap\fP\&\. Alternatively, disable auto\-update entirely with \fB$HOMEBREW_NO_AUTO_UPDATE\fP\&\. .RS From cae1ca33ec9a7c68b2e1c4b951dab9a80b369fab Mon Sep 17 00:00:00 2001 From: Eric Knibbe Date: Tue, 11 Mar 2025 09:48:39 -0400 Subject: [PATCH 309/322] rmdir: ignore unreadable path errors --- Library/Homebrew/cask/utils/rmdir.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/cask/utils/rmdir.sh b/Library/Homebrew/cask/utils/rmdir.sh index 30fc3b150d..046e2d096f 100755 --- a/Library/Homebrew/cask/utils/rmdir.sh +++ b/Library/Homebrew/cask/utils/rmdir.sh @@ -26,7 +26,7 @@ do # Some packages leave broken symlinks around; we clean them out before # attempting to `rmdir` to prevent extra cruft from accumulating. - /usr/bin/find -f "${path}" -- -mindepth 1 -maxdepth 1 -type l ! -exec /bin/test -e {} \; -delete + /usr/bin/find -f "${path}" -- -mindepth 1 -maxdepth 1 -type l ! -exec /bin/test -e {} \; -delete || true elif ! ${symlink} && [[ ! -e "${path}" ]] then # Skip paths that don't exists and aren't a broken symlink. From 22f72cb7d2afdc418468cfcb07e00d67bf2eaf3a Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Tue, 11 Mar 2025 15:33:01 +0000 Subject: [PATCH 310/322] linux/cask/installer: use artifact denylist Otherwise, we end up preventing the use of e.g. `preflight`, `uninstall` that may all work fine on Linux. --- .../extend/os/linux/cask/installer.rb | 34 +++++++++++++------ 1 file changed, 24 insertions(+), 10 deletions(-) diff --git a/Library/Homebrew/extend/os/linux/cask/installer.rb b/Library/Homebrew/extend/os/linux/cask/installer.rb index ab267068a8..231369a2b0 100644 --- a/Library/Homebrew/extend/os/linux/cask/installer.rb +++ b/Library/Homebrew/extend/os/linux/cask/installer.rb @@ -5,22 +5,36 @@ module OS module Linux module Cask module Installer - private - extend T::Helpers requires_ancestor { ::Cask::Installer } + LINUX_INVALID_ARTIFACTS = [ + ::Cask::Artifact::App, + ::Cask::Artifact::AudioUnitPlugin, + ::Cask::Artifact::Colorpicker, + ::Cask::Artifact::Dictionary, + ::Cask::Artifact::InputMethod, + ::Cask::Artifact::Installer, + ::Cask::Artifact::InternetPlugin, + ::Cask::Artifact::KeyboardLayout, + ::Cask::Artifact::Mdimporter, + ::Cask::Artifact::Pkg, + ::Cask::Artifact::Prefpane, + ::Cask::Artifact::Qlplugin, + ::Cask::Artifact::ScreenSaver, + ::Cask::Artifact::Service, + ::Cask::Artifact::Suite, + ::Cask::Artifact::VstPlugin, + ::Cask::Artifact::Vst3Plugin, + ].freeze + + private + sig { void } def check_stanza_os_requirements - return if artifacts.all?(::Cask::Artifact::Font) - - install_artifacts = artifacts.reject { |artifact| artifact.instance_of?(::Cask::Artifact::Zap) } - return if install_artifacts.all? do |artifact| - artifact.is_a?(::Cask::Artifact::Binary) || - artifact.is_a?(::Cask::Artifact::ShellCompletion) || - artifact.is_a?(::Cask::Artifact::Artifact) || - artifact.is_a?(::Cask::Artifact::Manpage) + return unless artifacts.any? do |artifact| + LINUX_INVALID_ARTIFACTS.include?(artifact.class) end raise ::Cask::CaskError, "macOS is required for this software." From 6c4ab8641cb7886ed0e9442a238c1cc23a99ca8d Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 11 Mar 2025 18:11:52 +0000 Subject: [PATCH 311/322] build(deps-dev): bump rbi from 0.2.4 to 0.3.0 in /Library/Homebrew Bumps [rbi](https://github.com/Shopify/rbi) from 0.2.4 to 0.3.0. - [Release notes](https://github.com/Shopify/rbi/releases) - [Commits](https://github.com/Shopify/rbi/compare/v0.2.4...v0.3.0) --- updated-dependencies: - dependency-name: rbi dependency-type: indirect update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- Library/Homebrew/Gemfile.lock | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Library/Homebrew/Gemfile.lock b/Library/Homebrew/Gemfile.lock index 6d2f4130d7..866cd347fc 100644 --- a/Library/Homebrew/Gemfile.lock +++ b/Library/Homebrew/Gemfile.lock @@ -47,8 +47,9 @@ GEM pycall (1.5.2) racc (1.8.1) rainbow (3.1.1) - rbi (0.2.4) + rbi (0.3.0) prism (~> 1.0) + rbs (>= 3.4.4) sorbet-runtime (>= 0.5.9204) rbs (3.8.1) logger @@ -159,7 +160,6 @@ GEM PLATFORMS aarch64-linux - arm-linux arm64-darwin x86_64-darwin x86_64-linux From dc336f6225bb1ee65fd4c332ab9ea65155f82f53 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 11 Mar 2025 18:51:11 +0000 Subject: [PATCH 312/322] build(deps): bump the sorbet group in /Library/Homebrew with 4 updates Bumps the sorbet group in /Library/Homebrew with 4 updates: [sorbet-static-and-runtime](https://github.com/sorbet/sorbet), [sorbet-runtime](https://github.com/sorbet/sorbet), [sorbet](https://github.com/sorbet/sorbet) and [sorbet-static](https://github.com/sorbet/sorbet). Updates `sorbet-static-and-runtime` from 0.5.11911 to 0.5.11915 - [Release notes](https://github.com/sorbet/sorbet/releases) - [Commits](https://github.com/sorbet/sorbet/commits) Updates `sorbet-runtime` from 0.5.11911 to 0.5.11915 - [Release notes](https://github.com/sorbet/sorbet/releases) - [Commits](https://github.com/sorbet/sorbet/commits) Updates `sorbet` from 0.5.11911 to 0.5.11915 - [Release notes](https://github.com/sorbet/sorbet/releases) - [Commits](https://github.com/sorbet/sorbet/commits) Updates `sorbet-static` from 0.5.11911 to 0.5.11915 - [Release notes](https://github.com/sorbet/sorbet/releases) - [Commits](https://github.com/sorbet/sorbet/commits) --- updated-dependencies: - dependency-name: sorbet-static-and-runtime dependency-type: direct:development update-type: version-update:semver-patch dependency-group: sorbet - dependency-name: sorbet-runtime dependency-type: direct:production update-type: version-update:semver-patch dependency-group: sorbet - dependency-name: sorbet dependency-type: indirect update-type: version-update:semver-patch dependency-group: sorbet - dependency-name: sorbet-static dependency-type: indirect update-type: version-update:semver-patch dependency-group: sorbet ... Signed-off-by: dependabot[bot] --- Library/Homebrew/Gemfile.lock | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/Library/Homebrew/Gemfile.lock b/Library/Homebrew/Gemfile.lock index 866cd347fc..f49e9d5aa4 100644 --- a/Library/Homebrew/Gemfile.lock +++ b/Library/Homebrew/Gemfile.lock @@ -121,15 +121,15 @@ GEM simplecov-html (0.13.1) simplecov_json_formatter (0.1.4) simpleidn (0.2.3) - sorbet (0.5.11911) - sorbet-static (= 0.5.11911) - sorbet-runtime (0.5.11911) - sorbet-static (0.5.11911-aarch64-linux) - sorbet-static (0.5.11911-universal-darwin) - sorbet-static (0.5.11911-x86_64-linux) - sorbet-static-and-runtime (0.5.11911) - sorbet (= 0.5.11911) - sorbet-runtime (= 0.5.11911) + sorbet (0.5.11915) + sorbet-static (= 0.5.11915) + sorbet-runtime (0.5.11915) + sorbet-static (0.5.11915-aarch64-linux) + sorbet-static (0.5.11915-universal-darwin) + sorbet-static (0.5.11915-x86_64-linux) + sorbet-static-and-runtime (0.5.11915) + sorbet (= 0.5.11915) + sorbet-runtime (= 0.5.11915) spoom (1.5.4) erubi (>= 1.10.0) prism (>= 0.28.0) From fde3538900afa1e40cef79a0fc4a7ffc95a19caf Mon Sep 17 00:00:00 2001 From: Osama Albahrani <54853250+osalbahr@users.noreply.github.com> Date: Wed, 12 Mar 2025 00:31:13 +0300 Subject: [PATCH 313/322] install.rb: add "no" in `--ask` output - improves https://github.com/Homebrew/brew/pull/19254 --- Library/Homebrew/install.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/install.rb b/Library/Homebrew/install.rb index 1f14cbd211..16af0215a6 100644 --- a/Library/Homebrew/install.rb +++ b/Library/Homebrew/install.rb @@ -381,7 +381,7 @@ module Homebrew end def ask_input - ohai "Do you want to proceed with the installation? [Y/y/yes/N/n]" + ohai "Do you want to proceed with the installation? [Y/y/yes/N/n/no]" accepted_inputs = %w[y yes] declined_inputs = %w[n no] loop do From 74556fe97c6d16b3d548bcc15223b3fdbbe90f4f Mon Sep 17 00:00:00 2001 From: Bevan Kay Date: Wed, 12 Mar 2025 19:57:26 +1100 Subject: [PATCH 314/322] cask/utils: alllow use of @ in cask name --- Library/Homebrew/cask/utils.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Library/Homebrew/cask/utils.rb b/Library/Homebrew/cask/utils.rb index c7019a1c50..976ec7f22f 100644 --- a/Library/Homebrew/cask/utils.rb +++ b/Library/Homebrew/cask/utils.rb @@ -111,9 +111,8 @@ module Cask def self.token_from(name) name.downcase .gsub("+", "-plus-") - .gsub("@", "-at-") .gsub(/[ _·•]/, "-") - .gsub(/[^\w-]/, "") + .gsub(/[^\w@-]/, "") .gsub(/--+/, "-") .delete_prefix("-") .delete_suffix("-") From cbc79184adcb755dc5108e6efb716ae165dd8f2a Mon Sep 17 00:00:00 2001 From: Bevan Kay Date: Wed, 12 Mar 2025 19:57:27 +1100 Subject: [PATCH 315/322] test/dev-cmd/create: allow use of @ in cask name --- Library/Homebrew/test/dev-cmd/create_spec.rb | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/Library/Homebrew/test/dev-cmd/create_spec.rb b/Library/Homebrew/test/dev-cmd/create_spec.rb index f1cd4b526a..72b76b52f9 100644 --- a/Library/Homebrew/test/dev-cmd/create_spec.rb +++ b/Library/Homebrew/test/dev-cmd/create_spec.rb @@ -17,7 +17,12 @@ RSpec.describe Homebrew::DevCmd::Create do end it "generates valid cask tokens" do - t = Cask::Utils.token_from("A Foo@Bar_Baz++!") - expect(t).to eq("a-foo-at-bar-baz-plus-plus") + t = Cask::Utils.token_from("A FooBar_Baz++!") + expect(t).to eq("a-foobar-baz-plus-plus") + end + + it "retains @ in cask tokens" do + t = Cask::Utils.token_from("test@preview") + expect(t).to eq("test@preview") end end From 4f676432258454f6dc5e0de0e7f0bef48fa08335 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 12 Mar 2025 15:38:31 +0000 Subject: [PATCH 316/322] build(deps-dev): bump json from 2.10.1 to 2.10.2 in /Library/Homebrew Bumps [json](https://github.com/ruby/json) from 2.10.1 to 2.10.2. - [Release notes](https://github.com/ruby/json/releases) - [Changelog](https://github.com/ruby/json/blob/master/CHANGES.md) - [Commits](https://github.com/ruby/json/compare/v2.10.1...v2.10.2) --- updated-dependencies: - dependency-name: json dependency-type: indirect ... Signed-off-by: dependabot[bot] --- Library/Homebrew/Gemfile.lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/Gemfile.lock b/Library/Homebrew/Gemfile.lock index 866cd347fc..d6cee134bf 100644 --- a/Library/Homebrew/Gemfile.lock +++ b/Library/Homebrew/Gemfile.lock @@ -16,7 +16,7 @@ GEM bindata (~> 2) erubi (1.13.1) hana (1.3.7) - json (2.10.1) + json (2.10.2) json_schemer (2.4.0) bigdecimal hana (~> 1.3) From f181e4251bfbf0af73b19c969ba6010a811a7799 Mon Sep 17 00:00:00 2001 From: Douglas Eichelberger Date: Wed, 12 Mar 2025 13:43:39 -0700 Subject: [PATCH 317/322] Include RBS rbi --- Library/Homebrew/sorbet/tapioca/config.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/Library/Homebrew/sorbet/tapioca/config.yml b/Library/Homebrew/sorbet/tapioca/config.yml index d4e2f10cdd..248e9a1266 100644 --- a/Library/Homebrew/sorbet/tapioca/config.yml +++ b/Library/Homebrew/sorbet/tapioca/config.yml @@ -19,7 +19,6 @@ gem: - netrc - parallel - public_suffix - - rbs - redcarpet - rspec-github - rspec-mocks From f6b867048b13b2ea70e947f21af166548962ec8d Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Wed, 12 Mar 2025 20:46:11 +0000 Subject: [PATCH 318/322] brew vendor-gems: commit updates. --- Library/Homebrew/Gemfile.lock | 1 + Library/Homebrew/vendor/bundle/bundler/setup.rb | 10 +++++----- .../lib/sorbet-runtime.rb | 0 .../lib/types/_types.rb | 0 .../lib/types/abstract_utils.rb | 0 .../lib/types/boolean.rb | 0 .../lib/types/compatibility_patches.rb | 0 .../lib/types/configuration.rb | 0 .../lib/types/enum.rb | 0 .../lib/types/generic.rb | 0 .../lib/types/helpers.rb | 0 .../lib/types/non_forcing_constants.rb | 0 .../lib/types/private/abstract/data.rb | 0 .../lib/types/private/abstract/declare.rb | 0 .../lib/types/private/abstract/hooks.rb | 0 .../lib/types/private/abstract/validate.rb | 0 .../lib/types/private/caller_utils.rb | 0 .../lib/types/private/casts.rb | 0 .../lib/types/private/class_utils.rb | 0 .../lib/types/private/decl_state.rb | 0 .../lib/types/private/final.rb | 0 .../lib/types/private/methods/_methods.rb | 0 .../lib/types/private/methods/call_validation.rb | 0 .../lib/types/private/methods/call_validation_2_6.rb | 0 .../lib/types/private/methods/call_validation_2_7.rb | 0 .../lib/types/private/methods/decl_builder.rb | 0 .../lib/types/private/methods/modes.rb | 0 .../lib/types/private/methods/signature.rb | 0 .../lib/types/private/methods/signature_validation.rb | 0 .../lib/types/private/mixins/mixins.rb | 0 .../lib/types/private/retry.rb | 0 .../lib/types/private/runtime_levels.rb | 0 .../lib/types/private/sealed.rb | 0 .../lib/types/private/types/not_typed.rb | 0 .../lib/types/private/types/simple_pair_union.rb | 0 .../lib/types/private/types/string_holder.rb | 0 .../lib/types/private/types/type_alias.rb | 0 .../lib/types/private/types/void.rb | 0 .../lib/types/props/_props.rb | 0 .../lib/types/props/constructor.rb | 0 .../lib/types/props/custom_type.rb | 0 .../lib/types/props/decorator.rb | 0 .../lib/types/props/errors.rb | 0 .../lib/types/props/generated_code_validation.rb | 0 .../lib/types/props/has_lazily_specialized_methods.rb | 0 .../lib/types/props/optional.rb | 0 .../lib/types/props/plugin.rb | 0 .../lib/types/props/pretty_printable.rb | 0 .../lib/types/props/private/apply_default.rb | 0 .../lib/types/props/private/deserializer_generator.rb | 0 .../lib/types/props/private/parser.rb | 0 .../lib/types/props/private/serde_transform.rb | 0 .../lib/types/props/private/serializer_generator.rb | 0 .../lib/types/props/private/setter_factory.rb | 0 .../lib/types/props/serializable.rb | 0 .../lib/types/props/type_validation.rb | 0 .../lib/types/props/utils.rb | 0 .../lib/types/props/weak_constructor.rb | 0 .../lib/types/sig.rb | 0 .../lib/types/struct.rb | 0 .../lib/types/types/anything.rb | 0 .../lib/types/types/attached_class.rb | 0 .../lib/types/types/base.rb | 0 .../lib/types/types/class_of.rb | 0 .../lib/types/types/enum.rb | 0 .../lib/types/types/fixed_array.rb | 0 .../lib/types/types/fixed_hash.rb | 0 .../lib/types/types/intersection.rb | 0 .../lib/types/types/noreturn.rb | 0 .../lib/types/types/proc.rb | 0 .../lib/types/types/self_type.rb | 0 .../lib/types/types/simple.rb | 0 .../lib/types/types/t_enum.rb | 0 .../lib/types/types/type_member.rb | 0 .../lib/types/types/type_parameter.rb | 0 .../lib/types/types/type_template.rb | 0 .../lib/types/types/type_variable.rb | 0 .../lib/types/types/typed_array.rb | 0 .../lib/types/types/typed_class.rb | 0 .../lib/types/types/typed_enumerable.rb | 0 .../lib/types/types/typed_enumerator.rb | 0 .../lib/types/types/typed_enumerator_chain.rb | 0 .../lib/types/types/typed_enumerator_lazy.rb | 0 .../lib/types/types/typed_hash.rb | 0 .../lib/types/types/typed_range.rb | 0 .../lib/types/types/typed_set.rb | 0 .../lib/types/types/union.rb | 0 .../lib/types/types/untyped.rb | 0 .../lib/types/utils.rb | 0 89 files changed, 6 insertions(+), 5 deletions(-) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11911 => sorbet-runtime-0.5.11915}/lib/sorbet-runtime.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11911 => sorbet-runtime-0.5.11915}/lib/types/_types.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11911 => sorbet-runtime-0.5.11915}/lib/types/abstract_utils.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11911 => sorbet-runtime-0.5.11915}/lib/types/boolean.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11911 => sorbet-runtime-0.5.11915}/lib/types/compatibility_patches.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11911 => sorbet-runtime-0.5.11915}/lib/types/configuration.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11911 => sorbet-runtime-0.5.11915}/lib/types/enum.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11911 => sorbet-runtime-0.5.11915}/lib/types/generic.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11911 => sorbet-runtime-0.5.11915}/lib/types/helpers.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11911 => sorbet-runtime-0.5.11915}/lib/types/non_forcing_constants.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11911 => sorbet-runtime-0.5.11915}/lib/types/private/abstract/data.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11911 => sorbet-runtime-0.5.11915}/lib/types/private/abstract/declare.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11911 => sorbet-runtime-0.5.11915}/lib/types/private/abstract/hooks.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11911 => sorbet-runtime-0.5.11915}/lib/types/private/abstract/validate.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11911 => sorbet-runtime-0.5.11915}/lib/types/private/caller_utils.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11911 => sorbet-runtime-0.5.11915}/lib/types/private/casts.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11911 => sorbet-runtime-0.5.11915}/lib/types/private/class_utils.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11911 => sorbet-runtime-0.5.11915}/lib/types/private/decl_state.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11911 => sorbet-runtime-0.5.11915}/lib/types/private/final.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11911 => sorbet-runtime-0.5.11915}/lib/types/private/methods/_methods.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11911 => sorbet-runtime-0.5.11915}/lib/types/private/methods/call_validation.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11911 => sorbet-runtime-0.5.11915}/lib/types/private/methods/call_validation_2_6.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11911 => sorbet-runtime-0.5.11915}/lib/types/private/methods/call_validation_2_7.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11911 => sorbet-runtime-0.5.11915}/lib/types/private/methods/decl_builder.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11911 => sorbet-runtime-0.5.11915}/lib/types/private/methods/modes.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11911 => sorbet-runtime-0.5.11915}/lib/types/private/methods/signature.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11911 => sorbet-runtime-0.5.11915}/lib/types/private/methods/signature_validation.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11911 => sorbet-runtime-0.5.11915}/lib/types/private/mixins/mixins.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11911 => sorbet-runtime-0.5.11915}/lib/types/private/retry.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11911 => sorbet-runtime-0.5.11915}/lib/types/private/runtime_levels.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11911 => sorbet-runtime-0.5.11915}/lib/types/private/sealed.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11911 => sorbet-runtime-0.5.11915}/lib/types/private/types/not_typed.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11911 => sorbet-runtime-0.5.11915}/lib/types/private/types/simple_pair_union.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11911 => sorbet-runtime-0.5.11915}/lib/types/private/types/string_holder.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11911 => sorbet-runtime-0.5.11915}/lib/types/private/types/type_alias.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11911 => sorbet-runtime-0.5.11915}/lib/types/private/types/void.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11911 => sorbet-runtime-0.5.11915}/lib/types/props/_props.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11911 => sorbet-runtime-0.5.11915}/lib/types/props/constructor.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11911 => sorbet-runtime-0.5.11915}/lib/types/props/custom_type.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11911 => sorbet-runtime-0.5.11915}/lib/types/props/decorator.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11911 => sorbet-runtime-0.5.11915}/lib/types/props/errors.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11911 => sorbet-runtime-0.5.11915}/lib/types/props/generated_code_validation.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11911 => sorbet-runtime-0.5.11915}/lib/types/props/has_lazily_specialized_methods.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11911 => sorbet-runtime-0.5.11915}/lib/types/props/optional.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11911 => sorbet-runtime-0.5.11915}/lib/types/props/plugin.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11911 => sorbet-runtime-0.5.11915}/lib/types/props/pretty_printable.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11911 => sorbet-runtime-0.5.11915}/lib/types/props/private/apply_default.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11911 => sorbet-runtime-0.5.11915}/lib/types/props/private/deserializer_generator.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11911 => sorbet-runtime-0.5.11915}/lib/types/props/private/parser.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11911 => sorbet-runtime-0.5.11915}/lib/types/props/private/serde_transform.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11911 => sorbet-runtime-0.5.11915}/lib/types/props/private/serializer_generator.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11911 => sorbet-runtime-0.5.11915}/lib/types/props/private/setter_factory.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11911 => sorbet-runtime-0.5.11915}/lib/types/props/serializable.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11911 => sorbet-runtime-0.5.11915}/lib/types/props/type_validation.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11911 => sorbet-runtime-0.5.11915}/lib/types/props/utils.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11911 => sorbet-runtime-0.5.11915}/lib/types/props/weak_constructor.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11911 => sorbet-runtime-0.5.11915}/lib/types/sig.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11911 => sorbet-runtime-0.5.11915}/lib/types/struct.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11911 => sorbet-runtime-0.5.11915}/lib/types/types/anything.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11911 => sorbet-runtime-0.5.11915}/lib/types/types/attached_class.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11911 => sorbet-runtime-0.5.11915}/lib/types/types/base.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11911 => sorbet-runtime-0.5.11915}/lib/types/types/class_of.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11911 => sorbet-runtime-0.5.11915}/lib/types/types/enum.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11911 => sorbet-runtime-0.5.11915}/lib/types/types/fixed_array.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11911 => sorbet-runtime-0.5.11915}/lib/types/types/fixed_hash.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11911 => sorbet-runtime-0.5.11915}/lib/types/types/intersection.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11911 => sorbet-runtime-0.5.11915}/lib/types/types/noreturn.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11911 => sorbet-runtime-0.5.11915}/lib/types/types/proc.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11911 => sorbet-runtime-0.5.11915}/lib/types/types/self_type.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11911 => sorbet-runtime-0.5.11915}/lib/types/types/simple.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11911 => sorbet-runtime-0.5.11915}/lib/types/types/t_enum.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11911 => sorbet-runtime-0.5.11915}/lib/types/types/type_member.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11911 => sorbet-runtime-0.5.11915}/lib/types/types/type_parameter.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11911 => sorbet-runtime-0.5.11915}/lib/types/types/type_template.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11911 => sorbet-runtime-0.5.11915}/lib/types/types/type_variable.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11911 => sorbet-runtime-0.5.11915}/lib/types/types/typed_array.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11911 => sorbet-runtime-0.5.11915}/lib/types/types/typed_class.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11911 => sorbet-runtime-0.5.11915}/lib/types/types/typed_enumerable.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11911 => sorbet-runtime-0.5.11915}/lib/types/types/typed_enumerator.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11911 => sorbet-runtime-0.5.11915}/lib/types/types/typed_enumerator_chain.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11911 => sorbet-runtime-0.5.11915}/lib/types/types/typed_enumerator_lazy.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11911 => sorbet-runtime-0.5.11915}/lib/types/types/typed_hash.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11911 => sorbet-runtime-0.5.11915}/lib/types/types/typed_range.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11911 => sorbet-runtime-0.5.11915}/lib/types/types/typed_set.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11911 => sorbet-runtime-0.5.11915}/lib/types/types/union.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11911 => sorbet-runtime-0.5.11915}/lib/types/types/untyped.rb (100%) rename Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/{sorbet-runtime-0.5.11911 => sorbet-runtime-0.5.11915}/lib/types/utils.rb (100%) diff --git a/Library/Homebrew/Gemfile.lock b/Library/Homebrew/Gemfile.lock index f49e9d5aa4..cff5b80632 100644 --- a/Library/Homebrew/Gemfile.lock +++ b/Library/Homebrew/Gemfile.lock @@ -160,6 +160,7 @@ GEM PLATFORMS aarch64-linux + arm-linux arm64-darwin x86_64-darwin x86_64-linux diff --git a/Library/Homebrew/vendor/bundle/bundler/setup.rb b/Library/Homebrew/vendor/bundle/bundler/setup.rb index dc67fc3550..445c21133a 100644 --- a/Library/Homebrew/vendor/bundle/bundler/setup.rb +++ b/Library/Homebrew/vendor/bundle/bundler/setup.rb @@ -75,10 +75,10 @@ $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/extensions/arm64-darwin-20/#{Gem.extension_api_version}/pycall-1.5.2") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/pycall-1.5.2/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rainbow-3.1.1/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-runtime-0.5.11911/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rbi-0.2.4/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/extensions/arm64-darwin-20/#{Gem.extension_api_version}/rbs-3.8.1") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rbs-3.8.1/lib") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-runtime-0.5.11915/lib") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rbi-0.3.0/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/extensions/arm64-darwin-20/#{Gem.extension_api_version}/redcarpet-3.6.1") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/redcarpet-3.6.1/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rspec-support-3.13.2/lib") @@ -107,9 +107,9 @@ $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/simplecov_json_formatter-0.1.4/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/simplecov-0.22.0/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/simplecov-cobertura-2.1.0/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-static-0.5.11911-universal-darwin/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-0.5.11911/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-static-and-runtime-0.5.11911/lib") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-static-0.5.11915-universal-darwin/lib") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-0.5.11915/lib") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-static-and-runtime-0.5.11915/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/thor-1.3.2/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/spoom-1.5.4/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/extensions/arm64-darwin-20/#{Gem.extension_api_version}/stackprof-0.2.27") diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/sorbet-runtime.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/sorbet-runtime.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/sorbet-runtime.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/sorbet-runtime.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/_types.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/_types.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/_types.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/_types.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/abstract_utils.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/abstract_utils.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/abstract_utils.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/abstract_utils.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/boolean.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/boolean.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/boolean.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/boolean.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/compatibility_patches.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/compatibility_patches.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/compatibility_patches.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/compatibility_patches.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/configuration.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/configuration.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/configuration.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/configuration.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/enum.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/enum.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/enum.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/enum.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/generic.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/generic.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/generic.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/generic.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/helpers.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/helpers.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/helpers.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/helpers.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/non_forcing_constants.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/non_forcing_constants.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/non_forcing_constants.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/non_forcing_constants.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/private/abstract/data.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/private/abstract/data.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/private/abstract/data.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/private/abstract/data.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/private/abstract/declare.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/private/abstract/declare.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/private/abstract/declare.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/private/abstract/declare.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/private/abstract/hooks.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/private/abstract/hooks.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/private/abstract/hooks.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/private/abstract/hooks.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/private/abstract/validate.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/private/abstract/validate.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/private/abstract/validate.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/private/abstract/validate.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/private/caller_utils.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/private/caller_utils.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/private/caller_utils.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/private/caller_utils.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/private/casts.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/private/casts.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/private/casts.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/private/casts.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/private/class_utils.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/private/class_utils.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/private/class_utils.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/private/class_utils.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/private/decl_state.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/private/decl_state.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/private/decl_state.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/private/decl_state.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/private/final.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/private/final.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/private/final.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/private/final.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/private/methods/_methods.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/private/methods/_methods.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/private/methods/_methods.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/private/methods/_methods.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/private/methods/call_validation.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/private/methods/call_validation.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/private/methods/call_validation.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/private/methods/call_validation.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/private/methods/call_validation_2_6.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/private/methods/call_validation_2_6.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/private/methods/call_validation_2_6.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/private/methods/call_validation_2_6.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/private/methods/call_validation_2_7.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/private/methods/call_validation_2_7.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/private/methods/call_validation_2_7.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/private/methods/call_validation_2_7.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/private/methods/decl_builder.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/private/methods/decl_builder.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/private/methods/decl_builder.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/private/methods/decl_builder.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/private/methods/modes.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/private/methods/modes.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/private/methods/modes.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/private/methods/modes.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/private/methods/signature.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/private/methods/signature.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/private/methods/signature.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/private/methods/signature.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/private/methods/signature_validation.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/private/methods/signature_validation.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/private/methods/signature_validation.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/private/methods/signature_validation.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/private/mixins/mixins.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/private/mixins/mixins.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/private/mixins/mixins.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/private/mixins/mixins.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/private/retry.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/private/retry.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/private/retry.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/private/retry.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/private/runtime_levels.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/private/runtime_levels.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/private/runtime_levels.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/private/runtime_levels.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/private/sealed.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/private/sealed.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/private/sealed.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/private/sealed.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/private/types/not_typed.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/private/types/not_typed.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/private/types/not_typed.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/private/types/not_typed.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/private/types/simple_pair_union.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/private/types/simple_pair_union.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/private/types/simple_pair_union.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/private/types/simple_pair_union.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/private/types/string_holder.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/private/types/string_holder.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/private/types/string_holder.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/private/types/string_holder.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/private/types/type_alias.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/private/types/type_alias.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/private/types/type_alias.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/private/types/type_alias.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/private/types/void.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/private/types/void.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/private/types/void.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/private/types/void.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/props/_props.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/props/_props.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/props/_props.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/props/_props.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/props/constructor.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/props/constructor.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/props/constructor.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/props/constructor.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/props/custom_type.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/props/custom_type.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/props/custom_type.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/props/custom_type.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/props/decorator.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/props/decorator.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/props/decorator.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/props/decorator.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/props/errors.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/props/errors.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/props/errors.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/props/errors.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/props/generated_code_validation.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/props/generated_code_validation.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/props/generated_code_validation.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/props/generated_code_validation.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/props/has_lazily_specialized_methods.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/props/has_lazily_specialized_methods.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/props/has_lazily_specialized_methods.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/props/has_lazily_specialized_methods.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/props/optional.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/props/optional.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/props/optional.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/props/optional.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/props/plugin.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/props/plugin.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/props/plugin.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/props/plugin.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/props/pretty_printable.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/props/pretty_printable.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/props/pretty_printable.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/props/pretty_printable.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/props/private/apply_default.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/props/private/apply_default.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/props/private/apply_default.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/props/private/apply_default.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/props/private/deserializer_generator.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/props/private/deserializer_generator.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/props/private/deserializer_generator.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/props/private/deserializer_generator.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/props/private/parser.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/props/private/parser.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/props/private/parser.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/props/private/parser.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/props/private/serde_transform.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/props/private/serde_transform.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/props/private/serde_transform.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/props/private/serde_transform.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/props/private/serializer_generator.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/props/private/serializer_generator.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/props/private/serializer_generator.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/props/private/serializer_generator.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/props/private/setter_factory.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/props/private/setter_factory.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/props/private/setter_factory.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/props/private/setter_factory.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/props/serializable.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/props/serializable.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/props/serializable.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/props/serializable.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/props/type_validation.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/props/type_validation.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/props/type_validation.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/props/type_validation.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/props/utils.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/props/utils.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/props/utils.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/props/utils.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/props/weak_constructor.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/props/weak_constructor.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/props/weak_constructor.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/props/weak_constructor.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/sig.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/sig.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/sig.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/sig.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/struct.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/struct.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/struct.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/struct.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/types/anything.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/types/anything.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/types/anything.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/types/anything.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/types/attached_class.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/types/attached_class.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/types/attached_class.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/types/attached_class.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/types/base.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/types/base.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/types/base.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/types/base.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/types/class_of.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/types/class_of.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/types/class_of.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/types/class_of.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/types/enum.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/types/enum.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/types/enum.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/types/enum.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/types/fixed_array.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/types/fixed_array.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/types/fixed_array.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/types/fixed_array.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/types/fixed_hash.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/types/fixed_hash.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/types/fixed_hash.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/types/fixed_hash.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/types/intersection.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/types/intersection.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/types/intersection.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/types/intersection.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/types/noreturn.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/types/noreturn.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/types/noreturn.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/types/noreturn.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/types/proc.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/types/proc.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/types/proc.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/types/proc.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/types/self_type.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/types/self_type.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/types/self_type.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/types/self_type.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/types/simple.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/types/simple.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/types/simple.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/types/simple.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/types/t_enum.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/types/t_enum.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/types/t_enum.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/types/t_enum.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/types/type_member.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/types/type_member.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/types/type_member.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/types/type_member.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/types/type_parameter.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/types/type_parameter.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/types/type_parameter.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/types/type_parameter.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/types/type_template.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/types/type_template.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/types/type_template.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/types/type_template.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/types/type_variable.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/types/type_variable.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/types/type_variable.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/types/type_variable.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/types/typed_array.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/types/typed_array.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/types/typed_array.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/types/typed_array.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/types/typed_class.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/types/typed_class.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/types/typed_class.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/types/typed_class.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/types/typed_enumerable.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/types/typed_enumerable.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/types/typed_enumerable.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/types/typed_enumerable.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/types/typed_enumerator.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/types/typed_enumerator.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/types/typed_enumerator.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/types/typed_enumerator.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/types/typed_enumerator_chain.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/types/typed_enumerator_chain.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/types/typed_enumerator_chain.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/types/typed_enumerator_chain.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/types/typed_enumerator_lazy.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/types/typed_enumerator_lazy.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/types/typed_enumerator_lazy.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/types/typed_enumerator_lazy.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/types/typed_hash.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/types/typed_hash.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/types/typed_hash.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/types/typed_hash.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/types/typed_range.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/types/typed_range.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/types/typed_range.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/types/typed_range.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/types/typed_set.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/types/typed_set.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/types/typed_set.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/types/typed_set.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/types/union.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/types/union.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/types/union.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/types/union.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/types/untyped.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/types/untyped.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/types/untyped.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/types/untyped.rb diff --git a/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/utils.rb b/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/utils.rb similarity index 100% rename from Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11911/lib/types/utils.rb rename to Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11915/lib/types/utils.rb From b76d78328e8fccc4fdb1e33dc882b096dae60d2b Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Wed, 12 Mar 2025 20:46:38 +0000 Subject: [PATCH 319/322] Update RBI files for sorbet. Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow. --- .../rbi/gems/{rbi@0.2.4.rbi => rbi@0.3.0.rbi} | 3791 ++++++--- .../Homebrew/sorbet/rbi/gems/rbs@3.8.1.rbi | 6880 +++++++++++++++++ 2 files changed, 9806 insertions(+), 865 deletions(-) rename Library/Homebrew/sorbet/rbi/gems/{rbi@0.2.4.rbi => rbi@0.3.0.rbi} (55%) create mode 100644 Library/Homebrew/sorbet/rbi/gems/rbs@3.8.1.rbi diff --git a/Library/Homebrew/sorbet/rbi/gems/rbi@0.2.4.rbi b/Library/Homebrew/sorbet/rbi/gems/rbi@0.3.0.rbi similarity index 55% rename from Library/Homebrew/sorbet/rbi/gems/rbi@0.2.4.rbi rename to Library/Homebrew/sorbet/rbi/gems/rbi@0.3.0.rbi index 17aa5f7dc1..9ca377df30 100644 --- a/Library/Homebrew/sorbet/rbi/gems/rbi@0.2.4.rbi +++ b/Library/Homebrew/sorbet/rbi/gems/rbi@0.3.0.rbi @@ -5,24 +5,41 @@ # Please instead update this file by running `bin/tapioca gem rbi`. -# source://rbi//lib/rbi.rb#7 +# typed: true + +# DO NOT EDIT MANUALLY +# This is an autogenerated file for types exported from the `rbi` gem. +# Please instead update this file by running `bin/tapioca gem rbi`. + +# source://rbi//lib/rbi.rb#8 +# source://rbi//lib/rbi.rb#13 module RBI; end -# source://rbi//lib/rbi/model.rb#1045 +# source://rbi//lib/rbi/model.rb#802 class RBI::Arg < ::RBI::Node - # source://rbi//lib/rbi/model.rb#1057 + # : (String value, ?loc: Loc?) -> void + # + # @return [Arg] a new instance of Arg + # + # source://rbi//lib/rbi/model.rb#807 sig { params(value: ::String, loc: T.nilable(::RBI::Loc)).void } def initialize(value, loc: T.unsafe(nil)); end - # source://rbi//lib/rbi/model.rb#1063 + # : (Object? other) -> bool + # + # source://rbi//lib/rbi/model.rb#813 sig { params(other: T.nilable(::Object)).returns(T::Boolean) } def ==(other); end - # source://rbi//lib/rbi/model.rb#1068 + # : -> String + # + # source://rbi//lib/rbi/model.rb#818 sig { returns(::String) } def to_s; end - # source://rbi//lib/rbi/model.rb#1049 + # : String + # + # source://rbi//lib/rbi/model.rb#804 sig { returns(::String) } def value; end end @@ -31,13 +48,17 @@ end # # @abstract It cannot be directly instantiated. Subclasses must implement the `abstract` methods below. # -# source://rbi//lib/rbi/model.rb#351 +# source://rbi//lib/rbi/model.rb#298 class RBI::Attr < ::RBI::NodeWithComments include ::RBI::Indexable abstract! - # source://rbi//lib/rbi/model.rb#376 + # : (Symbol name, Array[Symbol] names, ?visibility: Visibility, ?sigs: Array[Sig], ?loc: Loc?, ?comments: Array[Comment]) -> void + # + # @return [Attr] a new instance of Attr + # + # source://rbi//lib/rbi/model.rb#314 sig do params( name: ::Symbol, @@ -50,50 +71,67 @@ class RBI::Attr < ::RBI::NodeWithComments end def initialize(name, names, visibility: T.unsafe(nil), sigs: T.unsafe(nil), loc: T.unsafe(nil), comments: T.unsafe(nil)); end - # source://rbi//lib/rbi/rewriters/merge_trees.rb#420 + # : (Node other) -> bool + # + # @return [Boolean] + # + # source://rbi//lib/rbi/rewriters/merge_trees.rb#394 sig { override.params(other: ::RBI::Node).returns(T::Boolean) } def compatible_with?(other); end # @abstract # - # source://rbi//lib/rbi/rewriters/attr_to_methods.rb#61 + # source://rbi//lib/rbi/rewriters/attr_to_methods.rb#58 sig { abstract.returns(T::Array[::RBI::Method]) } def convert_to_methods; end # @abstract # - # source://rbi//lib/rbi/model.rb#384 + # source://rbi//lib/rbi/model.rb#322 sig { abstract.returns(T::Array[::String]) } def fully_qualified_names; end - # source://rbi//lib/rbi/index.rb#113 + # : -> Array[String] + # + # source://rbi//lib/rbi/index.rb#109 sig { override.returns(T::Array[::String]) } def index_ids; end - # source://rbi//lib/rbi/rewriters/merge_trees.rb#428 + # : (Node other) -> void + # + # source://rbi//lib/rbi/rewriters/merge_trees.rb#403 sig { override.params(other: ::RBI::Node).void } def merge_with(other); end - # source://rbi//lib/rbi/model.rb#358 + # : Array[Symbol] + # + # source://rbi//lib/rbi/model.rb#305 sig { returns(T::Array[::Symbol]) } def names; end - # source://rbi//lib/rbi/model.rb#364 + # : Array[Sig] + # + # source://rbi//lib/rbi/model.rb#311 sig { returns(T::Array[::RBI::Sig]) } def sigs; end - # source://rbi//lib/rbi/model.rb#361 + # : Visibility + # + # source://rbi//lib/rbi/model.rb#308 sig { returns(::RBI::Visibility) } def visibility; end - # @return [Visibility] + # : Visibility # - # source://rbi//lib/rbi/model.rb#361 + # source://rbi//lib/rbi/model.rb#308 + # @return [Visibility] def visibility=(_arg0); end private - # source://rbi//lib/rbi/rewriters/attr_to_methods.rb#89 + # : (String name, Sig? sig, Visibility visibility, Loc? loc, Array[Comment] comments) -> Method + # + # source://rbi//lib/rbi/rewriters/attr_to_methods.rb#79 sig do params( name: ::String, @@ -105,7 +143,9 @@ class RBI::Attr < ::RBI::NodeWithComments end def create_getter_method(name, sig, visibility, loc, comments); end - # source://rbi//lib/rbi/rewriters/attr_to_methods.rb#110 + # : (String name, Sig? sig, (Type | String)? attribute_type, Visibility visibility, Loc? loc, Array[Comment] comments) -> Method + # + # source://rbi//lib/rbi/rewriters/attr_to_methods.rb#91 sig do params( name: ::String, @@ -118,16 +158,22 @@ class RBI::Attr < ::RBI::NodeWithComments end def create_setter_method(name, sig, attribute_type, visibility, loc, comments); end + # : -> [Sig?, (Type | String)?] + # # @raise [UnexpectedMultipleSigsError] # - # source://rbi//lib/rbi/rewriters/attr_to_methods.rb#66 + # source://rbi//lib/rbi/rewriters/attr_to_methods.rb#64 sig(:final) { returns([T.nilable(::RBI::Sig), T.nilable(T.any(::RBI::Type, ::String))]) } def parse_sig; end end -# source://rbi//lib/rbi/model.rb#387 +# source://rbi//lib/rbi/model.rb#325 class RBI::AttrAccessor < ::RBI::Attr - # source://rbi//lib/rbi/model.rb#401 + # : (Symbol name, *Symbol names, ?visibility: Visibility, ?sigs: Array[Sig], ?loc: Loc?, ?comments: Array[Comment]) ?{ (AttrAccessor node) -> void } -> void + # + # @return [AttrAccessor] a new instance of AttrAccessor + # + # source://rbi//lib/rbi/model.rb#327 sig do params( name: ::Symbol, @@ -141,26 +187,40 @@ class RBI::AttrAccessor < ::RBI::Attr end def initialize(name, *names, visibility: T.unsafe(nil), sigs: T.unsafe(nil), loc: T.unsafe(nil), comments: T.unsafe(nil), &block); end - # source://rbi//lib/rbi/rewriters/merge_trees.rb#460 + # : (Node other) -> bool + # + # @return [Boolean] + # + # source://rbi//lib/rbi/rewriters/merge_trees.rb#432 sig { override.params(other: ::RBI::Node).returns(T::Boolean) } def compatible_with?(other); end - # source://rbi//lib/rbi/rewriters/attr_to_methods.rb#140 + # : -> Array[Method] + # + # source://rbi//lib/rbi/rewriters/attr_to_methods.rb#122 sig { override.returns(T::Array[::RBI::Method]) } def convert_to_methods; end - # source://rbi//lib/rbi/model.rb#407 + # : -> Array[String] + # + # source://rbi//lib/rbi/model.rb#334 sig { override.returns(T::Array[::String]) } def fully_qualified_names; end - # source://rbi//lib/rbi/model.rb#413 + # : -> String + # + # source://rbi//lib/rbi/model.rb#341 sig { override.returns(::String) } def to_s; end end -# source://rbi//lib/rbi/model.rb#419 +# source://rbi//lib/rbi/model.rb#347 class RBI::AttrReader < ::RBI::Attr - # source://rbi//lib/rbi/model.rb#433 + # : (Symbol name, *Symbol names, ?visibility: Visibility, ?sigs: Array[Sig], ?loc: Loc?, ?comments: Array[Comment]) ?{ (AttrReader node) -> void } -> void + # + # @return [AttrReader] a new instance of AttrReader + # + # source://rbi//lib/rbi/model.rb#349 sig do params( name: ::Symbol, @@ -174,26 +234,40 @@ class RBI::AttrReader < ::RBI::Attr end def initialize(name, *names, visibility: T.unsafe(nil), sigs: T.unsafe(nil), loc: T.unsafe(nil), comments: T.unsafe(nil), &block); end - # source://rbi//lib/rbi/rewriters/merge_trees.rb#442 + # : (Node other) -> bool + # + # @return [Boolean] + # + # source://rbi//lib/rbi/rewriters/merge_trees.rb#416 sig { override.params(other: ::RBI::Node).returns(T::Boolean) } def compatible_with?(other); end - # source://rbi//lib/rbi/rewriters/attr_to_methods.rb#154 + # : -> Array[Method] + # + # source://rbi//lib/rbi/rewriters/attr_to_methods.rb#137 sig { override.returns(T::Array[::RBI::Method]) } def convert_to_methods; end - # source://rbi//lib/rbi/model.rb#439 + # : -> Array[String] + # + # source://rbi//lib/rbi/model.rb#356 sig { override.returns(T::Array[::String]) } def fully_qualified_names; end - # source://rbi//lib/rbi/model.rb#445 + # : -> String + # + # source://rbi//lib/rbi/model.rb#363 sig { override.returns(::String) } def to_s; end end -# source://rbi//lib/rbi/model.rb#451 +# source://rbi//lib/rbi/model.rb#369 class RBI::AttrWriter < ::RBI::Attr - # source://rbi//lib/rbi/model.rb#465 + # : (Symbol name, *Symbol names, ?visibility: Visibility, ?sigs: Array[Sig], ?loc: Loc?, ?comments: Array[Comment]) ?{ (AttrWriter node) -> void } -> void + # + # @return [AttrWriter] a new instance of AttrWriter + # + # source://rbi//lib/rbi/model.rb#371 sig do params( name: ::Symbol, @@ -207,35 +281,53 @@ class RBI::AttrWriter < ::RBI::Attr end def initialize(name, *names, visibility: T.unsafe(nil), sigs: T.unsafe(nil), loc: T.unsafe(nil), comments: T.unsafe(nil), &block); end - # source://rbi//lib/rbi/rewriters/merge_trees.rb#451 + # : (Node other) -> bool + # + # @return [Boolean] + # + # source://rbi//lib/rbi/rewriters/merge_trees.rb#424 sig { override.params(other: ::RBI::Node).returns(T::Boolean) } def compatible_with?(other); end - # source://rbi//lib/rbi/rewriters/attr_to_methods.rb#163 + # : -> Array[Method] + # + # source://rbi//lib/rbi/rewriters/attr_to_methods.rb#147 sig { override.returns(T::Array[::RBI::Method]) } def convert_to_methods; end - # source://rbi//lib/rbi/model.rb#471 + # : -> Array[String] + # + # source://rbi//lib/rbi/model.rb#378 sig { override.returns(T::Array[::String]) } def fully_qualified_names; end - # source://rbi//lib/rbi/model.rb#477 + # : -> String + # + # source://rbi//lib/rbi/model.rb#385 sig { override.returns(::String) } def to_s; end end # An arbitrary blank line that can be added both in trees and comments # -# source://rbi//lib/rbi/model.rb#76 +# source://rbi//lib/rbi/model.rb#73 class RBI::BlankLine < ::RBI::Comment - # source://rbi//lib/rbi/model.rb#80 + # : (?loc: Loc?) -> void + # + # @return [BlankLine] a new instance of BlankLine + # + # source://rbi//lib/rbi/model.rb#75 sig { params(loc: T.nilable(::RBI::Loc)).void } def initialize(loc: T.unsafe(nil)); end end -# source://rbi//lib/rbi/model.rb#816 +# source://rbi//lib/rbi/model.rb#642 class RBI::BlockParam < ::RBI::Param - # source://rbi//lib/rbi/model.rb#827 + # : (String name, ?loc: Loc?, ?comments: Array[Comment]) ?{ (BlockParam node) -> void } -> void + # + # @return [BlockParam] a new instance of BlockParam + # + # source://rbi//lib/rbi/model.rb#644 sig do params( name: ::String, @@ -246,18 +338,26 @@ class RBI::BlockParam < ::RBI::Param end def initialize(name, loc: T.unsafe(nil), comments: T.unsafe(nil), &block); end - # source://rbi//lib/rbi/model.rb#838 + # : (Object? other) -> bool + # + # source://rbi//lib/rbi/model.rb#656 sig { params(other: T.nilable(::Object)).returns(T::Boolean) } def ==(other); end - # source://rbi//lib/rbi/model.rb#833 + # : -> String + # + # source://rbi//lib/rbi/model.rb#651 sig { override.returns(::String) } def to_s; end end -# source://rbi//lib/rbi/model.rb#220 +# source://rbi//lib/rbi/model.rb#202 class RBI::Class < ::RBI::Scope - # source://rbi//lib/rbi/model.rb#238 + # : (String name, ?superclass_name: String?, ?loc: Loc?, ?comments: Array[Comment]) ?{ (Class node) -> void } -> void + # + # @return [Class] a new instance of Class + # + # source://rbi//lib/rbi/model.rb#210 sig do params( name: ::String, @@ -269,50 +369,71 @@ class RBI::Class < ::RBI::Scope end def initialize(name, superclass_name: T.unsafe(nil), loc: T.unsafe(nil), comments: T.unsafe(nil), &block); end - # source://rbi//lib/rbi/rewriters/merge_trees.rb#384 + # : (Node other) -> bool + # + # @return [Boolean] + # + # source://rbi//lib/rbi/rewriters/merge_trees.rb#362 sig { override.params(other: ::RBI::Node).returns(T::Boolean) } def compatible_with?(other); end - # source://rbi//lib/rbi/model.rb#246 + # : -> String + # + # source://rbi//lib/rbi/model.rb#219 sig { override.returns(::String) } def fully_qualified_name; end - # source://rbi//lib/rbi/model.rb#224 + # : String + # + # source://rbi//lib/rbi/model.rb#204 sig { returns(::String) } def name; end - # @return [String] + # : String # - # source://rbi//lib/rbi/model.rb#224 + # source://rbi//lib/rbi/model.rb#204 + # @return [String] def name=(_arg0); end - # source://rbi//lib/rbi/model.rb#227 + # : String? + # + # source://rbi//lib/rbi/model.rb#207 sig { returns(T.nilable(::String)) } def superclass_name; end - # @return [String, nil] + # : String? # - # source://rbi//lib/rbi/model.rb#227 + # source://rbi//lib/rbi/model.rb#207 + # @return [String, nil] def superclass_name=(_arg0); end end -# source://rbi//lib/rbi/model.rb#55 +# source://rbi//lib/rbi/model.rb#54 class RBI::Comment < ::RBI::Node - # source://rbi//lib/rbi/model.rb#62 + # : (String text, ?loc: Loc?) -> void + # + # @return [Comment] a new instance of Comment + # + # source://rbi//lib/rbi/model.rb#59 sig { params(text: ::String, loc: T.nilable(::RBI::Loc)).void } def initialize(text, loc: T.unsafe(nil)); end - # source://rbi//lib/rbi/model.rb#68 + # : (Object other) -> bool + # + # source://rbi//lib/rbi/model.rb#65 sig { params(other: ::Object).returns(T::Boolean) } def ==(other); end - # source://rbi//lib/rbi/model.rb#59 + # : String + # + # source://rbi//lib/rbi/model.rb#56 sig { returns(::String) } def text; end - # @return [String] + # : String # - # source://rbi//lib/rbi/model.rb#59 + # source://rbi//lib/rbi/model.rb#56 + # @return [String] def text=(_arg0); end end @@ -331,38 +452,64 @@ end # end # ~~~ # -# source://rbi//lib/rbi/rewriters/merge_trees.rb#583 +# source://rbi//lib/rbi/rewriters/merge_trees.rb#546 +# A tree showing incompatibles nodes +# Is rendered as a merge conflict between `left` and` right`: +# ~~~rb +# class Foo +# <<<<<<< left +# def m1; end +# def m2(a); end +# ======= +# def m1(a); end +# def m2; end +# >>>>>>> right +# end class RBI::ConflictTree < ::RBI::Tree - # source://rbi//lib/rbi/rewriters/merge_trees.rb#593 + # : (?left_name: String, ?right_name: String) -> void + # + # @return [ConflictTree] a new instance of ConflictTree + # + # source://rbi//lib/rbi/rewriters/merge_trees.rb#554 sig { params(left_name: ::String, right_name: ::String).void } def initialize(left_name: T.unsafe(nil), right_name: T.unsafe(nil)); end - # source://rbi//lib/rbi/rewriters/merge_trees.rb#587 + # : Tree + # + # source://rbi//lib/rbi/rewriters/merge_trees.rb#548 sig { returns(::RBI::Tree) } def left; end - # source://rbi//lib/rbi/rewriters/merge_trees.rb#590 + # : String + # + # source://rbi//lib/rbi/rewriters/merge_trees.rb#551 sig { returns(::String) } def left_name; end - # @return [Tree] + # : Tree # - # source://rbi//lib/rbi/rewriters/merge_trees.rb#587 + # source://rbi//lib/rbi/rewriters/merge_trees.rb#548 + # @return [Tree] def right; end - # @return [String] + # : String # - # source://rbi//lib/rbi/rewriters/merge_trees.rb#590 + # source://rbi//lib/rbi/rewriters/merge_trees.rb#551 + # @return [String] def right_name; end end # Consts # -# source://rbi//lib/rbi/model.rb#314 +# source://rbi//lib/rbi/model.rb#270 class RBI::Const < ::RBI::NodeWithComments include ::RBI::Indexable - # source://rbi//lib/rbi/model.rb#329 + # : (String name, String value, ?loc: Loc?, ?comments: Array[Comment]) ?{ (Const node) -> void } -> void + # + # @return [Const] a new instance of Const + # + # source://rbi//lib/rbi/model.rb#275 sig do params( name: ::String, @@ -374,43 +521,61 @@ class RBI::Const < ::RBI::NodeWithComments end def initialize(name, value, loc: T.unsafe(nil), comments: T.unsafe(nil), &block); end - # source://rbi//lib/rbi/rewriters/merge_trees.rb#411 + # : (Node other) -> bool + # + # @return [Boolean] + # + # source://rbi//lib/rbi/rewriters/merge_trees.rb#386 sig { override.params(other: ::RBI::Node).returns(T::Boolean) } def compatible_with?(other); end - # source://rbi//lib/rbi/model.rb#337 + # : -> String + # + # source://rbi//lib/rbi/model.rb#283 sig { returns(::String) } def fully_qualified_name; end - # source://rbi//lib/rbi/index.rb#103 + # : -> Array[String] + # + # source://rbi//lib/rbi/index.rb#99 sig { override.returns(T::Array[::String]) } def index_ids; end - # source://rbi//lib/rbi/model.rb#318 + # : String + # + # source://rbi//lib/rbi/model.rb#272 sig { returns(::String) } def name; end - # source://rbi//lib/rbi/model.rb#344 + # : -> String + # + # source://rbi//lib/rbi/model.rb#291 sig { override.returns(::String) } def to_s; end - # @return [String] + # : String # - # source://rbi//lib/rbi/model.rb#318 + # source://rbi//lib/rbi/model.rb#272 + # @return [String] def value; end end -# source://rbi//lib/rbi/rewriters/merge_trees.rb#351 +# source://rbi//lib/rbi/rewriters/merge_trees.rb#332 class RBI::DuplicateNodeError < ::RBI::Error; end -# source://rbi//lib/rbi.rb#8 +# source://rbi//lib/rbi.rb#9 +# source://rbi//lib/rbi.rb#14 class RBI::Error < ::StandardError; end -# source://rbi//lib/rbi/model.rb#891 +# source://rbi//lib/rbi/model.rb#692 class RBI::Extend < ::RBI::Mixin include ::RBI::Indexable - # source://rbi//lib/rbi/model.rb#903 + # : (String name, *String names, ?loc: Loc?, ?comments: Array[Comment]) ?{ (Extend node) -> void } -> void + # + # @return [Extend] a new instance of Extend + # + # source://rbi//lib/rbi/model.rb#694 sig do params( name: ::String, @@ -422,22 +587,34 @@ class RBI::Extend < ::RBI::Mixin end def initialize(name, *names, loc: T.unsafe(nil), comments: T.unsafe(nil), &block); end - # source://rbi//lib/rbi/rewriters/merge_trees.rb#510 + # : (Node other) -> bool + # + # @return [Boolean] + # + # source://rbi//lib/rbi/rewriters/merge_trees.rb#479 sig { override.params(other: ::RBI::Node).returns(T::Boolean) } def compatible_with?(other); end - # source://rbi//lib/rbi/index.rb#143 + # : -> Array[String] + # + # source://rbi//lib/rbi/index.rb#139 sig { override.returns(T::Array[::String]) } def index_ids; end - # source://rbi//lib/rbi/model.rb#909 + # : -> String + # + # source://rbi//lib/rbi/model.rb#701 sig { override.returns(::String) } def to_s; end end -# source://rbi//lib/rbi/model.rb#139 +# source://rbi//lib/rbi/model.rb#135 class RBI::File - # source://rbi//lib/rbi/model.rb#158 + # : (?strictness: String?, ?comments: Array[Comment]) ?{ (File file) -> void } -> void + # + # @return [File] a new instance of File + # + # source://rbi//lib/rbi/model.rb#146 sig do params( strictness: T.nilable(::String), @@ -447,24 +624,35 @@ class RBI::File end def initialize(strictness: T.unsafe(nil), comments: T.unsafe(nil), &block); end - # source://rbi//lib/rbi/model.rb#166 + # : (Node node) -> void + # + # source://rbi//lib/rbi/model.rb#154 sig { params(node: ::RBI::Node).void } def <<(node); end - # source://rbi//lib/rbi/model.rb#149 + # : Array[Comment] + # + # source://rbi//lib/rbi/model.rb#143 sig { returns(T::Array[::RBI::Comment]) } def comments; end - # @return [Array] + # : Array[Comment] # - # source://rbi//lib/rbi/model.rb#149 + # source://rbi//lib/rbi/model.rb#143 + # @return [Array] def comments=(_arg0); end - # source://rbi//lib/rbi/model.rb#171 + # : -> bool + # + # @return [Boolean] + # + # source://rbi//lib/rbi/model.rb#159 sig { returns(T::Boolean) } def empty?; end - # source://rbi//lib/rbi/printer.rb#751 + # : (?out: (IO | StringIO), ?indent: Integer, ?print_locs: bool, ?max_line_length: Integer?) -> void + # + # source://rbi//lib/rbi/printer.rb#794 sig do params( out: T.any(::IO, ::StringIO), @@ -475,40 +663,56 @@ class RBI::File end def print(out: T.unsafe(nil), indent: T.unsafe(nil), print_locs: T.unsafe(nil), max_line_length: T.unsafe(nil)); end - # source://rbi//lib/rbi/rbs_printer.rb#1040 + # : (?out: (IO | StringIO), ?indent: Integer, ?print_locs: bool) -> void + # + # source://rbi//lib/rbi/rbs_printer.rb#1106 sig { params(out: T.any(::IO, ::StringIO), indent: ::Integer, print_locs: T::Boolean).void } def rbs_print(out: T.unsafe(nil), indent: T.unsafe(nil), print_locs: T.unsafe(nil)); end - # source://rbi//lib/rbi/rbs_printer.rb#1046 + # : (?indent: Integer, ?print_locs: bool) -> String + # + # source://rbi//lib/rbi/rbs_printer.rb#1112 sig { params(indent: ::Integer, print_locs: T::Boolean).returns(::String) } def rbs_string(indent: T.unsafe(nil), print_locs: T.unsafe(nil)); end - # source://rbi//lib/rbi/model.rb#143 + # : Tree + # + # source://rbi//lib/rbi/model.rb#137 sig { returns(::RBI::Tree) } def root; end - # @return [Tree] + # : Tree # - # source://rbi//lib/rbi/model.rb#143 + # source://rbi//lib/rbi/model.rb#137 + # @return [Tree] def root=(_arg0); end - # source://rbi//lib/rbi/model.rb#146 + # : String? + # + # source://rbi//lib/rbi/model.rb#140 sig { returns(T.nilable(::String)) } def strictness; end - # @return [String, nil] + # : String? # - # source://rbi//lib/rbi/model.rb#146 + # source://rbi//lib/rbi/model.rb#140 + # @return [String, nil] def strictness=(_arg0); end - # source://rbi//lib/rbi/printer.rb#757 + # : (?indent: Integer, ?print_locs: bool, ?max_line_length: Integer?) -> String + # + # source://rbi//lib/rbi/printer.rb#800 sig { params(indent: ::Integer, print_locs: T::Boolean, max_line_length: T.nilable(::Integer)).returns(::String) } def string(indent: T.unsafe(nil), print_locs: T.unsafe(nil), max_line_length: T.unsafe(nil)); end end # source://rbi//lib/rbi/formatter.rb#5 class RBI::Formatter - # source://rbi//lib/rbi/formatter.rb#21 + # : (?add_sig_templates: bool, ?group_nodes: bool, ?max_line_length: Integer?, ?nest_singleton_methods: bool, ?nest_non_public_members: bool, ?sort_nodes: bool) -> void + # + # @return [Formatter] a new instance of Formatter + # + # source://rbi//lib/rbi/formatter.rb#10 sig do params( add_sig_templates: T::Boolean, @@ -521,40 +725,55 @@ class RBI::Formatter end def initialize(add_sig_templates: T.unsafe(nil), group_nodes: T.unsafe(nil), max_line_length: T.unsafe(nil), nest_singleton_methods: T.unsafe(nil), nest_non_public_members: T.unsafe(nil), sort_nodes: T.unsafe(nil)); end - # source://rbi//lib/rbi/formatter.rb#44 + # : (RBI::File file) -> void + # + # source://rbi//lib/rbi/formatter.rb#33 sig { params(file: ::RBI::File).void } def format_file(file); end - # source://rbi//lib/rbi/formatter.rb#49 + # : (RBI::Tree tree) -> void + # + # source://rbi//lib/rbi/formatter.rb#38 sig { params(tree: ::RBI::Tree).void } def format_tree(tree); end - # source://rbi//lib/rbi/formatter.rb#9 + # : Integer? + # + # source://rbi//lib/rbi/formatter.rb#7 sig { returns(T.nilable(::Integer)) } def max_line_length; end - # @return [Integer, nil] + # : Integer? # - # source://rbi//lib/rbi/formatter.rb#9 + # source://rbi//lib/rbi/formatter.rb#7 + # @return [Integer, nil] def max_line_length=(_arg0); end - # source://rbi//lib/rbi/formatter.rb#38 + # : (RBI::File file) -> String + # + # source://rbi//lib/rbi/formatter.rb#27 sig { params(file: ::RBI::File).returns(::String) } def print_file(file); end end -# source://rbi//lib/rbi/rewriters/group_nodes.rb#87 +# source://rbi//lib/rbi/rewriters/group_nodes.rb#84 class RBI::Group < ::RBI::Tree - # source://rbi//lib/rbi/rewriters/group_nodes.rb#94 + # : (Kind kind) -> void + # + # @return [Group] a new instance of Group + # + # source://rbi//lib/rbi/rewriters/group_nodes.rb#89 sig { params(kind: ::RBI::Group::Kind).void } def initialize(kind); end - # source://rbi//lib/rbi/rewriters/group_nodes.rb#91 + # : Kind + # + # source://rbi//lib/rbi/rewriters/group_nodes.rb#86 sig { returns(::RBI::Group::Kind) } def kind; end end -# source://rbi//lib/rbi/rewriters/group_nodes.rb#99 +# source://rbi//lib/rbi/rewriters/group_nodes.rb#94 class RBI::Group::Kind < ::T::Enum enums do Attrs = new @@ -578,11 +797,15 @@ class RBI::GroupNodesError < ::RBI::Error; end # Sorbet's misc. # -# source://rbi//lib/rbi/model.rb#1377 +# source://rbi//lib/rbi/model.rb#1042 class RBI::Helper < ::RBI::NodeWithComments include ::RBI::Indexable - # source://rbi//lib/rbi/model.rb#1391 + # : (String name, ?loc: Loc?, ?comments: Array[Comment]) ?{ (Helper node) -> void } -> void + # + # @return [Helper] a new instance of Helper + # + # source://rbi//lib/rbi/model.rb#1047 sig do params( name: ::String, @@ -593,28 +816,42 @@ class RBI::Helper < ::RBI::NodeWithComments end def initialize(name, loc: T.unsafe(nil), comments: T.unsafe(nil), &block); end - # source://rbi//lib/rbi/rewriters/merge_trees.rb#528 + # : (Node other) -> bool + # + # @return [Boolean] + # + # source://rbi//lib/rbi/rewriters/merge_trees.rb#495 sig { override.params(other: ::RBI::Node).returns(T::Boolean) } def compatible_with?(other); end - # source://rbi//lib/rbi/index.rb#173 + # : -> Array[String] + # + # source://rbi//lib/rbi/index.rb#169 sig { override.returns(T::Array[::String]) } def index_ids; end - # source://rbi//lib/rbi/model.rb#1381 + # : String + # + # source://rbi//lib/rbi/model.rb#1044 sig { returns(::String) } def name; end - # source://rbi//lib/rbi/model.rb#1398 + # : -> String + # + # source://rbi//lib/rbi/model.rb#1055 sig { override.returns(::String) } def to_s; end end -# source://rbi//lib/rbi/model.rb#868 +# source://rbi//lib/rbi/model.rb#678 class RBI::Include < ::RBI::Mixin include ::RBI::Indexable - # source://rbi//lib/rbi/model.rb#880 + # : (String name, *String names, ?loc: Loc?, ?comments: Array[Comment]) ?{ (Include node) -> void } -> void + # + # @return [Include] a new instance of Include + # + # source://rbi//lib/rbi/model.rb#680 sig do params( name: ::String, @@ -626,49 +863,73 @@ class RBI::Include < ::RBI::Mixin end def initialize(name, *names, loc: T.unsafe(nil), comments: T.unsafe(nil), &block); end - # source://rbi//lib/rbi/rewriters/merge_trees.rb#501 + # : (Node other) -> bool + # + # @return [Boolean] + # + # source://rbi//lib/rbi/rewriters/merge_trees.rb#471 sig { override.params(other: ::RBI::Node).returns(T::Boolean) } def compatible_with?(other); end - # source://rbi//lib/rbi/index.rb#133 + # : -> Array[String] + # + # source://rbi//lib/rbi/index.rb#129 sig { override.returns(T::Array[::String]) } def index_ids; end - # source://rbi//lib/rbi/model.rb#886 + # : -> String + # + # source://rbi//lib/rbi/model.rb#687 sig { override.returns(::String) } def to_s; end end # source://rbi//lib/rbi/index.rb#5 class RBI::Index < ::RBI::Visitor - # source://rbi//lib/rbi/index.rb#21 + # : -> void + # + # @return [Index] a new instance of Index + # + # source://rbi//lib/rbi/index.rb#18 sig { void } def initialize; end - # source://rbi//lib/rbi/index.rb#32 + # : (String id) -> Array[Node] + # + # source://rbi//lib/rbi/index.rb#29 sig { params(id: ::String).returns(T::Array[::RBI::Node]) } def [](id); end - # source://rbi//lib/rbi/index.rb#37 + # : (*Node nodes) -> void + # + # source://rbi//lib/rbi/index.rb#34 sig { params(nodes: ::RBI::Node).void } def index(*nodes); end - # source://rbi//lib/rbi/index.rb#27 + # : -> Array[String] + # + # source://rbi//lib/rbi/index.rb#24 sig { returns(T::Array[::String]) } def keys; end - # source://rbi//lib/rbi/index.rb#42 + # : (Node? node) -> void + # + # source://rbi//lib/rbi/index.rb#40 sig { override.params(node: T.nilable(::RBI::Node)).void } def visit(node); end private - # source://rbi//lib/rbi/index.rb#59 + # : ((Indexable & Node) node) -> void + # + # source://rbi//lib/rbi/index.rb#57 sig { params(node: T.all(::RBI::Indexable, ::RBI::Node)).void } def index_node(node); end class << self - # source://rbi//lib/rbi/index.rb#13 + # : (*Node node) -> Index + # + # source://rbi//lib/rbi/index.rb#10 sig { params(node: ::RBI::Node).returns(::RBI::Index) } def index(*node); end end @@ -678,7 +939,7 @@ end # # @abstract Subclasses must implement the `abstract` methods below. # -# source://rbi//lib/rbi/index.rb#74 +# source://rbi//lib/rbi/index.rb#70 module RBI::Indexable interface! @@ -689,33 +950,49 @@ module RBI::Indexable # # @abstract # - # source://rbi//lib/rbi/index.rb#85 + # source://rbi//lib/rbi/index.rb#81 + # Unique IDs that refer to this node. + # Some nodes can have multiple ids, for example an attribute accessor matches the ID of the sig { abstract.returns(T::Array[::String]) } def index_ids; end end -# source://rbi//lib/rbi/model.rb#1073 +# source://rbi//lib/rbi/model.rb#823 class RBI::KwArg < ::RBI::Arg - # source://rbi//lib/rbi/model.rb#1086 + # : (String keyword, String value, ?loc: Loc?) -> void + # + # @return [KwArg] a new instance of KwArg + # + # source://rbi//lib/rbi/model.rb#828 sig { params(keyword: ::String, value: ::String, loc: T.nilable(::RBI::Loc)).void } def initialize(keyword, value, loc: T.unsafe(nil)); end - # source://rbi//lib/rbi/model.rb#1092 + # : (Object? other) -> bool + # + # source://rbi//lib/rbi/model.rb#834 sig { params(other: T.nilable(::Object)).returns(T::Boolean) } def ==(other); end - # source://rbi//lib/rbi/model.rb#1077 + # : String + # + # source://rbi//lib/rbi/model.rb#825 sig { returns(::String) } def keyword; end - # source://rbi//lib/rbi/model.rb#1097 + # : -> String + # + # source://rbi//lib/rbi/model.rb#839 sig { returns(::String) } def to_s; end end -# source://rbi//lib/rbi/model.rb#757 +# source://rbi//lib/rbi/model.rb#600 class RBI::KwOptParam < ::RBI::Param - # source://rbi//lib/rbi/model.rb#772 + # : (String name, String value, ?loc: Loc?, ?comments: Array[Comment]) ?{ (KwOptParam node) -> void } -> void + # + # @return [KwOptParam] a new instance of KwOptParam + # + # source://rbi//lib/rbi/model.rb#605 sig do params( name: ::String, @@ -727,22 +1004,32 @@ class RBI::KwOptParam < ::RBI::Param end def initialize(name, value, loc: T.unsafe(nil), comments: T.unsafe(nil), &block); end - # source://rbi//lib/rbi/model.rb#784 + # : (Object? other) -> bool + # + # source://rbi//lib/rbi/model.rb#618 sig { params(other: T.nilable(::Object)).returns(T::Boolean) } def ==(other); end - # source://rbi//lib/rbi/model.rb#779 + # : -> String + # + # source://rbi//lib/rbi/model.rb#613 sig { override.returns(::String) } def to_s; end - # source://rbi//lib/rbi/model.rb#761 + # : String + # + # source://rbi//lib/rbi/model.rb#602 sig { returns(::String) } def value; end end -# source://rbi//lib/rbi/model.rb#730 +# source://rbi//lib/rbi/model.rb#581 class RBI::KwParam < ::RBI::Param - # source://rbi//lib/rbi/model.rb#741 + # : (String name, ?loc: Loc?, ?comments: Array[Comment]) ?{ (KwParam node) -> void } -> void + # + # @return [KwParam] a new instance of KwParam + # + # source://rbi//lib/rbi/model.rb#583 sig do params( name: ::String, @@ -753,18 +1040,26 @@ class RBI::KwParam < ::RBI::Param end def initialize(name, loc: T.unsafe(nil), comments: T.unsafe(nil), &block); end - # source://rbi//lib/rbi/model.rb#752 + # : (Object? other) -> bool + # + # source://rbi//lib/rbi/model.rb#595 sig { params(other: T.nilable(::Object)).returns(T::Boolean) } def ==(other); end - # source://rbi//lib/rbi/model.rb#747 + # : -> String + # + # source://rbi//lib/rbi/model.rb#590 sig { override.returns(::String) } def to_s; end end -# source://rbi//lib/rbi/model.rb#789 +# source://rbi//lib/rbi/model.rb#623 class RBI::KwRestParam < ::RBI::Param - # source://rbi//lib/rbi/model.rb#800 + # : (String name, ?loc: Loc?, ?comments: Array[Comment]) ?{ (KwRestParam node) -> void } -> void + # + # @return [KwRestParam] a new instance of KwRestParam + # + # source://rbi//lib/rbi/model.rb#625 sig do params( name: ::String, @@ -775,18 +1070,26 @@ class RBI::KwRestParam < ::RBI::Param end def initialize(name, loc: T.unsafe(nil), comments: T.unsafe(nil), &block); end - # source://rbi//lib/rbi/model.rb#811 + # : (Object? other) -> bool + # + # source://rbi//lib/rbi/model.rb#637 sig { params(other: T.nilable(::Object)).returns(T::Boolean) } def ==(other); end - # source://rbi//lib/rbi/model.rb#806 + # : -> String + # + # source://rbi//lib/rbi/model.rb#632 sig { override.returns(::String) } def to_s; end end # source://rbi//lib/rbi/loc.rb#5 class RBI::Loc - # source://rbi//lib/rbi/loc.rb#38 + # : (?file: String?, ?begin_line: Integer?, ?end_line: Integer?, ?begin_column: Integer?, ?end_column: Integer?) -> void + # + # @return [Loc] a new instance of Loc + # + # source://rbi//lib/rbi/loc.rb#26 sig do params( file: T.nilable(::String), @@ -798,39 +1101,52 @@ class RBI::Loc end def initialize(file: T.unsafe(nil), begin_line: T.unsafe(nil), end_line: T.unsafe(nil), begin_column: T.unsafe(nil), end_column: T.unsafe(nil)); end - # @return [Integer, nil] + # : Integer? # - # source://rbi//lib/rbi/loc.rb#27 + # source://rbi//lib/rbi/loc.rb#23 + # @return [Integer, nil] def begin_column; end - # source://rbi//lib/rbi/loc.rb#27 + # : Integer? + # + # source://rbi//lib/rbi/loc.rb#23 sig { returns(T.nilable(::Integer)) } def begin_line; end - # @return [Integer, nil] + # : Integer? # - # source://rbi//lib/rbi/loc.rb#27 + # source://rbi//lib/rbi/loc.rb#23 + # @return [Integer, nil] def end_column; end - # @return [Integer, nil] + # : Integer? # - # source://rbi//lib/rbi/loc.rb#27 + # source://rbi//lib/rbi/loc.rb#23 + # @return [Integer, nil] def end_line; end - # source://rbi//lib/rbi/loc.rb#24 + # : String? + # + # source://rbi//lib/rbi/loc.rb#20 sig { returns(T.nilable(::String)) } def file; end - # source://rbi//lib/rbi/loc.rb#56 + # : -> String? + # + # source://rbi//lib/rbi/loc.rb#44 sig { returns(T.nilable(::String)) } def source; end - # source://rbi//lib/rbi/loc.rb#47 + # : -> String + # + # source://rbi//lib/rbi/loc.rb#35 sig { returns(::String) } def to_s; end class << self - # source://rbi//lib/rbi/loc.rb#12 + # : (String file, Prism::Location prism_location) -> Loc + # + # source://rbi//lib/rbi/loc.rb#8 sig { params(file: ::String, prism_location: ::Prism::Location).returns(::RBI::Loc) } def from_prism(file, prism_location); end end @@ -838,9 +1154,13 @@ end # A tree that _might_ contain conflicts # -# source://rbi//lib/rbi/rewriters/merge_trees.rb#330 +# source://rbi//lib/rbi/rewriters/merge_trees.rb#320 class RBI::MergeTree < ::RBI::Tree - # source://rbi//lib/rbi/rewriters/merge_trees.rb#344 + # : (?loc: Loc?, ?comments: Array[Comment], ?conflicts: Array[Rewriters::Merge::Conflict]) ?{ (Tree node) -> void } -> void + # + # @return [MergeTree] a new instance of MergeTree + # + # source://rbi//lib/rbi/rewriters/merge_trees.rb#325 sig do params( loc: T.nilable(::RBI::Loc), @@ -851,18 +1171,24 @@ class RBI::MergeTree < ::RBI::Tree end def initialize(loc: T.unsafe(nil), comments: T.unsafe(nil), conflicts: T.unsafe(nil), &block); end - # source://rbi//lib/rbi/rewriters/merge_trees.rb#334 + # : Array[Rewriters::Merge::Conflict] + # + # source://rbi//lib/rbi/rewriters/merge_trees.rb#322 sig { returns(T::Array[::RBI::Rewriters::Merge::Conflict]) } def conflicts; end end # Methods and args # -# source://rbi//lib/rbi/model.rb#485 +# source://rbi//lib/rbi/model.rb#393 class RBI::Method < ::RBI::NodeWithComments include ::RBI::Indexable - # source://rbi//lib/rbi/model.rb#515 + # : (String name, ?params: Array[Param], ?is_singleton: bool, ?visibility: Visibility, ?sigs: Array[Sig], ?loc: Loc?, ?comments: Array[Comment]) ?{ (Method node) -> void } -> void + # + # @return [Method] a new instance of Method + # + # source://rbi//lib/rbi/model.rb#410 sig do params( name: ::String, @@ -877,39 +1203,57 @@ class RBI::Method < ::RBI::NodeWithComments end def initialize(name, params: T.unsafe(nil), is_singleton: T.unsafe(nil), visibility: T.unsafe(nil), sigs: T.unsafe(nil), loc: T.unsafe(nil), comments: T.unsafe(nil), &block); end - # source://rbi//lib/rbi/model.rb#535 + # : (Param param) -> void + # + # source://rbi//lib/rbi/model.rb#430 sig { params(param: ::RBI::Param).void } def <<(param); end - # source://rbi//lib/rbi/model.rb#570 + # : (String name) -> void + # + # source://rbi//lib/rbi/model.rb#465 sig { params(name: ::String).void } def add_block_param(name); end - # source://rbi//lib/rbi/model.rb#560 + # : (String name, String default_value) -> void + # + # source://rbi//lib/rbi/model.rb#455 sig { params(name: ::String, default_value: ::String).void } def add_kw_opt_param(name, default_value); end - # source://rbi//lib/rbi/model.rb#555 + # : (String name) -> void + # + # source://rbi//lib/rbi/model.rb#450 sig { params(name: ::String).void } def add_kw_param(name); end - # source://rbi//lib/rbi/model.rb#565 + # : (String name) -> void + # + # source://rbi//lib/rbi/model.rb#460 sig { params(name: ::String).void } def add_kw_rest_param(name); end - # source://rbi//lib/rbi/model.rb#545 + # : (String name, String default_value) -> void + # + # source://rbi//lib/rbi/model.rb#440 sig { params(name: ::String, default_value: ::String).void } def add_opt_param(name, default_value); end - # source://rbi//lib/rbi/model.rb#540 + # : (String name) -> void + # + # source://rbi//lib/rbi/model.rb#435 sig { params(name: ::String).void } def add_param(name); end - # source://rbi//lib/rbi/model.rb#550 + # : (String name) -> void + # + # source://rbi//lib/rbi/model.rb#445 sig { params(name: ::String).void } def add_rest_param(name); end - # source://rbi//lib/rbi/model.rb#587 + # : (?params: Array[SigParam], ?return_type: (String | Type), ?is_abstract: bool, ?is_override: bool, ?is_overridable: bool, ?is_final: bool, ?type_params: Array[String], ?checked: Symbol?) ?{ (Sig node) -> void } -> void + # + # source://rbi//lib/rbi/model.rb#470 sig do params( params: T::Array[::RBI::SigParam], @@ -925,72 +1269,102 @@ class RBI::Method < ::RBI::NodeWithComments end def add_sig(params: T.unsafe(nil), return_type: T.unsafe(nil), is_abstract: T.unsafe(nil), is_override: T.unsafe(nil), is_overridable: T.unsafe(nil), is_final: T.unsafe(nil), type_params: T.unsafe(nil), checked: T.unsafe(nil), &block); end - # source://rbi//lib/rbi/rewriters/merge_trees.rb#469 + # : (Node other) -> bool + # + # @return [Boolean] + # + # source://rbi//lib/rbi/rewriters/merge_trees.rb#440 sig { override.params(other: ::RBI::Node).returns(T::Boolean) } def compatible_with?(other); end - # source://rbi//lib/rbi/model.rb#613 + # : -> String + # + # source://rbi//lib/rbi/model.rb#496 sig { returns(::String) } def fully_qualified_name; end - # source://rbi//lib/rbi/index.rb#123 + # : -> Array[String] + # + # source://rbi//lib/rbi/index.rb#119 sig { override.returns(T::Array[::String]) } def index_ids; end - # source://rbi//lib/rbi/model.rb#495 + # : bool + # + # source://rbi//lib/rbi/model.rb#401 sig { returns(T::Boolean) } def is_singleton; end - # @return [Boolean] + # : bool # - # source://rbi//lib/rbi/model.rb#495 + # source://rbi//lib/rbi/model.rb#401 + # @return [Boolean] def is_singleton=(_arg0); end - # source://rbi//lib/rbi/rewriters/merge_trees.rb#478 + # : (Node other) -> void + # + # source://rbi//lib/rbi/rewriters/merge_trees.rb#450 sig { override.params(other: ::RBI::Node).void } def merge_with(other); end - # source://rbi//lib/rbi/model.rb#489 + # : String + # + # source://rbi//lib/rbi/model.rb#395 sig { returns(::String) } def name; end - # @return [String] + # : String # - # source://rbi//lib/rbi/model.rb#489 + # source://rbi//lib/rbi/model.rb#395 + # @return [String] def name=(_arg0); end - # source://rbi//lib/rbi/model.rb#492 + # : Array[Param] + # + # source://rbi//lib/rbi/model.rb#398 sig { returns(T::Array[::RBI::Param]) } def params; end - # source://rbi//lib/rbi/model.rb#501 + # : Array[Sig] + # + # source://rbi//lib/rbi/model.rb#407 sig { returns(T::Array[::RBI::Sig]) } def sigs; end - # @return [Array] + # : Array[Sig] # - # source://rbi//lib/rbi/model.rb#501 + # source://rbi//lib/rbi/model.rb#407 + # @return [Array] def sigs=(_arg0); end - # source://rbi//lib/rbi/model.rb#622 + # : -> String + # + # source://rbi//lib/rbi/model.rb#506 sig { override.returns(::String) } def to_s; end - # source://rbi//lib/rbi/model.rb#498 + # : Visibility + # + # source://rbi//lib/rbi/model.rb#404 sig { returns(::RBI::Visibility) } def visibility; end - # @return [Visibility] + # : Visibility # - # source://rbi//lib/rbi/model.rb#498 + # source://rbi//lib/rbi/model.rb#404 + # @return [Visibility] def visibility=(_arg0); end end -# source://rbi//lib/rbi/model.rb#1438 +# source://rbi//lib/rbi/model.rb#1086 class RBI::MixesInClassMethods < ::RBI::Mixin include ::RBI::Indexable - # source://rbi//lib/rbi/model.rb#1450 + # : (String name, *String names, ?loc: Loc?, ?comments: Array[Comment]) ?{ (MixesInClassMethods node) -> void } -> void + # + # @return [MixesInClassMethods] a new instance of MixesInClassMethods + # + # source://rbi//lib/rbi/model.rb#1088 sig do params( name: ::String, @@ -1002,15 +1376,23 @@ class RBI::MixesInClassMethods < ::RBI::Mixin end def initialize(name, *names, loc: T.unsafe(nil), comments: T.unsafe(nil), &block); end - # source://rbi//lib/rbi/rewriters/merge_trees.rb#519 + # : (Node other) -> bool + # + # @return [Boolean] + # + # source://rbi//lib/rbi/rewriters/merge_trees.rb#487 sig { override.params(other: ::RBI::Node).returns(T::Boolean) } def compatible_with?(other); end - # source://rbi//lib/rbi/index.rb#153 + # : -> Array[String] + # + # source://rbi//lib/rbi/index.rb#149 sig { override.returns(T::Array[::String]) } def index_ids; end - # source://rbi//lib/rbi/model.rb#1456 + # : -> String + # + # source://rbi//lib/rbi/model.rb#1095 sig { override.returns(::String) } def to_s; end end @@ -1019,11 +1401,15 @@ end # # @abstract It cannot be directly instantiated. Subclasses must implement the `abstract` methods below. # -# source://rbi//lib/rbi/model.rb#845 +# source://rbi//lib/rbi/model.rb#663 class RBI::Mixin < ::RBI::NodeWithComments abstract! - # source://rbi//lib/rbi/model.rb#862 + # : (String name, Array[String] names, ?loc: Loc?, ?comments: Array[Comment]) -> void + # + # @return [Mixin] a new instance of Mixin + # + # source://rbi//lib/rbi/model.rb#672 sig do params( name: ::String, @@ -1034,18 +1420,28 @@ class RBI::Mixin < ::RBI::NodeWithComments end def initialize(name, names, loc: T.unsafe(nil), comments: T.unsafe(nil)); end - # source://rbi//lib/rbi/rewriters/merge_trees.rb#492 + # : (Node other) -> bool + # + # @return [Boolean] + # + # source://rbi//lib/rbi/rewriters/merge_trees.rb#463 sig { override.params(other: ::RBI::Node).returns(T::Boolean) } def compatible_with?(other); end - # source://rbi//lib/rbi/model.rb#852 + # : Array[String] + # + # source://rbi//lib/rbi/model.rb#669 sig { returns(T::Array[::String]) } def names; end end -# source://rbi//lib/rbi/model.rb#192 +# source://rbi//lib/rbi/model.rb#182 class RBI::Module < ::RBI::Scope - # source://rbi//lib/rbi/model.rb#206 + # : (String name, ?loc: Loc?, ?comments: Array[Comment]) ?{ (Module node) -> void } -> void + # + # @return [Module] a new instance of Module + # + # source://rbi//lib/rbi/model.rb#187 sig do params( name: ::String, @@ -1056,21 +1452,30 @@ class RBI::Module < ::RBI::Scope end def initialize(name, loc: T.unsafe(nil), comments: T.unsafe(nil), &block); end - # source://rbi//lib/rbi/rewriters/merge_trees.rb#393 + # : (Node other) -> bool + # + # @return [Boolean] + # + # source://rbi//lib/rbi/rewriters/merge_trees.rb#370 sig { override.params(other: ::RBI::Node).returns(T::Boolean) } def compatible_with?(other); end - # source://rbi//lib/rbi/model.rb#213 + # : -> String + # + # source://rbi//lib/rbi/model.rb#195 sig { override.returns(::String) } def fully_qualified_name; end - # source://rbi//lib/rbi/model.rb#196 + # : String + # + # source://rbi//lib/rbi/model.rb#184 sig { returns(::String) } def name; end - # @return [String] + # : String # - # source://rbi//lib/rbi/model.rb#196 + # source://rbi//lib/rbi/model.rb#184 + # @return [String] def name=(_arg0); end end @@ -1080,53 +1485,77 @@ end class RBI::Node abstract! - # source://rbi//lib/rbi/model.rb#20 + # : (?loc: Loc?) -> void + # + # @return [Node] a new instance of Node + # + # source://rbi//lib/rbi/model.rb#19 sig { params(loc: T.nilable(::RBI::Loc)).void } def initialize(loc: T.unsafe(nil)); end # Can `self` and `_other` be merged into a single definition? + # : (Node _other) -> bool # - # source://rbi//lib/rbi/rewriters/merge_trees.rb#287 + # @return [Boolean] + # + # source://rbi//lib/rbi/rewriters/merge_trees.rb#280 + # Can `self` and `_other` be merged into a single definition? sig { params(_other: ::RBI::Node).returns(T::Boolean) } def compatible_with?(_other); end - # source://rbi//lib/rbi/model.rb#26 + # : -> void + # + # source://rbi//lib/rbi/model.rb#25 sig { void } def detach; end - # source://rbi//lib/rbi/model.rb#17 + # : Loc? + # + # source://rbi//lib/rbi/model.rb#16 sig { returns(T.nilable(::RBI::Loc)) } def loc; end - # @return [Loc, nil] + # : Loc? # - # source://rbi//lib/rbi/model.rb#17 + # source://rbi//lib/rbi/model.rb#16 + # @return [Loc, nil] def loc=(_arg0); end # Merge `self` and `other` into a single definition + # : (Node other) -> void # - # source://rbi//lib/rbi/rewriters/merge_trees.rb#293 + # source://rbi//lib/rbi/rewriters/merge_trees.rb#286 + # Merge `self` and `other` into a single definition sig { params(other: ::RBI::Node).void } def merge_with(other); end - # source://rbi//lib/rbi/rewriters/merge_trees.rb#296 + # : -> ConflictTree? + # + # source://rbi//lib/rbi/rewriters/merge_trees.rb#289 sig { returns(T.nilable(::RBI::ConflictTree)) } def parent_conflict_tree; end - # source://rbi//lib/rbi/model.rb#48 + # : -> Scope? + # + # source://rbi//lib/rbi/model.rb#47 sig { returns(T.nilable(::RBI::Scope)) } def parent_scope; end - # source://rbi//lib/rbi/model.rb#14 + # : Tree? + # + # source://rbi//lib/rbi/model.rb#13 sig { returns(T.nilable(::RBI::Tree)) } def parent_tree; end - # @return [Tree, nil] + # : Tree? # - # source://rbi//lib/rbi/model.rb#14 + # source://rbi//lib/rbi/model.rb#13 + # @return [Tree, nil] def parent_tree=(_arg0); end - # source://rbi//lib/rbi/printer.rb#775 + # : (?out: (IO | StringIO), ?indent: Integer, ?print_locs: bool, ?max_line_length: Integer?) -> void + # + # source://rbi//lib/rbi/printer.rb#809 sig do params( out: T.any(::IO, ::StringIO), @@ -1137,64 +1566,100 @@ class RBI::Node end def print(out: T.unsafe(nil), indent: T.unsafe(nil), print_locs: T.unsafe(nil), max_line_length: T.unsafe(nil)); end - # source://rbi//lib/rbi/rbs_printer.rb#1057 - sig { params(out: T.any(::IO, ::StringIO), indent: ::Integer, print_locs: T::Boolean).void } - def rbs_print(out: T.unsafe(nil), indent: T.unsafe(nil), print_locs: T.unsafe(nil)); end + # : (?out: (IO | StringIO), ?indent: Integer, ?print_locs: bool, ?positional_names: bool) -> void + # + # source://rbi//lib/rbi/rbs_printer.rb#1121 + sig do + params( + out: T.any(::IO, ::StringIO), + indent: ::Integer, + print_locs: T::Boolean, + positional_names: T::Boolean + ).void + end + def rbs_print(out: T.unsafe(nil), indent: T.unsafe(nil), print_locs: T.unsafe(nil), positional_names: T.unsafe(nil)); end - # source://rbi//lib/rbi/rbs_printer.rb#1063 - sig { params(indent: ::Integer, print_locs: T::Boolean).returns(::String) } - def rbs_string(indent: T.unsafe(nil), print_locs: T.unsafe(nil)); end + # : (?indent: Integer, ?print_locs: bool, ?positional_names: bool) -> String + # + # source://rbi//lib/rbi/rbs_printer.rb#1127 + sig { params(indent: ::Integer, print_locs: T::Boolean, positional_names: T::Boolean).returns(::String) } + def rbs_string(indent: T.unsafe(nil), print_locs: T.unsafe(nil), positional_names: T.unsafe(nil)); end + # : (Node node) -> void + # # @raise [ReplaceNodeError] # - # source://rbi//lib/rbi/model.rb#35 + # source://rbi//lib/rbi/model.rb#34 sig { params(node: ::RBI::Node).void } def replace(node); end - # source://rbi//lib/rbi/rewriters/filter_versions.rb#94 + # : (Gem::Version version) -> bool + # + # @return [Boolean] + # + # source://rbi//lib/rbi/rewriters/filter_versions.rb#91 sig { params(version: ::Gem::Version).returns(T::Boolean) } def satisfies_version?(version); end - # source://rbi//lib/rbi/printer.rb#781 + # : (?indent: Integer, ?print_locs: bool, ?max_line_length: Integer?) -> String + # + # source://rbi//lib/rbi/printer.rb#815 sig { params(indent: ::Integer, print_locs: T::Boolean, max_line_length: T.nilable(::Integer)).returns(::String) } def string(indent: T.unsafe(nil), print_locs: T.unsafe(nil), max_line_length: T.unsafe(nil)); end end # @abstract It cannot be directly instantiated. Subclasses must implement the `abstract` methods below. # -# source://rbi//lib/rbi/model.rb#85 +# source://rbi//lib/rbi/model.rb#90 class RBI::NodeWithComments < ::RBI::Node abstract! - # source://rbi//lib/rbi/model.rb#95 + # : (?loc: Loc?, ?comments: Array[Comment]) -> void + # + # @return [NodeWithComments] a new instance of NodeWithComments + # + # source://rbi//lib/rbi/model.rb#99 sig { params(loc: T.nilable(::RBI::Loc), comments: T::Array[::RBI::Comment]).void } def initialize(loc: T.unsafe(nil), comments: T.unsafe(nil)); end - # source://rbi//lib/rbi/model.rb#101 + # : -> Array[String] + # + # source://rbi//lib/rbi/model.rb#105 sig { returns(T::Array[::String]) } def annotations; end - # source://rbi//lib/rbi/model.rb#92 + # : Array[Comment] + # + # source://rbi//lib/rbi/model.rb#96 sig { returns(T::Array[::RBI::Comment]) } def comments; end - # @return [Array] + # : Array[Comment] # - # source://rbi//lib/rbi/model.rb#92 + # source://rbi//lib/rbi/model.rb#96 + # @return [Array] def comments=(_arg0); end - # source://rbi//lib/rbi/rewriters/merge_trees.rb#311 + # : (Node other) -> void + # + # source://rbi//lib/rbi/rewriters/merge_trees.rb#303 sig { override.params(other: ::RBI::Node).void } def merge_with(other); end - # source://rbi//lib/rbi/rewriters/filter_versions.rb#104 + # : -> Array[Gem::Requirement] + # + # source://rbi//lib/rbi/rewriters/filter_versions.rb#101 sig { returns(T::Array[::Gem::Requirement]) } def version_requirements; end end -# source://rbi//lib/rbi/model.rb#676 +# source://rbi//lib/rbi/model.rb#545 class RBI::OptParam < ::RBI::Param - # source://rbi//lib/rbi/model.rb#691 + # : (String name, String value, ?loc: Loc?, ?comments: Array[Comment]) ?{ (OptParam node) -> void } -> void + # + # @return [OptParam] a new instance of OptParam + # + # source://rbi//lib/rbi/model.rb#550 sig do params( name: ::String, @@ -1206,196 +1671,286 @@ class RBI::OptParam < ::RBI::Param end def initialize(name, value, loc: T.unsafe(nil), comments: T.unsafe(nil), &block); end - # source://rbi//lib/rbi/model.rb#698 + # : (Object? other) -> bool + # + # source://rbi//lib/rbi/model.rb#557 sig { params(other: T.nilable(::Object)).returns(T::Boolean) } def ==(other); end - # source://rbi//lib/rbi/model.rb#680 + # : String + # + # source://rbi//lib/rbi/model.rb#547 sig { returns(::String) } def value; end end # @abstract It cannot be directly instantiated. Subclasses must implement the `abstract` methods below. # -# source://rbi//lib/rbi/model.rb#627 +# source://rbi//lib/rbi/model.rb#511 class RBI::Param < ::RBI::NodeWithComments abstract! - # source://rbi//lib/rbi/model.rb#643 + # : (String name, ?loc: Loc?, ?comments: Array[Comment]) -> void + # + # @return [Param] a new instance of Param + # + # source://rbi//lib/rbi/model.rb#520 sig { params(name: ::String, loc: T.nilable(::RBI::Loc), comments: T::Array[::RBI::Comment]).void } def initialize(name, loc: T.unsafe(nil), comments: T.unsafe(nil)); end - # source://rbi//lib/rbi/model.rb#634 + # : String + # + # source://rbi//lib/rbi/model.rb#517 sig { returns(::String) } def name; end - # source://rbi//lib/rbi/model.rb#649 + # : -> String + # + # source://rbi//lib/rbi/model.rb#527 sig { override.returns(::String) } def to_s; end end # source://rbi//lib/rbi/parser.rb#7 class RBI::ParseError < ::RBI::Error - # source://rbi//lib/rbi/parser.rb#14 + # : (String message, Loc location) -> void + # + # @return [ParseError] a new instance of ParseError + # + # source://rbi//lib/rbi/parser.rb#12 sig { params(message: ::String, location: ::RBI::Loc).void } def initialize(message, location); end - # source://rbi//lib/rbi/parser.rb#11 + # : Loc + # + # source://rbi//lib/rbi/parser.rb#9 sig { returns(::RBI::Loc) } def location; end end -# source://rbi//lib/rbi/parser.rb#53 +# source://rbi//lib/rbi/parser.rb#49 class RBI::Parser - # source://rbi//lib/rbi/parser.rb#88 + # : (String path) -> Tree + # + # source://rbi//lib/rbi/parser.rb#80 sig { params(path: ::String).returns(::RBI::Tree) } def parse_file(path); end - # source://rbi//lib/rbi/parser.rb#83 + # : (String string) -> Tree + # + # source://rbi//lib/rbi/parser.rb#75 sig { params(string: ::String).returns(::RBI::Tree) } def parse_string(string); end private - # source://rbi//lib/rbi/parser.rb#95 + # : (String source, file: String) -> Tree + # + # source://rbi//lib/rbi/parser.rb#87 sig { params(source: ::String, file: ::String).returns(::RBI::Tree) } def parse(source, file:); end class << self - # source://rbi//lib/rbi/parser.rb#65 + # : (String path) -> Tree + # + # source://rbi//lib/rbi/parser.rb#57 sig { params(path: ::String).returns(::RBI::Tree) } def parse_file(path); end - # source://rbi//lib/rbi/parser.rb#70 + # : (Array[String] paths) -> Array[Tree] + # + # source://rbi//lib/rbi/parser.rb#62 sig { params(paths: T::Array[::String]).returns(T::Array[::RBI::Tree]) } def parse_files(paths); end - # source://rbi//lib/rbi/parser.rb#60 + # : (String string) -> Tree + # + # source://rbi//lib/rbi/parser.rb#52 sig { params(string: ::String).returns(::RBI::Tree) } def parse_string(string); end - # source://rbi//lib/rbi/parser.rb#76 + # : (Array[String] strings) -> Array[Tree] + # + # source://rbi//lib/rbi/parser.rb#68 sig { params(strings: T::Array[::String]).returns(T::Array[::RBI::Tree]) } def parse_strings(strings); end end end -# source://rbi//lib/rbi/parser.rb#821 +# source://rbi//lib/rbi/parser.rb#822 class RBI::Parser::SigBuilder < ::RBI::Parser::Visitor - # source://rbi//lib/rbi/parser.rb#828 + # : (String content, file: String) -> void + # + # @return [SigBuilder] a new instance of SigBuilder + # + # source://rbi//lib/rbi/parser.rb#827 sig { params(content: ::String, file: ::String).void } def initialize(content, file:); end - # source://rbi//lib/rbi/parser.rb#825 + # : Sig + # + # source://rbi//lib/rbi/parser.rb#824 sig { returns(::RBI::Sig) } def current; end - # source://rbi//lib/rbi/parser.rb#896 + # : (Prism::AssocNode node) -> void + # + # source://rbi//lib/rbi/parser.rb#897 sig { override.params(node: ::Prism::AssocNode).void } def visit_assoc_node(node); end + # : (Prism::CallNode node) -> void + # # source://rbi//lib/rbi/parser.rb#835 sig { override.params(node: ::Prism::CallNode).void } def visit_call_node(node); end end -# source://rbi//lib/rbi/parser.rb#153 +# source://rbi//lib/rbi/parser.rb#143 class RBI::Parser::TreeBuilder < ::RBI::Parser::Visitor - # source://rbi//lib/rbi/parser.rb#163 + # : (String source, comments: Array[Prism::Comment], file: String) -> void + # + # @return [TreeBuilder] a new instance of TreeBuilder + # + # source://rbi//lib/rbi/parser.rb#151 sig { params(source: ::String, comments: T::Array[::Prism::Comment], file: ::String).void } def initialize(source, comments:, file:); end - # source://rbi//lib/rbi/parser.rb#160 + # : Prism::Node? + # + # source://rbi//lib/rbi/parser.rb#148 sig { returns(T.nilable(::Prism::Node)) } def last_node; end - # source://rbi//lib/rbi/parser.rb#157 + # : Tree + # + # source://rbi//lib/rbi/parser.rb#145 sig { returns(::RBI::Tree) } def tree; end - # source://rbi//lib/rbi/parser.rb#324 + # : (Prism::CallNode node) -> void + # + # source://rbi//lib/rbi/parser.rb#319 sig { params(node: ::Prism::CallNode).void } def visit_call_node(node); end - # source://rbi//lib/rbi/parser.rb#175 + # : (Prism::ClassNode node) -> void + # + # source://rbi//lib/rbi/parser.rb#164 sig { override.params(node: ::Prism::ClassNode).void } def visit_class_node(node); end - # source://rbi//lib/rbi/parser.rb#224 + # : ((Prism::ConstantWriteNode | Prism::ConstantPathWriteNode) node) -> void + # + # source://rbi//lib/rbi/parser.rb#215 sig { params(node: T.any(::Prism::ConstantPathWriteNode, ::Prism::ConstantWriteNode)).void } def visit_constant_assign(node); end - # source://rbi//lib/rbi/parser.rb#217 + # : (Prism::ConstantPathWriteNode node) -> void + # + # source://rbi//lib/rbi/parser.rb#208 sig { override.params(node: ::Prism::ConstantPathWriteNode).void } def visit_constant_path_write_node(node); end - # source://rbi//lib/rbi/parser.rb#210 + # : (Prism::ConstantWriteNode node) -> void + # + # source://rbi//lib/rbi/parser.rb#200 sig { override.params(node: ::Prism::ConstantWriteNode).void } def visit_constant_write_node(node); end - # source://rbi//lib/rbi/parser.rb#257 + # : (Prism::DefNode node) -> void + # + # source://rbi//lib/rbi/parser.rb#249 sig { override.params(node: ::Prism::DefNode).void } def visit_def_node(node); end - # source://rbi//lib/rbi/parser.rb#278 + # : (Prism::ModuleNode node) -> void + # + # source://rbi//lib/rbi/parser.rb#271 sig { override.params(node: ::Prism::ModuleNode).void } def visit_module_node(node); end - # source://rbi//lib/rbi/parser.rb#296 + # : (Prism::ProgramNode node) -> void + # + # source://rbi//lib/rbi/parser.rb#290 sig { override.params(node: ::Prism::ProgramNode).void } def visit_program_node(node); end - # source://rbi//lib/rbi/parser.rb#307 + # : (Prism::SingletonClassNode node) -> void + # + # source://rbi//lib/rbi/parser.rb#302 sig { override.params(node: ::Prism::SingletonClassNode).void } def visit_singleton_class_node(node); end private # Collect all the remaining comments within a node + # : (Prism::Node node) -> void # - # source://rbi//lib/rbi/parser.rb#498 + # source://rbi//lib/rbi/parser.rb#493 + # Collect all the remaining comments within a node sig { params(node: ::Prism::Node).void } def collect_dangling_comments(node); end # Collect all the remaining comments after visiting the tree + # : -> void # - # source://rbi//lib/rbi/parser.rb#516 + # source://rbi//lib/rbi/parser.rb#511 + # Collect all the remaining comments after visiting the tree sig { void } def collect_orphan_comments; end - # source://rbi//lib/rbi/parser.rb#539 + # : -> Tree + # + # source://rbi//lib/rbi/parser.rb#534 sig { returns(::RBI::Tree) } def current_scope; end - # source://rbi//lib/rbi/parser.rb#544 + # : -> Array[Sig] + # + # source://rbi//lib/rbi/parser.rb#539 sig { returns(T::Array[::RBI::Sig]) } def current_sigs; end - # source://rbi//lib/rbi/parser.rb#551 + # : (Array[Sig] sigs) -> Array[Comment] + # + # source://rbi//lib/rbi/parser.rb#546 sig { params(sigs: T::Array[::RBI::Sig]).returns(T::Array[::RBI::Comment]) } def detach_comments_from_sigs(sigs); end - # source://rbi//lib/rbi/parser.rb#563 + # : (Prism::Node node) -> Array[Comment] + # + # source://rbi//lib/rbi/parser.rb#558 sig { params(node: ::Prism::Node).returns(T::Array[::RBI::Comment]) } def node_comments(node); end - # source://rbi//lib/rbi/parser.rb#581 + # : (Prism::Comment node) -> Comment + # + # source://rbi//lib/rbi/parser.rb#576 sig { params(node: ::Prism::Comment).returns(::RBI::Comment) } def parse_comment(node); end - # source://rbi//lib/rbi/parser.rb#610 + # : (Prism::Node? node) -> Array[Param] + # + # source://rbi//lib/rbi/parser.rb#611 sig { params(node: T.nilable(::Prism::Node)).returns(T::Array[::RBI::Param]) } def parse_params(node); end - # source://rbi//lib/rbi/parser.rb#586 + # : (Prism::Node? node) -> Array[Arg] + # + # source://rbi//lib/rbi/parser.rb#587 sig { params(node: T.nilable(::Prism::Node)).returns(T::Array[::RBI::Arg]) } def parse_send_args(node); end - # source://rbi//lib/rbi/parser.rb#684 + # : (Prism::CallNode node) -> Sig + # + # source://rbi//lib/rbi/parser.rb#685 sig { params(node: ::Prism::CallNode).returns(::RBI::Sig) } def parse_sig(node); end - # source://rbi//lib/rbi/parser.rb#693 + # : ((Prism::ConstantWriteNode | Prism::ConstantPathWriteNode) node) -> Struct? + # + # source://rbi//lib/rbi/parser.rb#694 sig do params( node: T.any(::Prism::ConstantPathWriteNode, ::Prism::ConstantWriteNode) @@ -1403,51 +1958,77 @@ class RBI::Parser::TreeBuilder < ::RBI::Parser::Visitor end def parse_struct(node); end - # source://rbi//lib/rbi/parser.rb#741 + # : (Prism::CallNode send) -> void + # + # source://rbi//lib/rbi/parser.rb#742 sig { params(send: ::Prism::CallNode).void } def parse_tstruct_field(send); end - # source://rbi//lib/rbi/parser.rb#778 + # : (String name, Prism::Node node) -> Visibility + # + # source://rbi//lib/rbi/parser.rb#779 sig { params(name: ::String, node: ::Prism::Node).returns(::RBI::Visibility) } def parse_visibility(name, node); end - # source://rbi//lib/rbi/parser.rb#792 + # : -> void + # + # source://rbi//lib/rbi/parser.rb#793 sig { void } def separate_header_comments; end - # source://rbi//lib/rbi/parser.rb#802 + # : -> void + # + # source://rbi//lib/rbi/parser.rb#803 sig { void } def set_root_tree_loc; end - # source://rbi//lib/rbi/parser.rb#816 + # : (Prism::Node? node) -> bool + # + # @return [Boolean] + # + # source://rbi//lib/rbi/parser.rb#817 sig { params(node: T.nilable(::Prism::Node)).returns(T::Boolean) } def type_variable_definition?(node); end end -# source://rbi//lib/rbi/parser.rb#122 +# source://rbi//lib/rbi/parser.rb#114 class RBI::Parser::Visitor < ::Prism::Visitor - # source://rbi//lib/rbi/parser.rb#126 + # : (String source, file: String) -> void + # + # @return [Visitor] a new instance of Visitor + # + # source://rbi//lib/rbi/parser.rb#116 sig { params(source: ::String, file: ::String).void } def initialize(source, file:); end private - # source://rbi//lib/rbi/parser.rb#136 + # : (Prism::Node node) -> Loc + # + # source://rbi//lib/rbi/parser.rb#126 sig { params(node: ::Prism::Node).returns(::RBI::Loc) } def node_loc(node); end - # source://rbi//lib/rbi/parser.rb#141 + # : (Prism::Node? node) -> String? + # + # source://rbi//lib/rbi/parser.rb#131 sig { params(node: T.nilable(::Prism::Node)).returns(T.nilable(::String)) } def node_string(node); end - # source://rbi//lib/rbi/parser.rb#148 + # : (Prism::Node node) -> String + # + # source://rbi//lib/rbi/parser.rb#138 sig { params(node: ::Prism::Node).returns(::String) } def node_string!(node); end end # source://rbi//lib/rbi/printer.rb#7 class RBI::Printer < ::RBI::Visitor - # source://rbi//lib/rbi/printer.rb#30 + # : (?out: (IO | StringIO), ?indent: Integer, ?print_locs: bool, ?max_line_length: Integer?) -> void + # + # @return [Printer] a new instance of Printer + # + # source://rbi//lib/rbi/printer.rb#21 sig do params( out: T.any(::IO, ::StringIO), @@ -1458,306 +2039,454 @@ class RBI::Printer < ::RBI::Visitor end def initialize(out: T.unsafe(nil), indent: T.unsafe(nil), print_locs: T.unsafe(nil), max_line_length: T.unsafe(nil)); end - # source://rbi//lib/rbi/printer.rb#17 + # : Integer + # + # source://rbi//lib/rbi/printer.rb#15 sig { returns(::Integer) } def current_indent; end - # source://rbi//lib/rbi/printer.rb#48 + # : -> void + # + # source://rbi//lib/rbi/printer.rb#39 sig { void } def dedent; end - # @return [Boolean] + # : bool # - # source://rbi//lib/rbi/printer.rb#11 + # source://rbi//lib/rbi/printer.rb#9 + # @return [Boolean] def in_visibility_group; end - # @return [Boolean] + # : bool # - # source://rbi//lib/rbi/printer.rb#11 + # source://rbi//lib/rbi/printer.rb#9 + # @return [Boolean] def in_visibility_group=(_arg0); end - # Printing + # : -> void # - # source://rbi//lib/rbi/printer.rb#43 + # source://rbi//lib/rbi/printer.rb#34 + # Printing sig { void } def indent; end - # source://rbi//lib/rbi/printer.rb#20 + # : Integer? + # + # source://rbi//lib/rbi/printer.rb#18 sig { returns(T.nilable(::Integer)) } def max_line_length; end - # source://rbi//lib/rbi/printer.rb#14 + # : Node? + # + # source://rbi//lib/rbi/printer.rb#12 sig { returns(T.nilable(::RBI::Node)) } def previous_node; end # Print a string without indentation nor `\n` at the end. + # : (String string) -> void # - # source://rbi//lib/rbi/printer.rb#54 + # source://rbi//lib/rbi/printer.rb#45 + # Print a string without indentation nor `\n` at the end. sig { params(string: ::String).void } def print(string); end - # source://rbi//lib/rbi/printer.rb#11 + # : bool + # + # source://rbi//lib/rbi/printer.rb#9 sig { returns(T::Boolean) } def print_locs; end - # @return [Boolean] + # : bool # - # source://rbi//lib/rbi/printer.rb#11 + # source://rbi//lib/rbi/printer.rb#9 + # @return [Boolean] def print_locs=(_arg0); end # Print a string with indentation and `\n` at the end. + # : (String string) -> void # - # source://rbi//lib/rbi/printer.rb#74 + # source://rbi//lib/rbi/printer.rb#65 + # Print a string with indentation and `\n` at the end. sig { params(string: ::String).void } def printl(string); end # Print a string without indentation but with a `\n` at the end. + # : (?String? string) -> void # - # source://rbi//lib/rbi/printer.rb#60 + # source://rbi//lib/rbi/printer.rb#51 + # Print a string without indentation but with a `\n` at the end. sig { params(string: T.nilable(::String)).void } def printn(string = T.unsafe(nil)); end # Print a string with indentation but without a `\n` at the end. + # : (?String? string) -> void # - # source://rbi//lib/rbi/printer.rb#67 + # source://rbi//lib/rbi/printer.rb#58 + # Print a string with indentation but without a `\n` at the end. sig { params(string: T.nilable(::String)).void } def printt(string = T.unsafe(nil)); end - # source://rbi//lib/rbi/printer.rb#80 + # : (Array[Node] nodes) -> void + # + # source://rbi//lib/rbi/printer.rb#72 sig { override.params(nodes: T::Array[::RBI::Node]).void } def visit_all(nodes); end - # source://rbi//lib/rbi/printer.rb#91 + # : (File file) -> void + # + # source://rbi//lib/rbi/printer.rb#84 sig { override.params(file: ::RBI::File).void } def visit_file(file); end private - # source://rbi//lib/rbi/printer.rb#618 + # : (Node node) -> bool + # + # @return [Boolean] + # + # source://rbi//lib/rbi/printer.rb#670 sig { params(node: ::RBI::Node).returns(T::Boolean) } def oneline?(node); end - # source://rbi//lib/rbi/printer.rb#576 + # : (Node node) -> void + # + # source://rbi//lib/rbi/printer.rb#628 sig { params(node: ::RBI::Node).void } def print_blank_line_before(node); end - # source://rbi//lib/rbi/printer.rb#586 + # : (Node node) -> void + # + # source://rbi//lib/rbi/printer.rb#638 sig { params(node: ::RBI::Node).void } def print_loc(node); end - # source://rbi//lib/rbi/printer.rb#592 + # : (Param node, last: bool) -> void + # + # source://rbi//lib/rbi/printer.rb#644 sig { params(node: ::RBI::Param, last: T::Boolean).void } def print_param_comment_leading_space(node, last:); end - # source://rbi//lib/rbi/printer.rb#665 + # : (Sig node) -> void + # + # source://rbi//lib/rbi/printer.rb#717 sig { params(node: ::RBI::Sig).void } def print_sig_as_block(node); end - # source://rbi//lib/rbi/printer.rb#640 + # : (Sig node) -> void + # + # source://rbi//lib/rbi/printer.rb#692 sig { params(node: ::RBI::Sig).void } def print_sig_as_line(node); end - # source://rbi//lib/rbi/printer.rb#610 + # : (SigParam node, last: bool) -> void + # + # source://rbi//lib/rbi/printer.rb#662 sig { params(node: ::RBI::SigParam, last: T::Boolean).void } def print_sig_param_comment_leading_space(node, last:); end - # source://rbi//lib/rbi/printer.rb#721 + # : (Sig node) -> Array[String] + # + # source://rbi//lib/rbi/printer.rb#773 sig { params(node: ::RBI::Sig).returns(T::Array[::String]) } def sig_modifiers(node); end - # source://rbi//lib/rbi/printer.rb#417 + # : (Arg node) -> void + # + # source://rbi//lib/rbi/printer.rb#453 sig { override.params(node: ::RBI::Arg).void } def visit_arg(node); end - # source://rbi//lib/rbi/printer.rb#237 + # : (Attr node) -> void + # + # source://rbi//lib/rbi/printer.rb#258 sig { params(node: ::RBI::Attr).void } def visit_attr(node); end - # source://rbi//lib/rbi/printer.rb#222 + # : (AttrAccessor node) -> void + # + # source://rbi//lib/rbi/printer.rb#241 sig { override.params(node: ::RBI::AttrAccessor).void } def visit_attr_accessor(node); end - # source://rbi//lib/rbi/printer.rb#227 + # : (AttrReader node) -> void + # + # source://rbi//lib/rbi/printer.rb#247 sig { override.params(node: ::RBI::AttrReader).void } def visit_attr_reader(node); end - # source://rbi//lib/rbi/printer.rb#232 + # : (AttrWriter node) -> void + # + # source://rbi//lib/rbi/printer.rb#253 sig { override.params(node: ::RBI::AttrWriter).void } def visit_attr_writer(node); end - # source://rbi//lib/rbi/printer.rb#126 + # : (BlankLine node) -> void + # + # source://rbi//lib/rbi/printer.rb#138 sig { override.params(node: ::RBI::BlankLine).void } def visit_blank_line(node); end - # source://rbi//lib/rbi/printer.rb#344 + # : (BlockParam node) -> void + # + # source://rbi//lib/rbi/printer.rb#373 sig { override.params(node: ::RBI::BlockParam).void } def visit_block_param(node); end - # source://rbi//lib/rbi/printer.rb#143 + # : (Class node) -> void + # + # source://rbi//lib/rbi/printer.rb#158 sig { override.params(node: ::RBI::Class).void } def visit_class(node); end - # source://rbi//lib/rbi/printer.rb#110 + # : (Comment node) -> void + # + # source://rbi//lib/rbi/printer.rb#121 sig { override.params(node: ::RBI::Comment).void } def visit_comment(node); end - # source://rbi//lib/rbi/printer.rb#553 + # : (ConflictTree node) -> void + # + # source://rbi//lib/rbi/printer.rb#604 sig { override.params(node: ::RBI::ConflictTree).void } def visit_conflict_tree(node); end - # source://rbi//lib/rbi/printer.rb#213 + # : (Const node) -> void + # + # source://rbi//lib/rbi/printer.rb#231 sig { override.params(node: ::RBI::Const).void } def visit_const(node); end - # source://rbi//lib/rbi/printer.rb#354 + # : (Extend node) -> void + # + # source://rbi//lib/rbi/printer.rb#385 sig { override.params(node: ::RBI::Extend).void } def visit_extend(node); end - # source://rbi//lib/rbi/printer.rb#525 + # : (Group node) -> void + # + # source://rbi//lib/rbi/printer.rb#573 sig { override.params(node: ::RBI::Group).void } def visit_group(node); end - # source://rbi//lib/rbi/printer.rb#511 + # : (Helper node) -> void + # + # source://rbi//lib/rbi/printer.rb#557 sig { override.params(node: ::RBI::Helper).void } def visit_helper(node); end - # source://rbi//lib/rbi/printer.rb#349 + # : (Include node) -> void + # + # source://rbi//lib/rbi/printer.rb#379 sig { override.params(node: ::RBI::Include).void } def visit_include(node); end - # source://rbi//lib/rbi/printer.rb#422 + # : (KwArg node) -> void + # + # source://rbi//lib/rbi/printer.rb#459 sig { override.params(node: ::RBI::KwArg).void } def visit_kw_arg(node); end - # source://rbi//lib/rbi/printer.rb#334 + # : (KwOptParam node) -> void + # + # source://rbi//lib/rbi/printer.rb#361 sig { override.params(node: ::RBI::KwOptParam).void } def visit_kw_opt_param(node); end - # source://rbi//lib/rbi/printer.rb#329 + # : (KwParam node) -> void + # + # source://rbi//lib/rbi/printer.rb#355 sig { override.params(node: ::RBI::KwParam).void } def visit_kw_param(node); end - # source://rbi//lib/rbi/printer.rb#339 + # : (KwRestParam node) -> void + # + # source://rbi//lib/rbi/printer.rb#367 sig { override.params(node: ::RBI::KwRestParam).void } def visit_kw_rest_param(node); end - # source://rbi//lib/rbi/printer.rb#265 + # : (Method node) -> void + # + # source://rbi//lib/rbi/printer.rb#287 sig { override.params(node: ::RBI::Method).void } def visit_method(node); end - # source://rbi//lib/rbi/printer.rb#520 + # : (MixesInClassMethods node) -> void + # + # source://rbi//lib/rbi/printer.rb#567 sig { override.params(node: ::RBI::MixesInClassMethods).void } def visit_mixes_in_class_methods(node); end - # source://rbi//lib/rbi/printer.rb#359 + # : (Mixin node) -> void + # + # source://rbi//lib/rbi/printer.rb#390 sig { params(node: ::RBI::Mixin).void } def visit_mixin(node); end - # source://rbi//lib/rbi/printer.rb#138 + # : (Module node) -> void + # + # source://rbi//lib/rbi/printer.rb#152 sig { override.params(node: ::RBI::Module).void } def visit_module(node); end - # source://rbi//lib/rbi/printer.rb#319 + # : (OptParam node) -> void + # + # source://rbi//lib/rbi/printer.rb#343 sig { override.params(node: ::RBI::OptParam).void } def visit_opt_param(node); end - # source://rbi//lib/rbi/printer.rb#386 + # : (Private node) -> void + # + # source://rbi//lib/rbi/printer.rb#420 sig { override.params(node: ::RBI::Private).void } def visit_private(node); end - # source://rbi//lib/rbi/printer.rb#381 + # : (Protected node) -> void + # + # source://rbi//lib/rbi/printer.rb#414 sig { override.params(node: ::RBI::Protected).void } def visit_protected(node); end - # source://rbi//lib/rbi/printer.rb#376 + # : (Public node) -> void + # + # source://rbi//lib/rbi/printer.rb#408 sig { override.params(node: ::RBI::Public).void } def visit_public(node); end - # source://rbi//lib/rbi/printer.rb#314 + # : (RBSComment node) -> void + # + # source://rbi//lib/rbi/printer.rb#104 + sig { override.params(node: ::RBI::RBSComment).void } + def visit_rbs_comment(node); end + + # : (ReqParam node) -> void + # + # source://rbi//lib/rbi/printer.rb#337 sig { override.params(node: ::RBI::ReqParam).void } def visit_req_param(node); end - # source://rbi//lib/rbi/printer.rb#544 + # : (RequiresAncestor node) -> void + # + # source://rbi//lib/rbi/printer.rb#594 sig { override.params(node: ::RBI::RequiresAncestor).void } def visit_requires_ancestor(node); end - # source://rbi//lib/rbi/printer.rb#324 + # : (RestParam node) -> void + # + # source://rbi//lib/rbi/printer.rb#349 sig { override.params(node: ::RBI::RestParam).void } def visit_rest_param(node); end - # source://rbi//lib/rbi/printer.rb#158 + # : (Scope node) -> void + # + # source://rbi//lib/rbi/printer.rb#175 sig { params(node: ::RBI::Scope).void } def visit_scope(node); end - # source://rbi//lib/rbi/printer.rb#203 + # : (Scope node) -> void + # + # source://rbi//lib/rbi/printer.rb#220 sig { params(node: ::RBI::Scope).void } def visit_scope_body(node); end - # source://rbi//lib/rbi/printer.rb#562 + # : (ScopeConflict node) -> void + # + # source://rbi//lib/rbi/printer.rb#614 sig { override.params(node: ::RBI::ScopeConflict).void } def visit_scope_conflict(node); end - # source://rbi//lib/rbi/printer.rb#168 + # : (Scope node) -> void + # + # source://rbi//lib/rbi/printer.rb#185 sig { params(node: ::RBI::Scope).void } def visit_scope_header(node); end - # source://rbi//lib/rbi/printer.rb#400 + # : (Send node) -> void + # + # source://rbi//lib/rbi/printer.rb#435 sig { override.params(node: ::RBI::Send).void } def visit_send(node); end - # source://rbi//lib/rbi/printer.rb#427 + # : (Sig node) -> void + # + # source://rbi//lib/rbi/printer.rb#465 sig { override.params(node: ::RBI::Sig).void } def visit_sig(node); end - # source://rbi//lib/rbi/printer.rb#447 + # : (SigParam node) -> void + # + # source://rbi//lib/rbi/printer.rb#486 sig { override.params(node: ::RBI::SigParam).void } def visit_sig_param(node); end - # source://rbi//lib/rbi/printer.rb#153 + # : (SingletonClass node) -> void + # + # source://rbi//lib/rbi/printer.rb#170 sig { override.params(node: ::RBI::SingletonClass).void } def visit_singleton_class(node); end - # source://rbi//lib/rbi/printer.rb#148 + # : (Struct node) -> void + # + # source://rbi//lib/rbi/printer.rb#164 sig { override.params(node: ::RBI::Struct).void } def visit_struct(node); end - # source://rbi//lib/rbi/printer.rb#467 + # : (TStructField node) -> void + # + # source://rbi//lib/rbi/printer.rb#509 sig { params(node: ::RBI::TStructField).void } def visit_t_struct_field(node); end - # source://rbi//lib/rbi/printer.rb#485 + # : (TEnum node) -> void + # + # source://rbi//lib/rbi/printer.rb#528 sig { override.params(node: ::RBI::TEnum).void } def visit_tenum(node); end - # source://rbi//lib/rbi/printer.rb#490 + # : (TEnumBlock node) -> void + # + # source://rbi//lib/rbi/printer.rb#534 sig { override.params(node: ::RBI::TEnumBlock).void } def visit_tenum_block(node); end - # source://rbi//lib/rbi/printer.rb#131 + # : (Tree node) -> void + # + # source://rbi//lib/rbi/printer.rb#144 sig { override.params(node: ::RBI::Tree).void } def visit_tree(node); end - # source://rbi//lib/rbi/printer.rb#452 + # : (TStruct node) -> void + # + # source://rbi//lib/rbi/printer.rb#492 sig { override.params(node: ::RBI::TStruct).void } def visit_tstruct(node); end - # source://rbi//lib/rbi/printer.rb#457 + # : (TStructConst node) -> void + # + # source://rbi//lib/rbi/printer.rb#498 sig { override.params(node: ::RBI::TStructConst).void } def visit_tstruct_const(node); end - # source://rbi//lib/rbi/printer.rb#462 + # : (TStructProp node) -> void + # + # source://rbi//lib/rbi/printer.rb#504 sig { override.params(node: ::RBI::TStructProp).void } def visit_tstruct_prop(node); end - # source://rbi//lib/rbi/printer.rb#502 + # : (TypeMember node) -> void + # + # source://rbi//lib/rbi/printer.rb#547 sig { override.params(node: ::RBI::TypeMember).void } def visit_type_member(node); end - # source://rbi//lib/rbi/printer.rb#391 + # : (Visibility node) -> void + # + # source://rbi//lib/rbi/printer.rb#425 sig { params(node: ::RBI::Visibility).void } def visit_visibility(node); end - # source://rbi//lib/rbi/printer.rb#531 + # : (VisibilityGroup node) -> void + # + # source://rbi//lib/rbi/printer.rb#580 sig { override.params(node: ::RBI::VisibilityGroup).void } def visit_visibility_group(node); end end @@ -1765,9 +2494,13 @@ end # source://rbi//lib/rbi/printer.rb#5 class RBI::PrinterError < ::RBI::Error; end -# source://rbi//lib/rbi/model.rb#986 +# source://rbi//lib/rbi/model.rb#761 class RBI::Private < ::RBI::Visibility - # source://rbi//lib/rbi/model.rb#996 + # : (?loc: Loc?, ?comments: Array[Comment]) ?{ (Private node) -> void } -> void + # + # @return [Private] a new instance of Private + # + # source://rbi//lib/rbi/model.rb#763 sig do params( loc: T.nilable(::RBI::Loc), @@ -1778,9 +2511,13 @@ class RBI::Private < ::RBI::Visibility def initialize(loc: T.unsafe(nil), comments: T.unsafe(nil), &block); end end -# source://rbi//lib/rbi/model.rb#970 +# source://rbi//lib/rbi/model.rb#753 class RBI::Protected < ::RBI::Visibility - # source://rbi//lib/rbi/model.rb#980 + # : (?loc: Loc?, ?comments: Array[Comment]) ?{ (Protected node) -> void } -> void + # + # @return [Protected] a new instance of Protected + # + # source://rbi//lib/rbi/model.rb#755 sig do params( loc: T.nilable(::RBI::Loc), @@ -1791,9 +2528,13 @@ class RBI::Protected < ::RBI::Visibility def initialize(loc: T.unsafe(nil), comments: T.unsafe(nil), &block); end end -# source://rbi//lib/rbi/model.rb#954 +# source://rbi//lib/rbi/model.rb#745 class RBI::Public < ::RBI::Visibility - # source://rbi//lib/rbi/model.rb#964 + # : (?loc: Loc?, ?comments: Array[Comment]) ?{ (Public node) -> void } -> void + # + # @return [Public] a new instance of Public + # + # source://rbi//lib/rbi/model.rb#747 sig do params( loc: T.nilable(::RBI::Loc), @@ -1804,316 +2545,593 @@ class RBI::Public < ::RBI::Visibility def initialize(loc: T.unsafe(nil), comments: T.unsafe(nil), &block); end end +# source://rbi//lib/rbi/rbs/method_type_translator.rb#5 +module RBI::RBS; end + +# source://rbi//lib/rbi/rbs/method_type_translator.rb#6 +class RBI::RBS::MethodTypeTranslator + # : (Method) -> void + # + # @return [MethodTypeTranslator] a new instance of MethodTypeTranslator + # + # source://rbi//lib/rbi/rbs/method_type_translator.rb#22 + sig { params(method: ::RBI::Method).void } + def initialize(method); end + + # : Sig + # + # source://rbi//lib/rbi/rbs/method_type_translator.rb#19 + sig { returns(::RBI::Sig) } + def result; end + + # : (::RBS::MethodType) -> void + # + # source://rbi//lib/rbi/rbs/method_type_translator.rb#28 + sig { params(type: ::RBS::MethodType).void } + def visit(type); end + + private + + # : (::RBS::Types::Function::Param, Integer) -> SigParam + # + # source://rbi//lib/rbi/rbs/method_type_translator.rb#100 + sig { params(param: ::RBS::Types::Function::Param, index: ::Integer).returns(::RBI::SigParam) } + def translate_function_param(param, index); end + + # : (untyped) -> Type + # + # source://rbi//lib/rbi/rbs/method_type_translator.rb#115 + sig { params(type: T.untyped).returns(::RBI::Type) } + def translate_type(type); end + + # : (::RBS::Types::Block) -> void + # + # @raise [Error] + # + # source://rbi//lib/rbi/rbs/method_type_translator.rb#42 + sig { params(type: ::RBS::Types::Block).void } + def visit_block_type(type); end + + # : (::RBS::Types::Function) -> void + # + # source://rbi//lib/rbi/rbs/method_type_translator.rb#57 + sig { params(type: ::RBS::Types::Function).void } + def visit_function_type(type); end + + class << self + # : (Method, ::RBS::MethodType) -> Sig + # + # source://rbi//lib/rbi/rbs/method_type_translator.rb#11 + sig { params(method: ::RBI::Method, type: ::RBS::MethodType).returns(::RBI::Sig) } + def translate(method, type); end + end +end + +# source://rbi//lib/rbi/rbs/method_type_translator.rb#7 +class RBI::RBS::MethodTypeTranslator::Error < ::RBI::Error; end + +# source://rbi//lib/rbi/rbs/type_translator.rb#6 +class RBI::RBS::TypeTranslator + class << self + # : (NodeType) -> Type + # + # source://rbi//lib/rbi/rbs/type_translator.rb#37 + sig do + params( + type: T.any(::RBS::Types::Alias, ::RBS::Types::Bases::Any, ::RBS::Types::Bases::Bool, ::RBS::Types::Bases::Bottom, ::RBS::Types::Bases::Class, ::RBS::Types::Bases::Instance, ::RBS::Types::Bases::Nil, ::RBS::Types::Bases::Self, ::RBS::Types::Bases::Top, ::RBS::Types::Bases::Void, ::RBS::Types::ClassInstance, ::RBS::Types::ClassSingleton, ::RBS::Types::Function, ::RBS::Types::Interface, ::RBS::Types::Intersection, ::RBS::Types::Literal, ::RBS::Types::Optional, ::RBS::Types::Proc, ::RBS::Types::Record, ::RBS::Types::Tuple, ::RBS::Types::Union, ::RBS::Types::UntypedFunction, ::RBS::Types::Variable) + ).returns(::RBI::Type) + end + def translate(type); end + + private + + # : (::RBS::Types::ClassInstance) -> Type + # + # source://rbi//lib/rbi/rbs/type_translator.rb#99 + sig { params(type: ::RBS::Types::ClassInstance).returns(::RBI::Type) } + def translate_class_instance(type); end + + # : (::RBS::Types::Function) -> Type + # + # source://rbi//lib/rbi/rbs/type_translator.rb#107 + sig { params(type: ::RBS::Types::Function).returns(::RBI::Type) } + def translate_function(type); end + + # : (String type_name) -> String + # + # source://rbi//lib/rbi/rbs/type_translator.rb#154 + sig { params(type_name: ::String).returns(::String) } + def translate_t_generic_type(type_name); end + end +end + +# A comment representing a RBS type prefixed with `#:` +# +# source://rbi//lib/rbi/model.rb#81 +class RBI::RBSComment < ::RBI::Comment + # : (Object other) -> bool + # + # source://rbi//lib/rbi/model.rb#83 + sig { params(other: ::Object).returns(T::Boolean) } + def ==(other); end +end + # source://rbi//lib/rbi/rbs_printer.rb#5 class RBI::RBSPrinter < ::RBI::Visitor - # source://rbi//lib/rbi/rbs_printer.rb#18 - sig { params(out: T.any(::IO, ::StringIO), indent: ::Integer, print_locs: T::Boolean).void } - def initialize(out: T.unsafe(nil), indent: T.unsafe(nil), print_locs: T.unsafe(nil)); end + # : (?out: (IO | StringIO), ?indent: Integer, ?print_locs: bool, ?positional_names: bool) -> void + # + # @return [RBSPrinter] a new instance of RBSPrinter + # + # source://rbi//lib/rbi/rbs_printer.rb#21 + sig do + params( + out: T.any(::IO, ::StringIO), + indent: ::Integer, + print_locs: T::Boolean, + positional_names: T::Boolean + ).void + end + def initialize(out: T.unsafe(nil), indent: T.unsafe(nil), print_locs: T.unsafe(nil), positional_names: T.unsafe(nil)); end + # : Integer + # # source://rbi//lib/rbi/rbs_printer.rb#15 sig { returns(::Integer) } def current_indent; end - # source://rbi//lib/rbi/rbs_printer.rb#35 + # : -> void + # + # source://rbi//lib/rbi/rbs_printer.rb#39 sig { void } def dedent; end - # @return [Boolean] + # : bool # # source://rbi//lib/rbi/rbs_printer.rb#9 + # @return [Boolean] def in_visibility_group; end - # @return [Boolean] + # : bool # # source://rbi//lib/rbi/rbs_printer.rb#9 + # @return [Boolean] def in_visibility_group=(_arg0); end - # Printing + # : -> void # - # source://rbi//lib/rbi/rbs_printer.rb#30 + # source://rbi//lib/rbi/rbs_printer.rb#34 + # Printing sig { void } def indent; end + # : bool + # + # source://rbi//lib/rbi/rbs_printer.rb#18 + sig { returns(T::Boolean) } + def positional_names; end + + # : bool + # + # source://rbi//lib/rbi/rbs_printer.rb#18 + # @return [Boolean] + def positional_names=(_arg0); end + + # : Node? + # # source://rbi//lib/rbi/rbs_printer.rb#12 sig { returns(T.nilable(::RBI::Node)) } def previous_node; end # Print a string without indentation nor `\n` at the end. + # : (String string) -> void # - # source://rbi//lib/rbi/rbs_printer.rb#41 + # source://rbi//lib/rbi/rbs_printer.rb#45 + # Print a string without indentation nor `\n` at the end. sig { params(string: ::String).void } def print(string); end - # source://rbi//lib/rbi/rbs_printer.rb#275 + # : (RBI::Attr node, Sig sig) -> void + # + # source://rbi//lib/rbi/rbs_printer.rb#292 sig { params(node: ::RBI::Attr, sig: ::RBI::Sig).void } def print_attr_sig(node, sig); end + # : bool + # # source://rbi//lib/rbi/rbs_printer.rb#9 sig { returns(T::Boolean) } def print_locs; end - # @return [Boolean] + # : bool # # source://rbi//lib/rbi/rbs_printer.rb#9 + # @return [Boolean] def print_locs=(_arg0); end - # source://rbi//lib/rbi/rbs_printer.rb#363 + # : (RBI::Method node, Sig sig) -> void + # + # source://rbi//lib/rbi/rbs_printer.rb#381 sig { params(node: ::RBI::Method, sig: ::RBI::Sig).void } def print_method_sig(node, sig); end # Print a string with indentation and `\n` at the end. + # : (String string) -> void # - # source://rbi//lib/rbi/rbs_printer.rb#61 + # source://rbi//lib/rbi/rbs_printer.rb#65 + # Print a string with indentation and `\n` at the end. sig { params(string: ::String).void } def printl(string); end # Print a string without indentation but with a `\n` at the end. + # : (?String? string) -> void # - # source://rbi//lib/rbi/rbs_printer.rb#47 + # source://rbi//lib/rbi/rbs_printer.rb#51 + # Print a string without indentation but with a `\n` at the end. sig { params(string: T.nilable(::String)).void } def printn(string = T.unsafe(nil)); end # Print a string with indentation but without a `\n` at the end. + # : (?String? string) -> void # - # source://rbi//lib/rbi/rbs_printer.rb#54 + # source://rbi//lib/rbi/rbs_printer.rb#58 + # Print a string with indentation but without a `\n` at the end. sig { params(string: T.nilable(::String)).void } def printt(string = T.unsafe(nil)); end - # source://rbi//lib/rbi/rbs_printer.rb#67 + # : (Array[Node] nodes) -> void + # + # source://rbi//lib/rbi/rbs_printer.rb#72 sig { override.params(nodes: T::Array[::RBI::Node]).void } def visit_all(nodes); end - # source://rbi//lib/rbi/rbs_printer.rb#534 + # : (Arg node) -> void + # + # source://rbi//lib/rbi/rbs_printer.rb#578 sig { override.params(node: ::RBI::Arg).void } def visit_arg(node); end - # source://rbi//lib/rbi/rbs_printer.rb#243 + # : (Attr node) -> void + # + # source://rbi//lib/rbi/rbs_printer.rb#260 sig { params(node: ::RBI::Attr).void } def visit_attr(node); end - # source://rbi//lib/rbi/rbs_printer.rb#228 + # : (AttrAccessor node) -> void + # + # source://rbi//lib/rbi/rbs_printer.rb#243 sig { override.params(node: ::RBI::AttrAccessor).void } def visit_attr_accessor(node); end - # source://rbi//lib/rbi/rbs_printer.rb#233 + # : (AttrReader node) -> void + # + # source://rbi//lib/rbi/rbs_printer.rb#249 sig { override.params(node: ::RBI::AttrReader).void } def visit_attr_reader(node); end - # source://rbi//lib/rbi/rbs_printer.rb#238 + # : (AttrWriter node) -> void + # + # source://rbi//lib/rbi/rbs_printer.rb#255 sig { override.params(node: ::RBI::AttrWriter).void } def visit_attr_writer(node); end - # source://rbi//lib/rbi/rbs_printer.rb#106 + # : (BlankLine node) -> void + # + # source://rbi//lib/rbi/rbs_printer.rb#114 sig { override.params(node: ::RBI::BlankLine).void } def visit_blank_line(node); end - # source://rbi//lib/rbi/rbs_printer.rb#473 + # : (BlockParam node) -> void + # + # source://rbi//lib/rbi/rbs_printer.rb#510 sig { override.params(node: ::RBI::BlockParam).void } def visit_block_param(node); end - # source://rbi//lib/rbi/rbs_printer.rb#123 + # : (Class node) -> void + # + # source://rbi//lib/rbi/rbs_printer.rb#134 sig { override.params(node: ::RBI::Class).void } def visit_class(node); end - # source://rbi//lib/rbi/rbs_printer.rb#90 + # : (Comment node) -> void + # + # source://rbi//lib/rbi/rbs_printer.rb#97 sig { override.params(node: ::RBI::Comment).void } def visit_comment(node); end - # source://rbi//lib/rbi/rbs_printer.rb#654 + # : (ConflictTree node) -> void + # + # source://rbi//lib/rbi/rbs_printer.rb#711 sig { override.params(node: ::RBI::ConflictTree).void } def visit_conflict_tree(node); end - # source://rbi//lib/rbi/rbs_printer.rb#213 + # : (Const node) -> void + # + # source://rbi//lib/rbi/rbs_printer.rb#227 sig { override.params(node: ::RBI::Const).void } def visit_const(node); end - # source://rbi//lib/rbi/rbs_printer.rb#483 + # : (Extend node) -> void + # + # source://rbi//lib/rbi/rbs_printer.rb#522 sig { override.params(node: ::RBI::Extend).void } def visit_extend(node); end - # source://rbi//lib/rbi/rbs_printer.rb#78 + # : (File file) -> void + # + # source://rbi//lib/rbi/rbs_printer.rb#84 sig { override.params(file: ::RBI::File).void } def visit_file(file); end - # source://rbi//lib/rbi/rbs_printer.rb#630 + # : (Group node) -> void + # + # source://rbi//lib/rbi/rbs_printer.rb#684 sig { override.params(node: ::RBI::Group).void } def visit_group(node); end - # source://rbi//lib/rbi/rbs_printer.rb#620 + # : (Helper node) -> void + # + # source://rbi//lib/rbi/rbs_printer.rb#672 sig { override.params(node: ::RBI::Helper).void } def visit_helper(node); end - # source://rbi//lib/rbi/rbs_printer.rb#478 + # : (Include node) -> void + # + # source://rbi//lib/rbi/rbs_printer.rb#516 sig { override.params(node: ::RBI::Include).void } def visit_include(node); end - # source://rbi//lib/rbi/rbs_printer.rb#539 + # : (KwArg node) -> void + # + # source://rbi//lib/rbi/rbs_printer.rb#584 sig { override.params(node: ::RBI::KwArg).void } def visit_kw_arg(node); end - # source://rbi//lib/rbi/rbs_printer.rb#463 + # : (KwOptParam node) -> void + # + # source://rbi//lib/rbi/rbs_printer.rb#498 sig { override.params(node: ::RBI::KwOptParam).void } def visit_kw_opt_param(node); end - # source://rbi//lib/rbi/rbs_printer.rb#458 + # : (KwParam node) -> void + # + # source://rbi//lib/rbi/rbs_printer.rb#492 sig { override.params(node: ::RBI::KwParam).void } def visit_kw_param(node); end - # source://rbi//lib/rbi/rbs_printer.rb#468 + # : (KwRestParam node) -> void + # + # source://rbi//lib/rbi/rbs_printer.rb#504 sig { override.params(node: ::RBI::KwRestParam).void } def visit_kw_rest_param(node); end - # source://rbi//lib/rbi/rbs_printer.rb#297 + # : (Method node) -> void + # + # source://rbi//lib/rbi/rbs_printer.rb#315 sig { override.params(node: ::RBI::Method).void } def visit_method(node); end - # source://rbi//lib/rbi/rbs_printer.rb#625 + # : (MixesInClassMethods node) -> void + # + # source://rbi//lib/rbi/rbs_printer.rb#678 sig { override.params(node: ::RBI::MixesInClassMethods).void } def visit_mixes_in_class_methods(node); end - # source://rbi//lib/rbi/rbs_printer.rb#488 + # : (Mixin node) -> void + # + # source://rbi//lib/rbi/rbs_printer.rb#527 sig { params(node: ::RBI::Mixin).void } def visit_mixin(node); end - # source://rbi//lib/rbi/rbs_printer.rb#118 + # : (Module node) -> void + # + # source://rbi//lib/rbi/rbs_printer.rb#128 sig { override.params(node: ::RBI::Module).void } def visit_module(node); end - # source://rbi//lib/rbi/rbs_printer.rb#448 + # : (OptParam node) -> void + # + # source://rbi//lib/rbi/rbs_printer.rb#472 sig { override.params(node: ::RBI::OptParam).void } def visit_opt_param(node); end - # source://rbi//lib/rbi/rbs_printer.rb#515 + # : (Private node) -> void + # + # source://rbi//lib/rbi/rbs_printer.rb#557 sig { override.params(node: ::RBI::Private).void } def visit_private(node); end - # source://rbi//lib/rbi/rbs_printer.rb#510 + # : (Protected node) -> void + # + # source://rbi//lib/rbi/rbs_printer.rb#551 sig { override.params(node: ::RBI::Protected).void } def visit_protected(node); end - # source://rbi//lib/rbi/rbs_printer.rb#505 + # : (Public node) -> void + # + # source://rbi//lib/rbi/rbs_printer.rb#545 sig { override.params(node: ::RBI::Public).void } def visit_public(node); end - # source://rbi//lib/rbi/rbs_printer.rb#443 + # : (ReqParam node) -> void + # + # source://rbi//lib/rbi/rbs_printer.rb#462 sig { override.params(node: ::RBI::ReqParam).void } def visit_req_param(node); end - # source://rbi//lib/rbi/rbs_printer.rb#649 + # : (RequiresAncestor node) -> void + # + # source://rbi//lib/rbi/rbs_printer.rb#705 sig { override.params(node: ::RBI::RequiresAncestor).void } def visit_requires_ancestor(node); end - # source://rbi//lib/rbi/rbs_printer.rb#453 + # : (RestParam node) -> void + # + # source://rbi//lib/rbi/rbs_printer.rb#482 sig { override.params(node: ::RBI::RestParam).void } def visit_rest_param(node); end - # source://rbi//lib/rbi/rbs_printer.rb#138 + # : (Scope node) -> void + # + # source://rbi//lib/rbi/rbs_printer.rb#151 sig { params(node: ::RBI::Scope).void } def visit_scope(node); end - # source://rbi//lib/rbi/rbs_printer.rb#201 + # : (Scope node) -> void + # + # source://rbi//lib/rbi/rbs_printer.rb#214 sig { params(node: ::RBI::Scope).void } def visit_scope_body(node); end - # source://rbi//lib/rbi/rbs_printer.rb#663 + # : (ScopeConflict node) -> void + # + # source://rbi//lib/rbi/rbs_printer.rb#721 sig { override.params(node: ::RBI::ScopeConflict).void } def visit_scope_conflict(node); end - # source://rbi//lib/rbi/rbs_printer.rb#148 + # : (Scope node) -> void + # + # source://rbi//lib/rbi/rbs_printer.rb#161 sig { params(node: ::RBI::Scope).void } def visit_scope_header(node); end - # source://rbi//lib/rbi/rbs_printer.rb#529 + # : (Send node) -> void + # + # source://rbi//lib/rbi/rbs_printer.rb#572 sig { override.params(node: ::RBI::Send).void } def visit_send(node); end - # source://rbi//lib/rbi/rbs_printer.rb#425 + # : (Sig node) -> void + # + # source://rbi//lib/rbi/rbs_printer.rb#443 sig { params(node: ::RBI::Sig).void } def visit_sig(node); end - # source://rbi//lib/rbi/rbs_printer.rb#438 + # : (SigParam node) -> void + # + # source://rbi//lib/rbi/rbs_printer.rb#456 sig { params(node: ::RBI::SigParam).void } def visit_sig_param(node); end - # source://rbi//lib/rbi/rbs_printer.rb#133 + # : (SingletonClass node) -> void + # + # source://rbi//lib/rbi/rbs_printer.rb#146 sig { override.params(node: ::RBI::SingletonClass).void } def visit_singleton_class(node); end - # source://rbi//lib/rbi/rbs_printer.rb#128 + # : (Struct node) -> void + # + # source://rbi//lib/rbi/rbs_printer.rb#140 sig { override.params(node: ::RBI::Struct).void } def visit_struct(node); end - # source://rbi//lib/rbi/rbs_printer.rb#592 + # : (TEnum node) -> void + # + # source://rbi//lib/rbi/rbs_printer.rb#641 sig { override.params(node: ::RBI::TEnum).void } def visit_tenum(node); end - # source://rbi//lib/rbi/rbs_printer.rb#597 + # : (TEnumBlock node) -> void + # + # source://rbi//lib/rbi/rbs_printer.rb#647 sig { override.params(node: ::RBI::TEnumBlock).void } def visit_tenum_block(node); end - # source://rbi//lib/rbi/rbs_printer.rb#111 + # : (Tree node) -> void + # + # source://rbi//lib/rbi/rbs_printer.rb#120 sig { override.params(node: ::RBI::Tree).void } def visit_tree(node); end - # source://rbi//lib/rbi/rbs_printer.rb#544 + # : (TStruct node) -> void + # + # source://rbi//lib/rbi/rbs_printer.rb#590 sig { override.params(node: ::RBI::TStruct).void } def visit_tstruct(node); end - # source://rbi//lib/rbi/rbs_printer.rb#578 + # : (TStructConst node) -> void + # + # source://rbi//lib/rbi/rbs_printer.rb#625 sig { override.params(node: ::RBI::TStructConst).void } def visit_tstruct_const(node); end - # source://rbi//lib/rbi/rbs_printer.rb#585 + # : (TStructProp node) -> void + # + # source://rbi//lib/rbi/rbs_printer.rb#633 sig { override.params(node: ::RBI::TStructProp).void } def visit_tstruct_prop(node); end - # source://rbi//lib/rbi/rbs_printer.rb#615 + # : (TypeMember node) -> void + # + # source://rbi//lib/rbi/rbs_printer.rb#666 sig { override.params(node: ::RBI::TypeMember).void } def visit_type_member(node); end - # source://rbi//lib/rbi/rbs_printer.rb#520 + # : (Visibility node) -> void + # + # source://rbi//lib/rbi/rbs_printer.rb#562 sig { params(node: ::RBI::Visibility).void } def visit_visibility(node); end - # source://rbi//lib/rbi/rbs_printer.rb#636 + # : (VisibilityGroup node) -> void + # + # source://rbi//lib/rbi/rbs_printer.rb#691 sig { override.params(node: ::RBI::VisibilityGroup).void } def visit_visibility_group(node); end private - # source://rbi//lib/rbi/rbs_printer.rb#754 + # : (Node node) -> bool + # + # @return [Boolean] + # + # source://rbi//lib/rbi/rbs_printer.rb#824 sig { params(node: ::RBI::Node).returns(T::Boolean) } def oneline?(node); end # Parse a string containing a `T.let(x, X)` and extract the type # # Returns `nil` is the string is not a `T.let`. + # : (String? code) -> String? # - # source://rbi//lib/rbi/rbs_printer.rb#788 + # source://rbi//lib/rbi/rbs_printer.rb#858 + # Parse a string containing a `T.let(x, X)` and extract the type + # Returns `nil` is the string is not a `T.let`. sig { params(code: T.nilable(::String)).returns(T.nilable(::String)) } def parse_t_let(code); end - # source://rbi//lib/rbi/rbs_printer.rb#776 + # : ((Type | String) type) -> Type + # + # source://rbi//lib/rbi/rbs_printer.rb#846 sig { params(type: T.any(::RBI::Type, ::String)).returns(::RBI::Type) } def parse_type(type); end - # source://rbi//lib/rbi/rbs_printer.rb#679 + # : (Node node) -> void + # + # source://rbi//lib/rbi/rbs_printer.rb#737 sig { params(node: ::RBI::Node).void } def print_blank_line_before(node); end - # source://rbi//lib/rbi/rbs_printer.rb#698 + # : (Node node) -> void + # + # source://rbi//lib/rbi/rbs_printer.rb#756 sig { params(node: ::RBI::Node).void } def print_loc(node); end - # source://rbi//lib/rbi/rbs_printer.rb#728 + # : (Param node, last: bool) -> void + # + # source://rbi//lib/rbi/rbs_printer.rb#798 sig { params(node: ::RBI::Param, last: T::Boolean).void } def print_param_comment_leading_space(node, last:); end - # source://rbi//lib/rbi/rbs_printer.rb#704 + # : (Method node, SigParam param) -> void + # + # source://rbi//lib/rbi/rbs_printer.rb#762 sig { params(node: ::RBI::Method, param: ::RBI::SigParam).void } def print_sig_param(node, param); end - # source://rbi//lib/rbi/rbs_printer.rb#746 + # : (SigParam node, last: bool) -> void + # + # source://rbi//lib/rbi/rbs_printer.rb#816 sig { params(node: ::RBI::SigParam, last: T::Boolean).void } def print_sig_param_comment_leading_space(node, last:); end end @@ -2124,9 +3142,13 @@ class RBI::RBSPrinter::Error < ::RBI::Error; end # source://rbi//lib/rbi/model.rb#5 class RBI::ReplaceNodeError < ::RBI::Error; end -# source://rbi//lib/rbi/model.rb#654 +# source://rbi//lib/rbi/model.rb#532 class RBI::ReqParam < ::RBI::Param - # source://rbi//lib/rbi/model.rb#665 + # : (String name, ?loc: Loc?, ?comments: Array[Comment]) ?{ (ReqParam node) -> void } -> void + # + # @return [ReqParam] a new instance of ReqParam + # + # source://rbi//lib/rbi/model.rb#534 sig do params( name: ::String, @@ -2137,35 +3159,51 @@ class RBI::ReqParam < ::RBI::Param end def initialize(name, loc: T.unsafe(nil), comments: T.unsafe(nil), &block); end - # source://rbi//lib/rbi/model.rb#671 + # : (Object? other) -> bool + # + # source://rbi//lib/rbi/model.rb#540 sig { params(other: T.nilable(::Object)).returns(T::Boolean) } def ==(other); end end -# source://rbi//lib/rbi/model.rb#1461 +# source://rbi//lib/rbi/model.rb#1100 class RBI::RequiresAncestor < ::RBI::NodeWithComments include ::RBI::Indexable - # source://rbi//lib/rbi/model.rb#1474 + # : (String name, ?loc: Loc?, ?comments: Array[Comment]) -> void + # + # @return [RequiresAncestor] a new instance of RequiresAncestor + # + # source://rbi//lib/rbi/model.rb#1105 sig { params(name: ::String, loc: T.nilable(::RBI::Loc), comments: T::Array[::RBI::Comment]).void } def initialize(name, loc: T.unsafe(nil), comments: T.unsafe(nil)); end - # source://rbi//lib/rbi/index.rb#163 + # : -> Array[String] + # + # source://rbi//lib/rbi/index.rb#159 sig { override.returns(T::Array[::String]) } def index_ids; end - # source://rbi//lib/rbi/model.rb#1465 + # : String + # + # source://rbi//lib/rbi/model.rb#1102 sig { returns(::String) } def name; end - # source://rbi//lib/rbi/model.rb#1480 + # : -> String + # + # source://rbi//lib/rbi/model.rb#1112 sig { override.returns(::String) } def to_s; end end -# source://rbi//lib/rbi/model.rb#703 +# source://rbi//lib/rbi/model.rb#562 class RBI::RestParam < ::RBI::Param - # source://rbi//lib/rbi/model.rb#714 + # : (String name, ?loc: Loc?, ?comments: Array[Comment]) ?{ (RestParam node) -> void } -> void + # + # @return [RestParam] a new instance of RestParam + # + # source://rbi//lib/rbi/model.rb#564 sig do params( name: ::String, @@ -2176,11 +3214,15 @@ class RBI::RestParam < ::RBI::Param end def initialize(name, loc: T.unsafe(nil), comments: T.unsafe(nil), &block); end - # source://rbi//lib/rbi/model.rb#725 + # : (Object? other) -> bool + # + # source://rbi//lib/rbi/model.rb#576 sig { params(other: T.nilable(::Object)).returns(T::Boolean) } def ==(other); end - # source://rbi//lib/rbi/model.rb#720 + # : -> String + # + # source://rbi//lib/rbi/model.rb#571 sig { override.returns(::String) } def to_s; end end @@ -2190,78 +3232,114 @@ module RBI::Rewriters; end # source://rbi//lib/rbi/rewriters/add_sig_templates.rb#6 class RBI::Rewriters::AddSigTemplates < ::RBI::Visitor - # source://rbi//lib/rbi/rewriters/add_sig_templates.rb#10 + # : (?with_todo_comment: bool) -> void + # + # @return [AddSigTemplates] a new instance of AddSigTemplates + # + # source://rbi//lib/rbi/rewriters/add_sig_templates.rb#8 sig { params(with_todo_comment: T::Boolean).void } def initialize(with_todo_comment: T.unsafe(nil)); end - # source://rbi//lib/rbi/rewriters/add_sig_templates.rb#16 + # : (Node? node) -> void + # + # source://rbi//lib/rbi/rewriters/add_sig_templates.rb#15 sig { override.params(node: T.nilable(::RBI::Node)).void } def visit(node); end private - # source://rbi//lib/rbi/rewriters/add_sig_templates.rb#30 + # : (Attr attr) -> void + # + # source://rbi//lib/rbi/rewriters/add_sig_templates.rb#29 sig { params(attr: ::RBI::Attr).void } def add_attr_sig(attr); end - # source://rbi//lib/rbi/rewriters/add_sig_templates.rb#45 + # : (Method method) -> void + # + # source://rbi//lib/rbi/rewriters/add_sig_templates.rb#44 sig { params(method: ::RBI::Method).void } def add_method_sig(method); end - # source://rbi//lib/rbi/rewriters/add_sig_templates.rb#56 + # : (NodeWithComments node) -> void + # + # source://rbi//lib/rbi/rewriters/add_sig_templates.rb#55 sig { params(node: ::RBI::NodeWithComments).void } def add_todo_comment(node); end end # source://rbi//lib/rbi/rewriters/annotate.rb#6 class RBI::Rewriters::Annotate < ::RBI::Visitor - # source://rbi//lib/rbi/rewriters/annotate.rb#10 + # : (String annotation, ?annotate_scopes: bool, ?annotate_properties: bool) -> void + # + # @return [Annotate] a new instance of Annotate + # + # source://rbi//lib/rbi/rewriters/annotate.rb#8 sig { params(annotation: ::String, annotate_scopes: T::Boolean, annotate_properties: T::Boolean).void } def initialize(annotation, annotate_scopes: T.unsafe(nil), annotate_properties: T.unsafe(nil)); end - # source://rbi//lib/rbi/rewriters/annotate.rb#18 + # : (Node? node) -> void + # + # source://rbi//lib/rbi/rewriters/annotate.rb#17 sig { override.params(node: T.nilable(::RBI::Node)).void } def visit(node); end private - # source://rbi//lib/rbi/rewriters/annotate.rb#31 + # : (NodeWithComments node) -> void + # + # source://rbi//lib/rbi/rewriters/annotate.rb#30 sig { params(node: ::RBI::NodeWithComments).void } def annotate_node(node); end - # source://rbi//lib/rbi/rewriters/annotate.rb#38 + # : (Node node) -> bool + # + # @return [Boolean] + # + # source://rbi//lib/rbi/rewriters/annotate.rb#37 sig { params(node: ::RBI::Node).returns(T::Boolean) } def root?(node); end end # source://rbi//lib/rbi/rewriters/attr_to_methods.rb#22 class RBI::Rewriters::AttrToMethods < ::RBI::Visitor - # source://rbi//lib/rbi/rewriters/attr_to_methods.rb#26 + # : (Node? node) -> void + # + # source://rbi//lib/rbi/rewriters/attr_to_methods.rb#25 sig { override.params(node: T.nilable(::RBI::Node)).void } def visit(node); end private + # : (Node node, with: Array[Node]) -> void + # # @raise [ReplaceNodeError] # - # source://rbi//lib/rbi/rewriters/attr_to_methods.rb#39 + # source://rbi//lib/rbi/rewriters/attr_to_methods.rb#38 sig { params(node: ::RBI::Node, with: T::Array[::RBI::Node]).void } def replace(node, with:); end end # source://rbi//lib/rbi/rewriters/deannotate.rb#6 class RBI::Rewriters::Deannotate < ::RBI::Visitor - # source://rbi//lib/rbi/rewriters/deannotate.rb#10 + # : (String annotation) -> void + # + # @return [Deannotate] a new instance of Deannotate + # + # source://rbi//lib/rbi/rewriters/deannotate.rb#8 sig { params(annotation: ::String).void } def initialize(annotation); end - # source://rbi//lib/rbi/rewriters/deannotate.rb#16 + # : (Node? node) -> void + # + # source://rbi//lib/rbi/rewriters/deannotate.rb#15 sig { override.params(node: T.nilable(::RBI::Node)).void } def visit(node); end private - # source://rbi//lib/rbi/rewriters/deannotate.rb#27 + # : (NodeWithComments node) -> void + # + # source://rbi//lib/rbi/rewriters/deannotate.rb#26 sig { params(node: ::RBI::NodeWithComments).void } def deannotate_node(node); end end @@ -2319,23 +3397,66 @@ end # - RBI with no version annotations are automatically counted towards ALL versions # # source://rbi//lib/rbi/rewriters/filter_versions.rb#57 +# Take a gem version and filter out all RBI that is not relevant to that version based on @version annotations +# in comments. As an example: +# ~~~rb +# tree = Parser.parse_string(<<~RBI) +# class Foo +# # @version > 0.3.0 +# def bar +# end +# # @version <= 0.3.0 +# def bar(arg1) +# end +# RBI +# Rewriters::FilterVersions.filter(tree, Gem::Version.new("0.3.1")) +# assert_equal(<<~RBI, tree.string) +# ~~~ +# Supported operators: +# - equals `=` +# - not equals `!=` +# - greater than `>` +# - greater than or equal to `>=` +# - less than `<` +# - less than or equal to `<=` +# - pessimistic or twiddle-wakka`~>` +# And/or logic: +# - "And" logic: put multiple versions on the same line +# - e.g. `@version > 0.3.0, <1.0.0` means version must be greater than 0.3.0 AND less than 1.0.0 +# - "Or" logic: put multiple versions on subsequent lines +# - e.g. the following means version must be less than 0.3.0 OR greater than 1.0.0 +# ``` +# # @version < 0.3.0 +# # @version > 1.0.0 +# Prerelease versions: +# - Prerelease versions are considered less than their non-prerelease counterparts +# - e.g. `0.4.0-prerelease` is less than `0.4.0` +# RBI with no versions: class RBI::Rewriters::FilterVersions < ::RBI::Visitor - # source://rbi//lib/rbi/rewriters/filter_versions.rb#73 + # : (Gem::Version version) -> void + # + # @return [FilterVersions] a new instance of FilterVersions + # + # source://rbi//lib/rbi/rewriters/filter_versions.rb#69 sig { params(version: ::Gem::Version).void } def initialize(version); end - # source://rbi//lib/rbi/rewriters/filter_versions.rb#79 + # : (Node? node) -> void + # + # source://rbi//lib/rbi/rewriters/filter_versions.rb#76 sig { override.params(node: T.nilable(::RBI::Node)).void } def visit(node); end class << self - # source://rbi//lib/rbi/rewriters/filter_versions.rb#66 + # : (Tree tree, Gem::Version version) -> void + # + # source://rbi//lib/rbi/rewriters/filter_versions.rb#62 sig { params(tree: ::RBI::Tree, version: ::Gem::Version).void } def filter(tree, version); end end end -# source://rbi//lib/rbi/rewriters/filter_versions.rb#60 +# source://rbi//lib/rbi/rewriters/filter_versions.rb#58 RBI::Rewriters::FilterVersions::VERSION_PREFIX = T.let(T.unsafe(nil), String) # Rewrite non-singleton methods inside singleton classes to singleton methods @@ -2364,8 +3485,24 @@ RBI::Rewriters::FilterVersions::VERSION_PREFIX = T.let(T.unsafe(nil), String) # ~~~ # # source://rbi//lib/rbi/rewriters/flatten_singleton_methods.rb#30 +# Rewrite non-singleton methods inside singleton classes to singleton methods +# Example: +# ~~~rb +# class << self +# def m1; end +# def self.m2; end +# class << self +# def m3; end +# end +# end +# will be rewritten to: +# def self.m1; end +# def self.m2; end +# def self.m3; end class RBI::Rewriters::FlattenSingletonMethods < ::RBI::Visitor - # source://rbi//lib/rbi/rewriters/flatten_singleton_methods.rb#34 + # : (Node? node) -> void + # + # source://rbi//lib/rbi/rewriters/flatten_singleton_methods.rb#33 sig { override.params(node: T.nilable(::RBI::Node)).void } def visit(node); end end @@ -2393,25 +3530,47 @@ end # ~~~ # # source://rbi//lib/rbi/rewriters/flatten_visibilities.rb#27 +# Flattens visibility nodes into method nodes +# Example: +# ~~~rb +# class A +# def m1; end +# private +# def m2; end +# def m3; end +# end +# will be transformed into: +# private def m2; end +# private def m3; end class RBI::Rewriters::FlattenVisibilities < ::RBI::Visitor - # source://rbi//lib/rbi/rewriters/flatten_visibilities.rb#31 + # : -> void + # + # @return [FlattenVisibilities] a new instance of FlattenVisibilities + # + # source://rbi//lib/rbi/rewriters/flatten_visibilities.rb#29 sig { void } def initialize; end - # source://rbi//lib/rbi/rewriters/flatten_visibilities.rb#38 + # : (Node? node) -> void + # + # source://rbi//lib/rbi/rewriters/flatten_visibilities.rb#37 sig { override.params(node: T.nilable(::RBI::Node)).void } def visit(node); end end # source://rbi//lib/rbi/rewriters/group_nodes.rb#8 class RBI::Rewriters::GroupNodes < ::RBI::Visitor - # source://rbi//lib/rbi/rewriters/group_nodes.rb#12 + # : (Node? node) -> void + # + # source://rbi//lib/rbi/rewriters/group_nodes.rb#11 sig { override.params(node: T.nilable(::RBI::Node)).void } def visit(node); end private - # source://rbi//lib/rbi/rewriters/group_nodes.rb#36 + # : (Node node) -> Group::Kind + # + # source://rbi//lib/rbi/rewriters/group_nodes.rb#35 sig { params(node: ::RBI::Node).returns(::RBI::Group::Kind) } def group_kind(node); end end @@ -2451,21 +3610,46 @@ end # ~~~ # # source://rbi//lib/rbi/rewriters/merge_trees.rb#39 +# Merge two RBI trees together +# Be this `Tree`: +# ~~~rb +# class Foo +# attr_accessor :a +# def m; end +# C = 10 +# end +# Merged with this one: +# attr_reader :a +# def m(x); end +# Compatible definitions are merged together while incompatible definitions are moved into a `ConflictTree`: +# <<<<<<< left +# ======= +# >>>>>>> right class RBI::Rewriters::Merge - # source://rbi//lib/rbi/rewriters/merge_trees.rb#70 + # : (?left_name: String, ?right_name: String, ?keep: Keep) -> void + # + # @return [Merge] a new instance of Merge + # + # source://rbi//lib/rbi/rewriters/merge_trees.rb#66 sig { params(left_name: ::String, right_name: ::String, keep: ::RBI::Rewriters::Merge::Keep).void } def initialize(left_name: T.unsafe(nil), right_name: T.unsafe(nil), keep: T.unsafe(nil)); end - # source://rbi//lib/rbi/rewriters/merge_trees.rb#79 + # : (Tree tree) -> void + # + # source://rbi//lib/rbi/rewriters/merge_trees.rb#75 sig { params(tree: ::RBI::Tree).void } def merge(tree); end - # source://rbi//lib/rbi/rewriters/merge_trees.rb#67 + # : MergeTree + # + # source://rbi//lib/rbi/rewriters/merge_trees.rb#63 sig { returns(::RBI::MergeTree) } def tree; end class << self - # source://rbi//lib/rbi/rewriters/merge_trees.rb#54 + # : (Tree left, Tree right, ?left_name: String, ?right_name: String, ?keep: Keep) -> MergeTree + # + # source://rbi//lib/rbi/rewriters/merge_trees.rb#50 sig do params( left: ::RBI::Tree, @@ -2481,19 +3665,22 @@ end # Used for logging / error displaying purpose # -# source://rbi//lib/rbi/rewriters/merge_trees.rb#86 +# source://rbi//lib/rbi/rewriters/merge_trees.rb#82 class RBI::Rewriters::Merge::Conflict < ::T::Struct const :left, ::RBI::Node const :right, ::RBI::Node const :left_name, ::String const :right_name, ::String - # source://rbi//lib/rbi/rewriters/merge_trees.rb#95 + # : -> String + # + # source://rbi//lib/rbi/rewriters/merge_trees.rb#89 sig { returns(::String) } def to_s; end class << self - # source://sorbet-runtime/0.5.11770/lib/types/struct.rb#13 + # source://sorbet-runtime/0.5.11915/lib/types/struct.rb#13 + # source://sorbet-runtime/0.5.11911/lib/types/struct.rb#13 def inherited(s); end end end @@ -2529,24 +3716,43 @@ end # end # ~~~ # -# source://rbi//lib/rbi/rewriters/merge_trees.rb#245 +# source://rbi//lib/rbi/rewriters/merge_trees.rb#238 +# Merge adjacent conflict trees +# Transform this: +# ~~~rb +# class Foo +# <<<<<<< left +# def m1; end +# ======= +# def m1(a); end +# >>>>>>> right +# def m2(a); end +# def m2; end +# end +# Into this: class RBI::Rewriters::Merge::ConflictTreeMerger < ::RBI::Visitor - # source://rbi//lib/rbi/rewriters/merge_trees.rb#247 + # : (Node? node) -> void + # + # source://rbi//lib/rbi/rewriters/merge_trees.rb#241 sig { override.params(node: T.nilable(::RBI::Node)).void } def visit(node); end - # source://rbi//lib/rbi/rewriters/merge_trees.rb#252 + # : (Array[Node] nodes) -> void + # + # source://rbi//lib/rbi/rewriters/merge_trees.rb#247 sig { override.params(nodes: T::Array[::RBI::Node]).void } def visit_all(nodes); end private - # source://rbi//lib/rbi/rewriters/merge_trees.rb#273 + # : (Tree left, Tree right) -> void + # + # source://rbi//lib/rbi/rewriters/merge_trees.rb#268 sig { params(left: ::RBI::Tree, right: ::RBI::Tree).void } def merge_conflict_trees(left, right); end end -# source://rbi//lib/rbi/rewriters/merge_trees.rb#42 +# source://rbi//lib/rbi/rewriters/merge_trees.rb#40 class RBI::Rewriters::Merge::Keep < ::T::Enum enums do LEFT = new @@ -2555,9 +3761,13 @@ class RBI::Rewriters::Merge::Keep < ::T::Enum end end -# source://rbi//lib/rbi/rewriters/merge_trees.rb#100 +# source://rbi//lib/rbi/rewriters/merge_trees.rb#94 class RBI::Rewriters::Merge::TreeMerger < ::RBI::Visitor - # source://rbi//lib/rbi/rewriters/merge_trees.rb#107 + # : (Tree output, ?left_name: String, ?right_name: String, ?keep: Keep) -> void + # + # @return [TreeMerger] a new instance of TreeMerger + # + # source://rbi//lib/rbi/rewriters/merge_trees.rb#99 sig do params( output: ::RBI::Tree, @@ -2568,47 +3778,65 @@ class RBI::Rewriters::Merge::TreeMerger < ::RBI::Visitor end def initialize(output, left_name: T.unsafe(nil), right_name: T.unsafe(nil), keep: T.unsafe(nil)); end - # source://rbi//lib/rbi/rewriters/merge_trees.rb#104 + # : Array[Conflict] + # + # source://rbi//lib/rbi/rewriters/merge_trees.rb#96 sig { returns(T::Array[::RBI::Rewriters::Merge::Conflict]) } def conflicts; end - # source://rbi//lib/rbi/rewriters/merge_trees.rb#119 + # : (Node? node) -> void + # + # source://rbi//lib/rbi/rewriters/merge_trees.rb#112 sig { override.params(node: T.nilable(::RBI::Node)).void } def visit(node); end private - # source://rbi//lib/rbi/rewriters/merge_trees.rb#168 + # : -> Tree + # + # source://rbi//lib/rbi/rewriters/merge_trees.rb#161 sig { returns(::RBI::Tree) } def current_scope; end - # source://rbi//lib/rbi/rewriters/merge_trees.rb#185 + # : (Scope left, Scope right) -> void + # + # source://rbi//lib/rbi/rewriters/merge_trees.rb#178 sig { params(left: ::RBI::Scope, right: ::RBI::Scope).void } def make_conflict_scope(left, right); end - # source://rbi//lib/rbi/rewriters/merge_trees.rb#192 + # : (Node left, Node right) -> void + # + # source://rbi//lib/rbi/rewriters/merge_trees.rb#185 sig { params(left: ::RBI::Node, right: ::RBI::Node).void } def make_conflict_tree(left, right); end - # source://rbi//lib/rbi/rewriters/merge_trees.rb#173 + # : (Node node) -> Node? + # + # source://rbi//lib/rbi/rewriters/merge_trees.rb#166 sig { params(node: ::RBI::Node).returns(T.nilable(::RBI::Node)) } def previous_definition(node); end - # source://rbi//lib/rbi/rewriters/merge_trees.rb#204 + # : (Scope left, Scope right) -> Scope + # + # source://rbi//lib/rbi/rewriters/merge_trees.rb#197 sig { params(left: ::RBI::Scope, right: ::RBI::Scope).returns(::RBI::Scope) } def replace_scope_header(left, right); end end # source://rbi//lib/rbi/rewriters/nest_non_public_members.rb#6 class RBI::Rewriters::NestNonPublicMembers < ::RBI::Visitor - # source://rbi//lib/rbi/rewriters/nest_non_public_members.rb#10 + # : (Node? node) -> void + # + # source://rbi//lib/rbi/rewriters/nest_non_public_members.rb#9 sig { override.params(node: T.nilable(::RBI::Node)).void } def visit(node); end end # source://rbi//lib/rbi/rewriters/nest_singleton_methods.rb#6 class RBI::Rewriters::NestSingletonMethods < ::RBI::Visitor - # source://rbi//lib/rbi/rewriters/nest_singleton_methods.rb#10 + # : (Node? node) -> void + # + # source://rbi//lib/rbi/rewriters/nest_singleton_methods.rb#9 sig { override.params(node: T.nilable(::RBI::Node)).void } def visit(node); end end @@ -2631,12 +3859,28 @@ end # ~~~ # # source://rbi//lib/rbi/rewriters/nest_top_level_members.rb#22 +# This rewriter moves top-level members into a top-level Object class +# Example: +# ~~~rb +# def foo; end +# attr_reader :bar +# will be rewritten to: +# class Object +# def foo; end +# attr_reader :bar +# end class RBI::Rewriters::NestTopLevelMembers < ::RBI::Visitor - # source://rbi//lib/rbi/rewriters/nest_top_level_members.rb#26 + # : -> void + # + # @return [NestTopLevelMembers] a new instance of NestTopLevelMembers + # + # source://rbi//lib/rbi/rewriters/nest_top_level_members.rb#24 sig { void } def initialize; end - # source://rbi//lib/rbi/rewriters/nest_top_level_members.rb#33 + # : (Node? node) -> void + # + # source://rbi//lib/rbi/rewriters/nest_top_level_members.rb#32 sig { override.params(node: T.nilable(::RBI::Node)).void } def visit(node); end end @@ -2685,39 +3929,80 @@ end # ~~~ # # source://rbi//lib/rbi/rewriters/remove_known_definitions.rb#48 +# Remove all definitions existing in the index from the current tree +# Let's create an `Index` from two different `Tree`s: +# ~~~rb +# tree1 = Parse.parse_string(<<~RBI) +# class Foo +# def foo; end +# end +# RBI +# tree2 = Parse.parse_string(<<~RBI) +# FOO = 10 +# index = Index.index(tree1, tree2) +# We can use `RemoveKnownDefinitions` to remove the definitions found in the `index` from the `Tree` to clean: +# tree_to_clean = Parser.parse_string(<<~RBI) +# def bar; end +# BAR = 42 +# cleaned_tree, operations = RemoveKnownDefinitions.remove(tree_to_clean, index) +# assert_equal(<<~RBI, cleaned_tree) +# assert_equal(<<~OPERATIONS, operations.join("\n")) +# Deleted ::Foo#foo at -:2:2-2-16 (duplicate from -:2:2-2:16) +# Deleted ::FOO at -:5:0-5:8 (duplicate from -:1:0-1:8) +# OPERATIONS class RBI::Rewriters::RemoveKnownDefinitions < ::RBI::Visitor - # source://rbi//lib/rbi/rewriters/remove_known_definitions.rb#55 + # : (Index index) -> void + # + # @return [RemoveKnownDefinitions] a new instance of RemoveKnownDefinitions + # + # source://rbi//lib/rbi/rewriters/remove_known_definitions.rb#53 sig { params(index: ::RBI::Index).void } def initialize(index); end - # source://rbi//lib/rbi/rewriters/remove_known_definitions.rb#52 + # : Array[Operation] + # + # source://rbi//lib/rbi/rewriters/remove_known_definitions.rb#50 sig { returns(T::Array[::RBI::Rewriters::RemoveKnownDefinitions::Operation]) } def operations; end - # source://rbi//lib/rbi/rewriters/remove_known_definitions.rb#83 + # : (Node? node) -> void + # + # source://rbi//lib/rbi/rewriters/remove_known_definitions.rb#75 sig { override.params(node: T.nilable(::RBI::Node)).void } def visit(node); end - # source://rbi//lib/rbi/rewriters/remove_known_definitions.rb#78 + # : (Array[Node] nodes) -> void + # + # source://rbi//lib/rbi/rewriters/remove_known_definitions.rb#69 sig { params(nodes: T::Array[::RBI::Node]).void } def visit_all(nodes); end private - # source://rbi//lib/rbi/rewriters/remove_known_definitions.rb#111 + # : (Node node, Node previous) -> bool + # + # @return [Boolean] + # + # source://rbi//lib/rbi/rewriters/remove_known_definitions.rb#103 sig { params(node: ::RBI::Node, previous: ::RBI::Node).returns(T::Boolean) } def can_delete_node?(node, previous); end - # source://rbi//lib/rbi/rewriters/remove_known_definitions.rb#129 + # : (Node node, Node previous) -> void + # + # source://rbi//lib/rbi/rewriters/remove_known_definitions.rb#121 sig { params(node: ::RBI::Node, previous: ::RBI::Node).void } def delete_node(node, previous); end - # source://rbi//lib/rbi/rewriters/remove_known_definitions.rb#102 + # : (Indexable node) -> Node? + # + # source://rbi//lib/rbi/rewriters/remove_known_definitions.rb#94 sig { params(node: ::RBI::Indexable).returns(T.nilable(::RBI::Node)) } def previous_definition_for(node); end class << self - # source://rbi//lib/rbi/rewriters/remove_known_definitions.rb#70 + # : (Tree tree, Index index) -> [Tree, Array[Operation]] + # + # source://rbi//lib/rbi/rewriters/remove_known_definitions.rb#61 sig do params( tree: ::RBI::Tree, @@ -2728,73 +4013,126 @@ class RBI::Rewriters::RemoveKnownDefinitions < ::RBI::Visitor end end -# source://rbi//lib/rbi/rewriters/remove_known_definitions.rb#134 +# source://rbi//lib/rbi/rewriters/remove_known_definitions.rb#126 class RBI::Rewriters::RemoveKnownDefinitions::Operation < ::T::Struct const :deleted_node, ::RBI::Node const :duplicate_of, ::RBI::Node - # source://rbi//lib/rbi/rewriters/remove_known_definitions.rb#141 + # : -> String + # + # source://rbi//lib/rbi/rewriters/remove_known_definitions.rb#131 sig { returns(::String) } def to_s; end class << self - # source://sorbet-runtime/0.5.11770/lib/types/struct.rb#13 + # source://sorbet-runtime/0.5.11915/lib/types/struct.rb#13 + # source://sorbet-runtime/0.5.11911/lib/types/struct.rb#13 def inherited(s); end end end # source://rbi//lib/rbi/rewriters/sort_nodes.rb#6 class RBI::Rewriters::SortNodes < ::RBI::Visitor - # source://rbi//lib/rbi/rewriters/sort_nodes.rb#10 + # : (Node? node) -> void + # + # source://rbi//lib/rbi/rewriters/sort_nodes.rb#9 sig { override.params(node: T.nilable(::RBI::Node)).void } def visit(node); end private - # source://rbi//lib/rbi/rewriters/sort_nodes.rb#73 + # : (Group::Kind kind) -> Integer + # + # source://rbi//lib/rbi/rewriters/sort_nodes.rb#72 sig { params(kind: ::RBI::Group::Kind).returns(::Integer) } def group_rank(kind); end - # source://rbi//lib/rbi/rewriters/sort_nodes.rb#94 + # : (Node node) -> String? + # + # source://rbi//lib/rbi/rewriters/sort_nodes.rb#93 sig { params(node: ::RBI::Node).returns(T.nilable(::String)) } def node_name(node); end - # source://rbi//lib/rbi/rewriters/sort_nodes.rb#45 + # : (Node node) -> Integer + # + # source://rbi//lib/rbi/rewriters/sort_nodes.rb#44 sig { params(node: ::RBI::Node).returns(::Integer) } def node_rank(node); end - # source://rbi//lib/rbi/rewriters/sort_nodes.rb#106 + # : (Node node) -> void + # + # source://rbi//lib/rbi/rewriters/sort_nodes.rb#105 sig { params(node: ::RBI::Node).void } def sort_node_names!(node); end end +# Translate all RBS signature comments to Sorbet RBI signatures +# +# source://rbi//lib/rbi/rewriters/translate_rbs_sigs.rb#7 +class RBI::Rewriters::TranslateRBSSigs < ::RBI::Visitor + # : (Node? node) -> void + # + # source://rbi//lib/rbi/rewriters/translate_rbs_sigs.rb#12 + sig { override.params(node: T.nilable(::RBI::Node)).void } + def visit(node); end + + private + + # : (Method | Attr) -> Array[RBSComment] + # + # source://rbi//lib/rbi/rewriters/translate_rbs_sigs.rb#34 + sig { params(node: T.any(::RBI::Attr, ::RBI::Method)).returns(T::Array[::RBI::RBSComment]) } + def extract_rbs_comments(node); end + + # : (Attr, RBSComment) -> Sig + # + # source://rbi//lib/rbi/rewriters/translate_rbs_sigs.rb#61 + sig { params(node: ::RBI::Attr, comment: ::RBI::RBSComment).returns(::RBI::Sig) } + def translate_rbs_attr_type(node, comment); end + + # : (Method, RBSComment) -> Sig + # + # source://rbi//lib/rbi/rewriters/translate_rbs_sigs.rb#53 + sig { params(node: ::RBI::Method, comment: ::RBI::RBSComment).returns(::RBI::Sig) } + def translate_rbs_method_type(node, comment); end +end + +# source://rbi//lib/rbi/rewriters/translate_rbs_sigs.rb#8 +class RBI::Rewriters::TranslateRBSSigs::Error < ::RBI::Error; end + # Scopes # # @abstract It cannot be directly instantiated. Subclasses must implement the `abstract` methods below. # -# source://rbi//lib/rbi/model.rb#178 +# source://rbi//lib/rbi/model.rb#166 class RBI::Scope < ::RBI::Tree include ::RBI::Indexable abstract! # Duplicate `self` scope without its body + # : -> self # - # source://rbi//lib/rbi/rewriters/merge_trees.rb#358 + # source://rbi//lib/rbi/rewriters/merge_trees.rb#337 + # Duplicate `self` scope without its body sig { returns(T.self_type) } def dup_empty; end # @abstract # - # source://rbi//lib/rbi/model.rb#184 + # source://rbi//lib/rbi/model.rb#173 sig { abstract.returns(::String) } def fully_qualified_name; end - # source://rbi//lib/rbi/index.rb#93 + # : -> Array[String] + # + # source://rbi//lib/rbi/index.rb#89 sig { override.returns(T::Array[::String]) } def index_ids; end - # source://rbi//lib/rbi/model.rb#187 + # : -> String + # + # source://rbi//lib/rbi/model.rb#177 sig { override.returns(::String) } def to_s; end end @@ -2812,38 +4150,62 @@ end # end # ~~~ # -# source://rbi//lib/rbi/rewriters/merge_trees.rb#616 +# source://rbi//lib/rbi/rewriters/merge_trees.rb#577 +# A conflict between two scope headers +# Is rendered as a merge conflict between `left` and` right` for scope definitions: +# ~~~rb +# <<<<<<< left +# class Foo +# ======= +# module Foo +# >>>>>>> right +# def m1; end +# end class RBI::ScopeConflict < ::RBI::Tree - # source://rbi//lib/rbi/rewriters/merge_trees.rb#633 + # : (left: Scope, right: Scope, ?left_name: String, ?right_name: String) -> void + # + # @return [ScopeConflict] a new instance of ScopeConflict + # + # source://rbi//lib/rbi/rewriters/merge_trees.rb#585 sig { params(left: ::RBI::Scope, right: ::RBI::Scope, left_name: ::String, right_name: ::String).void } def initialize(left:, right:, left_name: T.unsafe(nil), right_name: T.unsafe(nil)); end - # source://rbi//lib/rbi/rewriters/merge_trees.rb#620 + # : Scope + # + # source://rbi//lib/rbi/rewriters/merge_trees.rb#579 sig { returns(::RBI::Scope) } def left; end - # source://rbi//lib/rbi/rewriters/merge_trees.rb#623 + # : String + # + # source://rbi//lib/rbi/rewriters/merge_trees.rb#582 sig { returns(::String) } def left_name; end - # @return [Scope] + # : Scope # - # source://rbi//lib/rbi/rewriters/merge_trees.rb#620 + # source://rbi//lib/rbi/rewriters/merge_trees.rb#579 + # @return [Scope] def right; end - # @return [String] + # : String # - # source://rbi//lib/rbi/rewriters/merge_trees.rb#623 + # source://rbi//lib/rbi/rewriters/merge_trees.rb#582 + # @return [String] def right_name; end end # Sends # -# source://rbi//lib/rbi/model.rb#1004 +# source://rbi//lib/rbi/model.rb#771 class RBI::Send < ::RBI::NodeWithComments include ::RBI::Indexable - # source://rbi//lib/rbi/model.rb#1022 + # : (String method, ?Array[Arg] args, ?loc: Loc?, ?comments: Array[Comment]) ?{ (Send node) -> void } -> void + # + # @return [Send] a new instance of Send + # + # source://rbi//lib/rbi/model.rb#779 sig do params( method: ::String, @@ -2855,40 +4217,60 @@ class RBI::Send < ::RBI::NodeWithComments end def initialize(method, args = T.unsafe(nil), loc: T.unsafe(nil), comments: T.unsafe(nil), &block); end - # source://rbi//lib/rbi/model.rb#1030 + # : (Arg arg) -> void + # + # source://rbi//lib/rbi/model.rb#787 sig { params(arg: ::RBI::Arg).void } def <<(arg); end - # source://rbi//lib/rbi/model.rb#1035 + # : (Object? other) -> bool + # + # source://rbi//lib/rbi/model.rb#792 sig { params(other: T.nilable(::Object)).returns(T::Boolean) } def ==(other); end - # source://rbi//lib/rbi/model.rb#1011 + # : Array[Arg] + # + # source://rbi//lib/rbi/model.rb#776 sig { returns(T::Array[::RBI::Arg]) } def args; end - # source://rbi//lib/rbi/rewriters/merge_trees.rb#537 + # : (Node other) -> bool + # + # @return [Boolean] + # + # source://rbi//lib/rbi/rewriters/merge_trees.rb#503 sig { override.params(other: ::RBI::Node).returns(T::Boolean) } def compatible_with?(other); end - # source://rbi//lib/rbi/index.rb#193 + # : -> Array[String] + # + # source://rbi//lib/rbi/index.rb#189 sig { override.returns(T::Array[::String]) } def index_ids; end - # source://rbi//lib/rbi/model.rb#1008 + # : String + # + # source://rbi//lib/rbi/model.rb#773 sig { returns(::String) } def method; end - # source://rbi//lib/rbi/model.rb#1040 + # : -> String + # + # source://rbi//lib/rbi/model.rb#797 sig { returns(::String) } def to_s; end end # Sorbet's sigs # -# source://rbi//lib/rbi/model.rb#1104 +# source://rbi//lib/rbi/model.rb#846 class RBI::Sig < ::RBI::NodeWithComments - # source://rbi//lib/rbi/model.rb#1138 + # : (?params: Array[SigParam], ?return_type: (Type | String), ?is_abstract: bool, ?is_override: bool, ?is_overridable: bool, ?is_final: bool, ?allow_incompatible_override: bool, ?type_params: Array[String], ?checked: Symbol?, ?loc: Loc?, ?comments: Array[Comment]) ?{ (Sig node) -> void } -> void + # + # @return [Sig] a new instance of Sig + # + # source://rbi//lib/rbi/model.rb#863 sig do params( params: T::Array[::RBI::SigParam], @@ -2907,97 +4289,128 @@ class RBI::Sig < ::RBI::NodeWithComments end def initialize(params: T.unsafe(nil), return_type: T.unsafe(nil), is_abstract: T.unsafe(nil), is_override: T.unsafe(nil), is_overridable: T.unsafe(nil), is_final: T.unsafe(nil), allow_incompatible_override: T.unsafe(nil), type_params: T.unsafe(nil), checked: T.unsafe(nil), loc: T.unsafe(nil), comments: T.unsafe(nil), &block); end - # source://rbi//lib/rbi/model.rb#1166 + # : (SigParam param) -> void + # + # source://rbi//lib/rbi/model.rb#891 sig { params(param: ::RBI::SigParam).void } def <<(param); end - # source://rbi//lib/rbi/model.rb#1176 + # : (Object other) -> bool + # + # source://rbi//lib/rbi/model.rb#901 sig { params(other: ::Object).returns(T::Boolean) } def ==(other); end - # source://rbi//lib/rbi/model.rb#1171 + # : (String name, (Type | String) type) -> void + # + # source://rbi//lib/rbi/model.rb#896 sig { params(name: ::String, type: T.any(::RBI::Type, ::String)).void } def add_param(name, type); end - # @return [Boolean] + # : bool # - # source://rbi//lib/rbi/model.rb#1114 + # source://rbi//lib/rbi/model.rb#854 + # @return [Boolean] def allow_incompatible_override; end - # @return [Boolean] + # : bool # - # source://rbi//lib/rbi/model.rb#1114 + # source://rbi//lib/rbi/model.rb#854 + # @return [Boolean] def allow_incompatible_override=(_arg0); end - # source://rbi//lib/rbi/model.rb#1120 + # : Symbol? + # + # source://rbi//lib/rbi/model.rb#860 sig { returns(T.nilable(::Symbol)) } def checked; end - # @return [Symbol, nil] + # : Symbol? # - # source://rbi//lib/rbi/model.rb#1120 + # source://rbi//lib/rbi/model.rb#860 + # @return [Symbol, nil] def checked=(_arg0); end - # source://rbi//lib/rbi/model.rb#1114 + # : bool + # + # source://rbi//lib/rbi/model.rb#854 sig { returns(T::Boolean) } def is_abstract; end - # @return [Boolean] + # : bool # - # source://rbi//lib/rbi/model.rb#1114 + # source://rbi//lib/rbi/model.rb#854 + # @return [Boolean] def is_abstract=(_arg0); end - # @return [Boolean] + # : bool # - # source://rbi//lib/rbi/model.rb#1114 + # source://rbi//lib/rbi/model.rb#854 + # @return [Boolean] def is_final; end - # @return [Boolean] + # : bool # - # source://rbi//lib/rbi/model.rb#1114 + # source://rbi//lib/rbi/model.rb#854 + # @return [Boolean] def is_final=(_arg0); end - # @return [Boolean] + # : bool # - # source://rbi//lib/rbi/model.rb#1114 + # source://rbi//lib/rbi/model.rb#854 + # @return [Boolean] def is_overridable; end - # @return [Boolean] + # : bool # - # source://rbi//lib/rbi/model.rb#1114 + # source://rbi//lib/rbi/model.rb#854 + # @return [Boolean] def is_overridable=(_arg0); end - # @return [Boolean] + # : bool # - # source://rbi//lib/rbi/model.rb#1114 + # source://rbi//lib/rbi/model.rb#854 + # @return [Boolean] def is_override; end - # @return [Boolean] + # : bool # - # source://rbi//lib/rbi/model.rb#1114 + # source://rbi//lib/rbi/model.rb#854 + # @return [Boolean] def is_override=(_arg0); end - # source://rbi//lib/rbi/model.rb#1108 + # : Array[SigParam] + # + # source://rbi//lib/rbi/model.rb#848 sig { returns(T::Array[::RBI::SigParam]) } def params; end - # source://rbi//lib/rbi/model.rb#1111 + # : (Type | String) + # + # source://rbi//lib/rbi/model.rb#851 sig { returns(T.any(::RBI::Type, ::String)) } def return_type; end - # @return [Type, String] + # : (Type | String) # - # source://rbi//lib/rbi/model.rb#1111 + # source://rbi//lib/rbi/model.rb#851 + # @return [Type, String] def return_type=(_arg0); end - # source://rbi//lib/rbi/model.rb#1117 + # : Array[String] + # + # source://rbi//lib/rbi/model.rb#857 sig { returns(T::Array[::String]) } def type_params; end end -# source://rbi//lib/rbi/model.rb#1185 +# source://rbi//lib/rbi/model.rb#910 class RBI::SigParam < ::RBI::NodeWithComments - # source://rbi//lib/rbi/model.rb#1203 + # : (String name, (Type | String) type, ?loc: Loc?, ?comments: Array[Comment]) ?{ (SigParam node) -> void } -> void + # + # @return [SigParam] a new instance of SigParam + # + # source://rbi//lib/rbi/model.rb#918 sig do params( name: ::String, @@ -3009,22 +4422,32 @@ class RBI::SigParam < ::RBI::NodeWithComments end def initialize(name, type, loc: T.unsafe(nil), comments: T.unsafe(nil), &block); end - # source://rbi//lib/rbi/model.rb#1211 + # : (Object other) -> bool + # + # source://rbi//lib/rbi/model.rb#926 sig { params(other: ::Object).returns(T::Boolean) } def ==(other); end - # source://rbi//lib/rbi/model.rb#1189 + # : String + # + # source://rbi//lib/rbi/model.rb#912 sig { returns(::String) } def name; end - # source://rbi//lib/rbi/model.rb#1192 + # : (Type | String) + # + # source://rbi//lib/rbi/model.rb#915 sig { returns(T.any(::RBI::Type, ::String)) } def type; end end -# source://rbi//lib/rbi/model.rb#253 +# source://rbi//lib/rbi/model.rb#226 class RBI::SingletonClass < ::RBI::Scope - # source://rbi//lib/rbi/model.rb#263 + # : (?loc: Loc?, ?comments: Array[Comment]) ?{ (SingletonClass node) -> void } -> void + # + # @return [SingletonClass] a new instance of SingletonClass + # + # source://rbi//lib/rbi/model.rb#228 sig do params( loc: T.nilable(::RBI::Loc), @@ -3034,14 +4457,20 @@ class RBI::SingletonClass < ::RBI::Scope end def initialize(loc: T.unsafe(nil), comments: T.unsafe(nil), &block); end - # source://rbi//lib/rbi/model.rb#269 + # : -> String + # + # source://rbi//lib/rbi/model.rb#235 sig { override.returns(::String) } def fully_qualified_name; end end -# source://rbi//lib/rbi/model.rb#274 +# source://rbi//lib/rbi/model.rb#240 class RBI::Struct < ::RBI::Scope - # source://rbi//lib/rbi/model.rb#296 + # : (String name, ?members: Array[Symbol], ?keyword_init: bool, ?loc: Loc?, ?comments: Array[Comment]) ?{ (Struct struct) -> void } -> void + # + # @return [Struct] a new instance of Struct + # + # source://rbi//lib/rbi/model.rb#251 sig do params( name: ::String, @@ -3054,47 +4483,66 @@ class RBI::Struct < ::RBI::Scope end def initialize(name, members: T.unsafe(nil), keyword_init: T.unsafe(nil), loc: T.unsafe(nil), comments: T.unsafe(nil), &block); end - # source://rbi//lib/rbi/rewriters/merge_trees.rb#402 + # : (Node other) -> bool + # + # @return [Boolean] + # + # source://rbi//lib/rbi/rewriters/merge_trees.rb#378 sig { override.params(other: ::RBI::Node).returns(T::Boolean) } def compatible_with?(other); end - # source://rbi//lib/rbi/model.rb#305 + # : -> String + # + # source://rbi//lib/rbi/model.rb#261 sig { override.returns(::String) } def fully_qualified_name; end - # source://rbi//lib/rbi/model.rb#284 + # : bool + # + # source://rbi//lib/rbi/model.rb#248 sig { returns(T::Boolean) } def keyword_init; end - # @return [Boolean] + # : bool # - # source://rbi//lib/rbi/model.rb#284 + # source://rbi//lib/rbi/model.rb#248 + # @return [Boolean] def keyword_init=(_arg0); end - # source://rbi//lib/rbi/model.rb#281 + # : Array[Symbol] + # + # source://rbi//lib/rbi/model.rb#245 sig { returns(T::Array[::Symbol]) } def members; end - # @return [Array] + # : Array[Symbol] # - # source://rbi//lib/rbi/model.rb#281 + # source://rbi//lib/rbi/model.rb#245 + # @return [Array] def members=(_arg0); end - # source://rbi//lib/rbi/model.rb#278 + # : String + # + # source://rbi//lib/rbi/model.rb#242 sig { returns(::String) } def name; end - # @return [String] + # : String # - # source://rbi//lib/rbi/model.rb#278 + # source://rbi//lib/rbi/model.rb#242 + # @return [String] def name=(_arg0); end end # Sorbet's T::Enum # -# source://rbi//lib/rbi/model.rb#1332 +# source://rbi//lib/rbi/model.rb#1012 class RBI::TEnum < ::RBI::Class - # source://rbi//lib/rbi/model.rb#1343 + # : (String name, ?loc: Loc?, ?comments: Array[Comment]) ?{ (TEnum klass) -> void } -> void + # + # @return [TEnum] a new instance of TEnum + # + # source://rbi//lib/rbi/model.rb#1014 sig do params( name: ::String, @@ -3106,9 +4554,13 @@ class RBI::TEnum < ::RBI::Class def initialize(name, loc: T.unsafe(nil), comments: T.unsafe(nil), &block); end end -# source://rbi//lib/rbi/model.rb#1349 +# source://rbi//lib/rbi/model.rb#1020 class RBI::TEnumBlock < ::RBI::Scope - # source://rbi//lib/rbi/model.rb#1359 + # : (?loc: Loc?, ?comments: Array[Comment]) ?{ (TEnumBlock node) -> void } -> void + # + # @return [TEnumBlock] a new instance of TEnumBlock + # + # source://rbi//lib/rbi/model.rb#1022 sig do params( loc: T.nilable(::RBI::Loc), @@ -3118,24 +4570,34 @@ class RBI::TEnumBlock < ::RBI::Scope end def initialize(loc: T.unsafe(nil), comments: T.unsafe(nil), &block); end - # source://rbi//lib/rbi/model.rb#1365 + # : -> String + # + # source://rbi//lib/rbi/model.rb#1029 sig { override.returns(::String) } def fully_qualified_name; end - # source://rbi//lib/rbi/index.rb#223 + # : -> Array[String] + # + # source://rbi//lib/rbi/index.rb#219 sig { override.returns(T::Array[::String]) } def index_ids; end - # source://rbi//lib/rbi/model.rb#1370 + # : -> String + # + # source://rbi//lib/rbi/model.rb#1035 sig { override.returns(::String) } def to_s; end end # Sorbet's T::Struct # -# source://rbi//lib/rbi/model.rb#1218 +# source://rbi//lib/rbi/model.rb#933 class RBI::TStruct < ::RBI::Class - # source://rbi//lib/rbi/model.rb#1229 + # : (String name, ?loc: Loc?, ?comments: Array[Comment]) ?{ (TStruct klass) -> void } -> void + # + # @return [TStruct] a new instance of TStruct + # + # source://rbi//lib/rbi/model.rb#935 sig do params( name: ::String, @@ -3147,11 +4609,15 @@ class RBI::TStruct < ::RBI::Class def initialize(name, loc: T.unsafe(nil), comments: T.unsafe(nil), &block); end end -# source://rbi//lib/rbi/model.rb#1270 +# source://rbi//lib/rbi/model.rb#968 class RBI::TStructConst < ::RBI::TStructField include ::RBI::Indexable - # source://rbi//lib/rbi/model.rb#1283 + # : (String name, (Type | String) type, ?default: String?, ?loc: Loc?, ?comments: Array[Comment]) ?{ (TStructConst node) -> void } -> void + # + # @return [TStructConst] a new instance of TStructConst + # + # source://rbi//lib/rbi/model.rb#970 sig do params( name: ::String, @@ -3164,30 +4630,44 @@ class RBI::TStructConst < ::RBI::TStructField end def initialize(name, type, default: T.unsafe(nil), loc: T.unsafe(nil), comments: T.unsafe(nil), &block); end - # source://rbi//lib/rbi/rewriters/merge_trees.rb#555 + # : (Node other) -> bool + # + # @return [Boolean] + # + # source://rbi//lib/rbi/rewriters/merge_trees.rb#519 sig { override.params(other: ::RBI::Node).returns(T::Boolean) } def compatible_with?(other); end - # source://rbi//lib/rbi/model.rb#1289 + # : -> Array[String] + # + # source://rbi//lib/rbi/model.rb#977 sig { override.returns(T::Array[::String]) } def fully_qualified_names; end - # source://rbi//lib/rbi/index.rb#203 + # : -> Array[String] + # + # source://rbi//lib/rbi/index.rb#199 sig { override.returns(T::Array[::String]) } def index_ids; end - # source://rbi//lib/rbi/model.rb#1295 + # : -> String + # + # source://rbi//lib/rbi/model.rb#984 sig { override.returns(::String) } def to_s; end end # @abstract It cannot be directly instantiated. Subclasses must implement the `abstract` methods below. # -# source://rbi//lib/rbi/model.rb#1235 +# source://rbi//lib/rbi/model.rb#941 class RBI::TStructField < ::RBI::NodeWithComments abstract! - # source://rbi//lib/rbi/model.rb#1259 + # : (String name, (Type | String) type, ?default: String?, ?loc: Loc?, ?comments: Array[Comment]) -> void + # + # @return [TStructField] a new instance of TStructField + # + # source://rbi//lib/rbi/model.rb#957 sig do params( name: ::String, @@ -3199,49 +4679,66 @@ class RBI::TStructField < ::RBI::NodeWithComments end def initialize(name, type, default: T.unsafe(nil), loc: T.unsafe(nil), comments: T.unsafe(nil)); end - # source://rbi//lib/rbi/rewriters/merge_trees.rb#546 + # : (Node other) -> bool + # + # @return [Boolean] + # + # source://rbi//lib/rbi/rewriters/merge_trees.rb#511 sig { override.params(other: ::RBI::Node).returns(T::Boolean) } def compatible_with?(other); end - # source://rbi//lib/rbi/model.rb#1248 + # : String? + # + # source://rbi//lib/rbi/model.rb#954 sig { returns(T.nilable(::String)) } def default; end - # @return [String, nil] + # : String? # - # source://rbi//lib/rbi/model.rb#1248 + # source://rbi//lib/rbi/model.rb#954 + # @return [String, nil] def default=(_arg0); end # @abstract # - # source://rbi//lib/rbi/model.rb#1267 + # source://rbi//lib/rbi/model.rb#965 sig { abstract.returns(T::Array[::String]) } def fully_qualified_names; end - # source://rbi//lib/rbi/model.rb#1242 + # : String + # + # source://rbi//lib/rbi/model.rb#948 sig { returns(::String) } def name; end - # @return [String] + # : String # - # source://rbi//lib/rbi/model.rb#1242 + # source://rbi//lib/rbi/model.rb#948 + # @return [String] def name=(_arg0); end - # source://rbi//lib/rbi/model.rb#1245 + # : (Type | String) + # + # source://rbi//lib/rbi/model.rb#951 sig { returns(T.any(::RBI::Type, ::String)) } def type; end - # @return [Type, String] + # : (Type | String) # - # source://rbi//lib/rbi/model.rb#1245 + # source://rbi//lib/rbi/model.rb#951 + # @return [Type, String] def type=(_arg0); end end -# source://rbi//lib/rbi/model.rb#1300 +# source://rbi//lib/rbi/model.rb#989 class RBI::TStructProp < ::RBI::TStructField include ::RBI::Indexable - # source://rbi//lib/rbi/model.rb#1313 + # : (String name, (Type | String) type, ?default: String?, ?loc: Loc?, ?comments: Array[Comment]) ?{ (TStructProp node) -> void } -> void + # + # @return [TStructProp] a new instance of TStructProp + # + # source://rbi//lib/rbi/model.rb#991 sig do params( name: ::String, @@ -3254,26 +4751,40 @@ class RBI::TStructProp < ::RBI::TStructField end def initialize(name, type, default: T.unsafe(nil), loc: T.unsafe(nil), comments: T.unsafe(nil), &block); end - # source://rbi//lib/rbi/rewriters/merge_trees.rb#564 + # : (Node other) -> bool + # + # @return [Boolean] + # + # source://rbi//lib/rbi/rewriters/merge_trees.rb#527 sig { override.params(other: ::RBI::Node).returns(T::Boolean) } def compatible_with?(other); end - # source://rbi//lib/rbi/model.rb#1319 + # : -> Array[String] + # + # source://rbi//lib/rbi/model.rb#998 sig { override.returns(T::Array[::String]) } def fully_qualified_names; end - # source://rbi//lib/rbi/index.rb#213 + # : -> Array[String] + # + # source://rbi//lib/rbi/index.rb#209 sig { override.returns(T::Array[::String]) } def index_ids; end - # source://rbi//lib/rbi/model.rb#1325 + # : -> String + # + # source://rbi//lib/rbi/model.rb#1005 sig { override.returns(::String) } def to_s; end end -# source://rbi//lib/rbi/model.rb#108 +# source://rbi//lib/rbi/model.rb#112 class RBI::Tree < ::RBI::NodeWithComments - # source://rbi//lib/rbi/model.rb#121 + # : (?loc: Loc?, ?comments: Array[Comment]) ?{ (Tree node) -> void } -> void + # + # @return [Tree] a new instance of Tree + # + # source://rbi//lib/rbi/model.rb#117 sig do params( loc: T.nilable(::RBI::Loc), @@ -3283,19 +4794,25 @@ class RBI::Tree < ::RBI::NodeWithComments end def initialize(loc: T.unsafe(nil), comments: T.unsafe(nil), &block); end - # source://rbi//lib/rbi/model.rb#128 + # : (Node node) -> void + # + # source://rbi//lib/rbi/model.rb#124 sig { params(node: ::RBI::Node).void } def <<(node); end - # source://rbi//lib/rbi/rewriters/add_sig_templates.rb#66 + # : (?with_todo_comment: bool) -> void + # + # source://rbi//lib/rbi/rewriters/add_sig_templates.rb#63 sig { params(with_todo_comment: T::Boolean).void } def add_sig_templates!(with_todo_comment: T.unsafe(nil)); end - # source://rbi//lib/rbi/rewriters/annotate.rb#49 + # : (String annotation, ?annotate_scopes: bool, ?annotate_properties: bool) -> void + # + # source://rbi//lib/rbi/rewriters/annotate.rb#46 sig { params(annotation: ::String, annotate_scopes: T::Boolean, annotate_properties: T::Boolean).void } def annotate!(annotation, annotate_scopes: T.unsafe(nil), annotate_properties: T.unsafe(nil)); end - # source://tapioca/0.16.8/lib/tapioca/rbi_ext/model.rb#38 + # source://tapioca/0.16.11/lib/tapioca/rbi_ext/model.rb#38 sig do params( name: ::String, @@ -3305,19 +4822,19 @@ class RBI::Tree < ::RBI::NodeWithComments end def create_class(name, superclass_name: T.unsafe(nil), &block); end - # source://tapioca/0.16.8/lib/tapioca/rbi_ext/model.rb#45 + # source://tapioca/0.16.11/lib/tapioca/rbi_ext/model.rb#45 sig { params(name: ::String, value: ::String).void } def create_constant(name, value:); end - # source://tapioca/0.16.8/lib/tapioca/rbi_ext/model.rb#55 + # source://tapioca/0.16.11/lib/tapioca/rbi_ext/model.rb#55 sig { params(name: ::String).void } def create_extend(name); end - # source://tapioca/0.16.8/lib/tapioca/rbi_ext/model.rb#50 + # source://tapioca/0.16.11/lib/tapioca/rbi_ext/model.rb#50 sig { params(name: ::String).void } def create_include(name); end - # source://tapioca/0.16.8/lib/tapioca/rbi_ext/model.rb#90 + # source://tapioca/0.16.11/lib/tapioca/rbi_ext/model.rb#90 sig do params( name: ::String, @@ -3331,19 +4848,19 @@ class RBI::Tree < ::RBI::NodeWithComments end def create_method(name, parameters: T.unsafe(nil), return_type: T.unsafe(nil), class_method: T.unsafe(nil), visibility: T.unsafe(nil), comments: T.unsafe(nil), &block); end - # source://tapioca/0.16.8/lib/tapioca/rbi_ext/model.rb#60 + # source://tapioca/0.16.11/lib/tapioca/rbi_ext/model.rb#60 sig { params(name: ::String).void } def create_mixes_in_class_methods(name); end - # source://tapioca/0.16.8/lib/tapioca/rbi_ext/model.rb#25 + # source://tapioca/0.16.11/lib/tapioca/rbi_ext/model.rb#25 sig { params(name: ::String, block: T.nilable(T.proc.params(scope: ::RBI::Scope).void)).returns(::RBI::Scope) } def create_module(name, &block); end - # source://tapioca/0.16.8/lib/tapioca/rbi_ext/model.rb#9 + # source://tapioca/0.16.11/lib/tapioca/rbi_ext/model.rb#9 sig { params(constant: ::Module, block: T.nilable(T.proc.params(scope: ::RBI::Scope).void)).returns(::RBI::Scope) } def create_path(constant, &block); end - # source://tapioca/0.16.8/lib/tapioca/rbi_ext/model.rb#74 + # source://tapioca/0.16.11/lib/tapioca/rbi_ext/model.rb#74 sig do params( name: ::String, @@ -3356,35 +4873,53 @@ class RBI::Tree < ::RBI::NodeWithComments end def create_type_variable(name, type:, variance: T.unsafe(nil), fixed: T.unsafe(nil), upper: T.unsafe(nil), lower: T.unsafe(nil)); end - # source://rbi//lib/rbi/rewriters/deannotate.rb#41 + # : (String annotation) -> void + # + # source://rbi//lib/rbi/rewriters/deannotate.rb#38 sig { params(annotation: ::String).void } def deannotate!(annotation); end - # source://rbi//lib/rbi/model.rb#134 + # : -> bool + # + # @return [Boolean] + # + # source://rbi//lib/rbi/model.rb#130 sig { returns(T::Boolean) } def empty?; end - # source://rbi//lib/rbi/rewriters/filter_versions.rb#118 + # : (Gem::Version version) -> void + # + # source://rbi//lib/rbi/rewriters/filter_versions.rb#113 sig { params(version: ::Gem::Version).void } def filter_versions!(version); end - # source://rbi//lib/rbi/rewriters/flatten_singleton_methods.rb#60 + # : -> void + # + # source://rbi//lib/rbi/rewriters/flatten_singleton_methods.rb#57 sig { void } def flatten_singleton_methods!; end - # source://rbi//lib/rbi/rewriters/flatten_visibilities.rb#60 + # : -> void + # + # source://rbi//lib/rbi/rewriters/flatten_visibilities.rb#57 sig { void } def flatten_visibilities!; end - # source://rbi//lib/rbi/rewriters/group_nodes.rb#81 + # : -> void + # + # source://rbi//lib/rbi/rewriters/group_nodes.rb#78 sig { void } def group_nodes!; end - # source://rbi//lib/rbi/index.rb#68 + # : -> Index + # + # source://rbi//lib/rbi/index.rb#64 sig { returns(::RBI::Index) } def index; end - # source://rbi//lib/rbi/rewriters/merge_trees.rb#324 + # : (Tree other, ?left_name: String, ?right_name: String, ?keep: Rewriters::Merge::Keep) -> MergeTree + # + # source://rbi//lib/rbi/rewriters/merge_trees.rb#314 sig do params( other: ::RBI::Tree, @@ -3395,37 +4930,55 @@ class RBI::Tree < ::RBI::NodeWithComments end def merge(other, left_name: T.unsafe(nil), right_name: T.unsafe(nil), keep: T.unsafe(nil)); end - # source://rbi//lib/rbi/rewriters/nest_non_public_members.rb#46 + # : -> void + # + # source://rbi//lib/rbi/rewriters/nest_non_public_members.rb#43 sig { void } def nest_non_public_members!; end - # source://rbi//lib/rbi/rewriters/nest_singleton_methods.rb#36 + # : -> void + # + # source://rbi//lib/rbi/rewriters/nest_singleton_methods.rb#33 sig { void } def nest_singleton_methods!; end - # source://rbi//lib/rbi/rewriters/nest_top_level_members.rb#63 + # : -> void + # + # source://rbi//lib/rbi/rewriters/nest_top_level_members.rb#60 sig { void } def nest_top_level_members!; end - # source://rbi//lib/rbi/model.rb#112 + # : Array[Node] + # + # source://rbi//lib/rbi/model.rb#114 sig { returns(T::Array[::RBI::Node]) } def nodes; end - # source://rbi//lib/rbi/rewriters/attr_to_methods.rb#53 + # : -> void + # + # source://rbi//lib/rbi/rewriters/attr_to_methods.rb#50 sig { void } def replace_attributes_with_methods!; end - # source://rbi//lib/rbi/rewriters/sort_nodes.rb#119 + # : -> void + # + # source://rbi//lib/rbi/rewriters/sort_nodes.rb#116 sig { void } def sort_nodes!; end + # : -> void + # + # source://rbi//lib/rbi/rewriters/translate_rbs_sigs.rb#82 + sig { void } + def translate_rbs_sigs!; end + private - # source://tapioca/0.16.8/lib/tapioca/rbi_ext/model.rb#123 + # source://tapioca/0.16.11/lib/tapioca/rbi_ext/model.rb#123 sig { params(node: ::RBI::Node).returns(::RBI::Node) } def create_node(node); end - # source://tapioca/0.16.8/lib/tapioca/rbi_ext/model.rb#118 + # source://tapioca/0.16.11/lib/tapioca/rbi_ext/model.rb#118 sig { returns(T::Hash[::String, ::RBI::Node]) } def nodes_cache; end end @@ -3438,21 +4991,31 @@ end class RBI::Type abstract! - # source://rbi//lib/rbi/type.rb#699 + # : -> void + # + # @return [Type] a new instance of Type + # + # source://rbi//lib/rbi/type.rb#695 sig { void } def initialize; end # @abstract # - # source://rbi//lib/rbi/type.rb#745 + # source://rbi//lib/rbi/type.rb#741 sig { abstract.params(other: ::BasicObject).returns(T::Boolean) } def ==(other); end - # source://rbi//lib/rbi/type.rb#748 + # : (BasicObject other) -> bool + # + # @return [Boolean] + # + # source://rbi//lib/rbi/type.rb#744 sig { params(other: ::BasicObject).returns(T::Boolean) } def eql?(other); end - # source://rbi//lib/rbi/type.rb#753 + # : -> Integer + # + # source://rbi//lib/rbi/type.rb#750 sig { override.returns(::Integer) } def hash; end @@ -3465,14 +5028,27 @@ class RBI::Type # type.nilable.to_rbi # => "T.nilable(String)" # type.nilable.nilable.to_rbi # => "T.nilable(String)" # ``` + # : -> Type # - # source://rbi//lib/rbi/type.rb#713 + # source://rbi//lib/rbi/type.rb#709 + # Returns a new type that is `nilable` if it is not already. + # If the type is already nilable, it returns itself. + # ```ruby + # type = RBI::Type.simple("String") + # type.to_rbi # => "String" + # type.nilable.to_rbi # => "T.nilable(String)" + # type.nilable.nilable.to_rbi # => "T.nilable(String)" + # ``` sig { returns(::RBI::Type) } def nilable; end # Returns whether the type is nilable. + # : -> bool # - # source://rbi//lib/rbi/type.rb#740 + # @return [Boolean] + # + # source://rbi//lib/rbi/type.rb#736 + # Returns whether the type is nilable. sig { returns(T::Boolean) } def nilable?; end @@ -3486,22 +5062,36 @@ class RBI::Type # type.non_nilable.to_rbi # => "String" # type.non_nilable.non_nilable.to_rbi # => "String" # ``` + # : -> Type # - # source://rbi//lib/rbi/type.rb#728 + # source://rbi//lib/rbi/type.rb#724 + # Returns the non-nilable version of the type. + # If the type is already non-nilable, it returns itself. + # If the type is nilable, it returns the inner type. + # ```ruby + # type = RBI::Type.nilable(RBI::Type.simple("String")) + # type.to_rbi # => "T.nilable(String)" + # type.non_nilable.to_rbi # => "String" + # type.non_nilable.non_nilable.to_rbi # => "String" + # ``` sig { returns(::RBI::Type) } def non_nilable; end - # source://rbi//lib/rbi/rbs_printer.rb#1074 + # : -> String + # + # source://rbi//lib/rbi/rbs_printer.rb#1136 sig { returns(::String) } def rbs_string; end # @abstract # - # source://rbi//lib/rbi/type.rb#758 + # source://rbi//lib/rbi/type.rb#755 sig { abstract.returns(::String) } def to_rbi; end - # source://rbi//lib/rbi/type.rb#761 + # : -> String + # + # source://rbi//lib/rbi/type.rb#759 sig { override.returns(::String) } def to_s; end @@ -3510,8 +5100,12 @@ class RBI::Type # # Note that this method transforms types such as `T.all(String, String)` into `String`, so # it may return something other than a `All`. + # : (Type type1, Type type2, *Type types) -> Type # - # source://rbi//lib/rbi/type.rb#563 + # source://rbi//lib/rbi/type.rb#559 + # Builds a type that represents an intersection of multiple types like `T.all(String, Integer)`. + # Note that this method transforms types such as `T.all(String, String)` into `String`, so + # it may return something other than a `All`. sig { params(type1: ::RBI::Type, type2: ::RBI::Type, types: ::RBI::Type).returns(::RBI::Type) } def all(type1, type2, *types); end @@ -3519,38 +5113,52 @@ class RBI::Type # # Note that this method transforms types such as `T.any(String, NilClass)` into `T.nilable(String)`, so # it may return something other than a `Any`. + # : (Type type1, Type type2, *Type types) -> Type # - # source://rbi//lib/rbi/type.rb#590 + # source://rbi//lib/rbi/type.rb#586 + # Builds a type that represents a union of multiple types like `T.any(String, Integer)`. + # Note that this method transforms types such as `T.any(String, NilClass)` into `T.nilable(String)`, so + # it may return something other than a `Any`. sig { params(type1: ::RBI::Type, type2: ::RBI::Type, types: ::RBI::Type).returns(::RBI::Type) } def any(type1, type2, *types); end # Builds a type that represents `T.anything`. + # : -> Anything # - # source://rbi//lib/rbi/type.rb#488 + # source://rbi//lib/rbi/type.rb#484 + # Builds a type that represents `T.anything`. sig { returns(::RBI::Type::Anything) } def anything; end # Builds a type that represents `T.attached_class`. + # : -> AttachedClass # - # source://rbi//lib/rbi/type.rb#494 + # source://rbi//lib/rbi/type.rb#490 + # Builds a type that represents `T.attached_class`. sig { returns(::RBI::Type::AttachedClass) } def attached_class; end # Builds a type that represents `T::Boolean`. + # : -> Boolean # - # source://rbi//lib/rbi/type.rb#500 + # source://rbi//lib/rbi/type.rb#496 + # Builds a type that represents `T::Boolean`. sig { returns(::RBI::Type::Boolean) } def boolean; end # Builds a type that represents the singleton class of another type like `T.class_of(Foo)`. + # : (Simple type, ?Type? type_parameter) -> ClassOf # - # source://rbi//lib/rbi/type.rb#538 + # source://rbi//lib/rbi/type.rb#534 + # Builds a type that represents the singleton class of another type like `T.class_of(Foo)`. sig { params(type: ::RBI::Type::Simple, type_parameter: T.nilable(::RBI::Type)).returns(::RBI::Type::ClassOf) } def class_of(type, type_parameter = T.unsafe(nil)); end # Builds a type that represents a generic type like `T::Array[String]` or `T::Hash[Symbol, Integer]`. + # : (String name, *(Type | Array[Type]) params) -> Generic # - # source://rbi//lib/rbi/type.rb#655 + # source://rbi//lib/rbi/type.rb#651 + # Builds a type that represents a generic type like `T::Array[String]` or `T::Hash[Symbol, Integer]`. sig { params(name: ::String, params: T.any(::RBI::Type, T::Array[::RBI::Type])).returns(::RBI::Type::Generic) } def generic(name, *params); end @@ -3558,21 +5166,31 @@ class RBI::Type # # Note that this method transforms types such as `T.nilable(T.untyped)` into `T.untyped`, so # it may return something other than a `RBI::Type::Nilable`. + # : (Type type) -> Type # - # source://rbi//lib/rbi/type.rb#547 + # source://rbi//lib/rbi/type.rb#543 + # Builds a type that represents a nilable of another type like `T.nilable(String)`. + # Note that this method transforms types such as `T.nilable(T.untyped)` into `T.untyped`, so + # it may return something other than a `RBI::Type::Nilable`. sig { params(type: ::RBI::Type).returns(::RBI::Type) } def nilable(type); end # Builds a type that represents `T.noreturn`. + # : -> NoReturn # - # source://rbi//lib/rbi/type.rb#506 + # source://rbi//lib/rbi/type.rb#502 + # Builds a type that represents `T.noreturn`. sig { returns(::RBI::Type::NoReturn) } def noreturn; end + # : (Prism::Node node) -> Type + # # source://rbi//lib/rbi/type_parser.rb#26 sig { params(node: ::Prism::Node).returns(::RBI::Type) } def parse_node(node); end + # : (String string) -> Type + # # @raise [Error] # # source://rbi//lib/rbi/type_parser.rb#10 @@ -3580,122 +5198,181 @@ class RBI::Type def parse_string(string); end # Builds a type that represents a proc type like `T.proc.void`. + # : -> Proc # - # source://rbi//lib/rbi/type.rb#683 + # source://rbi//lib/rbi/type.rb#679 + # Builds a type that represents a proc type like `T.proc.void`. sig { returns(::RBI::Type::Proc) } def proc; end # Builds a type that represents `T.self_type`. + # : -> SelfType # - # source://rbi//lib/rbi/type.rb#512 + # source://rbi//lib/rbi/type.rb#508 + # Builds a type that represents `T.self_type`. sig { returns(::RBI::Type::SelfType) } def self_type; end # Builds a type that represents a shape type like `{name: String, age: Integer}`. + # : (?Hash[(String | Symbol), Type] types) -> Shape # - # source://rbi//lib/rbi/type.rb#675 + # source://rbi//lib/rbi/type.rb#671 + # Builds a type that represents a shape type like `{name: String, age: Integer}`. sig { params(types: T::Hash[T.any(::String, ::Symbol), ::RBI::Type]).returns(::RBI::Type::Shape) } def shape(types = T.unsafe(nil)); end # Builds a simple type like `String` or `::Foo::Bar`. # # It raises a `NameError` if the name is not a valid Ruby class identifier. + # : (String name) -> Simple # # @raise [NameError] # - # source://rbi//lib/rbi/type.rb#477 + # source://rbi//lib/rbi/type.rb#473 + # Builds a simple type like `String` or `::Foo::Bar`. + # It raises a `NameError` if the name is not a valid Ruby class identifier. sig { params(name: ::String).returns(::RBI::Type::Simple) } def simple(name); end # Builds a type that represents the class of another type like `T::Class[Foo]`. + # : (Type type) -> Class # - # source://rbi//lib/rbi/type.rb#532 + # source://rbi//lib/rbi/type.rb#528 + # Builds a type that represents the class of another type like `T::Class[Foo]`. sig { params(type: ::RBI::Type).returns(::RBI::Type::Class) } def t_class(type); end # Builds a type that represents a tuple type like `[String, Integer]`. + # : (*(Type | Array[Type]) types) -> Tuple # - # source://rbi//lib/rbi/type.rb#669 + # source://rbi//lib/rbi/type.rb#665 + # Builds a type that represents a tuple type like `[String, Integer]`. sig { params(types: T.any(::RBI::Type, T::Array[::RBI::Type])).returns(::RBI::Type::Tuple) } def tuple(*types); end # Builds a type that represents a type parameter like `T.type_parameter(:U)`. + # : (Symbol name) -> TypeParameter # - # source://rbi//lib/rbi/type.rb#661 + # source://rbi//lib/rbi/type.rb#657 + # Builds a type that represents a type parameter like `T.type_parameter(:U)`. sig { params(name: ::Symbol).returns(::RBI::Type::TypeParameter) } def type_parameter(name); end # Builds a type that represents `T.untyped`. + # : -> Untyped # - # source://rbi//lib/rbi/type.rb#518 + # source://rbi//lib/rbi/type.rb#514 + # Builds a type that represents `T.untyped`. sig { returns(::RBI::Type::Untyped) } def untyped; end # Builds a type that represents `void`. + # : -> Void # - # source://rbi//lib/rbi/type.rb#524 + # source://rbi//lib/rbi/type.rb#520 + # Builds a type that represents `void`. sig { returns(::RBI::Type::Void) } def void; end private + # : (Prism::CallNode node) -> Array[Prism::Node] + # # source://rbi//lib/rbi/type_parser.rb#263 sig { params(node: ::Prism::CallNode).returns(T::Array[::Prism::Node]) } def call_chain(node); end + # : (Prism::CallNode node, Integer count) -> Array[Prism::Node] + # # source://rbi//lib/rbi/type_parser.rb#250 sig { params(node: ::Prism::CallNode, count: ::Integer).returns(T::Array[::Prism::Node]) } def check_arguments_at_least!(node, count); end + # : (Prism::CallNode node, Integer count) -> Array[Prism::Node] + # # source://rbi//lib/rbi/type_parser.rb#235 sig { params(node: ::Prism::CallNode, count: ::Integer).returns(T::Array[::Prism::Node]) } def check_arguments_exactly!(node, count); end + # : (Prism::CallNode node) -> Type + # # @raise [Error] # # source://rbi//lib/rbi/type_parser.rb#69 sig { params(node: ::Prism::CallNode).returns(::RBI::Type) } def parse_call(node); end + # : ((Prism::ConstantReadNode | Prism::ConstantPathNode) node) -> Type + # # source://rbi//lib/rbi/type_parser.rb#52 sig { params(node: T.any(::Prism::ConstantPathNode, ::Prism::ConstantReadNode)).returns(::RBI::Type) } def parse_constant(node); end + # : (Prism::CallNode node) -> Type + # # @raise [Error] # # source://rbi//lib/rbi/type_parser.rb#195 sig { params(node: ::Prism::CallNode).returns(::RBI::Type) } def parse_proc(node); end + # : ((Prism::HashNode | Prism::KeywordHashNode) node) -> Type + # # source://rbi//lib/rbi/type_parser.rb#176 sig { params(node: T.any(::Prism::HashNode, ::Prism::KeywordHashNode)).returns(::RBI::Type) } def parse_shape(node); end + # : (Prism::ArrayNode node) -> Type + # # source://rbi//lib/rbi/type_parser.rb#171 sig { params(node: ::Prism::ArrayNode).returns(::RBI::Type) } def parse_tuple(node); end + # : (Prism::Node? node) -> bool + # + # @return [Boolean] + # # source://rbi//lib/rbi/type_parser.rb#276 sig { params(node: T.nilable(::Prism::Node)).returns(T::Boolean) } def t?(node); end + # : (Prism::Node? node) -> bool + # + # @return [Boolean] + # # source://rbi//lib/rbi/type_parser.rb#288 sig { params(node: T.nilable(::Prism::Node)).returns(T::Boolean) } def t_boolean?(node); end + # : (Prism::ConstantPathNode node) -> bool + # + # @return [Boolean] + # # source://rbi//lib/rbi/type_parser.rb#295 sig { params(node: ::Prism::ConstantPathNode).returns(T::Boolean) } def t_class?(node); end + # : (Prism::Node? node) -> bool + # + # @return [Boolean] + # # source://rbi//lib/rbi/type_parser.rb#300 sig { params(node: T.nilable(::Prism::Node)).returns(T::Boolean) } def t_class_of?(node); end + # : (Prism::CallNode node) -> bool + # + # @return [Boolean] + # # source://rbi//lib/rbi/type_parser.rb#307 sig { params(node: ::Prism::CallNode).returns(T::Boolean) } def t_proc?(node); end - # source://rbi//lib/rbi/type.rb#693 + # : (String name) -> bool + # + # @return [Boolean] + # + # source://rbi//lib/rbi/type.rb#689 sig { params(name: ::String).returns(T::Boolean) } def valid_identifier?(name); end end @@ -3705,20 +5382,28 @@ end # # source://rbi//lib/rbi/type.rb#252 class RBI::Type::All < ::RBI::Type::Composite - # source://rbi//lib/rbi/type.rb#256 + # : -> String + # + # source://rbi//lib/rbi/type.rb#255 sig { override.returns(::String) } def to_rbi; end end # A type that is union of multiple types like `T.any(String, Integer)`. # -# source://rbi//lib/rbi/type.rb#262 +# source://rbi//lib/rbi/type.rb#261 class RBI::Type::Any < ::RBI::Type::Composite - # source://rbi//lib/rbi/type.rb#271 + # : -> bool + # + # @return [Boolean] + # + # source://rbi//lib/rbi/type.rb#269 sig { returns(T::Boolean) } def nilable?; end - # source://rbi//lib/rbi/type.rb#266 + # : -> String + # + # source://rbi//lib/rbi/type.rb#264 sig { override.returns(::String) } def to_rbi; end end @@ -3727,10 +5412,14 @@ end # # source://rbi//lib/rbi/type.rb#43 class RBI::Type::Anything < ::RBI::Type - # source://rbi//lib/rbi/type.rb#47 + # : (BasicObject other) -> bool + # + # source://rbi//lib/rbi/type.rb#46 sig { override.params(other: ::BasicObject).returns(T::Boolean) } def ==(other); end + # : -> String + # # source://rbi//lib/rbi/type.rb#52 sig { override.returns(::String) } def to_rbi; end @@ -3740,10 +5429,14 @@ end # # source://rbi//lib/rbi/type.rb#58 class RBI::Type::AttachedClass < ::RBI::Type - # source://rbi//lib/rbi/type.rb#62 + # : (BasicObject other) -> bool + # + # source://rbi//lib/rbi/type.rb#61 sig { override.params(other: ::BasicObject).returns(T::Boolean) } def ==(other); end + # : -> String + # # source://rbi//lib/rbi/type.rb#67 sig { override.returns(::String) } def to_rbi; end @@ -3753,10 +5446,14 @@ end # # source://rbi//lib/rbi/type.rb#73 class RBI::Type::Boolean < ::RBI::Type - # source://rbi//lib/rbi/type.rb#77 + # : (BasicObject other) -> bool + # + # source://rbi//lib/rbi/type.rb#76 sig { override.params(other: ::BasicObject).returns(T::Boolean) } def ==(other); end + # : -> String + # # source://rbi//lib/rbi/type.rb#82 sig { override.returns(::String) } def to_rbi; end @@ -3766,19 +5463,29 @@ end # # source://rbi//lib/rbi/type.rb#150 class RBI::Type::Class < ::RBI::Type - # source://rbi//lib/rbi/type.rb#157 + # : (Type type) -> void + # + # @return [Class] a new instance of Class + # + # source://rbi//lib/rbi/type.rb#155 sig { params(type: ::RBI::Type).void } def initialize(type); end - # source://rbi//lib/rbi/type.rb#163 + # : (BasicObject other) -> bool + # + # source://rbi//lib/rbi/type.rb#162 sig { override.params(other: ::BasicObject).returns(T::Boolean) } def ==(other); end + # : -> String + # # source://rbi//lib/rbi/type.rb#168 sig { override.returns(::String) } def to_rbi; end - # source://rbi//lib/rbi/type.rb#154 + # : Type + # + # source://rbi//lib/rbi/type.rb#152 sig { returns(::RBI::Type) } def type; end end @@ -3787,23 +5494,35 @@ end # # source://rbi//lib/rbi/type.rb#174 class RBI::Type::ClassOf < ::RBI::Type - # source://rbi//lib/rbi/type.rb#184 + # : (Simple type, ?Type? type_parameter) -> void + # + # @return [ClassOf] a new instance of ClassOf + # + # source://rbi//lib/rbi/type.rb#182 sig { params(type: ::RBI::Type::Simple, type_parameter: T.nilable(::RBI::Type)).void } def initialize(type, type_parameter = T.unsafe(nil)); end - # source://rbi//lib/rbi/type.rb#191 + # : (BasicObject other) -> bool + # + # source://rbi//lib/rbi/type.rb#190 sig { override.params(other: ::BasicObject).returns(T::Boolean) } def ==(other); end + # : -> String + # # source://rbi//lib/rbi/type.rb#196 sig { override.returns(::String) } def to_rbi; end - # source://rbi//lib/rbi/type.rb#178 + # : Simple + # + # source://rbi//lib/rbi/type.rb#176 sig { returns(::RBI::Type::Simple) } def type; end - # source://rbi//lib/rbi/type.rb#181 + # : Type? + # + # source://rbi//lib/rbi/type.rb#179 sig { returns(T.nilable(::RBI::Type)) } def type_parameter; end end @@ -3816,15 +5535,23 @@ end class RBI::Type::Composite < ::RBI::Type abstract! - # source://rbi//lib/rbi/type.rb#240 + # : (Array[Type] types) -> void + # + # @return [Composite] a new instance of Composite + # + # source://rbi//lib/rbi/type.rb#239 sig { params(types: T::Array[::RBI::Type]).void } def initialize(types); end + # : (BasicObject other) -> bool + # # source://rbi//lib/rbi/type.rb#246 sig { override.params(other: ::BasicObject).returns(T::Boolean) } def ==(other); end - # source://rbi//lib/rbi/type.rb#237 + # : Array[Type] + # + # source://rbi//lib/rbi/type.rb#236 sig { returns(T::Array[::RBI::Type]) } def types; end end @@ -3834,25 +5561,37 @@ class RBI::Type::Error < ::RBI::Error; end # A generic type like `T::Array[String]` or `T::Hash[Symbol, Integer]`. # -# source://rbi//lib/rbi/type.rb#279 +# source://rbi//lib/rbi/type.rb#277 class RBI::Type::Generic < ::RBI::Type - # source://rbi//lib/rbi/type.rb#289 + # : (String name, *Type params) -> void + # + # @return [Generic] a new instance of Generic + # + # source://rbi//lib/rbi/type.rb#285 sig { params(name: ::String, params: ::RBI::Type).void } def initialize(name, *params); end - # source://rbi//lib/rbi/type.rb#296 + # : (BasicObject other) -> bool + # + # source://rbi//lib/rbi/type.rb#293 sig { override.params(other: ::BasicObject).returns(T::Boolean) } def ==(other); end - # source://rbi//lib/rbi/type.rb#283 + # : String + # + # source://rbi//lib/rbi/type.rb#279 sig { returns(::String) } def name; end - # source://rbi//lib/rbi/type.rb#286 + # : Array[Type] + # + # source://rbi//lib/rbi/type.rb#282 sig { returns(T::Array[::RBI::Type]) } def params; end - # source://rbi//lib/rbi/type.rb#301 + # : -> String + # + # source://rbi//lib/rbi/type.rb#299 sig { override.returns(::String) } def to_rbi; end end @@ -3861,19 +5600,29 @@ end # # source://rbi//lib/rbi/type.rb#206 class RBI::Type::Nilable < ::RBI::Type - # source://rbi//lib/rbi/type.rb#213 + # : (Type type) -> void + # + # @return [Nilable] a new instance of Nilable + # + # source://rbi//lib/rbi/type.rb#211 sig { params(type: ::RBI::Type).void } def initialize(type); end - # source://rbi//lib/rbi/type.rb#219 + # : (BasicObject other) -> bool + # + # source://rbi//lib/rbi/type.rb#218 sig { override.params(other: ::BasicObject).returns(T::Boolean) } def ==(other); end + # : -> String + # # source://rbi//lib/rbi/type.rb#224 sig { override.returns(::String) } def to_rbi; end - # source://rbi//lib/rbi/type.rb#210 + # : Type + # + # source://rbi//lib/rbi/type.rb#208 sig { returns(::RBI::Type) } def type; end end @@ -3882,10 +5631,14 @@ end # # source://rbi//lib/rbi/type.rb#88 class RBI::Type::NoReturn < ::RBI::Type - # source://rbi//lib/rbi/type.rb#92 + # : (BasicObject other) -> bool + # + # source://rbi//lib/rbi/type.rb#91 sig { override.params(other: ::BasicObject).returns(T::Boolean) } def ==(other); end + # : -> String + # # source://rbi//lib/rbi/type.rb#97 sig { override.returns(::String) } def to_rbi; end @@ -3893,45 +5646,67 @@ end # A proc type like `T.proc.void`. # -# source://rbi//lib/rbi/type.rb#387 +# source://rbi//lib/rbi/type.rb#385 class RBI::Type::Proc < ::RBI::Type - # source://rbi//lib/rbi/type.rb#400 + # : -> void + # + # @return [Proc] a new instance of Proc + # + # source://rbi//lib/rbi/type.rb#396 sig { void } def initialize; end - # source://rbi//lib/rbi/type.rb#408 + # : (BasicObject other) -> bool + # + # source://rbi//lib/rbi/type.rb#405 sig { override.params(other: ::BasicObject).returns(T::Boolean) } def ==(other); end - # source://rbi//lib/rbi/type.rb#436 + # : (untyped type) -> self + # + # source://rbi//lib/rbi/type.rb#433 sig { params(type: T.untyped).returns(T.self_type) } def bind(type); end - # source://rbi//lib/rbi/type.rb#418 + # : (**Type params) -> self + # + # source://rbi//lib/rbi/type.rb#415 sig { params(params: ::RBI::Type).returns(T.self_type) } def params(**params); end - # source://rbi//lib/rbi/type.rb#397 + # : Type? + # + # source://rbi//lib/rbi/type.rb#393 sig { returns(T.nilable(::RBI::Type)) } def proc_bind; end - # source://rbi//lib/rbi/type.rb#391 + # : Hash[Symbol, Type] + # + # source://rbi//lib/rbi/type.rb#387 sig { returns(T::Hash[::Symbol, ::RBI::Type]) } def proc_params; end - # source://rbi//lib/rbi/type.rb#394 + # : Type + # + # source://rbi//lib/rbi/type.rb#390 sig { returns(::RBI::Type) } def proc_returns; end - # source://rbi//lib/rbi/type.rb#424 + # : (untyped type) -> self + # + # source://rbi//lib/rbi/type.rb#421 sig { params(type: T.untyped).returns(T.self_type) } def returns(type); end - # source://rbi//lib/rbi/type.rb#442 + # : -> String + # + # source://rbi//lib/rbi/type.rb#440 sig { override.returns(::String) } def to_rbi; end - # source://rbi//lib/rbi/type.rb#430 + # : -> self + # + # source://rbi//lib/rbi/type.rb#427 sig { returns(T.self_type) } def void; end end @@ -3940,10 +5715,14 @@ end # # source://rbi//lib/rbi/type.rb#103 class RBI::Type::SelfType < ::RBI::Type - # source://rbi//lib/rbi/type.rb#107 + # : (BasicObject other) -> bool + # + # source://rbi//lib/rbi/type.rb#106 sig { override.params(other: ::BasicObject).returns(T::Boolean) } def ==(other); end + # : -> String + # # source://rbi//lib/rbi/type.rb#112 sig { override.returns(::String) } def to_rbi; end @@ -3951,21 +5730,31 @@ end # A shape type like `{name: String, age: Integer}`. # -# source://rbi//lib/rbi/type.rb#357 +# source://rbi//lib/rbi/type.rb#355 class RBI::Type::Shape < ::RBI::Type - # source://rbi//lib/rbi/type.rb#364 + # : (Hash[(String | Symbol), Type] types) -> void + # + # @return [Shape] a new instance of Shape + # + # source://rbi//lib/rbi/type.rb#360 sig { params(types: T::Hash[T.any(::String, ::Symbol), ::RBI::Type]).void } def initialize(types); end - # source://rbi//lib/rbi/type.rb#370 + # : (BasicObject other) -> bool + # + # source://rbi//lib/rbi/type.rb#367 sig { override.params(other: ::BasicObject).returns(T::Boolean) } def ==(other); end - # source://rbi//lib/rbi/type.rb#375 + # : -> String + # + # source://rbi//lib/rbi/type.rb#373 sig { override.returns(::String) } def to_rbi; end - # source://rbi//lib/rbi/type.rb#361 + # : Hash[(String | Symbol), Type] + # + # source://rbi//lib/rbi/type.rb#357 sig { returns(T::Hash[T.any(::String, ::Symbol), ::RBI::Type]) } def types; end end @@ -3975,19 +5764,30 @@ end # It can also be a qualified name like `::Foo` or `Foo::Bar`. # # source://rbi//lib/rbi/type.rb#17 +# A type that represents a simple class name like `String` or `Foo`. class RBI::Type::Simple < ::RBI::Type - # source://rbi//lib/rbi/type.rb#24 + # : (String name) -> void + # + # @return [Simple] a new instance of Simple + # + # source://rbi//lib/rbi/type.rb#22 sig { params(name: ::String).void } def initialize(name); end - # source://rbi//lib/rbi/type.rb#30 + # : (BasicObject other) -> bool + # + # source://rbi//lib/rbi/type.rb#29 sig { override.params(other: ::BasicObject).returns(T::Boolean) } def ==(other); end - # source://rbi//lib/rbi/type.rb#21 + # : String + # + # source://rbi//lib/rbi/type.rb#19 sig { returns(::String) } def name; end + # : -> String + # # source://rbi//lib/rbi/type.rb#35 sig { override.returns(::String) } def to_rbi; end @@ -3995,42 +5795,62 @@ end # A tuple type like `[String, Integer]`. # -# source://rbi//lib/rbi/type.rb#333 +# source://rbi//lib/rbi/type.rb#331 class RBI::Type::Tuple < ::RBI::Type - # source://rbi//lib/rbi/type.rb#340 + # : (Array[Type] types) -> void + # + # @return [Tuple] a new instance of Tuple + # + # source://rbi//lib/rbi/type.rb#336 sig { params(types: T::Array[::RBI::Type]).void } def initialize(types); end - # source://rbi//lib/rbi/type.rb#346 + # : (BasicObject other) -> bool + # + # source://rbi//lib/rbi/type.rb#343 sig { override.params(other: ::BasicObject).returns(T::Boolean) } def ==(other); end - # source://rbi//lib/rbi/type.rb#351 + # : -> String + # + # source://rbi//lib/rbi/type.rb#349 sig { override.returns(::String) } def to_rbi; end - # source://rbi//lib/rbi/type.rb#337 + # : Array[Type] + # + # source://rbi//lib/rbi/type.rb#333 sig { returns(T::Array[::RBI::Type]) } def types; end end # A type parameter like `T.type_parameter(:U)`. # -# source://rbi//lib/rbi/type.rb#307 +# source://rbi//lib/rbi/type.rb#305 class RBI::Type::TypeParameter < ::RBI::Type - # source://rbi//lib/rbi/type.rb#314 + # : (Symbol name) -> void + # + # @return [TypeParameter] a new instance of TypeParameter + # + # source://rbi//lib/rbi/type.rb#310 sig { params(name: ::Symbol).void } def initialize(name); end - # source://rbi//lib/rbi/type.rb#320 + # : (BasicObject other) -> bool + # + # source://rbi//lib/rbi/type.rb#317 sig { override.params(other: ::BasicObject).returns(T::Boolean) } def ==(other); end - # source://rbi//lib/rbi/type.rb#311 + # : Symbol + # + # source://rbi//lib/rbi/type.rb#307 sig { returns(::Symbol) } def name; end - # source://rbi//lib/rbi/type.rb#325 + # : -> String + # + # source://rbi//lib/rbi/type.rb#323 sig { override.returns(::String) } def to_rbi; end end @@ -4039,10 +5859,14 @@ end # # source://rbi//lib/rbi/type.rb#118 class RBI::Type::Untyped < ::RBI::Type - # source://rbi//lib/rbi/type.rb#122 + # : (BasicObject other) -> bool + # + # source://rbi//lib/rbi/type.rb#121 sig { override.params(other: ::BasicObject).returns(T::Boolean) } def ==(other); end + # : -> String + # # source://rbi//lib/rbi/type.rb#127 sig { override.returns(::String) } def to_rbi; end @@ -4050,106 +5874,152 @@ end # source://rbi//lib/rbi/type_visitor.rb#6 class RBI::Type::Visitor - # source://rbi//lib/rbi/type_visitor.rb#12 + # : (Type node) -> void + # + # source://rbi//lib/rbi/type_visitor.rb#10 sig { params(node: ::RBI::Type).void } def visit(node); end private - # source://rbi//lib/rbi/type_visitor.rb#58 + # : (Type::All type) -> void + # + # source://rbi//lib/rbi/type_visitor.rb#56 sig { params(type: ::RBI::Type::All).void } def visit_all(type); end - # source://rbi//lib/rbi/type_visitor.rb#61 + # : (Type::Any type) -> void + # + # source://rbi//lib/rbi/type_visitor.rb#59 sig { params(type: ::RBI::Type::Any).void } def visit_any(type); end - # source://rbi//lib/rbi/type_visitor.rb#64 + # : (Type::Anything type) -> void + # + # source://rbi//lib/rbi/type_visitor.rb#62 sig { params(type: ::RBI::Type::Anything).void } def visit_anything(type); end - # source://rbi//lib/rbi/type_visitor.rb#67 + # : (Type::AttachedClass type) -> void + # + # source://rbi//lib/rbi/type_visitor.rb#65 sig { params(type: ::RBI::Type::AttachedClass).void } def visit_attached_class(type); end - # source://rbi//lib/rbi/type_visitor.rb#70 + # : (Type::Boolean type) -> void + # + # source://rbi//lib/rbi/type_visitor.rb#68 sig { params(type: ::RBI::Type::Boolean).void } def visit_boolean(type); end - # source://rbi//lib/rbi/type_visitor.rb#73 + # : (Type::Class type) -> void + # + # source://rbi//lib/rbi/type_visitor.rb#71 sig { params(type: ::RBI::Type::Class).void } def visit_class(type); end - # source://rbi//lib/rbi/type_visitor.rb#76 + # : (Type::ClassOf type) -> void + # + # source://rbi//lib/rbi/type_visitor.rb#74 sig { params(type: ::RBI::Type::ClassOf).void } def visit_class_of(type); end - # source://rbi//lib/rbi/type_visitor.rb#79 + # : (Type::Generic type) -> void + # + # source://rbi//lib/rbi/type_visitor.rb#77 sig { params(type: ::RBI::Type::Generic).void } def visit_generic(type); end - # source://rbi//lib/rbi/type_visitor.rb#82 + # : (Type::Nilable type) -> void + # + # source://rbi//lib/rbi/type_visitor.rb#80 sig { params(type: ::RBI::Type::Nilable).void } def visit_nilable(type); end - # source://rbi//lib/rbi/type_visitor.rb#88 + # : (Type::NoReturn type) -> void + # + # source://rbi//lib/rbi/type_visitor.rb#86 sig { params(type: ::RBI::Type::NoReturn).void } def visit_no_return(type); end - # source://rbi//lib/rbi/type_visitor.rb#91 + # : (Type::Proc type) -> void + # + # source://rbi//lib/rbi/type_visitor.rb#89 sig { params(type: ::RBI::Type::Proc).void } def visit_proc(type); end - # source://rbi//lib/rbi/type_visitor.rb#94 + # : (Type::SelfType type) -> void + # + # source://rbi//lib/rbi/type_visitor.rb#92 sig { params(type: ::RBI::Type::SelfType).void } def visit_self_type(type); end - # source://rbi//lib/rbi/type_visitor.rb#100 + # : (Type::Shape type) -> void + # + # source://rbi//lib/rbi/type_visitor.rb#98 sig { params(type: ::RBI::Type::Shape).void } def visit_shape(type); end - # source://rbi//lib/rbi/type_visitor.rb#85 + # : (Type::Simple type) -> void + # + # source://rbi//lib/rbi/type_visitor.rb#83 sig { params(type: ::RBI::Type::Simple).void } def visit_simple(type); end - # source://rbi//lib/rbi/type_visitor.rb#103 + # : (Type::Tuple type) -> void + # + # source://rbi//lib/rbi/type_visitor.rb#101 sig { params(type: ::RBI::Type::Tuple).void } def visit_tuple(type); end - # source://rbi//lib/rbi/type_visitor.rb#106 + # : (Type::TypeParameter type) -> void + # + # source://rbi//lib/rbi/type_visitor.rb#104 sig { params(type: ::RBI::Type::TypeParameter).void } def visit_type_parameter(type); end - # source://rbi//lib/rbi/type_visitor.rb#109 + # : (Type::Untyped type) -> void + # + # source://rbi//lib/rbi/type_visitor.rb#107 sig { params(type: ::RBI::Type::Untyped).void } def visit_untyped(type); end - # source://rbi//lib/rbi/type_visitor.rb#97 + # : (Type::Void type) -> void + # + # source://rbi//lib/rbi/type_visitor.rb#95 sig { params(type: ::RBI::Type::Void).void } def visit_void(type); end end -# source://rbi//lib/rbi/type_visitor.rb#9 +# source://rbi//lib/rbi/type_visitor.rb#7 class RBI::Type::Visitor::Error < ::RBI::Error; end # `void`. # # source://rbi//lib/rbi/type.rb#133 class RBI::Type::Void < ::RBI::Type - # source://rbi//lib/rbi/type.rb#137 + # : (BasicObject other) -> bool + # + # source://rbi//lib/rbi/type.rb#136 sig { override.params(other: ::BasicObject).returns(T::Boolean) } def ==(other); end + # : -> String + # # source://rbi//lib/rbi/type.rb#142 sig { override.returns(::String) } def to_rbi; end end -# source://rbi//lib/rbi/model.rb#1403 +# source://rbi//lib/rbi/model.rb#1060 class RBI::TypeMember < ::RBI::NodeWithComments include ::RBI::Indexable - # source://rbi//lib/rbi/model.rb#1418 + # : (String name, String value, ?loc: Loc?, ?comments: Array[Comment]) ?{ (TypeMember node) -> void } -> void + # + # @return [TypeMember] a new instance of TypeMember + # + # source://rbi//lib/rbi/model.rb#1065 sig do params( name: ::String, @@ -4161,143 +6031,212 @@ class RBI::TypeMember < ::RBI::NodeWithComments end def initialize(name, value, loc: T.unsafe(nil), comments: T.unsafe(nil), &block); end - # source://rbi//lib/rbi/model.rb#1426 + # : -> String + # + # source://rbi//lib/rbi/model.rb#1073 sig { returns(::String) } def fully_qualified_name; end - # source://rbi//lib/rbi/index.rb#183 + # : -> Array[String] + # + # source://rbi//lib/rbi/index.rb#179 sig { override.returns(T::Array[::String]) } def index_ids; end - # source://rbi//lib/rbi/model.rb#1407 + # : String + # + # source://rbi//lib/rbi/model.rb#1062 sig { returns(::String) } def name; end - # source://rbi//lib/rbi/model.rb#1433 + # : -> String + # + # source://rbi//lib/rbi/model.rb#1081 sig { override.returns(::String) } def to_s; end - # @return [String] + # : String # - # source://rbi//lib/rbi/model.rb#1407 + # source://rbi//lib/rbi/model.rb#1062 + # @return [String] def value; end end -# source://rbi//lib/rbi/rbs_printer.rb#809 +# source://rbi//lib/rbi/rbs_printer.rb#879 class RBI::TypePrinter - # source://rbi//lib/rbi/rbs_printer.rb#816 + # : -> void + # + # @return [TypePrinter] a new instance of TypePrinter + # + # source://rbi//lib/rbi/rbs_printer.rb#884 sig { void } def initialize; end - # source://rbi//lib/rbi/rbs_printer.rb#813 + # : String + # + # source://rbi//lib/rbi/rbs_printer.rb#881 sig { returns(::String) } def string; end - # source://rbi//lib/rbi/rbs_printer.rb#821 + # : (Type node) -> void + # + # source://rbi//lib/rbi/rbs_printer.rb#889 sig { params(node: ::RBI::Type).void } def visit(node); end - # source://rbi//lib/rbi/rbs_printer.rb#936 + # : (Type::All type) -> void + # + # source://rbi//lib/rbi/rbs_printer.rb#1004 sig { params(type: ::RBI::Type::All).void } def visit_all(type); end - # source://rbi//lib/rbi/rbs_printer.rb#946 + # : (Type::Any type) -> void + # + # source://rbi//lib/rbi/rbs_printer.rb#1014 sig { params(type: ::RBI::Type::Any).void } def visit_any(type); end - # source://rbi//lib/rbi/rbs_printer.rb#886 + # : (Type::Anything type) -> void + # + # source://rbi//lib/rbi/rbs_printer.rb#954 sig { params(type: ::RBI::Type::Anything).void } def visit_anything(type); end - # source://rbi//lib/rbi/rbs_printer.rb#911 + # : (Type::AttachedClass type) -> void + # + # source://rbi//lib/rbi/rbs_printer.rb#979 sig { params(type: ::RBI::Type::AttachedClass).void } def visit_attached_class(type); end - # source://rbi//lib/rbi/rbs_printer.rb#870 + # : (Type::Boolean type) -> void + # + # source://rbi//lib/rbi/rbs_printer.rb#938 sig { params(type: ::RBI::Type::Boolean).void } def visit_boolean(type); end - # source://rbi//lib/rbi/rbs_printer.rb#1013 + # : (Type::Class type) -> void + # + # source://rbi//lib/rbi/rbs_printer.rb#1081 sig { params(type: ::RBI::Type::Class).void } def visit_class(type); end - # source://rbi//lib/rbi/rbs_printer.rb#929 + # : (Type::ClassOf type) -> void + # + # source://rbi//lib/rbi/rbs_printer.rb#997 sig { params(type: ::RBI::Type::ClassOf).void } def visit_class_of(type); end - # source://rbi//lib/rbi/rbs_printer.rb#875 + # : (Type::Generic type) -> void + # + # source://rbi//lib/rbi/rbs_printer.rb#943 sig { params(type: ::RBI::Type::Generic).void } def visit_generic(type); end - # source://rbi//lib/rbi/rbs_printer.rb#916 + # : (Type::Nilable type) -> void + # + # source://rbi//lib/rbi/rbs_printer.rb#984 sig { params(type: ::RBI::Type::Nilable).void } def visit_nilable(type); end - # source://rbi//lib/rbi/rbs_printer.rb#896 + # : (Type::NoReturn type) -> void + # + # source://rbi//lib/rbi/rbs_printer.rb#964 sig { params(type: ::RBI::Type::NoReturn).void } def visit_no_return(type); end - # source://rbi//lib/rbi/rbs_printer.rb#986 + # : (Type::Proc type) -> void + # + # source://rbi//lib/rbi/rbs_printer.rb#1054 sig { params(type: ::RBI::Type::Proc).void } def visit_proc(type); end - # source://rbi//lib/rbi/rbs_printer.rb#906 + # : (Type::SelfType type) -> void + # + # source://rbi//lib/rbi/rbs_printer.rb#974 sig { params(type: ::RBI::Type::SelfType).void } def visit_self_type(type); end - # source://rbi//lib/rbi/rbs_printer.rb#966 + # : (Type::Shape type) -> void + # + # source://rbi//lib/rbi/rbs_printer.rb#1034 sig { params(type: ::RBI::Type::Shape).void } def visit_shape(type); end - # source://rbi//lib/rbi/rbs_printer.rb#865 + # : (Type::Simple type) -> void + # + # source://rbi//lib/rbi/rbs_printer.rb#933 sig { params(type: ::RBI::Type::Simple).void } def visit_simple(type); end - # source://rbi//lib/rbi/rbs_printer.rb#956 + # : (Type::Tuple type) -> void + # + # source://rbi//lib/rbi/rbs_printer.rb#1024 sig { params(type: ::RBI::Type::Tuple).void } def visit_tuple(type); end - # source://rbi//lib/rbi/rbs_printer.rb#1008 + # : (Type::TypeParameter type) -> void + # + # source://rbi//lib/rbi/rbs_printer.rb#1076 sig { params(type: ::RBI::Type::TypeParameter).void } def visit_type_parameter(type); end - # source://rbi//lib/rbi/rbs_printer.rb#901 + # : (Type::Untyped type) -> void + # + # source://rbi//lib/rbi/rbs_printer.rb#969 sig { params(type: ::RBI::Type::Untyped).void } def visit_untyped(type); end - # source://rbi//lib/rbi/rbs_printer.rb#891 + # : (Type::Void type) -> void + # + # source://rbi//lib/rbi/rbs_printer.rb#959 sig { params(type: ::RBI::Type::Void).void } def visit_void(type); end private - # source://rbi//lib/rbi/rbs_printer.rb#1022 + # : (String type_name) -> String + # + # source://rbi//lib/rbi/rbs_printer.rb#1090 sig { params(type_name: ::String).returns(::String) } def translate_t_type(type_name); end end # source://rbi//lib/rbi/rewriters/attr_to_methods.rb#5 class RBI::UnexpectedMultipleSigsError < ::RBI::Error + # : (Node node) -> void + # + # @return [UnexpectedMultipleSigsError] a new instance of UnexpectedMultipleSigsError + # # source://rbi//lib/rbi/rewriters/attr_to_methods.rb#10 sig { params(node: ::RBI::Node).void } def initialize(node); end + # : Node + # # source://rbi//lib/rbi/rewriters/attr_to_methods.rb#7 sig { returns(::RBI::Node) } def node; end end -# source://rbi//lib/rbi/parser.rb#20 +# source://rbi//lib/rbi/parser.rb#18 class RBI::UnexpectedParserError < ::RBI::Error - # source://rbi//lib/rbi/parser.rb#27 + # : (Exception parent_exception, Loc last_location) -> void + # + # @return [UnexpectedParserError] a new instance of UnexpectedParserError + # + # source://rbi//lib/rbi/parser.rb#23 sig { params(parent_exception: ::Exception, last_location: ::RBI::Loc).void } def initialize(parent_exception, last_location); end - # source://rbi//lib/rbi/parser.rb#24 + # : Loc + # + # source://rbi//lib/rbi/parser.rb#20 sig { returns(::RBI::Loc) } def last_location; end - # source://rbi//lib/rbi/parser.rb#34 + # : (?io: (IO | StringIO)) -> void + # + # source://rbi//lib/rbi/parser.rb#30 sig { params(io: T.any(::IO, ::StringIO)).void } def print_debug(io: T.unsafe(nil)); end end @@ -4309,42 +6248,68 @@ RBI::VERSION = T.let(T.unsafe(nil), String) # # @abstract It cannot be directly instantiated. Subclasses must implement the `abstract` methods below. # -# source://rbi//lib/rbi/model.rb#916 +# source://rbi//lib/rbi/model.rb#708 class RBI::Visibility < ::RBI::NodeWithComments abstract! - # source://rbi//lib/rbi/model.rb#926 + # : (Symbol visibility, ?loc: Loc?, ?comments: Array[Comment]) -> void + # + # @return [Visibility] a new instance of Visibility + # + # source://rbi//lib/rbi/model.rb#717 sig { params(visibility: ::Symbol, loc: T.nilable(::RBI::Loc), comments: T::Array[::RBI::Comment]).void } def initialize(visibility, loc: T.unsafe(nil), comments: T.unsafe(nil)); end - # source://rbi//lib/rbi/model.rb#932 + # : (Object? other) -> bool + # + # source://rbi//lib/rbi/model.rb#723 sig { params(other: T.nilable(::Object)).returns(T::Boolean) } def ==(other); end - # source://rbi//lib/rbi/model.rb#949 + # : -> bool + # + # @return [Boolean] + # + # source://rbi//lib/rbi/model.rb#740 sig { returns(T::Boolean) } def private?; end - # source://rbi//lib/rbi/model.rb#944 + # : -> bool + # + # @return [Boolean] + # + # source://rbi//lib/rbi/model.rb#735 sig { returns(T::Boolean) } def protected?; end - # source://rbi//lib/rbi/model.rb#939 + # : -> bool + # + # @return [Boolean] + # + # source://rbi//lib/rbi/model.rb#730 sig { returns(T::Boolean) } def public?; end - # source://rbi//lib/rbi/model.rb#923 + # : Symbol + # + # source://rbi//lib/rbi/model.rb#714 sig { returns(::Symbol) } def visibility; end end -# source://rbi//lib/rbi/rewriters/nest_non_public_members.rb#52 +# source://rbi//lib/rbi/rewriters/nest_non_public_members.rb#49 class RBI::VisibilityGroup < ::RBI::Tree - # source://rbi//lib/rbi/rewriters/nest_non_public_members.rb#59 + # : (Visibility visibility) -> void + # + # @return [VisibilityGroup] a new instance of VisibilityGroup + # + # source://rbi//lib/rbi/rewriters/nest_non_public_members.rb#54 sig { params(visibility: ::RBI::Visibility).void } def initialize(visibility); end - # source://rbi//lib/rbi/rewriters/nest_non_public_members.rb#56 + # : Visibility + # + # source://rbi//lib/rbi/rewriters/nest_non_public_members.rb#51 sig { returns(::RBI::Visibility) } def visibility; end end @@ -4355,185 +6320,281 @@ end class RBI::Visitor abstract! - # source://rbi//lib/rbi/visitor.rb#14 + # : (Node? node) -> void + # + # source://rbi//lib/rbi/visitor.rb#13 sig { params(node: T.nilable(::RBI::Node)).void } def visit(node); end - # source://rbi//lib/rbi/visitor.rb#108 + # : (Array[Node] nodes) -> void + # + # source://rbi//lib/rbi/visitor.rb#109 sig { params(nodes: T::Array[::RBI::Node]).void } def visit_all(nodes); end - # source://rbi//lib/rbi/visitor.rb#113 + # : (File file) -> void + # + # source://rbi//lib/rbi/visitor.rb#114 sig { params(file: ::RBI::File).void } def visit_file(file); end private - # source://rbi//lib/rbi/visitor.rb#195 + # : (Arg node) -> void + # + # source://rbi//lib/rbi/visitor.rb#199 sig { params(node: ::RBI::Arg).void } def visit_arg(node); end - # source://rbi//lib/rbi/visitor.rb#144 + # : (AttrAccessor node) -> void + # + # source://rbi//lib/rbi/visitor.rb#148 sig { params(node: ::RBI::AttrAccessor).void } def visit_attr_accessor(node); end - # source://rbi//lib/rbi/visitor.rb#147 + # : (AttrReader node) -> void + # + # source://rbi//lib/rbi/visitor.rb#151 sig { params(node: ::RBI::AttrReader).void } def visit_attr_reader(node); end - # source://rbi//lib/rbi/visitor.rb#150 + # : (AttrWriter node) -> void + # + # source://rbi//lib/rbi/visitor.rb#154 sig { params(node: ::RBI::AttrWriter).void } def visit_attr_writer(node); end - # source://rbi//lib/rbi/visitor.rb#123 + # : (BlankLine node) -> void + # + # source://rbi//lib/rbi/visitor.rb#127 sig { params(node: ::RBI::BlankLine).void } def visit_blank_line(node); end - # source://rbi//lib/rbi/visitor.rb#174 + # : (BlockParam node) -> void + # + # source://rbi//lib/rbi/visitor.rb#178 sig { params(node: ::RBI::BlockParam).void } def visit_block_param(node); end - # source://rbi//lib/rbi/visitor.rb#129 + # : (Class node) -> void + # + # source://rbi//lib/rbi/visitor.rb#133 sig { params(node: ::RBI::Class).void } def visit_class(node); end - # source://rbi//lib/rbi/visitor.rb#120 + # : (Comment node) -> void + # + # source://rbi//lib/rbi/visitor.rb#121 sig { params(node: ::RBI::Comment).void } def visit_comment(node); end - # source://rbi//lib/rbi/visitor.rb#240 + # : (ConflictTree node) -> void + # + # source://rbi//lib/rbi/visitor.rb#244 sig { params(node: ::RBI::ConflictTree).void } def visit_conflict_tree(node); end - # source://rbi//lib/rbi/visitor.rb#141 + # : (Const node) -> void + # + # source://rbi//lib/rbi/visitor.rb#145 sig { params(node: ::RBI::Const).void } def visit_const(node); end - # source://rbi//lib/rbi/visitor.rb#180 + # : (Extend node) -> void + # + # source://rbi//lib/rbi/visitor.rb#184 sig { params(node: ::RBI::Extend).void } def visit_extend(node); end - # source://rbi//lib/rbi/visitor.rb#234 + # : (Group node) -> void + # + # source://rbi//lib/rbi/visitor.rb#238 sig { params(node: ::RBI::Group).void } def visit_group(node); end - # source://rbi//lib/rbi/visitor.rb#222 + # : (Helper node) -> void + # + # source://rbi//lib/rbi/visitor.rb#226 sig { params(node: ::RBI::Helper).void } def visit_helper(node); end - # source://rbi//lib/rbi/visitor.rb#177 + # : (Include node) -> void + # + # source://rbi//lib/rbi/visitor.rb#181 sig { params(node: ::RBI::Include).void } def visit_include(node); end - # source://rbi//lib/rbi/visitor.rb#198 + # : (KwArg node) -> void + # + # source://rbi//lib/rbi/visitor.rb#202 sig { params(node: ::RBI::KwArg).void } def visit_kw_arg(node); end - # source://rbi//lib/rbi/visitor.rb#168 + # : (KwOptParam node) -> void + # + # source://rbi//lib/rbi/visitor.rb#172 sig { params(node: ::RBI::KwOptParam).void } def visit_kw_opt_param(node); end - # source://rbi//lib/rbi/visitor.rb#165 + # : (KwParam node) -> void + # + # source://rbi//lib/rbi/visitor.rb#169 sig { params(node: ::RBI::KwParam).void } def visit_kw_param(node); end - # source://rbi//lib/rbi/visitor.rb#171 + # : (KwRestParam node) -> void + # + # source://rbi//lib/rbi/visitor.rb#175 sig { params(node: ::RBI::KwRestParam).void } def visit_kw_rest_param(node); end - # source://rbi//lib/rbi/visitor.rb#153 + # : (Method node) -> void + # + # source://rbi//lib/rbi/visitor.rb#157 sig { params(node: ::RBI::Method).void } def visit_method(node); end - # source://rbi//lib/rbi/visitor.rb#228 + # : (MixesInClassMethods node) -> void + # + # source://rbi//lib/rbi/visitor.rb#232 sig { params(node: ::RBI::MixesInClassMethods).void } def visit_mixes_in_class_methods(node); end - # source://rbi//lib/rbi/visitor.rb#126 + # : (Module node) -> void + # + # source://rbi//lib/rbi/visitor.rb#130 sig { params(node: ::RBI::Module).void } def visit_module(node); end - # source://rbi//lib/rbi/visitor.rb#159 + # : (OptParam node) -> void + # + # source://rbi//lib/rbi/visitor.rb#163 sig { params(node: ::RBI::OptParam).void } def visit_opt_param(node); end - # source://rbi//lib/rbi/visitor.rb#189 + # : (Private node) -> void + # + # source://rbi//lib/rbi/visitor.rb#193 sig { params(node: ::RBI::Private).void } def visit_private(node); end - # source://rbi//lib/rbi/visitor.rb#186 + # : (Protected node) -> void + # + # source://rbi//lib/rbi/visitor.rb#190 sig { params(node: ::RBI::Protected).void } def visit_protected(node); end - # source://rbi//lib/rbi/visitor.rb#183 + # : (Public node) -> void + # + # source://rbi//lib/rbi/visitor.rb#187 sig { params(node: ::RBI::Public).void } def visit_public(node); end - # source://rbi//lib/rbi/visitor.rb#156 + # : (RBSComment node) -> void + # + # source://rbi//lib/rbi/visitor.rb#124 + sig { params(node: ::RBI::RBSComment).void } + def visit_rbs_comment(node); end + + # : (ReqParam node) -> void + # + # source://rbi//lib/rbi/visitor.rb#160 sig { params(node: ::RBI::ReqParam).void } def visit_req_param(node); end - # source://rbi//lib/rbi/visitor.rb#231 + # : (RequiresAncestor node) -> void + # + # source://rbi//lib/rbi/visitor.rb#235 sig { params(node: ::RBI::RequiresAncestor).void } def visit_requires_ancestor(node); end - # source://rbi//lib/rbi/visitor.rb#162 + # : (RestParam node) -> void + # + # source://rbi//lib/rbi/visitor.rb#166 sig { params(node: ::RBI::RestParam).void } def visit_rest_param(node); end - # source://rbi//lib/rbi/visitor.rb#243 + # : (ScopeConflict node) -> void + # + # source://rbi//lib/rbi/visitor.rb#247 sig { params(node: ::RBI::ScopeConflict).void } def visit_scope_conflict(node); end - # source://rbi//lib/rbi/visitor.rb#192 + # : (Send node) -> void + # + # source://rbi//lib/rbi/visitor.rb#196 sig { params(node: ::RBI::Send).void } def visit_send(node); end - # source://rbi//lib/rbi/visitor.rb#201 + # : (Sig node) -> void + # + # source://rbi//lib/rbi/visitor.rb#205 sig { params(node: ::RBI::Sig).void } def visit_sig(node); end - # source://rbi//lib/rbi/visitor.rb#204 + # : (SigParam node) -> void + # + # source://rbi//lib/rbi/visitor.rb#208 sig { params(node: ::RBI::SigParam).void } def visit_sig_param(node); end - # source://rbi//lib/rbi/visitor.rb#132 + # : (SingletonClass node) -> void + # + # source://rbi//lib/rbi/visitor.rb#136 sig { params(node: ::RBI::SingletonClass).void } def visit_singleton_class(node); end - # source://rbi//lib/rbi/visitor.rb#135 + # : (Struct node) -> void + # + # source://rbi//lib/rbi/visitor.rb#139 sig { params(node: ::RBI::Struct).void } def visit_struct(node); end - # source://rbi//lib/rbi/visitor.rb#216 + # : (TEnum node) -> void + # + # source://rbi//lib/rbi/visitor.rb#220 sig { params(node: ::RBI::TEnum).void } def visit_tenum(node); end - # source://rbi//lib/rbi/visitor.rb#219 + # : (TEnumBlock node) -> void + # + # source://rbi//lib/rbi/visitor.rb#223 sig { params(node: ::RBI::TEnumBlock).void } def visit_tenum_block(node); end - # source://rbi//lib/rbi/visitor.rb#138 + # : (Tree node) -> void + # + # source://rbi//lib/rbi/visitor.rb#142 sig { params(node: ::RBI::Tree).void } def visit_tree(node); end - # source://rbi//lib/rbi/visitor.rb#207 + # : (TStruct node) -> void + # + # source://rbi//lib/rbi/visitor.rb#211 sig { params(node: ::RBI::TStruct).void } def visit_tstruct(node); end - # source://rbi//lib/rbi/visitor.rb#210 + # : (TStructConst node) -> void + # + # source://rbi//lib/rbi/visitor.rb#214 sig { params(node: ::RBI::TStructConst).void } def visit_tstruct_const(node); end - # source://rbi//lib/rbi/visitor.rb#213 + # : (TStructProp node) -> void + # + # source://rbi//lib/rbi/visitor.rb#217 sig { params(node: ::RBI::TStructProp).void } def visit_tstruct_prop(node); end - # source://rbi//lib/rbi/visitor.rb#225 + # : (TypeMember node) -> void + # + # source://rbi//lib/rbi/visitor.rb#229 sig { params(node: ::RBI::TypeMember).void } def visit_type_member(node); end - # source://rbi//lib/rbi/visitor.rb#237 + # : (VisibilityGroup node) -> void + # + # source://rbi//lib/rbi/visitor.rb#241 sig { params(node: ::RBI::VisibilityGroup).void } def visit_visibility_group(node); end end diff --git a/Library/Homebrew/sorbet/rbi/gems/rbs@3.8.1.rbi b/Library/Homebrew/sorbet/rbi/gems/rbs@3.8.1.rbi new file mode 100644 index 0000000000..1930d2d5c7 --- /dev/null +++ b/Library/Homebrew/sorbet/rbi/gems/rbs@3.8.1.rbi @@ -0,0 +1,6880 @@ +# typed: true + +# DO NOT EDIT MANUALLY +# This is an autogenerated file for types exported from the `rbs` gem. +# Please instead update this file by running `bin/tapioca gem rbs`. + + +# source://rbs//lib/rbs/namespace.rb#120 +module Kernel + # source://rbs//lib/rbs/namespace.rb#121 + def Namespace(name); end + + # source://rbs//lib/rbs/type_name.rb#105 + def TypeName(string); end +end + +# source://rbs//lib/rbs/version.rb#3 +module RBS + class << self + # source://rbs//lib/rbs.rb#68 + def logger; end + + # Returns the value of attribute logger_level. + # + # source://rbs//lib/rbs.rb#65 + def logger_level; end + + # source://rbs//lib/rbs.rb#77 + def logger_level=(level); end + + # Returns the value of attribute logger_output. + # + # source://rbs//lib/rbs.rb#66 + def logger_output; end + + # source://rbs//lib/rbs.rb#72 + def logger_output=(val); end + + # source://rbs//lib/rbs.rb#82 + def print_warning; end + end +end + +# source://rbs//lib/rbs/ast/type_param.rb#4 +module RBS::AST; end + +# source://rbs//lib/rbs/ast/annotation.rb#5 +class RBS::AST::Annotation + # @return [Annotation] a new instance of Annotation + # + # source://rbs//lib/rbs/ast/annotation.rb#9 + def initialize(string:, location:); end + + # source://rbs//lib/rbs/ast/annotation.rb#14 + def ==(other); end + + # source://rbs//lib/rbs/ast/annotation.rb#14 + def eql?(other); end + + # source://rbs//lib/rbs/ast/annotation.rb#20 + def hash; end + + # Returns the value of attribute location. + # + # source://rbs//lib/rbs/ast/annotation.rb#7 + def location; end + + # Returns the value of attribute string. + # + # source://rbs//lib/rbs/ast/annotation.rb#6 + def string; end + + # source://rbs//lib/rbs/ast/annotation.rb#24 + def to_json(state = T.unsafe(nil)); end +end + +# source://rbs//lib/rbs/ast/comment.rb#5 +class RBS::AST::Comment + # @return [Comment] a new instance of Comment + # + # source://rbs//lib/rbs/ast/comment.rb#9 + def initialize(string:, location:); end + + # source://rbs//lib/rbs/ast/comment.rb#14 + def ==(other); end + + # source://rbs//lib/rbs/ast/comment.rb#14 + def eql?(other); end + + # source://rbs//lib/rbs/ast/comment.rb#20 + def hash; end + + # Returns the value of attribute location. + # + # source://rbs//lib/rbs/ast/comment.rb#7 + def location; end + + # Returns the value of attribute string. + # + # source://rbs//lib/rbs/ast/comment.rb#6 + def string; end + + # source://rbs//lib/rbs/ast/comment.rb#24 + def to_json(state = T.unsafe(nil)); end +end + +# source://rbs//lib/rbs/ast/declarations.rb#5 +module RBS::AST::Declarations; end + +# source://rbs//lib/rbs/ast/declarations.rb#419 +class RBS::AST::Declarations::AliasDecl < ::RBS::AST::Declarations::Base + # @return [AliasDecl] a new instance of AliasDecl + # + # source://rbs//lib/rbs/ast/declarations.rb#422 + def initialize(new_name:, old_name:, location:, comment:); end + + # source://rbs//lib/rbs/ast/declarations.rb#429 + def ==(other); end + + # Returns the value of attribute comment. + # + # source://rbs//lib/rbs/ast/declarations.rb#420 + def comment; end + + # source://rbs//lib/rbs/ast/declarations.rb#429 + def eql?(other); end + + # source://rbs//lib/rbs/ast/declarations.rb#437 + def hash; end + + # Returns the value of attribute location. + # + # source://rbs//lib/rbs/ast/declarations.rb#420 + def location; end + + # Returns the value of attribute new_name. + # + # source://rbs//lib/rbs/ast/declarations.rb#420 + def new_name; end + + # Returns the value of attribute old_name. + # + # source://rbs//lib/rbs/ast/declarations.rb#420 + def old_name; end +end + +# source://rbs//lib/rbs/ast/declarations.rb#6 +class RBS::AST::Declarations::Base; end + +# source://rbs//lib/rbs/ast/declarations.rb#55 +class RBS::AST::Declarations::Class < ::RBS::AST::Declarations::Base + include ::RBS::AST::Declarations::NestedDeclarationHelper + include ::RBS::AST::Declarations::MixinHelper + + # @return [Class] a new instance of Class + # + # source://rbs//lib/rbs/ast/declarations.rb#97 + def initialize(name:, type_params:, super_class:, members:, annotations:, location:, comment:); end + + # source://rbs//lib/rbs/ast/declarations.rb#119 + def ==(other); end + + # Returns the value of attribute annotations. + # + # source://rbs//lib/rbs/ast/declarations.rb#93 + def annotations; end + + # Returns the value of attribute comment. + # + # source://rbs//lib/rbs/ast/declarations.rb#95 + def comment; end + + # source://rbs//lib/rbs/ast/declarations.rb#119 + def eql?(other); end + + # source://rbs//lib/rbs/ast/declarations.rb#129 + def hash; end + + # Returns the value of attribute location. + # + # source://rbs//lib/rbs/ast/declarations.rb#94 + def location; end + + # Returns the value of attribute members. + # + # source://rbs//lib/rbs/ast/declarations.rb#91 + def members; end + + # Returns the value of attribute name. + # + # source://rbs//lib/rbs/ast/declarations.rb#89 + def name; end + + # Returns the value of attribute super_class. + # + # source://rbs//lib/rbs/ast/declarations.rb#92 + def super_class; end + + # source://rbs//lib/rbs/ast/declarations.rb#133 + def to_json(state = T.unsafe(nil)); end + + # Returns the value of attribute type_params. + # + # source://rbs//lib/rbs/ast/declarations.rb#90 + def type_params; end + + # source://rbs//lib/rbs/ast/declarations.rb#107 + def update(name: T.unsafe(nil), type_params: T.unsafe(nil), super_class: T.unsafe(nil), members: T.unsafe(nil), annotations: T.unsafe(nil), location: T.unsafe(nil), comment: T.unsafe(nil)); end +end + +# source://rbs//lib/rbs/ast/declarations.rb#56 +class RBS::AST::Declarations::Class::Super + # @return [Super] a new instance of Super + # + # source://rbs//lib/rbs/ast/declarations.rb#61 + def initialize(name:, args:, location:); end + + # source://rbs//lib/rbs/ast/declarations.rb#67 + def ==(other); end + + # Returns the value of attribute args. + # + # source://rbs//lib/rbs/ast/declarations.rb#58 + def args; end + + # source://rbs//lib/rbs/ast/declarations.rb#67 + def eql?(other); end + + # source://rbs//lib/rbs/ast/declarations.rb#73 + def hash; end + + # Returns the value of attribute location. + # + # source://rbs//lib/rbs/ast/declarations.rb#59 + def location; end + + # Returns the value of attribute name. + # + # source://rbs//lib/rbs/ast/declarations.rb#57 + def name; end + + # source://rbs//lib/rbs/ast/declarations.rb#77 + def to_json(state = T.unsafe(nil)); end +end + +# source://rbs//lib/rbs/ast/declarations.rb#442 +class RBS::AST::Declarations::ClassAlias < ::RBS::AST::Declarations::AliasDecl + # source://rbs//lib/rbs/ast/declarations.rb#443 + def to_json(state = T.unsafe(nil)); end +end + +# source://rbs//lib/rbs/ast/declarations.rb#347 +class RBS::AST::Declarations::Constant < ::RBS::AST::Declarations::Base + # @return [Constant] a new instance of Constant + # + # source://rbs//lib/rbs/ast/declarations.rb#353 + def initialize(name:, type:, location:, comment:); end + + # source://rbs//lib/rbs/ast/declarations.rb#360 + def ==(other); end + + # Returns the value of attribute comment. + # + # source://rbs//lib/rbs/ast/declarations.rb#351 + def comment; end + + # source://rbs//lib/rbs/ast/declarations.rb#360 + def eql?(other); end + + # source://rbs//lib/rbs/ast/declarations.rb#368 + def hash; end + + # Returns the value of attribute location. + # + # source://rbs//lib/rbs/ast/declarations.rb#350 + def location; end + + # Returns the value of attribute name. + # + # source://rbs//lib/rbs/ast/declarations.rb#348 + def name; end + + # source://rbs//lib/rbs/ast/declarations.rb#372 + def to_json(state = T.unsafe(nil)); end + + # Returns the value of attribute type. + # + # source://rbs//lib/rbs/ast/declarations.rb#349 + def type; end +end + +# source://rbs//lib/rbs/ast/declarations.rb#383 +class RBS::AST::Declarations::Global < ::RBS::AST::Declarations::Base + # @return [Global] a new instance of Global + # + # source://rbs//lib/rbs/ast/declarations.rb#389 + def initialize(name:, type:, location:, comment:); end + + # source://rbs//lib/rbs/ast/declarations.rb#396 + def ==(other); end + + # Returns the value of attribute comment. + # + # source://rbs//lib/rbs/ast/declarations.rb#387 + def comment; end + + # source://rbs//lib/rbs/ast/declarations.rb#396 + def eql?(other); end + + # source://rbs//lib/rbs/ast/declarations.rb#404 + def hash; end + + # Returns the value of attribute location. + # + # source://rbs//lib/rbs/ast/declarations.rb#386 + def location; end + + # Returns the value of attribute name. + # + # source://rbs//lib/rbs/ast/declarations.rb#384 + def name; end + + # source://rbs//lib/rbs/ast/declarations.rb#408 + def to_json(state = T.unsafe(nil)); end + + # Returns the value of attribute type. + # + # source://rbs//lib/rbs/ast/declarations.rb#385 + def type; end +end + +# source://rbs//lib/rbs/ast/declarations.rb#248 +class RBS::AST::Declarations::Interface < ::RBS::AST::Declarations::Base + include ::RBS::AST::Declarations::MixinHelper + + # @return [Interface] a new instance of Interface + # + # source://rbs//lib/rbs/ast/declarations.rb#258 + def initialize(name:, type_params:, members:, annotations:, location:, comment:); end + + # source://rbs//lib/rbs/ast/declarations.rb#278 + def ==(other); end + + # Returns the value of attribute annotations. + # + # source://rbs//lib/rbs/ast/declarations.rb#252 + def annotations; end + + # Returns the value of attribute comment. + # + # source://rbs//lib/rbs/ast/declarations.rb#254 + def comment; end + + # source://rbs//lib/rbs/ast/declarations.rb#278 + def eql?(other); end + + # source://rbs//lib/rbs/ast/declarations.rb#287 + def hash; end + + # Returns the value of attribute location. + # + # source://rbs//lib/rbs/ast/declarations.rb#253 + def location; end + + # Returns the value of attribute members. + # + # source://rbs//lib/rbs/ast/declarations.rb#251 + def members; end + + # Returns the value of attribute name. + # + # source://rbs//lib/rbs/ast/declarations.rb#249 + def name; end + + # source://rbs//lib/rbs/ast/declarations.rb#291 + def to_json(state = T.unsafe(nil)); end + + # Returns the value of attribute type_params. + # + # source://rbs//lib/rbs/ast/declarations.rb#250 + def type_params; end + + # source://rbs//lib/rbs/ast/declarations.rb#267 + def update(name: T.unsafe(nil), type_params: T.unsafe(nil), members: T.unsafe(nil), annotations: T.unsafe(nil), location: T.unsafe(nil), comment: T.unsafe(nil)); end +end + +# source://rbs//lib/rbs/ast/declarations.rb#35 +module RBS::AST::Declarations::MixinHelper + # source://rbs//lib/rbs/ast/declarations.rb#36 + def each_mixin(&block); end +end + +# source://rbs//lib/rbs/ast/declarations.rb#147 +class RBS::AST::Declarations::Module < ::RBS::AST::Declarations::Base + include ::RBS::AST::Declarations::NestedDeclarationHelper + include ::RBS::AST::Declarations::MixinHelper + + # @return [Module] a new instance of Module + # + # source://rbs//lib/rbs/ast/declarations.rb#197 + def initialize(name:, type_params:, members:, self_types:, annotations:, location:, comment:); end + + # source://rbs//lib/rbs/ast/declarations.rb#220 + def ==(other); end + + # Returns the value of attribute annotations. + # + # source://rbs//lib/rbs/ast/declarations.rb#193 + def annotations; end + + # Returns the value of attribute comment. + # + # source://rbs//lib/rbs/ast/declarations.rb#195 + def comment; end + + # source://rbs//lib/rbs/ast/declarations.rb#220 + def eql?(other); end + + # source://rbs//lib/rbs/ast/declarations.rb#230 + def hash; end + + # Returns the value of attribute location. + # + # source://rbs//lib/rbs/ast/declarations.rb#192 + def location; end + + # Returns the value of attribute members. + # + # source://rbs//lib/rbs/ast/declarations.rb#191 + def members; end + + # Returns the value of attribute name. + # + # source://rbs//lib/rbs/ast/declarations.rb#189 + def name; end + + # Returns the value of attribute self_types. + # + # source://rbs//lib/rbs/ast/declarations.rb#194 + def self_types; end + + # source://rbs//lib/rbs/ast/declarations.rb#234 + def to_json(state = T.unsafe(nil)); end + + # Returns the value of attribute type_params. + # + # source://rbs//lib/rbs/ast/declarations.rb#190 + def type_params; end + + # source://rbs//lib/rbs/ast/declarations.rb#207 + def update(name: T.unsafe(nil), type_params: T.unsafe(nil), members: T.unsafe(nil), self_types: T.unsafe(nil), annotations: T.unsafe(nil), location: T.unsafe(nil), comment: T.unsafe(nil)); end +end + +# source://rbs//lib/rbs/ast/declarations.rb#148 +class RBS::AST::Declarations::Module::Self + # @return [Self] a new instance of Self + # + # source://rbs//lib/rbs/ast/declarations.rb#153 + def initialize(name:, args:, location:); end + + # source://rbs//lib/rbs/ast/declarations.rb#159 + def ==(other); end + + # Returns the value of attribute args. + # + # source://rbs//lib/rbs/ast/declarations.rb#150 + def args; end + + # source://rbs//lib/rbs/ast/declarations.rb#159 + def eql?(other); end + + # source://rbs//lib/rbs/ast/declarations.rb#165 + def hash; end + + # Returns the value of attribute location. + # + # source://rbs//lib/rbs/ast/declarations.rb#151 + def location; end + + # Returns the value of attribute name. + # + # source://rbs//lib/rbs/ast/declarations.rb#149 + def name; end + + # source://rbs//lib/rbs/ast/declarations.rb#169 + def to_json(state = T.unsafe(nil)); end + + # source://rbs//lib/rbs/ast/declarations.rb#177 + def to_s; end +end + +# source://rbs//lib/rbs/ast/declarations.rb#454 +class RBS::AST::Declarations::ModuleAlias < ::RBS::AST::Declarations::AliasDecl + # source://rbs//lib/rbs/ast/declarations.rb#455 + def to_json(state = T.unsafe(nil)); end +end + +# source://rbs//lib/rbs/ast/declarations.rb#9 +module RBS::AST::Declarations::NestedDeclarationHelper + # source://rbs//lib/rbs/ast/declarations.rb#22 + def each_decl; end + + # source://rbs//lib/rbs/ast/declarations.rb#10 + def each_member; end +end + +# source://rbs//lib/rbs/ast/declarations.rb#304 +class RBS::AST::Declarations::TypeAlias < ::RBS::AST::Declarations::Base + # @return [TypeAlias] a new instance of TypeAlias + # + # source://rbs//lib/rbs/ast/declarations.rb#312 + def initialize(name:, type_params:, type:, annotations:, location:, comment:); end + + # source://rbs//lib/rbs/ast/declarations.rb#321 + def ==(other); end + + # Returns the value of attribute annotations. + # + # source://rbs//lib/rbs/ast/declarations.rb#308 + def annotations; end + + # Returns the value of attribute comment. + # + # source://rbs//lib/rbs/ast/declarations.rb#310 + def comment; end + + # source://rbs//lib/rbs/ast/declarations.rb#321 + def eql?(other); end + + # source://rbs//lib/rbs/ast/declarations.rb#330 + def hash; end + + # Returns the value of attribute location. + # + # source://rbs//lib/rbs/ast/declarations.rb#309 + def location; end + + # Returns the value of attribute name. + # + # source://rbs//lib/rbs/ast/declarations.rb#305 + def name; end + + # source://rbs//lib/rbs/ast/declarations.rb#334 + def to_json(state = T.unsafe(nil)); end + + # Returns the value of attribute type. + # + # source://rbs//lib/rbs/ast/declarations.rb#307 + def type; end + + # Returns the value of attribute type_params. + # + # source://rbs//lib/rbs/ast/declarations.rb#306 + def type_params; end +end + +# source://rbs//lib/rbs/ast/directives.rb#5 +module RBS::AST::Directives; end + +# source://rbs//lib/rbs/ast/directives.rb#6 +class RBS::AST::Directives::Base; end + +# source://rbs//lib/rbs/ast/directives.rb#9 +class RBS::AST::Directives::Use < ::RBS::AST::Directives::Base + # @return [Use] a new instance of Use + # + # source://rbs//lib/rbs/ast/directives.rb#31 + def initialize(clauses:, location:); end + + # Returns the value of attribute clauses. + # + # source://rbs//lib/rbs/ast/directives.rb#29 + def clauses; end + + # Returns the value of attribute location. + # + # source://rbs//lib/rbs/ast/directives.rb#29 + def location; end +end + +# source://rbs//lib/rbs/ast/directives.rb#10 +class RBS::AST::Directives::Use::SingleClause + # @return [SingleClause] a new instance of SingleClause + # + # source://rbs//lib/rbs/ast/directives.rb#13 + def initialize(type_name:, new_name:, location:); end + + # Returns the value of attribute location. + # + # source://rbs//lib/rbs/ast/directives.rb#11 + def location; end + + # Returns the value of attribute new_name. + # + # source://rbs//lib/rbs/ast/directives.rb#11 + def new_name; end + + # Returns the value of attribute type_name. + # + # source://rbs//lib/rbs/ast/directives.rb#11 + def type_name; end +end + +# source://rbs//lib/rbs/ast/directives.rb#20 +class RBS::AST::Directives::Use::WildcardClause + # @return [WildcardClause] a new instance of WildcardClause + # + # source://rbs//lib/rbs/ast/directives.rb#23 + def initialize(namespace:, location:); end + + # Returns the value of attribute location. + # + # source://rbs//lib/rbs/ast/directives.rb#21 + def location; end + + # Returns the value of attribute namespace. + # + # source://rbs//lib/rbs/ast/directives.rb#21 + def namespace; end +end + +# source://rbs//lib/rbs/ast/members.rb#5 +module RBS::AST::Members; end + +# source://rbs//lib/rbs/ast/members.rb#397 +class RBS::AST::Members::Alias < ::RBS::AST::Members::Base + # @return [Alias] a new instance of Alias + # + # source://rbs//lib/rbs/ast/members.rb#405 + def initialize(new_name:, old_name:, kind:, annotations:, location:, comment:); end + + # source://rbs//lib/rbs/ast/members.rb#414 + def ==(other); end + + # Returns the value of attribute annotations. + # + # source://rbs//lib/rbs/ast/members.rb#401 + def annotations; end + + # Returns the value of attribute comment. + # + # source://rbs//lib/rbs/ast/members.rb#403 + def comment; end + + # source://rbs//lib/rbs/ast/members.rb#414 + def eql?(other); end + + # source://rbs//lib/rbs/ast/members.rb#423 + def hash; end + + # @return [Boolean] + # + # source://rbs//lib/rbs/ast/members.rb#439 + def instance?; end + + # Returns the value of attribute kind. + # + # source://rbs//lib/rbs/ast/members.rb#400 + def kind; end + + # Returns the value of attribute location. + # + # source://rbs//lib/rbs/ast/members.rb#402 + def location; end + + # Returns the value of attribute new_name. + # + # source://rbs//lib/rbs/ast/members.rb#398 + def new_name; end + + # Returns the value of attribute old_name. + # + # source://rbs//lib/rbs/ast/members.rb#399 + def old_name; end + + # @return [Boolean] + # + # source://rbs//lib/rbs/ast/members.rb#443 + def singleton?; end + + # source://rbs//lib/rbs/ast/members.rb#427 + def to_json(state = T.unsafe(nil)); end +end + +# source://rbs//lib/rbs/ast/members.rb#327 +class RBS::AST::Members::AttrAccessor < ::RBS::AST::Members::Base + include ::RBS::AST::Members::Attribute + + # source://rbs//lib/rbs/ast/members.rb#330 + def to_json(state = T.unsafe(nil)); end +end + +# source://rbs//lib/rbs/ast/members.rb#309 +class RBS::AST::Members::AttrReader < ::RBS::AST::Members::Base + include ::RBS::AST::Members::Attribute + + # source://rbs//lib/rbs/ast/members.rb#312 + def to_json(state = T.unsafe(nil)); end +end + +# source://rbs//lib/rbs/ast/members.rb#345 +class RBS::AST::Members::AttrWriter < ::RBS::AST::Members::Base + include ::RBS::AST::Members::Attribute + + # source://rbs//lib/rbs/ast/members.rb#348 + def to_json(state = T.unsafe(nil)); end +end + +# source://rbs//lib/rbs/ast/members.rb#258 +module RBS::AST::Members::Attribute + # source://rbs//lib/rbs/ast/members.rb#268 + def initialize(name:, type:, ivar_name:, kind:, annotations:, location:, comment:, visibility: T.unsafe(nil)); end + + # source://rbs//lib/rbs/ast/members.rb#279 + def ==(other); end + + # Returns the value of attribute annotations. + # + # source://rbs//lib/rbs/ast/members.rb#263 + def annotations; end + + # Returns the value of attribute comment. + # + # source://rbs//lib/rbs/ast/members.rb#265 + def comment; end + + # source://rbs//lib/rbs/ast/members.rb#279 + def eql?(other); end + + # source://rbs//lib/rbs/ast/members.rb#290 + def hash; end + + # Returns the value of attribute ivar_name. + # + # source://rbs//lib/rbs/ast/members.rb#262 + def ivar_name; end + + # Returns the value of attribute kind. + # + # source://rbs//lib/rbs/ast/members.rb#261 + def kind; end + + # Returns the value of attribute location. + # + # source://rbs//lib/rbs/ast/members.rb#264 + def location; end + + # Returns the value of attribute name. + # + # source://rbs//lib/rbs/ast/members.rb#259 + def name; end + + # Returns the value of attribute type. + # + # source://rbs//lib/rbs/ast/members.rb#260 + def type; end + + # source://rbs//lib/rbs/ast/members.rb#294 + def update(name: T.unsafe(nil), type: T.unsafe(nil), ivar_name: T.unsafe(nil), kind: T.unsafe(nil), annotations: T.unsafe(nil), location: T.unsafe(nil), comment: T.unsafe(nil), visibility: T.unsafe(nil)); end + + # Returns the value of attribute visibility. + # + # source://rbs//lib/rbs/ast/members.rb#266 + def visibility; end +end + +# source://rbs//lib/rbs/ast/members.rb#6 +class RBS::AST::Members::Base; end + +# source://rbs//lib/rbs/ast/members.rb#157 +class RBS::AST::Members::ClassInstanceVariable < ::RBS::AST::Members::Base + include ::RBS::AST::Members::Var + + # source://rbs//lib/rbs/ast/members.rb#160 + def to_json(state = T.unsafe(nil)); end +end + +# source://rbs//lib/rbs/ast/members.rb#171 +class RBS::AST::Members::ClassVariable < ::RBS::AST::Members::Base + include ::RBS::AST::Members::Var + + # source://rbs//lib/rbs/ast/members.rb#174 + def to_json(state = T.unsafe(nil)); end +end + +# source://rbs//lib/rbs/ast/members.rb#228 +class RBS::AST::Members::Extend < ::RBS::AST::Members::Base + include ::RBS::AST::Members::Mixin + + # source://rbs//lib/rbs/ast/members.rb#231 + def to_json(state = T.unsafe(nil)); end +end + +# source://rbs//lib/rbs/ast/members.rb#213 +class RBS::AST::Members::Include < ::RBS::AST::Members::Base + include ::RBS::AST::Members::Mixin + + # source://rbs//lib/rbs/ast/members.rb#216 + def to_json(state = T.unsafe(nil)); end +end + +# source://rbs//lib/rbs/ast/members.rb#143 +class RBS::AST::Members::InstanceVariable < ::RBS::AST::Members::Base + include ::RBS::AST::Members::Var + + # source://rbs//lib/rbs/ast/members.rb#146 + def to_json(state = T.unsafe(nil)); end +end + +# source://rbs//lib/rbs/ast/members.rb#363 +module RBS::AST::Members::LocationOnly + # source://rbs//lib/rbs/ast/members.rb#366 + def initialize(location:); end + + # source://rbs//lib/rbs/ast/members.rb#370 + def ==(other); end + + # source://rbs//lib/rbs/ast/members.rb#370 + def eql?(other); end + + # source://rbs//lib/rbs/ast/members.rb#376 + def hash; end + + # Returns the value of attribute location. + # + # source://rbs//lib/rbs/ast/members.rb#364 + def location; end +end + +# source://rbs//lib/rbs/ast/members.rb#9 +class RBS::AST::Members::MethodDefinition < ::RBS::AST::Members::Base + # @return [MethodDefinition] a new instance of MethodDefinition + # + # source://rbs//lib/rbs/ast/members.rb#53 + def initialize(name:, kind:, overloads:, annotations:, location:, comment:, overloading:, visibility:); end + + # source://rbs//lib/rbs/ast/members.rb#64 + def ==(other); end + + # Returns the value of attribute annotations. + # + # source://rbs//lib/rbs/ast/members.rb#47 + def annotations; end + + # Returns the value of attribute comment. + # + # source://rbs//lib/rbs/ast/members.rb#49 + def comment; end + + # source://rbs//lib/rbs/ast/members.rb#64 + def eql?(other); end + + # source://rbs//lib/rbs/ast/members.rb#75 + def hash; end + + # @return [Boolean] + # + # source://rbs//lib/rbs/ast/members.rb#79 + def instance?; end + + # Returns the value of attribute kind. + # + # source://rbs//lib/rbs/ast/members.rb#45 + def kind; end + + # Returns the value of attribute location. + # + # source://rbs//lib/rbs/ast/members.rb#48 + def location; end + + # Returns the value of attribute name. + # + # source://rbs//lib/rbs/ast/members.rb#44 + def name; end + + # Returns the value of attribute overloading. + # + # source://rbs//lib/rbs/ast/members.rb#50 + def overloading; end + + # @return [Boolean] + # + # source://rbs//lib/rbs/ast/members.rb#87 + def overloading?; end + + # Returns the value of attribute overloads. + # + # source://rbs//lib/rbs/ast/members.rb#46 + def overloads; end + + # @return [Boolean] + # + # source://rbs//lib/rbs/ast/members.rb#83 + def singleton?; end + + # source://rbs//lib/rbs/ast/members.rb#104 + def to_json(state = T.unsafe(nil)); end + + # source://rbs//lib/rbs/ast/members.rb#91 + def update(name: T.unsafe(nil), kind: T.unsafe(nil), overloads: T.unsafe(nil), annotations: T.unsafe(nil), location: T.unsafe(nil), comment: T.unsafe(nil), overloading: T.unsafe(nil), visibility: T.unsafe(nil)); end + + # Returns the value of attribute visibility. + # + # source://rbs//lib/rbs/ast/members.rb#51 + def visibility; end +end + +# source://rbs//lib/rbs/ast/members.rb#10 +class RBS::AST::Members::MethodDefinition::Overload + # @return [Overload] a new instance of Overload + # + # source://rbs//lib/rbs/ast/members.rb#13 + def initialize(method_type:, annotations:); end + + # source://rbs//lib/rbs/ast/members.rb#18 + def ==(other); end + + # Returns the value of attribute annotations. + # + # source://rbs//lib/rbs/ast/members.rb#11 + def annotations; end + + # source://rbs//lib/rbs/ast/members.rb#18 + def eql?(other); end + + # source://rbs//lib/rbs/ast/members.rb#22 + def hash; end + + # Returns the value of attribute method_type. + # + # source://rbs//lib/rbs/ast/members.rb#11 + def method_type; end + + # source://rbs//lib/rbs/ast/members.rb#32 + def sub(subst); end + + # source://rbs//lib/rbs/ast/members.rb#36 + def to_json(state = T.unsafe(nil)); end + + # source://rbs//lib/rbs/ast/members.rb#28 + def update(annotations: T.unsafe(nil), method_type: T.unsafe(nil)); end +end + +# source://rbs//lib/rbs/ast/members.rb#185 +module RBS::AST::Members::Mixin + # source://rbs//lib/rbs/ast/members.rb#192 + def initialize(name:, args:, annotations:, location:, comment:); end + + # source://rbs//lib/rbs/ast/members.rb#200 + def ==(other); end + + # Returns the value of attribute annotations. + # + # source://rbs//lib/rbs/ast/members.rb#188 + def annotations; end + + # Returns the value of attribute args. + # + # source://rbs//lib/rbs/ast/members.rb#187 + def args; end + + # Returns the value of attribute comment. + # + # source://rbs//lib/rbs/ast/members.rb#190 + def comment; end + + # @return [Boolean] + # + # source://rbs//lib/rbs/ast/members.rb#204 + def eql?(other); end + + # source://rbs//lib/rbs/ast/members.rb#208 + def hash; end + + # Returns the value of attribute location. + # + # source://rbs//lib/rbs/ast/members.rb#189 + def location; end + + # Returns the value of attribute name. + # + # source://rbs//lib/rbs/ast/members.rb#186 + def name; end +end + +# source://rbs//lib/rbs/ast/members.rb#243 +class RBS::AST::Members::Prepend < ::RBS::AST::Members::Base + include ::RBS::AST::Members::Mixin + + # source://rbs//lib/rbs/ast/members.rb#246 + def to_json(state = T.unsafe(nil)); end +end + +# source://rbs//lib/rbs/ast/members.rb#389 +class RBS::AST::Members::Private < ::RBS::AST::Members::Base + include ::RBS::AST::Members::LocationOnly + + # source://rbs//lib/rbs/ast/members.rb#392 + def to_json(state = T.unsafe(nil)); end +end + +# source://rbs//lib/rbs/ast/members.rb#381 +class RBS::AST::Members::Public < ::RBS::AST::Members::Base + include ::RBS::AST::Members::LocationOnly + + # source://rbs//lib/rbs/ast/members.rb#384 + def to_json(state = T.unsafe(nil)); end +end + +# source://rbs//lib/rbs/ast/members.rb#119 +module RBS::AST::Members::Var + # source://rbs//lib/rbs/ast/members.rb#125 + def initialize(name:, type:, location:, comment:); end + + # source://rbs//lib/rbs/ast/members.rb#132 + def ==(other); end + + # Returns the value of attribute comment. + # + # source://rbs//lib/rbs/ast/members.rb#123 + def comment; end + + # source://rbs//lib/rbs/ast/members.rb#132 + def eql?(other); end + + # source://rbs//lib/rbs/ast/members.rb#138 + def hash; end + + # Returns the value of attribute location. + # + # source://rbs//lib/rbs/ast/members.rb#122 + def location; end + + # Returns the value of attribute name. + # + # source://rbs//lib/rbs/ast/members.rb#120 + def name; end + + # Returns the value of attribute type. + # + # source://rbs//lib/rbs/ast/members.rb#121 + def type; end +end + +# source://rbs//lib/rbs/ast/type_param.rb#5 +class RBS::AST::TypeParam + # @return [TypeParam] a new instance of TypeParam + # + # source://rbs//lib/rbs/ast/type_param.rb#8 + def initialize(name:, variance:, upper_bound:, location:, default_type: T.unsafe(nil)); end + + # source://rbs//lib/rbs/ast/type_param.rb#33 + def ==(other); end + + # Returns the value of attribute default_type. + # + # source://rbs//lib/rbs/ast/type_param.rb#6 + def default_type; end + + # source://rbs//lib/rbs/ast/type_param.rb#33 + def eql?(other); end + + # source://rbs//lib/rbs/ast/type_param.rb#44 + def hash; end + + # Returns the value of attribute location. + # + # source://rbs//lib/rbs/ast/type_param.rb#6 + def location; end + + # source://rbs//lib/rbs/ast/type_param.rb#69 + def map_type(&block); end + + # Returns the value of attribute name. + # + # source://rbs//lib/rbs/ast/type_param.rb#6 + def name; end + + # source://rbs//lib/rbs/ast/type_param.rb#59 + def rename(name); end + + # source://rbs//lib/rbs/ast/type_param.rb#48 + def to_json(state = T.unsafe(nil)); end + + # source://rbs//lib/rbs/ast/type_param.rb#127 + def to_s; end + + # source://rbs//lib/rbs/ast/type_param.rb#24 + def unchecked!(value = T.unsafe(nil)); end + + # @return [Boolean] + # + # source://rbs//lib/rbs/ast/type_param.rb#29 + def unchecked?; end + + # source://rbs//lib/rbs/ast/type_param.rb#17 + def upper_bound; end + + # Returns the value of attribute upper_bound_type. + # + # source://rbs//lib/rbs/ast/type_param.rb#6 + def upper_bound_type; end + + # Returns the value of attribute variance. + # + # source://rbs//lib/rbs/ast/type_param.rb#6 + def variance; end + + class << self + # source://rbs//lib/rbs/ast/type_param.rb#156 + def application(params, args); end + + # source://rbs//lib/rbs/ast/type_param.rb#188 + def normalize_args(params, args); end + + # source://rbs//lib/rbs/ast/type_param.rb#109 + def rename(params, new_names:); end + + # source://rbs//lib/rbs/ast/type_param.rb#87 + def resolve_variables(params); end + + # source://rbs//lib/rbs/ast/type_param.rb#97 + def subst_var(vars, type); end + + # source://rbs//lib/rbs/ast/type_param.rb#209 + def validate(type_params); end + end +end + +# The Visitor class implements the Visitor pattern for traversing the RBS Abstract Syntax Tree (AST). +# +# It provides methods to visit each type of node in the AST, allowing for custom processing of each node type. +# +# This class is designed to be subclassed, with specific visit methods overridden to implement custom behavior for +# different node types. +# +# Example usage: +# +# ~~~rb +# class MyVisitor < RBS::AST::Visitor +# def visit_declaration_class(node) +# puts "Visiting class: #{node.name}" +# +# super # call `super` to run the default visiting behavior +# end +# end +# +# visitor = MyVisitor.new +# visitor.visit(ast_node) +# ~~~ +# +# source://rbs//lib/rbs/ast/visitor.rb#26 +class RBS::AST::Visitor + # source://rbs//lib/rbs/ast/visitor.rb#27 + def visit(node); end + + # source://rbs//lib/rbs/ast/visitor.rb#70 + def visit_all(nodes); end + + # source://rbs//lib/rbs/ast/visitor.rb#79 + def visit_declaration_class(node); end + + # source://rbs//lib/rbs/ast/visitor.rb#87 + def visit_declaration_constant(node); end + + # source://rbs//lib/rbs/ast/visitor.rb#76 + def visit_declaration_global(node); end + + # source://rbs//lib/rbs/ast/visitor.rb#93 + def visit_declaration_interface(node); end + + # source://rbs//lib/rbs/ast/visitor.rb#83 + def visit_declaration_module(node); end + + # source://rbs//lib/rbs/ast/visitor.rb#90 + def visit_declaration_type_alias(node); end + + # source://rbs//lib/rbs/ast/visitor.rb#97 + def visit_member_alias(node); end + + # source://rbs//lib/rbs/ast/visitor.rb#124 + def visit_member_attr_accessor(node); end + + # source://rbs//lib/rbs/ast/visitor.rb#118 + def visit_member_attr_reader(node); end + + # source://rbs//lib/rbs/ast/visitor.rb#121 + def visit_member_attr_writer(node); end + + # source://rbs//lib/rbs/ast/visitor.rb#100 + def visit_member_class_instance_variable(node); end + + # source://rbs//lib/rbs/ast/visitor.rb#103 + def visit_member_class_variable(node); end + + # source://rbs//lib/rbs/ast/visitor.rb#133 + def visit_member_extend(node); end + + # source://rbs//lib/rbs/ast/visitor.rb#127 + def visit_member_include(node); end + + # source://rbs//lib/rbs/ast/visitor.rb#106 + def visit_member_instance_variable(node); end + + # source://rbs//lib/rbs/ast/visitor.rb#115 + def visit_member_method_definition(node); end + + # source://rbs//lib/rbs/ast/visitor.rb#130 + def visit_member_prepend(node); end + + # source://rbs//lib/rbs/ast/visitor.rb#109 + def visit_member_private(node); end + + # source://rbs//lib/rbs/ast/visitor.rb#112 + def visit_member_public(node); end +end + +# source://rbs//lib/rbs/ancestor_graph.rb#4 +class RBS::AncestorGraph + # @return [AncestorGraph] a new instance of AncestorGraph + # + # source://rbs//lib/rbs/ancestor_graph.rb#13 + def initialize(env:, ancestor_builder: T.unsafe(nil)); end + + # Returns the value of attribute ancestor_builder. + # + # source://rbs//lib/rbs/ancestor_graph.rb#9 + def ancestor_builder; end + + # source://rbs//lib/rbs/ancestor_graph.rb#19 + def build; end + + # source://rbs//lib/rbs/ancestor_graph.rb#32 + def build_ancestors(node, ancestors); end + + # Returns the value of attribute children. + # + # source://rbs//lib/rbs/ancestor_graph.rb#11 + def children; end + + # source://rbs//lib/rbs/ancestor_graph.rb#64 + def each_ancestor(node, yielded: T.unsafe(nil), &block); end + + # source://rbs//lib/rbs/ancestor_graph.rb#56 + def each_child(node, &block); end + + # source://rbs//lib/rbs/ancestor_graph.rb#78 + def each_descendant(node, yielded: T.unsafe(nil), &block); end + + # source://rbs//lib/rbs/ancestor_graph.rb#48 + def each_parent(node, &block); end + + # Returns the value of attribute env. + # + # source://rbs//lib/rbs/ancestor_graph.rb#8 + def env; end + + # Returns the value of attribute parents. + # + # source://rbs//lib/rbs/ancestor_graph.rb#10 + def parents; end + + # source://rbs//lib/rbs/ancestor_graph.rb#43 + def register(parent:, child:); end +end + +# source://rbs//lib/rbs/ancestor_graph.rb#5 +class RBS::AncestorGraph::InstanceNode < ::Struct + def type_name; end + def type_name=(_); end + + class << self + def [](*_arg0); end + def inspect; end + def keyword_init?; end + def members; end + def new(*_arg0); end + end +end + +# source://rbs//lib/rbs/ancestor_graph.rb#6 +class RBS::AncestorGraph::SingletonNode < ::Struct + def type_name; end + def type_name=(_); end + + class << self + def [](*_arg0); end + def inspect; end + def keyword_init?; end + def members; end + def new(*_arg0); end + end +end + +# source://rbs//lib/rbs/errors.rb#19 +class RBS::BaseError < ::StandardError; end + +# source://rbs//lib/rbs/buffer.rb#4 +class RBS::Buffer + # @return [Buffer] a new instance of Buffer + # + # source://rbs//lib/rbs/buffer.rb#8 + def initialize(name:, content:); end + + # Returns the value of attribute content. + # + # source://rbs//lib/rbs/buffer.rb#6 + def content; end + + # source://rbs//lib/rbs/buffer.rb#63 + def inspect; end + + # source://rbs//lib/rbs/buffer.rb#59 + def last_position; end + + # source://rbs//lib/rbs/buffer.rb#13 + def lines; end + + # source://rbs//lib/rbs/buffer.rb#49 + def loc_to_pos(loc); end + + # Returns the value of attribute name. + # + # source://rbs//lib/rbs/buffer.rb#5 + def name; end + + # source://rbs//lib/rbs/buffer.rb#37 + def pos_to_loc(pos); end + + # source://rbs//lib/rbs/buffer.rb#17 + def ranges; end +end + +# source://rbs//lib/rbs/builtin_names.rb#4 +module RBS::BuiltinNames; end + +# source://rbs//lib/rbs/builtin_names.rb#45 +RBS::BuiltinNames::Array = T.let(T.unsafe(nil), RBS::BuiltinNames::Name) + +# source://rbs//lib/rbs/builtin_names.rb#37 +RBS::BuiltinNames::BasicObject = T.let(T.unsafe(nil), RBS::BuiltinNames::Name) + +# source://rbs//lib/rbs/builtin_names.rb#43 +RBS::BuiltinNames::Class = T.let(T.unsafe(nil), RBS::BuiltinNames::Name) + +# source://rbs//lib/rbs/builtin_names.rb#41 +RBS::BuiltinNames::Comparable = T.let(T.unsafe(nil), RBS::BuiltinNames::Name) + +# source://rbs//lib/rbs/builtin_names.rb#42 +RBS::BuiltinNames::Enumerable = T.let(T.unsafe(nil), RBS::BuiltinNames::Name) + +# source://rbs//lib/rbs/builtin_names.rb#48 +RBS::BuiltinNames::Enumerator = T.let(T.unsafe(nil), RBS::BuiltinNames::Name) + +# source://rbs//lib/rbs/builtin_names.rb#55 +RBS::BuiltinNames::FalseClass = T.let(T.unsafe(nil), RBS::BuiltinNames::Name) + +# source://rbs//lib/rbs/builtin_names.rb#52 +RBS::BuiltinNames::Float = T.let(T.unsafe(nil), RBS::BuiltinNames::Name) + +# source://rbs//lib/rbs/builtin_names.rb#46 +RBS::BuiltinNames::Hash = T.let(T.unsafe(nil), RBS::BuiltinNames::Name) + +# source://rbs//lib/rbs/builtin_names.rb#51 +RBS::BuiltinNames::Integer = T.let(T.unsafe(nil), RBS::BuiltinNames::Name) + +# source://rbs//lib/rbs/builtin_names.rb#39 +RBS::BuiltinNames::Kernel = T.let(T.unsafe(nil), RBS::BuiltinNames::Name) + +# source://rbs//lib/rbs/builtin_names.rb#44 +RBS::BuiltinNames::Module = T.let(T.unsafe(nil), RBS::BuiltinNames::Name) + +# source://rbs//lib/rbs/builtin_names.rb#5 +class RBS::BuiltinNames::Name + # @return [Name] a new instance of Name + # + # source://rbs//lib/rbs/builtin_names.rb#8 + def initialize(name:); end + + # source://rbs//lib/rbs/builtin_names.rb#16 + def instance_type(*args); end + + # @return [Boolean] + # + # source://rbs//lib/rbs/builtin_names.rb#20 + def instance_type?(type); end + + # Returns the value of attribute name. + # + # source://rbs//lib/rbs/builtin_names.rb#6 + def name; end + + # source://rbs//lib/rbs/builtin_names.rb#24 + def singleton_type; end + + # @return [Boolean] + # + # source://rbs//lib/rbs/builtin_names.rb#28 + def singleton_type?(type); end + + # source://rbs//lib/rbs/builtin_names.rb#12 + def to_s; end + + class << self + # source://rbs//lib/rbs/builtin_names.rb#32 + def define(name, namespace: T.unsafe(nil)); end + end +end + +# source://rbs//lib/rbs/builtin_names.rb#56 +RBS::BuiltinNames::Numeric = T.let(T.unsafe(nil), RBS::BuiltinNames::Name) + +# source://rbs//lib/rbs/builtin_names.rb#38 +RBS::BuiltinNames::Object = T.let(T.unsafe(nil), RBS::BuiltinNames::Name) + +# source://rbs//lib/rbs/builtin_names.rb#47 +RBS::BuiltinNames::Range = T.let(T.unsafe(nil), RBS::BuiltinNames::Name) + +# source://rbs//lib/rbs/builtin_names.rb#53 +RBS::BuiltinNames::Regexp = T.let(T.unsafe(nil), RBS::BuiltinNames::Name) + +# source://rbs//lib/rbs/builtin_names.rb#49 +RBS::BuiltinNames::Set = T.let(T.unsafe(nil), RBS::BuiltinNames::Name) + +# source://rbs//lib/rbs/builtin_names.rb#40 +RBS::BuiltinNames::String = T.let(T.unsafe(nil), RBS::BuiltinNames::Name) + +# source://rbs//lib/rbs/builtin_names.rb#50 +RBS::BuiltinNames::Symbol = T.let(T.unsafe(nil), RBS::BuiltinNames::Name) + +# source://rbs//lib/rbs/builtin_names.rb#54 +RBS::BuiltinNames::TrueClass = T.let(T.unsafe(nil), RBS::BuiltinNames::Name) + +# source://rbs//lib/rbs/cli/colored_io.rb#4 +class RBS::CLI; end + +# source://rbs//lib/rbs/cli/colored_io.rb#5 +class RBS::CLI::ColoredIO + # @return [ColoredIO] a new instance of ColoredIO + # + # source://rbs//lib/rbs/cli/colored_io.rb#8 + def initialize(stdout:); end + + # source://rbs//lib/rbs/cli/colored_io.rb#28 + def puts(*_arg0, **_arg1, &_arg2); end + + # source://rbs//lib/rbs/cli/colored_io.rb#20 + def puts_green(string); end + + # source://rbs//lib/rbs/cli/colored_io.rb#12 + def puts_red(string); end + + # Returns the value of attribute stdout. + # + # source://rbs//lib/rbs/cli/colored_io.rb#6 + def stdout; end + + private + + # @return [Boolean] + # + # source://rbs//lib/rbs/cli/colored_io.rb#43 + def are_colors_disabled?; end + + # @return [Boolean] + # + # source://rbs//lib/rbs/cli/colored_io.rb#39 + def are_colors_supported?; end + + # https://github.com/rubygems/rubygems/blob/ed65279100234a17d65d71fe26de5083984ac5b8/bundler/lib/bundler/vendor/thor/lib/thor/shell/color.rb#L99-L109 + # + # @return [Boolean] + # + # source://rbs//lib/rbs/cli/colored_io.rb#35 + def can_display_colors?; end +end + +# source://rbs//lib/rbs/collection/sources/base.rb#4 +module RBS::Collection; end + +# source://rbs//lib/rbs/collection/cleaner.rb#5 +class RBS::Collection::Cleaner + # @return [Cleaner] a new instance of Cleaner + # + # source://rbs//lib/rbs/collection/cleaner.rb#8 + def initialize(lockfile_path:); end + + # source://rbs//lib/rbs/collection/cleaner.rb#12 + def clean; end + + # Returns the value of attribute lock. + # + # source://rbs//lib/rbs/collection/cleaner.rb#6 + def lock; end + + # @return [Boolean] + # + # source://rbs//lib/rbs/collection/cleaner.rb#30 + def needed?(gem_name, version); end +end + +# This class represent the configuration file. +# +# source://rbs//lib/rbs/collection/config.rb#7 +class RBS::Collection::Config + # @return [Config] a new instance of Config + # + # source://rbs//lib/rbs/collection/config.rb#49 + def initialize(data, config_path:); end + + # Returns the value of attribute config_path. + # + # source://rbs//lib/rbs/collection/config.rb#19 + def config_path; end + + # Returns the value of attribute data. + # + # source://rbs//lib/rbs/collection/config.rb#19 + def data; end + + # source://rbs//lib/rbs/collection/config.rb#54 + def gem(gem_name); end + + # source://rbs//lib/rbs/collection/config.rb#74 + def gems; end + + # source://rbs//lib/rbs/collection/config.rb#58 + def repo_path; end + + # source://rbs//lib/rbs/collection/config.rb#62 + def repo_path_data; end + + # source://rbs//lib/rbs/collection/config.rb#66 + def sources; end + + class << self + # source://rbs//lib/rbs/collection/config.rb#21 + def find_config_path; end + + # source://rbs//lib/rbs/collection/config.rb#41 + def from_path(path); end + + # Generate a rbs lockfile from Gemfile.lock to `config_path`. + # If `with_lockfile` is true, it respects existing rbs lockfile. + # + # source://rbs//lib/rbs/collection/config.rb#34 + def generate_lockfile(config_path:, definition:, with_lockfile: T.unsafe(nil)); end + + # source://rbs//lib/rbs/collection/config.rb#45 + def to_lockfile_path(config_path); end + end +end + +# source://rbs//lib/rbs/collection/config.rb#8 +class RBS::Collection::Config::CollectionNotAvailable < ::StandardError + # @return [CollectionNotAvailable] a new instance of CollectionNotAvailable + # + # source://rbs//lib/rbs/collection/config.rb#9 + def initialize; end +end + +# source://rbs//lib/rbs/collection/config/lockfile.rb#6 +class RBS::Collection::Config::Lockfile + # @return [Lockfile] a new instance of Lockfile + # + # source://rbs//lib/rbs/collection/config/lockfile.rb#9 + def initialize(lockfile_path:, path:, gemfile_lock_path:); end + + # @raise [CollectionNotAvailable] + # + # source://rbs//lib/rbs/collection/config/lockfile.rb#73 + def check_rbs_availability!; end + + # source://rbs//lib/rbs/collection/config/lockfile.rb#18 + def fullpath; end + + # source://rbs//lib/rbs/collection/config/lockfile.rb#22 + def gemfile_lock_fullpath; end + + # Returns the value of attribute gemfile_lock_path. + # + # source://rbs//lib/rbs/collection/config/lockfile.rb#7 + def gemfile_lock_path; end + + # Returns the value of attribute gems. + # + # source://rbs//lib/rbs/collection/config/lockfile.rb#7 + def gems; end + + # source://rbs//lib/rbs/collection/config/lockfile.rb#65 + def library_data(lib); end + + # Returns the value of attribute lockfile_dir. + # + # source://rbs//lib/rbs/collection/config/lockfile.rb#7 + def lockfile_dir; end + + # Returns the value of attribute lockfile_path. + # + # source://rbs//lib/rbs/collection/config/lockfile.rb#7 + def lockfile_path; end + + # Returns the value of attribute path. + # + # source://rbs//lib/rbs/collection/config/lockfile.rb#7 + def path; end + + # Returns the value of attribute sources. + # + # source://rbs//lib/rbs/collection/config/lockfile.rb#7 + def sources; end + + # source://rbs//lib/rbs/collection/config/lockfile.rb#28 + def to_lockfile; end + + class << self + # source://rbs//lib/rbs/collection/config/lockfile.rb#42 + def from_lockfile(lockfile_path:, data:); end + end +end + +# source://rbs//lib/rbs/collection/config/lockfile_generator.rb#6 +class RBS::Collection::Config::LockfileGenerator + # @return [LockfileGenerator] a new instance of LockfileGenerator + # + # source://rbs//lib/rbs/collection/config/lockfile_generator.rb#33 + def initialize(config:, definition:, with_lockfile:); end + + # Returns the value of attribute config. + # + # source://rbs//lib/rbs/collection/config/lockfile_generator.rb#25 + def config; end + + # Returns the value of attribute definition. + # + # source://rbs//lib/rbs/collection/config/lockfile_generator.rb#25 + def definition; end + + # Returns the value of attribute existing_lockfile. + # + # source://rbs//lib/rbs/collection/config/lockfile_generator.rb#25 + def existing_lockfile; end + + # Returns the value of attribute gem_entries. + # + # source://rbs//lib/rbs/collection/config/lockfile_generator.rb#25 + def gem_entries; end + + # Returns the value of attribute gem_hash. + # + # source://rbs//lib/rbs/collection/config/lockfile_generator.rb#25 + def gem_hash; end + + # source://rbs//lib/rbs/collection/config/lockfile_generator.rb#61 + def generate; end + + # Returns the value of attribute lockfile. + # + # source://rbs//lib/rbs/collection/config/lockfile_generator.rb#25 + def lockfile; end + + private + + # source://rbs//lib/rbs/collection/config/lockfile_generator.rb#94 + def assign_gem(name:, version:, skip: T.unsafe(nil)); end + + # source://rbs//lib/rbs/collection/config/lockfile_generator.rb#160 + def assign_stdlib(name:, from_gem: T.unsafe(nil)); end + + # source://rbs//lib/rbs/collection/config/lockfile_generator.rb#213 + def find_best_version(version:, versions:); end + + # source://rbs//lib/rbs/collection/config/lockfile_generator.rb#207 + def find_source(name:); end + + # source://rbs//lib/rbs/collection/config/lockfile_generator.rb#86 + def validate_gemfile_lock_path!(lock:, gemfile_lock_path:); end + + class << self + # source://rbs//lib/rbs/collection/config/lockfile_generator.rb#27 + def generate(config:, definition:, with_lockfile: T.unsafe(nil)); end + end +end + +# source://rbs//lib/rbs/collection/config/lockfile_generator.rb#7 +RBS::Collection::Config::LockfileGenerator::ALUMNI_STDLIBS = T.let(T.unsafe(nil), Hash) + +# source://rbs//lib/rbs/collection/config/lockfile_generator.rb#9 +class RBS::Collection::Config::LockfileGenerator::GemfileLockMismatchError < ::StandardError + # @return [GemfileLockMismatchError] a new instance of GemfileLockMismatchError + # + # source://rbs//lib/rbs/collection/config/lockfile_generator.rb#10 + def initialize(expected:, actual:); end + + # source://rbs//lib/rbs/collection/config/lockfile_generator.rb#15 + def message; end +end + +# source://rbs//lib/rbs/collection/config.rb#17 +RBS::Collection::Config::PATH = T.let(T.unsafe(nil), Pathname) + +# source://rbs//lib/rbs/collection/installer.rb#5 +class RBS::Collection::Installer + # @return [Installer] a new instance of Installer + # + # source://rbs//lib/rbs/collection/installer.rb#9 + def initialize(lockfile_path:, stdout: T.unsafe(nil)); end + + # source://rbs//lib/rbs/collection/installer.rb#14 + def install_from_lockfile; end + + # Returns the value of attribute lockfile. + # + # source://rbs//lib/rbs/collection/installer.rb#6 + def lockfile; end + + # Returns the value of attribute stdout. + # + # source://rbs//lib/rbs/collection/installer.rb#7 + def stdout; end +end + +# source://rbs//lib/rbs/collection/sources/base.rb#5 +module RBS::Collection::Sources + class << self + # source://rbs//lib/rbs/collection/sources.rb#12 + def from_config_entry(source_entry, base_directory:); end + end +end + +# source://rbs//lib/rbs/collection/sources/base.rb#6 +module RBS::Collection::Sources::Base + # source://rbs//lib/rbs/collection/sources/base.rb#7 + def dependencies_of(name, version); end +end + +# source://rbs//lib/rbs/collection/sources/git.rb#10 +class RBS::Collection::Sources::Git + include ::RBS::Collection::Sources::Base + + # @return [Git] a new instance of Git + # + # source://rbs//lib/rbs/collection/sources/git.rb#18 + def initialize(name:, revision:, remote:, repo_dir:); end + + # @return [Boolean] + # + # source://rbs//lib/rbs/collection/sources/git.rb#26 + def has?(name, version); end + + # source://rbs//lib/rbs/collection/sources/git.rb#43 + def install(dest:, name:, version:, stdout:); end + + # source://rbs//lib/rbs/collection/sources/git.rb#223 + def load_metadata(dir:); end + + # source://rbs//lib/rbs/collection/sources/git.rb#73 + def manifest_of(name, version); end + + # source://rbs//lib/rbs/collection/sources/git.rb#207 + def metadata_content(name:, version:); end + + # Returns the value of attribute name. + # + # source://rbs//lib/rbs/collection/sources/git.rb#16 + def name; end + + # Returns the value of attribute remote. + # + # source://rbs//lib/rbs/collection/sources/git.rb#16 + def remote; end + + # Returns the value of attribute repo_dir. + # + # source://rbs//lib/rbs/collection/sources/git.rb#16 + def repo_dir; end + + # source://rbs//lib/rbs/collection/sources/git.rb#172 + def resolved_revision; end + + # Returns the value of attribute revision. + # + # source://rbs//lib/rbs/collection/sources/git.rb#16 + def revision; end + + # source://rbs//lib/rbs/collection/sources/git.rb#113 + def to_lockfile; end + + # source://rbs//lib/rbs/collection/sources/git.rb#36 + def versions(name); end + + # source://rbs//lib/rbs/collection/sources/git.rb#215 + def write_metadata(dir:, name:, version:); end + + private + + # source://rbs//lib/rbs/collection/sources/git.rb#87 + def _install(dest:, name:, version:); end + + # @return [Boolean] + # + # source://rbs//lib/rbs/collection/sources/git.rb#183 + def commit_hash?; end + + # source://rbs//lib/rbs/collection/sources/git.rb#99 + def cp_r(src, dest); end + + # source://rbs//lib/rbs/collection/sources/git.rb#123 + def format_config_entry(name, version); end + + # source://rbs//lib/rbs/collection/sources/git.rb#168 + def gem_repo_dir; end + + # source://rbs//lib/rbs/collection/sources/git.rb#229 + def gems_versions; end + + # source://rbs//lib/rbs/collection/sources/git.rb#187 + def git(*cmd, **opt); end + + # @return [Boolean] + # + # source://rbs//lib/rbs/collection/sources/git.rb#191 + def git?(*cmd, **opt); end + + # source://rbs//lib/rbs/collection/sources/git.rb#158 + def git_dir; end + + # @return [Boolean] + # + # source://rbs//lib/rbs/collection/sources/git.rb#152 + def need_to_fetch?(revision); end + + # source://rbs//lib/rbs/collection/sources/git.rb#130 + def setup!; end + + # source://rbs//lib/rbs/collection/sources/git.rb#197 + def sh!(*cmd, **opt); end +end + +# source://rbs//lib/rbs/collection/sources/git.rb#14 +class RBS::Collection::Sources::Git::CommandError < ::StandardError; end + +# source://rbs//lib/rbs/collection/sources/git.rb#12 +RBS::Collection::Sources::Git::METADATA_FILENAME = T.let(T.unsafe(nil), String) + +# source://rbs//lib/rbs/collection/sources/local.rb#6 +class RBS::Collection::Sources::Local + include ::RBS::Collection::Sources::Base + + # @return [Local] a new instance of Local + # + # source://rbs//lib/rbs/collection/sources/local.rb#11 + def initialize(path:, base_directory:); end + + # Returns the value of attribute full_path. + # + # source://rbs//lib/rbs/collection/sources/local.rb#9 + def full_path; end + + # @return [Boolean] + # + # source://rbs//lib/rbs/collection/sources/local.rb#17 + def has?(name, version); end + + # Create a symlink instead of copying file to refer files in @path. + # By avoiding copying RBS files, the users do not need re-run `rbs collection install` + # when the RBS files are updated. + # + # source://rbs//lib/rbs/collection/sources/local.rb#32 + def install(dest:, name:, version:, stdout:); end + + # source://rbs//lib/rbs/collection/sources/local.rb#64 + def manifest_of(name, version); end + + # Returns the value of attribute path. + # + # source://rbs//lib/rbs/collection/sources/local.rb#9 + def path; end + + # source://rbs//lib/rbs/collection/sources/local.rb#72 + def to_lockfile; end + + # source://rbs//lib/rbs/collection/sources/local.rb#25 + def versions(name); end + + private + + # source://rbs//lib/rbs/collection/sources/local.rb#59 + def _install(src, dst); end +end + +# Signatures that are inclduded in gem package as sig/ directory. +# +# source://rbs//lib/rbs/collection/sources/rubygems.rb#9 +class RBS::Collection::Sources::Rubygems + include ::RBS::Collection::Sources::Base + include ::Singleton + extend ::Singleton::SingletonClassMethods + + # @return [Boolean] + # + # source://rbs//lib/rbs/collection/sources/rubygems.rb#13 + def has?(name, version); end + + # source://rbs//lib/rbs/collection/sources/rubygems.rb#23 + def install(dest:, name:, version:, stdout:); end + + # source://rbs//lib/rbs/collection/sources/rubygems.rb#29 + def manifest_of(name, version); end + + # source://rbs//lib/rbs/collection/sources/rubygems.rb#36 + def to_lockfile; end + + # source://rbs//lib/rbs/collection/sources/rubygems.rb#17 + def versions(name); end + + private + + # source://rbs//lib/rbs/collection/sources/rubygems.rb#42 + def gem_sig_path(name, version); end + + class << self + private + + def allocate; end + def new(*_arg0); end + end +end + +# signatures that are bundled in rbs gem under the stdlib/ directory +# +# source://rbs//lib/rbs/collection/sources/stdlib.rb#9 +class RBS::Collection::Sources::Stdlib + include ::RBS::Collection::Sources::Base + include ::Singleton + extend ::Singleton::SingletonClassMethods + + # @return [Boolean] + # + # source://rbs//lib/rbs/collection/sources/stdlib.rb#15 + def has?(name, version); end + + # source://rbs//lib/rbs/collection/sources/stdlib.rb#23 + def install(dest:, name:, version:, stdout:); end + + # source://rbs//lib/rbs/collection/sources/stdlib.rb#29 + def manifest_of(name, version); end + + # source://rbs//lib/rbs/collection/sources/stdlib.rb#38 + def to_lockfile; end + + # source://rbs//lib/rbs/collection/sources/stdlib.rb#19 + def versions(name); end + + private + + # source://rbs//lib/rbs/collection/sources/stdlib.rb#44 + def lookup(name, version); end + + class << self + private + + def allocate; end + def new(*_arg0); end + end +end + +# source://rbs//lib/rbs/collection/sources/stdlib.rb#13 +RBS::Collection::Sources::Stdlib::REPO = T.let(T.unsafe(nil), RBS::Repository) + +# source://rbs//lib/rbs/constant.rb#4 +class RBS::Constant + # @return [Constant] a new instance of Constant + # + # source://rbs//lib/rbs/constant.rb#9 + def initialize(name:, type:, entry:); end + + # source://rbs//lib/rbs/constant.rb#15 + def ==(other); end + + # Returns the value of attribute entry. + # + # source://rbs//lib/rbs/constant.rb#7 + def entry; end + + # source://rbs//lib/rbs/constant.rb#15 + def eql?(other); end + + # source://rbs//lib/rbs/constant.rb#24 + def hash; end + + # Returns the value of attribute name. + # + # source://rbs//lib/rbs/constant.rb#5 + def name; end + + # Returns the value of attribute type. + # + # source://rbs//lib/rbs/constant.rb#6 + def type; end +end + +# source://rbs//lib/rbs/errors.rb#553 +class RBS::CyclicClassAliasDefinitionError < ::RBS::BaseError + include ::RBS::DetailedMessageable + + # @return [CyclicClassAliasDefinitionError] a new instance of CyclicClassAliasDefinitionError + # + # source://rbs//lib/rbs/errors.rb#558 + def initialize(entry); end + + # Returns the value of attribute alias_entry. + # + # source://rbs//lib/rbs/errors.rb#556 + def alias_entry; end + + # source://rbs//lib/rbs/errors.rb#564 + def location; end +end + +# source://rbs//lib/rbs/errors.rb#514 +class RBS::CyclicTypeParameterBound < ::RBS::BaseError + include ::RBS::DetailedMessageable + + # @return [CyclicTypeParameterBound] a new instance of CyclicTypeParameterBound + # + # source://rbs//lib/rbs/errors.rb#519 + def initialize(type_name:, method_name:, params:, location:); end + + # Returns the value of attribute location. + # + # source://rbs//lib/rbs/errors.rb#517 + def location; end + + # Returns the value of attribute method_name. + # + # source://rbs//lib/rbs/errors.rb#517 + def method_name; end + + # Returns the value of attribute params. + # + # source://rbs//lib/rbs/errors.rb#517 + def params; end + + # Returns the value of attribute type_name. + # + # source://rbs//lib/rbs/errors.rb#517 + def type_name; end +end + +# source://rbs//lib/rbs/definition.rb#4 +class RBS::Definition + # @return [Definition] a new instance of Definition + # + # source://rbs//lib/rbs/definition.rb#284 + def initialize(type_name:, entry:, self_type:, ancestors:); end + + # Returns the value of attribute ancestors. + # + # source://rbs//lib/rbs/definition.rb#278 + def ancestors; end + + # @return [Boolean] + # + # source://rbs//lib/rbs/definition.rb#307 + def class?; end + + # @return [Boolean] + # + # source://rbs//lib/rbs/definition.rb#324 + def class_type?; end + + # Returns the value of attribute class_variables. + # + # source://rbs//lib/rbs/definition.rb#282 + def class_variables; end + + # source://rbs//lib/rbs/definition.rb#369 + def each_type(&block); end + + # Returns the value of attribute entry. + # + # source://rbs//lib/rbs/definition.rb#277 + def entry; end + + # @return [Boolean] + # + # source://rbs//lib/rbs/definition.rb#328 + def instance_type?; end + + # Returns the value of attribute instance_variables. + # + # source://rbs//lib/rbs/definition.rb#281 + def instance_variables; end + + # @return [Boolean] + # + # source://rbs//lib/rbs/definition.rb#315 + def interface?; end + + # @return [Boolean] + # + # source://rbs//lib/rbs/definition.rb#332 + def interface_type?; end + + # source://rbs//lib/rbs/definition.rb#359 + def map_method_type(&block); end + + # Returns the value of attribute methods. + # + # source://rbs//lib/rbs/definition.rb#280 + def methods; end + + # @return [Boolean] + # + # source://rbs//lib/rbs/definition.rb#311 + def module?; end + + # Returns the value of attribute self_type. + # + # source://rbs//lib/rbs/definition.rb#279 + def self_type; end + + # source://rbs//lib/rbs/definition.rb#349 + def sub(s); end + + # Returns the value of attribute type_name. + # + # source://rbs//lib/rbs/definition.rb#276 + def type_name; end + + # source://rbs//lib/rbs/definition.rb#336 + def type_params; end + + # source://rbs//lib/rbs/definition.rb#340 + def type_params_decl; end +end + +# source://rbs//lib/rbs/definition.rb#191 +module RBS::Definition::Ancestor; end + +# source://rbs//lib/rbs/definition.rb#192 +class RBS::Definition::Ancestor::Instance + # @return [Instance] a new instance of Instance + # + # source://rbs//lib/rbs/definition.rb#195 + def initialize(name:, args:, source:); end + + # source://rbs//lib/rbs/definition.rb#201 + def ==(other); end + + # Returns the value of attribute args. + # + # source://rbs//lib/rbs/definition.rb#193 + def args; end + + # source://rbs//lib/rbs/definition.rb#201 + def eql?(other); end + + # source://rbs//lib/rbs/definition.rb#207 + def hash; end + + # Returns the value of attribute name. + # + # source://rbs//lib/rbs/definition.rb#193 + def name; end + + # Returns the value of attribute source. + # + # source://rbs//lib/rbs/definition.rb#193 + def source; end +end + +# source://rbs//lib/rbs/definition.rb#212 +class RBS::Definition::Ancestor::Singleton + # @return [Singleton] a new instance of Singleton + # + # source://rbs//lib/rbs/definition.rb#215 + def initialize(name:); end + + # source://rbs//lib/rbs/definition.rb#219 + def ==(other); end + + # source://rbs//lib/rbs/definition.rb#219 + def eql?(other); end + + # source://rbs//lib/rbs/definition.rb#225 + def hash; end + + # Returns the value of attribute name. + # + # source://rbs//lib/rbs/definition.rb#213 + def name; end +end + +# source://rbs//lib/rbs/definition.rb#231 +class RBS::Definition::InstanceAncestors + # @return [InstanceAncestors] a new instance of InstanceAncestors + # + # source://rbs//lib/rbs/definition.rb#236 + def initialize(type_name:, params:, ancestors:); end + + # Returns the value of attribute ancestors. + # + # source://rbs//lib/rbs/definition.rb#234 + def ancestors; end + + # source://rbs//lib/rbs/definition.rb#242 + def apply(args, env:, location:); end + + # Returns the value of attribute params. + # + # source://rbs//lib/rbs/definition.rb#233 + def params; end + + # Returns the value of attribute type_name. + # + # source://rbs//lib/rbs/definition.rb#232 + def type_name; end +end + +# source://rbs//lib/rbs/definition.rb#25 +class RBS::Definition::Method + # @return [Method] a new instance of Method + # + # source://rbs//lib/rbs/definition.rb#83 + def initialize(super_method:, defs:, accessibility:, alias_of:, annotations: T.unsafe(nil)); end + + # source://rbs//lib/rbs/definition.rb#91 + def ==(other); end + + # Returns the value of attribute accessibility. + # + # source://rbs//lib/rbs/definition.rb#79 + def accessibility; end + + # Returns the value of attribute alias_of. + # + # source://rbs//lib/rbs/definition.rb#81 + def alias_of; end + + # source://rbs//lib/rbs/definition.rb#128 + def annotations; end + + # source://rbs//lib/rbs/definition.rb#124 + def comments; end + + # source://rbs//lib/rbs/definition.rb#106 + def defined_in; end + + # Returns the value of attribute defs. + # + # source://rbs//lib/rbs/definition.rb#78 + def defs; end + + # source://rbs//lib/rbs/definition.rb#91 + def eql?(other); end + + # Returns the value of attribute extra_annotations. + # + # source://rbs//lib/rbs/definition.rb#80 + def extra_annotations; end + + # source://rbs//lib/rbs/definition.rb#102 + def hash; end + + # source://rbs//lib/rbs/definition.rb#113 + def implemented_in; end + + # source://rbs//lib/rbs/definition.rb#171 + def map_method_type(&block); end + + # source://rbs//lib/rbs/definition.rb#153 + def map_type(&block); end + + # source://rbs//lib/rbs/definition.rb#162 + def map_type_bound(&block); end + + # source://rbs//lib/rbs/definition.rb#132 + def members; end + + # source://rbs//lib/rbs/definition.rb#120 + def method_types; end + + # @return [Boolean] + # + # source://rbs//lib/rbs/definition.rb#140 + def private?; end + + # @return [Boolean] + # + # source://rbs//lib/rbs/definition.rb#136 + def public?; end + + # source://rbs//lib/rbs/definition.rb#144 + def sub(s); end + + # Returns the value of attribute super_method. + # + # source://rbs//lib/rbs/definition.rb#77 + def super_method; end + + # source://rbs//lib/rbs/definition.rb#180 + def update(super_method: T.unsafe(nil), defs: T.unsafe(nil), accessibility: T.unsafe(nil), alias_of: T.unsafe(nil), annotations: T.unsafe(nil)); end +end + +# source://rbs//lib/rbs/definition.rb#26 +class RBS::Definition::Method::TypeDef + # @return [TypeDef] a new instance of TypeDef + # + # source://rbs//lib/rbs/definition.rb#35 + def initialize(type:, member:, defined_in:, implemented_in:, overload_annotations: T.unsafe(nil)); end + + # source://rbs//lib/rbs/definition.rb#45 + def ==(other); end + + # Returns the value of attribute annotations. + # + # source://rbs//lib/rbs/definition.rb#33 + def annotations; end + + # source://rbs//lib/rbs/definition.rb#59 + def comment; end + + # Returns the value of attribute defined_in. + # + # source://rbs//lib/rbs/definition.rb#29 + def defined_in; end + + # source://rbs//lib/rbs/definition.rb#45 + def eql?(other); end + + # source://rbs//lib/rbs/definition.rb#55 + def hash; end + + # Returns the value of attribute implemented_in. + # + # source://rbs//lib/rbs/definition.rb#30 + def implemented_in; end + + # Returns the value of attribute member. + # + # source://rbs//lib/rbs/definition.rb#28 + def member; end + + # Returns the value of attribute member_annotations. + # + # source://rbs//lib/rbs/definition.rb#31 + def member_annotations; end + + # @return [Boolean] + # + # source://rbs//lib/rbs/definition.rb#67 + def overload?; end + + # Returns the value of attribute overload_annotations. + # + # source://rbs//lib/rbs/definition.rb#32 + def overload_annotations; end + + # Returns the value of attribute type. + # + # source://rbs//lib/rbs/definition.rb#27 + def type; end + + # source://rbs//lib/rbs/definition.rb#63 + def update(type: T.unsafe(nil), member: T.unsafe(nil), defined_in: T.unsafe(nil), implemented_in: T.unsafe(nil)); end +end + +# source://rbs//lib/rbs/definition.rb#266 +class RBS::Definition::SingletonAncestors + # @return [SingletonAncestors] a new instance of SingletonAncestors + # + # source://rbs//lib/rbs/definition.rb#270 + def initialize(type_name:, ancestors:); end + + # Returns the value of attribute ancestors. + # + # source://rbs//lib/rbs/definition.rb#268 + def ancestors; end + + # Returns the value of attribute type_name. + # + # source://rbs//lib/rbs/definition.rb#267 + def type_name; end +end + +# source://rbs//lib/rbs/definition.rb#5 +class RBS::Definition::Variable + # @return [Variable] a new instance of Variable + # + # source://rbs//lib/rbs/definition.rb#10 + def initialize(parent_variable:, type:, declared_in:); end + + # Returns the value of attribute declared_in. + # + # source://rbs//lib/rbs/definition.rb#8 + def declared_in; end + + # Returns the value of attribute parent_variable. + # + # source://rbs//lib/rbs/definition.rb#6 + def parent_variable; end + + # source://rbs//lib/rbs/definition.rb#16 + def sub(s); end + + # Returns the value of attribute type. + # + # source://rbs//lib/rbs/definition.rb#7 + def type; end +end + +# source://rbs//lib/rbs/definition_builder.rb#4 +class RBS::DefinitionBuilder + # @return [DefinitionBuilder] a new instance of DefinitionBuilder + # + # source://rbs//lib/rbs/definition_builder.rb#14 + def initialize(env:, ancestor_builder: T.unsafe(nil), method_builder: T.unsafe(nil)); end + + # Returns the value of attribute ancestor_builder. + # + # source://rbs//lib/rbs/definition_builder.rb#6 + def ancestor_builder; end + + # source://rbs//lib/rbs/definition_builder.rb#168 + def build_instance(type_name); end + + # source://rbs//lib/rbs/definition_builder.rb#43 + def build_interface(type_name); end + + # source://rbs//lib/rbs/definition_builder.rb#301 + def build_singleton(type_name); end + + # Builds a definition for singleton without .new method. + # + # source://rbs//lib/rbs/definition_builder.rb#230 + def build_singleton0(type_name); end + + # source://rbs//lib/rbs/definition_builder.rb#85 + def define_instance(definition, type_name, subst); end + + # source://rbs//lib/rbs/definition_builder.rb#33 + def define_interface(definition, type_name, subst); end + + # source://rbs//lib/rbs/definition_builder.rb#607 + def define_method(methods, definition, method, subst, self_type_methods, defined_in:, implemented_in: T.unsafe(nil)); end + + # source://rbs//lib/rbs/definition_builder.rb#25 + def ensure_namespace!(namespace, location:); end + + # Returns the value of attribute env. + # + # source://rbs//lib/rbs/definition_builder.rb#5 + def env; end + + # source://rbs//lib/rbs/definition_builder.rb#770 + def expand_alias(type_name); end + + # source://rbs//lib/rbs/definition_builder.rb#774 + def expand_alias1(type_name); end + + # source://rbs//lib/rbs/definition_builder.rb#781 + def expand_alias2(type_name, args); end + + # source://rbs//lib/rbs/definition_builder.rb#546 + def import_methods(definition, module_name, module_methods, interfaces_methods, subst, self_type_methods); end + + # source://rbs//lib/rbs/definition_builder.rb#538 + def insert_variable(type_name, variables, name:, type:); end + + # Returns the value of attribute instance_cache. + # + # source://rbs//lib/rbs/definition_builder.rb#9 + def instance_cache; end + + # Returns the value of attribute interface_cache. + # + # source://rbs//lib/rbs/definition_builder.rb#12 + def interface_cache; end + + # source://rbs//lib/rbs/definition_builder.rb#412 + def interface_methods(interface_ancestors); end + + # Returns the value of attribute method_builder. + # + # source://rbs//lib/rbs/definition_builder.rb#7 + def method_builder; end + + # Returns the value of attribute singleton0_cache. + # + # source://rbs//lib/rbs/definition_builder.rb#11 + def singleton0_cache; end + + # Returns the value of attribute singleton_cache. + # + # source://rbs//lib/rbs/definition_builder.rb#10 + def singleton_cache; end + + # source://rbs//lib/rbs/definition_builder.rb#442 + def source_location(source, decl); end + + # source://rbs//lib/rbs/definition_builder.rb#66 + def tapp_subst(name, args); end + + # source://rbs//lib/rbs/definition_builder.rb#766 + def try_cache(type_name, cache:); end + + # source://rbs//lib/rbs/definition_builder.rb#805 + def update(env:, except:, ancestor_builder:); end + + # source://rbs//lib/rbs/definition_builder.rb#432 + def validate_params_with(type_params, result:); end + + # @raise [NoTypeFoundError] + # + # source://rbs//lib/rbs/definition_builder.rb#834 + def validate_type_name(name, location); end + + # source://rbs//lib/rbs/definition_builder.rb#456 + def validate_type_params(definition, ancestors:, methods:); end + + # source://rbs//lib/rbs/definition_builder.rb#823 + def validate_type_presence(type); end +end + +# source://rbs//lib/rbs/definition_builder/ancestor_builder.rb#5 +class RBS::DefinitionBuilder::AncestorBuilder + # @return [AncestorBuilder] a new instance of AncestorBuilder + # + # source://rbs//lib/rbs/definition_builder/ancestor_builder.rb#162 + def initialize(env:); end + + # Returns the value of attribute env. + # + # source://rbs//lib/rbs/definition_builder/ancestor_builder.rb#151 + def env; end + + # source://rbs//lib/rbs/definition_builder/ancestor_builder.rb#606 + def fill_ancestor_source(ancestor, name:, source:, &block); end + + # source://rbs//lib/rbs/definition_builder/ancestor_builder.rb#434 + def instance_ancestors(type_name, building_ancestors: T.unsafe(nil)); end + + # Returns the value of attribute instance_ancestors_cache. + # + # source://rbs//lib/rbs/definition_builder/ancestor_builder.rb#154 + def instance_ancestors_cache; end + + # source://rbs//lib/rbs/definition_builder/ancestor_builder.rb#570 + def interface_ancestors(type_name, building_ancestors: T.unsafe(nil)); end + + # Returns the value of attribute interface_ancestors_cache. + # + # source://rbs//lib/rbs/definition_builder/ancestor_builder.rb#160 + def interface_ancestors_cache; end + + # source://rbs//lib/rbs/definition_builder/ancestor_builder.rb#414 + def mixin_ancestors(entry, type_name, included_modules:, included_interfaces:, extended_modules:, prepended_modules:, extended_interfaces:); end + + # source://rbs//lib/rbs/definition_builder/ancestor_builder.rb#348 + def mixin_ancestors0(decl, type_name, align_params:, included_modules:, included_interfaces:, extended_modules:, prepended_modules:, extended_interfaces:); end + + # source://rbs//lib/rbs/definition_builder/ancestor_builder.rb#192 + def one_instance_ancestors(type_name); end + + # Returns the value of attribute one_instance_ancestors_cache. + # + # source://rbs//lib/rbs/definition_builder/ancestor_builder.rb#153 + def one_instance_ancestors_cache; end + + # source://rbs//lib/rbs/definition_builder/ancestor_builder.rb#329 + def one_interface_ancestors(type_name); end + + # Returns the value of attribute one_interface_ancestors_cache. + # + # source://rbs//lib/rbs/definition_builder/ancestor_builder.rb#159 + def one_interface_ancestors_cache; end + + # source://rbs//lib/rbs/definition_builder/ancestor_builder.rb#275 + def one_singleton_ancestors(type_name); end + + # Returns the value of attribute one_singleton_ancestors_cache. + # + # source://rbs//lib/rbs/definition_builder/ancestor_builder.rb#156 + def one_singleton_ancestors_cache; end + + # source://rbs//lib/rbs/definition_builder/ancestor_builder.rb#515 + def singleton_ancestors(type_name, building_ancestors: T.unsafe(nil)); end + + # Returns the value of attribute singleton_ancestors_cache. + # + # source://rbs//lib/rbs/definition_builder/ancestor_builder.rb#157 + def singleton_ancestors_cache; end + + # @raise [SuperclassMismatchError] + # + # source://rbs//lib/rbs/definition_builder/ancestor_builder.rb#175 + def validate_super_class!(type_name, entry); end +end + +# source://rbs//lib/rbs/definition_builder/ancestor_builder.rb#6 +class RBS::DefinitionBuilder::AncestorBuilder::OneAncestors + # @return [OneAncestors] a new instance of OneAncestors + # + # source://rbs//lib/rbs/definition_builder/ancestor_builder.rb#17 + def initialize(type_name:, params:, super_class:, self_types:, included_modules:, included_interfaces:, prepended_modules:, extended_modules:, extended_interfaces:); end + + # source://rbs//lib/rbs/definition_builder/ancestor_builder.rb#29 + def each_ancestor(&block); end + + # source://rbs//lib/rbs/definition_builder/ancestor_builder.rb#86 + def each_extended_interface(&block); end + + # source://rbs//lib/rbs/definition_builder/ancestor_builder.rb#78 + def each_extended_module(&block); end + + # source://rbs//lib/rbs/definition_builder/ancestor_builder.rb#62 + def each_included_interface(&block); end + + # source://rbs//lib/rbs/definition_builder/ancestor_builder.rb#54 + def each_included_module(&block); end + + # source://rbs//lib/rbs/definition_builder/ancestor_builder.rb#70 + def each_prepended_module(&block); end + + # source://rbs//lib/rbs/definition_builder/ancestor_builder.rb#46 + def each_self_type(&block); end + + # Returns the value of attribute extended_interfaces. + # + # source://rbs//lib/rbs/definition_builder/ancestor_builder.rb#15 + def extended_interfaces; end + + # Returns the value of attribute extended_modules. + # + # source://rbs//lib/rbs/definition_builder/ancestor_builder.rb#14 + def extended_modules; end + + # Returns the value of attribute included_interfaces. + # + # source://rbs//lib/rbs/definition_builder/ancestor_builder.rb#12 + def included_interfaces; end + + # Returns the value of attribute included_modules. + # + # source://rbs//lib/rbs/definition_builder/ancestor_builder.rb#11 + def included_modules; end + + # Returns the value of attribute params. + # + # source://rbs//lib/rbs/definition_builder/ancestor_builder.rb#8 + def params; end + + # Returns the value of attribute prepended_modules. + # + # source://rbs//lib/rbs/definition_builder/ancestor_builder.rb#13 + def prepended_modules; end + + # Returns the value of attribute self_types. + # + # source://rbs//lib/rbs/definition_builder/ancestor_builder.rb#10 + def self_types; end + + # Returns the value of attribute super_class. + # + # source://rbs//lib/rbs/definition_builder/ancestor_builder.rb#9 + def super_class; end + + # Returns the value of attribute type_name. + # + # source://rbs//lib/rbs/definition_builder/ancestor_builder.rb#7 + def type_name; end + + class << self + # source://rbs//lib/rbs/definition_builder/ancestor_builder.rb#94 + def class_instance(type_name:, params:, super_class:); end + + # source://rbs//lib/rbs/definition_builder/ancestor_builder.rb#136 + def interface(type_name:, params:); end + + # source://rbs//lib/rbs/definition_builder/ancestor_builder.rb#122 + def module_instance(type_name:, params:); end + + # source://rbs//lib/rbs/definition_builder/ancestor_builder.rb#108 + def singleton(type_name:, super_class:); end + end +end + +# source://rbs//lib/rbs/definition_builder/method_builder.rb#5 +class RBS::DefinitionBuilder::MethodBuilder + # @return [MethodBuilder] a new instance of MethodBuilder + # + # source://rbs//lib/rbs/definition_builder/method_builder.rb#91 + def initialize(env:); end + + # source://rbs//lib/rbs/definition_builder/method_builder.rb#194 + def build_alias(methods, type, member:); end + + # source://rbs//lib/rbs/definition_builder/method_builder.rb#199 + def build_attribute(methods, type, member:, accessibility:); end + + # source://rbs//lib/rbs/definition_builder/method_builder.rb#99 + def build_instance(type_name); end + + # source://rbs//lib/rbs/definition_builder/method_builder.rb#174 + def build_interface(type_name); end + + # source://rbs//lib/rbs/definition_builder/method_builder.rb#215 + def build_method(methods, type, member:, accessibility:); end + + # source://rbs//lib/rbs/definition_builder/method_builder.rb#145 + def build_singleton(type_name); end + + # source://rbs//lib/rbs/definition_builder/method_builder.rb#226 + def each_member_with_accessibility(members, accessibility: T.unsafe(nil)); end + + # Returns the value of attribute env. + # + # source://rbs//lib/rbs/definition_builder/method_builder.rb#86 + def env; end + + # Returns the value of attribute instance_methods. + # + # source://rbs//lib/rbs/definition_builder/method_builder.rb#87 + def instance_methods; end + + # Returns the value of attribute interface_methods. + # + # source://rbs//lib/rbs/definition_builder/method_builder.rb#89 + def interface_methods; end + + # Returns the value of attribute singleton_methods. + # + # source://rbs//lib/rbs/definition_builder/method_builder.rb#88 + def singleton_methods; end + + # source://rbs//lib/rbs/definition_builder/method_builder.rb#239 + def update(env:, except:); end +end + +# source://rbs//lib/rbs/definition_builder/method_builder.rb#6 +class RBS::DefinitionBuilder::MethodBuilder::Methods + # @return [Methods] a new instance of Methods + # + # source://rbs//lib/rbs/definition_builder/method_builder.rb#30 + def initialize(type:); end + + # source://rbs//lib/rbs/definition_builder/method_builder.rb#49 + def each; end + + # Returns the value of attribute methods. + # + # source://rbs//lib/rbs/definition_builder/method_builder.rb#28 + def methods; end + + # Returns the value of attribute type. + # + # source://rbs//lib/rbs/definition_builder/method_builder.rb#27 + def type; end + + # source://rbs//lib/rbs/definition_builder/method_builder.rb#35 + def validate!; end +end + +# source://rbs//lib/rbs/definition_builder/method_builder.rb#7 +class RBS::DefinitionBuilder::MethodBuilder::Methods::Definition < ::Struct + # source://rbs//lib/rbs/definition_builder/method_builder.rb#14 + def accessibility; end + + # source://rbs//lib/rbs/definition_builder/method_builder.rb#10 + def original; end + + class << self + # source://rbs//lib/rbs/definition_builder/method_builder.rb#22 + def empty(name:, type:); end + end +end + +# source://rbs//lib/rbs/definition_builder/method_builder.rb#63 +class RBS::DefinitionBuilder::MethodBuilder::Methods::Sorter + include ::TSort + + # @return [Sorter] a new instance of Sorter + # + # source://rbs//lib/rbs/definition_builder/method_builder.rb#68 + def initialize(methods); end + + # Returns the value of attribute methods. + # + # source://rbs//lib/rbs/definition_builder/method_builder.rb#66 + def methods; end + + # source://rbs//lib/rbs/definition_builder/method_builder.rb#76 + def tsort_each_child(defn); end + + # source://rbs//lib/rbs/definition_builder/method_builder.rb#72 + def tsort_each_node(&block); end +end + +# source://rbs//lib/rbs/errors.rb#21 +class RBS::DefinitionError < ::RBS::BaseError; end + +# source://rbs//lib/rbs/errors.rb#23 +module RBS::DetailedMessageable + # source://rbs//lib/rbs/errors.rb#24 + def detailed_message(highlight: T.unsafe(nil), **_arg1); end +end + +# source://rbs//lib/rbs/diff.rb#4 +class RBS::Diff + # @return [Diff] a new instance of Diff + # + # source://rbs//lib/rbs/diff.rb#5 + def initialize(type_name:, library_options:, after_path: T.unsafe(nil), before_path: T.unsafe(nil), detail: T.unsafe(nil)); end + + # source://rbs//lib/rbs/diff.rb#13 + def each_diff(&block); end + + private + + # source://rbs//lib/rbs/diff.rb#96 + def build_builder(env); end + + # source://rbs//lib/rbs/diff.rb#77 + def build_env(path); end + + # source://rbs//lib/rbs/diff.rb#49 + def build_methods(path); end + + # source://rbs//lib/rbs/diff.rb#116 + def constant_to_s(constant); end + + # source://rbs//lib/rbs/diff.rb#100 + def definition_method_to_s(key, kind, definition_method); end + + # source://rbs//lib/rbs/diff.rb#38 + def each_diff_constants(before_constant_children, after_constant_children); end + + # source://rbs//lib/rbs/diff.rb#27 + def each_diff_methods(kind, before_methods, after_methods); end +end + +# source://rbs//lib/rbs/errors.rb#394 +class RBS::DuplicatedDeclarationError < ::RBS::LoadingError + # @return [DuplicatedDeclarationError] a new instance of DuplicatedDeclarationError + # + # source://rbs//lib/rbs/errors.rb#398 + def initialize(name, *decls); end + + # Returns the value of attribute decls. + # + # source://rbs//lib/rbs/errors.rb#396 + def decls; end + + # Returns the value of attribute name. + # + # source://rbs//lib/rbs/errors.rb#395 + def name; end +end + +# source://rbs//lib/rbs/errors.rb#292 +class RBS::DuplicatedInterfaceMethodDefinitionError < ::RBS::DefinitionError + include ::RBS::DetailedMessageable + + # @return [DuplicatedInterfaceMethodDefinitionError] a new instance of DuplicatedInterfaceMethodDefinitionError + # + # source://rbs//lib/rbs/errors.rb#299 + def initialize(type:, method_name:, member:); end + + # source://rbs//lib/rbs/errors.rb#307 + def location; end + + # Returns the value of attribute member. + # + # source://rbs//lib/rbs/errors.rb#297 + def member; end + + # Returns the value of attribute method_name. + # + # source://rbs//lib/rbs/errors.rb#296 + def method_name; end + + # source://rbs//lib/rbs/errors.rb#311 + def qualified_method_name; end + + # Returns the value of attribute type. + # + # source://rbs//lib/rbs/errors.rb#295 + def type; end + + # source://rbs//lib/rbs/errors.rb#320 + def type_name; end +end + +# source://rbs//lib/rbs/errors.rb#251 +class RBS::DuplicatedMethodDefinitionError < ::RBS::DefinitionError + include ::RBS::DetailedMessageable + + # @return [DuplicatedMethodDefinitionError] a new instance of DuplicatedMethodDefinitionError + # + # source://rbs//lib/rbs/errors.rb#258 + def initialize(type:, method_name:, members:); end + + # source://rbs//lib/rbs/errors.rb#283 + def location; end + + # Returns the value of attribute members. + # + # source://rbs//lib/rbs/errors.rb#256 + def members; end + + # Returns the value of attribute method_name. + # + # source://rbs//lib/rbs/errors.rb#255 + def method_name; end + + # source://rbs//lib/rbs/errors.rb#287 + def other_locations; end + + # source://rbs//lib/rbs/errors.rb#270 + def qualified_method_name; end + + # Returns the value of attribute type. + # + # source://rbs//lib/rbs/errors.rb#254 + def type; end + + # source://rbs//lib/rbs/errors.rb#279 + def type_name; end +end + +# source://rbs//lib/rbs/environment.rb#4 +class RBS::Environment + # @return [Environment] a new instance of Environment + # + # source://rbs//lib/rbs/environment.rb#145 + def initialize; end + + # source://rbs//lib/rbs/environment.rb#470 + def <<(decl); end + + # source://rbs//lib/rbs/environment.rb#792 + def absolute_type(resolver, map, type, context:); end + + # source://rbs//lib/rbs/environment.rb#787 + def absolute_type_name(resolver, map, type_name, context:); end + + # source://rbs//lib/rbs/environment.rb#476 + def add_signature(buffer:, directives:, decls:); end + + # source://rbs//lib/rbs/environment.rb#528 + def append_context(context, decl); end + + # source://rbs//lib/rbs/environment.rb#803 + def buffers; end + + # @return [Boolean] + # + # source://rbs//lib/rbs/environment.rb#218 + def class_alias?(name); end + + # Returns the value of attribute class_alias_decls. + # + # source://rbs//lib/rbs/environment.rb#12 + def class_alias_decls; end + + # @return [Boolean] + # + # source://rbs//lib/rbs/environment.rb#202 + def class_decl?(name); end + + # Returns the value of attribute class_decls. + # + # source://rbs//lib/rbs/environment.rb#7 + def class_decls; end + + # source://rbs//lib/rbs/environment.rb#226 + def class_entry(type_name); end + + # @return [Boolean] + # + # source://rbs//lib/rbs/environment.rb#198 + def constant_decl?(name); end + + # Returns the value of attribute constant_decls. + # + # source://rbs//lib/rbs/environment.rb#10 + def constant_decls; end + + # source://rbs//lib/rbs/environment.rb#274 + def constant_entry(type_name); end + + # @return [Boolean] + # + # source://rbs//lib/rbs/environment.rb#194 + def constant_name?(name); end + + # Returns the value of attribute declarations. + # + # source://rbs//lib/rbs/environment.rb#5 + def declarations; end + + # Returns the value of attribute global_decls. + # + # source://rbs//lib/rbs/environment.rb#11 + def global_decls; end + + # source://rbs//lib/rbs/environment.rb#373 + def insert_decl(decl, outer:, namespace:); end + + # source://rbs//lib/rbs/environment.rb#798 + def inspect; end + + # Returns the value of attribute interface_decls. + # + # source://rbs//lib/rbs/environment.rb#8 + def interface_decls; end + + # @return [Boolean] + # + # source://rbs//lib/rbs/environment.rb#176 + def interface_name?(name); end + + # @return [Boolean] + # + # source://rbs//lib/rbs/environment.rb#210 + def module_alias?(name); end + + # source://rbs//lib/rbs/environment.rb#266 + def module_class_entry(type_name); end + + # @return [Boolean] + # + # source://rbs//lib/rbs/environment.rb#206 + def module_decl?(name); end + + # source://rbs//lib/rbs/environment.rb#235 + def module_entry(type_name); end + + # @return [Boolean] + # + # source://rbs//lib/rbs/environment.rb#184 + def module_name?(name); end + + # source://rbs//lib/rbs/environment.rb#332 + def normalize_module_name(name); end + + # @return [Boolean] + # + # source://rbs//lib/rbs/environment.rb#336 + def normalize_module_name?(name); end + + # source://rbs//lib/rbs/environment.rb#328 + def normalize_type_name(name); end + + # source://rbs//lib/rbs/environment.rb#297 + def normalize_type_name!(name); end + + # @return [Boolean] + # + # source://rbs//lib/rbs/environment.rb#278 + def normalize_type_name?(name); end + + # source://rbs//lib/rbs/environment.rb#244 + def normalized_class_entry(type_name); end + + # source://rbs//lib/rbs/environment.rb#270 + def normalized_module_class_entry(type_name); end + + # source://rbs//lib/rbs/environment.rb#255 + def normalized_module_entry(type_name); end + + # source://rbs//lib/rbs/environment.rb#323 + def normalized_type_name!(name); end + + # @return [Boolean] + # + # source://rbs//lib/rbs/environment.rb#310 + def normalized_type_name?(type_name); end + + # source://rbs//lib/rbs/environment.rb#537 + def resolve_declaration(resolver, map, decl, outer:, prefix:); end + + # source://rbs//lib/rbs/environment.rb#673 + def resolve_member(resolver, map, member, context:); end + + # source://rbs//lib/rbs/environment.rb#773 + def resolve_method_type(resolver, map, type, context:); end + + # source://rbs//lib/rbs/environment.rb#489 + def resolve_type_names(only: T.unsafe(nil)); end + + # source://rbs//lib/rbs/environment.rb#781 + def resolve_type_params(resolver, map, params, context:); end + + # source://rbs//lib/rbs/environment.rb#522 + def resolver_context(*nesting); end + + # Returns the value of attribute signatures. + # + # source://rbs//lib/rbs/environment.rb#14 + def signatures; end + + # Returns the value of attribute type_alias_decls. + # + # source://rbs//lib/rbs/environment.rb#9 + def type_alias_decls; end + + # @return [Boolean] + # + # source://rbs//lib/rbs/environment.rb#180 + def type_alias_name?(name); end + + # @return [Boolean] + # + # source://rbs//lib/rbs/environment.rb#188 + def type_name?(name); end + + # source://rbs//lib/rbs/environment.rb#807 + def unload(buffers); end + + # source://rbs//lib/rbs/environment.rb#483 + def validate_type_params; end + + private + + # source://rbs//lib/rbs/environment.rb#158 + def initialize_copy(other); end + + class << self + # source://rbs//lib/rbs/environment.rb#170 + def from_loader(loader); end + end +end + +# source://rbs//lib/rbs/environment.rb#130 +class RBS::Environment::ClassAliasEntry < ::RBS::Environment::SingleEntry; end + +# source://rbs//lib/rbs/environment.rb#100 +class RBS::Environment::ClassEntry < ::RBS::Environment::MultiEntry + # source://rbs//lib/rbs/environment.rb#101 + def primary; end +end + +# source://rbs//lib/rbs/environment.rb#139 +class RBS::Environment::ConstantEntry < ::RBS::Environment::SingleEntry; end + +# source://rbs//lib/rbs/environment.rb#16 +module RBS::Environment::ContextUtil + # source://rbs//lib/rbs/environment.rb#17 + def calculate_context(decls); end +end + +# source://rbs//lib/rbs/environment.rb#142 +class RBS::Environment::GlobalEntry < ::RBS::Environment::SingleEntry; end + +# source://rbs//lib/rbs/environment.rb#133 +class RBS::Environment::InterfaceEntry < ::RBS::Environment::SingleEntry; end + +# source://rbs//lib/rbs/environment.rb#127 +class RBS::Environment::ModuleAliasEntry < ::RBS::Environment::SingleEntry; end + +# source://rbs//lib/rbs/environment.rb#85 +class RBS::Environment::ModuleEntry < ::RBS::Environment::MultiEntry + # source://rbs//lib/rbs/environment.rb#92 + def primary; end + + # source://rbs//lib/rbs/environment.rb#86 + def self_types; end +end + +# source://rbs//lib/rbs/environment.rb#29 +class RBS::Environment::MultiEntry + # @return [MultiEntry] a new instance of MultiEntry + # + # source://rbs//lib/rbs/environment.rb#43 + def initialize(name:); end + + # @return [Boolean] + # + # source://rbs//lib/rbs/environment.rb#70 + def compatible_params?(ps1, ps2); end + + # Returns the value of attribute decls. + # + # source://rbs//lib/rbs/environment.rb#41 + def decls; end + + # source://rbs//lib/rbs/environment.rb#48 + def insert(decl:, outer:); end + + # Returns the value of attribute name. + # + # source://rbs//lib/rbs/environment.rb#40 + def name; end + + # source://rbs//lib/rbs/environment.rb#80 + def primary; end + + # source://rbs//lib/rbs/environment.rb#76 + def type_params; end + + # source://rbs//lib/rbs/environment.rb#53 + def validate_type_params; end +end + +# source://rbs//lib/rbs/environment.rb#30 +class RBS::Environment::MultiEntry::D < ::Struct + include ::RBS::Environment::ContextUtil + + # source://rbs//lib/rbs/environment.rb#35 + def context; end + + def decl; end + def decl=(_); end + def outer; end + def outer=(_); end + + class << self + def [](*_arg0); end + def inspect; end + def keyword_init?; end + def members; end + def new(*_arg0); end + end +end + +# source://rbs//lib/rbs/environment.rb#109 +class RBS::Environment::SingleEntry + include ::RBS::Environment::ContextUtil + + # @return [SingleEntry] a new instance of SingleEntry + # + # source://rbs//lib/rbs/environment.rb#114 + def initialize(name:, decl:, outer:); end + + # source://rbs//lib/rbs/environment.rb#122 + def context; end + + # Returns the value of attribute decl. + # + # source://rbs//lib/rbs/environment.rb#112 + def decl; end + + # Returns the value of attribute name. + # + # source://rbs//lib/rbs/environment.rb#110 + def name; end + + # Returns the value of attribute outer. + # + # source://rbs//lib/rbs/environment.rb#111 + def outer; end +end + +# source://rbs//lib/rbs/environment.rb#136 +class RBS::Environment::TypeAliasEntry < ::RBS::Environment::SingleEntry; end + +# source://rbs//lib/rbs/environment/use_map.rb#5 +class RBS::Environment::UseMap + # @return [UseMap] a new instance of UseMap + # + # source://rbs//lib/rbs/environment/use_map.rb#30 + def initialize(table:); end + + # source://rbs//lib/rbs/environment/use_map.rb#36 + def build_map(clause); end + + # source://rbs//lib/rbs/environment/use_map.rb#72 + def resolve(type_name); end + + # @return [Boolean] + # + # source://rbs//lib/rbs/environment/use_map.rb#53 + def resolve?(type_name); end + + # Returns the value of attribute use_dirs. + # + # source://rbs//lib/rbs/environment/use_map.rb#28 + def use_dirs; end +end + +# source://rbs//lib/rbs/environment/use_map.rb#6 +class RBS::Environment::UseMap::Table + # @return [Table] a new instance of Table + # + # source://rbs//lib/rbs/environment/use_map.rb#9 + def initialize; end + + # Returns the value of attribute children. + # + # source://rbs//lib/rbs/environment/use_map.rb#7 + def children; end + + # source://rbs//lib/rbs/environment/use_map.rb#14 + def compute_children; end + + # Returns the value of attribute known_types. + # + # source://rbs//lib/rbs/environment/use_map.rb#7 + def known_types; end +end + +# source://rbs//lib/rbs/environment_loader.rb#4 +class RBS::EnvironmentLoader + include ::RBS::FileFinder + + # @return [EnvironmentLoader] a new instance of EnvironmentLoader + # + # source://rbs//lib/rbs/environment_loader.rb#40 + def initialize(core_root: T.unsafe(nil), repository: T.unsafe(nil)); end + + # source://rbs//lib/rbs/environment_loader.rb#48 + def add(path: T.unsafe(nil), library: T.unsafe(nil), version: T.unsafe(nil), resolve_dependencies: T.unsafe(nil)); end + + # source://rbs//lib/rbs/environment_loader.rb#80 + def add_collection(lockfile); end + + # Returns the value of attribute core_root. + # + # source://rbs//lib/rbs/environment_loader.rb#20 + def core_root; end + + # Returns the value of attribute dirs. + # + # source://rbs//lib/rbs/environment_loader.rb#24 + def dirs; end + + # source://rbs//lib/rbs/environment_loader.rb#131 + def each_dir; end + + # source://rbs//lib/rbs/environment_loader.rb#154 + def each_signature; end + + # @return [Boolean] + # + # source://rbs//lib/rbs/environment_loader.rb#104 + def has_library?(library:, version:); end + + # Returns the value of attribute libs. + # + # source://rbs//lib/rbs/environment_loader.rb#23 + def libs; end + + # source://rbs//lib/rbs/environment_loader.rb#112 + def load(env:); end + + # Returns the value of attribute repository. + # + # source://rbs//lib/rbs/environment_loader.rb#21 + def repository; end + + # source://rbs//lib/rbs/environment_loader.rb#65 + def resolve_dependencies(library:, version:); end + + class << self + # source://rbs//lib/rbs/environment_loader.rb#28 + def gem_sig_path(name, version); end + end +end + +# source://rbs//lib/rbs/environment_loader.rb#26 +RBS::EnvironmentLoader::DEFAULT_CORE_ROOT = T.let(T.unsafe(nil), Pathname) + +# source://rbs//lib/rbs/environment_loader.rb#17 +class RBS::EnvironmentLoader::Library < ::Struct; end + +# source://rbs//lib/rbs/environment_loader.rb#5 +class RBS::EnvironmentLoader::UnknownLibraryError < ::StandardError + # @return [UnknownLibraryError] a new instance of UnknownLibraryError + # + # source://rbs//lib/rbs/environment_loader.rb#8 + def initialize(lib:); end + + # Returns the value of attribute library. + # + # source://rbs//lib/rbs/environment_loader.rb#6 + def library; end +end + +# source://rbs//lib/rbs/environment_walker.rb#4 +class RBS::EnvironmentWalker + include ::TSort + + # @return [EnvironmentWalker] a new instance of EnvironmentWalker + # + # source://rbs//lib/rbs/environment_walker.rb#11 + def initialize(env:); end + + # source://rbs//lib/rbs/environment_walker.rb#16 + def builder; end + + # source://rbs//lib/rbs/environment_walker.rb#99 + def each_type_name(type, &block); end + + # source://rbs//lib/rbs/environment_walker.rb#105 + def each_type_node(type, &block); end + + # Returns the value of attribute env. + # + # source://rbs//lib/rbs/environment_walker.rb#9 + def env; end + + # source://rbs//lib/rbs/environment_walker.rb#20 + def only_ancestors!(only = T.unsafe(nil)); end + + # @return [Boolean] + # + # source://rbs//lib/rbs/environment_walker.rb#25 + def only_ancestors?; end + + # source://rbs//lib/rbs/environment_walker.rb#44 + def tsort_each_child(node, &block); end + + # source://rbs//lib/rbs/environment_walker.rb#31 + def tsort_each_node(&block); end +end + +# source://rbs//lib/rbs/environment_walker.rb#5 +class RBS::EnvironmentWalker::InstanceNode < ::Struct + def type_name; end + def type_name=(_); end + + class << self + def [](*_arg0); end + def inspect; end + def keyword_init?; end + def members; end + def new(*_arg0); end + end +end + +# source://rbs//lib/rbs/environment_walker.rb#6 +class RBS::EnvironmentWalker::SingletonNode < ::Struct + def type_name; end + def type_name=(_); end + + class << self + def [](*_arg0); end + def inspect; end + def keyword_init?; end + def members; end + def new(*_arg0); end + end +end + +# source://rbs//lib/rbs/environment_walker.rb#7 +class RBS::EnvironmentWalker::TypeNameNode < ::Struct + def type_name; end + def type_name=(_); end + + class << self + def [](*_arg0); end + def inspect; end + def keyword_init?; end + def members; end + def new(*_arg0); end + end +end + +# source://rbs//lib/rbs/factory.rb#4 +class RBS::Factory + # source://rbs//lib/rbs/factory.rb#5 + def type_name(string); end +end + +# source://rbs//lib/rbs/file_finder.rb#4 +module RBS::FileFinder + class << self + # source://rbs//lib/rbs/file_finder.rb#7 + def each_file(path, skip_hidden:, immediate: T.unsafe(nil), &block); end + end +end + +# source://rbs//lib/rbs/errors.rb#383 +class RBS::GenericParameterMismatchError < ::RBS::LoadingError + # @return [GenericParameterMismatchError] a new instance of GenericParameterMismatchError + # + # source://rbs//lib/rbs/errors.rb#387 + def initialize(name:, decl:); end + + # Returns the value of attribute decl. + # + # source://rbs//lib/rbs/errors.rb#385 + def decl; end + + # Returns the value of attribute name. + # + # source://rbs//lib/rbs/errors.rb#384 + def name; end +end + +# source://rbs//lib/rbs/errors.rb#529 +class RBS::InconsistentClassModuleAliasError < ::RBS::BaseError + include ::RBS::DetailedMessageable + + # @return [InconsistentClassModuleAliasError] a new instance of InconsistentClassModuleAliasError + # + # source://rbs//lib/rbs/errors.rb#534 + def initialize(entry); end + + # Returns the value of attribute alias_entry. + # + # source://rbs//lib/rbs/errors.rb#532 + def alias_entry; end + + # source://rbs//lib/rbs/errors.rb#548 + def location; end +end + +# source://rbs//lib/rbs/errors.rb#187 +class RBS::InheritModuleError < ::RBS::DefinitionError + include ::RBS::DetailedMessageable + + # @return [InheritModuleError] a new instance of InheritModuleError + # + # source://rbs//lib/rbs/errors.rb#192 + def initialize(super_decl); end + + # source://rbs//lib/rbs/errors.rb#198 + def location; end + + # Returns the value of attribute super_decl. + # + # source://rbs//lib/rbs/errors.rb#190 + def super_decl; end + + class << self + # source://rbs//lib/rbs/errors.rb#202 + def check!(super_decl, env:); end + end +end + +# source://rbs//lib/rbs/errors.rb#354 +class RBS::InvalidOverloadMethodError < ::RBS::DefinitionError + include ::RBS::DetailedMessageable + + # @return [InvalidOverloadMethodError] a new instance of InvalidOverloadMethodError + # + # source://rbs//lib/rbs/errors.rb#362 + def initialize(type_name:, method_name:, kind:, members:); end + + # Returns the value of attribute kind. + # + # source://rbs//lib/rbs/errors.rb#359 + def kind; end + + # source://rbs//lib/rbs/errors.rb#378 + def location; end + + # Returns the value of attribute members. + # + # source://rbs//lib/rbs/errors.rb#360 + def members; end + + # Returns the value of attribute method_name. + # + # source://rbs//lib/rbs/errors.rb#358 + def method_name; end + + # Returns the value of attribute type_name. + # + # source://rbs//lib/rbs/errors.rb#357 + def type_name; end +end + +# source://rbs//lib/rbs/errors.rb#67 +class RBS::InvalidTypeApplicationError < ::RBS::DefinitionError + # @return [InvalidTypeApplicationError] a new instance of InvalidTypeApplicationError + # + # source://rbs//lib/rbs/errors.rb#74 + def initialize(type_name:, args:, params:, location:); end + + # Returns the value of attribute args. + # + # source://rbs//lib/rbs/errors.rb#69 + def args; end + + # Returns the value of attribute location. + # + # source://rbs//lib/rbs/errors.rb#72 + def location; end + + # Returns the value of attribute params. + # + # source://rbs//lib/rbs/errors.rb#70 + def params; end + + # Returns the value of attribute type_name. + # + # source://rbs//lib/rbs/errors.rb#68 + def type_name; end + + # Returns the value of attribute type_params. + # + # source://rbs//lib/rbs/errors.rb#71 + def type_params; end + + class << self + # source://rbs//lib/rbs/errors.rb#83 + def check!(type_name:, args:, params:, location:); end + + # source://rbs//lib/rbs/errors.rb#92 + def check2!(env:, type_name:, args:, location:); end + end +end + +# source://rbs//lib/rbs/errors.rb#407 +class RBS::InvalidVarianceAnnotationError < ::RBS::DefinitionError + include ::RBS::DetailedMessageable + + # @return [InvalidVarianceAnnotationError] a new instance of InvalidVarianceAnnotationError + # + # source://rbs//lib/rbs/errors.rb#414 + def initialize(type_name:, param:, location:); end + + # Returns the value of attribute location. + # + # source://rbs//lib/rbs/errors.rb#412 + def location; end + + # Returns the value of attribute param. + # + # source://rbs//lib/rbs/errors.rb#411 + def param; end + + # Returns the value of attribute type_name. + # + # source://rbs//lib/rbs/errors.rb#410 + def type_name; end +end + +# source://rbs//lib/rbs/errors.rb#20 +class RBS::LoadingError < ::RBS::BaseError; end + +# source://rbs//lib/rbs/location_aux.rb#4 +class RBS::Location + def initialize(_arg0, _arg1, _arg2); end + + # source://rbs//lib/rbs/location_aux.rb#71 + def ==(other); end + + def [](_arg0); end + def _add_optional_child(_arg0, _arg1, _arg2); end + def _add_optional_no_child(_arg0); end + def _add_required_child(_arg0, _arg1, _arg2); end + def _optional_keys; end + def _required_keys; end + + # source://rbs//lib/rbs/location_aux.rb#102 + def add_optional_child(name, range); end + + # source://rbs//lib/rbs/location_aux.rb#98 + def add_required_child(name, range); end + + def aref(_arg0); end + def buffer; end + + # source://rbs//lib/rbs/location_aux.rb#110 + def each_optional_key(&block); end + + # source://rbs//lib/rbs/location_aux.rb#118 + def each_required_key(&block); end + + # source://rbs//lib/rbs/location_aux.rb#47 + def end_column; end + + # source://rbs//lib/rbs/location_aux.rb#43 + def end_line; end + + # source://rbs//lib/rbs/location_aux.rb#55 + def end_loc; end + + def end_pos; end + + # source://rbs//lib/rbs/location_aux.rb#5 + def inspect; end + + # @return [Boolean] + # + # source://rbs//lib/rbs/location_aux.rb#126 + def key?(name); end + + # source://rbs//lib/rbs/location_aux.rb#31 + def name; end + + # @return [Boolean] + # + # source://rbs//lib/rbs/location_aux.rb#130 + def optional_key?(name); end + + # source://rbs//lib/rbs/location_aux.rb#59 + def range; end + + # @return [Boolean] + # + # source://rbs//lib/rbs/location_aux.rb#134 + def required_key?(name); end + + # source://rbs//lib/rbs/location_aux.rb#63 + def source; end + + # source://rbs//lib/rbs/location_aux.rb#39 + def start_column; end + + # source://rbs//lib/rbs/location_aux.rb#35 + def start_line; end + + # source://rbs//lib/rbs/location_aux.rb#51 + def start_loc; end + + def start_pos; end + + # source://rbs//lib/rbs/location_aux.rb#78 + def to_json(state = T.unsafe(nil)); end + + # source://rbs//lib/rbs/location_aux.rb#67 + def to_s; end + + private + + def initialize_copy(_arg0); end + + class << self + # source://rbs//lib/rbs/location_aux.rb#16 + def new(buffer_ = T.unsafe(nil), start_pos_ = T.unsafe(nil), end_pos_ = T.unsafe(nil), buffer: T.unsafe(nil), start_pos: T.unsafe(nil), end_pos: T.unsafe(nil)); end + + # source://rbs//lib/rbs/location_aux.rb#94 + def to_string(location, default: T.unsafe(nil)); end + end +end + +# source://rbs//lib/rbs/location_aux.rb#29 +RBS::Location::WithChildren = RBS::Location + +# source://rbs//lib/rbs/locator.rb#4 +class RBS::Locator + # @return [Locator] a new instance of Locator + # + # source://rbs//lib/rbs/locator.rb#7 + def initialize(buffer:, dirs:, decls:); end + + # Returns the value of attribute buffer. + # + # source://rbs//lib/rbs/locator.rb#5 + def buffer; end + + # Returns the value of attribute decls. + # + # source://rbs//lib/rbs/locator.rb#5 + def decls; end + + # Returns the value of attribute dirs. + # + # source://rbs//lib/rbs/locator.rb#5 + def dirs; end + + # source://rbs//lib/rbs/locator.rb#13 + def find(line:, column:); end + + # source://rbs//lib/rbs/locator.rb#29 + def find2(line:, column:); end + + # source://rbs//lib/rbs/locator.rb#58 + def find_in_decl(pos, decl:, array:); end + + # source://rbs//lib/rbs/locator.rb#42 + def find_in_directive(pos, dir, array); end + + # source://rbs//lib/rbs/locator.rb#206 + def find_in_loc(pos, location:, array:); end + + # source://rbs//lib/rbs/locator.rb#129 + def find_in_member(pos, member:, array:); end + + # source://rbs//lib/rbs/locator.rb#152 + def find_in_method_type(pos, method_type:, array:); end + + # source://rbs//lib/rbs/locator.rb#190 + def find_in_type(pos, type:, array:); end + + # source://rbs//lib/rbs/locator.rb#170 + def find_in_type_param(pos, type_param:, array:); end + + # source://rbs//lib/rbs/locator.rb#233 + def test_loc(pos, location:); end +end + +# source://rbs//lib/rbs/errors.rb#4 +module RBS::MethodNameHelper + # source://rbs//lib/rbs/errors.rb#5 + def method_name_string; end +end + +# source://rbs//lib/rbs/method_type.rb#4 +class RBS::MethodType + # @return [MethodType] a new instance of MethodType + # + # source://rbs//lib/rbs/method_type.rb#10 + def initialize(type_params:, type:, block:, location:); end + + # source://rbs//lib/rbs/method_type.rb#17 + def ==(other); end + + # Returns the value of attribute block. + # + # source://rbs//lib/rbs/method_type.rb#7 + def block; end + + # source://rbs//lib/rbs/method_type.rb#84 + def each_type(&block); end + + # source://rbs//lib/rbs/method_type.rb#57 + def free_variables(set = T.unsafe(nil)); end + + # @return [Boolean] + # + # source://rbs//lib/rbs/method_type.rb#125 + def has_classish_type?; end + + # @return [Boolean] + # + # source://rbs//lib/rbs/method_type.rb#121 + def has_self_type?; end + + # Returns the value of attribute location. + # + # source://rbs//lib/rbs/method_type.rb#8 + def location; end + + # source://rbs//lib/rbs/method_type.rb#63 + def map_type(&block); end + + # source://rbs//lib/rbs/method_type.rb#72 + def map_type_bound(&block); end + + # source://rbs//lib/rbs/method_type.rb#33 + def sub(s); end + + # source://rbs//lib/rbs/method_type.rb#24 + def to_json(state = T.unsafe(nil)); end + + # source://rbs//lib/rbs/method_type.rb#98 + def to_s; end + + # Returns the value of attribute type. + # + # source://rbs//lib/rbs/method_type.rb#6 + def type; end + + # source://rbs//lib/rbs/method_type.rb#117 + def type_param_names; end + + # Returns the value of attribute type_params. + # + # source://rbs//lib/rbs/method_type.rb#5 + def type_params; end + + # source://rbs//lib/rbs/method_type.rb#48 + def update(type_params: T.unsafe(nil), type: T.unsafe(nil), block: T.unsafe(nil), location: T.unsafe(nil)); end + + # @return [Boolean] + # + # source://rbs//lib/rbs/method_type.rb#129 + def with_nonreturn_void?; end +end + +# source://rbs//lib/rbs/errors.rb#443 +class RBS::MixinClassError < ::RBS::DefinitionError + include ::RBS::DetailedMessageable + + # @return [MixinClassError] a new instance of MixinClassError + # + # source://rbs//lib/rbs/errors.rb#449 + def initialize(type_name:, member:); end + + # source://rbs//lib/rbs/errors.rb#456 + def location; end + + # Returns the value of attribute member. + # + # source://rbs//lib/rbs/errors.rb#447 + def member; end + + # Returns the value of attribute type_name. + # + # source://rbs//lib/rbs/errors.rb#446 + def type_name; end + + private + + # source://rbs//lib/rbs/errors.rb#468 + def mixin_name; end + + class << self + # source://rbs//lib/rbs/errors.rb#460 + def check!(type_name:, env:, member:); end + end +end + +# source://rbs//lib/rbs/namespace.rb#4 +class RBS::Namespace + # @return [Namespace] a new instance of Namespace + # + # source://rbs//lib/rbs/namespace.rb#7 + def initialize(path:, absolute:); end + + # source://rbs//lib/rbs/namespace.rb#20 + def +(other); end + + # source://rbs//lib/rbs/namespace.rb#59 + def ==(other); end + + # source://rbs//lib/rbs/namespace.rb#47 + def absolute!; end + + # @return [Boolean] + # + # source://rbs//lib/rbs/namespace.rb#39 + def absolute?; end + + # source://rbs//lib/rbs/namespace.rb#28 + def append(component); end + + # source://rbs//lib/rbs/namespace.rb#101 + def ascend; end + + # @return [Boolean] + # + # source://rbs//lib/rbs/namespace.rb#55 + def empty?; end + + # source://rbs//lib/rbs/namespace.rb#59 + def eql?(other); end + + # source://rbs//lib/rbs/namespace.rb#65 + def hash; end + + # source://rbs//lib/rbs/namespace.rb#32 + def parent; end + + # Returns the value of attribute path. + # + # source://rbs//lib/rbs/namespace.rb#5 + def path; end + + # source://rbs//lib/rbs/namespace.rb#51 + def relative!; end + + # @return [Boolean] + # + # source://rbs//lib/rbs/namespace.rb#43 + def relative?; end + + # source://rbs//lib/rbs/namespace.rb#69 + def split; end + + # source://rbs//lib/rbs/namespace.rb#75 + def to_s; end + + # source://rbs//lib/rbs/namespace.rb#84 + def to_type_name; end + + class << self + # source://rbs//lib/rbs/namespace.rb#12 + def empty; end + + # source://rbs//lib/rbs/namespace.rb#93 + def parse(string); end + + # source://rbs//lib/rbs/namespace.rb#16 + def root; end + end +end + +# source://rbs//lib/rbs/errors.rb#229 +class RBS::NoMixinFoundError < ::RBS::DefinitionError + include ::RBS::DetailedMessageable + + # @return [NoMixinFoundError] a new instance of NoMixinFoundError + # + # source://rbs//lib/rbs/errors.rb#235 + def initialize(type_name:, member:); end + + # source://rbs//lib/rbs/errors.rb#242 + def location; end + + # Returns the value of attribute member. + # + # source://rbs//lib/rbs/errors.rb#233 + def member; end + + # Returns the value of attribute type_name. + # + # source://rbs//lib/rbs/errors.rb#232 + def type_name; end + + class << self + # source://rbs//lib/rbs/errors.rb#246 + def check!(type_name, env:, member:); end + end +end + +# source://rbs//lib/rbs/errors.rb#210 +class RBS::NoSelfTypeFoundError < ::RBS::DefinitionError + include ::RBS::DetailedMessageable + + # @return [NoSelfTypeFoundError] a new instance of NoSelfTypeFoundError + # + # source://rbs//lib/rbs/errors.rb#216 + def initialize(type_name:, location:); end + + # Returns the value of attribute location. + # + # source://rbs//lib/rbs/errors.rb#214 + def location; end + + # Returns the value of attribute type_name. + # + # source://rbs//lib/rbs/errors.rb#213 + def type_name; end + + class << self + # source://rbs//lib/rbs/errors.rb#223 + def check!(self_type, env:); end + end +end + +# source://rbs//lib/rbs/errors.rb#167 +class RBS::NoSuperclassFoundError < ::RBS::DefinitionError + # @return [NoSuperclassFoundError] a new instance of NoSuperclassFoundError + # + # source://rbs//lib/rbs/errors.rb#171 + def initialize(type_name:, location:); end + + # Returns the value of attribute location. + # + # source://rbs//lib/rbs/errors.rb#169 + def location; end + + # Returns the value of attribute type_name. + # + # source://rbs//lib/rbs/errors.rb#168 + def type_name; end + + class << self + # source://rbs//lib/rbs/errors.rb#178 + def check!(type_name, env:, location:); end + end +end + +# source://rbs//lib/rbs/errors.rb#148 +class RBS::NoTypeFoundError < ::RBS::DefinitionError + include ::RBS::DetailedMessageable + + # @return [NoTypeFoundError] a new instance of NoTypeFoundError + # + # source://rbs//lib/rbs/errors.rb#154 + def initialize(type_name:, location:); end + + # Returns the value of attribute location. + # + # source://rbs//lib/rbs/errors.rb#152 + def location; end + + # Returns the value of attribute type_name. + # + # source://rbs//lib/rbs/errors.rb#151 + def type_name; end + + class << self + # source://rbs//lib/rbs/errors.rb#161 + def check!(type_name, env:, location:); end + end +end + +# source://rbs//lib/rbs/errors.rb#500 +class RBS::NonregularTypeAliasError < ::RBS::BaseError + include ::RBS::DetailedMessageable + + # @return [NonregularTypeAliasError] a new instance of NonregularTypeAliasError + # + # source://rbs//lib/rbs/errors.rb#506 + def initialize(diagnostic:, location:); end + + # Returns the value of attribute diagnostic. + # + # source://rbs//lib/rbs/errors.rb#503 + def diagnostic; end + + # Returns the value of attribute location. + # + # source://rbs//lib/rbs/errors.rb#504 + def location; end +end + +# source://rbs//lib/rbs/parser/lex_result.rb#4 +class RBS::Parser + class << self + def _lex(_arg0, _arg1); end + def _parse_method_type(_arg0, _arg1, _arg2, _arg3, _arg4); end + def _parse_signature(_arg0, _arg1); end + def _parse_type(_arg0, _arg1, _arg2, _arg3, _arg4); end + + # source://rbs//lib/rbs/parser_aux.rb#34 + def buffer(source); end + + # source://rbs//lib/rbs/parser_aux.rb#25 + def lex(source); end + + # source://rbs//lib/rbs/parser_aux.rb#13 + def parse_method_type(source, range: T.unsafe(nil), variables: T.unsafe(nil), require_eof: T.unsafe(nil)); end + + # source://rbs//lib/rbs/parser_aux.rb#18 + def parse_signature(source); end + + # source://rbs//lib/rbs/parser_aux.rb#8 + def parse_type(source, range: T.unsafe(nil), variables: T.unsafe(nil), require_eof: T.unsafe(nil)); end + end +end + +# source://rbs//lib/rbs/parser_aux.rb#43 +RBS::Parser::KEYWORDS = T.let(T.unsafe(nil), Hash) + +# source://rbs//lib/rbs/parser/lex_result.rb#5 +class RBS::Parser::LexResult + # @return [LexResult] a new instance of LexResult + # + # source://rbs//lib/rbs/parser/lex_result.rb#9 + def initialize(buffer:, value:); end + + # Returns the value of attribute buffer. + # + # source://rbs//lib/rbs/parser/lex_result.rb#6 + def buffer; end + + # Returns the value of attribute value. + # + # source://rbs//lib/rbs/parser/lex_result.rb#7 + def value; end +end + +# source://rbs//lib/rbs/parser/token.rb#5 +class RBS::Parser::Token + # @return [Token] a new instance of Token + # + # source://rbs//lib/rbs/parser/token.rb#9 + def initialize(type:, location:); end + + # @return [Boolean] + # + # source://rbs//lib/rbs/parser/token.rb#18 + def comment?; end + + # Returns the value of attribute location. + # + # source://rbs//lib/rbs/parser/token.rb#7 + def location; end + + # Returns the value of attribute type. + # + # source://rbs//lib/rbs/parser/token.rb#6 + def type; end + + # source://rbs//lib/rbs/parser/token.rb#14 + def value; end +end + +# source://rbs//lib/rbs/errors.rb#51 +class RBS::ParsingError < ::RBS::BaseError + include ::RBS::DetailedMessageable + + # @return [ParsingError] a new instance of ParsingError + # + # source://rbs//lib/rbs/errors.rb#58 + def initialize(location, error_message, token_type); end + + # Returns the value of attribute error_message. + # + # source://rbs//lib/rbs/errors.rb#55 + def error_message; end + + # Returns the value of attribute location. + # + # source://rbs//lib/rbs/errors.rb#54 + def location; end + + # Returns the value of attribute token_type. + # + # source://rbs//lib/rbs/errors.rb#56 + def token_type; end +end + +# source://rbs//lib/rbs/prototype/helpers.rb#4 +module RBS::Prototype; end + +# source://rbs//lib/rbs/prototype/helpers.rb#5 +module RBS::Prototype::Helpers + private + + # @return [Boolean] + # + # source://rbs//lib/rbs/prototype/helpers.rb#96 + def any_node?(node, nodes: T.unsafe(nil), &block); end + + # NOTE: args_node may be a nil by a bug + # https://bugs.ruby-lang.org/issues/17495 + # + # source://rbs//lib/rbs/prototype/helpers.rb#120 + def args_from_node(args_node); end + + # source://rbs//lib/rbs/prototype/helpers.rb#8 + def block_from_body(node); end + + # source://rbs//lib/rbs/prototype/helpers.rb#84 + def each_child(node, &block); end + + # source://rbs//lib/rbs/prototype/helpers.rb#88 + def each_node(nodes); end + + # @return [Boolean] + # + # source://rbs//lib/rbs/prototype/helpers.rb#108 + def keyword_hash?(node); end + + # @return [Boolean] + # + # source://rbs//lib/rbs/prototype/helpers.rb#124 + def symbol_literal_node?(node); end + + # source://rbs//lib/rbs/prototype/helpers.rb#135 + def untyped; end +end + +# source://rbs//lib/rbs/prototype/node_usage.rb#5 +class RBS::Prototype::NodeUsage + include ::RBS::Prototype::Helpers + + # @return [NodeUsage] a new instance of NodeUsage + # + # source://rbs//lib/rbs/prototype/node_usage.rb#10 + def initialize(node); end + + # source://rbs//lib/rbs/prototype/node_usage.rb#25 + def calculate(node, conditional:); end + + # Returns the value of attribute conditional_nodes. + # + # source://rbs//lib/rbs/prototype/node_usage.rb#8 + def conditional_nodes; end + + # source://rbs//lib/rbs/prototype/node_usage.rb#17 + def each_conditional_node(&block); end +end + +# source://rbs//lib/rbs/prototype/rb.rb#5 +class RBS::Prototype::RB + include ::RBS::Prototype::Helpers + + # @return [RB] a new instance of RB + # + # source://rbs//lib/rbs/prototype/rb.rb#45 + def initialize; end + + # source://rbs//lib/rbs/prototype/rb.rb#560 + def block_type(node); end + + # source://rbs//lib/rbs/prototype/rb.rb#540 + def body_type(node); end + + # source://rbs//lib/rbs/prototype/rb.rb#455 + def const_to_name(node, context:); end + + # source://rbs//lib/rbs/prototype/rb.rb#432 + def const_to_name!(node, context: T.unsafe(nil)); end + + # source://rbs//lib/rbs/prototype/rb.rb#771 + def current_accessibility(decls, index = T.unsafe(nil)); end + + # source://rbs//lib/rbs/prototype/rb.rb#49 + def decls; end + + # source://rbs//lib/rbs/prototype/rb.rb#811 + def find_def_index_by_name(decls, name); end + + # source://rbs//lib/rbs/prototype/rb.rb#535 + def function_return_type_from_body(node); end + + # source://rbs//lib/rbs/prototype/rb.rb#477 + def function_type_from_body(node, def_name); end + + # source://rbs//lib/rbs/prototype/rb.rb#553 + def if_unless_type(node); end + + # @return [Boolean] + # + # source://rbs//lib/rbs/prototype/rb.rb#807 + def is_accessibility?(decl); end + + # source://rbs//lib/rbs/prototype/rb.rb#466 + def literal_to_symbol(node); end + + # source://rbs//lib/rbs/prototype/rb.rb#574 + def literal_to_type(node); end + + # backward compatible + # + # source://rbs//lib/rbs/prototype/rb.rb#718 + def node_type(node, default: T.unsafe(nil)); end + + # source://rbs//lib/rbs/prototype/rb.rb#718 + def param_type(node, default: T.unsafe(nil)); end + + # source://rbs//lib/rbs/prototype/rb.rb#75 + def parse(string); end + + # source://rbs//lib/rbs/prototype/rb.rb#763 + def private; end + + # source://rbs//lib/rbs/prototype/rb.rb#107 + def process(node, decls:, comments:, context:); end + + # source://rbs//lib/rbs/prototype/rb.rb#426 + def process_children(node, decls:, comments:, context:); end + + # source://rbs//lib/rbs/prototype/rb.rb#767 + def public; end + + # source://rbs//lib/rbs/prototype/rb.rb#698 + def range_element_type(types); end + + # source://rbs//lib/rbs/prototype/rb.rb#781 + def remove_unnecessary_accessibility_methods!(decls); end + + # source://rbs//lib/rbs/prototype/rb.rb#829 + def sort_members!(decls); end + + # Returns the value of attribute source_decls. + # + # source://rbs//lib/rbs/prototype/rb.rb#42 + def source_decls; end + + # Returns the value of attribute toplevel_members. + # + # source://rbs//lib/rbs/prototype/rb.rb#43 + def toplevel_members; end + + # source://rbs//lib/rbs/prototype/rb.rb#687 + def types_to_union_type(types); end +end + +# source://rbs//lib/rbs/prototype/rb.rb#8 +class RBS::Prototype::RB::Context < ::Struct + # source://rbs//lib/rbs/prototype/rb.rb#25 + def attribute_kind; end + + # source://rbs//lib/rbs/prototype/rb.rb#33 + def enter_namespace(namespace); end + + # source://rbs//lib/rbs/prototype/rb.rb#15 + def method_kind; end + + # source://rbs//lib/rbs/prototype/rb.rb#37 + def update(module_function: T.unsafe(nil), singleton: T.unsafe(nil), in_def: T.unsafe(nil)); end + + class << self + # source://rbs//lib/rbs/prototype/rb.rb#11 + def initial(namespace: T.unsafe(nil)); end + end +end + +# source://rbs//lib/rbs/prototype/rbi.rb#5 +class RBS::Prototype::RBI + include ::RBS::Prototype::Helpers + + # @return [RBI] a new instance of RBI + # + # source://rbs//lib/rbs/prototype/rbi.rb#12 + def initialize; end + + # @return [Boolean] + # + # source://rbs//lib/rbs/prototype/rbi.rb#561 + def call_node?(node, name:, receiver: T.unsafe(nil), args: T.unsafe(nil)); end + + # source://rbs//lib/rbs/prototype/rbi.rb#565 + def const_to_name(node); end + + # source://rbs//lib/rbs/prototype/rbi.rb#90 + def current_module; end + + # source://rbs//lib/rbs/prototype/rbi.rb#94 + def current_module!; end + + # source://rbs//lib/rbs/prototype/rbi.rb#46 + def current_namespace; end + + # Returns the value of attribute decls. + # + # source://rbs//lib/rbs/prototype/rbi.rb#8 + def decls; end + + # source://rbs//lib/rbs/prototype/rbi.rb#601 + def each_arg(array, &block); end + + # source://rbs//lib/rbs/prototype/rbi.rb#615 + def each_child(node); end + + # source://rbs//lib/rbs/prototype/rbi.rb#112 + def join_comments(nodes, comments); end + + # Returns the value of attribute last_sig. + # + # source://rbs//lib/rbs/prototype/rbi.rb#10 + def last_sig; end + + # source://rbs//lib/rbs/prototype/rbi.rb#279 + def method_type(args_node, type_node, variables:, overloads:); end + + # Returns the value of attribute modules. + # + # source://rbs//lib/rbs/prototype/rbi.rb#9 + def modules; end + + # source://rbs//lib/rbs/prototype/rbi.rb#42 + def nested_name(name); end + + # source://rbs//lib/rbs/prototype/rbi.rb#623 + def node_to_hash(node); end + + # source://rbs//lib/rbs/prototype/rbi.rb#18 + def parse(string); end + + # source://rbs//lib/rbs/prototype/rbi.rb#351 + def parse_params(args_node, args, method_type, variables:, overloads:); end + + # source://rbs//lib/rbs/prototype/rbi.rb#106 + def pop_sig; end + + # @return [Boolean] + # + # source://rbs//lib/rbs/prototype/rbi.rb#553 + def proc_type?(type_node); end + + # source://rbs//lib/rbs/prototype/rbi.rb#117 + def process(node, comments:, outer: T.unsafe(nil)); end + + # source://rbs//lib/rbs/prototype/rbi.rb#52 + def push_class(name, super_class, comment:); end + + # source://rbs//lib/rbs/prototype/rbi.rb#71 + def push_module(name, comment:); end + + # source://rbs//lib/rbs/prototype/rbi.rb#98 + def push_sig(node); end + + # source://rbs//lib/rbs/prototype/rbi.rb#476 + def type_of(type_node, variables:); end + + # source://rbs//lib/rbs/prototype/rbi.rb#489 + def type_of0(type_node, variables:); end +end + +# source://rbs//lib/rbs/prototype/runtime/helpers.rb#5 +class RBS::Prototype::Runtime + include ::RBS::Prototype::Helpers + include ::RBS::Prototype::Runtime::Helpers + + # @return [Runtime] a new instance of Runtime + # + # source://rbs//lib/rbs/prototype/runtime.rb#71 + def initialize(patterns:, env:, merge:, todo: T.unsafe(nil), owners_included: T.unsafe(nil)); end + + # source://rbs//lib/rbs/prototype/runtime.rb#651 + def block_from_ast_of(method); end + + # source://rbs//lib/rbs/prototype/runtime.rb#101 + def builder; end + + # source://rbs//lib/rbs/prototype/runtime.rb#109 + def decls; end + + # Generate/find outer module declarations + # This is broken down into another method to comply with `DRY` + # This generates/finds declarations in nested form & returns the last array of declarations + # + # source://rbs//lib/rbs/prototype/runtime.rb#580 + def ensure_outer_module_declarations(mod); end + + # Returns the value of attribute env. + # + # source://rbs//lib/rbs/prototype/runtime.rb#65 + def env; end + + # source://rbs//lib/rbs/prototype/runtime.rb#485 + def generate_class(mod); end + + # source://rbs//lib/rbs/prototype/runtime.rb#423 + def generate_constants(mod, decls); end + + # source://rbs//lib/rbs/prototype/runtime.rb#299 + def generate_methods(mod, module_name, members); end + + # source://rbs//lib/rbs/prototype/runtime.rb#562 + def generate_mixin(mod, decl, type_name, type_name_absolute); end + + # source://rbs//lib/rbs/prototype/runtime.rb#524 + def generate_module(mod); end + + # source://rbs//lib/rbs/prototype/runtime.rb#470 + def generate_super_class(mod); end + + # Returns the value of attribute merge. + # + # source://rbs//lib/rbs/prototype/runtime.rb#66 + def merge; end + + # source://rbs//lib/rbs/prototype/runtime.rb#240 + def merge_rbs(module_name, members, instance: T.unsafe(nil), singleton: T.unsafe(nil)); end + + # source://rbs//lib/rbs/prototype/runtime.rb#171 + def method_type(method); end + + # Returns the value of attribute outline. + # + # source://rbs//lib/rbs/prototype/runtime.rb#69 + def outline; end + + # Sets the attribute outline + # + # @param value the value to set the attribute outline to. + # + # source://rbs//lib/rbs/prototype/runtime.rb#69 + def outline=(_arg0); end + + # Returns the value of attribute owners_included. + # + # source://rbs//lib/rbs/prototype/runtime.rb#68 + def owners_included; end + + # source://rbs//lib/rbs/prototype/runtime.rb#105 + def parse(file); end + + # Returns the value of attribute patterns. + # + # source://rbs//lib/rbs/prototype/runtime.rb#64 + def patterns; end + + # @return [Boolean] + # + # source://rbs//lib/rbs/prototype/runtime.rb#84 + def target?(const); end + + # @return [Boolean] + # + # source://rbs//lib/rbs/prototype/runtime.rb#286 + def target_method?(mod, instance: T.unsafe(nil), singleton: T.unsafe(nil)); end + + # Returns the value of attribute todo. + # + # source://rbs//lib/rbs/prototype/runtime.rb#67 + def todo; end + + # source://rbs//lib/rbs/prototype/runtime.rb#97 + def todo_object; end + + # source://rbs//lib/rbs/prototype/runtime.rb#634 + def type_args(type_name); end + + # source://rbs//lib/rbs/prototype/runtime.rb#642 + def type_params(mod); end + + private + + # @return [Boolean] + # + # source://rbs//lib/rbs/prototype/runtime.rb#413 + def can_alias?(mod, method); end + + # source://rbs//lib/rbs/prototype/runtime.rb#129 + def each_mixined_module(type_name, mod); end + + # source://rbs//lib/rbs/prototype/runtime.rb#138 + def each_mixined_module_one(type_name, mod); end +end + +# source://rbs//lib/rbs/prototype/runtime/value_object_generator.rb#213 +class RBS::Prototype::Runtime::DataGenerator < ::RBS::Prototype::Runtime::ValueObjectBase + private + + # source://rbs//lib/rbs/prototype/runtime/value_object_generator.rb#229 + def add_decl_members(decl); end + + # def self.new: (untyped foo, untyped bar) -> instance + # | (foo: untyped, bar: untyped) -> instance + # + # source://rbs//lib/rbs/prototype/runtime/value_object_generator.rb#237 + def build_s_new; end + + # source://rbs//lib/rbs/prototype/runtime/value_object_generator.rb#225 + def build_super_class; end + + class << self + # @return [Boolean] + # + # source://rbs//lib/rbs/prototype/runtime/value_object_generator.rb#214 + def generatable?(target); end + end +end + +# source://rbs//lib/rbs/prototype/runtime/helpers.rb#6 +module RBS::Prototype::Runtime::Helpers + private + + # source://rbs//lib/rbs/prototype/runtime/helpers.rb#19 + def const_name(const); end + + # source://rbs//lib/rbs/prototype/runtime/helpers.rb#15 + def const_name!(const); end + + # Returns the exact name & not compactly declared name + # + # source://rbs//lib/rbs/prototype/runtime/helpers.rb#10 + def only_name(mod); end + + # source://rbs//lib/rbs/prototype/runtime/helpers.rb#37 + def to_type_name(name, full_name: T.unsafe(nil)); end + + # source://rbs//lib/rbs/prototype/runtime/helpers.rb#53 + def untyped; end +end + +# source://rbs//lib/rbs/prototype/runtime/reflection.rb#6 +module RBS::Prototype::Runtime::Reflection + class << self + # source://rbs//lib/rbs/prototype/runtime/reflection.rb#12 + def constants_of(mod, inherit = T.unsafe(nil)); end + + # source://rbs//lib/rbs/prototype/runtime/reflection.rb#7 + def object_class(value); end + end +end + +# source://rbs//lib/rbs/prototype/runtime/value_object_generator.rb#91 +class RBS::Prototype::Runtime::StructGenerator < ::RBS::Prototype::Runtime::ValueObjectBase + private + + # source://rbs//lib/rbs/prototype/runtime/value_object_generator.rb#108 + def add_decl_members(decl); end + + # source://rbs//lib/rbs/prototype/runtime/value_object_generator.rb#165 + def build_overload_for_keyword_arguments; end + + # source://rbs//lib/rbs/prototype/runtime/value_object_generator.rb#151 + def build_overload_for_positional_arguments; end + + # def self.keyword_init?: () -> bool? + # + # source://rbs//lib/rbs/prototype/runtime/value_object_generator.rb#180 + def build_s_keyword_init_p; end + + # def self.new: (?untyped foo, ?untyped bar) -> instance + # | (?foo: untyped, ?bar: untyped) -> instance + # + # source://rbs//lib/rbs/prototype/runtime/value_object_generator.rb#117 + def build_s_new; end + + # source://rbs//lib/rbs/prototype/runtime/value_object_generator.rb#104 + def build_super_class; end + + class << self + # @return [Boolean] + # + # source://rbs//lib/rbs/prototype/runtime/value_object_generator.rb#92 + def generatable?(target); end + end +end + +# source://rbs//lib/rbs/prototype/runtime/value_object_generator.rb#102 +RBS::Prototype::Runtime::StructGenerator::CAN_CALL_KEYWORD_INIT_P = T.let(T.unsafe(nil), TrueClass) + +# source://rbs//lib/rbs/prototype/runtime.rb#10 +class RBS::Prototype::Runtime::Todo + # @return [Todo] a new instance of Todo + # + # source://rbs//lib/rbs/prototype/runtime.rb#11 + def initialize(builder:); end + + # @return [Boolean] + # + # source://rbs//lib/rbs/prototype/runtime.rb#42 + def skip_constant?(module_name:, name:); end + + # @return [Boolean] + # + # source://rbs//lib/rbs/prototype/runtime.rb#33 + def skip_instance_method?(module_name:, method:, accessibility:); end + + # @return [Boolean] + # + # source://rbs//lib/rbs/prototype/runtime.rb#15 + def skip_mixin?(type_name:, module_name:, mixin_class:); end + + # @return [Boolean] + # + # source://rbs//lib/rbs/prototype/runtime.rb#24 + def skip_singleton_method?(module_name:, method:, accessibility:); end + + private + + # source://rbs//lib/rbs/prototype/runtime.rb#49 + def mixin_decls(type_name); end +end + +# source://rbs//lib/rbs/prototype/runtime/value_object_generator.rb#8 +class RBS::Prototype::Runtime::ValueObjectBase + include ::RBS::Prototype::Runtime::Helpers + + # @return [ValueObjectBase] a new instance of ValueObjectBase + # + # source://rbs//lib/rbs/prototype/runtime/value_object_generator.rb#11 + def initialize(target_class); end + + # source://rbs//lib/rbs/prototype/runtime/value_object_generator.rb#15 + def build_decl; end + + private + + # attr_accessor foo: untyped + # + # source://rbs//lib/rbs/prototype/runtime/value_object_generator.rb#74 + def build_member_accessors(ast_members_class); end + + # def self.members: () -> [ :foo, :bar ] + # def members: () -> [ :foo, :bar ] + # + # source://rbs//lib/rbs/prototype/runtime/value_object_generator.rb#35 + def build_s_members; end +end + +# source://rbs//lib/rdoc_plugin/parser.rb#6 +module RBS::RDocPlugin; end + +# source://rbs//lib/rdoc_plugin/parser.rb#7 +class RBS::RDocPlugin::Parser + # @return [Parser] a new instance of Parser + # + # source://rbs//lib/rdoc_plugin/parser.rb#11 + def initialize(top_level, content); end + + # Returns the value of attribute content. + # + # source://rbs//lib/rdoc_plugin/parser.rb#9 + def content; end + + # Sets the attribute content + # + # @param value the value to set the attribute content to. + # + # source://rbs//lib/rdoc_plugin/parser.rb#9 + def content=(_arg0); end + + # source://rbs//lib/rdoc_plugin/parser.rb#94 + def parse_attr_decl(decl:, context:, outer_name: T.unsafe(nil)); end + + # source://rbs//lib/rdoc_plugin/parser.rb#53 + def parse_class_decl(decl:, context:, outer_name: T.unsafe(nil)); end + + # source://rbs//lib/rdoc_plugin/parser.rb#67 + def parse_constant_decl(decl:, context:, outer_name: T.unsafe(nil)); end + + # source://rbs//lib/rdoc_plugin/parser.rb#125 + def parse_extend_decl(decl:, context:, outer_name: T.unsafe(nil)); end + + # source://rbs//lib/rdoc_plugin/parser.rb#109 + def parse_include_decl(decl:, context:, outer_name: T.unsafe(nil)); end + + # source://rbs//lib/rdoc_plugin/parser.rb#24 + def parse_member(decl:, context:, outer_name: T.unsafe(nil)); end + + # source://rbs//lib/rdoc_plugin/parser.rb#88 + def parse_method_alias_decl(decl:, context:, outer_name: T.unsafe(nil)); end + + # source://rbs//lib/rdoc_plugin/parser.rb#73 + def parse_method_decl(decl:, context:, outer_name: T.unsafe(nil)); end + + # source://rbs//lib/rdoc_plugin/parser.rb#60 + def parse_module_decl(decl:, context:, outer_name: T.unsafe(nil)); end + + # source://rbs//lib/rdoc_plugin/parser.rb#16 + def scan; end + + # Returns the value of attribute top_level. + # + # source://rbs//lib/rdoc_plugin/parser.rb#9 + def top_level; end + + # Sets the attribute top_level + # + # @param value the value to set the attribute top_level to. + # + # source://rbs//lib/rdoc_plugin/parser.rb#9 + def top_level=(_arg0); end + + private + + # source://rbs//lib/rdoc_plugin/parser.rb#149 + def comment_string(with_comment); end + + # source://rbs//lib/rdoc_plugin/parser.rb#143 + def construct_comment(context:, comment:); end + + # source://rbs//lib/rdoc_plugin/parser.rb#154 + def fully_qualified_name(outer_name:, decl:); end +end + +# source://rbs//lib/rbs/errors.rb#423 +class RBS::RecursiveAliasDefinitionError < ::RBS::DefinitionError + include ::RBS::DetailedMessageable + + # @return [RecursiveAliasDefinitionError] a new instance of RecursiveAliasDefinitionError + # + # source://rbs//lib/rbs/errors.rb#429 + def initialize(type:, defs:); end + + # Returns the value of attribute defs. + # + # source://rbs//lib/rbs/errors.rb#427 + def defs; end + + # source://rbs//lib/rbs/errors.rb#436 + def location; end + + # Returns the value of attribute type. + # + # source://rbs//lib/rbs/errors.rb#426 + def type; end +end + +# source://rbs//lib/rbs/errors.rb#110 +class RBS::RecursiveAncestorError < ::RBS::DefinitionError + # @return [RecursiveAncestorError] a new instance of RecursiveAncestorError + # + # source://rbs//lib/rbs/errors.rb#114 + def initialize(ancestors:, location:); end + + # Returns the value of attribute ancestors. + # + # source://rbs//lib/rbs/errors.rb#111 + def ancestors; end + + # Returns the value of attribute location. + # + # source://rbs//lib/rbs/errors.rb#112 + def location; end + + class << self + # source://rbs//lib/rbs/errors.rb#134 + def check!(self_ancestor, ancestors:, location:); end + end +end + +# source://rbs//lib/rbs/errors.rb#482 +class RBS::RecursiveTypeAliasError < ::RBS::BaseError + include ::RBS::DetailedMessageable + + # @return [RecursiveTypeAliasError] a new instance of RecursiveTypeAliasError + # + # source://rbs//lib/rbs/errors.rb#488 + def initialize(alias_names:, location:); end + + # Returns the value of attribute alias_names. + # + # source://rbs//lib/rbs/errors.rb#485 + def alias_names; end + + # Returns the value of attribute location. + # + # source://rbs//lib/rbs/errors.rb#486 + def location; end + + # source://rbs//lib/rbs/errors.rb#495 + def name; end +end + +# source://rbs//lib/rbs/repository.rb#4 +class RBS::Repository + # @return [Repository] a new instance of Repository + # + # source://rbs//lib/rbs/repository.rb#74 + def initialize(no_stdlib: T.unsafe(nil)); end + + # source://rbs//lib/rbs/repository.rb#98 + def add(dir); end + + # Returns the value of attribute dirs. + # + # source://rbs//lib/rbs/repository.rb#71 + def dirs; end + + # Returns the value of attribute gems. + # + # source://rbs//lib/rbs/repository.rb#72 + def gems; end + + # source://rbs//lib/rbs/repository.rb#108 + def lookup(gem, version); end + + # source://rbs//lib/rbs/repository.rb#113 + def lookup_path(gem, version); end + + class << self + # source://rbs//lib/rbs/repository.rb#83 + def default; end + + # source://rbs//lib/rbs/repository.rb#87 + def find_best_version(version, candidates); end + end +end + +# source://rbs//lib/rbs/repository.rb#5 +RBS::Repository::DEFAULT_STDLIB_ROOT = T.let(T.unsafe(nil), Pathname) + +# source://rbs//lib/rbs/repository.rb#7 +class RBS::Repository::GemRBS + # @return [GemRBS] a new instance of GemRBS + # + # source://rbs//lib/rbs/repository.rb#11 + def initialize(name:); end + + # @return [Boolean] + # + # source://rbs//lib/rbs/repository.rb#64 + def empty?; end + + # source://rbs//lib/rbs/repository.rb#59 + def find_best_version(version); end + + # source://rbs//lib/rbs/repository.rb#54 + def latest_version; end + + # source://rbs//lib/rbs/repository.rb#22 + def load!; end + + # Returns the value of attribute name. + # + # source://rbs//lib/rbs/repository.rb#8 + def name; end + + # source://rbs//lib/rbs/repository.rb#49 + def oldest_version; end + + # Returns the value of attribute paths. + # + # source://rbs//lib/rbs/repository.rb#9 + def paths; end + + # source://rbs//lib/rbs/repository.rb#45 + def version_names; end + + # source://rbs//lib/rbs/repository.rb#17 + def versions; end +end + +# source://rbs//lib/rbs/repository.rb#69 +class RBS::Repository::VersionPath < ::Struct + def gem; end + def gem=(_); end + def path; end + def path=(_); end + def version; end + def version=(_); end + + class << self + def [](*_arg0); end + def inspect; end + def keyword_init?; end + def members; end + def new(*_arg0); end + end +end + +# source://rbs//lib/rbs/resolver/constant_resolver.rb#4 +module RBS::Resolver; end + +# source://rbs//lib/rbs/resolver/constant_resolver.rb#5 +class RBS::Resolver::ConstantResolver + # @return [ConstantResolver] a new instance of ConstantResolver + # + # source://rbs//lib/rbs/resolver/constant_resolver.rb#88 + def initialize(builder:); end + + # Returns the value of attribute builder. + # + # source://rbs//lib/rbs/resolver/constant_resolver.rb#85 + def builder; end + + # Returns the value of attribute child_constants_cache. + # + # source://rbs//lib/rbs/resolver/constant_resolver.rb#86 + def child_constants_cache; end + + # source://rbs//lib/rbs/resolver/constant_resolver.rb#112 + def children(module_name); end + + # source://rbs//lib/rbs/resolver/constant_resolver.rb#100 + def constants(context); end + + # source://rbs//lib/rbs/resolver/constant_resolver.rb#178 + def constants_from_ancestors(module_name, constants:); end + + # source://rbs//lib/rbs/resolver/constant_resolver.rb#163 + def constants_from_context(context, constants:); end + + # source://rbs//lib/rbs/resolver/constant_resolver.rb#201 + def constants_itself(context, constants:); end + + # Returns the value of attribute context_constants_cache. + # + # source://rbs//lib/rbs/resolver/constant_resolver.rb#86 + def context_constants_cache; end + + # source://rbs//lib/rbs/resolver/constant_resolver.rb#138 + def load_child_constants(name); end + + # source://rbs//lib/rbs/resolver/constant_resolver.rb#122 + def load_context_constants(context); end + + # source://rbs//lib/rbs/resolver/constant_resolver.rb#95 + def resolve(name, context:); end + + # source://rbs//lib/rbs/resolver/constant_resolver.rb#108 + def resolve_child(module_name, name); end + + # Returns the value of attribute table. + # + # source://rbs//lib/rbs/resolver/constant_resolver.rb#85 + def table; end +end + +# source://rbs//lib/rbs/resolver/constant_resolver.rb#6 +class RBS::Resolver::ConstantResolver::Table + # @return [Table] a new instance of Table + # + # source://rbs//lib/rbs/resolver/constant_resolver.rb#10 + def initialize(environment); end + + # source://rbs//lib/rbs/resolver/constant_resolver.rb#63 + def children(name); end + + # Returns the value of attribute children_table. + # + # source://rbs//lib/rbs/resolver/constant_resolver.rb#7 + def children_table; end + + # source://rbs//lib/rbs/resolver/constant_resolver.rb#67 + def constant(name); end + + # source://rbs//lib/rbs/resolver/constant_resolver.rb#80 + def constant_of_constant(name, entry); end + + # source://rbs//lib/rbs/resolver/constant_resolver.rb#71 + def constant_of_module(name, entry); end + + # Returns the value of attribute constants_table. + # + # source://rbs//lib/rbs/resolver/constant_resolver.rb#8 + def constants_table; end + + # Returns the value of attribute toplevel. + # + # source://rbs//lib/rbs/resolver/constant_resolver.rb#7 + def toplevel; end +end + +# source://rbs//lib/rbs/resolver/type_name_resolver.rb#5 +class RBS::Resolver::TypeNameResolver + # @return [TypeNameResolver] a new instance of TypeNameResolver + # + # source://rbs//lib/rbs/resolver/type_name_resolver.rb#10 + def initialize(env); end + + # Returns the value of attribute all_names. + # + # source://rbs//lib/rbs/resolver/type_name_resolver.rb#6 + def all_names; end + + # Returns the value of attribute cache. + # + # source://rbs//lib/rbs/resolver/type_name_resolver.rb#7 + def cache; end + + # Returns the value of attribute env. + # + # source://rbs//lib/rbs/resolver/type_name_resolver.rb#8 + def env; end + + # @return [Boolean] + # + # source://rbs//lib/rbs/resolver/type_name_resolver.rb#84 + def has_name?(full_name); end + + # source://rbs//lib/rbs/resolver/type_name_resolver.rb#51 + def partition(type_name); end + + # source://rbs//lib/rbs/resolver/type_name_resolver.rb#28 + def resolve(type_name, context:); end + + # source://rbs//lib/rbs/resolver/type_name_resolver.rb#69 + def resolve_in(head, context); end + + # source://rbs//lib/rbs/resolver/type_name_resolver.rb#21 + def try_cache(query); end +end + +# source://rbs//lib/rbs/substitution.rb#4 +class RBS::Substitution + # @return [Substitution] a new instance of Substitution + # + # source://rbs//lib/rbs/substitution.rb#12 + def initialize; end + + # source://rbs//lib/rbs/substitution.rb#66 + def +(other); end + + # source://rbs//lib/rbs/substitution.rb#37 + def [](ty); end + + # source://rbs//lib/rbs/substitution.rb#16 + def add(from:, to:); end + + # source://rbs//lib/rbs/substitution.rb#37 + def apply(ty); end + + # @return [Boolean] + # + # source://rbs//lib/rbs/substitution.rb#8 + def empty?; end + + # Returns the value of attribute instance_type. + # + # source://rbs//lib/rbs/substitution.rb#6 + def instance_type; end + + # Sets the attribute instance_type + # + # @param value the value to set the attribute instance_type to. + # + # source://rbs//lib/rbs/substitution.rb#6 + def instance_type=(_arg0); end + + # Returns the value of attribute mapping. + # + # source://rbs//lib/rbs/substitution.rb#5 + def mapping; end + + # source://rbs//lib/rbs/substitution.rb#55 + def without(*vars); end + + class << self + # source://rbs//lib/rbs/substitution.rb#20 + def build(variables, types, instance_type: T.unsafe(nil), &block); end + end +end + +# source://rbs//lib/rbs/subtractor.rb#4 +class RBS::Subtractor + # @return [Subtractor] a new instance of Subtractor + # + # source://rbs//lib/rbs/subtractor.rb#5 + def initialize(minuend, subtrahend); end + + # source://rbs//lib/rbs/subtractor.rb#10 + def call(minuend = T.unsafe(nil), context: T.unsafe(nil)); end + + private + + # source://rbs//lib/rbs/subtractor.rb#177 + def absolute_typename(name, context:); end + + # @return [Boolean] + # + # source://rbs//lib/rbs/subtractor.rb#160 + def access_modifier?(decl); end + + # @return [Boolean] + # + # source://rbs//lib/rbs/subtractor.rb#118 + def cvar_exist?(owner, name); end + + # source://rbs//lib/rbs/subtractor.rb#127 + def each_member(owner, &block); end + + # source://rbs//lib/rbs/subtractor.rb#48 + def filter_members(decl, context:); end + + # source://rbs//lib/rbs/subtractor.rb#148 + def filter_redundunt_access_modifiers(decls); end + + # @return [Boolean] + # + # source://rbs//lib/rbs/subtractor.rb#106 + def ivar_exist?(owner, name, kind); end + + # @return [Boolean] + # + # source://rbs//lib/rbs/subtractor.rb#60 + def member_exist?(owner, member, context:); end + + # @return [Boolean] + # + # source://rbs//lib/rbs/subtractor.rb#89 + def method_exist?(owner, method_name, kind); end + + # @return [Boolean] + # + # source://rbs//lib/rbs/subtractor.rb#137 + def mixin_exist?(owner, mixin, context:); end + + # source://rbs//lib/rbs/subtractor.rb#186 + def typename_candidates(name, context:); end + + # source://rbs//lib/rbs/subtractor.rb#164 + def update_decl(decl, members:); end +end + +# source://rbs//lib/rbs/errors.rb#343 +class RBS::SuperclassMismatchError < ::RBS::DefinitionError + # @return [SuperclassMismatchError] a new instance of SuperclassMismatchError + # + # source://rbs//lib/rbs/errors.rb#347 + def initialize(name:, entry:); end + + # Returns the value of attribute entry. + # + # source://rbs//lib/rbs/errors.rb#345 + def entry; end + + # Returns the value of attribute name. + # + # source://rbs//lib/rbs/errors.rb#344 + def name; end +end + +# source://rbs//lib/rbs/type_alias_dependency.rb#4 +class RBS::TypeAliasDependency + # @return [TypeAliasDependency] a new instance of TypeAliasDependency + # + # source://rbs//lib/rbs/type_alias_dependency.rb#14 + def initialize(env:); end + + # source://rbs//lib/rbs/type_alias_dependency.rb#27 + def build_dependencies; end + + # Check if an alias type definition is circular & prohibited + # + # @return [Boolean] + # + # source://rbs//lib/rbs/type_alias_dependency.rb#19 + def circular_definition?(alias_name); end + + # A hash which stores the transitive closure + # of the directed graph + # + # source://rbs//lib/rbs/type_alias_dependency.rb#12 + def dependencies; end + + # source://rbs//lib/rbs/type_alias_dependency.rb#57 + def dependencies_of(name); end + + # Direct dependencies corresponds to a directed graph + # with vertices as types and directions based on assignment of types + # + # source://rbs//lib/rbs/type_alias_dependency.rb#9 + def direct_dependencies; end + + # source://rbs//lib/rbs/type_alias_dependency.rb#52 + def direct_dependencies_of(name); end + + # Returns the value of attribute env. + # + # source://rbs//lib/rbs/type_alias_dependency.rb#5 + def env; end + + # source://rbs//lib/rbs/type_alias_dependency.rb#43 + def transitive_closure; end + + private + + # Recursive function to construct transitive closure + # + # source://rbs//lib/rbs/type_alias_dependency.rb#81 + def dependency(start, vertex, nested = T.unsafe(nil)); end + + # Constructs directed graph recursively + # + # source://rbs//lib/rbs/type_alias_dependency.rb#65 + def direct_dependency(type, result = T.unsafe(nil)); end +end + +# source://rbs//lib/rbs/type_alias_regularity.rb#4 +class RBS::TypeAliasRegularity + # @return [TypeAliasRegularity] a new instance of TypeAliasRegularity + # + # source://rbs//lib/rbs/type_alias_regularity.rb#16 + def initialize(env:); end + + # source://rbs//lib/rbs/type_alias_regularity.rb#61 + def build_alias_type(name); end + + # Returns the value of attribute builder. + # + # source://rbs//lib/rbs/type_alias_regularity.rb#14 + def builder; end + + # @return [Boolean] + # + # source://rbs//lib/rbs/type_alias_regularity.rb#69 + def compatible_args?(args1, args2); end + + # Returns the value of attribute diagnostics. + # + # source://rbs//lib/rbs/type_alias_regularity.rb#14 + def diagnostics; end + + # source://rbs//lib/rbs/type_alias_regularity.rb#110 + def each_alias_type(type, &block); end + + # source://rbs//lib/rbs/type_alias_regularity.rb#83 + def each_mutual_alias_defs(&block); end + + # Returns the value of attribute env. + # + # source://rbs//lib/rbs/type_alias_regularity.rb#14 + def env; end + + # @return [Boolean] + # + # source://rbs//lib/rbs/type_alias_regularity.rb#79 + def nonregular?(type_name); end + + # source://rbs//lib/rbs/type_alias_regularity.rb#22 + def validate; end + + # source://rbs//lib/rbs/type_alias_regularity.rb#39 + def validate_alias_type(alias_type, names, types); end + + class << self + # source://rbs//lib/rbs/type_alias_regularity.rb#120 + def validate(env:); end + end +end + +# source://rbs//lib/rbs/type_alias_regularity.rb#5 +class RBS::TypeAliasRegularity::Diagnostic + # @return [Diagnostic] a new instance of Diagnostic + # + # source://rbs//lib/rbs/type_alias_regularity.rb#8 + def initialize(type_name:, nonregular_type:); end + + # Returns the value of attribute nonregular_type. + # + # source://rbs//lib/rbs/type_alias_regularity.rb#6 + def nonregular_type; end + + # Returns the value of attribute type_name. + # + # source://rbs//lib/rbs/type_alias_regularity.rb#6 + def type_name; end +end + +# source://rbs//lib/rbs/type_name.rb#4 +class RBS::TypeName + # @return [TypeName] a new instance of TypeName + # + # source://rbs//lib/rbs/type_name.rb#9 + def initialize(namespace:, name:); end + + # source://rbs//lib/rbs/type_name.rb#79 + def +(other); end + + # source://rbs//lib/rbs/type_name.rb#25 + def ==(other); end + + # source://rbs//lib/rbs/type_name.rb#55 + def absolute!; end + + # @return [Boolean] + # + # source://rbs//lib/rbs/type_name.rb#59 + def absolute?; end + + # @return [Boolean] + # + # source://rbs//lib/rbs/type_name.rb#51 + def alias?; end + + # @return [Boolean] + # + # source://rbs//lib/rbs/type_name.rb#47 + def class?; end + + # source://rbs//lib/rbs/type_name.rb#25 + def eql?(other); end + + # source://rbs//lib/rbs/type_name.rb#31 + def hash; end + + # @return [Boolean] + # + # source://rbs//lib/rbs/type_name.rb#67 + def interface?; end + + # Returns the value of attribute kind. + # + # source://rbs//lib/rbs/type_name.rb#7 + def kind; end + + # Returns the value of attribute name. + # + # source://rbs//lib/rbs/type_name.rb#6 + def name; end + + # Returns the value of attribute namespace. + # + # source://rbs//lib/rbs/type_name.rb#5 + def namespace; end + + # source://rbs//lib/rbs/type_name.rb#63 + def relative!; end + + # source://rbs//lib/rbs/type_name.rb#75 + def split; end + + # source://rbs//lib/rbs/type_name.rb#39 + def to_json(state = T.unsafe(nil)); end + + # source://rbs//lib/rbs/type_name.rb#43 + def to_namespace; end + + # source://rbs//lib/rbs/type_name.rb#35 + def to_s; end + + # source://rbs//lib/rbs/type_name.rb#71 + def with_prefix(namespace); end + + class << self + # source://rbs//lib/rbs/type_name.rb#90 + def parse(string); end + end +end + +# source://rbs//lib/rbs/errors.rb#580 +class RBS::TypeParamDefaultReferenceError < ::RBS::DefinitionError + include ::RBS::DetailedMessageable + + # @return [TypeParamDefaultReferenceError] a new instance of TypeParamDefaultReferenceError + # + # source://rbs//lib/rbs/errors.rb#586 + def initialize(type_param, location:); end + + # Returns the value of attribute location. + # + # source://rbs//lib/rbs/errors.rb#584 + def location; end + + # Returns the value of attribute type_param. + # + # source://rbs//lib/rbs/errors.rb#583 + def type_param; end + + class << self + # source://rbs//lib/rbs/errors.rb#592 + def check!(type_params); end + end +end + +# source://rbs//lib/rbs/types.rb#4 +module RBS::Types; end + +# source://rbs//lib/rbs/types.rb#394 +class RBS::Types::Alias + include ::RBS::Types::Application + + # @return [Alias] a new instance of Alias + # + # source://rbs//lib/rbs/types.rb#399 + def initialize(name:, args:, location:); end + + # Returns the value of attribute location. + # + # source://rbs//lib/rbs/types.rb#395 + def location; end + + # source://rbs//lib/rbs/types.rb#421 + def map_type(&block); end + + # source://rbs//lib/rbs/types.rb#413 + def map_type_name(&block); end + + # source://rbs//lib/rbs/types.rb#409 + def sub(s); end + + # source://rbs//lib/rbs/types.rb#405 + def to_json(state = T.unsafe(nil)); end +end + +# source://rbs//lib/rbs/types.rb#252 +module RBS::Types::Application + # source://rbs//lib/rbs/types.rb#256 + def ==(other); end + + # Returns the value of attribute args. + # + # source://rbs//lib/rbs/types.rb#254 + def args; end + + # source://rbs//lib/rbs/types.rb#282 + def each_type(&block); end + + # source://rbs//lib/rbs/types.rb#256 + def eql?(other); end + + # source://rbs//lib/rbs/types.rb#266 + def free_variables(set = T.unsafe(nil)); end + + # @return [Boolean] + # + # source://rbs//lib/rbs/types.rb#294 + def has_classish_type?; end + + # @return [Boolean] + # + # source://rbs//lib/rbs/types.rb#290 + def has_self_type?; end + + # source://rbs//lib/rbs/types.rb#262 + def hash; end + + # Returns the value of attribute name. + # + # source://rbs//lib/rbs/types.rb#253 + def name; end + + # source://rbs//lib/rbs/types.rb#274 + def to_s(level = T.unsafe(nil)); end + + # @return [Boolean] + # + # source://rbs//lib/rbs/types.rb#298 + def with_nonreturn_void?; end +end + +# source://rbs//lib/rbs/types.rb#41 +module RBS::Types::Bases; end + +# source://rbs//lib/rbs/types.rb#109 +class RBS::Types::Bases::Any < ::RBS::Types::Bases::Base + # source://rbs//lib/rbs/types.rb#110 + def to_s(level = T.unsafe(nil)); end + + # source://rbs//lib/rbs/types.rb#114 + def todo!; end +end + +# source://rbs//lib/rbs/types.rb#42 +class RBS::Types::Bases::Base + include ::RBS::Types::NoFreeVariables + include ::RBS::Types::NoSubst + include ::RBS::Types::EmptyEachType + include ::RBS::Types::NoTypeName + + # @return [Base] a new instance of Base + # + # source://rbs//lib/rbs/types.rb#45 + def initialize(location:); end + + # source://rbs//lib/rbs/types.rb#49 + def ==(other); end + + # source://rbs//lib/rbs/types.rb#49 + def eql?(other); end + + # @return [Boolean] + # + # source://rbs//lib/rbs/types.rb#98 + def has_classish_type?; end + + # @return [Boolean] + # + # source://rbs//lib/rbs/types.rb#94 + def has_self_type?; end + + # source://rbs//lib/rbs/types.rb#53 + def hash; end + + # Returns the value of attribute location. + # + # source://rbs//lib/rbs/types.rb#43 + def location; end + + # source://rbs//lib/rbs/types.rb#64 + def to_json(state = T.unsafe(nil)); end + + # source://rbs//lib/rbs/types.rb#69 + def to_s(level = T.unsafe(nil)); end + + # @return [Boolean] + # + # source://rbs//lib/rbs/types.rb#102 + def with_nonreturn_void?; end +end + +# source://rbs//lib/rbs/types.rb#107 +class RBS::Types::Bases::Bool < ::RBS::Types::Bases::Base; end + +# source://rbs//lib/rbs/types.rb#121 +class RBS::Types::Bases::Bottom < ::RBS::Types::Bases::Base; end + +# source://rbs//lib/rbs/types.rb#128 +class RBS::Types::Bases::Class < ::RBS::Types::Bases::Base; end + +# source://rbs//lib/rbs/types.rb#123 +class RBS::Types::Bases::Instance < ::RBS::Types::Bases::Base + # source://rbs//lib/rbs/types.rb#124 + def sub(s); end +end + +# source://rbs//lib/rbs/types.rb#119 +class RBS::Types::Bases::Nil < ::RBS::Types::Bases::Base; end + +# source://rbs//lib/rbs/types.rb#122 +class RBS::Types::Bases::Self < ::RBS::Types::Bases::Base; end + +# source://rbs//lib/rbs/types.rb#120 +class RBS::Types::Bases::Top < ::RBS::Types::Bases::Base; end + +# source://rbs//lib/rbs/types.rb#108 +class RBS::Types::Bases::Void < ::RBS::Types::Bases::Base; end + +# source://rbs//lib/rbs/types.rb#1307 +class RBS::Types::Block + # @return [Block] a new instance of Block + # + # source://rbs//lib/rbs/types.rb#1312 + def initialize(type:, required:, self_type: T.unsafe(nil)); end + + # source://rbs//lib/rbs/types.rb#1318 + def ==(other); end + + # source://rbs//lib/rbs/types.rb#1341 + def map_type(&block); end + + # Returns the value of attribute required. + # + # source://rbs//lib/rbs/types.rb#1309 + def required; end + + # Returns the value of attribute self_type. + # + # source://rbs//lib/rbs/types.rb#1310 + def self_type; end + + # source://rbs//lib/rbs/types.rb#1333 + def sub(s); end + + # source://rbs//lib/rbs/types.rb#1325 + def to_json(state = T.unsafe(nil)); end + + # Returns the value of attribute type. + # + # source://rbs//lib/rbs/types.rb#1308 + def type; end +end + +# source://rbs//lib/rbs/types.rb#352 +class RBS::Types::ClassInstance + include ::RBS::Types::Application + + # @return [ClassInstance] a new instance of ClassInstance + # + # source://rbs//lib/rbs/types.rb#357 + def initialize(name:, args:, location:); end + + # Returns the value of attribute location. + # + # source://rbs//lib/rbs/types.rb#353 + def location; end + + # source://rbs//lib/rbs/types.rb#381 + def map_type(&block); end + + # source://rbs//lib/rbs/types.rb#373 + def map_type_name(&block); end + + # source://rbs//lib/rbs/types.rb#367 + def sub(s); end + + # source://rbs//lib/rbs/types.rb#363 + def to_json(state = T.unsafe(nil)); end +end + +# source://rbs//lib/rbs/types.rb#200 +class RBS::Types::ClassSingleton + include ::RBS::Types::NoFreeVariables + include ::RBS::Types::NoSubst + include ::RBS::Types::EmptyEachType + + # @return [ClassSingleton] a new instance of ClassSingleton + # + # source://rbs//lib/rbs/types.rb#204 + def initialize(name:, location:); end + + # source://rbs//lib/rbs/types.rb#209 + def ==(other); end + + # source://rbs//lib/rbs/types.rb#209 + def eql?(other); end + + # @return [Boolean] + # + # source://rbs//lib/rbs/types.rb#243 + def has_classish_type?; end + + # @return [Boolean] + # + # source://rbs//lib/rbs/types.rb#239 + def has_self_type?; end + + # source://rbs//lib/rbs/types.rb#215 + def hash; end + + # Returns the value of attribute location. + # + # source://rbs//lib/rbs/types.rb#202 + def location; end + + # source://rbs//lib/rbs/types.rb#232 + def map_type_name; end + + # Returns the value of attribute name. + # + # source://rbs//lib/rbs/types.rb#201 + def name; end + + # source://rbs//lib/rbs/types.rb#222 + def to_json(state = T.unsafe(nil)); end + + # source://rbs//lib/rbs/types.rb#226 + def to_s(level = T.unsafe(nil)); end + + # @return [Boolean] + # + # source://rbs//lib/rbs/types.rb#247 + def with_nonreturn_void?; end +end + +# source://rbs//lib/rbs/types.rb#23 +module RBS::Types::EmptyEachType + # source://rbs//lib/rbs/types.rb#24 + def each_type; end + + # source://rbs//lib/rbs/types.rb#32 + def map_type(&block); end +end + +# source://rbs//lib/rbs/types.rb#878 +class RBS::Types::Function + # @return [Function] a new instance of Function + # + # source://rbs//lib/rbs/types.rb#934 + def initialize(required_positionals:, optional_positionals:, rest_positionals:, trailing_positionals:, required_keywords:, optional_keywords:, rest_keywords:, return_type:); end + + # source://rbs//lib/rbs/types.rb#945 + def ==(other); end + + # source://rbs//lib/rbs/types.rb#1016 + def amap(array, &block); end + + # source://rbs//lib/rbs/types.rb#1153 + def drop_head; end + + # source://rbs//lib/rbs/types.rb#1170 + def drop_tail; end + + # source://rbs//lib/rbs/types.rb#1053 + def each_param(&block); end + + # source://rbs//lib/rbs/types.rb#1038 + def each_type; end + + # @return [Boolean] + # + # source://rbs//lib/rbs/types.rb#1124 + def empty?; end + + # source://rbs//lib/rbs/types.rb#945 + def eql?(other); end + + # source://rbs//lib/rbs/types.rb#971 + def free_variables(set = T.unsafe(nil)); end + + # @return [Boolean] + # + # source://rbs//lib/rbs/types.rb#1195 + def has_classish_type?; end + + # @return [Boolean] + # + # source://rbs//lib/rbs/types.rb#1183 + def has_keyword?; end + + # @return [Boolean] + # + # source://rbs//lib/rbs/types.rb#1191 + def has_self_type?; end + + # source://rbs//lib/rbs/types.rb#959 + def hash; end + + # source://rbs//lib/rbs/types.rb#1024 + def hmapv(hash, &block); end + + # source://rbs//lib/rbs/types.rb#999 + def map_type(&block); end + + # source://rbs//lib/rbs/types.rb#1032 + def map_type_name(&block); end + + # Returns the value of attribute optional_keywords. + # + # source://rbs//lib/rbs/types.rb#930 + def optional_keywords; end + + # Returns the value of attribute optional_positionals. + # + # source://rbs//lib/rbs/types.rb#926 + def optional_positionals; end + + # source://rbs//lib/rbs/types.rb#1134 + def param_to_s; end + + # Returns the value of attribute required_keywords. + # + # source://rbs//lib/rbs/types.rb#929 + def required_keywords; end + + # Returns the value of attribute required_positionals. + # + # source://rbs//lib/rbs/types.rb#925 + def required_positionals; end + + # Returns the value of attribute rest_keywords. + # + # source://rbs//lib/rbs/types.rb#931 + def rest_keywords; end + + # Returns the value of attribute rest_positionals. + # + # source://rbs//lib/rbs/types.rb#927 + def rest_positionals; end + + # source://rbs//lib/rbs/types.rb#1149 + def return_to_s; end + + # Returns the value of attribute return_type. + # + # source://rbs//lib/rbs/types.rb#932 + def return_type; end + + # source://rbs//lib/rbs/types.rb#1080 + def sub(s); end + + # source://rbs//lib/rbs/types.rb#1067 + def to_json(state = T.unsafe(nil)); end + + # Returns the value of attribute trailing_positionals. + # + # source://rbs//lib/rbs/types.rb#928 + def trailing_positionals; end + + # source://rbs//lib/rbs/types.rb#1110 + def update(required_positionals: T.unsafe(nil), optional_positionals: T.unsafe(nil), rest_positionals: T.unsafe(nil), trailing_positionals: T.unsafe(nil), required_keywords: T.unsafe(nil), optional_keywords: T.unsafe(nil), rest_keywords: T.unsafe(nil), return_type: T.unsafe(nil)); end + + # @return [Boolean] + # + # source://rbs//lib/rbs/types.rb#1199 + def with_nonreturn_void?; end + + # source://rbs//lib/rbs/types.rb#1097 + def with_return_type(type); end + + class << self + # source://rbs//lib/rbs/types.rb#1084 + def empty(return_type); end + end +end + +# source://rbs//lib/rbs/types.rb#879 +class RBS::Types::Function::Param + # @return [Param] a new instance of Param + # + # source://rbs//lib/rbs/types.rb#884 + def initialize(type:, name:, location: T.unsafe(nil)); end + + # source://rbs//lib/rbs/types.rb#890 + def ==(other); end + + # source://rbs//lib/rbs/types.rb#890 + def eql?(other); end + + # source://rbs//lib/rbs/types.rb#896 + def hash; end + + # Returns the value of attribute location. + # + # source://rbs//lib/rbs/types.rb#882 + def location; end + + # source://rbs//lib/rbs/types.rb#900 + def map_type(&block); end + + # Returns the value of attribute name. + # + # source://rbs//lib/rbs/types.rb#881 + def name; end + + # source://rbs//lib/rbs/types.rb#908 + def to_json(state = T.unsafe(nil)); end + + # source://rbs//lib/rbs/types.rb#912 + def to_s; end + + # Returns the value of attribute type. + # + # source://rbs//lib/rbs/types.rb#880 + def type; end +end + +# source://rbs//lib/rbs/types.rb#310 +class RBS::Types::Interface + include ::RBS::Types::Application + + # @return [Interface] a new instance of Interface + # + # source://rbs//lib/rbs/types.rb#315 + def initialize(name:, args:, location:); end + + # Returns the value of attribute location. + # + # source://rbs//lib/rbs/types.rb#311 + def location; end + + # source://rbs//lib/rbs/types.rb#339 + def map_type(&block); end + + # source://rbs//lib/rbs/types.rb#331 + def map_type_name(&block); end + + # source://rbs//lib/rbs/types.rb#325 + def sub(s); end + + # source://rbs//lib/rbs/types.rb#321 + def to_json(state = T.unsafe(nil)); end +end + +# source://rbs//lib/rbs/types.rb#797 +class RBS::Types::Intersection + # @return [Intersection] a new instance of Intersection + # + # source://rbs//lib/rbs/types.rb#801 + def initialize(types:, location:); end + + # source://rbs//lib/rbs/types.rb#806 + def ==(other); end + + # source://rbs//lib/rbs/types.rb#842 + def each_type(&block); end + + # source://rbs//lib/rbs/types.rb#806 + def eql?(other); end + + # source://rbs//lib/rbs/types.rb#816 + def free_variables(set = T.unsafe(nil)); end + + # @return [Boolean] + # + # source://rbs//lib/rbs/types.rb#869 + def has_classish_type?; end + + # @return [Boolean] + # + # source://rbs//lib/rbs/types.rb#865 + def has_self_type?; end + + # source://rbs//lib/rbs/types.rb#812 + def hash; end + + # Returns the value of attribute location. + # + # source://rbs//lib/rbs/types.rb#799 + def location; end + + # source://rbs//lib/rbs/types.rb#850 + def map_type(&block); end + + # source://rbs//lib/rbs/types.rb#858 + def map_type_name(&block); end + + # source://rbs//lib/rbs/types.rb#828 + def sub(s); end + + # source://rbs//lib/rbs/types.rb#824 + def to_json(state = T.unsafe(nil)); end + + # source://rbs//lib/rbs/types.rb#833 + def to_s(level = T.unsafe(nil)); end + + # Returns the value of attribute types. + # + # source://rbs//lib/rbs/types.rb#798 + def types; end + + # @return [Boolean] + # + # source://rbs//lib/rbs/types.rb#873 + def with_nonreturn_void?; end +end + +# source://rbs//lib/rbs/types.rb#1483 +class RBS::Types::Literal + include ::RBS::Types::NoFreeVariables + include ::RBS::Types::NoSubst + include ::RBS::Types::EmptyEachType + include ::RBS::Types::NoTypeName + + # @return [Literal] a new instance of Literal + # + # source://rbs//lib/rbs/types.rb#1487 + def initialize(literal:, location:); end + + # source://rbs//lib/rbs/types.rb#1492 + def ==(other); end + + # source://rbs//lib/rbs/types.rb#1492 + def eql?(other); end + + # @return [Boolean] + # + # source://rbs//lib/rbs/types.rb#1519 + def has_classish_type?; end + + # @return [Boolean] + # + # source://rbs//lib/rbs/types.rb#1515 + def has_self_type?; end + + # source://rbs//lib/rbs/types.rb#1498 + def hash; end + + # Returns the value of attribute literal. + # + # source://rbs//lib/rbs/types.rb#1484 + def literal; end + + # Returns the value of attribute location. + # + # source://rbs//lib/rbs/types.rb#1485 + def location; end + + # source://rbs//lib/rbs/types.rb#1507 + def to_json(state = T.unsafe(nil)); end + + # source://rbs//lib/rbs/types.rb#1511 + def to_s(level = T.unsafe(nil)); end + + # @return [Boolean] + # + # source://rbs//lib/rbs/types.rb#1523 + def with_nonreturn_void?; end + + class << self + # source://rbs//lib/rbs/types.rb#1543 + def unescape_string(string, is_double_quote); end + end +end + +# source://rbs//lib/rbs/types.rb#1527 +RBS::Types::Literal::TABLE = T.let(T.unsafe(nil), Hash) + +# source://rbs//lib/rbs/types.rb#5 +module RBS::Types::NoFreeVariables + # source://rbs//lib/rbs/types.rb#6 + def free_variables(set = T.unsafe(nil)); end +end + +# source://rbs//lib/rbs/types.rb#11 +module RBS::Types::NoSubst + # source://rbs//lib/rbs/types.rb#12 + def sub(s); end +end + +# source://rbs//lib/rbs/types.rb#17 +module RBS::Types::NoTypeName + # source://rbs//lib/rbs/types.rb#18 + def map_type_name; end +end + +# source://rbs//lib/rbs/types.rb#633 +class RBS::Types::Optional + # @return [Optional] a new instance of Optional + # + # source://rbs//lib/rbs/types.rb#637 + def initialize(type:, location:); end + + # source://rbs//lib/rbs/types.rb#642 + def ==(other); end + + # source://rbs//lib/rbs/types.rb#678 + def each_type; end + + # source://rbs//lib/rbs/types.rb#642 + def eql?(other); end + + # source://rbs//lib/rbs/types.rb#652 + def free_variables(set = T.unsafe(nil)); end + + # @return [Boolean] + # + # source://rbs//lib/rbs/types.rb#708 + def has_classish_type?; end + + # @return [Boolean] + # + # source://rbs//lib/rbs/types.rb#704 + def has_self_type?; end + + # source://rbs//lib/rbs/types.rb#648 + def hash; end + + # Returns the value of attribute location. + # + # source://rbs//lib/rbs/types.rb#635 + def location; end + + # source://rbs//lib/rbs/types.rb#693 + def map_type(&block); end + + # source://rbs//lib/rbs/types.rb#686 + def map_type_name(&block); end + + # source://rbs//lib/rbs/types.rb#660 + def sub(s); end + + # source://rbs//lib/rbs/types.rb#656 + def to_json(state = T.unsafe(nil)); end + + # source://rbs//lib/rbs/types.rb#664 + def to_s(level = T.unsafe(nil)); end + + # Returns the value of attribute type. + # + # source://rbs//lib/rbs/types.rb#634 + def type; end + + # @return [Boolean] + # + # source://rbs//lib/rbs/types.rb#712 + def with_nonreturn_void?; end +end + +# source://rbs//lib/rbs/types.rb#1362 +class RBS::Types::Proc + # @return [Proc] a new instance of Proc + # + # source://rbs//lib/rbs/types.rb#1368 + def initialize(location:, type:, block:, self_type: T.unsafe(nil)); end + + # source://rbs//lib/rbs/types.rb#1375 + def ==(other); end + + # Returns the value of attribute block. + # + # source://rbs//lib/rbs/types.rb#1364 + def block; end + + # source://rbs//lib/rbs/types.rb#1427 + def each_type(&block); end + + # source://rbs//lib/rbs/types.rb#1375 + def eql?(other); end + + # source://rbs//lib/rbs/types.rb#1385 + def free_variables(set = T.unsafe(nil)); end + + # @return [Boolean] + # + # source://rbs//lib/rbs/types.rb#1466 + def has_classish_type?; end + + # @return [Boolean] + # + # source://rbs//lib/rbs/types.rb#1462 + def has_self_type?; end + + # source://rbs//lib/rbs/types.rb#1381 + def hash; end + + # Returns the value of attribute location. + # + # source://rbs//lib/rbs/types.rb#1366 + def location; end + + # source://rbs//lib/rbs/types.rb#1449 + def map_type(&block); end + + # source://rbs//lib/rbs/types.rb#1440 + def map_type_name(&block); end + + # Returns the value of attribute self_type. + # + # source://rbs//lib/rbs/types.rb#1365 + def self_type; end + + # source://rbs//lib/rbs/types.rb#1402 + def sub(s); end + + # source://rbs//lib/rbs/types.rb#1392 + def to_json(state = T.unsafe(nil)); end + + # source://rbs//lib/rbs/types.rb#1411 + def to_s(level = T.unsafe(nil)); end + + # Returns the value of attribute type. + # + # source://rbs//lib/rbs/types.rb#1363 + def type; end + + # @return [Boolean] + # + # source://rbs//lib/rbs/types.rb#1470 + def with_nonreturn_void?; end +end + +# source://rbs//lib/rbs/types.rb#517 +class RBS::Types::Record + # @return [Record] a new instance of Record + # + # source://rbs//lib/rbs/types.rb#521 + def initialize(location:, all_fields: T.unsafe(nil), fields: T.unsafe(nil)); end + + # source://rbs//lib/rbs/types.rb#545 + def ==(other); end + + # Returns the value of attribute all_fields. + # + # source://rbs//lib/rbs/types.rb#518 + def all_fields; end + + # source://rbs//lib/rbs/types.rb#593 + def each_type(&block); end + + # source://rbs//lib/rbs/types.rb#545 + def eql?(other); end + + # Returns the value of attribute fields. + # + # source://rbs//lib/rbs/types.rb#518 + def fields; end + + # source://rbs//lib/rbs/types.rb#555 + def free_variables(set = T.unsafe(nil)); end + + # @return [Boolean] + # + # source://rbs//lib/rbs/types.rb#624 + def has_classish_type?; end + + # @return [Boolean] + # + # source://rbs//lib/rbs/types.rb#620 + def has_self_type?; end + + # source://rbs//lib/rbs/types.rb#551 + def hash; end + + # Returns the value of attribute location. + # + # source://rbs//lib/rbs/types.rb#519 + def location; end + + # source://rbs//lib/rbs/types.rb#609 + def map_type(&block); end + + # source://rbs//lib/rbs/types.rb#602 + def map_type_name(&block); end + + # Returns the value of attribute optional_fields. + # + # source://rbs//lib/rbs/types.rb#518 + def optional_fields; end + + # source://rbs//lib/rbs/types.rb#570 + def sub(s); end + + # source://rbs//lib/rbs/types.rb#566 + def to_json(state = T.unsafe(nil)); end + + # source://rbs//lib/rbs/types.rb#577 + def to_s(level = T.unsafe(nil)); end + + # @return [Boolean] + # + # source://rbs//lib/rbs/types.rb#628 + def with_nonreturn_void?; end +end + +# source://rbs//lib/rbs/types.rb#1350 +module RBS::Types::SelfTypeBindingHelper + private + + # source://rbs//lib/rbs/types.rb#1353 + def self_type_binding_to_s(t); end + + class << self + # source://rbs//lib/rbs/types.rb#1353 + def self_type_binding_to_s(t); end + end +end + +# source://rbs//lib/rbs/types.rb#434 +class RBS::Types::Tuple + # @return [Tuple] a new instance of Tuple + # + # source://rbs//lib/rbs/types.rb#438 + def initialize(types:, location:); end + + # source://rbs//lib/rbs/types.rb#443 + def ==(other); end + + # source://rbs//lib/rbs/types.rb#478 + def each_type(&block); end + + # source://rbs//lib/rbs/types.rb#443 + def eql?(other); end + + # source://rbs//lib/rbs/types.rb#453 + def free_variables(set = T.unsafe(nil)); end + + # @return [Boolean] + # + # source://rbs//lib/rbs/types.rb#508 + def has_classish_type?; end + + # @return [Boolean] + # + # source://rbs//lib/rbs/types.rb#504 + def has_self_type?; end + + # source://rbs//lib/rbs/types.rb#449 + def hash; end + + # Returns the value of attribute location. + # + # source://rbs//lib/rbs/types.rb#436 + def location; end + + # source://rbs//lib/rbs/types.rb#493 + def map_type(&block); end + + # source://rbs//lib/rbs/types.rb#486 + def map_type_name(&block); end + + # source://rbs//lib/rbs/types.rb#465 + def sub(s); end + + # source://rbs//lib/rbs/types.rb#461 + def to_json(state = T.unsafe(nil)); end + + # source://rbs//lib/rbs/types.rb#470 + def to_s(level = T.unsafe(nil)); end + + # Returns the value of attribute types. + # + # source://rbs//lib/rbs/types.rb#435 + def types; end + + # @return [Boolean] + # + # source://rbs//lib/rbs/types.rb#512 + def with_nonreturn_void?; end +end + +# source://rbs//lib/rbs/types.rb#717 +class RBS::Types::Union + # @return [Union] a new instance of Union + # + # source://rbs//lib/rbs/types.rb#721 + def initialize(types:, location:); end + + # source://rbs//lib/rbs/types.rb#726 + def ==(other); end + + # source://rbs//lib/rbs/types.rb#761 + def each_type(&block); end + + # source://rbs//lib/rbs/types.rb#726 + def eql?(other); end + + # source://rbs//lib/rbs/types.rb#736 + def free_variables(set = T.unsafe(nil)); end + + # @return [Boolean] + # + # source://rbs//lib/rbs/types.rb#788 + def has_classish_type?; end + + # @return [Boolean] + # + # source://rbs//lib/rbs/types.rb#784 + def has_self_type?; end + + # source://rbs//lib/rbs/types.rb#732 + def hash; end + + # Returns the value of attribute location. + # + # source://rbs//lib/rbs/types.rb#719 + def location; end + + # source://rbs//lib/rbs/types.rb#769 + def map_type(&block); end + + # source://rbs//lib/rbs/types.rb#777 + def map_type_name(&block); end + + # source://rbs//lib/rbs/types.rb#748 + def sub(s); end + + # source://rbs//lib/rbs/types.rb#744 + def to_json(state = T.unsafe(nil)); end + + # source://rbs//lib/rbs/types.rb#753 + def to_s(level = T.unsafe(nil)); end + + # Returns the value of attribute types. + # + # source://rbs//lib/rbs/types.rb#718 + def types; end + + # @return [Boolean] + # + # source://rbs//lib/rbs/types.rb#792 + def with_nonreturn_void?; end +end + +# source://rbs//lib/rbs/types.rb#1212 +class RBS::Types::UntypedFunction + # @return [UntypedFunction] a new instance of UntypedFunction + # + # source://rbs//lib/rbs/types.rb#1215 + def initialize(return_type:); end + + # source://rbs//lib/rbs/types.rb#1295 + def ==(other); end + + # source://rbs//lib/rbs/types.rb#1245 + def each_param(&block); end + + # source://rbs//lib/rbs/types.rb#1237 + def each_type(&block); end + + # @return [Boolean] + # + # source://rbs//lib/rbs/types.rb#1271 + def empty?; end + + # source://rbs//lib/rbs/types.rb#1295 + def eql?(other); end + + # source://rbs//lib/rbs/types.rb#1219 + def free_variables(acc = T.unsafe(nil)); end + + # @return [Boolean] + # + # source://rbs//lib/rbs/types.rb#1279 + def has_classish_type?; end + + # @return [Boolean] + # + # source://rbs//lib/rbs/types.rb#1275 + def has_self_type?; end + + # source://rbs//lib/rbs/types.rb#1301 + def hash; end + + # source://rbs//lib/rbs/types.rb#1223 + def map_type(&block); end + + # source://rbs//lib/rbs/types.rb#1231 + def map_type_name(&block); end + + # source://rbs//lib/rbs/types.rb#1287 + def param_to_s; end + + # source://rbs//lib/rbs/types.rb#1291 + def return_to_s; end + + # Returns the value of attribute return_type. + # + # source://rbs//lib/rbs/types.rb#1213 + def return_type; end + + # source://rbs//lib/rbs/types.rb#1259 + def sub(subst); end + + # source://rbs//lib/rbs/types.rb#1253 + def to_json(state = T.unsafe(nil)); end + + # source://rbs//lib/rbs/types.rb#1267 + def update(return_type: T.unsafe(nil)); end + + # @return [Boolean] + # + # source://rbs//lib/rbs/types.rb#1283 + def with_nonreturn_void?; end + + # source://rbs//lib/rbs/types.rb#1263 + def with_return_type(ty); end +end + +# source://rbs//lib/rbs/types.rb#131 +class RBS::Types::Variable + include ::RBS::Types::NoTypeName + include ::RBS::Types::EmptyEachType + + # @return [Variable] a new instance of Variable + # + # source://rbs//lib/rbs/types.rb#137 + def initialize(name:, location:); end + + # source://rbs//lib/rbs/types.rb#142 + def ==(other); end + + # source://rbs//lib/rbs/types.rb#142 + def eql?(other); end + + # source://rbs//lib/rbs/types.rb#152 + def free_variables(set = T.unsafe(nil)); end + + # @return [Boolean] + # + # source://rbs//lib/rbs/types.rb#191 + def has_classish_type?; end + + # @return [Boolean] + # + # source://rbs//lib/rbs/types.rb#187 + def has_self_type?; end + + # source://rbs//lib/rbs/types.rb#148 + def hash; end + + # Returns the value of attribute location. + # + # source://rbs//lib/rbs/types.rb#133 + def location; end + + # Returns the value of attribute name. + # + # source://rbs//lib/rbs/types.rb#132 + def name; end + + # source://rbs//lib/rbs/types.rb#162 + def sub(s); end + + # source://rbs//lib/rbs/types.rb#158 + def to_json(state = T.unsafe(nil)); end + + # source://rbs//lib/rbs/types.rb#181 + def to_s(level = T.unsafe(nil)); end + + # @return [Boolean] + # + # source://rbs//lib/rbs/types.rb#195 + def with_nonreturn_void?; end + + class << self + # source://rbs//lib/rbs/types.rb#166 + def build(v); end + + # source://rbs//lib/rbs/types.rb#176 + def fresh(v = T.unsafe(nil)); end + end +end + +# source://rbs//lib/rbs/errors.rb#325 +class RBS::UnknownMethodAliasError < ::RBS::DefinitionError + include ::RBS::DetailedMessageable + + # @return [UnknownMethodAliasError] a new instance of UnknownMethodAliasError + # + # source://rbs//lib/rbs/errors.rb#333 + def initialize(type_name:, original_name:, aliased_name:, location:); end + + # Returns the value of attribute aliased_name. + # + # source://rbs//lib/rbs/errors.rb#330 + def aliased_name; end + + # Returns the value of attribute location. + # + # source://rbs//lib/rbs/errors.rb#331 + def location; end + + # Returns the value of attribute original_name. + # + # source://rbs//lib/rbs/errors.rb#329 + def original_name; end + + # Returns the value of attribute type_name. + # + # source://rbs//lib/rbs/errors.rb#328 + def type_name; end +end + +# source://rbs//lib/rbs/version.rb#4 +RBS::VERSION = T.let(T.unsafe(nil), String) + +# source://rbs//lib/rbs/validator.rb#4 +class RBS::Validator + # @return [Validator] a new instance of Validator + # + # source://rbs//lib/rbs/validator.rb#9 + def initialize(env:, resolver: T.unsafe(nil)); end + + # source://rbs//lib/rbs/validator.rb#15 + def absolute_type(type, context:, &block); end + + # Returns the value of attribute definition_builder. + # + # source://rbs//lib/rbs/validator.rb#7 + def definition_builder; end + + # Returns the value of attribute env. + # + # source://rbs//lib/rbs/validator.rb#5 + def env; end + + # Returns the value of attribute resolver. + # + # source://rbs//lib/rbs/validator.rb#6 + def resolver; end + + # source://rbs//lib/rbs/validator.rb#174 + def type_alias_dependency; end + + # source://rbs//lib/rbs/validator.rb#178 + def type_alias_regularity; end + + # source://rbs//lib/rbs/validator.rb#154 + def validate_class_alias(entry:); end + + # source://rbs//lib/rbs/validator.rb#104 + def validate_method_definition(method_def, type_name:); end + + # Validates presence of the relative type, and application arity match. + # + # source://rbs//lib/rbs/validator.rb#24 + def validate_type(type, context:); end + + # source://rbs//lib/rbs/validator.rb#63 + def validate_type_alias(entry:); end + + # source://rbs//lib/rbs/validator.rb#120 + def validate_type_params(params, type_name:, location:, method_name: T.unsafe(nil)); end +end + +# source://rbs//lib/rbs/variance_calculator.rb#4 +class RBS::VarianceCalculator + # @return [VarianceCalculator] a new instance of VarianceCalculator + # + # source://rbs//lib/rbs/variance_calculator.rb#78 + def initialize(builder:); end + + # Returns the value of attribute builder. + # + # source://rbs//lib/rbs/variance_calculator.rb#76 + def builder; end + + # source://rbs//lib/rbs/variance_calculator.rb#82 + def env; end + + # source://rbs//lib/rbs/variance_calculator.rb#169 + def function(type, result:, context:); end + + # source://rbs//lib/rbs/variance_calculator.rb#98 + def in_inherit(name:, args:, variables:); end + + # source://rbs//lib/rbs/variance_calculator.rb#86 + def in_method_type(method_type:, variables:); end + + # source://rbs//lib/rbs/variance_calculator.rb#110 + def in_type_alias(name:); end + + # source://rbs//lib/rbs/variance_calculator.rb#176 + def negate(variance); end + + # source://rbs//lib/rbs/variance_calculator.rb#121 + def type(type, result:, context:); end +end + +# source://rbs//lib/rbs/variance_calculator.rb#5 +class RBS::VarianceCalculator::Result + # @return [Result] a new instance of Result + # + # source://rbs//lib/rbs/variance_calculator.rb#8 + def initialize(variables:); end + + # @return [Boolean] + # + # source://rbs//lib/rbs/variance_calculator.rb#45 + def compatible?(var, with_annotation:); end + + # source://rbs//lib/rbs/variance_calculator.rb#24 + def contravariant(x); end + + # source://rbs//lib/rbs/variance_calculator.rb#15 + def covariant(x); end + + # source://rbs//lib/rbs/variance_calculator.rb#37 + def each(&block); end + + # @return [Boolean] + # + # source://rbs//lib/rbs/variance_calculator.rb#41 + def include?(name); end + + # @return [Boolean] + # + # source://rbs//lib/rbs/variance_calculator.rb#60 + def incompatible?(params); end + + # source://rbs//lib/rbs/variance_calculator.rb#33 + def invariant(x); end + + # Returns the value of attribute result. + # + # source://rbs//lib/rbs/variance_calculator.rb#6 + def result; end +end + +# source://rbs//lib/rbs/vendorer.rb#4 +class RBS::Vendorer + # @return [Vendorer] a new instance of Vendorer + # + # source://rbs//lib/rbs/vendorer.rb#8 + def initialize(vendor_dir:, loader:); end + + # source://rbs//lib/rbs/vendorer.rb#21 + def clean!; end + + # source://rbs//lib/rbs/vendorer.rb#28 + def copy!; end + + # source://rbs//lib/rbs/vendorer.rb#13 + def ensure_dir; end + + # Returns the value of attribute loader. + # + # source://rbs//lib/rbs/vendorer.rb#6 + def loader; end + + # Returns the value of attribute vendor_dir. + # + # source://rbs//lib/rbs/vendorer.rb#5 + def vendor_dir; end +end + +# source://rbs//lib/rbs/errors.rb#569 +class RBS::WillSyntaxError < ::RBS::DefinitionError + include ::RBS::DetailedMessageable + + # @return [WillSyntaxError] a new instance of WillSyntaxError + # + # source://rbs//lib/rbs/errors.rb#574 + def initialize(message, location:); end + + # Returns the value of attribute location. + # + # source://rbs//lib/rbs/errors.rb#572 + def location; end +end + +# source://rbs//lib/rbs/writer.rb#4 +class RBS::Writer + # @return [Writer] a new instance of Writer + # + # source://rbs//lib/rbs/writer.rb#8 + def initialize(out:); end + + # source://rbs//lib/rbs/writer.rb#361 + def attribute(kind, attr); end + + # source://rbs//lib/rbs/writer.rb#42 + def format_annotation(annotation); end + + # source://rbs//lib/rbs/writer.rb#23 + def indent(size = T.unsafe(nil)); end + + # Returns the value of attribute indentation. + # + # source://rbs//lib/rbs/writer.rb#6 + def indentation; end + + # source://rbs//lib/rbs/writer.rb#288 + def method_name(name); end + + # source://rbs//lib/rbs/writer.rb#214 + def name_and_args(name, args); end + + # source://rbs//lib/rbs/writer.rb#202 + def name_and_params(name, params); end + + # Returns the value of attribute out. + # + # source://rbs//lib/rbs/writer.rb#5 + def out; end + + # source://rbs//lib/rbs/writer.rb#30 + def prefix; end + + # source://rbs//lib/rbs/writer.rb#18 + def preserve!(preserve: T.unsafe(nil)); end + + # @return [Boolean] + # + # source://rbs//lib/rbs/writer.rb#14 + def preserve?; end + + # source://rbs//lib/rbs/writer.rb#391 + def preserve_empty_line(prev, decl); end + + # source://rbs//lib/rbs/writer.rb#224 + def put_lines(lines, leading_spaces:); end + + # source://rbs//lib/rbs/writer.rb#34 + def puts(string = T.unsafe(nil)); end + + # source://rbs//lib/rbs/writer.rb#79 + def write(contents); end + + # source://rbs//lib/rbs/writer.rb#60 + def write_annotation(annotations); end + + # source://rbs//lib/rbs/writer.rb#66 + def write_comment(comment); end + + # source://rbs//lib/rbs/writer.rb#114 + def write_decl(decl); end + + # source://rbs//lib/rbs/writer.rb#309 + def write_def(member); end + + # source://rbs//lib/rbs/writer.rb#97 + def write_directive(dir); end + + # source://rbs//lib/rbs/writer.rb#301 + def write_loc_source(located); end + + # source://rbs//lib/rbs/writer.rb#234 + def write_member(member); end +end + +# source://rbs//lib/rdoc/discover.rb#8 +class RDoc::Parser::RBS < ::RDoc::Parser + # source://rbs//lib/rdoc/discover.rb#10 + def scan; end +end From 46dd79b49001bb936ae26d1c46707d119b202c38 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 12 Mar 2025 21:29:59 +0000 Subject: [PATCH 320/322] build(deps-dev): bump spoom from 1.5.4 to 1.6.0 in /Library/Homebrew Bumps [spoom](https://github.com/Shopify/spoom) from 1.5.4 to 1.6.0. - [Release notes](https://github.com/Shopify/spoom/releases) - [Commits](https://github.com/Shopify/spoom/compare/v1.5.4...v1.6.0) --- updated-dependencies: - dependency-name: spoom dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- Library/Homebrew/Gemfile.lock | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Library/Homebrew/Gemfile.lock b/Library/Homebrew/Gemfile.lock index 46d5dfbf96..c23863bcc9 100644 --- a/Library/Homebrew/Gemfile.lock +++ b/Library/Homebrew/Gemfile.lock @@ -130,7 +130,7 @@ GEM sorbet-static-and-runtime (0.5.11915) sorbet (= 0.5.11915) sorbet-runtime (= 0.5.11915) - spoom (1.5.4) + spoom (1.6.0) erubi (>= 1.10.0) prism (>= 0.28.0) rbi (>= 0.2.3) @@ -160,7 +160,6 @@ GEM PLATFORMS aarch64-linux - arm-linux arm64-darwin x86_64-darwin x86_64-linux From ec4586802f59544aa16497adde2d54c084129ab5 Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Wed, 12 Mar 2025 21:31:32 +0000 Subject: [PATCH 321/322] brew vendor-gems: commit updates. --- Library/Homebrew/Gemfile.lock | 1 + Library/Homebrew/vendor/bundle/bundler/setup.rb | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Library/Homebrew/Gemfile.lock b/Library/Homebrew/Gemfile.lock index c23863bcc9..31d6061e76 100644 --- a/Library/Homebrew/Gemfile.lock +++ b/Library/Homebrew/Gemfile.lock @@ -160,6 +160,7 @@ GEM PLATFORMS aarch64-linux + arm-linux arm64-darwin x86_64-darwin x86_64-linux diff --git a/Library/Homebrew/vendor/bundle/bundler/setup.rb b/Library/Homebrew/vendor/bundle/bundler/setup.rb index 445c21133a..e6dfc29236 100644 --- a/Library/Homebrew/vendor/bundle/bundler/setup.rb +++ b/Library/Homebrew/vendor/bundle/bundler/setup.rb @@ -49,8 +49,8 @@ $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/elftools-1.3.1/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/erubi-1.13.1/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/hana-1.3.7/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/extensions/arm64-darwin-20/#{Gem.extension_api_version}/json-2.10.1") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/json-2.10.1/lib") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/extensions/arm64-darwin-20/#{Gem.extension_api_version}/json-2.10.2") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/json-2.10.2/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/regexp_parser-2.10.0/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/simpleidn-0.2.3/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/json_schemer-2.4.0/lib") @@ -111,7 +111,7 @@ $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-0.5.11915/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-static-and-runtime-0.5.11915/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/thor-1.3.2/lib") -$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/spoom-1.5.4/lib") +$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/spoom-1.6.0/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/extensions/arm64-darwin-20/#{Gem.extension_api_version}/stackprof-0.2.27") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/stackprof-0.2.27/lib") $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/yard-0.9.37/lib") From e5d171eb794f78f4ec47ba3b8657e8450ce35cd4 Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Wed, 12 Mar 2025 21:31:44 +0000 Subject: [PATCH 322/322] Update RBI files for spoom. Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow. --- .../gems/{spoom@1.5.4.rbi => spoom@1.6.0.rbi} | 4114 +++++++++++++---- 1 file changed, 3178 insertions(+), 936 deletions(-) rename Library/Homebrew/sorbet/rbi/gems/{spoom@1.5.4.rbi => spoom@1.6.0.rbi} (54%) diff --git a/Library/Homebrew/sorbet/rbi/gems/spoom@1.5.4.rbi b/Library/Homebrew/sorbet/rbi/gems/spoom@1.6.0.rbi similarity index 54% rename from Library/Homebrew/sorbet/rbi/gems/spoom@1.5.4.rbi rename to Library/Homebrew/sorbet/rbi/gems/spoom@1.6.0.rbi index 214261eece..d70e5945fd 100644 --- a/Library/Homebrew/sorbet/rbi/gems/spoom@1.5.4.rbi +++ b/Library/Homebrew/sorbet/rbi/gems/spoom@1.6.0.rbi @@ -5,12 +5,26 @@ # Please instead update this file by running `bin/tapioca gem spoom`. +# typed: true + +# DO NOT EDIT MANUALLY +# This is an autogenerated file for types exported from the `spoom` gem. +# Please instead update this file by running `spoom srb sigs export`. + # source://spoom//lib/spoom.rb#7 module Spoom class << self - # source://spoom//lib/spoom/parse.rb#13 + # : (String ruby, file: String) -> Prism::Node + # + # source://spoom//lib/spoom/parse.rb#11 sig { params(ruby: ::String, file: ::String).returns(::Prism::Node) } def parse_ruby(ruby, file:); end + + # : (String ruby, file: String) -> [Prism::Node, Array[Prism::Comment]] + # + # source://spoom//lib/spoom/parse.rb#27 + sig { params(ruby: ::String, file: ::String).returns([::Prism::Node, T::Array[::Prism::Comment]]) } + def parse_ruby_with_comments(ruby, file:); end end end @@ -22,13 +36,15 @@ class Spoom::Cli::Deadcode < ::Thor include ::Spoom::Colorize include ::Spoom::Cli::Helper - # source://spoom//lib/spoom/cli/deadcode.rb#52 + # : (*String paths) -> void + # + # source://spoom//lib/spoom/cli/deadcode.rb#51 sig { params(paths: ::String).void } def deadcode(*paths); end def help(command = T.unsafe(nil), subcommand = T.unsafe(nil)); end - # source://spoom//lib/spoom/cli/deadcode.rb#154 + # source://spoom//lib/spoom/cli/deadcode.rb#153 def remove(location_string); end end @@ -38,83 +54,125 @@ module Spoom::Cli::Helper requires_ancestor { Thor } - # source://spoom//lib/spoom/cli/helper.rb#139 + # : (String string) -> String + # + # source://spoom//lib/spoom/cli/helper.rb#147 sig { params(string: ::String).returns(::String) } def blue(string); end - # Is the `--color` option true? + # Collect files from `paths`, defaulting to `exec_path` + # : (Array[String] paths) -> Array[String] # - # source://spoom//lib/spoom/cli/helper.rb#103 + # source://spoom//lib/spoom/cli/helper.rb#85 + # Collect files from `paths`, defaulting to `exec_path` + sig { params(paths: T::Array[::String]).returns(T::Array[::String]) } + def collect_files(paths); end + + # Is the `--color` option true? + # : -> bool + # + # @return [Boolean] + # + # source://spoom//lib/spoom/cli/helper.rb#111 + # Is the `--color` option true? sig { returns(T::Boolean) } def color?; end # Colorize a string if `color?` + # : (String string, *Color color) -> String # - # source://spoom//lib/spoom/cli/helper.rb#132 + # source://spoom//lib/spoom/cli/helper.rb#140 + # Colorize a string if `color?` sig { params(string: ::String, color: ::Spoom::Color).returns(::String) } def colorize(string, *color); end # Returns the context at `--path` (by default the current working directory) + # : -> Context # - # source://spoom//lib/spoom/cli/helper.rb#71 + # source://spoom//lib/spoom/cli/helper.rb#58 + # Returns the context at `--path` (by default the current working directory) sig { returns(::Spoom::Context) } def context; end # Raise if `spoom` is not ran inside a context with a `sorbet/config` file + # : -> Context # - # source://spoom//lib/spoom/cli/helper.rb#77 + # source://spoom//lib/spoom/cli/helper.rb#64 + # Raise if `spoom` is not ran inside a context with a `sorbet/config` file sig { returns(::Spoom::Context) } def context_requiring_sorbet!; end - # source://spoom//lib/spoom/cli/helper.rb#144 + # : (String string) -> String + # + # source://spoom//lib/spoom/cli/helper.rb#152 sig { params(string: ::String).returns(::String) } def cyan(string); end # Return the path specified through `--path` + # : -> String # - # source://spoom//lib/spoom/cli/helper.rb#92 + # source://spoom//lib/spoom/cli/helper.rb#79 + # Return the path specified through `--path` sig { returns(::String) } def exec_path; end - # source://spoom//lib/spoom/cli/helper.rb#149 + # : (String string) -> String + # + # source://spoom//lib/spoom/cli/helper.rb#157 sig { params(string: ::String).returns(::String) } def gray(string); end - # source://spoom//lib/spoom/cli/helper.rb#154 + # : (String string) -> String + # + # source://spoom//lib/spoom/cli/helper.rb#162 sig { params(string: ::String).returns(::String) } def green(string); end - # source://spoom//lib/spoom/cli/helper.rb#108 + # : (String string) -> String + # + # source://spoom//lib/spoom/cli/helper.rb#116 sig { params(string: ::String).returns(::String) } def highlight(string); end - # source://spoom//lib/spoom/cli/helper.rb#159 + # : (String string) -> String + # + # source://spoom//lib/spoom/cli/helper.rb#167 sig { params(string: ::String).returns(::String) } def red(string); end # Print `message` on `$stdout` + # : (String message) -> void # - # source://spoom//lib/spoom/cli/helper.rb#20 + # source://spoom//lib/spoom/cli/helper.rb#19 + # Print `message` on `$stdout` sig { params(message: ::String).void } def say(message); end # Print `message` on `$stderr` # # The message is prefixed by a status (default: `Error`). + # : (String message, ?status: String?, ?nl: bool) -> void # - # source://spoom//lib/spoom/cli/helper.rb#39 + # source://spoom//lib/spoom/cli/helper.rb#32 + # Print `message` on `$stderr` + # The message is prefixed by a status (default: `Error`). sig { params(message: ::String, status: T.nilable(::String), nl: T::Boolean).void } def say_error(message, status: T.unsafe(nil), nl: T.unsafe(nil)); end # Print `message` on `$stderr` # # The message is prefixed by a status (default: `Warning`). + # : (String message, ?status: String?, ?nl: bool) -> void # - # source://spoom//lib/spoom/cli/helper.rb#59 + # source://spoom//lib/spoom/cli/helper.rb#46 + # Print `message` on `$stderr` + # The message is prefixed by a status (default: `Warning`). sig { params(message: ::String, status: T.nilable(::String), nl: T::Boolean).void } def say_warning(message, status: T.unsafe(nil), nl: T.unsafe(nil)); end - # source://spoom//lib/spoom/cli/helper.rb#164 + # : (String string) -> String + # + # source://spoom//lib/spoom/cli/helper.rb#172 sig { params(string: ::String).returns(::String) } def yellow(string); end end @@ -124,63 +182,81 @@ class Spoom::Cli::Main < ::Thor include ::Spoom::Colorize include ::Spoom::Cli::Helper - # source://spoom//lib/spoom/cli.rb#101 + # source://spoom//lib/spoom/cli.rb#100 def __print_version; end - # source://spoom//lib/spoom/cli.rb#58 + # : (?String directory) -> void + # + # source://spoom//lib/spoom/cli.rb#57 sig { params(directory: ::String).void } def bump(directory = T.unsafe(nil)); end - # source://spoom//lib/spoom/cli.rb#65 + # source://spoom//lib/spoom/cli.rb#64 def coverage(*args); end # source://thor/1.3.2/lib/thor.rb#334 def deadcode(*args); end - # source://spoom//lib/spoom/cli.rb#75 + # source://spoom//lib/spoom/cli.rb#74 def lsp(*args); end # source://thor/1.3.2/lib/thor.rb#334 def srb(*args); end - # source://spoom//lib/spoom/cli.rb#94 + # source://spoom//lib/spoom/cli.rb#93 def tc(*paths_to_select); end class << self # @return [Boolean] # - # source://spoom//lib/spoom/cli.rb#108 + # source://spoom//lib/spoom/cli.rb#107 def exit_on_failure?; end end end -# source://spoom//lib/spoom/cli.rb#81 +# source://spoom//lib/spoom/cli.rb#80 Spoom::Cli::Main::SORT_CODE = T.let(T.unsafe(nil), String) -# source://spoom//lib/spoom/cli.rb#83 +# source://spoom//lib/spoom/cli.rb#82 Spoom::Cli::Main::SORT_ENUM = T.let(T.unsafe(nil), Array) -# source://spoom//lib/spoom/cli.rb#82 +# source://spoom//lib/spoom/cli.rb#81 Spoom::Cli::Main::SORT_LOC = T.let(T.unsafe(nil), String) -# source://spoom//lib/spoom/cli/srb/bump.rb#9 +# source://spoom//lib/spoom/cli/srb/assertions.rb#6 module Spoom::Cli::Srb; end +# source://spoom//lib/spoom/cli/srb/assertions.rb#7 +class Spoom::Cli::Srb::Assertions < ::Thor + include ::Spoom::Colorize + include ::Spoom::Cli::Helper + + def help(command = T.unsafe(nil), subcommand = T.unsafe(nil)); end + + # source://spoom//lib/spoom/cli/srb/assertions.rb#29 + def transform_files(files, &block); end + + # source://spoom//lib/spoom/cli/srb/assertions.rb#13 + def translate(*paths); end +end + # source://spoom//lib/spoom/cli/srb/bump.rb#10 class Spoom::Cli::Srb::Bump < ::Thor include ::Spoom::Colorize include ::Spoom::Cli::Helper - # source://spoom//lib/spoom/cli/srb/bump.rb#50 + # : (?String directory) -> void + # + # source://spoom//lib/spoom/cli/srb/bump.rb#49 sig { params(directory: ::String).void } def bump(directory = T.unsafe(nil)); end def help(command = T.unsafe(nil), subcommand = T.unsafe(nil)); end - # source://spoom//lib/spoom/cli/srb/bump.rb#171 + # source://spoom//lib/spoom/cli/srb/bump.rb#170 def print_changes(files, command:, from: T.unsafe(nil), to: T.unsafe(nil), dry: T.unsafe(nil), path: T.unsafe(nil)); end - # source://spoom//lib/spoom/cli/srb/bump.rb#193 + # source://spoom//lib/spoom/cli/srb/bump.rb#192 def undo_changes(files, from_strictness); end end @@ -276,8 +352,11 @@ class Spoom::Cli::Srb::LSP < ::Thor def types(file, line, col); end end -# source://spoom//lib/spoom/cli/srb.rb#13 +# source://spoom//lib/spoom/cli/srb.rb#14 class Spoom::Cli::Srb::Main < ::Thor + # source://thor/1.3.2/lib/thor.rb#334 + def assertions(*args); end + # source://thor/1.3.2/lib/thor.rb#334 def bump(*args); end @@ -301,18 +380,21 @@ class Spoom::Cli::Srb::Sigs < ::Thor include ::Spoom::Colorize include ::Spoom::Cli::Helper - # source://spoom//lib/spoom/cli/srb/sigs.rb#45 - def collect_files(paths); end + # source://spoom//lib/spoom/cli/srb/sigs.rb#192 + def exec(context, command); end + + # source://spoom//lib/spoom/cli/srb/sigs.rb#63 + def export(output_path = T.unsafe(nil)); end def help(command = T.unsafe(nil), subcommand = T.unsafe(nil)); end - # source://spoom//lib/spoom/cli/srb/sigs.rb#32 + # source://spoom//lib/spoom/cli/srb/sigs.rb#44 def strip(*paths); end - # source://spoom//lib/spoom/cli/srb/sigs.rb#64 + # source://spoom//lib/spoom/cli/srb/sigs.rb#169 def transform_files(files, &block); end - # source://spoom//lib/spoom/cli/srb/sigs.rb#16 + # source://spoom//lib/spoom/cli/srb/sigs.rb#15 def translate(*paths); end end @@ -368,14 +450,18 @@ class Spoom::Color < ::T::Enum YELLOW = new end - # source://spoom//lib/spoom/colors.rb#32 + # : -> String + # + # source://spoom//lib/spoom/colors.rb#30 sig { returns(::String) } def ansi_code; end end -# source://spoom//lib/spoom/colors.rb#37 +# source://spoom//lib/spoom/colors.rb#35 module Spoom::Colorize - # source://spoom//lib/spoom/colors.rb#41 + # : (String string, *Color color) -> String + # + # source://spoom//lib/spoom/colors.rb#37 sig { params(string: ::String, color: ::Spoom::Color).returns(::String) } def set_color(string, *color); end end @@ -386,6 +472,8 @@ end # It is used to manipulate files and run commands in the context of this directory. # # source://spoom//lib/spoom/context/bundle.rb#5 +# An abstraction to a Ruby project context +# A context maps to a directory in the file system. class Spoom::Context include ::Spoom::Context::Bundle include ::Spoom::Context::Exec @@ -397,14 +485,22 @@ class Spoom::Context # # The directory will not be created if it doesn't exist. # Call `#make!` to create it. + # : (String absolute_path) -> void # - # source://spoom//lib/spoom/context.rb#51 + # @return [Context] a new instance of Context + # + # source://spoom//lib/spoom/context.rb#47 + # Create a new context about `absolute_path` + # The directory will not be created if it doesn't exist. + # Call `#make!` to create it. sig { params(absolute_path: ::String).void } def initialize(absolute_path); end # The absolute path to the directory this context is about + # : String # - # source://spoom//lib/spoom/context.rb#44 + # source://spoom//lib/spoom/context.rb#40 + # The absolute path to the directory this context is about sig { returns(::String) } def absolute_path; end @@ -413,8 +509,12 @@ class Spoom::Context # # `name` is used as prefix to the temporary directory name. # The directory will be created if it doesn't exist. + # : (?String? name) -> instance # - # source://spoom//lib/spoom/context.rb#37 + # source://spoom//lib/spoom/context.rb#33 + # Create a new context in the system's temporary directory + # `name` is used as prefix to the temporary directory name. + # The directory will be created if it doesn't exist. sig { params(name: T.nilable(::String)).returns(T.attached_class) } def mktmp!(name = T.unsafe(nil)); end end @@ -427,63 +527,82 @@ module Spoom::Context::Bundle requires_ancestor { Spoom::Context } # Run a command with `bundle` in this context directory + # : (String command, ?version: String?, ?capture_err: bool) -> ExecResult # - # source://spoom//lib/spoom/context/bundle.rb#33 + # source://spoom//lib/spoom/context/bundle.rb#32 + # Run a command with `bundle` in this context directory sig { params(command: ::String, version: T.nilable(::String), capture_err: T::Boolean).returns(::Spoom::ExecResult) } def bundle(command, version: T.unsafe(nil), capture_err: T.unsafe(nil)); end # Run a command `bundle exec` in this context directory + # : (String command, ?version: String?, ?capture_err: bool) -> ExecResult # - # source://spoom//lib/spoom/context/bundle.rb#46 + # source://spoom//lib/spoom/context/bundle.rb#45 + # Run a command `bundle exec` in this context directory sig { params(command: ::String, version: T.nilable(::String), capture_err: T::Boolean).returns(::Spoom::ExecResult) } def bundle_exec(command, version: T.unsafe(nil), capture_err: T.unsafe(nil)); end # Run `bundle install` in this context directory + # : (?version: String?, ?capture_err: bool) -> ExecResult # - # source://spoom//lib/spoom/context/bundle.rb#40 + # source://spoom//lib/spoom/context/bundle.rb#39 + # Run `bundle install` in this context directory sig { params(version: T.nilable(::String), capture_err: T::Boolean).returns(::Spoom::ExecResult) } def bundle_install!(version: T.unsafe(nil), capture_err: T.unsafe(nil)); end # Get `gem` version from the `Gemfile.lock` content # # Returns `nil` if `gem` cannot be found in the Gemfile. + # : (String gem) -> Gem::Version? # - # source://spoom//lib/spoom/context/bundle.rb#62 + # source://spoom//lib/spoom/context/bundle.rb#61 + # Get `gem` version from the `Gemfile.lock` content + # Returns `nil` if `gem` cannot be found in the Gemfile. sig { params(gem: ::String).returns(T.nilable(::Gem::Version)) } def gem_version_from_gemfile_lock(gem); end - # source://spoom//lib/spoom/context/bundle.rb#51 + # : -> Hash[String, Bundler::LazySpecification] + # + # source://spoom//lib/spoom/context/bundle.rb#50 sig { returns(T::Hash[::String, ::Bundler::LazySpecification]) } def gemfile_lock_specs; end # Read the contents of the Gemfile in this context directory + # : -> String? # - # source://spoom//lib/spoom/context/bundle.rb#15 + # source://spoom//lib/spoom/context/bundle.rb#14 + # Read the contents of the Gemfile in this context directory sig { returns(T.nilable(::String)) } def read_gemfile; end # Read the contents of the Gemfile.lock in this context directory + # : -> String? # - # source://spoom//lib/spoom/context/bundle.rb#21 + # source://spoom//lib/spoom/context/bundle.rb#20 + # Read the contents of the Gemfile.lock in this context directory sig { returns(T.nilable(::String)) } def read_gemfile_lock; end # Set the `contents` of the Gemfile in this context directory + # : (String contents, ?append: bool) -> void # - # source://spoom//lib/spoom/context/bundle.rb#27 + # source://spoom//lib/spoom/context/bundle.rb#26 + # Set the `contents` of the Gemfile in this context directory sig { params(contents: ::String, append: T::Boolean).void } def write_gemfile!(contents, append: T.unsafe(nil)); end end # Execution features for a context # -# source://spoom//lib/spoom/context/exec.rb#27 +# source://spoom//lib/spoom/context/exec.rb#25 module Spoom::Context::Exec requires_ancestor { Spoom::Context } # Run a command in this context directory + # : (String command, ?capture_err: bool) -> ExecResult # - # source://spoom//lib/spoom/context/exec.rb#35 + # source://spoom//lib/spoom/context/exec.rb#32 + # Run a command in this context directory sig { params(command: ::String, capture_err: T::Boolean).returns(::Spoom::ExecResult) } def exec(command, capture_err: T.unsafe(nil)); end end @@ -495,12 +614,16 @@ module Spoom::Context::FileSystem requires_ancestor { Spoom::Context } # Returns the absolute path to `relative_path` in the context's directory + # : (String relative_path) -> String # - # source://spoom//lib/spoom/context/file_system.rb#15 + # source://spoom//lib/spoom/context/file_system.rb#14 + # Returns the absolute path to `relative_path` in the context's directory sig { params(relative_path: ::String).returns(::String) } def absolute_path_to(relative_path); end - # source://spoom//lib/spoom/context/file_system.rb#53 + # : (?allow_extensions: Array[String], ?allow_mime_types: Array[String], ?exclude_patterns: Array[String]) -> Array[String] + # + # source://spoom//lib/spoom/context/file_system.rb#46 sig do params( allow_extensions: T::Array[::String], @@ -513,109 +636,148 @@ module Spoom::Context::FileSystem # Delete this context and its content # # Warning: it will `rm -rf` the context directory on the file system. + # : -> void # - # source://spoom//lib/spoom/context/file_system.rb#105 + # source://spoom//lib/spoom/context/file_system.rb#98 + # Delete this context and its content + # Warning: it will `rm -rf` the context directory on the file system. sig { void } def destroy!; end # Does the context directory at `absolute_path` exist and is a directory? + # : -> bool # - # source://spoom//lib/spoom/context/file_system.rb#21 + # @return [Boolean] + # + # source://spoom//lib/spoom/context/file_system.rb#20 + # Does the context directory at `absolute_path` exist and is a directory? sig { returns(T::Boolean) } def exist?; end # Does `relative_path` point to an existing file in this context directory? + # : (String relative_path) -> bool # - # source://spoom//lib/spoom/context/file_system.rb#65 + # @return [Boolean] + # + # source://spoom//lib/spoom/context/file_system.rb#58 + # Does `relative_path` point to an existing file in this context directory? sig { params(relative_path: ::String).returns(T::Boolean) } def file?(relative_path); end # List all files in this context matching `pattern` + # : (?String pattern) -> Array[String] # - # source://spoom//lib/spoom/context/file_system.rb#34 + # source://spoom//lib/spoom/context/file_system.rb#33 + # List all files in this context matching `pattern` sig { params(pattern: ::String).returns(T::Array[::String]) } def glob(pattern = T.unsafe(nil)); end # List all files at the top level of this context directory + # : -> Array[String] # - # source://spoom//lib/spoom/context/file_system.rb#42 + # source://spoom//lib/spoom/context/file_system.rb#41 + # List all files at the top level of this context directory sig { returns(T::Array[::String]) } def list; end # Create the context directory at `absolute_path` + # : -> void # - # source://spoom//lib/spoom/context/file_system.rb#27 + # source://spoom//lib/spoom/context/file_system.rb#26 + # Create the context directory at `absolute_path` sig { void } def mkdir!; end # Move the file or directory from `from_relative_path` to `to_relative_path` + # : (String from_relative_path, String to_relative_path) -> void # - # source://spoom//lib/spoom/context/file_system.rb#95 + # source://spoom//lib/spoom/context/file_system.rb#88 + # Move the file or directory from `from_relative_path` to `to_relative_path` sig { params(from_relative_path: ::String, to_relative_path: ::String).void } def move!(from_relative_path, to_relative_path); end # Return the contents of the file at `relative_path` in this context directory # # Will raise if the file doesn't exist. + # : (String relative_path) -> String # - # source://spoom//lib/spoom/context/file_system.rb#73 + # source://spoom//lib/spoom/context/file_system.rb#66 + # Return the contents of the file at `relative_path` in this context directory + # Will raise if the file doesn't exist. sig { params(relative_path: ::String).returns(::String) } def read(relative_path); end # Remove the path at `relative_path` (recursive + force) in this context directory + # : (String relative_path) -> void # - # source://spoom//lib/spoom/context/file_system.rb#89 + # source://spoom//lib/spoom/context/file_system.rb#82 + # Remove the path at `relative_path` (recursive + force) in this context directory sig { params(relative_path: ::String).void } def remove!(relative_path); end # Write `contents` in the file at `relative_path` in this context directory # # Append to the file if `append` is true. + # : (String relative_path, ?String contents, ?append: bool) -> void # - # source://spoom//lib/spoom/context/file_system.rb#81 + # source://spoom//lib/spoom/context/file_system.rb#74 + # Write `contents` in the file at `relative_path` in this context directory + # Append to the file if `append` is true. sig { params(relative_path: ::String, contents: ::String, append: T::Boolean).void } def write!(relative_path, contents = T.unsafe(nil), append: T.unsafe(nil)); end end # Git features for a context # -# source://spoom//lib/spoom/context/git.rb#35 +# source://spoom//lib/spoom/context/git.rb#31 module Spoom::Context::Git requires_ancestor { Spoom::Context } # Run a command prefixed by `git` in this context directory + # : (String command) -> ExecResult # - # source://spoom//lib/spoom/context/git.rb#43 + # source://spoom//lib/spoom/context/git.rb#38 + # Run a command prefixed by `git` in this context directory sig { params(command: ::String).returns(::Spoom::ExecResult) } def git(command); end # Run `git checkout` in this context directory + # : (?ref: String) -> ExecResult # - # source://spoom//lib/spoom/context/git.rb#62 + # source://spoom//lib/spoom/context/git.rb#57 + # Run `git checkout` in this context directory sig { params(ref: ::String).returns(::Spoom::ExecResult) } def git_checkout!(ref: T.unsafe(nil)); end # Run `git checkout -b ` in this context directory + # : (String branch_name, ?ref: String?) -> ExecResult # - # source://spoom//lib/spoom/context/git.rb#68 + # source://spoom//lib/spoom/context/git.rb#63 + # Run `git checkout -b ` in this context directory sig { params(branch_name: ::String, ref: T.nilable(::String)).returns(::Spoom::ExecResult) } def git_checkout_new_branch!(branch_name, ref: T.unsafe(nil)); end # Run `git add . && git commit` in this context directory + # : (?message: String, ?time: Time, ?allow_empty: bool) -> ExecResult # - # source://spoom//lib/spoom/context/git.rb#78 + # source://spoom//lib/spoom/context/git.rb#73 + # Run `git add . && git commit` in this context directory sig { params(message: ::String, time: ::Time, allow_empty: T::Boolean).returns(::Spoom::ExecResult) } def git_commit!(message: T.unsafe(nil), time: T.unsafe(nil), allow_empty: T.unsafe(nil)); end # Get the current git branch in this context directory + # : -> String? # - # source://spoom//lib/spoom/context/git.rb#89 + # source://spoom//lib/spoom/context/git.rb#84 + # Get the current git branch in this context directory sig { returns(T.nilable(::String)) } def git_current_branch; end # Run `git diff` in this context directory + # : (*String arg) -> ExecResult # - # source://spoom//lib/spoom/context/git.rb#98 + # source://spoom//lib/spoom/context/git.rb#93 + # Run `git diff` in this context directory sig { params(arg: ::String).returns(::Spoom::ExecResult) } def git_diff(*arg); end @@ -623,34 +785,50 @@ module Spoom::Context::Git # # Warning: passing a branch will run `git init -b ` which is only available in git 2.28+. # In older versions, use `git_init!` followed by `git("checkout -b ")`. + # : (?branch: String?) -> ExecResult # - # source://spoom//lib/spoom/context/git.rb#52 + # source://spoom//lib/spoom/context/git.rb#47 + # Run `git init` in this context directory + # Warning: passing a branch will run `git init -b ` which is only available in git 2.28+. + # In older versions, use `git_init!` followed by `git("checkout -b ")`. sig { params(branch: T.nilable(::String)).returns(::Spoom::ExecResult) } def git_init!(branch: T.unsafe(nil)); end # Get the last commit in the currently checked out branch + # : (?short_sha: bool) -> Spoom::Git::Commit? # - # source://spoom//lib/spoom/context/git.rb#104 + # source://spoom//lib/spoom/context/git.rb#99 + # Get the last commit in the currently checked out branch sig { params(short_sha: T::Boolean).returns(T.nilable(::Spoom::Git::Commit)) } def git_last_commit(short_sha: T.unsafe(nil)); end - # source://spoom//lib/spoom/context/git.rb#115 + # : (*String arg) -> ExecResult + # + # source://spoom//lib/spoom/context/git.rb#110 sig { params(arg: ::String).returns(::Spoom::ExecResult) } def git_log(*arg); end # Run `git push ` in this context directory + # : (String remote, String ref, ?force: bool) -> ExecResult # - # source://spoom//lib/spoom/context/git.rb#121 + # source://spoom//lib/spoom/context/git.rb#116 + # Run `git push ` in this context directory sig { params(remote: ::String, ref: ::String, force: T::Boolean).returns(::Spoom::ExecResult) } def git_push!(remote, ref, force: T.unsafe(nil)); end - # source://spoom//lib/spoom/context/git.rb#126 + # : (*String arg) -> ExecResult + # + # source://spoom//lib/spoom/context/git.rb#121 sig { params(arg: ::String).returns(::Spoom::ExecResult) } def git_show(*arg); end # Is there uncommitted changes in this context directory? + # : (?path: String) -> bool # - # source://spoom//lib/spoom/context/git.rb#132 + # @return [Boolean] + # + # source://spoom//lib/spoom/context/git.rb#127 + # Is there uncommitted changes in this context directory? sig { params(path: ::String).returns(T::Boolean) } def git_workdir_clean?(path: T.unsafe(nil)); end end @@ -662,54 +840,74 @@ module Spoom::Context::Sorbet requires_ancestor { Spoom::Context } # Does this context has a `sorbet/config` file? + # : -> bool # - # source://spoom//lib/spoom/context/sorbet.rb#119 + # @return [Boolean] + # + # source://spoom//lib/spoom/context/sorbet.rb#106 + # Does this context has a `sorbet/config` file? sig { returns(T::Boolean) } def has_sorbet_config?; end # Read the strictness sigil from the file at `relative_path` (returns `nil` if no sigil) + # : (String relative_path) -> String? # - # source://spoom//lib/spoom/context/sorbet.rb#142 + # source://spoom//lib/spoom/context/sorbet.rb#129 + # Read the strictness sigil from the file at `relative_path` (returns `nil` if no sigil) sig { params(relative_path: ::String).returns(T.nilable(::String)) } def read_file_strictness(relative_path); end # Read the contents of `sorbet/config` in this context directory + # : -> String # - # source://spoom//lib/spoom/context/sorbet.rb#130 + # source://spoom//lib/spoom/context/sorbet.rb#117 + # Read the contents of `sorbet/config` in this context directory sig { returns(::String) } def read_sorbet_config; end - # source://spoom//lib/spoom/context/sorbet.rb#124 + # : -> Spoom::Sorbet::Config + # + # source://spoom//lib/spoom/context/sorbet.rb#111 sig { returns(::Spoom::Sorbet::Config) } def sorbet_config; end # Get the commit introducing the `sorbet/config` file + # : -> Spoom::Git::Commit? # - # source://spoom//lib/spoom/context/sorbet.rb#148 + # source://spoom//lib/spoom/context/sorbet.rb#135 + # Get the commit introducing the `sorbet/config` file sig { returns(T.nilable(::Spoom::Git::Commit)) } def sorbet_intro_commit; end # Get the commit removing the `sorbet/config` file + # : -> Spoom::Git::Commit? # - # source://spoom//lib/spoom/context/sorbet.rb#160 + # source://spoom//lib/spoom/context/sorbet.rb#147 + # Get the commit removing the `sorbet/config` file sig { returns(T.nilable(::Spoom::Git::Commit)) } def sorbet_removal_commit; end # Run `bundle exec srb` in this context directory + # : (*String arg, ?sorbet_bin: String?, ?capture_err: bool) -> ExecResult # - # source://spoom//lib/spoom/context/sorbet.rb#15 + # source://spoom//lib/spoom/context/sorbet.rb#14 + # Run `bundle exec srb` in this context directory sig { params(arg: ::String, sorbet_bin: T.nilable(::String), capture_err: T::Boolean).returns(::Spoom::ExecResult) } def srb(*arg, sorbet_bin: T.unsafe(nil), capture_err: T.unsafe(nil)); end # List all files typechecked by Sorbet from its `config` + # : (?with_config: Spoom::Sorbet::Config?, ?include_rbis: bool) -> Array[String] # - # source://spoom//lib/spoom/context/sorbet.rb#65 + # source://spoom//lib/spoom/context/sorbet.rb#58 + # List all files typechecked by Sorbet from its `config` sig { params(with_config: T.nilable(::Spoom::Sorbet::Config), include_rbis: T::Boolean).returns(T::Array[::String]) } def srb_files(with_config: T.unsafe(nil), include_rbis: T.unsafe(nil)); end # List all files typechecked by Sorbet from its `config` that matches `strictness` + # : (String strictness, ?with_config: Spoom::Sorbet::Config?, ?include_rbis: bool) -> Array[String] # - # source://spoom//lib/spoom/context/sorbet.rb#104 + # source://spoom//lib/spoom/context/sorbet.rb#91 + # List all files typechecked by Sorbet from its `config` that matches `strictness` sig do params( strictness: ::String, @@ -719,7 +917,9 @@ module Spoom::Context::Sorbet end def srb_files_with_strictness(strictness, with_config: T.unsafe(nil), include_rbis: T.unsafe(nil)); end - # source://spoom//lib/spoom/context/sorbet.rb#45 + # : (*String arg, ?sorbet_bin: String?, ?capture_err: bool) -> Hash[String, Integer]? + # + # source://spoom//lib/spoom/context/sorbet.rb#38 sig do params( arg: ::String, @@ -729,17 +929,23 @@ module Spoom::Context::Sorbet end def srb_metrics(*arg, sorbet_bin: T.unsafe(nil), capture_err: T.unsafe(nil)); end - # source://spoom//lib/spoom/context/sorbet.rb#33 + # : (*String arg, ?sorbet_bin: String?, ?capture_err: bool) -> ExecResult + # + # source://spoom//lib/spoom/context/sorbet.rb#32 sig { params(arg: ::String, sorbet_bin: T.nilable(::String), capture_err: T::Boolean).returns(::Spoom::ExecResult) } def srb_tc(*arg, sorbet_bin: T.unsafe(nil), capture_err: T.unsafe(nil)); end - # source://spoom//lib/spoom/context/sorbet.rb#110 + # : (*String arg, ?sorbet_bin: String?, ?capture_err: bool) -> String? + # + # source://spoom//lib/spoom/context/sorbet.rb#97 sig { params(arg: ::String, sorbet_bin: T.nilable(::String), capture_err: T::Boolean).returns(T.nilable(::String)) } def srb_version(*arg, sorbet_bin: T.unsafe(nil), capture_err: T.unsafe(nil)); end # Set the `contents` of `sorbet/config` in this context directory + # : (String contents, ?append: bool) -> void # - # source://spoom//lib/spoom/context/sorbet.rb#136 + # source://spoom//lib/spoom/context/sorbet.rb#123 + # Set the `contents` of `sorbet/config` in this context directory sig { params(contents: ::String, append: T::Boolean).void } def write_sorbet_config!(contents, append: T.unsafe(nil)); end end @@ -747,11 +953,15 @@ end # source://spoom//lib/spoom/coverage/snapshot.rb#5 module Spoom::Coverage class << self - # source://spoom//lib/spoom/coverage.rb#103 + # : (Context context) -> FileTree + # + # source://spoom//lib/spoom/coverage.rb#101 sig { params(context: ::Spoom::Context).returns(::Spoom::FileTree) } def file_tree(context); end - # source://spoom//lib/spoom/coverage.rb#83 + # : (Context context, Array[Snapshot] snapshots, palette: D3::ColorPalette) -> Report + # + # source://spoom//lib/spoom/coverage.rb#81 sig do params( context: ::Spoom::Context, @@ -761,7 +971,9 @@ module Spoom::Coverage end def report(context, snapshots, palette:); end - # source://spoom//lib/spoom/coverage.rb#16 + # : (Context context, ?rbi: bool, ?sorbet_bin: String?) -> Snapshot + # + # source://spoom//lib/spoom/coverage.rb#14 sig do params( context: ::Spoom::Context, @@ -773,52 +985,69 @@ module Spoom::Coverage end end -# source://spoom//lib/spoom/coverage/report.rb#88 +# source://spoom//lib/spoom/coverage/report.rb#87 module Spoom::Coverage::Cards; end -# source://spoom//lib/spoom/coverage/report.rb#89 +# source://spoom//lib/spoom/coverage/report.rb#88 class Spoom::Coverage::Cards::Card < ::Spoom::Coverage::Template - # source://spoom//lib/spoom/coverage/report.rb#98 + # : (?template: String, ?title: String?, ?body: String?) -> void + # + # @return [Card] a new instance of Card + # + # source://spoom//lib/spoom/coverage/report.rb#97 sig { params(template: ::String, title: T.nilable(::String), body: T.nilable(::String)).void } def initialize(template: T.unsafe(nil), title: T.unsafe(nil), body: T.unsafe(nil)); end - # @return [String, nil] + # : String? # - # source://spoom//lib/spoom/coverage/report.rb#95 + # source://spoom//lib/spoom/coverage/report.rb#94 + # @return [String, nil] def body; end - # source://spoom//lib/spoom/coverage/report.rb#95 + # : String? + # + # source://spoom//lib/spoom/coverage/report.rb#94 sig { returns(T.nilable(::String)) } def title; end end -# source://spoom//lib/spoom/coverage/report.rb#92 +# source://spoom//lib/spoom/coverage/report.rb#91 Spoom::Coverage::Cards::Card::TEMPLATE = T.let(T.unsafe(nil), String) # @abstract It cannot be directly instantiated. Subclasses must implement the `abstract` methods below. # -# source://spoom//lib/spoom/coverage/report.rb#105 +# source://spoom//lib/spoom/coverage/report.rb#104 class Spoom::Coverage::Cards::Erb < ::Spoom::Coverage::Cards::Card abstract! - # source://spoom//lib/spoom/coverage/report.rb#112 + # : -> void + # + # @return [Erb] a new instance of Erb + # + # source://spoom//lib/spoom/coverage/report.rb#110 sig { void } def initialize; end # @abstract # - # source://spoom//lib/spoom/coverage/report.rb#120 + # source://spoom//lib/spoom/coverage/report.rb#119 sig { abstract.returns(::String) } def erb; end - # source://spoom//lib/spoom/coverage/report.rb#115 + # : -> String + # + # source://spoom//lib/spoom/coverage/report.rb#114 sig { override.returns(::String) } def html; end end -# source://spoom//lib/spoom/coverage/report.rb#153 +# source://spoom//lib/spoom/coverage/report.rb#150 class Spoom::Coverage::Cards::Map < ::Spoom::Coverage::Cards::Card - # source://spoom//lib/spoom/coverage/report.rb#164 + # : (file_tree: FileTree, nodes_strictnesses: Hash[FileTree::Node, String?], nodes_strictness_scores: Hash[FileTree::Node, Float], ?title: String) -> void + # + # @return [Map] a new instance of Map + # + # source://spoom//lib/spoom/coverage/report.rb#152 sig do params( file_tree: ::Spoom::FileTree, @@ -830,88 +1059,134 @@ class Spoom::Coverage::Cards::Map < ::Spoom::Coverage::Cards::Card def initialize(file_tree:, nodes_strictnesses:, nodes_strictness_scores:, title: T.unsafe(nil)); end end -# source://spoom//lib/spoom/coverage/report.rb#123 +# source://spoom//lib/spoom/coverage/report.rb#122 class Spoom::Coverage::Cards::Snapshot < ::Spoom::Coverage::Cards::Card - # source://spoom//lib/spoom/coverage/report.rb#132 + # : (snapshot: Coverage::Snapshot, ?title: String) -> void + # + # @return [Snapshot] a new instance of Snapshot + # + # source://spoom//lib/spoom/coverage/report.rb#129 sig { params(snapshot: ::Spoom::Coverage::Snapshot, title: ::String).void } def initialize(snapshot:, title: T.unsafe(nil)); end - # source://spoom//lib/spoom/coverage/report.rb#143 + # : -> D3::Pie::Calls + # + # source://spoom//lib/spoom/coverage/report.rb#140 sig { returns(::Spoom::Coverage::D3::Pie::Calls) } def pie_calls; end - # source://spoom//lib/spoom/coverage/report.rb#138 + # : -> D3::Pie::Sigils + # + # source://spoom//lib/spoom/coverage/report.rb#135 sig { returns(::Spoom::Coverage::D3::Pie::Sigils) } def pie_sigils; end - # source://spoom//lib/spoom/coverage/report.rb#148 + # : -> D3::Pie::Sigs + # + # source://spoom//lib/spoom/coverage/report.rb#145 sig { returns(::Spoom::Coverage::D3::Pie::Sigs) } def pie_sigs; end - # source://spoom//lib/spoom/coverage/report.rb#129 + # : Coverage::Snapshot + # + # source://spoom//lib/spoom/coverage/report.rb#126 sig { returns(::Spoom::Coverage::Snapshot) } def snapshot; end end -# source://spoom//lib/spoom/coverage/report.rb#126 +# source://spoom//lib/spoom/coverage/report.rb#123 Spoom::Coverage::Cards::Snapshot::TEMPLATE = T.let(T.unsafe(nil), String) -# source://spoom//lib/spoom/coverage/report.rb#240 +# source://spoom//lib/spoom/coverage/report.rb#214 class Spoom::Coverage::Cards::SorbetIntro < ::Spoom::Coverage::Cards::Erb - # source://spoom//lib/spoom/coverage/report.rb#244 + # : (?sorbet_intro_commit: String?, ?sorbet_intro_date: Time?) -> void + # + # @return [SorbetIntro] a new instance of SorbetIntro + # + # source://spoom//lib/spoom/coverage/report.rb#216 sig { params(sorbet_intro_commit: T.nilable(::String), sorbet_intro_date: T.nilable(::Time)).void } def initialize(sorbet_intro_commit: T.unsafe(nil), sorbet_intro_date: T.unsafe(nil)); end - # source://spoom//lib/spoom/coverage/report.rb#250 + # : -> String + # + # source://spoom//lib/spoom/coverage/report.rb#223 sig { override.returns(::String) } def erb; end end -# source://spoom//lib/spoom/coverage/report.rb#177 +# source://spoom//lib/spoom/coverage/report.rb#165 class Spoom::Coverage::Cards::Timeline < ::Spoom::Coverage::Cards::Card - # source://spoom//lib/spoom/coverage/report.rb#181 + # : (title: String, timeline: D3::Timeline) -> void + # + # @return [Timeline] a new instance of Timeline + # + # source://spoom//lib/spoom/coverage/report.rb#167 sig { params(title: ::String, timeline: ::Spoom::Coverage::D3::Timeline).void } def initialize(title:, timeline:); end end -# source://spoom//lib/spoom/coverage/report.rb#194 +# source://spoom//lib/spoom/coverage/report.rb#178 class Spoom::Coverage::Cards::Timeline::Calls < ::Spoom::Coverage::Cards::Timeline - # source://spoom//lib/spoom/coverage/report.rb#198 + # : (snapshots: Array[Coverage::Snapshot], ?title: String) -> void + # + # @return [Calls] a new instance of Calls + # + # source://spoom//lib/spoom/coverage/report.rb#180 sig { params(snapshots: T::Array[::Spoom::Coverage::Snapshot], title: ::String).void } def initialize(snapshots:, title: T.unsafe(nil)); end end -# source://spoom//lib/spoom/coverage/report.rb#212 +# source://spoom//lib/spoom/coverage/report.rb#192 class Spoom::Coverage::Cards::Timeline::RBIs < ::Spoom::Coverage::Cards::Timeline - # source://spoom//lib/spoom/coverage/report.rb#216 + # : (snapshots: Array[Coverage::Snapshot], ?title: String) -> void + # + # @return [RBIs] a new instance of RBIs + # + # source://spoom//lib/spoom/coverage/report.rb#194 sig { params(snapshots: T::Array[::Spoom::Coverage::Snapshot], title: ::String).void } def initialize(snapshots:, title: T.unsafe(nil)); end end -# source://spoom//lib/spoom/coverage/report.rb#230 +# source://spoom//lib/spoom/coverage/report.rb#206 class Spoom::Coverage::Cards::Timeline::Runtimes < ::Spoom::Coverage::Cards::Timeline - # source://spoom//lib/spoom/coverage/report.rb#234 + # : (snapshots: Array[Coverage::Snapshot], ?title: String) -> void + # + # @return [Runtimes] a new instance of Runtimes + # + # source://spoom//lib/spoom/coverage/report.rb#208 + sig { params(snapshots: T::Array[::Spoom::Coverage::Snapshot], title: ::String).void } + def initialize(snapshots:, title: T.unsafe(nil)); end +end + +# source://spoom//lib/spoom/coverage/report.rb#171 +class Spoom::Coverage::Cards::Timeline::Sigils < ::Spoom::Coverage::Cards::Timeline + # : (snapshots: Array[Coverage::Snapshot], ?title: String) -> void + # + # @return [Sigils] a new instance of Sigils + # + # source://spoom//lib/spoom/coverage/report.rb#173 sig { params(snapshots: T::Array[::Spoom::Coverage::Snapshot], title: ::String).void } def initialize(snapshots:, title: T.unsafe(nil)); end end # source://spoom//lib/spoom/coverage/report.rb#185 -class Spoom::Coverage::Cards::Timeline::Sigils < ::Spoom::Coverage::Cards::Timeline - # source://spoom//lib/spoom/coverage/report.rb#189 - sig { params(snapshots: T::Array[::Spoom::Coverage::Snapshot], title: ::String).void } - def initialize(snapshots:, title: T.unsafe(nil)); end -end - -# source://spoom//lib/spoom/coverage/report.rb#203 class Spoom::Coverage::Cards::Timeline::Sigs < ::Spoom::Coverage::Cards::Timeline - # source://spoom//lib/spoom/coverage/report.rb#207 + # : (snapshots: Array[Coverage::Snapshot], ?title: String) -> void + # + # @return [Sigs] a new instance of Sigs + # + # source://spoom//lib/spoom/coverage/report.rb#187 sig { params(snapshots: T::Array[::Spoom::Coverage::Snapshot], title: ::String).void } def initialize(snapshots:, title: T.unsafe(nil)); end end -# source://spoom//lib/spoom/coverage/report.rb#221 +# source://spoom//lib/spoom/coverage/report.rb#199 class Spoom::Coverage::Cards::Timeline::Versions < ::Spoom::Coverage::Cards::Timeline - # source://spoom//lib/spoom/coverage/report.rb#225 + # : (snapshots: Array[Coverage::Snapshot], ?title: String) -> void + # + # @return [Versions] a new instance of Versions + # + # source://spoom//lib/spoom/coverage/report.rb#201 sig { params(snapshots: T::Array[::Spoom::Coverage::Snapshot], title: ::String).void } def initialize(snapshots:, title: T.unsafe(nil)); end end @@ -919,11 +1194,15 @@ end # source://spoom//lib/spoom/coverage/d3/base.rb#6 module Spoom::Coverage::D3 class << self - # source://spoom//lib/spoom/coverage/d3.rb#61 + # : (ColorPalette palette) -> String + # + # source://spoom//lib/spoom/coverage/d3.rb#59 sig { params(palette: ::Spoom::Coverage::D3::ColorPalette).returns(::String) } def header_script(palette); end - # source://spoom//lib/spoom/coverage/d3.rb#21 + # : -> String + # + # source://spoom//lib/spoom/coverage/d3.rb#19 sig { returns(::String) } def header_style; end end @@ -935,34 +1214,48 @@ end class Spoom::Coverage::D3::Base abstract! + # : (String id, untyped data) -> void + # + # @return [Base] a new instance of Base + # # source://spoom//lib/spoom/coverage/d3/base.rb#17 sig { params(id: ::String, data: T.untyped).void } def initialize(id, data); end - # source://spoom//lib/spoom/coverage/d3/base.rb#37 + # : -> String + # + # source://spoom//lib/spoom/coverage/d3/base.rb#35 sig { returns(::String) } def html; end + # : String + # # source://spoom//lib/spoom/coverage/d3/base.rb#14 sig { returns(::String) } def id; end # @abstract # - # source://spoom//lib/spoom/coverage/d3/base.rb#50 + # source://spoom//lib/spoom/coverage/d3/base.rb#48 sig { abstract.returns(::String) } def script; end - # source://spoom//lib/spoom/coverage/d3/base.rb#45 + # : -> String + # + # source://spoom//lib/spoom/coverage/d3/base.rb#43 sig { returns(::String) } def tooltip; end class << self - # source://spoom//lib/spoom/coverage/d3/base.rb#31 + # : -> String + # + # source://spoom//lib/spoom/coverage/d3/base.rb#29 sig { returns(::String) } def header_script; end - # source://spoom//lib/spoom/coverage/d3/base.rb#26 + # : -> String + # + # source://spoom//lib/spoom/coverage/d3/base.rb#24 sig { returns(::String) } def header_style; end end @@ -985,24 +1278,34 @@ Spoom::Coverage::D3::COLOR_TRUE = T.let(T.unsafe(nil), String) # source://spoom//lib/spoom/coverage/d3/circle_map.rb#9 class Spoom::Coverage::D3::CircleMap < ::Spoom::Coverage::D3::Base - # source://spoom//lib/spoom/coverage/d3/circle_map.rb#59 + # : -> String + # + # source://spoom//lib/spoom/coverage/d3/circle_map.rb#58 sig { override.returns(::String) } def script; end class << self - # source://spoom//lib/spoom/coverage/d3/circle_map.rb#40 + # : -> String + # + # source://spoom//lib/spoom/coverage/d3/circle_map.rb#38 sig { returns(::String) } def header_script; end - # source://spoom//lib/spoom/coverage/d3/circle_map.rb#14 + # : -> String + # + # source://spoom//lib/spoom/coverage/d3/circle_map.rb#12 sig { returns(::String) } def header_style; end end end -# source://spoom//lib/spoom/coverage/d3/circle_map.rb#148 +# source://spoom//lib/spoom/coverage/d3/circle_map.rb#147 class Spoom::Coverage::D3::CircleMap::Sigils < ::Spoom::Coverage::D3::CircleMap - # source://spoom//lib/spoom/coverage/d3/circle_map.rb#159 + # : (String id, FileTree file_tree, Hash[FileTree::Node, String?] nodes_strictnesses, Hash[FileTree::Node, Float] nodes_scores) -> void + # + # @return [Sigils] a new instance of Sigils + # + # source://spoom//lib/spoom/coverage/d3/circle_map.rb#149 sig do params( id: ::String, @@ -1013,12 +1316,14 @@ class Spoom::Coverage::D3::CircleMap::Sigils < ::Spoom::Coverage::D3::CircleMap end def initialize(id, file_tree, nodes_strictnesses, nodes_scores); end - # source://spoom//lib/spoom/coverage/d3/circle_map.rb#166 + # : (FileTree::Node node) -> Hash[Symbol, untyped] + # + # source://spoom//lib/spoom/coverage/d3/circle_map.rb#156 sig { params(node: ::Spoom::FileTree::Node).returns(T::Hash[::Symbol, T.untyped]) } def tree_node_to_json(node); end end -# source://spoom//lib/spoom/coverage/d3.rb#103 +# source://spoom//lib/spoom/coverage/d3.rb#101 class Spoom::Coverage::D3::ColorPalette < ::T::Struct prop :ignore, ::String prop :false, ::String @@ -1027,7 +1332,7 @@ class Spoom::Coverage::D3::ColorPalette < ::T::Struct prop :strong, ::String class << self - # source://sorbet-runtime/0.5.11835/lib/types/struct.rb#13 + # source://sorbet-runtime/0.5.11915/lib/types/struct.rb#13 def inherited(s); end end end @@ -1038,54 +1343,82 @@ end class Spoom::Coverage::D3::Pie < ::Spoom::Coverage::D3::Base abstract! - # source://spoom//lib/spoom/coverage/d3/pie.rb#16 + # : (String id, String title, untyped data) -> void + # + # @return [Pie] a new instance of Pie + # + # source://spoom//lib/spoom/coverage/d3/pie.rb#15 sig { params(id: ::String, title: ::String, data: T.untyped).void } def initialize(id, title, data); end - # source://spoom//lib/spoom/coverage/d3/pie.rb#56 + # : -> String + # + # source://spoom//lib/spoom/coverage/d3/pie.rb#54 sig { override.returns(::String) } def script; end class << self - # source://spoom//lib/spoom/coverage/d3/pie.rb#43 + # : -> String + # + # source://spoom//lib/spoom/coverage/d3/pie.rb#40 sig { returns(::String) } def header_script; end - # source://spoom//lib/spoom/coverage/d3/pie.rb#25 + # : -> String + # + # source://spoom//lib/spoom/coverage/d3/pie.rb#22 sig { returns(::String) } def header_style; end end end -# source://spoom//lib/spoom/coverage/d3/pie.rb#141 +# source://spoom//lib/spoom/coverage/d3/pie.rb#138 class Spoom::Coverage::D3::Pie::Calls < ::Spoom::Coverage::D3::Pie - # source://spoom//lib/spoom/coverage/d3/pie.rb#145 + # : (String id, String title, Snapshot snapshot) -> void + # + # @return [Calls] a new instance of Calls + # + # source://spoom//lib/spoom/coverage/d3/pie.rb#140 sig { params(id: ::String, title: ::String, snapshot: ::Spoom::Coverage::Snapshot).void } def initialize(id, title, snapshot); end - # source://spoom//lib/spoom/coverage/d3/pie.rb#150 + # : -> String + # + # source://spoom//lib/spoom/coverage/d3/pie.rb#146 sig { override.returns(::String) } def tooltip; end end -# source://spoom//lib/spoom/coverage/d3/pie.rb#123 +# source://spoom//lib/spoom/coverage/d3/pie.rb#121 class Spoom::Coverage::D3::Pie::Sigils < ::Spoom::Coverage::D3::Pie - # source://spoom//lib/spoom/coverage/d3/pie.rb#127 + # : (String id, String title, Snapshot snapshot) -> void + # + # @return [Sigils] a new instance of Sigils + # + # source://spoom//lib/spoom/coverage/d3/pie.rb#123 sig { params(id: ::String, title: ::String, snapshot: ::Spoom::Coverage::Snapshot).void } def initialize(id, title, snapshot); end - # source://spoom//lib/spoom/coverage/d3/pie.rb#132 + # : -> String + # + # source://spoom//lib/spoom/coverage/d3/pie.rb#129 sig { override.returns(::String) } def tooltip; end end -# source://spoom//lib/spoom/coverage/d3/pie.rb#159 +# source://spoom//lib/spoom/coverage/d3/pie.rb#155 class Spoom::Coverage::D3::Pie::Sigs < ::Spoom::Coverage::D3::Pie - # source://spoom//lib/spoom/coverage/d3/pie.rb#163 + # : (String id, String title, Snapshot snapshot) -> void + # + # @return [Sigs] a new instance of Sigs + # + # source://spoom//lib/spoom/coverage/d3/pie.rb#157 sig { params(id: ::String, title: ::String, snapshot: ::Spoom::Coverage::Snapshot).void } def initialize(id, title, snapshot); end - # source://spoom//lib/spoom/coverage/d3/pie.rb#172 + # : -> String + # + # source://spoom//lib/spoom/coverage/d3/pie.rb#167 sig { override.returns(::String) } def tooltip; end end @@ -1096,215 +1429,313 @@ end class Spoom::Coverage::D3::Timeline < ::Spoom::Coverage::D3::Base abstract! - # source://spoom//lib/spoom/coverage/d3/timeline.rb#16 + # : (String id, untyped data, Array[String] keys) -> void + # + # @return [Timeline] a new instance of Timeline + # + # source://spoom//lib/spoom/coverage/d3/timeline.rb#15 sig { params(id: ::String, data: T.untyped, keys: T::Array[::String]).void } def initialize(id, data, keys); end - # source://spoom//lib/spoom/coverage/d3/timeline.rb#187 + # : (y: String, ?color: String, ?curve: String) -> String + # + # source://spoom//lib/spoom/coverage/d3/timeline.rb#185 sig { params(y: ::String, color: ::String, curve: ::String).returns(::String) } def area(y:, color: T.unsafe(nil), curve: T.unsafe(nil)); end - # source://spoom//lib/spoom/coverage/d3/timeline.rb#203 + # : (y: String, ?color: String, ?curve: String) -> String + # + # source://spoom//lib/spoom/coverage/d3/timeline.rb#201 sig { params(y: ::String, color: ::String, curve: ::String).returns(::String) } def line(y:, color: T.unsafe(nil), curve: T.unsafe(nil)); end # @abstract # - # source://spoom//lib/spoom/coverage/d3/timeline.rb#126 + # source://spoom//lib/spoom/coverage/d3/timeline.rb#124 sig { abstract.returns(::String) } def plot; end - # source://spoom//lib/spoom/coverage/d3/timeline.rb#217 + # : (y: String) -> String + # + # source://spoom//lib/spoom/coverage/d3/timeline.rb#215 sig { params(y: ::String).returns(::String) } def points(y:); end - # source://spoom//lib/spoom/coverage/d3/timeline.rb#101 + # : -> String + # + # source://spoom//lib/spoom/coverage/d3/timeline.rb#99 sig { override.returns(::String) } def script; end - # source://spoom//lib/spoom/coverage/d3/timeline.rb#129 + # : -> String + # + # source://spoom//lib/spoom/coverage/d3/timeline.rb#127 sig { returns(::String) } def x_scale; end - # source://spoom//lib/spoom/coverage/d3/timeline.rb#145 + # : -> String + # + # source://spoom//lib/spoom/coverage/d3/timeline.rb#143 sig { returns(::String) } def x_ticks; end - # source://spoom//lib/spoom/coverage/d3/timeline.rb#158 + # : (min: String, max: String, ticks: String) -> String + # + # source://spoom//lib/spoom/coverage/d3/timeline.rb#156 sig { params(min: ::String, max: ::String, ticks: ::String).returns(::String) } def y_scale(min:, max:, ticks:); end - # source://spoom//lib/spoom/coverage/d3/timeline.rb#174 + # : (ticks: String, format: String, padding: Integer) -> String + # + # source://spoom//lib/spoom/coverage/d3/timeline.rb#172 sig { params(ticks: ::String, format: ::String, padding: ::Integer).returns(::String) } def y_ticks(ticks:, format:, padding:); end class << self - # source://spoom//lib/spoom/coverage/d3/timeline.rb#79 + # : -> String + # + # source://spoom//lib/spoom/coverage/d3/timeline.rb#76 sig { returns(::String) } def header_script; end - # source://spoom//lib/spoom/coverage/d3/timeline.rb#25 + # : -> String + # + # source://spoom//lib/spoom/coverage/d3/timeline.rb#22 sig { returns(::String) } def header_style; end end end -# source://spoom//lib/spoom/coverage/d3/timeline.rb#448 +# source://spoom//lib/spoom/coverage/d3/timeline.rb#447 class Spoom::Coverage::D3::Timeline::Calls < ::Spoom::Coverage::D3::Timeline::Stacked - # source://spoom//lib/spoom/coverage/d3/timeline.rb#452 + # : (String id, Array[Snapshot] snapshots) -> void + # + # @return [Calls] a new instance of Calls + # + # source://spoom//lib/spoom/coverage/d3/timeline.rb#449 sig { params(id: ::String, snapshots: T::Array[::Spoom::Coverage::Snapshot]).void } def initialize(id, snapshots); end - # source://spoom//lib/spoom/coverage/d3/timeline.rb#466 + # : -> String + # + # source://spoom//lib/spoom/coverage/d3/timeline.rb#464 sig { override.returns(::String) } def tooltip; end end -# source://spoom//lib/spoom/coverage/d3/timeline.rb#505 +# source://spoom//lib/spoom/coverage/d3/timeline.rb#502 class Spoom::Coverage::D3::Timeline::RBIs < ::Spoom::Coverage::D3::Timeline::Stacked - # source://spoom//lib/spoom/coverage/d3/timeline.rb#509 + # : (String id, Array[Snapshot] snapshots) -> void + # + # @return [RBIs] a new instance of RBIs + # + # source://spoom//lib/spoom/coverage/d3/timeline.rb#504 sig { params(id: ::String, snapshots: T::Array[::Spoom::Coverage::Snapshot]).void } def initialize(id, snapshots); end - # source://spoom//lib/spoom/coverage/d3/timeline.rb#577 + # : (y: String, ?color: String, ?curve: String) -> String + # + # source://spoom//lib/spoom/coverage/d3/timeline.rb#575 sig { override.params(y: ::String, color: ::String, curve: ::String).returns(::String) } def line(y:, color: T.unsafe(nil), curve: T.unsafe(nil)); end - # source://spoom//lib/spoom/coverage/d3/timeline.rb#617 + # : -> String + # + # source://spoom//lib/spoom/coverage/d3/timeline.rb#616 sig { override.returns(::String) } def plot; end - # source://spoom//lib/spoom/coverage/d3/timeline.rb#537 + # : -> String + # + # source://spoom//lib/spoom/coverage/d3/timeline.rb#534 sig { override.returns(::String) } def script; end - # source://spoom//lib/spoom/coverage/d3/timeline.rb#523 + # : -> String + # + # source://spoom//lib/spoom/coverage/d3/timeline.rb#519 sig { override.returns(::String) } def tooltip; end end -# source://spoom//lib/spoom/coverage/d3/timeline.rb#282 +# source://spoom//lib/spoom/coverage/d3/timeline.rb#280 class Spoom::Coverage::D3::Timeline::Runtimes < ::Spoom::Coverage::D3::Timeline - # source://spoom//lib/spoom/coverage/d3/timeline.rb#286 + # : (String id, Array[Snapshot] snapshots) -> void + # + # @return [Runtimes] a new instance of Runtimes + # + # source://spoom//lib/spoom/coverage/d3/timeline.rb#282 sig { params(id: ::String, snapshots: T::Array[::Spoom::Coverage::Snapshot]).void } def initialize(id, snapshots); end - # source://spoom//lib/spoom/coverage/d3/timeline.rb#311 + # : -> String + # + # source://spoom//lib/spoom/coverage/d3/timeline.rb#309 sig { override.returns(::String) } def plot; end - # source://spoom//lib/spoom/coverage/d3/timeline.rb#298 + # : -> String + # + # source://spoom//lib/spoom/coverage/d3/timeline.rb#295 sig { override.returns(::String) } def tooltip; end end # source://spoom//lib/spoom/coverage/d3/timeline.rb#421 class Spoom::Coverage::D3::Timeline::Sigils < ::Spoom::Coverage::D3::Timeline::Stacked - # source://spoom//lib/spoom/coverage/d3/timeline.rb#425 + # : (String id, Array[Snapshot] snapshots) -> void + # + # @return [Sigils] a new instance of Sigils + # + # source://spoom//lib/spoom/coverage/d3/timeline.rb#423 sig { params(id: ::String, snapshots: T::Array[::Spoom::Coverage::Snapshot]).void } def initialize(id, snapshots); end - # source://spoom//lib/spoom/coverage/d3/timeline.rb#439 + # : -> String + # + # source://spoom//lib/spoom/coverage/d3/timeline.rb#438 sig { override.returns(::String) } def tooltip; end end -# source://spoom//lib/spoom/coverage/d3/timeline.rb#475 +# source://spoom//lib/spoom/coverage/d3/timeline.rb#473 class Spoom::Coverage::D3::Timeline::Sigs < ::Spoom::Coverage::D3::Timeline::Stacked - # source://spoom//lib/spoom/coverage/d3/timeline.rb#479 + # : (String id, Array[Snapshot] snapshots) -> void + # + # @return [Sigs] a new instance of Sigs + # + # source://spoom//lib/spoom/coverage/d3/timeline.rb#475 sig { params(id: ::String, snapshots: T::Array[::Spoom::Coverage::Snapshot]).void } def initialize(id, snapshots); end - # source://spoom//lib/spoom/coverage/d3/timeline.rb#496 + # : -> String + # + # source://spoom//lib/spoom/coverage/d3/timeline.rb#493 sig { override.returns(::String) } def tooltip; end end # @abstract It cannot be directly instantiated. Subclasses must implement the `abstract` methods below. # -# source://spoom//lib/spoom/coverage/d3/timeline.rb#329 +# source://spoom//lib/spoom/coverage/d3/timeline.rb#327 class Spoom::Coverage::D3::Timeline::Stacked < ::Spoom::Coverage::D3::Timeline abstract! + # : (y: String, ?color: String, ?curve: String) -> String + # # source://spoom//lib/spoom/coverage/d3/timeline.rb#388 sig { override.params(y: ::String, color: ::String, curve: ::String).returns(::String) } def line(y:, color: T.unsafe(nil), curve: T.unsafe(nil)); end - # source://spoom//lib/spoom/coverage/d3/timeline.rb#377 + # : -> String + # + # source://spoom//lib/spoom/coverage/d3/timeline.rb#376 sig { override.returns(::String) } def plot; end - # source://spoom//lib/spoom/coverage/d3/timeline.rb#336 + # : -> String + # + # source://spoom//lib/spoom/coverage/d3/timeline.rb#334 sig { override.returns(::String) } def script; end end -# source://spoom//lib/spoom/coverage/d3/timeline.rb#232 +# source://spoom//lib/spoom/coverage/d3/timeline.rb#230 class Spoom::Coverage::D3::Timeline::Versions < ::Spoom::Coverage::D3::Timeline - # source://spoom//lib/spoom/coverage/d3/timeline.rb#236 + # : (String id, Array[Snapshot] snapshots) -> void + # + # @return [Versions] a new instance of Versions + # + # source://spoom//lib/spoom/coverage/d3/timeline.rb#232 sig { params(id: ::String, snapshots: T::Array[::Spoom::Coverage::Snapshot]).void } def initialize(id, snapshots); end - # source://spoom//lib/spoom/coverage/d3/timeline.rb#263 + # : -> String + # + # source://spoom//lib/spoom/coverage/d3/timeline.rb#261 sig { override.returns(::String) } def plot; end - # source://spoom//lib/spoom/coverage/d3/timeline.rb#249 + # : -> String + # + # source://spoom//lib/spoom/coverage/d3/timeline.rb#246 sig { override.returns(::String) } def tooltip; end end # @abstract It cannot be directly instantiated. Subclasses must implement the `abstract` methods below. # -# source://spoom//lib/spoom/coverage/report.rb#38 +# source://spoom//lib/spoom/coverage/report.rb#37 class Spoom::Coverage::Page < ::Spoom::Coverage::Template abstract! - # source://spoom//lib/spoom/coverage/report.rb#53 + # : (title: String, palette: D3::ColorPalette, ?template: String) -> void + # + # @return [Page] a new instance of Page + # + # source://spoom//lib/spoom/coverage/report.rb#52 sig { params(title: ::String, palette: ::Spoom::Coverage::D3::ColorPalette, template: ::String).void } def initialize(title:, palette:, template: T.unsafe(nil)); end - # source://spoom//lib/spoom/coverage/report.rb#75 + # : -> String + # + # source://spoom//lib/spoom/coverage/report.rb#74 sig { returns(::String) } def body_html; end # @abstract # - # source://spoom//lib/spoom/coverage/report.rb#80 + # source://spoom//lib/spoom/coverage/report.rb#79 sig { abstract.returns(T::Array[::Spoom::Coverage::Cards::Card]) } def cards; end - # source://spoom//lib/spoom/coverage/report.rb#83 + # : -> String + # + # source://spoom//lib/spoom/coverage/report.rb#82 sig { returns(::String) } def footer_html; end - # source://spoom//lib/spoom/coverage/report.rb#70 + # : -> String + # + # source://spoom//lib/spoom/coverage/report.rb#69 sig { returns(::String) } def header_html; end - # source://spoom//lib/spoom/coverage/report.rb#65 + # : -> String + # + # source://spoom//lib/spoom/coverage/report.rb#64 sig { returns(::String) } def header_script; end - # source://spoom//lib/spoom/coverage/report.rb#60 + # : -> String + # + # source://spoom//lib/spoom/coverage/report.rb#59 sig { returns(::String) } def header_style; end - # source://spoom//lib/spoom/coverage/report.rb#50 + # : D3::ColorPalette + # + # source://spoom//lib/spoom/coverage/report.rb#49 sig { returns(::Spoom::Coverage::D3::ColorPalette) } def palette; end - # source://spoom//lib/spoom/coverage/report.rb#47 + # : String + # + # source://spoom//lib/spoom/coverage/report.rb#46 sig { returns(::String) } def title; end end -# source://spoom//lib/spoom/coverage/report.rb#44 +# source://spoom//lib/spoom/coverage/report.rb#43 Spoom::Coverage::Page::TEMPLATE = T.let(T.unsafe(nil), String) -# source://spoom//lib/spoom/coverage/report.rb#261 +# source://spoom//lib/spoom/coverage/report.rb#234 class Spoom::Coverage::Report < ::Spoom::Coverage::Page - # source://spoom//lib/spoom/coverage/report.rb#276 + # : (project_name: String, palette: D3::ColorPalette, snapshots: Array[Snapshot], file_tree: FileTree, nodes_strictnesses: Hash[FileTree::Node, String?], nodes_strictness_scores: Hash[FileTree::Node, Float], ?sorbet_intro_commit: String?, ?sorbet_intro_date: Time?) -> void + # + # @return [Report] a new instance of Report + # + # source://spoom//lib/spoom/coverage/report.rb#236 sig do params( project_name: ::String, @@ -1319,11 +1750,15 @@ class Spoom::Coverage::Report < ::Spoom::Coverage::Page end def initialize(project_name:, palette:, snapshots:, file_tree:, nodes_strictnesses:, nodes_strictness_scores:, sorbet_intro_commit: T.unsafe(nil), sorbet_intro_date: T.unsafe(nil)); end - # source://spoom//lib/spoom/coverage/report.rb#308 + # : -> Array[Cards::Card] + # + # source://spoom//lib/spoom/coverage/report.rb#270 sig { override.returns(T::Array[::Spoom::Coverage::Cards::Card]) } def cards; end - # source://spoom//lib/spoom/coverage/report.rb#297 + # : -> String + # + # source://spoom//lib/spoom/coverage/report.rb#258 sig { override.returns(::String) } def header_html; end end @@ -1350,46 +1785,60 @@ class Spoom::Coverage::Snapshot < ::T::Struct prop :methods_without_sig_excluding_rbis, ::Integer, default: T.unsafe(nil) prop :sigils_excluding_rbis, T::Hash[::String, ::Integer], default: T.unsafe(nil) - # source://spoom//lib/spoom/coverage/snapshot.rb#33 + # : (?out: (IO | StringIO), ?colors: bool, ?indent_level: Integer) -> void + # + # source://spoom//lib/spoom/coverage/snapshot.rb#31 sig { params(out: T.any(::IO, ::StringIO), colors: T::Boolean, indent_level: ::Integer).void } def print(out: T.unsafe(nil), colors: T.unsafe(nil), indent_level: T.unsafe(nil)); end - # source://spoom//lib/spoom/coverage/snapshot.rb#39 + # : (*untyped arg) -> String + # + # source://spoom//lib/spoom/coverage/snapshot.rb#37 sig { params(arg: T.untyped).returns(::String) } def to_json(*arg); end class << self - # source://spoom//lib/spoom/coverage/snapshot.rb#47 + # : (String json) -> Snapshot + # + # source://spoom//lib/spoom/coverage/snapshot.rb#43 sig { params(json: ::String).returns(::Spoom::Coverage::Snapshot) } def from_json(json); end - # source://spoom//lib/spoom/coverage/snapshot.rb#52 + # : (Hash[String, untyped] obj) -> Snapshot + # + # source://spoom//lib/spoom/coverage/snapshot.rb#48 sig { params(obj: T::Hash[::String, T.untyped]).returns(::Spoom::Coverage::Snapshot) } def from_obj(obj); end - # source://sorbet-runtime/0.5.11835/lib/types/struct.rb#13 + # source://sorbet-runtime/0.5.11915/lib/types/struct.rb#13 def inherited(s); end end end # The strictness name as found in the Sorbet metrics file # -# source://spoom//lib/spoom/coverage/snapshot.rb#30 +# source://spoom//lib/spoom/coverage/snapshot.rb#28 Spoom::Coverage::Snapshot::STRICTNESSES = T.let(T.unsafe(nil), Array) -# source://spoom//lib/spoom/coverage/snapshot.rb#95 +# source://spoom//lib/spoom/coverage/snapshot.rb#91 class Spoom::Coverage::SnapshotPrinter < ::Spoom::Printer - # source://spoom//lib/spoom/coverage/snapshot.rb#99 + # : (Snapshot snapshot) -> void + # + # source://spoom//lib/spoom/coverage/snapshot.rb#93 sig { params(snapshot: ::Spoom::Coverage::Snapshot).void } def print_snapshot(snapshot); end private - # source://spoom//lib/spoom/coverage/snapshot.rb#158 + # : (Integer? value, Integer? total) -> String + # + # source://spoom//lib/spoom/coverage/snapshot.rb#152 sig { params(value: T.nilable(::Integer), total: T.nilable(::Integer)).returns(::String) } def percent(value, total); end - # source://spoom//lib/spoom/coverage/snapshot.rb#147 + # : (Hash[String, Integer] hash, Integer total) -> void + # + # source://spoom//lib/spoom/coverage/snapshot.rb#141 sig { params(hash: T::Hash[::String, ::Integer], total: ::Integer).void } def print_map(hash, total); end end @@ -1401,20 +1850,30 @@ class Spoom::Coverage::Template abstract! # Create a new template from an Erb file path + # : (template: String) -> void # - # source://spoom//lib/spoom/coverage/report.rb#18 + # @return [Template] a new instance of Template + # + # source://spoom//lib/spoom/coverage/report.rb#17 + # Create a new template from an Erb file path sig { params(template: ::String).void } def initialize(template:); end - # source://spoom//lib/spoom/coverage/report.rb#23 + # : -> String + # + # source://spoom//lib/spoom/coverage/report.rb#22 sig { returns(::String) } def erb; end - # source://spoom//lib/spoom/coverage/report.rb#33 + # : -> Binding + # + # source://spoom//lib/spoom/coverage/report.rb#32 sig { returns(::Binding) } def get_binding; end - # source://spoom//lib/spoom/coverage/report.rb#28 + # : -> String + # + # source://spoom//lib/spoom/coverage/report.rb#27 sig { returns(::String) } def html; end end @@ -1422,11 +1881,15 @@ end # source://spoom//lib/spoom/deadcode/erb.rb#27 module Spoom::Deadcode class << self - # source://spoom//lib/spoom/deadcode/plugins.rb#75 + # : (Context context) -> Array[singleton(Plugins::Base)] + # + # source://spoom//lib/spoom/deadcode/plugins.rb#73 sig { params(context: ::Spoom::Context).returns(T::Array[T.class_of(Spoom::Deadcode::Plugins::Base)]) } def load_custom_plugins(context); end - # source://spoom//lib/spoom/deadcode/plugins.rb#61 + # : (Context context) -> Set[singleton(Plugins::Base)] + # + # source://spoom//lib/spoom/deadcode/plugins.rb#59 sig { params(context: ::Spoom::Context).returns(T::Set[T.class_of(Spoom::Deadcode::Plugins::Base)]) } def plugins_from_gemfile_lock(context); end end @@ -1448,67 +1911,106 @@ class Spoom::Deadcode::Definition < ::T::Struct const :location, ::Spoom::Location const :status, ::Spoom::Deadcode::Definition::Status, default: T.unsafe(nil) - # source://spoom//lib/spoom/deadcode/definition.rb#78 + # : -> void + # + # source://spoom//lib/spoom/deadcode/definition.rb#76 sig { void } def alive!; end - # Status + # : -> bool # - # source://spoom//lib/spoom/deadcode/definition.rb#73 + # @return [Boolean] + # + # source://spoom//lib/spoom/deadcode/definition.rb#71 + # Status sig { returns(T::Boolean) } def alive?; end - # Kind + # : -> bool # - # source://spoom//lib/spoom/deadcode/definition.rb#41 + # @return [Boolean] + # + # source://spoom//lib/spoom/deadcode/definition.rb#39 + # Kind sig { returns(T::Boolean) } def attr_reader?; end - # source://spoom//lib/spoom/deadcode/definition.rb#46 + # : -> bool + # + # @return [Boolean] + # + # source://spoom//lib/spoom/deadcode/definition.rb#44 sig { returns(T::Boolean) } def attr_writer?; end - # source://spoom//lib/spoom/deadcode/definition.rb#51 + # : -> bool + # + # @return [Boolean] + # + # source://spoom//lib/spoom/deadcode/definition.rb#49 sig { returns(T::Boolean) } def class?; end - # source://spoom//lib/spoom/deadcode/definition.rb#56 + # : -> bool + # + # @return [Boolean] + # + # source://spoom//lib/spoom/deadcode/definition.rb#54 sig { returns(T::Boolean) } def constant?; end - # source://spoom//lib/spoom/deadcode/definition.rb#83 + # : -> bool + # + # @return [Boolean] + # + # source://spoom//lib/spoom/deadcode/definition.rb#81 sig { returns(T::Boolean) } def dead?; end - # source://spoom//lib/spoom/deadcode/definition.rb#93 + # : -> void + # + # source://spoom//lib/spoom/deadcode/definition.rb#91 sig { void } def ignored!; end - # source://spoom//lib/spoom/deadcode/definition.rb#88 + # : -> bool + # + # @return [Boolean] + # + # source://spoom//lib/spoom/deadcode/definition.rb#86 sig { returns(T::Boolean) } def ignored?; end - # source://spoom//lib/spoom/deadcode/definition.rb#61 + # : -> bool + # + # @return [Boolean] + # + # source://spoom//lib/spoom/deadcode/definition.rb#59 sig { returns(T::Boolean) } def method?; end - # source://spoom//lib/spoom/deadcode/definition.rb#66 + # : -> bool + # + # @return [Boolean] + # + # source://spoom//lib/spoom/deadcode/definition.rb#64 sig { returns(T::Boolean) } def module?; end - # Utils + # : (*untyped args) -> String # - # source://spoom//lib/spoom/deadcode/definition.rb#100 + # source://spoom//lib/spoom/deadcode/definition.rb#98 + # Utils sig { params(args: T.untyped).returns(::String) } def to_json(*args); end class << self - # source://sorbet-runtime/0.5.11835/lib/types/struct.rb#13 + # source://sorbet-runtime/0.5.11915/lib/types/struct.rb#13 def inherited(s); end end end -# source://spoom//lib/spoom/deadcode/definition.rb#10 +# source://spoom//lib/spoom/deadcode/definition.rb#8 class Spoom::Deadcode::Definition::Kind < ::T::Enum enums do AttrReader = new @@ -1520,7 +2022,7 @@ class Spoom::Deadcode::Definition::Kind < ::T::Enum end end -# source://spoom//lib/spoom/deadcode/definition.rb#21 +# source://spoom//lib/spoom/deadcode/definition.rb#19 class Spoom::Deadcode::Definition::Status < ::T::Enum enums do ALIVE = new @@ -1533,121 +2035,176 @@ end # # source://spoom//lib/spoom/deadcode/erb.rb#29 class Spoom::Deadcode::ERB < ::Erubi::Engine - # source://spoom//lib/spoom/deadcode/erb.rb#33 + # : (untyped input, ?untyped properties) -> void + # + # @return [ERB] a new instance of ERB + # + # source://spoom//lib/spoom/deadcode/erb.rb#31 sig { params(input: T.untyped, properties: T.untyped).void } def initialize(input, properties = T.unsafe(nil)); end private - # source://spoom//lib/spoom/deadcode/erb.rb#83 + # : (untyped code) -> void + # + # source://spoom//lib/spoom/deadcode/erb.rb#84 sig { override.params(code: T.untyped).void } def add_code(code); end + # : (untyped indicator, untyped code) -> void + # # source://spoom//lib/spoom/deadcode/erb.rb#66 sig { override.params(indicator: T.untyped, code: T.untyped).void } def add_expression(indicator, code); end - # source://spoom//lib/spoom/deadcode/erb.rb#89 + # : (untyped _) -> void + # + # source://spoom//lib/spoom/deadcode/erb.rb#91 sig { override.params(_: T.untyped).void } def add_postamble(_); end - # source://spoom//lib/spoom/deadcode/erb.rb#48 + # : (untyped text) -> void + # + # source://spoom//lib/spoom/deadcode/erb.rb#47 sig { override.params(text: T.untyped).void } def add_text(text); end - # source://spoom//lib/spoom/deadcode/erb.rb#95 + # : (untyped src) -> void + # + # source://spoom//lib/spoom/deadcode/erb.rb#97 sig { params(src: T.untyped).void } def flush_newline_if_pending(src); end end -# source://spoom//lib/spoom/deadcode/erb.rb#63 +# source://spoom//lib/spoom/deadcode/erb.rb#62 Spoom::Deadcode::ERB::BLOCK_EXPR = T.let(T.unsafe(nil), Regexp) # source://spoom//lib/spoom/deadcode/index.rb#6 class Spoom::Deadcode::Index - # source://spoom//lib/spoom/deadcode/index.rb#29 + # : (Model model) -> void + # + # @return [Index] a new instance of Index + # + # source://spoom//lib/spoom/deadcode/index.rb#25 sig { params(model: ::Spoom::Model).void } def initialize(model); end - # source://spoom//lib/spoom/deadcode/index.rb#219 + # : -> Array[Definition] + # + # source://spoom//lib/spoom/deadcode/index.rb#215 sig { returns(T::Array[::Spoom::Deadcode::Definition]) } def all_definitions; end - # source://spoom//lib/spoom/deadcode/index.rb#224 + # : -> Array[Model::Reference] + # + # source://spoom//lib/spoom/deadcode/index.rb#220 sig { returns(T::Array[::Spoom::Model::Reference]) } def all_references; end - # source://spoom//lib/spoom/deadcode/index.rb#99 + # : (Array[Plugins::Base] plugins) -> void + # + # source://spoom//lib/spoom/deadcode/index.rb#95 sig { params(plugins: T::Array[::Spoom::Deadcode::Plugins::Base]).void } def apply_plugins!(plugins); end - # source://spoom//lib/spoom/deadcode/index.rb#79 + # : (Definition definition) -> void + # + # source://spoom//lib/spoom/deadcode/index.rb#75 sig { params(definition: ::Spoom::Deadcode::Definition).void } def define(definition); end - # source://spoom//lib/spoom/deadcode/index.rb#23 + # : Hash[String, Array[Definition]] + # + # source://spoom//lib/spoom/deadcode/index.rb#19 sig { returns(T::Hash[::String, T::Array[::Spoom::Deadcode::Definition]]) } def definitions; end - # Utils + # : (String name) -> Array[Definition] # - # source://spoom//lib/spoom/deadcode/index.rb#214 + # source://spoom//lib/spoom/deadcode/index.rb#210 + # Utils sig { params(name: ::String).returns(T::Array[::Spoom::Deadcode::Definition]) } def definitions_for_name(name); end # Mark all definitions having a reference of the same name as `alive` # # To be called once all the files have been indexed and all the definitions and references discovered. + # : -> void # - # source://spoom//lib/spoom/deadcode/index.rb#122 + # source://spoom//lib/spoom/deadcode/index.rb#118 + # Mark all definitions having a reference of the same name as `alive` + # To be called once all the files have been indexed and all the definitions and references discovered. sig { void } def finalize!; end - # source://spoom//lib/spoom/deadcode/index.rb#94 + # : (Model::SymbolDef symbol_def) -> void + # + # source://spoom//lib/spoom/deadcode/index.rb#90 sig { params(symbol_def: ::Spoom::Model::SymbolDef).void } def ignore(symbol_def); end - # source://spoom//lib/spoom/deadcode/index.rb#50 + # : (String erb, file: String, ?plugins: Array[Plugins::Base]) -> void + # + # source://spoom//lib/spoom/deadcode/index.rb#46 sig { params(erb: ::String, file: ::String, plugins: T::Array[::Spoom::Deadcode::Plugins::Base]).void } def index_erb(erb, file:, plugins: T.unsafe(nil)); end - # Indexing + # : (String file, ?plugins: Array[Plugins::Base]) -> void # - # source://spoom//lib/spoom/deadcode/index.rb#39 + # source://spoom//lib/spoom/deadcode/index.rb#35 + # Indexing sig { params(file: ::String, plugins: T::Array[::Spoom::Deadcode::Plugins::Base]).void } def index_file(file, plugins: T.unsafe(nil)); end - # source://spoom//lib/spoom/deadcode/index.rb#55 + # : (String rb, file: String, ?plugins: Array[Plugins::Base]) -> void + # + # source://spoom//lib/spoom/deadcode/index.rb#51 sig { params(rb: ::String, file: ::String, plugins: T::Array[::Spoom::Deadcode::Plugins::Base]).void } def index_ruby(rb, file:, plugins: T.unsafe(nil)); end - # source://spoom//lib/spoom/deadcode/index.rb#20 + # : Model + # + # source://spoom//lib/spoom/deadcode/index.rb#16 sig { returns(::Spoom::Model) } def model; end - # source://spoom//lib/spoom/deadcode/index.rb#84 + # : (String name, Location location) -> void + # + # source://spoom//lib/spoom/deadcode/index.rb#80 sig { params(name: ::String, location: ::Spoom::Location).void } def reference_constant(name, location); end - # source://spoom//lib/spoom/deadcode/index.rb#89 + # : (String name, Location location) -> void + # + # source://spoom//lib/spoom/deadcode/index.rb#85 sig { params(name: ::String, location: ::Spoom::Location).void } def reference_method(name, location); end - # source://spoom//lib/spoom/deadcode/index.rb#26 + # : Hash[String, Array[Model::Reference]] + # + # source://spoom//lib/spoom/deadcode/index.rb#22 sig { returns(T::Hash[::String, T::Array[::Spoom::Model::Reference]]) } def references; end end -# source://spoom//lib/spoom/deadcode/index.rb#9 +# source://spoom//lib/spoom/deadcode/index.rb#7 class Spoom::Deadcode::Index::Error < ::Spoom::Error - # source://spoom//lib/spoom/deadcode/index.rb#13 + # : (String message, parent: Exception) -> void + # + # @return [Error] a new instance of Error + # + # source://spoom//lib/spoom/deadcode/index.rb#9 sig { params(message: ::String, parent: ::Exception).void } def initialize(message, parent:); end end # source://spoom//lib/spoom/deadcode/indexer.rb#6 class Spoom::Deadcode::Indexer < ::Spoom::Visitor - # source://spoom//lib/spoom/deadcode/indexer.rb#16 + # : (String path, Index index, ?plugins: Array[Plugins::Base]) -> void + # + # @return [Indexer] a new instance of Indexer + # + # source://spoom//lib/spoom/deadcode/indexer.rb#14 sig do params( path: ::String, @@ -1657,17 +2214,21 @@ class Spoom::Deadcode::Indexer < ::Spoom::Visitor end def initialize(path, index, plugins: T.unsafe(nil)); end - # source://spoom//lib/spoom/deadcode/indexer.rb#13 + # : Index + # + # source://spoom//lib/spoom/deadcode/indexer.rb#11 sig { returns(::Spoom::Deadcode::Index) } def index; end - # source://spoom//lib/spoom/deadcode/indexer.rb#10 + # : String + # + # source://spoom//lib/spoom/deadcode/indexer.rb#8 sig { returns(::String) } def path; end - # Visit + # : (Prism::CallNode node) -> void # - # source://spoom//lib/spoom/deadcode/indexer.rb#27 + # source://spoom//lib/spoom/deadcode/indexer.rb#26 sig { override.params(node: ::Prism::CallNode).void } def visit_call_node(node); end end @@ -1680,30 +2241,38 @@ module Spoom::Deadcode::Plugins; end # source://spoom//lib/spoom/deadcode/plugins/action_mailer.rb#7 class Spoom::Deadcode::Plugins::ActionMailer < ::Spoom::Deadcode::Plugins::Base - # source://spoom//lib/spoom/deadcode/plugins/action_mailer.rb#11 + # : (Send send) -> void + # + # source://spoom//lib/spoom/deadcode/plugins/action_mailer.rb#10 sig { override.params(send: ::Spoom::Deadcode::Send).void } def on_send(send); end end # source://spoom//lib/spoom/deadcode/plugins/action_mailer_preview.rb#7 class Spoom::Deadcode::Plugins::ActionMailerPreview < ::Spoom::Deadcode::Plugins::Base - # source://spoom//lib/spoom/deadcode/plugins/action_mailer_preview.rb#13 + # : (Model::Method definition) -> void + # + # source://spoom//lib/spoom/deadcode/plugins/action_mailer_preview.rb#12 sig { override.params(definition: ::Spoom::Model::Method).void } def on_define_method(definition); end end # source://spoom//lib/spoom/deadcode/plugins/actionpack.rb#7 class Spoom::Deadcode::Plugins::ActionPack < ::Spoom::Deadcode::Plugins::Base - # source://spoom//lib/spoom/deadcode/plugins/actionpack.rb#31 + # : (Model::Method definition) -> void + # + # source://spoom//lib/spoom/deadcode/plugins/actionpack.rb#30 sig { override.params(definition: ::Spoom::Model::Method).void } def on_define_method(definition); end + # : (Send send) -> void + # # source://spoom//lib/spoom/deadcode/plugins/actionpack.rb#39 sig { override.params(send: ::Spoom::Deadcode::Send).void } def on_send(send); end end -# source://spoom//lib/spoom/deadcode/plugins/actionpack.rb#12 +# source://spoom//lib/spoom/deadcode/plugins/actionpack.rb#10 Spoom::Deadcode::Plugins::ActionPack::CALLBACKS = T.let(T.unsafe(nil), Array) # source://spoom//lib/spoom/deadcode/plugins/active_job.rb#7 @@ -1711,30 +2280,36 @@ class Spoom::Deadcode::Plugins::ActiveJob < ::Spoom::Deadcode::Plugins::Base; en # source://spoom//lib/spoom/deadcode/plugins/active_model.rb#7 class Spoom::Deadcode::Plugins::ActiveModel < ::Spoom::Deadcode::Plugins::Base - # source://spoom//lib/spoom/deadcode/plugins/active_model.rb#14 + # : (Send send) -> void + # + # source://spoom//lib/spoom/deadcode/plugins/active_model.rb#13 sig { override.params(send: ::Spoom::Deadcode::Send).void } def on_send(send); end end # source://spoom//lib/spoom/deadcode/plugins/active_record.rb#7 class Spoom::Deadcode::Plugins::ActiveRecord < ::Spoom::Deadcode::Plugins::Base - # source://spoom//lib/spoom/deadcode/plugins/active_record.rb#74 + # : (Send send) -> void + # + # source://spoom//lib/spoom/deadcode/plugins/active_record.rb#73 sig { override.params(send: ::Spoom::Deadcode::Send).void } def on_send(send); end end -# source://spoom//lib/spoom/deadcode/plugins/active_record.rb#64 +# source://spoom//lib/spoom/deadcode/plugins/active_record.rb#62 Spoom::Deadcode::Plugins::ActiveRecord::ARRAY_METHODS = T.let(T.unsafe(nil), Array) -# source://spoom//lib/spoom/deadcode/plugins/active_record.rb#20 +# source://spoom//lib/spoom/deadcode/plugins/active_record.rb#18 Spoom::Deadcode::Plugins::ActiveRecord::CALLBACKS = T.let(T.unsafe(nil), Array) -# source://spoom//lib/spoom/deadcode/plugins/active_record.rb#49 +# source://spoom//lib/spoom/deadcode/plugins/active_record.rb#47 Spoom::Deadcode::Plugins::ActiveRecord::CRUD_METHODS = T.let(T.unsafe(nil), Array) # source://spoom//lib/spoom/deadcode/plugins/active_support.rb#7 class Spoom::Deadcode::Plugins::ActiveSupport < ::Spoom::Deadcode::Plugins::Base - # source://spoom//lib/spoom/deadcode/plugins/active_support.rb#22 + # : (Send send) -> void + # + # source://spoom//lib/spoom/deadcode/plugins/active_support.rb#23 sig { override.params(send: ::Spoom::Deadcode::Send).void } def on_send(send); end end @@ -1748,41 +2323,57 @@ Spoom::Deadcode::Plugins::ActiveSupport::SETUP_AND_TEARDOWN_METHODS = T.let(T.un class Spoom::Deadcode::Plugins::Base abstract! - # source://spoom//lib/spoom/deadcode/plugins/base.rb#132 + # : (Index index) -> void + # + # @return [Base] a new instance of Base + # + # source://spoom//lib/spoom/deadcode/plugins/base.rb#129 sig { params(index: ::Spoom::Deadcode::Index).void } def initialize(index); end - # source://spoom//lib/spoom/deadcode/plugins/base.rb#129 + # : Index + # + # source://spoom//lib/spoom/deadcode/plugins/base.rb#126 sig { returns(::Spoom::Deadcode::Index) } def index; end # Do not override this method, use `on_define_accessor` instead. + # : (Model::Attr definition) -> void # - # source://spoom//lib/spoom/deadcode/plugins/base.rb#158 + # source://spoom//lib/spoom/deadcode/plugins/base.rb#155 + # Do not override this method, use `on_define_accessor` instead. sig { params(definition: ::Spoom::Model::Attr).void } def internal_on_define_accessor(definition); end # Do not override this method, use `on_define_class` instead. + # : (Model::Class definition) -> void # - # source://spoom//lib/spoom/deadcode/plugins/base.rb#182 + # source://spoom//lib/spoom/deadcode/plugins/base.rb#179 + # Do not override this method, use `on_define_class` instead. sig { params(definition: ::Spoom::Model::Class).void } def internal_on_define_class(definition); end # Do not override this method, use `on_define_constant` instead. + # : (Model::Constant definition) -> void # - # source://spoom//lib/spoom/deadcode/plugins/base.rb#212 + # source://spoom//lib/spoom/deadcode/plugins/base.rb#209 + # Do not override this method, use `on_define_constant` instead. sig { params(definition: ::Spoom::Model::Constant).void } def internal_on_define_constant(definition); end # Do not override this method, use `on_define_method` instead. + # : (Model::Method definition) -> void # - # source://spoom//lib/spoom/deadcode/plugins/base.rb#238 + # source://spoom//lib/spoom/deadcode/plugins/base.rb#235 + # Do not override this method, use `on_define_method` instead. sig { params(definition: ::Spoom::Model::Method).void } def internal_on_define_method(definition); end # Do not override this method, use `on_define_module` instead. + # : (Model::Module definition) -> void # - # source://spoom//lib/spoom/deadcode/plugins/base.rb#264 + # source://spoom//lib/spoom/deadcode/plugins/base.rb#261 + # Do not override this method, use `on_define_module` instead. sig { params(definition: ::Spoom::Model::Module).void } def internal_on_define_module(definition); end @@ -1799,8 +2390,20 @@ class Spoom::Deadcode::Plugins::Base # end # end # ~~~ + # : (Model::Attr definition) -> void # - # source://spoom//lib/spoom/deadcode/plugins/base.rb#152 + # source://spoom//lib/spoom/deadcode/plugins/base.rb#149 + # Called when an accessor is defined. + # Will be called when the indexer processes a `attr_reader`, `attr_writer` or `attr_accessor` node. + # Note that when this method is called, the definition for the node has already been added to the index. + # It is still possible to ignore it from the plugin: + # ~~~rb + # class MyPlugin < Spoom::Deadcode::Plugins::Base + # def on_define_accessor(definition) + # @index.ignore(definition) if symbol_def.name == "foo" + # end + # end + # ~~~ sig { params(definition: ::Spoom::Model::Attr).void } def on_define_accessor(definition); end @@ -1817,8 +2420,20 @@ class Spoom::Deadcode::Plugins::Base # end # end # ~~~ + # : (Model::Class definition) -> void # - # source://spoom//lib/spoom/deadcode/plugins/base.rb#176 + # source://spoom//lib/spoom/deadcode/plugins/base.rb#173 + # Called when a class is defined. + # Will be called when the indexer processes a `class` node. + # Note that when this method is called, the definition for the node has already been added to the index. + # It is still possible to ignore it from the plugin: + # ~~~rb + # class MyPlugin < Spoom::Deadcode::Plugins::Base + # def on_define_class(definition) + # @index.ignore(definition) if definition.name == "Foo" + # end + # end + # ~~~ sig { params(definition: ::Spoom::Model::Class).void } def on_define_class(definition); end @@ -1835,8 +2450,20 @@ class Spoom::Deadcode::Plugins::Base # end # end # ~~~ + # : (Model::Constant definition) -> void # - # source://spoom//lib/spoom/deadcode/plugins/base.rb#206 + # source://spoom//lib/spoom/deadcode/plugins/base.rb#203 + # Called when a constant is defined. + # Will be called when the indexer processes a `CONST =` node. + # Note that when this method is called, the definition for the node has already been added to the index. + # It is still possible to ignore it from the plugin: + # ~~~rb + # class MyPlugin < Spoom::Deadcode::Plugins::Base + # def on_define_constant(definition) + # @index.ignore(definition) if definition.name == "FOO" + # end + # end + # ~~~ sig { params(definition: ::Spoom::Model::Constant).void } def on_define_constant(definition); end @@ -1853,8 +2480,20 @@ class Spoom::Deadcode::Plugins::Base # end # end # ~~~ + # : (Model::Method definition) -> void # - # source://spoom//lib/spoom/deadcode/plugins/base.rb#232 + # source://spoom//lib/spoom/deadcode/plugins/base.rb#229 + # Called when a method is defined. + # Will be called when the indexer processes a `def` or `defs` node. + # Note that when this method is called, the definition for the node has already been added to the index. + # It is still possible to ignore it from the plugin: + # ~~~rb + # class MyPlugin < Spoom::Deadcode::Plugins::Base + # def on_define_method(definition) + # @index.ignore(definition) if definition.name == "foo" + # end + # end + # ~~~ sig { params(definition: ::Spoom::Model::Method).void } def on_define_method(definition); end @@ -1871,8 +2510,20 @@ class Spoom::Deadcode::Plugins::Base # end # end # ~~~ + # : (Model::Module definition) -> void # - # source://spoom//lib/spoom/deadcode/plugins/base.rb#258 + # source://spoom//lib/spoom/deadcode/plugins/base.rb#255 + # Called when a module is defined. + # Will be called when the indexer processes a `module` node. + # Note that when this method is called, the definition for the node has already been added to the index. + # It is still possible to ignore it from the plugin: + # ~~~rb + # class MyPlugin < Spoom::Deadcode::Plugins::Base + # def on_define_module(definition) + # @index.ignore(definition) if definition.name == "Foo" + # end + # end + # ~~~ sig { params(definition: ::Spoom::Model::Module).void } def on_define_module(definition); end @@ -1889,54 +2540,98 @@ class Spoom::Deadcode::Plugins::Base # end # end # ~~~ + # : (Send send) -> void # - # source://spoom//lib/spoom/deadcode/plugins/base.rb#284 + # source://spoom//lib/spoom/deadcode/plugins/base.rb#281 + # Called when a send is being processed + # ~~~rb + # class MyPlugin < Spoom::Deadcode::Plugins::Base + # def on_send(send) + # return unless send.name == "dsl_method" + # return if send.args.empty? + # method_name = send.args.first.slice.delete_prefix(":") + # @index.reference_method(method_name, send.node, send.loc) + # end + # end + # ~~~ sig { params(send: ::Spoom::Deadcode::Send).void } def on_send(send); end private - # Plugin utils + # : (String name) -> String # - # source://spoom//lib/spoom/deadcode/plugins/base.rb#352 + # source://spoom//lib/spoom/deadcode/plugins/base.rb#349 + # Plugin utils sig { params(name: ::String).returns(::String) } def camelize(name); end - # source://spoom//lib/spoom/deadcode/plugins/base.rb#301 + # : (String? name) -> bool + # + # @return [Boolean] + # + # source://spoom//lib/spoom/deadcode/plugins/base.rb#298 sig { params(name: T.nilable(::String)).returns(T::Boolean) } def ignored_class_name?(name); end - # source://spoom//lib/spoom/deadcode/plugins/base.rb#320 + # : (String name) -> bool + # + # @return [Boolean] + # + # source://spoom//lib/spoom/deadcode/plugins/base.rb#317 sig { params(name: ::String).returns(T::Boolean) } def ignored_constant_name?(name); end - # source://spoom//lib/spoom/deadcode/plugins/base.rb#325 + # : (String name) -> bool + # + # @return [Boolean] + # + # source://spoom//lib/spoom/deadcode/plugins/base.rb#322 sig { params(name: ::String).returns(T::Boolean) } def ignored_method_name?(name); end - # source://spoom//lib/spoom/deadcode/plugins/base.rb#330 + # : (String name) -> bool + # + # @return [Boolean] + # + # source://spoom//lib/spoom/deadcode/plugins/base.rb#327 sig { params(name: ::String).returns(T::Boolean) } def ignored_module_name?(name); end - # source://spoom//lib/spoom/deadcode/plugins/base.rb#335 + # : (String name, Symbol names_variable, Symbol patterns_variable) -> bool + # + # @return [Boolean] + # + # source://spoom//lib/spoom/deadcode/plugins/base.rb#332 sig { params(name: ::String, names_variable: ::Symbol, patterns_variable: ::Symbol).returns(T::Boolean) } def ignored_name?(name, names_variable, patterns_variable); end - # source://spoom//lib/spoom/deadcode/plugins/base.rb#308 + # : (Model::Class definition) -> bool + # + # @return [Boolean] + # + # source://spoom//lib/spoom/deadcode/plugins/base.rb#305 sig { params(definition: ::Spoom::Model::Class).returns(T::Boolean) } def ignored_subclass?(definition); end - # source://spoom//lib/spoom/deadcode/plugins/base.rb#340 + # : (Symbol const) -> Set[String] + # + # source://spoom//lib/spoom/deadcode/plugins/base.rb#337 sig { params(const: ::Symbol).returns(T::Set[::String]) } def names(const); end - # source://spoom//lib/spoom/deadcode/plugins/base.rb#345 + # : (Symbol const) -> Array[Regexp] + # + # source://spoom//lib/spoom/deadcode/plugins/base.rb#342 sig { params(const: ::Symbol).returns(T::Array[::Regexp]) } def patterns(const); end - # DSL support + # : (Model::Namespace definition, String superclass_name) -> bool # - # source://spoom//lib/spoom/deadcode/plugins/base.rb#293 + # @return [Boolean] + # + # source://spoom//lib/spoom/deadcode/plugins/base.rb#290 + # DSL support sig { params(definition: ::Spoom::Model::Namespace, superclass_name: ::String).returns(T::Boolean) } def subclass_of?(definition, superclass_name); end @@ -1954,8 +2649,20 @@ class Spoom::Deadcode::Plugins::Base # ) # end # ~~~ + # : (*(String | Regexp) names) -> void # - # source://spoom//lib/spoom/deadcode/plugins/base.rb#52 + # source://spoom//lib/spoom/deadcode/plugins/base.rb#49 + # Mark classes directly subclassing a class matching `names` as ignored. + # Names can be either strings or regexps: + # ~~~rb + # class MyPlugin < Spoom::Deadcode::Plugins::Base + # ignore_classes_inheriting_from( + # "Foo", + # "Bar", + # /Baz.*/, + # ) + # end + # ~~~ sig { params(names: T.any(::Regexp, ::String)).void } def ignore_classes_inheriting_from(*names); end @@ -1972,8 +2679,20 @@ class Spoom::Deadcode::Plugins::Base # ) # end # ~~~ + # : (*(String | Regexp) names) -> void # - # source://spoom//lib/spoom/deadcode/plugins/base.rb#34 + # source://spoom//lib/spoom/deadcode/plugins/base.rb#31 + # Mark classes matching `names` as ignored. + # Names can be either strings or regexps: + # ~~~rb + # class MyPlugin < Spoom::Deadcode::Plugins::Base + # ignore_class_names( + # "Foo", + # "Bar", + # /Baz.*/, + # ) + # end + # ~~~ sig { params(names: T.any(::Regexp, ::String)).void } def ignore_classes_named(*names); end @@ -1990,8 +2709,20 @@ class Spoom::Deadcode::Plugins::Base # ) # end # ~~~ + # : (*(String | Regexp) names) -> void # - # source://spoom//lib/spoom/deadcode/plugins/base.rb#70 + # source://spoom//lib/spoom/deadcode/plugins/base.rb#67 + # Mark constants matching `names` as ignored. + # Names can be either strings or regexps: + # ~~~rb + # class MyPlugin < Spoom::Deadcode::Plugins::Base + # ignore_class_names( + # "FOO", + # "BAR", + # /BAZ.*/, + # ) + # end + # ~~~ sig { params(names: T.any(::Regexp, ::String)).void } def ignore_constants_named(*names); end @@ -2008,8 +2739,20 @@ class Spoom::Deadcode::Plugins::Base # ) # end # ~~~ + # : (*(String | Regexp) names) -> void # - # source://spoom//lib/spoom/deadcode/plugins/base.rb#88 + # source://spoom//lib/spoom/deadcode/plugins/base.rb#85 + # Mark methods matching `names` as ignored. + # Names can be either strings or regexps: + # ~~~rb + # class MyPlugin < Spoom::Deadcode::Plugins::Base + # ignore_method_names( + # "foo", + # "bar", + # /baz.*/, + # ) + # end + # ~~~ sig { params(names: T.any(::Regexp, ::String)).void } def ignore_methods_named(*names); end @@ -2026,14 +2769,28 @@ class Spoom::Deadcode::Plugins::Base # ) # end # ~~~ + # : (*(String | Regexp) names) -> void # - # source://spoom//lib/spoom/deadcode/plugins/base.rb#106 + # source://spoom//lib/spoom/deadcode/plugins/base.rb#103 + # Mark modules matching `names` as ignored. + # Names can be either strings or regexps: + # ~~~rb + # class MyPlugin < Spoom::Deadcode::Plugins::Base + # ignore_class_names( + # "Foo", + # "Bar", + # /Baz.*/, + # ) + # end + # ~~~ sig { params(names: T.any(::Regexp, ::String)).void } def ignore_modules_named(*names); end private - # source://spoom//lib/spoom/deadcode/plugins/base.rb#113 + # : (Array[(String | Regexp)] names, Symbol names_variable, Symbol patterns_variable) -> void + # + # source://spoom//lib/spoom/deadcode/plugins/base.rb#110 sig do params( names: T::Array[T.any(::Regexp, ::String)], @@ -2047,17 +2804,23 @@ end # source://spoom//lib/spoom/deadcode/plugins/graphql.rb#7 class Spoom::Deadcode::Plugins::GraphQL < ::Spoom::Deadcode::Plugins::Base - # source://spoom//lib/spoom/deadcode/plugins/graphql.rb#28 + # : (Send send) -> void + # + # source://spoom//lib/spoom/deadcode/plugins/graphql.rb#27 sig { override.params(send: ::Spoom::Deadcode::Send).void } def on_send(send); end end # source://spoom//lib/spoom/deadcode/plugins/minitest.rb#7 class Spoom::Deadcode::Plugins::Minitest < ::Spoom::Deadcode::Plugins::Base - # source://spoom//lib/spoom/deadcode/plugins/minitest.rb#22 + # : (Model::Method definition) -> void + # + # source://spoom//lib/spoom/deadcode/plugins/minitest.rb#21 sig { override.params(definition: ::Spoom::Model::Method).void } def on_define_method(definition); end + # : (Send send) -> void + # # source://spoom//lib/spoom/deadcode/plugins/minitest.rb#28 sig { override.params(send: ::Spoom::Deadcode::Send).void } def on_send(send); end @@ -2065,16 +2828,24 @@ end # source://spoom//lib/spoom/deadcode/plugins/namespaces.rb#7 class Spoom::Deadcode::Plugins::Namespaces < ::Spoom::Deadcode::Plugins::Base - # source://spoom//lib/spoom/deadcode/plugins/namespaces.rb#11 + # : (Model::Class definition) -> void + # + # source://spoom//lib/spoom/deadcode/plugins/namespaces.rb#10 sig { override.params(definition: ::Spoom::Model::Class).void } def on_define_class(definition); end + # : (Model::Module definition) -> void + # # source://spoom//lib/spoom/deadcode/plugins/namespaces.rb#16 sig { override.params(definition: ::Spoom::Model::Module).void } def on_define_module(definition); end private + # : (Model::Namespace symbol_def) -> bool + # + # @return [Boolean] + # # source://spoom//lib/spoom/deadcode/plugins/namespaces.rb#23 sig { params(symbol_def: ::Spoom::Model::Namespace).returns(T::Boolean) } def used_as_namespace?(symbol_def); end @@ -2085,16 +2856,24 @@ class Spoom::Deadcode::Plugins::RSpec < ::Spoom::Deadcode::Plugins::Base; end # source://spoom//lib/spoom/deadcode/plugins/rails.rb#7 class Spoom::Deadcode::Plugins::Rails < ::Spoom::Deadcode::Plugins::Base - # source://spoom//lib/spoom/deadcode/plugins/rails.rb#13 + # : (Model::Class definition) -> void + # + # source://spoom//lib/spoom/deadcode/plugins/rails.rb#12 sig { override.params(definition: ::Spoom::Model::Class).void } def on_define_class(definition); end + # : (Model::Module definition) -> void + # # source://spoom//lib/spoom/deadcode/plugins/rails.rb#18 sig { override.params(definition: ::Spoom::Model::Module).void } def on_define_module(definition); end private + # : (Model::Namespace symbol_def) -> bool + # + # @return [Boolean] + # # source://spoom//lib/spoom/deadcode/plugins/rails.rb#25 sig { params(symbol_def: ::Spoom::Model::Namespace).returns(T::Boolean) } def file_is_helper?(symbol_def); end @@ -2105,76 +2884,108 @@ class Spoom::Deadcode::Plugins::Rake < ::Spoom::Deadcode::Plugins::Base; end # source://spoom//lib/spoom/deadcode/plugins/rubocop.rb#7 class Spoom::Deadcode::Plugins::Rubocop < ::Spoom::Deadcode::Plugins::Base - # source://spoom//lib/spoom/deadcode/plugins/rubocop.rb#18 + # : (Model::Constant definition) -> void + # + # source://spoom//lib/spoom/deadcode/plugins/rubocop.rb#17 sig { override.params(definition: ::Spoom::Model::Constant).void } def on_define_constant(definition); end + # : (Model::Method definition) -> void + # # source://spoom//lib/spoom/deadcode/plugins/rubocop.rb#26 sig { override.params(definition: ::Spoom::Model::Method).void } def on_define_method(definition); end end -# source://spoom//lib/spoom/deadcode/plugins/rubocop.rb#10 +# source://spoom//lib/spoom/deadcode/plugins/rubocop.rb#8 Spoom::Deadcode::Plugins::Rubocop::RUBOCOP_CONSTANTS = T.let(T.unsafe(nil), Set) # source://spoom//lib/spoom/deadcode/plugins/ruby.rb#7 class Spoom::Deadcode::Plugins::Ruby < ::Spoom::Deadcode::Plugins::Base - # source://spoom//lib/spoom/deadcode/plugins/ruby.rb#24 + # : (Send send) -> void + # + # source://spoom//lib/spoom/deadcode/plugins/ruby.rb#23 sig { override.params(send: ::Spoom::Deadcode::Send).void } def on_send(send); end private - # source://spoom//lib/spoom/deadcode/plugins/ruby.rb#46 + # : (Send send, Prism::Node node) -> void + # + # source://spoom//lib/spoom/deadcode/plugins/ruby.rb#45 sig { params(send: ::Spoom::Deadcode::Send, node: ::Prism::Node).void } def reference_symbol_as_constant(send, node); end end # source://spoom//lib/spoom/deadcode/plugins/sorbet.rb#7 class Spoom::Deadcode::Plugins::Sorbet < ::Spoom::Deadcode::Plugins::Base - # source://spoom//lib/spoom/deadcode/plugins/sorbet.rb#11 + # : (Model::Constant definition) -> void + # + # source://spoom//lib/spoom/deadcode/plugins/sorbet.rb#10 sig { override.params(definition: ::Spoom::Model::Constant).void } def on_define_constant(definition); end + # : (Model::Method definition) -> void + # # source://spoom//lib/spoom/deadcode/plugins/sorbet.rb#16 sig { override.params(definition: ::Spoom::Model::Method).void } def on_define_method(definition); end private - # source://spoom//lib/spoom/deadcode/plugins/sorbet.rb#28 + # : (Model::Constant definition) -> bool + # + # @return [Boolean] + # + # source://spoom//lib/spoom/deadcode/plugins/sorbet.rb#34 sig { params(definition: ::Spoom::Model::Constant).returns(T::Boolean) } def sorbet_enum_constant?(definition); end - # source://spoom//lib/spoom/deadcode/plugins/sorbet.rb#23 + # : (Model::Constant definition) -> bool + # + # @return [Boolean] + # + # source://spoom//lib/spoom/deadcode/plugins/sorbet.rb#29 sig { params(definition: ::Spoom::Model::Constant).returns(T::Boolean) } def sorbet_type_member?(definition); end end # source://spoom//lib/spoom/deadcode/plugins/thor.rb#7 class Spoom::Deadcode::Plugins::Thor < ::Spoom::Deadcode::Plugins::Base - # source://spoom//lib/spoom/deadcode/plugins/thor.rb#13 + # : (Model::Method definition) -> void + # + # source://spoom//lib/spoom/deadcode/plugins/thor.rb#12 sig { override.params(definition: ::Spoom::Model::Method).void } def on_define_method(definition); end end # source://spoom//lib/spoom/deadcode/remover.rb#6 class Spoom::Deadcode::Remover - # source://spoom//lib/spoom/deadcode/remover.rb#12 + # : (Context context) -> void + # + # @return [Remover] a new instance of Remover + # + # source://spoom//lib/spoom/deadcode/remover.rb#10 sig { params(context: ::Spoom::Context).void } def initialize(context); end - # source://spoom//lib/spoom/deadcode/remover.rb#17 + # : (Definition::Kind? kind, Location location) -> String + # + # source://spoom//lib/spoom/deadcode/remover.rb#15 sig { params(kind: T.nilable(::Spoom::Deadcode::Definition::Kind), location: ::Spoom::Location).returns(::String) } def remove_location(kind, location); end end -# source://spoom//lib/spoom/deadcode/remover.rb#9 +# source://spoom//lib/spoom/deadcode/remover.rb#7 class Spoom::Deadcode::Remover::Error < ::Spoom::Error; end -# source://spoom//lib/spoom/deadcode/remover.rb#372 +# source://spoom//lib/spoom/deadcode/remover.rb#362 class Spoom::Deadcode::Remover::NodeContext - # source://spoom//lib/spoom/deadcode/remover.rb#392 + # : (String source, Hash[Integer, Prism::Comment] comments, Prism::Node node, Array[Prism::Node] nesting) -> void + # + # @return [NodeContext] a new instance of NodeContext + # + # source://spoom//lib/spoom/deadcode/remover.rb#373 sig do params( source: ::String, @@ -2185,104 +2996,153 @@ class Spoom::Deadcode::Remover::NodeContext end def initialize(source, comments, node, nesting); end - # source://spoom//lib/spoom/deadcode/remover.rb#506 + # : (Prism::Node node) -> Array[Prism::Comment] + # + # source://spoom//lib/spoom/deadcode/remover.rb#487 sig { params(node: ::Prism::Node).returns(T::Array[::Prism::Comment]) } def attached_comments(node); end - # source://spoom//lib/spoom/deadcode/remover.rb#534 + # : -> Prism::CallNode? + # + # source://spoom//lib/spoom/deadcode/remover.rb#515 sig { returns(T.nilable(::Prism::CallNode)) } def attached_sig; end - # source://spoom//lib/spoom/deadcode/remover.rb#521 + # : -> Array[Prism::Node] + # + # source://spoom//lib/spoom/deadcode/remover.rb#502 sig { returns(T::Array[::Prism::Node]) } def attached_sigs; end - # source://spoom//lib/spoom/deadcode/remover.rb#376 + # : Hash[Integer, Prism::Comment] + # + # source://spoom//lib/spoom/deadcode/remover.rb#364 sig { returns(T::Hash[::Integer, ::Prism::Comment]) } def comments; end - # source://spoom//lib/spoom/deadcode/remover.rb#494 + # : (Integer start_line, Integer end_line) -> Array[Prism::Comment] + # + # source://spoom//lib/spoom/deadcode/remover.rb#475 sig { params(start_line: ::Integer, end_line: ::Integer).returns(T::Array[::Prism::Comment]) } def comments_between_lines(start_line, end_line); end - # source://spoom//lib/spoom/deadcode/remover.rb#382 + # : Array[Prism::Node] + # + # source://spoom//lib/spoom/deadcode/remover.rb#370 sig { returns(T::Array[::Prism::Node]) } def nesting; end - # @return [Array] + # : Array[Prism::Node] # - # source://spoom//lib/spoom/deadcode/remover.rb#382 + # source://spoom//lib/spoom/deadcode/remover.rb#370 + # @return [Array] def nesting=(_arg0); end - # source://spoom//lib/spoom/deadcode/remover.rb#444 + # : -> Prism::Node? + # + # source://spoom//lib/spoom/deadcode/remover.rb#425 sig { returns(T.nilable(::Prism::Node)) } def next_node; end + # : -> Array[Prism::Node] + # # @raise [Error] # - # source://spoom//lib/spoom/deadcode/remover.rb#433 + # source://spoom//lib/spoom/deadcode/remover.rb#414 sig { returns(T::Array[::Prism::Node]) } def next_nodes; end - # source://spoom//lib/spoom/deadcode/remover.rb#379 + # : Prism::Node + # + # source://spoom//lib/spoom/deadcode/remover.rb#367 sig { returns(::Prism::Node) } def node; end + # : -> NodeContext + # # @raise [Error] # - # source://spoom//lib/spoom/deadcode/remover.rb#408 + # source://spoom//lib/spoom/deadcode/remover.rb#389 sig { returns(::Spoom::Deadcode::Remover::NodeContext) } def parent_context; end + # : -> Prism::Node + # # @raise [Error] # - # source://spoom//lib/spoom/deadcode/remover.rb#400 + # source://spoom//lib/spoom/deadcode/remover.rb#381 sig { returns(::Prism::Node) } def parent_node; end - # source://spoom//lib/spoom/deadcode/remover.rb#428 + # : -> Prism::Node? + # + # source://spoom//lib/spoom/deadcode/remover.rb#409 sig { returns(T.nilable(::Prism::Node)) } def previous_node; end + # : -> Array[Prism::Node] + # # @raise [Error] # - # source://spoom//lib/spoom/deadcode/remover.rb#417 + # source://spoom//lib/spoom/deadcode/remover.rb#398 sig { returns(T::Array[::Prism::Node]) } def previous_nodes; end - # source://spoom//lib/spoom/deadcode/remover.rb#449 + # : -> NodeContext? + # + # source://spoom//lib/spoom/deadcode/remover.rb#430 sig { returns(T.nilable(::Spoom::Deadcode::Remover::NodeContext)) } def sclass_context; end - # source://spoom//lib/spoom/deadcode/remover.rb#482 + # : (Prism::Node? node) -> bool + # + # @return [Boolean] + # + # source://spoom//lib/spoom/deadcode/remover.rb#463 sig { params(node: T.nilable(::Prism::Node)).returns(T::Boolean) } def sorbet_extend_sig?(node); end - # source://spoom//lib/spoom/deadcode/remover.rb#477 + # : (Prism::Node? node) -> bool + # + # @return [Boolean] + # + # source://spoom//lib/spoom/deadcode/remover.rb#458 sig { params(node: T.nilable(::Prism::Node)).returns(T::Boolean) } def sorbet_signature?(node); end end -# source://spoom//lib/spoom/deadcode/remover.rb#549 +# source://spoom//lib/spoom/deadcode/remover.rb#530 class Spoom::Deadcode::Remover::NodeFinder < ::Spoom::Visitor - # source://spoom//lib/spoom/deadcode/remover.rb#621 + # : (Location location, Definition::Kind? kind) -> void + # + # @return [NodeFinder] a new instance of NodeFinder + # + # source://spoom//lib/spoom/deadcode/remover.rb#598 sig { params(location: ::Spoom::Location, kind: T.nilable(::Spoom::Deadcode::Definition::Kind)).void } def initialize(location, kind); end - # source://spoom//lib/spoom/deadcode/remover.rb#615 + # : Prism::Node? + # + # source://spoom//lib/spoom/deadcode/remover.rb#592 sig { returns(T.nilable(::Prism::Node)) } def node; end - # source://spoom//lib/spoom/deadcode/remover.rb#618 + # : Array[Prism::Node] + # + # source://spoom//lib/spoom/deadcode/remover.rb#595 sig { returns(T::Array[::Prism::Node]) } def nodes_nesting; end - # source://spoom//lib/spoom/deadcode/remover.rb#630 + # : (Prism::Node? node) -> void + # + # source://spoom//lib/spoom/deadcode/remover.rb#608 sig { override.params(node: T.nilable(::Prism::Node)).void } def visit(node); end class << self - # source://spoom//lib/spoom/deadcode/remover.rb#556 + # : (String source, Location location, Definition::Kind? kind) -> NodeContext + # + # source://spoom//lib/spoom/deadcode/remover.rb#533 sig do params( source: ::String, @@ -2292,15 +3152,23 @@ class Spoom::Deadcode::Remover::NodeFinder < ::Spoom::Visitor end def find(source, location, kind); end - # source://spoom//lib/spoom/deadcode/remover.rb#590 + # : (Prism::Node node, Definition::Kind kind) -> bool + # + # @return [Boolean] + # + # source://spoom//lib/spoom/deadcode/remover.rb#567 sig { params(node: ::Prism::Node, kind: ::Spoom::Deadcode::Definition::Kind).returns(T::Boolean) } def node_match_kind?(node, kind); end end end -# source://spoom//lib/spoom/deadcode/remover.rb#29 +# source://spoom//lib/spoom/deadcode/remover.rb#27 class Spoom::Deadcode::Remover::NodeRemover - # source://spoom//lib/spoom/deadcode/remover.rb#36 + # : (String source, Definition::Kind? kind, Location location) -> void + # + # @return [NodeRemover] a new instance of NodeRemover + # + # source://spoom//lib/spoom/deadcode/remover.rb#32 sig do params( source: ::String, @@ -2310,37 +3178,53 @@ class Spoom::Deadcode::Remover::NodeRemover end def initialize(source, kind, location); end - # source://spoom//lib/spoom/deadcode/remover.rb#46 + # : -> void + # + # source://spoom//lib/spoom/deadcode/remover.rb#42 sig { void } def apply_edit; end - # source://spoom//lib/spoom/deadcode/remover.rb#33 + # : String + # + # source://spoom//lib/spoom/deadcode/remover.rb#29 sig { returns(::String) } def new_source; end private - # source://spoom//lib/spoom/deadcode/remover.rb#153 + # : (NodeContext context) -> void + # + # source://spoom//lib/spoom/deadcode/remover.rb#149 sig { params(context: ::Spoom::Deadcode::Remover::NodeContext).void } def delete_attr_accessor(context); end - # source://spoom//lib/spoom/deadcode/remover.rb#331 + # : (Integer start_char, Integer end_char) -> void + # + # source://spoom//lib/spoom/deadcode/remover.rb#321 sig { params(start_char: ::Integer, end_char: ::Integer).void } def delete_chars(start_char, end_char); end - # source://spoom//lib/spoom/deadcode/remover.rb#73 + # : (NodeContext context) -> void + # + # source://spoom//lib/spoom/deadcode/remover.rb#69 sig { params(context: ::Spoom::Deadcode::Remover::NodeContext).void } def delete_constant_assignment(context); end - # source://spoom//lib/spoom/deadcode/remover.rb#324 + # : (Integer start_line, Integer end_line) -> void + # + # source://spoom//lib/spoom/deadcode/remover.rb#314 sig { params(start_line: ::Integer, end_line: ::Integer).void } def delete_lines(start_line, end_line); end - # source://spoom//lib/spoom/deadcode/remover.rb#261 + # : (NodeContext context) -> void + # + # source://spoom//lib/spoom/deadcode/remover.rb#251 sig { params(context: ::Spoom::Deadcode::Remover::NodeContext).void } def delete_node_and_comments_and_sigs(context); end - # source://spoom//lib/spoom/deadcode/remover.rb#218 + # : (Prism::Node node, NodeContext send_context, was_removed: bool) -> void + # + # source://spoom//lib/spoom/deadcode/remover.rb#208 sig do params( node: ::Prism::Node, @@ -2350,11 +3234,15 @@ class Spoom::Deadcode::Remover::NodeRemover end def insert_accessor(node, send_context, was_removed:); end - # source://spoom//lib/spoom/deadcode/remover.rb#336 + # : (Integer start_char, Integer end_char, String replacement) -> void + # + # source://spoom//lib/spoom/deadcode/remover.rb#326 sig { params(start_char: ::Integer, end_char: ::Integer, replacement: ::String).void } def replace_chars(start_char, end_char, replacement); end - # source://spoom//lib/spoom/deadcode/remover.rb#341 + # : (Prism::CallNode node, name: String, kind: Definition::Kind?) -> String + # + # source://spoom//lib/spoom/deadcode/remover.rb#331 sig do params( node: ::Prism::CallNode, @@ -2376,7 +3264,9 @@ class Spoom::Deadcode::Send < ::T::Struct const :block, T.nilable(::Prism::Node), default: T.unsafe(nil) const :location, ::Spoom::Location - # source://spoom//lib/spoom/deadcode/send.rb#22 + # : [T] (Class[T] arg_type) { (T arg) -> void } -> void + # + # source://spoom//lib/spoom/deadcode/send.rb#16 sig do type_parameters(:T) .params( @@ -2386,17 +3276,19 @@ class Spoom::Deadcode::Send < ::T::Struct end def each_arg(arg_type, &block); end - # source://spoom//lib/spoom/deadcode/send.rb#29 + # : { (Prism::Node key, Prism::Node? value) -> void } -> void + # + # source://spoom//lib/spoom/deadcode/send.rb#23 sig { params(block: T.proc.params(key: ::Prism::Node, value: T.nilable(::Prism::Node)).void).void } def each_arg_assoc(&block); end class << self - # source://sorbet-runtime/0.5.11835/lib/types/struct.rb#13 + # source://sorbet-runtime/0.5.11915/lib/types/struct.rb#13 def inherited(s); end end end -# source://spoom//lib/spoom.rb#12 +# source://spoom//lib/spoom.rb#10 class Spoom::Error < ::StandardError; end # source://spoom//lib/spoom/context/exec.rb#5 @@ -2406,12 +3298,14 @@ class Spoom::ExecResult < ::T::Struct const :status, T::Boolean const :exit_code, ::Integer - # source://spoom//lib/spoom/context/exec.rb#14 + # : -> String + # + # source://spoom//lib/spoom/context/exec.rb#12 sig { returns(::String) } def to_s; end class << self - # source://sorbet-runtime/0.5.11835/lib/types/struct.rb#13 + # source://sorbet-runtime/0.5.11915/lib/types/struct.rb#13 def inherited(s); end end end @@ -2426,8 +3320,17 @@ class Spoom::FileCollector # If `allow_mime_types` is empty, all files are collected. # If `allow_mime_types` is an array of mimetypes, files without an extension are collected if their mimetype is in # the list. + # : (?allow_extensions: Array[String], ?allow_mime_types: Array[String], ?exclude_patterns: Array[String]) -> void # - # source://spoom//lib/spoom/file_collector.rb#26 + # @return [FileCollector] a new instance of FileCollector + # + # source://spoom//lib/spoom/file_collector.rb#18 + # Initialize a new file collector + # If `allow_extensions` is empty, all files are collected. + # If `allow_extensions` is an array of extensions, only files with one of these extensions are collected. + # If `allow_mime_types` is empty, all files are collected. + # If `allow_mime_types` is an array of mimetypes, files without an extension are collected if their mimetype is in + # the list. sig do params( allow_extensions: T::Array[::String], @@ -2437,41 +3340,63 @@ class Spoom::FileCollector end def initialize(allow_extensions: T.unsafe(nil), allow_mime_types: T.unsafe(nil), exclude_patterns: T.unsafe(nil)); end - # source://spoom//lib/spoom/file_collector.rb#9 + # : Array[String] + # + # source://spoom//lib/spoom/file_collector.rb#7 sig { returns(T::Array[::String]) } def files; end - # source://spoom//lib/spoom/file_collector.rb#39 + # : (String path) -> void + # + # source://spoom//lib/spoom/file_collector.rb#31 sig { params(path: ::String).void } def visit_path(path); end - # source://spoom//lib/spoom/file_collector.rb#34 + # : (Array[String] paths) -> void + # + # source://spoom//lib/spoom/file_collector.rb#26 sig { params(paths: T::Array[::String]).void } def visit_paths(paths); end private - # source://spoom//lib/spoom/file_collector.rb#56 + # : (String path) -> String + # + # source://spoom//lib/spoom/file_collector.rb#48 sig { params(path: ::String).returns(::String) } def clean_path(path); end - # source://spoom//lib/spoom/file_collector.rb#73 + # : (String path) -> bool + # + # @return [Boolean] + # + # source://spoom//lib/spoom/file_collector.rb#65 sig { params(path: ::String).returns(T::Boolean) } def excluded_file?(path); end - # source://spoom//lib/spoom/file_collector.rb#88 + # : (String path) -> bool + # + # @return [Boolean] + # + # source://spoom//lib/spoom/file_collector.rb#80 sig { params(path: ::String).returns(T::Boolean) } def excluded_path?(path); end - # source://spoom//lib/spoom/file_collector.rb#97 + # : (String path) -> String? + # + # source://spoom//lib/spoom/file_collector.rb#89 sig { params(path: ::String).returns(T.nilable(::String)) } def mime_type_for(path); end - # source://spoom//lib/spoom/file_collector.rb#68 + # : (String path) -> void + # + # source://spoom//lib/spoom/file_collector.rb#60 sig { params(path: ::String).void } def visit_directory(path); end - # source://spoom//lib/spoom/file_collector.rb#61 + # : (String path) -> void + # + # source://spoom//lib/spoom/file_collector.rb#53 sig { params(path: ::String).void } def visit_file(path); end end @@ -2480,136 +3405,187 @@ end # # source://spoom//lib/spoom/file_tree.rb#6 class Spoom::FileTree - # source://spoom//lib/spoom/file_tree.rb#10 + # : (?T::Enumerable[String] paths) -> void + # + # @return [FileTree] a new instance of FileTree + # + # source://spoom//lib/spoom/file_tree.rb#8 sig { params(paths: T::Enumerable[::String]).void } def initialize(paths = T.unsafe(nil)); end # Add a `path` to the tree # # This will create all nodes until the root of `path`. + # : (String path) -> Node # - # source://spoom//lib/spoom/file_tree.rb#25 + # source://spoom//lib/spoom/file_tree.rb#23 + # Add a `path` to the tree + # This will create all nodes until the root of `path`. sig { params(path: ::String).returns(::Spoom::FileTree::Node) } def add_path(path); end # Add all `paths` to the tree + # : (T::Enumerable[String] paths) -> void # - # source://spoom//lib/spoom/file_tree.rb#17 + # source://spoom//lib/spoom/file_tree.rb#15 + # Add all `paths` to the tree sig { params(paths: T::Enumerable[::String]).void } def add_paths(paths); end # All the nodes in this tree + # : -> Array[Node] # - # source://spoom//lib/spoom/file_tree.rb#45 + # source://spoom//lib/spoom/file_tree.rb#43 + # All the nodes in this tree sig { returns(T::Array[::Spoom::FileTree::Node]) } def nodes; end # Return a map of typing scores for each node in the tree + # : (Context context) -> Hash[Node, Float] # - # source://spoom//lib/spoom/file_tree.rb#59 + # source://spoom//lib/spoom/file_tree.rb#57 + # Return a map of typing scores for each node in the tree sig { params(context: ::Spoom::Context).returns(T::Hash[::Spoom::FileTree::Node, ::Float]) } def nodes_strictness_scores(context); end # All the paths in this tree + # : -> Array[String] # - # source://spoom//lib/spoom/file_tree.rb#53 + # source://spoom//lib/spoom/file_tree.rb#51 + # All the paths in this tree sig { returns(T::Array[::String]) } def paths; end # Return a map of typing scores for each path in the tree + # : (Context context) -> Hash[String, Float] # - # source://spoom//lib/spoom/file_tree.rb#67 + # source://spoom//lib/spoom/file_tree.rb#65 + # Return a map of typing scores for each path in the tree sig { params(context: ::Spoom::Context).returns(T::Hash[::String, ::Float]) } def paths_strictness_scores(context); end - # source://spoom//lib/spoom/file_tree.rb#72 + # : (?out: (IO | StringIO), ?colors: bool) -> void + # + # source://spoom//lib/spoom/file_tree.rb#70 sig { params(out: T.any(::IO, ::StringIO), colors: T::Boolean).void } def print(out: T.unsafe(nil), colors: T.unsafe(nil)); end # All root nodes + # : -> Array[Node] # - # source://spoom//lib/spoom/file_tree.rb#39 + # source://spoom//lib/spoom/file_tree.rb#37 + # All root nodes sig { returns(T::Array[::Spoom::FileTree::Node]) } def roots; end end # A visitor that collects all the nodes in a tree # -# source://spoom//lib/spoom/file_tree.rb#124 +# source://spoom//lib/spoom/file_tree.rb#119 class Spoom::FileTree::CollectNodes < ::Spoom::FileTree::Visitor - # source://spoom//lib/spoom/file_tree.rb#131 + # : -> void + # + # @return [CollectNodes] a new instance of CollectNodes + # + # source://spoom//lib/spoom/file_tree.rb#124 sig { void } def initialize; end - # source://spoom//lib/spoom/file_tree.rb#128 + # : Array[FileTree::Node] + # + # source://spoom//lib/spoom/file_tree.rb#121 sig { returns(T::Array[::Spoom::FileTree::Node]) } def nodes; end - # source://spoom//lib/spoom/file_tree.rb#137 + # : (FileTree::Node node) -> void + # + # source://spoom//lib/spoom/file_tree.rb#131 sig { override.params(node: ::Spoom::FileTree::Node).void } def visit_node(node); end end # A visitor that collects the typing score of each node in a tree # -# source://spoom//lib/spoom/file_tree.rb#167 +# source://spoom//lib/spoom/file_tree.rb#160 class Spoom::FileTree::CollectScores < ::Spoom::FileTree::CollectStrictnesses - # source://spoom//lib/spoom/file_tree.rb#174 + # : (Context context) -> void + # + # @return [CollectScores] a new instance of CollectScores + # + # source://spoom//lib/spoom/file_tree.rb#165 sig { params(context: ::Spoom::Context).void } def initialize(context); end - # source://spoom//lib/spoom/file_tree.rb#171 + # : Hash[Node, Float] + # + # source://spoom//lib/spoom/file_tree.rb#162 sig { returns(T::Hash[::Spoom::FileTree::Node, ::Float]) } def scores; end - # source://spoom//lib/spoom/file_tree.rb#181 + # : (FileTree::Node node) -> void + # + # source://spoom//lib/spoom/file_tree.rb#173 sig { override.params(node: ::Spoom::FileTree::Node).void } def visit_node(node); end private - # source://spoom//lib/spoom/file_tree.rb#190 + # : (Node node) -> Float + # + # source://spoom//lib/spoom/file_tree.rb#182 sig { params(node: ::Spoom::FileTree::Node).returns(::Float) } def node_score(node); end - # source://spoom//lib/spoom/file_tree.rb#199 + # : (String? strictness) -> Float + # + # source://spoom//lib/spoom/file_tree.rb#191 sig { params(strictness: T.nilable(::String)).returns(::Float) } def strictness_score(strictness); end end # A visitor that collects the strictness of each node in a tree # -# source://spoom//lib/spoom/file_tree.rb#144 +# source://spoom//lib/spoom/file_tree.rb#138 class Spoom::FileTree::CollectStrictnesses < ::Spoom::FileTree::Visitor - # source://spoom//lib/spoom/file_tree.rb#151 + # : (Context context) -> void + # + # @return [CollectStrictnesses] a new instance of CollectStrictnesses + # + # source://spoom//lib/spoom/file_tree.rb#143 sig { params(context: ::Spoom::Context).void } def initialize(context); end - # source://spoom//lib/spoom/file_tree.rb#148 + # : Hash[Node, String?] + # + # source://spoom//lib/spoom/file_tree.rb#140 sig { returns(T::Hash[::Spoom::FileTree::Node, T.nilable(::String)]) } def strictnesses; end - # source://spoom//lib/spoom/file_tree.rb#158 + # : (FileTree::Node node) -> void + # + # source://spoom//lib/spoom/file_tree.rb#151 sig { override.params(node: ::Spoom::FileTree::Node).void } def visit_node(node); end end # A node representing either a file or a directory inside a FileTree # -# source://spoom//lib/spoom/file_tree.rb#78 +# source://spoom//lib/spoom/file_tree.rb#76 class Spoom::FileTree::Node < ::T::Struct const :parent, T.nilable(::Spoom::FileTree::Node) const :name, ::String const :children, T::Hash[::String, ::Spoom::FileTree::Node], default: T.unsafe(nil) # Full path to this node from root + # : -> String # - # source://spoom//lib/spoom/file_tree.rb#92 + # source://spoom//lib/spoom/file_tree.rb#88 + # Full path to this node from root sig { returns(::String) } def path; end class << self - # source://sorbet-runtime/0.5.11835/lib/types/struct.rb#13 + # source://sorbet-runtime/0.5.11915/lib/types/struct.rb#13 def inherited(s); end end end @@ -2618,9 +3594,14 @@ end # # See `FileTree#print` # -# source://spoom//lib/spoom/file_tree.rb#212 +# source://spoom//lib/spoom/file_tree.rb#204 +# An internal class used to print a FileTree class Spoom::FileTree::Printer < ::Spoom::FileTree::Visitor - # source://spoom//lib/spoom/file_tree.rb#222 + # : (Hash[FileTree::Node, String?] strictnesses, ?out: (IO | StringIO), ?colors: bool) -> void + # + # @return [Printer] a new instance of Printer + # + # source://spoom//lib/spoom/file_tree.rb#206 sig do params( strictnesses: T::Hash[::Spoom::FileTree::Node, T.nilable(::String)], @@ -2630,13 +3611,17 @@ class Spoom::FileTree::Printer < ::Spoom::FileTree::Visitor end def initialize(strictnesses, out: T.unsafe(nil), colors: T.unsafe(nil)); end - # source://spoom//lib/spoom/file_tree.rb#230 + # : (FileTree::Node node) -> void + # + # source://spoom//lib/spoom/file_tree.rb#215 sig { override.params(node: ::Spoom::FileTree::Node).void } def visit_node(node); end private - # source://spoom//lib/spoom/file_tree.rb#255 + # : (String? strictness) -> Color + # + # source://spoom//lib/spoom/file_tree.rb#240 sig { params(strictness: T.nilable(::String)).returns(::Spoom::Color) } def strictness_color(strictness); end end @@ -2645,19 +3630,25 @@ end # # @abstract It cannot be directly instantiated. Subclasses must implement the `abstract` methods below. # -# source://spoom//lib/spoom/file_tree.rb#101 +# source://spoom//lib/spoom/file_tree.rb#97 class Spoom::FileTree::Visitor abstract! - # source://spoom//lib/spoom/file_tree.rb#113 + # : (FileTree::Node node) -> void + # + # source://spoom//lib/spoom/file_tree.rb#108 sig { params(node: ::Spoom::FileTree::Node).void } def visit_node(node); end - # source://spoom//lib/spoom/file_tree.rb#118 + # : (Array[FileTree::Node] nodes) -> void + # + # source://spoom//lib/spoom/file_tree.rb#113 sig { params(nodes: T::Array[::Spoom::FileTree::Node]).void } def visit_nodes(nodes); end - # source://spoom//lib/spoom/file_tree.rb#108 + # : (FileTree tree) -> void + # + # source://spoom//lib/spoom/file_tree.rb#103 sig { params(tree: ::Spoom::FileTree).void } def visit_tree(tree); end end @@ -2670,17 +3661,21 @@ class Spoom::Git::Commit < ::T::Struct const :sha, ::String const :time, ::Time - # source://spoom//lib/spoom/context/git.rb#27 + # : -> Integer + # + # source://spoom//lib/spoom/context/git.rb#23 sig { returns(::Integer) } def timestamp; end class << self - # source://sorbet-runtime/0.5.11835/lib/types/struct.rb#13 + # source://sorbet-runtime/0.5.11915/lib/types/struct.rb#13 def inherited(s); end # Parse a line formatted as `%h %at` into a `Commit` + # : (String string) -> Commit? # - # source://spoom//lib/spoom/context/git.rb#14 + # source://spoom//lib/spoom/context/git.rb#10 + # Parse a line formatted as `%h %at` into a `Commit` sig { params(string: ::String).returns(T.nilable(::Spoom::Git::Commit)) } def parse_line(string); end end @@ -2691,49 +3686,70 @@ module Spoom::LSP; end # source://spoom//lib/spoom/sorbet/lsp.rb#13 class Spoom::LSP::Client - # source://spoom//lib/spoom/sorbet/lsp.rb#17 + # : (String sorbet_bin, *String sorbet_args, ?path: String) -> void + # + # @return [Client] a new instance of Client + # + # source://spoom//lib/spoom/sorbet/lsp.rb#15 sig { params(sorbet_bin: ::String, sorbet_args: ::String, path: ::String).void } def initialize(sorbet_bin, *sorbet_args, path: T.unsafe(nil)); end - # source://spoom//lib/spoom/sorbet/lsp.rb#229 + # : -> void + # + # source://spoom//lib/spoom/sorbet/lsp.rb#227 sig { void } def close; end - # source://spoom//lib/spoom/sorbet/lsp.rb#131 + # : (String uri, Integer line, Integer column) -> Array[Location] + # + # source://spoom//lib/spoom/sorbet/lsp.rb#129 sig { params(uri: ::String, line: ::Integer, column: ::Integer).returns(T::Array[::Spoom::LSP::Location]) } def definitions(uri, line, column); end - # source://spoom//lib/spoom/sorbet/lsp.rb#212 + # : (String uri) -> Array[DocumentSymbol] + # + # source://spoom//lib/spoom/sorbet/lsp.rb#210 sig { params(uri: ::String).returns(T::Array[::Spoom::LSP::DocumentSymbol]) } def document_symbols(uri); end - # source://spoom//lib/spoom/sorbet/lsp.rb#89 + # : (String uri, Integer line, Integer column) -> Hover? + # + # source://spoom//lib/spoom/sorbet/lsp.rb#87 sig { params(uri: ::String, line: ::Integer, column: ::Integer).returns(T.nilable(::Spoom::LSP::Hover)) } def hover(uri, line, column); end - # source://spoom//lib/spoom/sorbet/lsp.rb#27 + # : -> Integer + # + # source://spoom//lib/spoom/sorbet/lsp.rb#25 sig { returns(::Integer) } def next_id; end - # LSP requests + # : (String workspace_path) -> void # # @raise [Error::AlreadyOpen] # - # source://spoom//lib/spoom/sorbet/lsp.rb#72 + # source://spoom//lib/spoom/sorbet/lsp.rb#70 + # LSP requests sig { params(workspace_path: ::String).void } def open(workspace_path); end - # source://spoom//lib/spoom/sorbet/lsp.rb#54 + # : -> Hash[untyped, untyped]? + # + # source://spoom//lib/spoom/sorbet/lsp.rb#52 sig { returns(T.nilable(T::Hash[T.untyped, T.untyped])) } def read; end + # : -> String? + # # @raise [Error::BadHeaders] # - # source://spoom//lib/spoom/sorbet/lsp.rb#43 + # source://spoom//lib/spoom/sorbet/lsp.rb#41 sig { returns(T.nilable(::String)) } def read_raw; end - # source://spoom//lib/spoom/sorbet/lsp.rb#173 + # : (String uri, Integer line, Integer column, ?bool include_decl) -> Array[Location] + # + # source://spoom//lib/spoom/sorbet/lsp.rb#171 sig do params( uri: ::String, @@ -2744,28 +3760,38 @@ class Spoom::LSP::Client end def references(uri, line, column, include_decl = T.unsafe(nil)); end - # source://spoom//lib/spoom/sorbet/lsp.rb#37 + # : (Message message) -> Hash[untyped, untyped]? + # + # source://spoom//lib/spoom/sorbet/lsp.rb#35 sig { params(message: ::Spoom::LSP::Message).returns(T.nilable(T::Hash[T.untyped, T.untyped])) } def send(message); end - # source://spoom//lib/spoom/sorbet/lsp.rb#32 + # : (String json_string) -> void + # + # source://spoom//lib/spoom/sorbet/lsp.rb#30 sig { params(json_string: ::String).void } def send_raw(json_string); end - # source://spoom//lib/spoom/sorbet/lsp.rb#110 + # : (String uri, Integer line, Integer column) -> Array[SignatureHelp] + # + # source://spoom//lib/spoom/sorbet/lsp.rb#108 sig { params(uri: ::String, line: ::Integer, column: ::Integer).returns(T::Array[::Spoom::LSP::SignatureHelp]) } def signatures(uri, line, column); end - # source://spoom//lib/spoom/sorbet/lsp.rb#197 + # : (String query) -> Array[DocumentSymbol] + # + # source://spoom//lib/spoom/sorbet/lsp.rb#195 sig { params(query: ::String).returns(T::Array[::Spoom::LSP::DocumentSymbol]) } def symbols(query); end - # source://spoom//lib/spoom/sorbet/lsp.rb#152 + # : (String uri, Integer line, Integer column) -> Array[Location] + # + # source://spoom//lib/spoom/sorbet/lsp.rb#150 sig { params(uri: ::String, line: ::Integer, column: ::Integer).returns(T::Array[::Spoom::LSP::Location]) } def type_definitions(uri, line, column); end end -# source://spoom//lib/spoom/sorbet/lsp/structures.rb#178 +# source://spoom//lib/spoom/sorbet/lsp/structures.rb#168 class Spoom::LSP::Diagnostic < ::T::Struct include ::Spoom::LSP::PrintableSymbol @@ -2774,25 +3800,31 @@ class Spoom::LSP::Diagnostic < ::T::Struct const :message, ::String const :information, ::Object - # source://spoom//lib/spoom/sorbet/lsp/structures.rb#202 + # : (SymbolPrinter printer) -> void + # + # source://spoom//lib/spoom/sorbet/lsp/structures.rb#190 sig { override.params(printer: ::Spoom::LSP::SymbolPrinter).void } def accept_printer(printer); end - # source://spoom//lib/spoom/sorbet/lsp/structures.rb#207 + # : -> String + # + # source://spoom//lib/spoom/sorbet/lsp/structures.rb#195 sig { returns(::String) } def to_s; end class << self - # source://spoom//lib/spoom/sorbet/lsp/structures.rb#191 + # : (Hash[untyped, untyped] json) -> Diagnostic + # + # source://spoom//lib/spoom/sorbet/lsp/structures.rb#178 sig { params(json: T::Hash[T.untyped, T.untyped]).returns(::Spoom::LSP::Diagnostic) } def from_json(json); end - # source://sorbet-runtime/0.5.11835/lib/types/struct.rb#13 + # source://sorbet-runtime/0.5.11915/lib/types/struct.rb#13 def inherited(s); end end end -# source://spoom//lib/spoom/sorbet/lsp/structures.rb#212 +# source://spoom//lib/spoom/sorbet/lsp/structures.rb#200 class Spoom::LSP::DocumentSymbol < ::T::Struct include ::Spoom::LSP::PrintableSymbol @@ -2803,29 +3835,37 @@ class Spoom::LSP::DocumentSymbol < ::T::Struct const :range, T.nilable(::Spoom::LSP::Range) const :children, T::Array[::Spoom::LSP::DocumentSymbol] - # source://spoom//lib/spoom/sorbet/lsp/structures.rb#240 + # : (SymbolPrinter printer) -> void + # + # source://spoom//lib/spoom/sorbet/lsp/structures.rb#226 sig { override.params(printer: ::Spoom::LSP::SymbolPrinter).void } def accept_printer(printer); end - # source://spoom//lib/spoom/sorbet/lsp/structures.rb#272 + # : -> String + # + # source://spoom//lib/spoom/sorbet/lsp/structures.rb#258 sig { returns(::String) } def kind_string; end - # source://spoom//lib/spoom/sorbet/lsp/structures.rb#267 + # : -> String + # + # source://spoom//lib/spoom/sorbet/lsp/structures.rb#253 sig { returns(::String) } def to_s; end class << self - # source://spoom//lib/spoom/sorbet/lsp/structures.rb#227 + # : (Hash[untyped, untyped] json) -> DocumentSymbol + # + # source://spoom//lib/spoom/sorbet/lsp/structures.rb#212 sig { params(json: T::Hash[T.untyped, T.untyped]).returns(::Spoom::LSP::DocumentSymbol) } def from_json(json); end - # source://sorbet-runtime/0.5.11835/lib/types/struct.rb#13 + # source://sorbet-runtime/0.5.11915/lib/types/struct.rb#13 def inherited(s); end end end -# source://spoom//lib/spoom/sorbet/lsp/structures.rb#276 +# source://spoom//lib/spoom/sorbet/lsp/structures.rb#262 Spoom::LSP::DocumentSymbol::SYMBOL_KINDS = T.let(T.unsafe(nil), Hash) # source://spoom//lib/spoom/sorbet/lsp/errors.rb#6 @@ -2839,20 +3879,30 @@ class Spoom::LSP::Error::BadHeaders < ::Spoom::LSP::Error; end # source://spoom//lib/spoom/sorbet/lsp/errors.rb#10 class Spoom::LSP::Error::Diagnostics < ::Spoom::LSP::Error - # source://spoom//lib/spoom/sorbet/lsp/errors.rb#32 + # : (String uri, Array[Diagnostic] diagnostics) -> void + # + # @return [Diagnostics] a new instance of Diagnostics + # + # source://spoom//lib/spoom/sorbet/lsp/errors.rb#28 sig { params(uri: ::String, diagnostics: T::Array[::Spoom::LSP::Diagnostic]).void } def initialize(uri, diagnostics); end - # source://spoom//lib/spoom/sorbet/lsp/errors.rb#17 + # : Array[Diagnostic] + # + # source://spoom//lib/spoom/sorbet/lsp/errors.rb#15 sig { returns(T::Array[::Spoom::LSP::Diagnostic]) } def diagnostics; end - # source://spoom//lib/spoom/sorbet/lsp/errors.rb#14 + # : String + # + # source://spoom//lib/spoom/sorbet/lsp/errors.rb#12 sig { returns(::String) } def uri; end class << self - # source://spoom//lib/spoom/sorbet/lsp/errors.rb#23 + # : (Hash[untyped, untyped] json) -> Diagnostics + # + # source://spoom//lib/spoom/sorbet/lsp/errors.rb#19 sig { params(json: T::Hash[T.untyped, T.untyped]).returns(::Spoom::LSP::Error::Diagnostics) } def from_json(json); end end @@ -2865,45 +3915,57 @@ class Spoom::LSP::Hover < ::T::Struct const :contents, ::String const :range, T.nilable(T::Range[T.untyped]) - # source://spoom//lib/spoom/sorbet/lsp/structures.rb#39 + # : (SymbolPrinter printer) -> void + # + # source://spoom//lib/spoom/sorbet/lsp/structures.rb#37 sig { override.params(printer: ::Spoom::LSP::SymbolPrinter).void } def accept_printer(printer); end - # source://spoom//lib/spoom/sorbet/lsp/structures.rb#45 + # : -> String + # + # source://spoom//lib/spoom/sorbet/lsp/structures.rb#43 sig { returns(::String) } def to_s; end class << self - # source://spoom//lib/spoom/sorbet/lsp/structures.rb#30 + # : (Hash[untyped, untyped] json) -> Hover + # + # source://spoom//lib/spoom/sorbet/lsp/structures.rb#27 sig { params(json: T::Hash[T.untyped, T.untyped]).returns(::Spoom::LSP::Hover) } def from_json(json); end - # source://sorbet-runtime/0.5.11835/lib/types/struct.rb#13 + # source://sorbet-runtime/0.5.11915/lib/types/struct.rb#13 def inherited(s); end end end -# source://spoom//lib/spoom/sorbet/lsp/structures.rb#112 +# source://spoom//lib/spoom/sorbet/lsp/structures.rb#106 class Spoom::LSP::Location < ::T::Struct include ::Spoom::LSP::PrintableSymbol const :uri, ::String const :range, ::Spoom::LSP::Range - # source://spoom//lib/spoom/sorbet/lsp/structures.rb#132 + # : (SymbolPrinter printer) -> void + # + # source://spoom//lib/spoom/sorbet/lsp/structures.rb#124 sig { override.params(printer: ::Spoom::LSP::SymbolPrinter).void } def accept_printer(printer); end - # source://spoom//lib/spoom/sorbet/lsp/structures.rb#138 + # : -> String + # + # source://spoom//lib/spoom/sorbet/lsp/structures.rb#130 sig { returns(::String) } def to_s; end class << self - # source://spoom//lib/spoom/sorbet/lsp/structures.rb#123 + # : (Hash[untyped, untyped] json) -> Location + # + # source://spoom//lib/spoom/sorbet/lsp/structures.rb#114 sig { params(json: T::Hash[T.untyped, T.untyped]).returns(::Spoom::LSP::Location) } def from_json(json); end - # source://sorbet-runtime/0.5.11835/lib/types/struct.rb#13 + # source://sorbet-runtime/0.5.11915/lib/types/struct.rb#13 def inherited(s); end end end @@ -2913,16 +3975,25 @@ end # The language server protocol always uses `"2.0"` as the `jsonrpc` version. # # source://spoom//lib/spoom/sorbet/lsp/base.rb#12 +# A general message as defined by JSON-RPC. class Spoom::LSP::Message - # source://spoom//lib/spoom/sorbet/lsp/base.rb#16 + # : -> void + # + # @return [Message] a new instance of Message + # + # source://spoom//lib/spoom/sorbet/lsp/base.rb#14 sig { void } def initialize; end - # source://spoom//lib/spoom/sorbet/lsp/base.rb#21 + # : -> Hash[untyped, untyped] + # + # source://spoom//lib/spoom/sorbet/lsp/base.rb#19 sig { returns(T::Hash[T.untyped, T.untyped]) } def as_json; end - # source://spoom//lib/spoom/sorbet/lsp/base.rb#29 + # : (*untyped args) -> String + # + # source://spoom//lib/spoom/sorbet/lsp/base.rb#27 sig { params(args: T.untyped).returns(::String) } def to_json(*args); end end @@ -2931,42 +4002,57 @@ end # # A processed notification message must not send a response back. They work like events. # -# source://spoom//lib/spoom/sorbet/lsp/base.rb#58 +# source://spoom//lib/spoom/sorbet/lsp/base.rb#54 +# A notification message. class Spoom::LSP::Notification < ::Spoom::LSP::Message - # source://spoom//lib/spoom/sorbet/lsp/base.rb#68 + # : (String method, Hash[untyped, untyped] params) -> void + # + # @return [Notification] a new instance of Notification + # + # source://spoom//lib/spoom/sorbet/lsp/base.rb#62 sig { params(method: ::String, params: T::Hash[T.untyped, T.untyped]).void } def initialize(method, params); end - # source://spoom//lib/spoom/sorbet/lsp/base.rb#62 + # : String + # + # source://spoom//lib/spoom/sorbet/lsp/base.rb#56 sig { returns(::String) } def method; end - # source://spoom//lib/spoom/sorbet/lsp/base.rb#65 + # : Hash[untyped, untyped] + # + # source://spoom//lib/spoom/sorbet/lsp/base.rb#59 sig { returns(T::Hash[T.untyped, T.untyped]) } def params; end end -# source://spoom//lib/spoom/sorbet/lsp/structures.rb#50 +# source://spoom//lib/spoom/sorbet/lsp/structures.rb#48 class Spoom::LSP::Position < ::T::Struct include ::Spoom::LSP::PrintableSymbol const :line, ::Integer const :char, ::Integer - # source://spoom//lib/spoom/sorbet/lsp/structures.rb#70 + # : (SymbolPrinter printer) -> void + # + # source://spoom//lib/spoom/sorbet/lsp/structures.rb#66 sig { override.params(printer: ::Spoom::LSP::SymbolPrinter).void } def accept_printer(printer); end - # source://spoom//lib/spoom/sorbet/lsp/structures.rb#75 + # : -> String + # + # source://spoom//lib/spoom/sorbet/lsp/structures.rb#71 sig { returns(::String) } def to_s; end class << self - # source://spoom//lib/spoom/sorbet/lsp/structures.rb#61 + # : (Hash[untyped, untyped] json) -> Position + # + # source://spoom//lib/spoom/sorbet/lsp/structures.rb#56 sig { params(json: T::Hash[T.untyped, T.untyped]).returns(::Spoom::LSP::Position) } def from_json(json); end - # source://sorbet-runtime/0.5.11835/lib/types/struct.rb#13 + # source://sorbet-runtime/0.5.11915/lib/types/struct.rb#13 def inherited(s); end end end @@ -2984,27 +4070,33 @@ module Spoom::LSP::PrintableSymbol def accept_printer(printer); end end -# source://spoom//lib/spoom/sorbet/lsp/structures.rb#80 +# source://spoom//lib/spoom/sorbet/lsp/structures.rb#76 class Spoom::LSP::Range < ::T::Struct include ::Spoom::LSP::PrintableSymbol const :start, ::Spoom::LSP::Position const :end, ::Spoom::LSP::Position - # source://spoom//lib/spoom/sorbet/lsp/structures.rb#100 + # : (SymbolPrinter printer) -> void + # + # source://spoom//lib/spoom/sorbet/lsp/structures.rb#94 sig { override.params(printer: ::Spoom::LSP::SymbolPrinter).void } def accept_printer(printer); end - # source://spoom//lib/spoom/sorbet/lsp/structures.rb#107 + # : -> String + # + # source://spoom//lib/spoom/sorbet/lsp/structures.rb#101 sig { returns(::String) } def to_s; end class << self - # source://spoom//lib/spoom/sorbet/lsp/structures.rb#91 + # : (Hash[untyped, untyped] json) -> Range + # + # source://spoom//lib/spoom/sorbet/lsp/structures.rb#84 sig { params(json: T::Hash[T.untyped, T.untyped]).returns(::Spoom::LSP::Range) } def from_json(json); end - # source://sorbet-runtime/0.5.11835/lib/types/struct.rb#13 + # source://sorbet-runtime/0.5.11915/lib/types/struct.rb#13 def inherited(s); end end end @@ -3013,43 +4105,62 @@ end # # Every processed request must send a response back to the sender of the request. # -# source://spoom//lib/spoom/sorbet/lsp/base.rb#37 +# source://spoom//lib/spoom/sorbet/lsp/base.rb#35 +# A request message to describe a request between the client and the server. class Spoom::LSP::Request < ::Spoom::LSP::Message - # source://spoom//lib/spoom/sorbet/lsp/base.rb#47 + # : (Integer id, String method, Hash[untyped, untyped] params) -> void + # + # @return [Request] a new instance of Request + # + # source://spoom//lib/spoom/sorbet/lsp/base.rb#43 sig { params(id: ::Integer, method: ::String, params: T::Hash[T.untyped, T.untyped]).void } def initialize(id, method, params); end - # source://spoom//lib/spoom/sorbet/lsp/base.rb#41 + # : Integer + # + # source://spoom//lib/spoom/sorbet/lsp/base.rb#37 sig { returns(::Integer) } def id; end - # source://spoom//lib/spoom/sorbet/lsp/base.rb#44 + # : Hash[untyped, untyped] + # + # source://spoom//lib/spoom/sorbet/lsp/base.rb#40 sig { returns(T::Hash[T.untyped, T.untyped]) } def params; end end -# source://spoom//lib/spoom/sorbet/lsp/errors.rb#40 +# source://spoom//lib/spoom/sorbet/lsp/errors.rb#36 class Spoom::LSP::ResponseError < ::Spoom::LSP::Error - # source://spoom//lib/spoom/sorbet/lsp/errors.rb#63 + # : (Integer code, String message, Hash[untyped, untyped] data) -> void + # + # @return [ResponseError] a new instance of ResponseError + # + # source://spoom//lib/spoom/sorbet/lsp/errors.rb#55 sig { params(code: ::Integer, message: ::String, data: T::Hash[T.untyped, T.untyped]).void } def initialize(code, message, data); end - # source://spoom//lib/spoom/sorbet/lsp/errors.rb#44 + # : Integer + # + # source://spoom//lib/spoom/sorbet/lsp/errors.rb#38 sig { returns(::Integer) } def code; end - # source://spoom//lib/spoom/sorbet/lsp/errors.rb#47 + # : Hash[untyped, untyped] + # + # source://spoom//lib/spoom/sorbet/lsp/errors.rb#41 sig { returns(T::Hash[T.untyped, T.untyped]) } def data; end class << self - # source://spoom//lib/spoom/sorbet/lsp/errors.rb#53 + # : (Hash[untyped, untyped] json) -> ResponseError + # + # source://spoom//lib/spoom/sorbet/lsp/errors.rb#45 sig { params(json: T::Hash[T.untyped, T.untyped]).returns(::Spoom::LSP::ResponseError) } def from_json(json); end end end -# source://spoom//lib/spoom/sorbet/lsp/structures.rb#143 +# source://spoom//lib/spoom/sorbet/lsp/structures.rb#135 class Spoom::LSP::SignatureHelp < ::T::Struct include ::Spoom::LSP::PrintableSymbol @@ -3057,27 +4168,37 @@ class Spoom::LSP::SignatureHelp < ::T::Struct const :doc, ::Object const :params, T::Array[T.untyped] - # source://spoom//lib/spoom/sorbet/lsp/structures.rb#165 + # : (SymbolPrinter printer) -> void + # + # source://spoom//lib/spoom/sorbet/lsp/structures.rb#155 sig { override.params(printer: ::Spoom::LSP::SymbolPrinter).void } def accept_printer(printer); end - # source://spoom//lib/spoom/sorbet/lsp/structures.rb#173 + # : -> String + # + # source://spoom//lib/spoom/sorbet/lsp/structures.rb#163 sig { returns(::String) } def to_s; end class << self - # source://spoom//lib/spoom/sorbet/lsp/structures.rb#155 + # : (Hash[untyped, untyped] json) -> SignatureHelp + # + # source://spoom//lib/spoom/sorbet/lsp/structures.rb#144 sig { params(json: T::Hash[T.untyped, T.untyped]).returns(::Spoom::LSP::SignatureHelp) } def from_json(json); end - # source://sorbet-runtime/0.5.11835/lib/types/struct.rb#13 + # source://sorbet-runtime/0.5.11915/lib/types/struct.rb#13 def inherited(s); end end end -# source://spoom//lib/spoom/sorbet/lsp/structures.rb#309 +# source://spoom//lib/spoom/sorbet/lsp/structures.rb#295 class Spoom::LSP::SymbolPrinter < ::Spoom::Printer - # source://spoom//lib/spoom/sorbet/lsp/structures.rb#326 + # : (?out: (IO | StringIO), ?colors: bool, ?indent_level: Integer, ?prefix: String?) -> void + # + # @return [SymbolPrinter] a new instance of SymbolPrinter + # + # source://spoom//lib/spoom/sorbet/lsp/structures.rb#303 sig do params( out: T.any(::IO, ::StringIO), @@ -3088,32 +4209,45 @@ class Spoom::LSP::SymbolPrinter < ::Spoom::Printer end def initialize(out: T.unsafe(nil), colors: T.unsafe(nil), indent_level: T.unsafe(nil), prefix: T.unsafe(nil)); end - # source://spoom//lib/spoom/sorbet/lsp/structures.rb#348 + # : (String uri) -> String + # + # source://spoom//lib/spoom/sorbet/lsp/structures.rb#325 sig { params(uri: ::String).returns(::String) } def clean_uri(uri); end - # source://spoom//lib/spoom/sorbet/lsp/structures.rb#316 + # : String? + # + # source://spoom//lib/spoom/sorbet/lsp/structures.rb#300 sig { returns(T.nilable(::String)) } def prefix; end - # @return [String, nil] + # : String? # - # source://spoom//lib/spoom/sorbet/lsp/structures.rb#316 + # source://spoom//lib/spoom/sorbet/lsp/structures.rb#300 + # @return [String, nil] def prefix=(_arg0); end - # source://spoom//lib/spoom/sorbet/lsp/structures.rb#356 + # : (Array[PrintableSymbol] objects) -> void + # + # source://spoom//lib/spoom/sorbet/lsp/structures.rb#333 sig { params(objects: T::Array[::Spoom::LSP::PrintableSymbol]).void } def print_list(objects); end - # source://spoom//lib/spoom/sorbet/lsp/structures.rb#336 + # : (PrintableSymbol? object) -> void + # + # source://spoom//lib/spoom/sorbet/lsp/structures.rb#313 sig { params(object: T.nilable(::Spoom::LSP::PrintableSymbol)).void } def print_object(object); end - # source://spoom//lib/spoom/sorbet/lsp/structures.rb#343 + # : (Array[PrintableSymbol] objects) -> void + # + # source://spoom//lib/spoom/sorbet/lsp/structures.rb#320 sig { params(objects: T::Array[::Spoom::LSP::PrintableSymbol]).void } def print_objects(objects); end - # source://spoom//lib/spoom/sorbet/lsp/structures.rb#313 + # : Set[Integer] + # + # source://spoom//lib/spoom/sorbet/lsp/structures.rb#297 sig { returns(T::Set[::Integer]) } def seen; end end @@ -3122,9 +4256,12 @@ end class Spoom::Location include ::Comparable - # @raise [LocationError] + # : (String file, ?start_line: Integer?, ?start_column: Integer?, ?end_line: Integer?, ?end_column: Integer?) -> void # - # source://spoom//lib/spoom/location.rb#73 + # @raise [LocationError] + # @return [Location] a new instance of Location + # + # source://spoom//lib/spoom/location.rb#61 sig do params( file: ::String, @@ -3136,110 +4273,153 @@ class Spoom::Location end def initialize(file, start_line: T.unsafe(nil), start_column: T.unsafe(nil), end_line: T.unsafe(nil), end_column: T.unsafe(nil)); end - # source://spoom//lib/spoom/location.rb#106 + # : (BasicObject other) -> Integer? + # + # source://spoom//lib/spoom/location.rb#95 sig { override.params(other: ::BasicObject).returns(T.nilable(::Integer)) } def <=>(other); end - # @return [Integer, nil] + # : Integer? # - # source://spoom//lib/spoom/location.rb#62 + # source://spoom//lib/spoom/location.rb#58 + # @return [Integer, nil] def end_column; end - # @return [Integer, nil] + # : Integer? # - # source://spoom//lib/spoom/location.rb#62 + # source://spoom//lib/spoom/location.rb#58 + # @return [Integer, nil] def end_line; end - # source://spoom//lib/spoom/location.rb#59 + # : String + # + # source://spoom//lib/spoom/location.rb#55 sig { returns(::String) } def file; end - # source://spoom//lib/spoom/location.rb#93 + # : (Location other) -> bool + # + # @return [Boolean] + # + # source://spoom//lib/spoom/location.rb#81 sig { params(other: ::Spoom::Location).returns(T::Boolean) } def include?(other); end - # @return [Integer, nil] + # : Integer? # - # source://spoom//lib/spoom/location.rb#62 + # source://spoom//lib/spoom/location.rb#58 + # @return [Integer, nil] def start_column; end - # source://spoom//lib/spoom/location.rb#62 + # : Integer? + # + # source://spoom//lib/spoom/location.rb#58 sig { returns(T.nilable(::Integer)) } def start_line; end - # source://spoom//lib/spoom/location.rb#129 + # : -> String + # + # source://spoom//lib/spoom/location.rb#118 sig { returns(::String) } def to_s; end class << self - # source://spoom//lib/spoom/location.rb#47 + # : (String file, Prism::Location location) -> Location + # + # source://spoom//lib/spoom/location.rb#43 sig { params(file: ::String, location: ::Prism::Location).returns(::Spoom::Location) } def from_prism(file, location); end + # : (String location_string) -> Location + # # @raise [LocationError] # - # source://spoom//lib/spoom/location.rb#16 + # source://spoom//lib/spoom/location.rb#12 sig { params(location_string: ::String).returns(::Spoom::Location) } def from_string(location_string); end end end -# source://spoom//lib/spoom/location.rb#10 +# source://spoom//lib/spoom/location.rb#8 class Spoom::Location::LocationError < ::Spoom::Error; end # source://spoom//lib/spoom/model/model.rb#5 class Spoom::Model - # source://spoom//lib/spoom/model/model.rb#238 + # : -> void + # + # @return [Model] a new instance of Model + # + # source://spoom//lib/spoom/model/model.rb#235 sig { void } def initialize; end # Get a symbol by it's full name # # Raises an error if the symbol is not found + # : (String full_name) -> Symbol # # @raise [Error] # - # source://spoom//lib/spoom/model/model.rb#247 + # source://spoom//lib/spoom/model/model.rb#244 + # Get a symbol by it's full name + # Raises an error if the symbol is not found sig { params(full_name: ::String).returns(::Spoom::Model::Symbol) } def [](full_name); end - # source://spoom//lib/spoom/model/model.rb#296 + # : -> void + # + # source://spoom//lib/spoom/model/model.rb#293 sig { void } def finalize!; end # Register a new symbol by it's full name # # If the symbol already exists, it will be returned. + # : (String full_name) -> Symbol # - # source://spoom//lib/spoom/model/model.rb#258 + # source://spoom//lib/spoom/model/model.rb#255 + # Register a new symbol by it's full name + # If the symbol already exists, it will be returned. sig { params(full_name: ::String).returns(::Spoom::Model::Symbol) } def register_symbol(full_name); end - # source://spoom//lib/spoom/model/model.rb#263 + # : (String full_name, context: Symbol) -> Symbol + # + # source://spoom//lib/spoom/model/model.rb#260 sig { params(full_name: ::String, context: ::Spoom::Model::Symbol).returns(::Spoom::Model::Symbol) } def resolve_symbol(full_name, context:); end - # source://spoom//lib/spoom/model/model.rb#290 + # : (Symbol symbol) -> Array[Symbol] + # + # source://spoom//lib/spoom/model/model.rb#287 sig { params(symbol: ::Spoom::Model::Symbol).returns(T::Array[::Spoom::Model::Symbol]) } def subtypes(symbol); end - # source://spoom//lib/spoom/model/model.rb#284 + # : (Symbol symbol) -> Array[Symbol] + # + # source://spoom//lib/spoom/model/model.rb#281 sig { params(symbol: ::Spoom::Model::Symbol).returns(T::Array[::Spoom::Model::Symbol]) } def supertypes(symbol); end # All the symbols registered in this model + # : Hash[String, Symbol] # - # source://spoom//lib/spoom/model/model.rb#232 + # source://spoom//lib/spoom/model/model.rb#229 + # All the symbols registered in this model sig { returns(T::Hash[::String, ::Spoom::Model::Symbol]) } def symbols; end - # source://spoom//lib/spoom/model/model.rb#235 + # : Poset[Symbol] + # + # source://spoom//lib/spoom/model/model.rb#232 sig { returns(Spoom::Poset[::Spoom::Model::Symbol]) } def symbols_hierarchy; end private - # source://spoom//lib/spoom/model/model.rb#303 + # : -> void + # + # source://spoom//lib/spoom/model/model.rb#300 sig { void } def compute_symbols_hierarchy!; end end @@ -3264,115 +4444,175 @@ class Spoom::Model::AttrWriter < ::Spoom::Model::Attr; end # # source://spoom//lib/spoom/model/builder.rb#7 class Spoom::Model::Builder < ::Spoom::Model::NamespaceVisitor - # source://spoom//lib/spoom/model/builder.rb#11 - sig { params(model: ::Spoom::Model, file: ::String).void } - def initialize(model, file); end - - # Accessors + # : (Model model, String file, ?comments: Array[Prism::Comment]) -> void # - # source://spoom//lib/spoom/model/builder.rb#146 + # @return [Builder] a new instance of Builder + # + # source://spoom//lib/spoom/model/builder.rb#9 + sig { params(model: ::Spoom::Model, file: ::String, comments: T::Array[::Prism::Comment]).void } + def initialize(model, file, comments:); end + + # : (Prism::CallNode node) -> void + # + # source://spoom//lib/spoom/model/builder.rb#165 sig { override.params(node: ::Prism::CallNode).void } def visit_call_node(node); end - # Classes + # : (Prism::ClassNode node) -> void # - # source://spoom//lib/spoom/model/builder.rb#24 + # source://spoom//lib/spoom/model/builder.rb#29 sig { override.params(node: ::Prism::ClassNode).void } def visit_class_node(node); end - # Constants + # : (Prism::ConstantPathWriteNode node) -> void # - # source://spoom//lib/spoom/model/builder.rb#71 + # source://spoom//lib/spoom/model/builder.rb#82 sig { override.params(node: ::Prism::ConstantPathWriteNode).void } def visit_constant_path_write_node(node); end - # source://spoom//lib/spoom/model/builder.rb#92 + # : (Prism::ConstantWriteNode node) -> void + # + # source://spoom//lib/spoom/model/builder.rb#105 sig { override.params(node: ::Prism::ConstantWriteNode).void } def visit_constant_write_node(node); end - # Methods + # : (Prism::DefNode node) -> void # - # source://spoom//lib/spoom/model/builder.rb#127 + # source://spoom//lib/spoom/model/builder.rb#144 sig { override.params(node: ::Prism::DefNode).void } def visit_def_node(node); end - # Modules + # : (Prism::ModuleNode node) -> void # - # source://spoom//lib/spoom/model/builder.rb#55 + # source://spoom//lib/spoom/model/builder.rb#64 sig { override.params(node: ::Prism::ModuleNode).void } def visit_module_node(node); end - # source://spoom//lib/spoom/model/builder.rb#106 + # : (Prism::MultiWriteNode node) -> void + # + # source://spoom//lib/spoom/model/builder.rb#121 sig { override.params(node: ::Prism::MultiWriteNode).void } def visit_multi_write_node(node); end - # source://spoom//lib/spoom/model/builder.rb#39 + # : (Prism::SingletonClassNode node) -> void + # + # source://spoom//lib/spoom/model/builder.rb#46 sig { override.params(node: ::Prism::SingletonClassNode).void } def visit_singleton_class_node(node); end private - # source://spoom//lib/spoom/model/builder.rb#234 + # : -> Array[Sig] + # + # source://spoom//lib/spoom/model/builder.rb#256 sig { returns(T::Array[::Spoom::Model::Sig]) } def collect_sigs; end - # source://spoom//lib/spoom/model/builder.rb#229 + # : -> Visibility + # + # source://spoom//lib/spoom/model/builder.rb#251 sig { returns(::Spoom::Model::Visibility) } def current_visibility; end - # source://spoom//lib/spoom/model/builder.rb#241 + # : (Prism::Node node) -> Array[Comment] + # + # source://spoom//lib/spoom/model/builder.rb#268 + sig { params(node: ::Prism::Node).returns(T::Array[::Spoom::Model::Comment]) } + def node_comments(node); end + + # : (Prism::Node node) -> Location + # + # source://spoom//lib/spoom/model/builder.rb#263 sig { params(node: ::Prism::Node).returns(::Spoom::Location) } def node_location(node); end end -# source://spoom//lib/spoom/model/model.rb#117 +# source://spoom//lib/spoom/model/model.rb#132 class Spoom::Model::Class < ::Spoom::Model::Namespace - # source://spoom//lib/spoom/model/model.rb#129 + # : (Symbol symbol, owner: Namespace?, location: Location, ?superclass_name: String?, ?comments: Array[Comment]) -> void + # + # @return [Class] a new instance of Class + # + # source://spoom//lib/spoom/model/model.rb#137 sig do params( symbol: ::Spoom::Model::Symbol, owner: T.nilable(::Spoom::Model::Namespace), location: ::Spoom::Location, - superclass_name: T.nilable(::String) + superclass_name: T.nilable(::String), + comments: T::Array[::Spoom::Model::Comment] ).void end - def initialize(symbol, owner:, location:, superclass_name: T.unsafe(nil)); end + def initialize(symbol, owner:, location:, superclass_name: T.unsafe(nil), comments: T.unsafe(nil)); end - # source://spoom//lib/spoom/model/model.rb#119 + # : String? + # + # source://spoom//lib/spoom/model/model.rb#134 sig { returns(T.nilable(::String)) } def superclass_name; end - # @return [String, nil] + # : String? # - # source://spoom//lib/spoom/model/model.rb#119 + # source://spoom//lib/spoom/model/model.rb#134 + # @return [String, nil] def superclass_name=(_arg0); end end -# source://spoom//lib/spoom/model/model.rb#138 +# source://spoom//lib/spoom/model/model.rb#8 +class Spoom::Model::Comment + # : (String string, Location location) -> void + # + # @return [Comment] a new instance of Comment + # + # source://spoom//lib/spoom/model/model.rb#16 + sig { params(string: ::String, location: ::Spoom::Location).void } + def initialize(string, location); end + + # : Location + # + # source://spoom//lib/spoom/model/model.rb#13 + sig { returns(::Spoom::Location) } + def location; end + + # : String + # + # source://spoom//lib/spoom/model/model.rb#10 + sig { returns(::String) } + def string; end +end + +# source://spoom//lib/spoom/model/model.rb#146 class Spoom::Model::Constant < ::Spoom::Model::SymbolDef - # source://spoom//lib/spoom/model/model.rb#143 + # : (Symbol symbol, owner: Namespace?, location: Location, value: String, ?comments: Array[Comment]) -> void + # + # @return [Constant] a new instance of Constant + # + # source://spoom//lib/spoom/model/model.rb#151 sig do params( symbol: ::Spoom::Model::Symbol, owner: T.nilable(::Spoom::Model::Namespace), location: ::Spoom::Location, - value: ::String + value: ::String, + comments: T::Array[::Spoom::Model::Comment] ).void end - def initialize(symbol, owner:, location:, value:); end + def initialize(symbol, owner:, location:, value:, comments: T.unsafe(nil)); end - # source://spoom//lib/spoom/model/model.rb#140 + # : String + # + # source://spoom//lib/spoom/model/model.rb#148 sig { returns(::String) } def value; end end -# source://spoom//lib/spoom/model/model.rb#8 +# source://spoom//lib/spoom/model/model.rb#6 class Spoom::Model::Error < ::Spoom::Error; end -# source://spoom//lib/spoom/model/model.rb#213 +# source://spoom//lib/spoom/model/model.rb#212 class Spoom::Model::Extend < ::Spoom::Model::Mixin; end -# source://spoom//lib/spoom/model/model.rb#211 +# source://spoom//lib/spoom/model/model.rb#210 class Spoom::Model::Include < ::Spoom::Model::Mixin; end # source://spoom//lib/spoom/model/model.rb#177 @@ -3386,41 +4626,56 @@ class Spoom::Model::Method < ::Spoom::Model::Property; end class Spoom::Model::Mixin abstract! - # source://spoom//lib/spoom/model/model.rb#206 + # : (String name) -> void + # + # @return [Mixin] a new instance of Mixin + # + # source://spoom//lib/spoom/model/model.rb#205 sig { params(name: ::String).void } def initialize(name); end - # source://spoom//lib/spoom/model/model.rb#203 + # : String + # + # source://spoom//lib/spoom/model/model.rb#202 sig { returns(::String) } def name; end end -# source://spoom//lib/spoom/model/model.rb#136 +# source://spoom//lib/spoom/model/model.rb#144 class Spoom::Model::Module < ::Spoom::Model::Namespace; end # A class or module # # @abstract It cannot be directly instantiated. Subclasses must implement the `abstract` methods below. # -# source://spoom//lib/spoom/model/model.rb#97 +# source://spoom//lib/spoom/model/model.rb#112 class Spoom::Model::Namespace < ::Spoom::Model::SymbolDef abstract! - # source://spoom//lib/spoom/model/model.rb#107 + # : (Symbol symbol, owner: Namespace?, location: Location, ?comments: Array[Comment]) -> void + # + # @return [Namespace] a new instance of Namespace + # + # source://spoom//lib/spoom/model/model.rb#122 sig do params( symbol: ::Spoom::Model::Symbol, owner: T.nilable(::Spoom::Model::Namespace), - location: ::Spoom::Location + location: ::Spoom::Location, + comments: T::Array[::Spoom::Model::Comment] ).void end - def initialize(symbol, owner:, location:); end + def initialize(symbol, owner:, location:, comments: T.unsafe(nil)); end - # source://spoom//lib/spoom/model/model.rb#101 + # : Array[SymbolDef] + # + # source://spoom//lib/spoom/model/model.rb#116 sig { returns(T::Array[::Spoom::Model::SymbolDef]) } def children; end - # source://spoom//lib/spoom/model/model.rb#104 + # : Array[Mixin] + # + # source://spoom//lib/spoom/model/model.rb#119 sig { returns(T::Array[::Spoom::Model::Mixin]) } def mixins; end end @@ -3431,26 +4686,36 @@ end class Spoom::Model::NamespaceVisitor < ::Spoom::Visitor abstract! + # : -> void + # + # @return [NamespaceVisitor] a new instance of NamespaceVisitor + # # source://spoom//lib/spoom/model/namespace_visitor.rb#12 sig { void } def initialize; end - # source://spoom//lib/spoom/model/namespace_visitor.rb#19 + # : (Prism::Node? node) -> void + # + # source://spoom//lib/spoom/model/namespace_visitor.rb#20 sig { override.params(node: T.nilable(::Prism::Node)).void } def visit(node); end end -# source://spoom//lib/spoom/model/model.rb#212 +# source://spoom//lib/spoom/model/model.rb#211 class Spoom::Model::Prepend < ::Spoom::Model::Mixin; end # A method or an attribute accessor # # @abstract It cannot be directly instantiated. Subclasses must implement the `abstract` methods below. # -# source://spoom//lib/spoom/model/model.rb#151 +# source://spoom//lib/spoom/model/model.rb#159 class Spoom::Model::Property < ::Spoom::Model::SymbolDef abstract! + # : (Symbol symbol, owner: Namespace?, location: Location, visibility: Visibility, ?sigs: Array[Sig], ?comments: Array[Comment]) -> void + # + # @return [Property] a new instance of Property + # # source://spoom//lib/spoom/model/model.rb#169 sig do params( @@ -3458,16 +4723,21 @@ class Spoom::Model::Property < ::Spoom::Model::SymbolDef owner: T.nilable(::Spoom::Model::Namespace), location: ::Spoom::Location, visibility: ::Spoom::Model::Visibility, - sigs: T::Array[::Spoom::Model::Sig] + sigs: T::Array[::Spoom::Model::Sig], + comments: T::Array[::Spoom::Model::Comment] ).void end - def initialize(symbol, owner:, location:, visibility:, sigs: T.unsafe(nil)); end + def initialize(symbol, owner:, location:, visibility:, sigs: T.unsafe(nil), comments: T.unsafe(nil)); end - # source://spoom//lib/spoom/model/model.rb#158 + # : Array[Sig] + # + # source://spoom//lib/spoom/model/model.rb#166 sig { returns(T::Array[::Spoom::Model::Sig]) } def sigs; end - # source://spoom//lib/spoom/model/model.rb#155 + # : Visibility + # + # source://spoom//lib/spoom/model/model.rb#163 sig { returns(::Spoom::Model::Visibility) } def visibility; end end @@ -3478,34 +4748,48 @@ end # Methods could be accessors, instance or class methods, aliases, etc. # # source://spoom//lib/spoom/model/reference.rb#10 +# A reference to something that looks like a constant or a method +# Constants could be classes, modules, or actual constants. class Spoom::Model::Reference < ::T::Struct const :kind, ::Spoom::Model::Reference::Kind const :name, ::String const :location, ::Spoom::Location - # source://spoom//lib/spoom/model/reference.rb#39 + # : -> bool + # + # @return [Boolean] + # + # source://spoom//lib/spoom/model/reference.rb#35 sig { returns(T::Boolean) } def constant?; end - # source://spoom//lib/spoom/model/reference.rb#44 + # : -> bool + # + # @return [Boolean] + # + # source://spoom//lib/spoom/model/reference.rb#40 sig { returns(T::Boolean) } def method?; end class << self - # source://spoom//lib/spoom/model/reference.rb#24 + # : (String name, Spoom::Location location) -> Reference + # + # source://spoom//lib/spoom/model/reference.rb#20 sig { params(name: ::String, location: ::Spoom::Location).returns(::Spoom::Model::Reference) } def constant(name, location); end - # source://sorbet-runtime/0.5.11835/lib/types/struct.rb#13 + # source://sorbet-runtime/0.5.11915/lib/types/struct.rb#13 def inherited(s); end - # source://spoom//lib/spoom/model/reference.rb#29 + # : (String name, Spoom::Location location) -> Reference + # + # source://spoom//lib/spoom/model/reference.rb#25 sig { params(name: ::String, location: ::Spoom::Location).returns(::Spoom::Model::Reference) } def method(name, location); end end end -# source://spoom//lib/spoom/model/reference.rb#13 +# source://spoom//lib/spoom/model/reference.rb#11 class Spoom::Model::Reference::Kind < ::T::Enum enums do Constant = new @@ -3517,131 +4801,193 @@ end # # source://spoom//lib/spoom/model/references_visitor.rb#7 class Spoom::Model::ReferencesVisitor < ::Spoom::Visitor - # source://spoom//lib/spoom/model/references_visitor.rb#14 + # : (String file) -> void + # + # @return [ReferencesVisitor] a new instance of ReferencesVisitor + # + # source://spoom//lib/spoom/model/references_visitor.rb#12 sig { params(file: ::String).void } def initialize(file); end - # source://spoom//lib/spoom/model/references_visitor.rb#11 + # : Array[Reference] + # + # source://spoom//lib/spoom/model/references_visitor.rb#9 sig { returns(T::Array[::Spoom::Model::Reference]) } def references; end - # source://spoom//lib/spoom/model/references_visitor.rb#22 + # : (Prism::AliasMethodNode node) -> void + # + # source://spoom//lib/spoom/model/references_visitor.rb#21 sig { override.params(node: ::Prism::AliasMethodNode).void } def visit_alias_method_node(node); end + # : (Prism::AndNode node) -> void + # # source://spoom//lib/spoom/model/references_visitor.rb#27 sig { override.params(node: ::Prism::AndNode).void } def visit_and_node(node); end - # source://spoom//lib/spoom/model/references_visitor.rb#33 + # : (Prism::BlockArgumentNode node) -> void + # + # source://spoom//lib/spoom/model/references_visitor.rb#34 sig { override.params(node: ::Prism::BlockArgumentNode).void } def visit_block_argument_node(node); end - # source://spoom//lib/spoom/model/references_visitor.rb#44 + # : (Prism::CallAndWriteNode node) -> void + # + # source://spoom//lib/spoom/model/references_visitor.rb#46 sig { override.params(node: ::Prism::CallAndWriteNode).void } def visit_call_and_write_node(node); end - # source://spoom//lib/spoom/model/references_visitor.rb#68 + # : (Prism::CallNode node) -> void + # + # source://spoom//lib/spoom/model/references_visitor.rb#73 sig { override.params(node: ::Prism::CallNode).void } def visit_call_node(node); end - # source://spoom//lib/spoom/model/references_visitor.rb#52 + # : (Prism::CallOperatorWriteNode node) -> void + # + # source://spoom//lib/spoom/model/references_visitor.rb#55 sig { override.params(node: ::Prism::CallOperatorWriteNode).void } def visit_call_operator_write_node(node); end - # source://spoom//lib/spoom/model/references_visitor.rb#60 + # : (Prism::CallOrWriteNode node) -> void + # + # source://spoom//lib/spoom/model/references_visitor.rb#64 sig { override.params(node: ::Prism::CallOrWriteNode).void } def visit_call_or_write_node(node); end - # source://spoom//lib/spoom/model/references_visitor.rb#85 + # : (Prism::ClassNode node) -> void + # + # source://spoom//lib/spoom/model/references_visitor.rb#91 sig { override.params(node: ::Prism::ClassNode).void } def visit_class_node(node); end - # source://spoom//lib/spoom/model/references_visitor.rb#91 + # : (Prism::ConstantAndWriteNode node) -> void + # + # source://spoom//lib/spoom/model/references_visitor.rb#98 sig { override.params(node: ::Prism::ConstantAndWriteNode).void } def visit_constant_and_write_node(node); end - # source://spoom//lib/spoom/model/references_visitor.rb#97 + # : (Prism::ConstantOperatorWriteNode node) -> void + # + # source://spoom//lib/spoom/model/references_visitor.rb#105 sig { override.params(node: ::Prism::ConstantOperatorWriteNode).void } def visit_constant_operator_write_node(node); end - # source://spoom//lib/spoom/model/references_visitor.rb#103 + # : (Prism::ConstantOrWriteNode node) -> void + # + # source://spoom//lib/spoom/model/references_visitor.rb#112 sig { override.params(node: ::Prism::ConstantOrWriteNode).void } def visit_constant_or_write_node(node); end - # source://spoom//lib/spoom/model/references_visitor.rb#109 + # : (Prism::ConstantPathNode node) -> void + # + # source://spoom//lib/spoom/model/references_visitor.rb#119 sig { override.params(node: ::Prism::ConstantPathNode).void } def visit_constant_path_node(node); end - # source://spoom//lib/spoom/model/references_visitor.rb#115 + # : (Prism::ConstantPathWriteNode node) -> void + # + # source://spoom//lib/spoom/model/references_visitor.rb#126 sig { override.params(node: ::Prism::ConstantPathWriteNode).void } def visit_constant_path_write_node(node); end - # source://spoom//lib/spoom/model/references_visitor.rb#121 + # : (Prism::ConstantReadNode node) -> void + # + # source://spoom//lib/spoom/model/references_visitor.rb#133 sig { override.params(node: ::Prism::ConstantReadNode).void } def visit_constant_read_node(node); end - # source://spoom//lib/spoom/model/references_visitor.rb#126 + # : (Prism::ConstantWriteNode node) -> void + # + # source://spoom//lib/spoom/model/references_visitor.rb#139 sig { override.params(node: ::Prism::ConstantWriteNode).void } def visit_constant_write_node(node); end - # source://spoom//lib/spoom/model/references_visitor.rb#131 + # : (Prism::LocalVariableAndWriteNode node) -> void + # + # source://spoom//lib/spoom/model/references_visitor.rb#145 sig { override.params(node: ::Prism::LocalVariableAndWriteNode).void } def visit_local_variable_and_write_node(node); end - # source://spoom//lib/spoom/model/references_visitor.rb#139 + # : (Prism::LocalVariableOperatorWriteNode node) -> void + # + # source://spoom//lib/spoom/model/references_visitor.rb#154 sig { override.params(node: ::Prism::LocalVariableOperatorWriteNode).void } def visit_local_variable_operator_write_node(node); end - # source://spoom//lib/spoom/model/references_visitor.rb#147 + # : (Prism::LocalVariableOrWriteNode node) -> void + # + # source://spoom//lib/spoom/model/references_visitor.rb#163 sig { override.params(node: ::Prism::LocalVariableOrWriteNode).void } def visit_local_variable_or_write_node(node); end - # source://spoom//lib/spoom/model/references_visitor.rb#155 + # : (Prism::LocalVariableWriteNode node) -> void + # + # source://spoom//lib/spoom/model/references_visitor.rb#172 sig { override.params(node: ::Prism::LocalVariableWriteNode).void } def visit_local_variable_write_node(node); end - # source://spoom//lib/spoom/model/references_visitor.rb#161 + # : (Prism::ModuleNode node) -> void + # + # source://spoom//lib/spoom/model/references_visitor.rb#179 sig { override.params(node: ::Prism::ModuleNode).void } def visit_module_node(node); end - # source://spoom//lib/spoom/model/references_visitor.rb#166 + # : (Prism::MultiWriteNode node) -> void + # + # source://spoom//lib/spoom/model/references_visitor.rb#185 sig { override.params(node: ::Prism::MultiWriteNode).void } def visit_multi_write_node(node); end - # source://spoom//lib/spoom/model/references_visitor.rb#177 + # : (Prism::OrNode node) -> void + # + # source://spoom//lib/spoom/model/references_visitor.rb#197 sig { override.params(node: ::Prism::OrNode).void } def visit_or_node(node); end private - # source://spoom//lib/spoom/model/references_visitor.rb#195 + # : (Prism::Node node) -> Location + # + # source://spoom//lib/spoom/model/references_visitor.rb#215 sig { params(node: ::Prism::Node).returns(::Spoom::Location) } def node_location(node); end - # source://spoom//lib/spoom/model/references_visitor.rb#185 + # : (String name, Prism::Node node) -> void + # + # source://spoom//lib/spoom/model/references_visitor.rb#205 sig { params(name: ::String, node: ::Prism::Node).void } def reference_constant(name, node); end - # source://spoom//lib/spoom/model/references_visitor.rb#190 + # : (String name, Prism::Node node) -> void + # + # source://spoom//lib/spoom/model/references_visitor.rb#210 sig { params(name: ::String, node: ::Prism::Node).void } def reference_method(name, node); end end # A Sorbet signature (sig block) # -# source://spoom//lib/spoom/model/model.rb#216 +# source://spoom//lib/spoom/model/model.rb#215 class Spoom::Model::Sig - # source://spoom//lib/spoom/model/model.rb#223 + # : (String string) -> void + # + # @return [Sig] a new instance of Sig + # + # source://spoom//lib/spoom/model/model.rb#220 sig { params(string: ::String).void } def initialize(string); end - # source://spoom//lib/spoom/model/model.rb#220 + # : String + # + # source://spoom//lib/spoom/model/model.rb#217 sig { returns(::String) } def string; end end -# source://spoom//lib/spoom/model/model.rb#115 +# source://spoom//lib/spoom/model/model.rb#130 class Spoom::Model::SingletonClass < ::Spoom::Model::Namespace; end # A Symbol is a uniquely named entity in the Ruby codebase @@ -3650,31 +4996,46 @@ class Spoom::Model::SingletonClass < ::Spoom::Model::Namespace; end # Sometimes a symbol can have multiple definitions of different types, # e.g. `foo` method can be defined both as a method and as an attribute accessor. # -# source://spoom//lib/spoom/model/model.rb#15 +# source://spoom//lib/spoom/model/model.rb#27 +# A Symbol is a uniquely named entity in the Ruby codebase +# A symbol can have multiple definitions, e.g. a class can be reopened. +# Sometimes a symbol can have multiple definitions of different types, class Spoom::Model::Symbol - # source://spoom//lib/spoom/model/model.rb#27 + # : (String full_name) -> void + # + # @return [Symbol] a new instance of Symbol + # + # source://spoom//lib/spoom/model/model.rb#37 sig { params(full_name: ::String).void } def initialize(full_name); end # The definitions of this symbol (where it exists in the code) + # : Array[SymbolDef] # - # source://spoom//lib/spoom/model/model.rb#24 + # source://spoom//lib/spoom/model/model.rb#34 + # The definitions of this symbol (where it exists in the code) sig { returns(T::Array[::Spoom::Model::SymbolDef]) } def definitions; end # The full, unique name of this symbol + # : String # - # source://spoom//lib/spoom/model/model.rb#20 + # source://spoom//lib/spoom/model/model.rb#30 + # The full, unique name of this symbol sig { returns(::String) } def full_name; end # The short name of this symbol + # : -> String # - # source://spoom//lib/spoom/model/model.rb#34 + # source://spoom//lib/spoom/model/model.rb#44 + # The short name of this symbol sig { returns(::String) } def name; end - # source://spoom//lib/spoom/model/model.rb#39 + # : -> String + # + # source://spoom//lib/spoom/model/model.rb#49 sig { returns(::String) } def to_s; end end @@ -3686,54 +5047,81 @@ end # # @abstract It cannot be directly instantiated. Subclasses must implement the `abstract` methods below. # -# source://spoom//lib/spoom/model/model.rb#55 +# source://spoom//lib/spoom/model/model.rb#66 +# A SymbolDef is a definition of a Symbol +# It can be a class, module, constant, method, etc. class Spoom::Model::SymbolDef abstract! - # source://spoom//lib/spoom/model/model.rb#74 + # : (Symbol symbol, owner: Namespace?, location: Location, ?comments: Array[Comment]) -> void + # + # @return [SymbolDef] a new instance of SymbolDef + # + # source://spoom//lib/spoom/model/model.rb#88 sig do params( symbol: ::Spoom::Model::Symbol, owner: T.nilable(::Spoom::Model::Namespace), - location: ::Spoom::Location + location: ::Spoom::Location, + comments: T::Array[::Spoom::Model::Comment] ).void end - def initialize(symbol, owner:, location:); end + def initialize(symbol, owner:, location:, comments:); end - # The full name of the symbol this definition belongs to + # The comments associated with this definition + # : Array[Comment] # # source://spoom//lib/spoom/model/model.rb#85 + # The comments associated with this definition + sig { returns(T::Array[::Spoom::Model::Comment]) } + def comments; end + + # The full name of the symbol this definition belongs to + # : -> String + # + # source://spoom//lib/spoom/model/model.rb#100 + # The full name of the symbol this definition belongs to sig { returns(::String) } def full_name; end # The actual code location of this definition + # : Location # - # source://spoom//lib/spoom/model/model.rb#71 + # source://spoom//lib/spoom/model/model.rb#81 + # The actual code location of this definition sig { returns(::Spoom::Location) } def location; end # The short name of the symbol this definition belongs to + # : -> String # - # source://spoom//lib/spoom/model/model.rb#91 + # source://spoom//lib/spoom/model/model.rb#106 + # The short name of the symbol this definition belongs to sig { returns(::String) } def name; end # The enclosing namespace this definition belongs to + # : Namespace? # - # source://spoom//lib/spoom/model/model.rb#67 + # source://spoom//lib/spoom/model/model.rb#77 + # The enclosing namespace this definition belongs to sig { returns(T.nilable(::Spoom::Model::Namespace)) } def owner; end # The symbol this definition belongs to + # : Symbol # - # source://spoom//lib/spoom/model/model.rb#63 + # source://spoom//lib/spoom/model/model.rb#73 + # The symbol this definition belongs to sig { returns(::Spoom::Model::Symbol) } def symbol; end end -# source://spoom//lib/spoom/model/model.rb#44 +# source://spoom//lib/spoom/model/model.rb#54 class Spoom::Model::UnresolvedSymbol < ::Spoom::Model::Symbol - # source://spoom//lib/spoom/model/model.rb#46 + # : -> String + # + # source://spoom//lib/spoom/model/model.rb#57 sig { override.returns(::String) } def to_s; end end @@ -3756,22 +5144,31 @@ class Spoom::ParseError < ::Spoom::Error; end # It can be used to represent a hierarchy of classes or modules, the dependencies between gems, etc. # # source://spoom//lib/spoom/poset.rb#9 +# A Poset is a set of elements with a partial order relation. +# The partial order relation is a binary relation that is reflexive, antisymmetric, and transitive. class Spoom::Poset extend T::Generic E = type_member { { upper: Object } } - # source://spoom//lib/spoom/poset.rb#18 + # : -> void + # + # @return [Poset] a new instance of Poset + # + # source://spoom//lib/spoom/poset.rb#17 sig { void } def initialize; end # Get the POSet element for a given value # # Raises if the element is not found + # : (E value) -> Element[E] # # @raise [Error] # - # source://spoom//lib/spoom/poset.rb#26 + # source://spoom//lib/spoom/poset.rb#25 + # Get the POSet element for a given value + # Raises if the element is not found sig { params(value: E).returns(Spoom::Poset::Element[E]) } def [](value); end @@ -3780,204 +5177,556 @@ class Spoom::Poset # Transitive edges (transitive closure) are automatically computed. # Adds the elements if they don't exist. # If the direct edge already exists, nothing is done. + # : (E from, E to) -> void # - # source://spoom//lib/spoom/poset.rb#54 + # source://spoom//lib/spoom/poset.rb#53 + # Add a direct edge from one element to another + # Transitive edges (transitive closure) are automatically computed. + # Adds the elements if they don't exist. + # If the direct edge already exists, nothing is done. sig { params(from: E, to: E).void } def add_direct_edge(from, to); end # Add an element to the POSet + # : (E value) -> Element[E] # - # source://spoom//lib/spoom/poset.rb#35 + # source://spoom//lib/spoom/poset.rb#34 + # Add an element to the POSet sig { params(value: E).returns(Spoom::Poset::Element[E]) } def add_element(value); end # Is there a direct edge from `from` to `to`? + # : (E from, E to) -> bool # - # source://spoom//lib/spoom/poset.rb#101 + # @return [Boolean] + # + # source://spoom//lib/spoom/poset.rb#100 + # Is there a direct edge from `from` to `to`? sig { params(from: E, to: E).returns(T::Boolean) } def direct_edge?(from, to); end # Is there an edge (direct or indirect) from `from` to `to`? + # : (E from, E to) -> bool # - # source://spoom//lib/spoom/poset.rb#92 + # @return [Boolean] + # + # source://spoom//lib/spoom/poset.rb#91 + # Is there an edge (direct or indirect) from `from` to `to`? sig { params(from: E, to: E).returns(T::Boolean) } def edge?(from, to); end # Is the given value a element in the POSet? + # : (E value) -> bool # - # source://spoom//lib/spoom/poset.rb#44 + # @return [Boolean] + # + # source://spoom//lib/spoom/poset.rb#43 + # Is the given value a element in the POSet? sig { params(value: E).returns(T::Boolean) } def element?(value); end # Show the POSet as a DOT graph using xdot (used for debugging) + # : (?direct: bool, ?transitive: bool) -> void # - # source://spoom//lib/spoom/poset.rb#107 + # source://spoom//lib/spoom/poset.rb#106 + # Show the POSet as a DOT graph using xdot (used for debugging) sig { params(direct: T::Boolean, transitive: T::Boolean).void } def show_dot(direct: T.unsafe(nil), transitive: T.unsafe(nil)); end # Return the POSet as a DOT graph + # : (?direct: bool, ?transitive: bool) -> String # - # source://spoom//lib/spoom/poset.rb#116 + # source://spoom//lib/spoom/poset.rb#115 + # Return the POSet as a DOT graph sig { params(direct: T::Boolean, transitive: T::Boolean).returns(::String) } def to_dot(direct: T.unsafe(nil), transitive: T.unsafe(nil)); end end # An element in a POSet # -# source://spoom//lib/spoom/poset.rb#136 +# source://spoom//lib/spoom/poset.rb#135 class Spoom::Poset::Element extend T::Generic include ::Comparable E = type_member { { upper: Object } } - # source://spoom//lib/spoom/poset.rb#152 + # : (E value) -> void + # + # @return [Element] a new instance of Element + # + # source://spoom//lib/spoom/poset.rb#150 sig { params(value: E).void } def initialize(value); end - # source://spoom//lib/spoom/poset.rb#161 + # : (untyped other) -> Integer? + # + # source://spoom//lib/spoom/poset.rb#159 sig { params(other: T.untyped).returns(T.nilable(::Integer)) } def <=>(other); end # Direct and indirect ancestors of this element + # : -> Array[E] # - # source://spoom//lib/spoom/poset.rb#180 + # source://spoom//lib/spoom/poset.rb#178 + # Direct and indirect ancestors of this element sig { returns(T::Array[E]) } def ancestors; end # Direct children of this element + # : -> Array[E] # - # source://spoom//lib/spoom/poset.rb#186 + # source://spoom//lib/spoom/poset.rb#184 + # Direct children of this element sig { returns(T::Array[E]) } def children; end # Direct and indirect descendants of this element + # : -> Array[E] # - # source://spoom//lib/spoom/poset.rb#192 + # source://spoom//lib/spoom/poset.rb#190 + # Direct and indirect descendants of this element sig { returns(T::Array[E]) } def descendants; end # Edges (direct and indirect) from this element to other elements in the same POSet + # : Set[Element[E]] # + # source://spoom//lib/spoom/poset.rb#147 + # Edges (direct and indirect) from this element to other elements in the same POSet # @return [Set] - # - # source://spoom//lib/spoom/poset.rb#149 def dfroms; end # Edges (direct and indirect) from this element to other elements in the same POSet + # : Set[Element[E]] # - # source://spoom//lib/spoom/poset.rb#149 + # source://spoom//lib/spoom/poset.rb#147 + # Edges (direct and indirect) from this element to other elements in the same POSet sig { returns(T::Set[Spoom::Poset::Element[E]]) } def dtos; end # Edges (direct and indirect) from this element to other elements in the same POSet + # : Set[Element[E]] # + # source://spoom//lib/spoom/poset.rb#147 + # Edges (direct and indirect) from this element to other elements in the same POSet # @return [Set] - # - # source://spoom//lib/spoom/poset.rb#149 def froms; end # Direct parents of this element + # : -> Array[E] # - # source://spoom//lib/spoom/poset.rb#174 + # source://spoom//lib/spoom/poset.rb#172 + # Direct parents of this element sig { returns(T::Array[E]) } def parents; end # Edges (direct and indirect) from this element to other elements in the same POSet + # : Set[Element[E]] # + # source://spoom//lib/spoom/poset.rb#147 + # Edges (direct and indirect) from this element to other elements in the same POSet # @return [Set] - # - # source://spoom//lib/spoom/poset.rb#149 def tos; end # The value held by this element + # : E # - # source://spoom//lib/spoom/poset.rb#145 + # source://spoom//lib/spoom/poset.rb#143 + # The value held by this element sig { returns(E) } def value; end end -# source://spoom//lib/spoom/poset.rb#13 +# source://spoom//lib/spoom/poset.rb#12 class Spoom::Poset::Error < ::Spoom::Error; end # source://spoom//lib/spoom/printer.rb#7 class Spoom::Printer include ::Spoom::Colorize - # source://spoom//lib/spoom/printer.rb#17 + # : (?out: (IO | StringIO), ?colors: bool, ?indent_level: Integer) -> void + # + # @return [Printer] a new instance of Printer + # + # source://spoom//lib/spoom/printer.rb#14 sig { params(out: T.any(::IO, ::StringIO), colors: T::Boolean, indent_level: ::Integer).void } def initialize(out: T.unsafe(nil), colors: T.unsafe(nil), indent_level: T.unsafe(nil)); end # Colorize `string` with color if `@colors` + # : (String string, *Spoom::Color color) -> String # - # source://spoom//lib/spoom/printer.rb#78 + # source://spoom//lib/spoom/printer.rb#75 + # Colorize `string` with color if `@colors` sig { params(string: ::String, color: ::Spoom::Color).returns(::String) } def colorize(string, *color); end # Decrease indent level + # : -> void # - # source://spoom//lib/spoom/printer.rb#31 + # source://spoom//lib/spoom/printer.rb#28 + # Decrease indent level sig { void } def dedent; end # Increase indent level + # : -> void # - # source://spoom//lib/spoom/printer.rb#25 + # source://spoom//lib/spoom/printer.rb#22 + # Increase indent level sig { void } def indent; end - # source://spoom//lib/spoom/printer.rb#14 + # : (IO | StringIO) + # + # source://spoom//lib/spoom/printer.rb#11 sig { returns(T.any(::IO, ::StringIO)) } def out; end - # @return [IO, StringIO] + # : (IO | StringIO) # - # source://spoom//lib/spoom/printer.rb#14 + # source://spoom//lib/spoom/printer.rb#11 + # @return [IO, StringIO] def out=(_arg0); end # Print `string` into `out` + # : (String? string) -> void # - # source://spoom//lib/spoom/printer.rb#37 + # source://spoom//lib/spoom/printer.rb#34 + # Print `string` into `out` sig { params(string: T.nilable(::String)).void } def print(string); end # Print `string` colored with `color` into `out` # # Does not use colors unless `@colors`. + # : (String? string, *Color color) -> void # - # source://spoom//lib/spoom/printer.rb#47 + # source://spoom//lib/spoom/printer.rb#44 + # Print `string` colored with `color` into `out` + # Does not use colors unless `@colors`. sig { params(string: T.nilable(::String), color: ::Spoom::Color).void } def print_colored(string, *color); end # Print `string` with indent and newline + # : (String? string) -> void # - # source://spoom//lib/spoom/printer.rb#62 + # source://spoom//lib/spoom/printer.rb#59 + # Print `string` with indent and newline sig { params(string: T.nilable(::String)).void } def printl(string); end # Print a new line into `out` + # : -> void # - # source://spoom//lib/spoom/printer.rb#56 + # source://spoom//lib/spoom/printer.rb#53 + # Print a new line into `out` sig { void } def printn; end # Print an indent space into `out` + # : -> void # - # source://spoom//lib/spoom/printer.rb#72 + # source://spoom//lib/spoom/printer.rb#69 + # Print an indent space into `out` sig { void } def printt; end end -# source://spoom//lib/spoom.rb#10 +# source://spoom//lib/spoom.rb#8 Spoom::SPOOM_PATH = T.let(T.unsafe(nil), String) -# source://spoom//lib/spoom/sorbet/config.rb#5 +# source://spoom//lib/spoom/sorbet/assertions.rb#7 module Spoom::Sorbet; end -# source://spoom//lib/spoom/sorbet.rb#39 +# source://spoom//lib/spoom/sorbet/assertions.rb#8 +class Spoom::Sorbet::Assertions + class << self + # : (String, file: String) -> String + # + # source://spoom//lib/spoom/sorbet/assertions.rb#11 + sig { params(ruby_contents: ::String, file: ::String).returns(::String) } + def rbi_to_rbs(ruby_contents, file:); end + + private + + # : (String, file: String) -> Array[AssignNode] + # + # source://spoom//lib/spoom/sorbet/assertions.rb#46 + sig { params(ruby_contents: ::String, file: ::String).returns(T::Array[::Spoom::Sorbet::Assertions::AssignNode]) } + def collect_assigns(ruby_contents, file:); end + + # : (AssignNode) -> String + # + # source://spoom//lib/spoom/sorbet/assertions.rb#54 + sig { params(assign: ::Spoom::Sorbet::Assertions::AssignNode).returns(::String) } + def dedent_value(assign); end + end +end + +# source://spoom//lib/spoom/sorbet/assertions.rb#122 +class Spoom::Sorbet::Assertions::AssignNode + # : (AssignType, Prism::Location, Prism::Node, Prism::Node) -> void + # + # @return [AssignNode] a new instance of AssignNode + # + # source://spoom//lib/spoom/sorbet/assertions.rb#133 + sig do + params( + node: T.any(::Prism::ClassVariableAndWriteNode, ::Prism::ClassVariableOperatorWriteNode, ::Prism::ClassVariableOrWriteNode, ::Prism::ClassVariableWriteNode, ::Prism::ConstantAndWriteNode, ::Prism::ConstantOperatorWriteNode, ::Prism::ConstantOrWriteNode, ::Prism::ConstantPathAndWriteNode, ::Prism::ConstantPathOperatorWriteNode, ::Prism::ConstantPathOrWriteNode, ::Prism::ConstantPathWriteNode, ::Prism::ConstantWriteNode, ::Prism::GlobalVariableAndWriteNode, ::Prism::GlobalVariableOperatorWriteNode, ::Prism::GlobalVariableOrWriteNode, ::Prism::GlobalVariableWriteNode, ::Prism::InstanceVariableAndWriteNode, ::Prism::InstanceVariableOperatorWriteNode, ::Prism::InstanceVariableOrWriteNode, ::Prism::InstanceVariableWriteNode, ::Prism::LocalVariableAndWriteNode, ::Prism::LocalVariableOperatorWriteNode, ::Prism::LocalVariableOrWriteNode, ::Prism::LocalVariableWriteNode), + operator_loc: ::Prism::Location, + value: ::Prism::Node, + type: ::Prism::Node + ).void + end + def initialize(node, operator_loc, value, type); end + + # : AssignType + # + # source://spoom//lib/spoom/sorbet/assertions.rb#124 + sig do + returns(T.any(::Prism::ClassVariableAndWriteNode, ::Prism::ClassVariableOperatorWriteNode, ::Prism::ClassVariableOrWriteNode, ::Prism::ClassVariableWriteNode, ::Prism::ConstantAndWriteNode, ::Prism::ConstantOperatorWriteNode, ::Prism::ConstantOrWriteNode, ::Prism::ConstantPathAndWriteNode, ::Prism::ConstantPathOperatorWriteNode, ::Prism::ConstantPathOrWriteNode, ::Prism::ConstantPathWriteNode, ::Prism::ConstantWriteNode, ::Prism::GlobalVariableAndWriteNode, ::Prism::GlobalVariableOperatorWriteNode, ::Prism::GlobalVariableOrWriteNode, ::Prism::GlobalVariableWriteNode, ::Prism::InstanceVariableAndWriteNode, ::Prism::InstanceVariableOperatorWriteNode, ::Prism::InstanceVariableOrWriteNode, ::Prism::InstanceVariableWriteNode, ::Prism::LocalVariableAndWriteNode, ::Prism::LocalVariableOperatorWriteNode, ::Prism::LocalVariableOrWriteNode, ::Prism::LocalVariableWriteNode)) + end + def node; end + + # : Prism::Location + # + # source://spoom//lib/spoom/sorbet/assertions.rb#127 + sig { returns(::Prism::Location) } + def operator_loc; end + + # : -> String + # + # source://spoom//lib/spoom/sorbet/assertions.rb#141 + sig { returns(::String) } + def rbs_type; end + + # : Prism::Node + # + # source://spoom//lib/spoom/sorbet/assertions.rb#130 + # @return [Prism::Node] + def type; end + + # : Prism::Node + # + # source://spoom//lib/spoom/sorbet/assertions.rb#130 + sig { returns(::Prism::Node) } + def value; end +end + +# source://spoom//lib/spoom/sorbet/assertions.rb#93 +Spoom::Sorbet::Assertions::AssignType = T.type_alias { T.any(::Prism::ClassVariableAndWriteNode, ::Prism::ClassVariableOperatorWriteNode, ::Prism::ClassVariableOrWriteNode, ::Prism::ClassVariableWriteNode, ::Prism::ConstantAndWriteNode, ::Prism::ConstantOperatorWriteNode, ::Prism::ConstantOrWriteNode, ::Prism::ConstantPathAndWriteNode, ::Prism::ConstantPathOperatorWriteNode, ::Prism::ConstantPathOrWriteNode, ::Prism::ConstantPathWriteNode, ::Prism::ConstantWriteNode, ::Prism::GlobalVariableAndWriteNode, ::Prism::GlobalVariableOperatorWriteNode, ::Prism::GlobalVariableOrWriteNode, ::Prism::GlobalVariableWriteNode, ::Prism::InstanceVariableAndWriteNode, ::Prism::InstanceVariableOperatorWriteNode, ::Prism::InstanceVariableOrWriteNode, ::Prism::InstanceVariableWriteNode, ::Prism::LocalVariableAndWriteNode, ::Prism::LocalVariableOperatorWriteNode, ::Prism::LocalVariableOrWriteNode, ::Prism::LocalVariableWriteNode) } + +# source://spoom//lib/spoom/sorbet/assertions.rb#146 +class Spoom::Sorbet::Assertions::Locator < ::Spoom::Visitor + # : -> void + # + # @return [Locator] a new instance of Locator + # + # source://spoom//lib/spoom/sorbet/assertions.rb#153 + sig { void } + def initialize; end + + # : Array[AssignNode] + # + # source://spoom//lib/spoom/sorbet/assertions.rb#150 + sig { returns(T::Array[::Spoom::Sorbet::Assertions::AssignNode]) } + def assigns; end + + # : (Prism::Node) -> bool + # + # @return [Boolean] + # + # source://spoom//lib/spoom/sorbet/assertions.rb#245 + sig { params(node: ::Prism::Node).returns(T::Boolean) } + def contains_heredoc?(node); end + + # Is this node a `T` or `::T` constant? + # : (Prism::Node?) -> bool + # + # @return [Boolean] + # + # source://spoom//lib/spoom/sorbet/assertions.rb#223 + # Is this node a `T` or `::T` constant? + sig { params(node: T.nilable(::Prism::Node)).returns(T::Boolean) } + def t?(node); end + + # Is this node a `T.let` or `T.cast`? + # : (Prism::CallNode) -> bool + # + # @return [Boolean] + # + # source://spoom//lib/spoom/sorbet/assertions.rb#236 + # Is this node a `T.let` or `T.cast`? + sig { params(node: ::Prism::CallNode).returns(T::Boolean) } + def t_annotation?(node); end + + # : (AssignType) -> void + # + # source://spoom//lib/spoom/sorbet/assertions.rb#159 + sig do + params( + node: T.any(::Prism::ClassVariableAndWriteNode, ::Prism::ClassVariableOperatorWriteNode, ::Prism::ClassVariableOrWriteNode, ::Prism::ClassVariableWriteNode, ::Prism::ConstantAndWriteNode, ::Prism::ConstantOperatorWriteNode, ::Prism::ConstantOrWriteNode, ::Prism::ConstantPathAndWriteNode, ::Prism::ConstantPathOperatorWriteNode, ::Prism::ConstantPathOrWriteNode, ::Prism::ConstantPathWriteNode, ::Prism::ConstantWriteNode, ::Prism::GlobalVariableAndWriteNode, ::Prism::GlobalVariableOperatorWriteNode, ::Prism::GlobalVariableOrWriteNode, ::Prism::GlobalVariableWriteNode, ::Prism::InstanceVariableAndWriteNode, ::Prism::InstanceVariableOperatorWriteNode, ::Prism::InstanceVariableOrWriteNode, ::Prism::InstanceVariableWriteNode, ::Prism::LocalVariableAndWriteNode, ::Prism::LocalVariableOperatorWriteNode, ::Prism::LocalVariableOrWriteNode, ::Prism::LocalVariableWriteNode) + ).void + end + def visit_assign(node); end + + # : (AssignType) -> void + # + # source://spoom//lib/spoom/sorbet/assertions.rb#159 + def visit_class_variable_and_write_node(node); end + + # : (AssignType) -> void + # + # source://spoom//lib/spoom/sorbet/assertions.rb#159 + def visit_class_variable_operator_write_node(node); end + + # : (AssignType) -> void + # + # source://spoom//lib/spoom/sorbet/assertions.rb#159 + def visit_class_variable_or_write_node(node); end + + # : (AssignType) -> void + # + # source://spoom//lib/spoom/sorbet/assertions.rb#159 + def visit_class_variable_write_node(node); end + + # : (AssignType) -> void + # + # source://spoom//lib/spoom/sorbet/assertions.rb#159 + def visit_constant_and_write_node(node); end + + # : (AssignType) -> void + # + # source://spoom//lib/spoom/sorbet/assertions.rb#159 + def visit_constant_operator_write_node(node); end + + # : (AssignType) -> void + # + # source://spoom//lib/spoom/sorbet/assertions.rb#159 + def visit_constant_or_write_node(node); end + + # : (AssignType) -> void + # + # source://spoom//lib/spoom/sorbet/assertions.rb#159 + def visit_constant_path_and_write_node(node); end + + # : (AssignType) -> void + # + # source://spoom//lib/spoom/sorbet/assertions.rb#159 + def visit_constant_path_operator_write_node(node); end + + # : (AssignType) -> void + # + # source://spoom//lib/spoom/sorbet/assertions.rb#159 + def visit_constant_path_or_write_node(node); end + + # : (AssignType) -> void + # + # source://spoom//lib/spoom/sorbet/assertions.rb#159 + def visit_constant_path_write_node(node); end + + # : (AssignType) -> void + # + # source://spoom//lib/spoom/sorbet/assertions.rb#159 + def visit_constant_write_node(node); end + + # : (AssignType) -> void + # + # source://spoom//lib/spoom/sorbet/assertions.rb#159 + def visit_global_variable_and_write_node(node); end + + # : (AssignType) -> void + # + # source://spoom//lib/spoom/sorbet/assertions.rb#159 + def visit_global_variable_operator_write_node(node); end + + # : (AssignType) -> void + # + # source://spoom//lib/spoom/sorbet/assertions.rb#159 + def visit_global_variable_or_write_node(node); end + + # : (AssignType) -> void + # + # source://spoom//lib/spoom/sorbet/assertions.rb#159 + def visit_global_variable_write_node(node); end + + # : (AssignType) -> void + # + # source://spoom//lib/spoom/sorbet/assertions.rb#159 + def visit_instance_variable_and_write_node(node); end + + # : (AssignType) -> void + # + # source://spoom//lib/spoom/sorbet/assertions.rb#159 + def visit_instance_variable_operator_write_node(node); end + + # : (AssignType) -> void + # + # source://spoom//lib/spoom/sorbet/assertions.rb#159 + def visit_instance_variable_or_write_node(node); end + + # : (AssignType) -> void + # + # source://spoom//lib/spoom/sorbet/assertions.rb#159 + def visit_instance_variable_write_node(node); end + + # : (AssignType) -> void + # + # source://spoom//lib/spoom/sorbet/assertions.rb#159 + def visit_local_variable_and_write_node(node); end + + # : (AssignType) -> void + # + # source://spoom//lib/spoom/sorbet/assertions.rb#159 + def visit_local_variable_operator_write_node(node); end + + # : (AssignType) -> void + # + # source://spoom//lib/spoom/sorbet/assertions.rb#159 + def visit_local_variable_or_write_node(node); end + + # : (AssignType) -> void + # + # source://spoom//lib/spoom/sorbet/assertions.rb#159 + def visit_local_variable_write_node(node); end + + # : (AssignType) -> void + # + # source://spoom//lib/spoom/sorbet/assertions.rb#159 + def visit_multi_write_node(node); end +end + +# source://spoom//lib/spoom/sorbet/assertions.rb#147 +Spoom::Sorbet::Assertions::Locator::ANNOTATION_METHODS = T.let(T.unsafe(nil), Array) + +# source://spoom//lib/spoom/sorbet/assertions.rb#251 +class Spoom::Sorbet::Assertions::Locator::HeredocVisitor < ::Spoom::Visitor + # : -> void + # + # @return [HeredocVisitor] a new instance of HeredocVisitor + # + # source://spoom//lib/spoom/sorbet/assertions.rb#256 + sig { void } + def initialize; end + + # : bool + # + # source://spoom//lib/spoom/sorbet/assertions.rb#253 + sig { returns(T::Boolean) } + def contains_heredoc; end + + # : (Prism::Node?) -> void + # + # source://spoom//lib/spoom/sorbet/assertions.rb#264 + sig { override.params(node: T.nilable(::Prism::Node)).void } + def visit(node); end +end + +# source://spoom//lib/spoom/sorbet.rb#33 Spoom::Sorbet::BIN_PATH = T.let(T.unsafe(nil), String) -# source://spoom//lib/spoom/sorbet.rb#36 +# source://spoom//lib/spoom/sorbet.rb#30 Spoom::Sorbet::CONFIG_PATH = T.let(T.unsafe(nil), String) # Parse Sorbet config files @@ -4002,42 +5751,68 @@ Spoom::Sorbet::CONFIG_PATH = T.let(T.unsafe(nil), String) # ``` # # source://spoom//lib/spoom/sorbet/config.rb#26 +# Parse Sorbet config files +# Parses a Sorbet config file: +# ```ruby +# config = Spoom::Sorbet::Config.parse_file("sorbet/config") +# puts config.paths # "." +# Parses a Sorbet config string: +# config = Spoom::Sorbet::Config.parse_string(<<~CONFIG) +# a +# --file=b +# --ignore=c +# CONFIG +# puts config.paths # "a", "b" +# puts config.ignore # "c" class Spoom::Sorbet::Config - # source://spoom//lib/spoom/sorbet/config.rb#38 + # : -> void + # + # @return [Config] a new instance of Config + # + # source://spoom//lib/spoom/sorbet/config.rb#36 sig { void } def initialize; end - # @return [Array] + # : Array[String] # - # source://spoom//lib/spoom/sorbet/config.rb#32 + # source://spoom//lib/spoom/sorbet/config.rb#30 + # @return [Array] def allowed_extensions; end - # @return [Array] + # : Array[String] # - # source://spoom//lib/spoom/sorbet/config.rb#32 + # source://spoom//lib/spoom/sorbet/config.rb#30 + # @return [Array] def allowed_extensions=(_arg0); end - # source://spoom//lib/spoom/sorbet/config.rb#46 + # : -> Config + # + # source://spoom//lib/spoom/sorbet/config.rb#44 sig { returns(::Spoom::Sorbet::Config) } def copy; end - # @return [Array] + # : Array[String] # - # source://spoom//lib/spoom/sorbet/config.rb#32 + # source://spoom//lib/spoom/sorbet/config.rb#30 + # @return [Array] def ignore; end - # @return [Array] + # : Array[String] # - # source://spoom//lib/spoom/sorbet/config.rb#32 + # source://spoom//lib/spoom/sorbet/config.rb#30 + # @return [Array] def ignore=(_arg0); end - # source://spoom//lib/spoom/sorbet/config.rb#35 + # : bool + # + # source://spoom//lib/spoom/sorbet/config.rb#33 sig { returns(T::Boolean) } def no_stdlib; end - # @return [Boolean] + # : bool # - # source://spoom//lib/spoom/sorbet/config.rb#35 + # source://spoom//lib/spoom/sorbet/config.rb#33 + # @return [Boolean] def no_stdlib=(_arg0); end # Returns self as a string of options that can be passed to Sorbet @@ -4052,61 +5827,89 @@ class Spoom::Sorbet::Config # # puts config.options_string # "/foo /bar --ignore /baz --allowed-extension .rb" # ~~~ + # : -> String # - # source://spoom//lib/spoom/sorbet/config.rb#68 + # source://spoom//lib/spoom/sorbet/config.rb#66 + # Returns self as a string of options that can be passed to Sorbet + # Example: + # ~~~rb + # config = Sorbet::Config.new + # config.paths << "/foo" + # config.paths << "/bar" + # config.ignore << "/baz" + # config.allowed_extensions << ".rb" + # puts config.options_string # "/foo /bar --ignore /baz --allowed-extension .rb" + # ~~~ sig { returns(::String) } def options_string; end - # source://spoom//lib/spoom/sorbet/config.rb#32 + # : Array[String] + # + # source://spoom//lib/spoom/sorbet/config.rb#30 sig { returns(T::Array[::String]) } def paths; end - # @return [Array] + # : Array[String] # - # source://spoom//lib/spoom/sorbet/config.rb#32 + # source://spoom//lib/spoom/sorbet/config.rb#30 + # @return [Array] def paths=(_arg0); end class << self - # source://spoom//lib/spoom/sorbet/config.rb#81 + # : (String sorbet_config_path) -> Spoom::Sorbet::Config + # + # source://spoom//lib/spoom/sorbet/config.rb#77 sig { params(sorbet_config_path: ::String).returns(::Spoom::Sorbet::Config) } def parse_file(sorbet_config_path); end - # source://spoom//lib/spoom/sorbet/config.rb#86 + # : (String sorbet_config) -> Spoom::Sorbet::Config + # + # source://spoom//lib/spoom/sorbet/config.rb#82 sig { params(sorbet_config: ::String).returns(::Spoom::Sorbet::Config) } def parse_string(sorbet_config); end private - # source://spoom//lib/spoom/sorbet/config.rb#147 + # : (String line) -> String + # + # source://spoom//lib/spoom/sorbet/config.rb#143 sig { params(line: ::String).returns(::String) } def parse_option(line); end end end -# source://spoom//lib/spoom/sorbet/config.rb#29 +# source://spoom//lib/spoom/sorbet/config.rb#27 Spoom::Sorbet::Config::DEFAULT_ALLOWED_EXTENSIONS = T.let(T.unsafe(nil), Array) -# source://spoom//lib/spoom/sorbet.rb#14 +# source://spoom//lib/spoom/sorbet.rb#15 class Spoom::Sorbet::Error < ::Spoom::Error - # source://spoom//lib/spoom/sorbet.rb#29 + # : (String message, ExecResult result) -> void + # + # @return [Error] a new instance of Error + # + # source://spoom//lib/spoom/sorbet.rb#23 sig { params(message: ::String, result: ::Spoom::ExecResult).void } def initialize(message, result); end - # source://spoom//lib/spoom/sorbet.rb#21 + # : ExecResult + # + # source://spoom//lib/spoom/sorbet.rb#20 sig { returns(::Spoom::ExecResult) } def result; end end -# source://spoom//lib/spoom/sorbet.rb#17 +# source://spoom//lib/spoom/sorbet.rb#16 class Spoom::Sorbet::Error::Killed < ::Spoom::Sorbet::Error; end -# source://spoom//lib/spoom/sorbet.rb#18 +# source://spoom//lib/spoom/sorbet.rb#17 class Spoom::Sorbet::Error::Segfault < ::Spoom::Sorbet::Error; end # source://spoom//lib/spoom/sorbet/errors.rb#6 module Spoom::Sorbet::Errors class << self - # source://spoom//lib/spoom/sorbet/errors.rb#13 + # : (Array[Error] errors) -> Array[Error] + # + # source://spoom//lib/spoom/sorbet/errors.rb#11 sig { params(errors: T::Array[::Spoom::Sorbet::Errors::Error]).returns(T::Array[::Spoom::Sorbet::Errors::Error]) } def sort_errors_by_code(errors); end end @@ -4115,11 +5918,15 @@ end # source://spoom//lib/spoom/sorbet/errors.rb#7 Spoom::Sorbet::Errors::DEFAULT_ERROR_URL_BASE = T.let(T.unsafe(nil), String) -# source://spoom//lib/spoom/sorbet/errors.rb#127 +# source://spoom//lib/spoom/sorbet/errors.rb#121 class Spoom::Sorbet::Errors::Error include ::Comparable - # source://spoom//lib/spoom/sorbet/errors.rb#153 + # : (String? file, Integer? line, String? message, Integer? code, ?Array[String] more) -> void + # + # @return [Error] a new instance of Error + # + # source://spoom//lib/spoom/sorbet/errors.rb#138 sig do params( file: T.nilable(::String), @@ -4132,118 +5939,156 @@ class Spoom::Sorbet::Errors::Error def initialize(file, line, message, code, more = T.unsafe(nil)); end # By default errors are sorted by location + # : (untyped other) -> Integer # - # source://spoom//lib/spoom/sorbet/errors.rb#164 + # source://spoom//lib/spoom/sorbet/errors.rb#149 + # By default errors are sorted by location sig { params(other: T.untyped).returns(::Integer) } def <=>(other); end - # @return [Integer, nil] + # : Integer? # - # source://spoom//lib/spoom/sorbet/errors.rb#135 + # source://spoom//lib/spoom/sorbet/errors.rb#128 + # @return [Integer, nil] def code; end - # source://spoom//lib/spoom/sorbet/errors.rb#132 + # : String? + # + # source://spoom//lib/spoom/sorbet/errors.rb#125 sig { returns(T.nilable(::String)) } def file; end # Other files associated with the error + # : Set[String] # - # source://spoom//lib/spoom/sorbet/errors.rb#142 + # source://spoom//lib/spoom/sorbet/errors.rb#135 + # Other files associated with the error sig { returns(T::Set[::String]) } def files_from_error_sections; end - # source://spoom//lib/spoom/sorbet/errors.rb#135 + # : Integer? + # + # source://spoom//lib/spoom/sorbet/errors.rb#128 sig { returns(T.nilable(::Integer)) } def line; end - # @return [String, nil] + # : String? # - # source://spoom//lib/spoom/sorbet/errors.rb#132 + # source://spoom//lib/spoom/sorbet/errors.rb#125 + # @return [String, nil] def message; end - # source://spoom//lib/spoom/sorbet/errors.rb#138 + # : Array[String] + # + # source://spoom//lib/spoom/sorbet/errors.rb#131 sig { returns(T::Array[::String]) } def more; end - # source://spoom//lib/spoom/sorbet/errors.rb#171 + # : -> String + # + # source://spoom//lib/spoom/sorbet/errors.rb#156 sig { returns(::String) } def to_s; end end # Parse errors from Sorbet output # -# source://spoom//lib/spoom/sorbet/errors.rb#18 +# source://spoom//lib/spoom/sorbet/errors.rb#16 class Spoom::Sorbet::Errors::Parser - # source://spoom//lib/spoom/sorbet/errors.rb#45 + # : (?error_url_base: String) -> void + # + # @return [Parser] a new instance of Parser + # + # source://spoom//lib/spoom/sorbet/errors.rb#39 sig { params(error_url_base: ::String).void } def initialize(error_url_base: T.unsafe(nil)); end - # source://spoom//lib/spoom/sorbet/errors.rb#52 + # : (String output) -> Array[Error] + # + # source://spoom//lib/spoom/sorbet/errors.rb#46 sig { params(output: ::String).returns(T::Array[::Spoom::Sorbet::Errors::Error]) } def parse(output); end private + # : (String line) -> void + # # @raise [ParseError] # - # source://spoom//lib/spoom/sorbet/errors.rb#116 + # source://spoom//lib/spoom/sorbet/errors.rb#110 sig { params(line: ::String).void } def append_error(line); end + # : -> void + # # @raise [ParseError] # - # source://spoom//lib/spoom/sorbet/errors.rb#108 + # source://spoom//lib/spoom/sorbet/errors.rb#102 sig { void } def close_error; end - # source://spoom//lib/spoom/sorbet/errors.rb#75 + # : (String error_url_base) -> Regexp + # + # source://spoom//lib/spoom/sorbet/errors.rb#69 sig { params(error_url_base: ::String).returns(::Regexp) } def error_line_match_regexp(error_url_base); end - # source://spoom//lib/spoom/sorbet/errors.rb#92 + # : (String line) -> Error? + # + # source://spoom//lib/spoom/sorbet/errors.rb#86 sig { params(line: ::String).returns(T.nilable(::Spoom::Sorbet::Errors::Error)) } def match_error_line(line); end + # : (Error error) -> void + # # @raise [ParseError] # - # source://spoom//lib/spoom/sorbet/errors.rb#101 + # source://spoom//lib/spoom/sorbet/errors.rb#95 sig { params(error: ::Spoom::Sorbet::Errors::Error).void } def open_error(error); end class << self - # source://spoom//lib/spoom/sorbet/errors.rb#38 + # : (String output, ?error_url_base: String) -> Array[Error] + # + # source://spoom//lib/spoom/sorbet/errors.rb#32 sig { params(output: ::String, error_url_base: ::String).returns(T::Array[::Spoom::Sorbet::Errors::Error]) } def parse_string(output, error_url_base: T.unsafe(nil)); end end end -# source://spoom//lib/spoom/sorbet/errors.rb#23 +# source://spoom//lib/spoom/sorbet/errors.rb#19 Spoom::Sorbet::Errors::Parser::HEADER = T.let(T.unsafe(nil), Array) -# source://spoom//lib/spoom/sorbet/errors.rb#21 +# source://spoom//lib/spoom/sorbet/errors.rb#17 class Spoom::Sorbet::Errors::Parser::ParseError < ::Spoom::Error; end -# source://spoom//lib/spoom/sorbet.rb#37 +# source://spoom//lib/spoom/sorbet.rb#31 Spoom::Sorbet::GEM_PATH = T.let(T.unsafe(nil), String) -# source://spoom//lib/spoom/sorbet.rb#38 +# source://spoom//lib/spoom/sorbet.rb#32 Spoom::Sorbet::GEM_VERSION = T.let(T.unsafe(nil), String) -# source://spoom//lib/spoom/sorbet.rb#41 +# source://spoom//lib/spoom/sorbet.rb#35 Spoom::Sorbet::KILLED_CODE = T.let(T.unsafe(nil), Integer) # source://spoom//lib/spoom/sorbet/metrics.rb#8 module Spoom::Sorbet::MetricsParser class << self - # source://spoom//lib/spoom/sorbet/metrics.rb#15 + # : (String path, ?String prefix) -> Hash[String, Integer] + # + # source://spoom//lib/spoom/sorbet/metrics.rb#13 sig { params(path: ::String, prefix: ::String).returns(T::Hash[::String, ::Integer]) } def parse_file(path, prefix = T.unsafe(nil)); end - # source://spoom//lib/spoom/sorbet/metrics.rb#25 + # : (Hash[String, untyped] obj, ?String prefix) -> Hash[String, Integer] + # + # source://spoom//lib/spoom/sorbet/metrics.rb#23 sig { params(obj: T::Hash[::String, T.untyped], prefix: ::String).returns(T::Hash[::String, ::Integer]) } def parse_hash(obj, prefix = T.unsafe(nil)); end - # source://spoom//lib/spoom/sorbet/metrics.rb#20 + # : (String string, ?String prefix) -> Hash[String, Integer] + # + # source://spoom//lib/spoom/sorbet/metrics.rb#18 sig { params(string: ::String, prefix: ::String).returns(T::Hash[::String, ::Integer]) } def parse_string(string, prefix = T.unsafe(nil)); end end @@ -4252,173 +6097,272 @@ end # source://spoom//lib/spoom/sorbet/metrics.rb#9 Spoom::Sorbet::MetricsParser::DEFAULT_PREFIX = T.let(T.unsafe(nil), String) -# source://spoom//lib/spoom/sorbet.rb#42 +# source://spoom//lib/spoom/sorbet.rb#36 Spoom::Sorbet::SEGFAULT_CODE = T.let(T.unsafe(nil), Integer) # source://spoom//lib/spoom/sorbet/sigils.rb#9 module Spoom::Sorbet::Sigils class << self # changes the sigil in the file at the passed path to the specified new strictness + # : ((String | Pathname) path, String new_strictness) -> bool # - # source://spoom//lib/spoom/sorbet/sigils.rb#72 + # source://spoom//lib/spoom/sorbet/sigils.rb#68 + # changes the sigil in the file at the passed path to the specified new strictness sig { params(path: T.any(::Pathname, ::String), new_strictness: ::String).returns(T::Boolean) } def change_sigil_in_file(path, new_strictness); end # changes the sigil to have a new strictness in a list of files + # : (Array[String] path_list, String new_strictness) -> Array[String] # - # source://spoom//lib/spoom/sorbet/sigils.rb#83 + # source://spoom//lib/spoom/sorbet/sigils.rb#79 + # changes the sigil to have a new strictness in a list of files sig { params(path_list: T::Array[::String], new_strictness: ::String).returns(T::Array[::String]) } def change_sigil_in_files(path_list, new_strictness); end # returns a string containing the strictness of a sigil in a file at the passed path # * returns nil if no sigil + # : ((String | Pathname) path) -> String? # - # source://spoom//lib/spoom/sorbet/sigils.rb#63 + # source://spoom//lib/spoom/sorbet/sigils.rb#59 + # returns a string containing the strictness of a sigil in a file at the passed path + # * returns nil if no sigil sig { params(path: T.any(::Pathname, ::String)).returns(T.nilable(::String)) } def file_strictness(path); end # returns the full sigil comment string for the passed strictness + # : (String strictness) -> String # - # source://spoom//lib/spoom/sorbet/sigils.rb#38 + # source://spoom//lib/spoom/sorbet/sigils.rb#34 + # returns the full sigil comment string for the passed strictness sig { params(strictness: ::String).returns(::String) } def sigil_string(strictness); end # returns the strictness of a sigil in the passed file content string (nil if no sigil) + # : (String content) -> String? # - # source://spoom//lib/spoom/sorbet/sigils.rb#50 + # source://spoom//lib/spoom/sorbet/sigils.rb#46 + # returns the strictness of a sigil in the passed file content string (nil if no sigil) sig { params(content: ::String).returns(T.nilable(::String)) } def strictness_in_content(content); end # returns a string which is the passed content but with the sigil updated to a new strictness + # : (String content, String new_strictness) -> String # - # source://spoom//lib/spoom/sorbet/sigils.rb#56 + # source://spoom//lib/spoom/sorbet/sigils.rb#52 + # returns a string which is the passed content but with the sigil updated to a new strictness sig { params(content: ::String, new_strictness: ::String).returns(::String) } def update_sigil(content, new_strictness); end # returns true if the passed string is a valid strictness (else false) + # : (String strictness) -> bool # - # source://spoom//lib/spoom/sorbet/sigils.rb#44 + # @return [Boolean] + # + # source://spoom//lib/spoom/sorbet/sigils.rb#40 + # returns true if the passed string is a valid strictness (else false) sig { params(strictness: ::String).returns(T::Boolean) } def valid_strictness?(strictness); end end end -# source://spoom//lib/spoom/sorbet/sigils.rb#31 +# source://spoom//lib/spoom/sorbet/sigils.rb#29 Spoom::Sorbet::Sigils::SIGIL_REGEXP = T.let(T.unsafe(nil), Regexp) -# source://spoom//lib/spoom/sorbet/sigils.rb#13 +# source://spoom//lib/spoom/sorbet/sigils.rb#11 Spoom::Sorbet::Sigils::STRICTNESS_FALSE = T.let(T.unsafe(nil), String) -# source://spoom//lib/spoom/sorbet/sigils.rb#12 +# source://spoom//lib/spoom/sorbet/sigils.rb#10 Spoom::Sorbet::Sigils::STRICTNESS_IGNORE = T.let(T.unsafe(nil), String) -# source://spoom//lib/spoom/sorbet/sigils.rb#17 +# source://spoom//lib/spoom/sorbet/sigils.rb#15 Spoom::Sorbet::Sigils::STRICTNESS_INTERNAL = T.let(T.unsafe(nil), String) -# source://spoom//lib/spoom/sorbet/sigils.rb#15 +# source://spoom//lib/spoom/sorbet/sigils.rb#13 Spoom::Sorbet::Sigils::STRICTNESS_STRICT = T.let(T.unsafe(nil), String) -# source://spoom//lib/spoom/sorbet/sigils.rb#16 +# source://spoom//lib/spoom/sorbet/sigils.rb#14 Spoom::Sorbet::Sigils::STRICTNESS_STRONG = T.let(T.unsafe(nil), String) -# source://spoom//lib/spoom/sorbet/sigils.rb#14 +# source://spoom//lib/spoom/sorbet/sigils.rb#12 Spoom::Sorbet::Sigils::STRICTNESS_TRUE = T.let(T.unsafe(nil), String) -# source://spoom//lib/spoom/sorbet/sigils.rb#19 +# source://spoom//lib/spoom/sorbet/sigils.rb#17 Spoom::Sorbet::Sigils::VALID_STRICTNESS = T.let(T.unsafe(nil), Array) # source://spoom//lib/spoom/sorbet/sigs.rb#8 class Spoom::Sorbet::Sigs class << self - # source://spoom//lib/spoom/sorbet/sigs.rb#25 + # : (String ruby_contents) -> String + # + # source://spoom//lib/spoom/sorbet/sigs.rb#24 sig { params(ruby_contents: ::String).returns(::String) } def rbi_to_rbs(ruby_contents); end - # source://spoom//lib/spoom/sorbet/sigs.rb#13 + # : (String ruby_contents) -> String + # + # source://spoom//lib/spoom/sorbet/sigs.rb#45 + sig { params(ruby_contents: ::String).returns(::String) } + def rbs_to_rbi(ruby_contents); end + + # : (String ruby_contents) -> String + # + # source://spoom//lib/spoom/sorbet/sigs.rb#12 sig { params(ruby_contents: ::String).returns(::String) } def strip(ruby_contents); end private - # source://spoom//lib/spoom/sorbet/sigs.rb#48 + # : (String ruby_contents) -> Array[[RBI::RBSComment, (RBI::Method | RBI::Attr)]] + # + # source://spoom//lib/spoom/sorbet/sigs.rb#76 + sig { params(ruby_contents: ::String).returns(T::Array[[::RBI::RBSComment, T.any(::RBI::Attr, ::RBI::Method)]]) } + def collect_rbs_comments(ruby_contents); end + + # : (String ruby_contents) -> Array[[RBI::Sig, (RBI::Method | RBI::Attr)]] + # + # source://spoom//lib/spoom/sorbet/sigs.rb#68 sig { params(ruby_contents: ::String).returns(T::Array[[::RBI::Sig, T.any(::RBI::Attr, ::RBI::Method)]]) } - def collect_sigs(ruby_contents); end + def collect_sorbet_sigs(ruby_contents); end end end -# From https://github.com/Shopify/ruby-lsp/blob/9154bfc6ef/lib/ruby_lsp/document.rb#L127 -# -# source://spoom//lib/spoom/sorbet/sigs.rb#147 -class Spoom::Sorbet::Sigs::Scanner - # source://spoom//lib/spoom/sorbet/sigs.rb#153 - sig { params(source: ::String).void } - def initialize(source); end +# source://spoom//lib/spoom/sorbet/sigs.rb#9 +class Spoom::Sorbet::Sigs::Error < ::Spoom::Error; end - # Finds the character index inside the source string for a given line and column - # - # source://spoom//lib/spoom/sorbet/sigs.rb#161 - sig { params(line: ::Integer, character: ::Integer).returns(::Integer) } - def find_char_position(line, character); end -end - -# source://spoom//lib/spoom/sorbet/sigs.rb#150 -Spoom::Sorbet::Sigs::Scanner::LINE_BREAK = T.let(T.unsafe(nil), Integer) - -# source://spoom//lib/spoom/sorbet/sigs.rb#85 -class Spoom::Sorbet::Sigs::SigTranslator +# source://spoom//lib/spoom/sorbet/sigs.rb#119 +class Spoom::Sorbet::Sigs::RBIToRBSTranslator class << self - # source://spoom//lib/spoom/sorbet/sigs.rb#90 + # : (RBI::Sig sig, (RBI::Method | RBI::Attr) node) -> String + # + # source://spoom//lib/spoom/sorbet/sigs.rb#122 sig { params(sig: ::RBI::Sig, node: T.any(::RBI::Attr, ::RBI::Method)).returns(::String) } def translate(sig, node); end private - # source://spoom//lib/spoom/sorbet/sigs.rb#137 + # : (RBI::Sig sig, RBI::Attr node) -> String + # + # source://spoom//lib/spoom/sorbet/sigs.rb#169 sig { params(sig: ::RBI::Sig, node: ::RBI::Attr).returns(::String) } def translate_attr_sig(sig, node); end - # source://spoom//lib/spoom/sorbet/sigs.rb#102 + # : (RBI::Sig sig, RBI::Method node) -> String + # + # source://spoom//lib/spoom/sorbet/sigs.rb#134 sig { params(sig: ::RBI::Sig, node: ::RBI::Method).returns(::String) } def translate_method_sig(sig, node); end end end -# source://spoom//lib/spoom/sorbet/sigs.rb#56 +# source://spoom//lib/spoom/sorbet/sigs.rb#178 +class Spoom::Sorbet::Sigs::RBSToRBITranslator + class << self + # : (RBI::RBSComment comment, (RBI::Method | RBI::Attr) node) -> String + # + # source://spoom//lib/spoom/sorbet/sigs.rb#183 + sig { params(comment: ::RBI::RBSComment, node: T.any(::RBI::Attr, ::RBI::Method)).returns(::String) } + def translate(comment, node); end + + private + + # : (RBI::RBSComment comment, RBI::Attr node) -> String + # + # source://spoom//lib/spoom/sorbet/sigs.rb#222 + sig { params(comment: ::RBI::RBSComment, node: ::RBI::Attr).returns(::String) } + def translate_attr_sig(comment, node); end + + # : (RBI::RBSComment rbs_comment, RBI::Method node) -> String + # + # source://spoom//lib/spoom/sorbet/sigs.rb#195 + sig { params(rbs_comment: ::RBI::RBSComment, node: ::RBI::Method).returns(::String) } + def translate_method_sig(rbs_comment, node); end + end +end + +# From https://github.com/Shopify/ruby-lsp/blob/9154bfc6ef/lib/ruby_lsp/document.rb#L127 +# +# source://spoom//lib/spoom/sorbet/sigs.rb#242 +class Spoom::Sorbet::Sigs::Scanner + # : (String source) -> void + # + # @return [Scanner] a new instance of Scanner + # + # source://spoom//lib/spoom/sorbet/sigs.rb#246 + sig { params(source: ::String).void } + def initialize(source); end + + # Finds the character index inside the source string for a given line and column + # : (Integer line, Integer character) -> Integer + # + # source://spoom//lib/spoom/sorbet/sigs.rb#254 + # Finds the character index inside the source string for a given line and column + sig { params(line: ::Integer, character: ::Integer).returns(::Integer) } + def find_char_position(line, character); end +end + +# source://spoom//lib/spoom/sorbet/sigs.rb#243 +Spoom::Sorbet::Sigs::Scanner::LINE_BREAK = T.let(T.unsafe(nil), Integer) + +# source://spoom//lib/spoom/sorbet/sigs.rb#84 class Spoom::Sorbet::Sigs::SigsLocator < ::RBI::Visitor - # source://spoom//lib/spoom/sorbet/sigs.rb#63 + # : -> void + # + # @return [SigsLocator] a new instance of SigsLocator + # + # source://spoom//lib/spoom/sorbet/sigs.rb#92 sig { void } def initialize; end - # source://spoom//lib/spoom/sorbet/sigs.rb#60 + # : Array[[RBI::RBSComment, (RBI::Method | RBI::Attr)]] + # + # source://spoom//lib/spoom/sorbet/sigs.rb#89 + sig { returns(T::Array[[::RBI::RBSComment, T.any(::RBI::Attr, ::RBI::Method)]]) } + def rbs_comments; end + + # : Array[[RBI::Sig, (RBI::Method | RBI::Attr)]] + # + # source://spoom//lib/spoom/sorbet/sigs.rb#86 sig { returns(T::Array[[::RBI::Sig, T.any(::RBI::Attr, ::RBI::Method)]]) } def sigs; end - # source://spoom//lib/spoom/sorbet/sigs.rb#69 + # : (RBI::Node? node) -> void + # + # source://spoom//lib/spoom/sorbet/sigs.rb#100 sig { override.params(node: T.nilable(::RBI::Node)).void } def visit(node); end end # source://spoom//lib/spoom/timeline.rb#5 class Spoom::Timeline - # source://spoom//lib/spoom/timeline.rb#9 + # : (Context context, Time from, Time to) -> void + # + # @return [Timeline] a new instance of Timeline + # + # source://spoom//lib/spoom/timeline.rb#7 sig { params(context: ::Spoom::Context, from: ::Time, to: ::Time).void } def initialize(context, from, to); end # Return one commit for each date in `dates` + # : (Array[Time] dates) -> Array[Git::Commit] # - # source://spoom//lib/spoom/timeline.rb#36 + # source://spoom//lib/spoom/timeline.rb#34 + # Return one commit for each date in `dates` sig { params(dates: T::Array[::Time]).returns(T::Array[::Spoom::Git::Commit]) } def commits_for_dates(dates); end # Return all months between `from` and `to` + # : -> Array[Time] # - # source://spoom//lib/spoom/timeline.rb#23 + # source://spoom//lib/spoom/timeline.rb#21 + # Return all months between `from` and `to` sig { returns(T::Array[::Time]) } def months; end # Return one commit for each month between `from` and `to` + # : -> Array[Git::Commit] # - # source://spoom//lib/spoom/timeline.rb#17 + # source://spoom//lib/spoom/timeline.rb#15 + # Return one commit for each month between `from` and `to` sig { returns(T::Array[::Spoom::Git::Commit]) } def ticks; end end @@ -4428,599 +6372,897 @@ Spoom::VERSION = T.let(T.unsafe(nil), String) # source://spoom//lib/spoom/visitor.rb#7 class Spoom::Visitor < ::Prism::Visitor + # : (Prism::AliasGlobalVariableNode node) -> void + # # source://spoom//lib/spoom/visitor.rb#16 sig { override.params(node: ::Prism::AliasGlobalVariableNode).void } def visit_alias_global_variable_node(node); end - # source://spoom//lib/spoom/visitor.rb#21 + # : (Prism::AliasMethodNode node) -> void + # + # source://spoom//lib/spoom/visitor.rb#22 sig { override.params(node: ::Prism::AliasMethodNode).void } def visit_alias_method_node(node); end - # source://spoom//lib/spoom/visitor.rb#26 + # : (Prism::AlternationPatternNode node) -> void + # + # source://spoom//lib/spoom/visitor.rb#28 sig { override.params(node: ::Prism::AlternationPatternNode).void } def visit_alternation_pattern_node(node); end - # source://spoom//lib/spoom/visitor.rb#31 + # : (Prism::AndNode node) -> void + # + # source://spoom//lib/spoom/visitor.rb#34 sig { override.params(node: ::Prism::AndNode).void } def visit_and_node(node); end - # source://spoom//lib/spoom/visitor.rb#36 + # : (Prism::ArgumentsNode node) -> void + # + # source://spoom//lib/spoom/visitor.rb#40 sig { override.params(node: ::Prism::ArgumentsNode).void } def visit_arguments_node(node); end - # source://spoom//lib/spoom/visitor.rb#41 + # : (Prism::ArrayNode node) -> void + # + # source://spoom//lib/spoom/visitor.rb#46 sig { override.params(node: ::Prism::ArrayNode).void } def visit_array_node(node); end - # source://spoom//lib/spoom/visitor.rb#46 + # : (Prism::ArrayPatternNode node) -> void + # + # source://spoom//lib/spoom/visitor.rb#52 sig { override.params(node: ::Prism::ArrayPatternNode).void } def visit_array_pattern_node(node); end - # source://spoom//lib/spoom/visitor.rb#51 + # : (Prism::AssocNode node) -> void + # + # source://spoom//lib/spoom/visitor.rb#58 sig { override.params(node: ::Prism::AssocNode).void } def visit_assoc_node(node); end - # source://spoom//lib/spoom/visitor.rb#56 + # : (Prism::AssocSplatNode node) -> void + # + # source://spoom//lib/spoom/visitor.rb#64 sig { override.params(node: ::Prism::AssocSplatNode).void } def visit_assoc_splat_node(node); end - # source://spoom//lib/spoom/visitor.rb#61 + # : (Prism::BackReferenceReadNode node) -> void + # + # source://spoom//lib/spoom/visitor.rb#70 sig { override.params(node: ::Prism::BackReferenceReadNode).void } def visit_back_reference_read_node(node); end - # source://spoom//lib/spoom/visitor.rb#66 + # : (Prism::BeginNode node) -> void + # + # source://spoom//lib/spoom/visitor.rb#76 sig { override.params(node: ::Prism::BeginNode).void } def visit_begin_node(node); end - # source://spoom//lib/spoom/visitor.rb#71 + # : (Prism::BlockArgumentNode node) -> void + # + # source://spoom//lib/spoom/visitor.rb#82 sig { override.params(node: ::Prism::BlockArgumentNode).void } def visit_block_argument_node(node); end - # source://spoom//lib/spoom/visitor.rb#76 + # : (Prism::BlockLocalVariableNode node) -> void + # + # source://spoom//lib/spoom/visitor.rb#88 sig { override.params(node: ::Prism::BlockLocalVariableNode).void } def visit_block_local_variable_node(node); end - # source://spoom//lib/spoom/visitor.rb#81 + # : (Prism::BlockNode node) -> void + # + # source://spoom//lib/spoom/visitor.rb#94 sig { override.params(node: ::Prism::BlockNode).void } def visit_block_node(node); end - # source://spoom//lib/spoom/visitor.rb#86 + # : (Prism::BlockParameterNode node) -> void + # + # source://spoom//lib/spoom/visitor.rb#100 sig { override.params(node: ::Prism::BlockParameterNode).void } def visit_block_parameter_node(node); end - # source://spoom//lib/spoom/visitor.rb#91 + # : (Prism::BlockParametersNode node) -> void + # + # source://spoom//lib/spoom/visitor.rb#106 sig { override.params(node: ::Prism::BlockParametersNode).void } def visit_block_parameters_node(node); end - # source://spoom//lib/spoom/visitor.rb#96 + # : (Prism::BreakNode node) -> void + # + # source://spoom//lib/spoom/visitor.rb#112 sig { override.params(node: ::Prism::BreakNode).void } def visit_break_node(node); end - # source://spoom//lib/spoom/visitor.rb#101 + # : (Prism::CallAndWriteNode node) -> void + # + # source://spoom//lib/spoom/visitor.rb#118 sig { override.params(node: ::Prism::CallAndWriteNode).void } def visit_call_and_write_node(node); end - # source://spoom//lib/spoom/visitor.rb#106 + # : (Prism::CallNode node) -> void + # + # source://spoom//lib/spoom/visitor.rb#124 sig { override.params(node: ::Prism::CallNode).void } def visit_call_node(node); end - # source://spoom//lib/spoom/visitor.rb#111 + # : (Prism::CallOperatorWriteNode node) -> void + # + # source://spoom//lib/spoom/visitor.rb#130 sig { override.params(node: ::Prism::CallOperatorWriteNode).void } def visit_call_operator_write_node(node); end - # source://spoom//lib/spoom/visitor.rb#116 + # : (Prism::CallOrWriteNode node) -> void + # + # source://spoom//lib/spoom/visitor.rb#136 sig { override.params(node: ::Prism::CallOrWriteNode).void } def visit_call_or_write_node(node); end - # source://spoom//lib/spoom/visitor.rb#121 + # : (Prism::CallTargetNode node) -> void + # + # source://spoom//lib/spoom/visitor.rb#142 sig { override.params(node: ::Prism::CallTargetNode).void } def visit_call_target_node(node); end - # source://spoom//lib/spoom/visitor.rb#126 + # : (Prism::CapturePatternNode node) -> void + # + # source://spoom//lib/spoom/visitor.rb#148 sig { override.params(node: ::Prism::CapturePatternNode).void } def visit_capture_pattern_node(node); end - # source://spoom//lib/spoom/visitor.rb#131 + # : (Prism::CaseMatchNode node) -> void + # + # source://spoom//lib/spoom/visitor.rb#154 sig { override.params(node: ::Prism::CaseMatchNode).void } def visit_case_match_node(node); end - # source://spoom//lib/spoom/visitor.rb#136 + # : (Prism::CaseNode node) -> void + # + # source://spoom//lib/spoom/visitor.rb#160 sig { override.params(node: ::Prism::CaseNode).void } def visit_case_node(node); end - # source://spoom//lib/spoom/visitor.rb#11 + # : (Prism::Node node) -> void + # + # source://spoom//lib/spoom/visitor.rb#10 sig { override.params(node: ::Prism::Node).void } def visit_child_nodes(node); end - # source://spoom//lib/spoom/visitor.rb#141 + # : (Prism::ClassNode node) -> void + # + # source://spoom//lib/spoom/visitor.rb#166 sig { override.params(node: ::Prism::ClassNode).void } def visit_class_node(node); end - # source://spoom//lib/spoom/visitor.rb#146 + # : (Prism::ClassVariableAndWriteNode node) -> void + # + # source://spoom//lib/spoom/visitor.rb#172 sig { override.params(node: ::Prism::ClassVariableAndWriteNode).void } def visit_class_variable_and_write_node(node); end - # source://spoom//lib/spoom/visitor.rb#151 + # : (Prism::ClassVariableOperatorWriteNode node) -> void + # + # source://spoom//lib/spoom/visitor.rb#178 sig { override.params(node: ::Prism::ClassVariableOperatorWriteNode).void } def visit_class_variable_operator_write_node(node); end - # source://spoom//lib/spoom/visitor.rb#156 + # : (Prism::ClassVariableOrWriteNode node) -> void + # + # source://spoom//lib/spoom/visitor.rb#184 sig { override.params(node: ::Prism::ClassVariableOrWriteNode).void } def visit_class_variable_or_write_node(node); end - # source://spoom//lib/spoom/visitor.rb#161 + # : (Prism::ClassVariableReadNode node) -> void + # + # source://spoom//lib/spoom/visitor.rb#190 sig { override.params(node: ::Prism::ClassVariableReadNode).void } def visit_class_variable_read_node(node); end - # source://spoom//lib/spoom/visitor.rb#166 + # : (Prism::ClassVariableTargetNode node) -> void + # + # source://spoom//lib/spoom/visitor.rb#196 sig { override.params(node: ::Prism::ClassVariableTargetNode).void } def visit_class_variable_target_node(node); end - # source://spoom//lib/spoom/visitor.rb#171 + # : (Prism::ClassVariableWriteNode node) -> void + # + # source://spoom//lib/spoom/visitor.rb#202 sig { override.params(node: ::Prism::ClassVariableWriteNode).void } def visit_class_variable_write_node(node); end - # source://spoom//lib/spoom/visitor.rb#176 + # : (Prism::ConstantAndWriteNode node) -> void + # + # source://spoom//lib/spoom/visitor.rb#208 sig { override.params(node: ::Prism::ConstantAndWriteNode).void } def visit_constant_and_write_node(node); end - # source://spoom//lib/spoom/visitor.rb#181 + # : (Prism::ConstantOperatorWriteNode node) -> void + # + # source://spoom//lib/spoom/visitor.rb#214 sig { override.params(node: ::Prism::ConstantOperatorWriteNode).void } def visit_constant_operator_write_node(node); end - # source://spoom//lib/spoom/visitor.rb#186 + # : (Prism::ConstantOrWriteNode node) -> void + # + # source://spoom//lib/spoom/visitor.rb#220 sig { override.params(node: ::Prism::ConstantOrWriteNode).void } def visit_constant_or_write_node(node); end - # source://spoom//lib/spoom/visitor.rb#191 + # : (Prism::ConstantPathAndWriteNode node) -> void + # + # source://spoom//lib/spoom/visitor.rb#226 sig { override.params(node: ::Prism::ConstantPathAndWriteNode).void } def visit_constant_path_and_write_node(node); end - # source://spoom//lib/spoom/visitor.rb#196 + # : (Prism::ConstantPathNode node) -> void + # + # source://spoom//lib/spoom/visitor.rb#232 sig { override.params(node: ::Prism::ConstantPathNode).void } def visit_constant_path_node(node); end - # source://spoom//lib/spoom/visitor.rb#201 + # : (Prism::ConstantPathOperatorWriteNode node) -> void + # + # source://spoom//lib/spoom/visitor.rb#238 sig { override.params(node: ::Prism::ConstantPathOperatorWriteNode).void } def visit_constant_path_operator_write_node(node); end - # source://spoom//lib/spoom/visitor.rb#206 + # : (Prism::ConstantPathOrWriteNode node) -> void + # + # source://spoom//lib/spoom/visitor.rb#244 sig { override.params(node: ::Prism::ConstantPathOrWriteNode).void } def visit_constant_path_or_write_node(node); end - # source://spoom//lib/spoom/visitor.rb#211 + # : (Prism::ConstantPathTargetNode node) -> void + # + # source://spoom//lib/spoom/visitor.rb#250 sig { override.params(node: ::Prism::ConstantPathTargetNode).void } def visit_constant_path_target_node(node); end - # source://spoom//lib/spoom/visitor.rb#216 + # : (Prism::ConstantPathWriteNode node) -> void + # + # source://spoom//lib/spoom/visitor.rb#256 sig { override.params(node: ::Prism::ConstantPathWriteNode).void } def visit_constant_path_write_node(node); end - # source://spoom//lib/spoom/visitor.rb#221 + # : (Prism::ConstantReadNode node) -> void + # + # source://spoom//lib/spoom/visitor.rb#262 sig { override.params(node: ::Prism::ConstantReadNode).void } def visit_constant_read_node(node); end - # source://spoom//lib/spoom/visitor.rb#226 + # : (Prism::ConstantTargetNode node) -> void + # + # source://spoom//lib/spoom/visitor.rb#268 sig { override.params(node: ::Prism::ConstantTargetNode).void } def visit_constant_target_node(node); end - # source://spoom//lib/spoom/visitor.rb#231 + # : (Prism::ConstantWriteNode node) -> void + # + # source://spoom//lib/spoom/visitor.rb#274 sig { override.params(node: ::Prism::ConstantWriteNode).void } def visit_constant_write_node(node); end - # source://spoom//lib/spoom/visitor.rb#236 + # : (Prism::DefNode node) -> void + # + # source://spoom//lib/spoom/visitor.rb#280 sig { override.params(node: ::Prism::DefNode).void } def visit_def_node(node); end - # source://spoom//lib/spoom/visitor.rb#241 + # : (Prism::DefinedNode node) -> void + # + # source://spoom//lib/spoom/visitor.rb#286 sig { override.params(node: ::Prism::DefinedNode).void } def visit_defined_node(node); end - # source://spoom//lib/spoom/visitor.rb#246 + # : (Prism::ElseNode node) -> void + # + # source://spoom//lib/spoom/visitor.rb#292 sig { override.params(node: ::Prism::ElseNode).void } def visit_else_node(node); end - # source://spoom//lib/spoom/visitor.rb#251 + # : (Prism::EmbeddedStatementsNode node) -> void + # + # source://spoom//lib/spoom/visitor.rb#298 sig { override.params(node: ::Prism::EmbeddedStatementsNode).void } def visit_embedded_statements_node(node); end - # source://spoom//lib/spoom/visitor.rb#256 + # : (Prism::EmbeddedVariableNode node) -> void + # + # source://spoom//lib/spoom/visitor.rb#304 sig { override.params(node: ::Prism::EmbeddedVariableNode).void } def visit_embedded_variable_node(node); end - # source://spoom//lib/spoom/visitor.rb#261 + # : (Prism::EnsureNode node) -> void + # + # source://spoom//lib/spoom/visitor.rb#310 sig { override.params(node: ::Prism::EnsureNode).void } def visit_ensure_node(node); end - # source://spoom//lib/spoom/visitor.rb#266 + # : (Prism::FalseNode node) -> void + # + # source://spoom//lib/spoom/visitor.rb#316 sig { override.params(node: ::Prism::FalseNode).void } def visit_false_node(node); end - # source://spoom//lib/spoom/visitor.rb#271 + # : (Prism::FindPatternNode node) -> void + # + # source://spoom//lib/spoom/visitor.rb#322 sig { override.params(node: ::Prism::FindPatternNode).void } def visit_find_pattern_node(node); end - # source://spoom//lib/spoom/visitor.rb#276 + # : (Prism::FlipFlopNode node) -> void + # + # source://spoom//lib/spoom/visitor.rb#328 sig { override.params(node: ::Prism::FlipFlopNode).void } def visit_flip_flop_node(node); end - # source://spoom//lib/spoom/visitor.rb#281 + # : (Prism::FloatNode node) -> void + # + # source://spoom//lib/spoom/visitor.rb#334 sig { override.params(node: ::Prism::FloatNode).void } def visit_float_node(node); end - # source://spoom//lib/spoom/visitor.rb#286 + # : (Prism::ForNode node) -> void + # + # source://spoom//lib/spoom/visitor.rb#340 sig { override.params(node: ::Prism::ForNode).void } def visit_for_node(node); end - # source://spoom//lib/spoom/visitor.rb#291 + # : (Prism::ForwardingArgumentsNode node) -> void + # + # source://spoom//lib/spoom/visitor.rb#346 sig { override.params(node: ::Prism::ForwardingArgumentsNode).void } def visit_forwarding_arguments_node(node); end - # source://spoom//lib/spoom/visitor.rb#296 + # : (Prism::ForwardingParameterNode node) -> void + # + # source://spoom//lib/spoom/visitor.rb#352 sig { override.params(node: ::Prism::ForwardingParameterNode).void } def visit_forwarding_parameter_node(node); end - # source://spoom//lib/spoom/visitor.rb#301 + # : (Prism::ForwardingSuperNode node) -> void + # + # source://spoom//lib/spoom/visitor.rb#358 sig { override.params(node: ::Prism::ForwardingSuperNode).void } def visit_forwarding_super_node(node); end - # source://spoom//lib/spoom/visitor.rb#306 + # : (Prism::GlobalVariableAndWriteNode node) -> void + # + # source://spoom//lib/spoom/visitor.rb#364 sig { override.params(node: ::Prism::GlobalVariableAndWriteNode).void } def visit_global_variable_and_write_node(node); end - # source://spoom//lib/spoom/visitor.rb#311 + # : (Prism::GlobalVariableOperatorWriteNode node) -> void + # + # source://spoom//lib/spoom/visitor.rb#370 sig { override.params(node: ::Prism::GlobalVariableOperatorWriteNode).void } def visit_global_variable_operator_write_node(node); end - # source://spoom//lib/spoom/visitor.rb#316 + # : (Prism::GlobalVariableOrWriteNode node) -> void + # + # source://spoom//lib/spoom/visitor.rb#376 sig { override.params(node: ::Prism::GlobalVariableOrWriteNode).void } def visit_global_variable_or_write_node(node); end - # source://spoom//lib/spoom/visitor.rb#321 + # : (Prism::GlobalVariableReadNode node) -> void + # + # source://spoom//lib/spoom/visitor.rb#382 sig { override.params(node: ::Prism::GlobalVariableReadNode).void } def visit_global_variable_read_node(node); end - # source://spoom//lib/spoom/visitor.rb#326 + # : (Prism::GlobalVariableTargetNode node) -> void + # + # source://spoom//lib/spoom/visitor.rb#388 sig { override.params(node: ::Prism::GlobalVariableTargetNode).void } def visit_global_variable_target_node(node); end - # source://spoom//lib/spoom/visitor.rb#331 + # : (Prism::GlobalVariableWriteNode node) -> void + # + # source://spoom//lib/spoom/visitor.rb#394 sig { override.params(node: ::Prism::GlobalVariableWriteNode).void } def visit_global_variable_write_node(node); end - # source://spoom//lib/spoom/visitor.rb#336 + # : (Prism::HashNode node) -> void + # + # source://spoom//lib/spoom/visitor.rb#400 sig { override.params(node: ::Prism::HashNode).void } def visit_hash_node(node); end - # source://spoom//lib/spoom/visitor.rb#341 + # : (Prism::HashPatternNode node) -> void + # + # source://spoom//lib/spoom/visitor.rb#406 sig { override.params(node: ::Prism::HashPatternNode).void } def visit_hash_pattern_node(node); end - # source://spoom//lib/spoom/visitor.rb#346 + # : (Prism::IfNode node) -> void + # + # source://spoom//lib/spoom/visitor.rb#412 sig { override.params(node: ::Prism::IfNode).void } def visit_if_node(node); end - # source://spoom//lib/spoom/visitor.rb#351 + # : (Prism::ImaginaryNode node) -> void + # + # source://spoom//lib/spoom/visitor.rb#418 sig { override.params(node: ::Prism::ImaginaryNode).void } def visit_imaginary_node(node); end - # source://spoom//lib/spoom/visitor.rb#356 + # : (Prism::ImplicitNode node) -> void + # + # source://spoom//lib/spoom/visitor.rb#424 sig { override.params(node: ::Prism::ImplicitNode).void } def visit_implicit_node(node); end - # source://spoom//lib/spoom/visitor.rb#361 + # : (Prism::ImplicitRestNode node) -> void + # + # source://spoom//lib/spoom/visitor.rb#430 sig { override.params(node: ::Prism::ImplicitRestNode).void } def visit_implicit_rest_node(node); end - # source://spoom//lib/spoom/visitor.rb#366 + # : (Prism::InNode node) -> void + # + # source://spoom//lib/spoom/visitor.rb#436 sig { override.params(node: ::Prism::InNode).void } def visit_in_node(node); end - # source://spoom//lib/spoom/visitor.rb#371 + # : (Prism::IndexAndWriteNode node) -> void + # + # source://spoom//lib/spoom/visitor.rb#442 sig { override.params(node: ::Prism::IndexAndWriteNode).void } def visit_index_and_write_node(node); end - # source://spoom//lib/spoom/visitor.rb#376 + # : (Prism::IndexOperatorWriteNode node) -> void + # + # source://spoom//lib/spoom/visitor.rb#448 sig { override.params(node: ::Prism::IndexOperatorWriteNode).void } def visit_index_operator_write_node(node); end - # source://spoom//lib/spoom/visitor.rb#381 + # : (Prism::IndexOrWriteNode node) -> void + # + # source://spoom//lib/spoom/visitor.rb#454 sig { override.params(node: ::Prism::IndexOrWriteNode).void } def visit_index_or_write_node(node); end - # source://spoom//lib/spoom/visitor.rb#386 + # : (Prism::IndexTargetNode node) -> void + # + # source://spoom//lib/spoom/visitor.rb#460 sig { override.params(node: ::Prism::IndexTargetNode).void } def visit_index_target_node(node); end - # source://spoom//lib/spoom/visitor.rb#391 + # : (Prism::InstanceVariableAndWriteNode node) -> void + # + # source://spoom//lib/spoom/visitor.rb#466 sig { override.params(node: ::Prism::InstanceVariableAndWriteNode).void } def visit_instance_variable_and_write_node(node); end - # source://spoom//lib/spoom/visitor.rb#396 + # : (Prism::InstanceVariableOperatorWriteNode node) -> void + # + # source://spoom//lib/spoom/visitor.rb#472 sig { override.params(node: ::Prism::InstanceVariableOperatorWriteNode).void } def visit_instance_variable_operator_write_node(node); end - # source://spoom//lib/spoom/visitor.rb#401 + # : (Prism::InstanceVariableOrWriteNode node) -> void + # + # source://spoom//lib/spoom/visitor.rb#478 sig { override.params(node: ::Prism::InstanceVariableOrWriteNode).void } def visit_instance_variable_or_write_node(node); end - # source://spoom//lib/spoom/visitor.rb#406 + # : (Prism::InstanceVariableReadNode node) -> void + # + # source://spoom//lib/spoom/visitor.rb#484 sig { override.params(node: ::Prism::InstanceVariableReadNode).void } def visit_instance_variable_read_node(node); end - # source://spoom//lib/spoom/visitor.rb#411 + # : (Prism::InstanceVariableTargetNode node) -> void + # + # source://spoom//lib/spoom/visitor.rb#490 sig { override.params(node: ::Prism::InstanceVariableTargetNode).void } def visit_instance_variable_target_node(node); end - # source://spoom//lib/spoom/visitor.rb#416 + # : (Prism::InstanceVariableWriteNode node) -> void + # + # source://spoom//lib/spoom/visitor.rb#496 sig { override.params(node: ::Prism::InstanceVariableWriteNode).void } def visit_instance_variable_write_node(node); end - # source://spoom//lib/spoom/visitor.rb#421 + # : (Prism::IntegerNode node) -> void + # + # source://spoom//lib/spoom/visitor.rb#502 sig { override.params(node: ::Prism::IntegerNode).void } def visit_integer_node(node); end - # source://spoom//lib/spoom/visitor.rb#426 + # : (Prism::InterpolatedMatchLastLineNode node) -> void + # + # source://spoom//lib/spoom/visitor.rb#508 sig { override.params(node: ::Prism::InterpolatedMatchLastLineNode).void } def visit_interpolated_match_last_line_node(node); end - # source://spoom//lib/spoom/visitor.rb#431 + # : (Prism::InterpolatedRegularExpressionNode node) -> void + # + # source://spoom//lib/spoom/visitor.rb#514 sig { override.params(node: ::Prism::InterpolatedRegularExpressionNode).void } def visit_interpolated_regular_expression_node(node); end - # source://spoom//lib/spoom/visitor.rb#436 + # : (Prism::InterpolatedStringNode node) -> void + # + # source://spoom//lib/spoom/visitor.rb#520 sig { override.params(node: ::Prism::InterpolatedStringNode).void } def visit_interpolated_string_node(node); end - # source://spoom//lib/spoom/visitor.rb#441 + # : (Prism::InterpolatedSymbolNode node) -> void + # + # source://spoom//lib/spoom/visitor.rb#526 sig { override.params(node: ::Prism::InterpolatedSymbolNode).void } def visit_interpolated_symbol_node(node); end - # source://spoom//lib/spoom/visitor.rb#446 + # : (Prism::InterpolatedXStringNode node) -> void + # + # source://spoom//lib/spoom/visitor.rb#532 sig { override.params(node: ::Prism::InterpolatedXStringNode).void } def visit_interpolated_x_string_node(node); end - # source://spoom//lib/spoom/visitor.rb#451 + # : (Prism::KeywordHashNode node) -> void + # + # source://spoom//lib/spoom/visitor.rb#538 sig { override.params(node: ::Prism::KeywordHashNode).void } def visit_keyword_hash_node(node); end - # source://spoom//lib/spoom/visitor.rb#456 + # : (Prism::KeywordRestParameterNode node) -> void + # + # source://spoom//lib/spoom/visitor.rb#544 sig { override.params(node: ::Prism::KeywordRestParameterNode).void } def visit_keyword_rest_parameter_node(node); end - # source://spoom//lib/spoom/visitor.rb#461 + # : (Prism::LambdaNode node) -> void + # + # source://spoom//lib/spoom/visitor.rb#550 sig { override.params(node: ::Prism::LambdaNode).void } def visit_lambda_node(node); end - # source://spoom//lib/spoom/visitor.rb#466 + # : (Prism::LocalVariableAndWriteNode node) -> void + # + # source://spoom//lib/spoom/visitor.rb#556 sig { override.params(node: ::Prism::LocalVariableAndWriteNode).void } def visit_local_variable_and_write_node(node); end - # source://spoom//lib/spoom/visitor.rb#471 + # : (Prism::LocalVariableOperatorWriteNode node) -> void + # + # source://spoom//lib/spoom/visitor.rb#562 sig { override.params(node: ::Prism::LocalVariableOperatorWriteNode).void } def visit_local_variable_operator_write_node(node); end - # source://spoom//lib/spoom/visitor.rb#476 + # : (Prism::LocalVariableOrWriteNode node) -> void + # + # source://spoom//lib/spoom/visitor.rb#568 sig { override.params(node: ::Prism::LocalVariableOrWriteNode).void } def visit_local_variable_or_write_node(node); end - # source://spoom//lib/spoom/visitor.rb#481 + # : (Prism::LocalVariableReadNode node) -> void + # + # source://spoom//lib/spoom/visitor.rb#574 sig { override.params(node: ::Prism::LocalVariableReadNode).void } def visit_local_variable_read_node(node); end - # source://spoom//lib/spoom/visitor.rb#486 + # : (Prism::LocalVariableTargetNode node) -> void + # + # source://spoom//lib/spoom/visitor.rb#580 sig { override.params(node: ::Prism::LocalVariableTargetNode).void } def visit_local_variable_target_node(node); end - # source://spoom//lib/spoom/visitor.rb#491 + # : (Prism::LocalVariableWriteNode node) -> void + # + # source://spoom//lib/spoom/visitor.rb#586 sig { override.params(node: ::Prism::LocalVariableWriteNode).void } def visit_local_variable_write_node(node); end - # source://spoom//lib/spoom/visitor.rb#496 + # : (Prism::MatchLastLineNode node) -> void + # + # source://spoom//lib/spoom/visitor.rb#592 sig { override.params(node: ::Prism::MatchLastLineNode).void } def visit_match_last_line_node(node); end - # source://spoom//lib/spoom/visitor.rb#501 + # : (Prism::MatchPredicateNode node) -> void + # + # source://spoom//lib/spoom/visitor.rb#598 sig { override.params(node: ::Prism::MatchPredicateNode).void } def visit_match_predicate_node(node); end - # source://spoom//lib/spoom/visitor.rb#506 + # : (Prism::MatchRequiredNode node) -> void + # + # source://spoom//lib/spoom/visitor.rb#604 sig { override.params(node: ::Prism::MatchRequiredNode).void } def visit_match_required_node(node); end - # source://spoom//lib/spoom/visitor.rb#511 + # : (Prism::MatchWriteNode node) -> void + # + # source://spoom//lib/spoom/visitor.rb#610 sig { override.params(node: ::Prism::MatchWriteNode).void } def visit_match_write_node(node); end - # source://spoom//lib/spoom/visitor.rb#516 + # : (Prism::MissingNode node) -> void + # + # source://spoom//lib/spoom/visitor.rb#616 sig { override.params(node: ::Prism::MissingNode).void } def visit_missing_node(node); end - # source://spoom//lib/spoom/visitor.rb#521 + # : (Prism::ModuleNode node) -> void + # + # source://spoom//lib/spoom/visitor.rb#622 sig { override.params(node: ::Prism::ModuleNode).void } def visit_module_node(node); end - # source://spoom//lib/spoom/visitor.rb#526 + # : (Prism::MultiTargetNode node) -> void + # + # source://spoom//lib/spoom/visitor.rb#628 sig { override.params(node: ::Prism::MultiTargetNode).void } def visit_multi_target_node(node); end - # source://spoom//lib/spoom/visitor.rb#531 + # : (Prism::MultiWriteNode node) -> void + # + # source://spoom//lib/spoom/visitor.rb#634 sig { override.params(node: ::Prism::MultiWriteNode).void } def visit_multi_write_node(node); end - # source://spoom//lib/spoom/visitor.rb#536 + # : (Prism::NextNode node) -> void + # + # source://spoom//lib/spoom/visitor.rb#640 sig { override.params(node: ::Prism::NextNode).void } def visit_next_node(node); end - # source://spoom//lib/spoom/visitor.rb#541 + # : (Prism::NilNode node) -> void + # + # source://spoom//lib/spoom/visitor.rb#646 sig { override.params(node: ::Prism::NilNode).void } def visit_nil_node(node); end - # source://spoom//lib/spoom/visitor.rb#546 + # : (Prism::NoKeywordsParameterNode node) -> void + # + # source://spoom//lib/spoom/visitor.rb#652 sig { override.params(node: ::Prism::NoKeywordsParameterNode).void } def visit_no_keywords_parameter_node(node); end - # source://spoom//lib/spoom/visitor.rb#551 + # : (Prism::NumberedParametersNode node) -> void + # + # source://spoom//lib/spoom/visitor.rb#658 sig { override.params(node: ::Prism::NumberedParametersNode).void } def visit_numbered_parameters_node(node); end - # source://spoom//lib/spoom/visitor.rb#556 + # : (Prism::NumberedReferenceReadNode node) -> void + # + # source://spoom//lib/spoom/visitor.rb#664 sig { override.params(node: ::Prism::NumberedReferenceReadNode).void } def visit_numbered_reference_read_node(node); end - # source://spoom//lib/spoom/visitor.rb#561 + # : (Prism::OptionalKeywordParameterNode node) -> void + # + # source://spoom//lib/spoom/visitor.rb#670 sig { override.params(node: ::Prism::OptionalKeywordParameterNode).void } def visit_optional_keyword_parameter_node(node); end - # source://spoom//lib/spoom/visitor.rb#566 + # : (Prism::OptionalParameterNode node) -> void + # + # source://spoom//lib/spoom/visitor.rb#676 sig { override.params(node: ::Prism::OptionalParameterNode).void } def visit_optional_parameter_node(node); end - # source://spoom//lib/spoom/visitor.rb#571 + # : (Prism::OrNode node) -> void + # + # source://spoom//lib/spoom/visitor.rb#682 sig { override.params(node: ::Prism::OrNode).void } def visit_or_node(node); end - # source://spoom//lib/spoom/visitor.rb#576 + # : (Prism::ParametersNode node) -> void + # + # source://spoom//lib/spoom/visitor.rb#688 sig { override.params(node: ::Prism::ParametersNode).void } def visit_parameters_node(node); end - # source://spoom//lib/spoom/visitor.rb#581 + # : (Prism::ParenthesesNode node) -> void + # + # source://spoom//lib/spoom/visitor.rb#694 sig { override.params(node: ::Prism::ParenthesesNode).void } def visit_parentheses_node(node); end - # source://spoom//lib/spoom/visitor.rb#586 + # : (Prism::PinnedExpressionNode node) -> void + # + # source://spoom//lib/spoom/visitor.rb#700 sig { override.params(node: ::Prism::PinnedExpressionNode).void } def visit_pinned_expression_node(node); end - # source://spoom//lib/spoom/visitor.rb#591 + # : (Prism::PinnedVariableNode node) -> void + # + # source://spoom//lib/spoom/visitor.rb#706 sig { override.params(node: ::Prism::PinnedVariableNode).void } def visit_pinned_variable_node(node); end - # source://spoom//lib/spoom/visitor.rb#596 + # : (Prism::PostExecutionNode node) -> void + # + # source://spoom//lib/spoom/visitor.rb#712 sig { override.params(node: ::Prism::PostExecutionNode).void } def visit_post_execution_node(node); end - # source://spoom//lib/spoom/visitor.rb#601 + # : (Prism::PreExecutionNode node) -> void + # + # source://spoom//lib/spoom/visitor.rb#718 sig { override.params(node: ::Prism::PreExecutionNode).void } def visit_pre_execution_node(node); end - # source://spoom//lib/spoom/visitor.rb#606 + # : (Prism::ProgramNode node) -> void + # + # source://spoom//lib/spoom/visitor.rb#724 sig { override.params(node: ::Prism::ProgramNode).void } def visit_program_node(node); end - # source://spoom//lib/spoom/visitor.rb#611 + # : (Prism::RangeNode node) -> void + # + # source://spoom//lib/spoom/visitor.rb#730 sig { override.params(node: ::Prism::RangeNode).void } def visit_range_node(node); end - # source://spoom//lib/spoom/visitor.rb#616 + # : (Prism::RationalNode node) -> void + # + # source://spoom//lib/spoom/visitor.rb#736 sig { override.params(node: ::Prism::RationalNode).void } def visit_rational_node(node); end - # source://spoom//lib/spoom/visitor.rb#621 + # : (Prism::RedoNode node) -> void + # + # source://spoom//lib/spoom/visitor.rb#742 sig { override.params(node: ::Prism::RedoNode).void } def visit_redo_node(node); end - # source://spoom//lib/spoom/visitor.rb#626 + # : (Prism::RegularExpressionNode node) -> void + # + # source://spoom//lib/spoom/visitor.rb#748 sig { override.params(node: ::Prism::RegularExpressionNode).void } def visit_regular_expression_node(node); end - # source://spoom//lib/spoom/visitor.rb#631 + # : (Prism::RequiredKeywordParameterNode node) -> void + # + # source://spoom//lib/spoom/visitor.rb#754 sig { override.params(node: ::Prism::RequiredKeywordParameterNode).void } def visit_required_keyword_parameter_node(node); end - # source://spoom//lib/spoom/visitor.rb#636 + # : (Prism::RequiredParameterNode node) -> void + # + # source://spoom//lib/spoom/visitor.rb#760 sig { override.params(node: ::Prism::RequiredParameterNode).void } def visit_required_parameter_node(node); end - # source://spoom//lib/spoom/visitor.rb#641 + # : (Prism::RescueModifierNode node) -> void + # + # source://spoom//lib/spoom/visitor.rb#766 sig { override.params(node: ::Prism::RescueModifierNode).void } def visit_rescue_modifier_node(node); end - # source://spoom//lib/spoom/visitor.rb#646 + # : (Prism::RescueNode node) -> void + # + # source://spoom//lib/spoom/visitor.rb#772 sig { override.params(node: ::Prism::RescueNode).void } def visit_rescue_node(node); end - # source://spoom//lib/spoom/visitor.rb#651 + # : (Prism::RestParameterNode node) -> void + # + # source://spoom//lib/spoom/visitor.rb#778 sig { override.params(node: ::Prism::RestParameterNode).void } def visit_rest_parameter_node(node); end - # source://spoom//lib/spoom/visitor.rb#656 + # : (Prism::RetryNode node) -> void + # + # source://spoom//lib/spoom/visitor.rb#784 sig { override.params(node: ::Prism::RetryNode).void } def visit_retry_node(node); end - # source://spoom//lib/spoom/visitor.rb#661 + # : (Prism::ReturnNode node) -> void + # + # source://spoom//lib/spoom/visitor.rb#790 sig { override.params(node: ::Prism::ReturnNode).void } def visit_return_node(node); end - # source://spoom//lib/spoom/visitor.rb#666 + # : (Prism::SelfNode node) -> void + # + # source://spoom//lib/spoom/visitor.rb#796 sig { override.params(node: ::Prism::SelfNode).void } def visit_self_node(node); end - # source://spoom//lib/spoom/visitor.rb#671 + # : (Prism::SingletonClassNode node) -> void + # + # source://spoom//lib/spoom/visitor.rb#802 sig { override.params(node: ::Prism::SingletonClassNode).void } def visit_singleton_class_node(node); end - # source://spoom//lib/spoom/visitor.rb#676 + # : (Prism::SourceEncodingNode node) -> void + # + # source://spoom//lib/spoom/visitor.rb#808 sig { override.params(node: ::Prism::SourceEncodingNode).void } def visit_source_encoding_node(node); end - # source://spoom//lib/spoom/visitor.rb#681 + # : (Prism::SourceFileNode node) -> void + # + # source://spoom//lib/spoom/visitor.rb#814 sig { override.params(node: ::Prism::SourceFileNode).void } def visit_source_file_node(node); end - # source://spoom//lib/spoom/visitor.rb#686 + # : (Prism::SourceLineNode node) -> void + # + # source://spoom//lib/spoom/visitor.rb#820 sig { override.params(node: ::Prism::SourceLineNode).void } def visit_source_line_node(node); end - # source://spoom//lib/spoom/visitor.rb#691 + # : (Prism::SplatNode node) -> void + # + # source://spoom//lib/spoom/visitor.rb#826 sig { override.params(node: ::Prism::SplatNode).void } def visit_splat_node(node); end - # source://spoom//lib/spoom/visitor.rb#696 + # : (Prism::StatementsNode node) -> void + # + # source://spoom//lib/spoom/visitor.rb#832 sig { override.params(node: ::Prism::StatementsNode).void } def visit_statements_node(node); end - # source://spoom//lib/spoom/visitor.rb#701 + # : (Prism::StringNode node) -> void + # + # source://spoom//lib/spoom/visitor.rb#838 sig { override.params(node: ::Prism::StringNode).void } def visit_string_node(node); end - # source://spoom//lib/spoom/visitor.rb#706 + # : (Prism::SuperNode node) -> void + # + # source://spoom//lib/spoom/visitor.rb#844 sig { override.params(node: ::Prism::SuperNode).void } def visit_super_node(node); end - # source://spoom//lib/spoom/visitor.rb#711 + # : (Prism::SymbolNode node) -> void + # + # source://spoom//lib/spoom/visitor.rb#850 sig { override.params(node: ::Prism::SymbolNode).void } def visit_symbol_node(node); end - # source://spoom//lib/spoom/visitor.rb#716 + # : (Prism::TrueNode node) -> void + # + # source://spoom//lib/spoom/visitor.rb#856 sig { override.params(node: ::Prism::TrueNode).void } def visit_true_node(node); end - # source://spoom//lib/spoom/visitor.rb#721 + # : (Prism::UndefNode node) -> void + # + # source://spoom//lib/spoom/visitor.rb#862 sig { override.params(node: ::Prism::UndefNode).void } def visit_undef_node(node); end - # source://spoom//lib/spoom/visitor.rb#726 + # : (Prism::UnlessNode node) -> void + # + # source://spoom//lib/spoom/visitor.rb#868 sig { override.params(node: ::Prism::UnlessNode).void } def visit_unless_node(node); end - # source://spoom//lib/spoom/visitor.rb#731 + # : (Prism::UntilNode node) -> void + # + # source://spoom//lib/spoom/visitor.rb#874 sig { override.params(node: ::Prism::UntilNode).void } def visit_until_node(node); end - # source://spoom//lib/spoom/visitor.rb#736 + # : (Prism::WhenNode node) -> void + # + # source://spoom//lib/spoom/visitor.rb#880 sig { override.params(node: ::Prism::WhenNode).void } def visit_when_node(node); end - # source://spoom//lib/spoom/visitor.rb#741 + # : (Prism::WhileNode node) -> void + # + # source://spoom//lib/spoom/visitor.rb#886 sig { override.params(node: ::Prism::WhileNode).void } def visit_while_node(node); end - # source://spoom//lib/spoom/visitor.rb#746 + # : (Prism::XStringNode node) -> void + # + # source://spoom//lib/spoom/visitor.rb#892 sig { override.params(node: ::Prism::XStringNode).void } def visit_x_string_node(node); end - # source://spoom//lib/spoom/visitor.rb#751 + # : (Prism::YieldNode node) -> void + # + # source://spoom//lib/spoom/visitor.rb#898 sig { override.params(node: ::Prism::YieldNode).void } def visit_yield_node(node); end end