diff --git a/Library/Homebrew/PATH.rb b/Library/Homebrew/PATH.rb index 8fb226998..f9c347d6e 100644 --- a/Library/Homebrew/PATH.rb +++ b/Library/Homebrew/PATH.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true # Represention of a `*PATH` environment variable. diff --git a/Library/Homebrew/bintray.rb b/Library/Homebrew/bintray.rb index 5d8b89ed5..829b1da11 100644 --- a/Library/Homebrew/bintray.rb +++ b/Library/Homebrew/bintray.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "utils/curl" diff --git a/Library/Homebrew/brew.rb b/Library/Homebrew/brew.rb index 6caee8c39..2240161dc 100644 --- a/Library/Homebrew/brew.rb +++ b/Library/Homebrew/brew.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true if ENV["HOMEBREW_STACKPROF"] diff --git a/Library/Homebrew/build.rb b/Library/Homebrew/build.rb index a5e374018..f7c427487 100644 --- a/Library/Homebrew/build.rb +++ b/Library/Homebrew/build.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true # This script is loaded by formula_installer as a separate instance. diff --git a/Library/Homebrew/build_environment.rb b/Library/Homebrew/build_environment.rb index ed6f31973..6b4e7f052 100644 --- a/Library/Homebrew/build_environment.rb +++ b/Library/Homebrew/build_environment.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true # Settings for the build environment. diff --git a/Library/Homebrew/build_options.rb b/Library/Homebrew/build_options.rb index f4f51be48..de78b0947 100644 --- a/Library/Homebrew/build_options.rb +++ b/Library/Homebrew/build_options.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true # Options for a formula build. diff --git a/Library/Homebrew/cache_store.rb b/Library/Homebrew/cache_store.rb index 6dd3768ae..982f15c48 100644 --- a/Library/Homebrew/cache_store.rb +++ b/Library/Homebrew/cache_store.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "json" diff --git a/Library/Homebrew/cask.rb b/Library/Homebrew/cask.rb index e39f0328b..f4b32a21f 100644 --- a/Library/Homebrew/cask.rb +++ b/Library/Homebrew/cask.rb @@ -1,3 +1,4 @@ +# typed: strict # frozen_string_literal: true require "cask/artifact" diff --git a/Library/Homebrew/cask/artifact.rb b/Library/Homebrew/cask/artifact.rb index a86b3232e..bee610cfb 100644 --- a/Library/Homebrew/cask/artifact.rb +++ b/Library/Homebrew/cask/artifact.rb @@ -1,3 +1,4 @@ +# typed: strict # frozen_string_literal: true require "cask/artifact/app" diff --git a/Library/Homebrew/cask/artifact/abstract_artifact.rb b/Library/Homebrew/cask/artifact/abstract_artifact.rb index 1a6b01900..50c2b325e 100644 --- a/Library/Homebrew/cask/artifact/abstract_artifact.rb +++ b/Library/Homebrew/cask/artifact/abstract_artifact.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true module Cask diff --git a/Library/Homebrew/cask/artifact/abstract_flight_block.rb b/Library/Homebrew/cask/artifact/abstract_flight_block.rb index 053294e7f..1695a257a 100644 --- a/Library/Homebrew/cask/artifact/abstract_flight_block.rb +++ b/Library/Homebrew/cask/artifact/abstract_flight_block.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "cask/artifact/abstract_artifact" diff --git a/Library/Homebrew/cask/artifact/abstract_uninstall.rb b/Library/Homebrew/cask/artifact/abstract_uninstall.rb index 9cce7ed34..b0da73866 100644 --- a/Library/Homebrew/cask/artifact/abstract_uninstall.rb +++ b/Library/Homebrew/cask/artifact/abstract_uninstall.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "timeout" diff --git a/Library/Homebrew/cask/artifact/app.rb b/Library/Homebrew/cask/artifact/app.rb index 01cbec77f..c2ec38df4 100644 --- a/Library/Homebrew/cask/artifact/app.rb +++ b/Library/Homebrew/cask/artifact/app.rb @@ -1,3 +1,4 @@ +# typed: strict # frozen_string_literal: true require "cask/artifact/moved" diff --git a/Library/Homebrew/cask/artifact/artifact.rb b/Library/Homebrew/cask/artifact/artifact.rb index 3d81ab65b..f6b350a82 100644 --- a/Library/Homebrew/cask/artifact/artifact.rb +++ b/Library/Homebrew/cask/artifact/artifact.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "cask/artifact/moved" diff --git a/Library/Homebrew/cask/artifact/audio_unit_plugin.rb b/Library/Homebrew/cask/artifact/audio_unit_plugin.rb index c22c132d4..1fe7cf108 100644 --- a/Library/Homebrew/cask/artifact/audio_unit_plugin.rb +++ b/Library/Homebrew/cask/artifact/audio_unit_plugin.rb @@ -1,3 +1,4 @@ +# typed: strict # frozen_string_literal: true require "cask/artifact/moved" diff --git a/Library/Homebrew/cask/artifact/binary.rb b/Library/Homebrew/cask/artifact/binary.rb index a1f817ca7..a8c7d5545 100644 --- a/Library/Homebrew/cask/artifact/binary.rb +++ b/Library/Homebrew/cask/artifact/binary.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "cask/artifact/symlinked" diff --git a/Library/Homebrew/cask/artifact/colorpicker.rb b/Library/Homebrew/cask/artifact/colorpicker.rb index 48b245245..545389369 100644 --- a/Library/Homebrew/cask/artifact/colorpicker.rb +++ b/Library/Homebrew/cask/artifact/colorpicker.rb @@ -1,3 +1,4 @@ +# typed: strict # frozen_string_literal: true require "cask/artifact/moved" diff --git a/Library/Homebrew/cask/artifact/dictionary.rb b/Library/Homebrew/cask/artifact/dictionary.rb index 03fded17f..50749b2bd 100644 --- a/Library/Homebrew/cask/artifact/dictionary.rb +++ b/Library/Homebrew/cask/artifact/dictionary.rb @@ -1,3 +1,4 @@ +# typed: strict # frozen_string_literal: true require "cask/artifact/moved" diff --git a/Library/Homebrew/cask/artifact/font.rb b/Library/Homebrew/cask/artifact/font.rb index 164731c16..caa2fcc7b 100644 --- a/Library/Homebrew/cask/artifact/font.rb +++ b/Library/Homebrew/cask/artifact/font.rb @@ -1,3 +1,4 @@ +# typed: strict # frozen_string_literal: true require "cask/artifact/moved" diff --git a/Library/Homebrew/cask/artifact/input_method.rb b/Library/Homebrew/cask/artifact/input_method.rb index 9cd6b3623..79b3acaad 100644 --- a/Library/Homebrew/cask/artifact/input_method.rb +++ b/Library/Homebrew/cask/artifact/input_method.rb @@ -1,3 +1,4 @@ +# typed: strict # frozen_string_literal: true require "cask/artifact/moved" diff --git a/Library/Homebrew/cask/artifact/installer.rb b/Library/Homebrew/cask/artifact/installer.rb index 7ec14f611..c2fa6543c 100644 --- a/Library/Homebrew/cask/artifact/installer.rb +++ b/Library/Homebrew/cask/artifact/installer.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "cask/artifact/abstract_artifact" diff --git a/Library/Homebrew/cask/artifact/internet_plugin.rb b/Library/Homebrew/cask/artifact/internet_plugin.rb index 6e22874a4..73c655a52 100644 --- a/Library/Homebrew/cask/artifact/internet_plugin.rb +++ b/Library/Homebrew/cask/artifact/internet_plugin.rb @@ -1,3 +1,4 @@ +# typed: strict # frozen_string_literal: true require "cask/artifact/moved" diff --git a/Library/Homebrew/cask/artifact/manpage.rb b/Library/Homebrew/cask/artifact/manpage.rb index 66453f2db..3824296cb 100644 --- a/Library/Homebrew/cask/artifact/manpage.rb +++ b/Library/Homebrew/cask/artifact/manpage.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "cask/artifact/symlinked" diff --git a/Library/Homebrew/cask/artifact/mdimporter.rb b/Library/Homebrew/cask/artifact/mdimporter.rb index c11cb9cc4..226a01e1c 100644 --- a/Library/Homebrew/cask/artifact/mdimporter.rb +++ b/Library/Homebrew/cask/artifact/mdimporter.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "cask/artifact/moved" diff --git a/Library/Homebrew/cask/artifact/moved.rb b/Library/Homebrew/cask/artifact/moved.rb index 5925b86f4..083c61244 100644 --- a/Library/Homebrew/cask/artifact/moved.rb +++ b/Library/Homebrew/cask/artifact/moved.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "cask/artifact/relocated" diff --git a/Library/Homebrew/cask/artifact/pkg.rb b/Library/Homebrew/cask/artifact/pkg.rb index c70f2658d..9b5b5f157 100644 --- a/Library/Homebrew/cask/artifact/pkg.rb +++ b/Library/Homebrew/cask/artifact/pkg.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "plist" diff --git a/Library/Homebrew/cask/artifact/postflight_block.rb b/Library/Homebrew/cask/artifact/postflight_block.rb index c672057d8..00d170fda 100644 --- a/Library/Homebrew/cask/artifact/postflight_block.rb +++ b/Library/Homebrew/cask/artifact/postflight_block.rb @@ -1,3 +1,4 @@ +# typed: strict # frozen_string_literal: true require "cask/artifact/abstract_flight_block" diff --git a/Library/Homebrew/cask/artifact/preflight_block.rb b/Library/Homebrew/cask/artifact/preflight_block.rb index f6f8882c7..0b7f21c8e 100644 --- a/Library/Homebrew/cask/artifact/preflight_block.rb +++ b/Library/Homebrew/cask/artifact/preflight_block.rb @@ -1,3 +1,4 @@ +# typed: strict # frozen_string_literal: true require "cask/artifact/abstract_flight_block" diff --git a/Library/Homebrew/cask/artifact/prefpane.rb b/Library/Homebrew/cask/artifact/prefpane.rb index 8447c67c1..aed47644e 100644 --- a/Library/Homebrew/cask/artifact/prefpane.rb +++ b/Library/Homebrew/cask/artifact/prefpane.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "cask/artifact/moved" diff --git a/Library/Homebrew/cask/artifact/qlplugin.rb b/Library/Homebrew/cask/artifact/qlplugin.rb index 30588c623..e0c26a6dc 100644 --- a/Library/Homebrew/cask/artifact/qlplugin.rb +++ b/Library/Homebrew/cask/artifact/qlplugin.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "cask/artifact/moved" diff --git a/Library/Homebrew/cask/artifact/relocated.rb b/Library/Homebrew/cask/artifact/relocated.rb index 3f0da05eb..5c9dd0dbd 100644 --- a/Library/Homebrew/cask/artifact/relocated.rb +++ b/Library/Homebrew/cask/artifact/relocated.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "cask/artifact/abstract_artifact" diff --git a/Library/Homebrew/cask/artifact/screen_saver.rb b/Library/Homebrew/cask/artifact/screen_saver.rb index f8f73e702..c52e0361d 100644 --- a/Library/Homebrew/cask/artifact/screen_saver.rb +++ b/Library/Homebrew/cask/artifact/screen_saver.rb @@ -1,3 +1,4 @@ +# typed: strict # frozen_string_literal: true require "cask/artifact/moved" diff --git a/Library/Homebrew/cask/artifact/service.rb b/Library/Homebrew/cask/artifact/service.rb index 9a92a6506..901cb5ac0 100644 --- a/Library/Homebrew/cask/artifact/service.rb +++ b/Library/Homebrew/cask/artifact/service.rb @@ -1,3 +1,4 @@ +# typed: strict # frozen_string_literal: true require "cask/artifact/moved" diff --git a/Library/Homebrew/cask/artifact/stage_only.rb b/Library/Homebrew/cask/artifact/stage_only.rb index a013388e2..c67cac6d3 100644 --- a/Library/Homebrew/cask/artifact/stage_only.rb +++ b/Library/Homebrew/cask/artifact/stage_only.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "cask/artifact/abstract_artifact" diff --git a/Library/Homebrew/cask/artifact/suite.rb b/Library/Homebrew/cask/artifact/suite.rb index be8f34820..a236a602e 100644 --- a/Library/Homebrew/cask/artifact/suite.rb +++ b/Library/Homebrew/cask/artifact/suite.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "cask/artifact/moved" diff --git a/Library/Homebrew/cask/artifact/symlinked.rb b/Library/Homebrew/cask/artifact/symlinked.rb index 1feeda027..68e8dbe18 100644 --- a/Library/Homebrew/cask/artifact/symlinked.rb +++ b/Library/Homebrew/cask/artifact/symlinked.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "cask/artifact/relocated" diff --git a/Library/Homebrew/cask/artifact/uninstall.rb b/Library/Homebrew/cask/artifact/uninstall.rb index 00b385e64..0d924446d 100644 --- a/Library/Homebrew/cask/artifact/uninstall.rb +++ b/Library/Homebrew/cask/artifact/uninstall.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "cask/artifact/abstract_uninstall" diff --git a/Library/Homebrew/cask/artifact/vst3_plugin.rb b/Library/Homebrew/cask/artifact/vst3_plugin.rb index e82690d84..bd69c57a4 100644 --- a/Library/Homebrew/cask/artifact/vst3_plugin.rb +++ b/Library/Homebrew/cask/artifact/vst3_plugin.rb @@ -1,3 +1,4 @@ +# typed: strict # frozen_string_literal: true require "cask/artifact/moved" diff --git a/Library/Homebrew/cask/artifact/vst_plugin.rb b/Library/Homebrew/cask/artifact/vst_plugin.rb index 058ea5052..976ae18d6 100644 --- a/Library/Homebrew/cask/artifact/vst_plugin.rb +++ b/Library/Homebrew/cask/artifact/vst_plugin.rb @@ -1,3 +1,4 @@ +# typed: strict # frozen_string_literal: true require "cask/artifact/moved" diff --git a/Library/Homebrew/cask/artifact/zap.rb b/Library/Homebrew/cask/artifact/zap.rb index 6967f922c..80485f23d 100644 --- a/Library/Homebrew/cask/artifact/zap.rb +++ b/Library/Homebrew/cask/artifact/zap.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "cask/artifact/abstract_uninstall" diff --git a/Library/Homebrew/cask/audit.rb b/Library/Homebrew/cask/audit.rb index cab1b48db..09bde070a 100644 --- a/Library/Homebrew/cask/audit.rb +++ b/Library/Homebrew/cask/audit.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "cask/denylist" diff --git a/Library/Homebrew/cask/auditor.rb b/Library/Homebrew/cask/auditor.rb index 264c04b7a..a201c4fe3 100644 --- a/Library/Homebrew/cask/auditor.rb +++ b/Library/Homebrew/cask/auditor.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "cask/audit" diff --git a/Library/Homebrew/cask/cache.rb b/Library/Homebrew/cask/cache.rb index 2d1dcc570..1cd57f906 100644 --- a/Library/Homebrew/cask/cache.rb +++ b/Library/Homebrew/cask/cache.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true module Cask diff --git a/Library/Homebrew/cask/cask.rb b/Library/Homebrew/cask/cask.rb index bb2b93279..8858922a0 100644 --- a/Library/Homebrew/cask/cask.rb +++ b/Library/Homebrew/cask/cask.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "cask/cask_loader" diff --git a/Library/Homebrew/cask/cask_loader.rb b/Library/Homebrew/cask/cask_loader.rb index 8946c3b58..8ec015a93 100644 --- a/Library/Homebrew/cask/cask_loader.rb +++ b/Library/Homebrew/cask/cask_loader.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "cask/cache" diff --git a/Library/Homebrew/cask/caskroom.rb b/Library/Homebrew/cask/caskroom.rb index e2b3841c3..ab9c1b4dc 100644 --- a/Library/Homebrew/cask/caskroom.rb +++ b/Library/Homebrew/cask/caskroom.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "utils/user" diff --git a/Library/Homebrew/cask/cmd.rb b/Library/Homebrew/cask/cmd.rb index 38795bffe..5c62cb73e 100644 --- a/Library/Homebrew/cask/cmd.rb +++ b/Library/Homebrew/cask/cmd.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "optparse" diff --git a/Library/Homebrew/cask/cmd/--cache.rb b/Library/Homebrew/cask/cmd/--cache.rb index 81d3acc7d..613841f7c 100644 --- a/Library/Homebrew/cask/cmd/--cache.rb +++ b/Library/Homebrew/cask/cmd/--cache.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true module Cask diff --git a/Library/Homebrew/cask/cmd/abstract_command.rb b/Library/Homebrew/cask/cmd/abstract_command.rb index 4a5556725..cf4ca79a0 100644 --- a/Library/Homebrew/cask/cmd/abstract_command.rb +++ b/Library/Homebrew/cask/cmd/abstract_command.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "search" diff --git a/Library/Homebrew/cask/cmd/abstract_internal_command.rb b/Library/Homebrew/cask/cmd/abstract_internal_command.rb index b15b9acc9..7ccc3937b 100644 --- a/Library/Homebrew/cask/cmd/abstract_internal_command.rb +++ b/Library/Homebrew/cask/cmd/abstract_internal_command.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true module Cask diff --git a/Library/Homebrew/cask/cmd/audit.rb b/Library/Homebrew/cask/cmd/audit.rb index c9f1dda0f..6deeb84f8 100644 --- a/Library/Homebrew/cask/cmd/audit.rb +++ b/Library/Homebrew/cask/cmd/audit.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "utils/github/actions" diff --git a/Library/Homebrew/cask/cmd/cat.rb b/Library/Homebrew/cask/cmd/cat.rb index 3d731b1d6..fb7944300 100644 --- a/Library/Homebrew/cask/cmd/cat.rb +++ b/Library/Homebrew/cask/cmd/cat.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true module Cask diff --git a/Library/Homebrew/cask/cmd/create.rb b/Library/Homebrew/cask/cmd/create.rb index c190161fa..7ae14dc7d 100644 --- a/Library/Homebrew/cask/cmd/create.rb +++ b/Library/Homebrew/cask/cmd/create.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true module Cask diff --git a/Library/Homebrew/cask/cmd/doctor.rb b/Library/Homebrew/cask/cmd/doctor.rb index dafc4e577..0c80dcef2 100644 --- a/Library/Homebrew/cask/cmd/doctor.rb +++ b/Library/Homebrew/cask/cmd/doctor.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true module Cask diff --git a/Library/Homebrew/cask/cmd/edit.rb b/Library/Homebrew/cask/cmd/edit.rb index bbeffbf73..bea10bf63 100644 --- a/Library/Homebrew/cask/cmd/edit.rb +++ b/Library/Homebrew/cask/cmd/edit.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true module Cask diff --git a/Library/Homebrew/cask/cmd/fetch.rb b/Library/Homebrew/cask/cmd/fetch.rb index e42208a31..d9b335183 100644 --- a/Library/Homebrew/cask/cmd/fetch.rb +++ b/Library/Homebrew/cask/cmd/fetch.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true module Cask diff --git a/Library/Homebrew/cask/cmd/help.rb b/Library/Homebrew/cask/cmd/help.rb index fee20683d..721ac4084 100644 --- a/Library/Homebrew/cask/cmd/help.rb +++ b/Library/Homebrew/cask/cmd/help.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true module Cask diff --git a/Library/Homebrew/cask/cmd/home.rb b/Library/Homebrew/cask/cmd/home.rb index 291256519..8087f21fa 100644 --- a/Library/Homebrew/cask/cmd/home.rb +++ b/Library/Homebrew/cask/cmd/home.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true module Cask diff --git a/Library/Homebrew/cask/cmd/info.rb b/Library/Homebrew/cask/cmd/info.rb index 683057a13..e4e0797f7 100644 --- a/Library/Homebrew/cask/cmd/info.rb +++ b/Library/Homebrew/cask/cmd/info.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "json" diff --git a/Library/Homebrew/cask/cmd/install.rb b/Library/Homebrew/cask/cmd/install.rb index a532bb521..a5ad63d19 100644 --- a/Library/Homebrew/cask/cmd/install.rb +++ b/Library/Homebrew/cask/cmd/install.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true module Cask diff --git a/Library/Homebrew/cask/cmd/internal_help.rb b/Library/Homebrew/cask/cmd/internal_help.rb index edd33fc2d..2091f48f9 100644 --- a/Library/Homebrew/cask/cmd/internal_help.rb +++ b/Library/Homebrew/cask/cmd/internal_help.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true module Cask diff --git a/Library/Homebrew/cask/cmd/internal_stanza.rb b/Library/Homebrew/cask/cmd/internal_stanza.rb index c392d508a..2c473cda1 100644 --- a/Library/Homebrew/cask/cmd/internal_stanza.rb +++ b/Library/Homebrew/cask/cmd/internal_stanza.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "cask/dsl" diff --git a/Library/Homebrew/cask/cmd/list.rb b/Library/Homebrew/cask/cmd/list.rb index 208464eda..859d650a9 100644 --- a/Library/Homebrew/cask/cmd/list.rb +++ b/Library/Homebrew/cask/cmd/list.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "cask/artifact/relocated" diff --git a/Library/Homebrew/cask/cmd/outdated.rb b/Library/Homebrew/cask/cmd/outdated.rb index 231648c09..ff35a1f2d 100644 --- a/Library/Homebrew/cask/cmd/outdated.rb +++ b/Library/Homebrew/cask/cmd/outdated.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true module Cask diff --git a/Library/Homebrew/cask/cmd/reinstall.rb b/Library/Homebrew/cask/cmd/reinstall.rb index c1e066bb1..79e0dccc4 100644 --- a/Library/Homebrew/cask/cmd/reinstall.rb +++ b/Library/Homebrew/cask/cmd/reinstall.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true module Cask diff --git a/Library/Homebrew/cask/cmd/style.rb b/Library/Homebrew/cask/cmd/style.rb index fc3cb6018..1d0715630 100644 --- a/Library/Homebrew/cask/cmd/style.rb +++ b/Library/Homebrew/cask/cmd/style.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "json" diff --git a/Library/Homebrew/cask/cmd/uninstall.rb b/Library/Homebrew/cask/cmd/uninstall.rb index 89a85cd20..801119334 100644 --- a/Library/Homebrew/cask/cmd/uninstall.rb +++ b/Library/Homebrew/cask/cmd/uninstall.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true module Cask diff --git a/Library/Homebrew/cask/cmd/upgrade.rb b/Library/Homebrew/cask/cmd/upgrade.rb index e83cb4dd3..daf753689 100644 --- a/Library/Homebrew/cask/cmd/upgrade.rb +++ b/Library/Homebrew/cask/cmd/upgrade.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "env_config" diff --git a/Library/Homebrew/cask/cmd/zap.rb b/Library/Homebrew/cask/cmd/zap.rb index c2e981301..2898883ef 100644 --- a/Library/Homebrew/cask/cmd/zap.rb +++ b/Library/Homebrew/cask/cmd/zap.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true module Cask diff --git a/Library/Homebrew/cask/config.rb b/Library/Homebrew/cask/config.rb index 04a71b9e3..9f3532037 100644 --- a/Library/Homebrew/cask/config.rb +++ b/Library/Homebrew/cask/config.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "json" diff --git a/Library/Homebrew/cask/denylist.rb b/Library/Homebrew/cask/denylist.rb index dda4326ba..8cbc9c37a 100644 --- a/Library/Homebrew/cask/denylist.rb +++ b/Library/Homebrew/cask/denylist.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true module Cask diff --git a/Library/Homebrew/cask/download.rb b/Library/Homebrew/cask/download.rb index 16c1dbd81..12e8a575f 100644 --- a/Library/Homebrew/cask/download.rb +++ b/Library/Homebrew/cask/download.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "fileutils" diff --git a/Library/Homebrew/cask/dsl.rb b/Library/Homebrew/cask/dsl.rb index 2f8b2c8cf..6ea009940 100644 --- a/Library/Homebrew/cask/dsl.rb +++ b/Library/Homebrew/cask/dsl.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "locale" diff --git a/Library/Homebrew/cask/dsl/appcast.rb b/Library/Homebrew/cask/dsl/appcast.rb index 1c9ebc360..c29a79819 100644 --- a/Library/Homebrew/cask/dsl/appcast.rb +++ b/Library/Homebrew/cask/dsl/appcast.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true module Cask diff --git a/Library/Homebrew/cask/dsl/base.rb b/Library/Homebrew/cask/dsl/base.rb index f8d40aadd..d1a29f61d 100644 --- a/Library/Homebrew/cask/dsl/base.rb +++ b/Library/Homebrew/cask/dsl/base.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "cask/utils" diff --git a/Library/Homebrew/cask/dsl/caveats.rb b/Library/Homebrew/cask/dsl/caveats.rb index d9933d992..26d8d7fc7 100644 --- a/Library/Homebrew/cask/dsl/caveats.rb +++ b/Library/Homebrew/cask/dsl/caveats.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true module Cask diff --git a/Library/Homebrew/cask/dsl/conflicts_with.rb b/Library/Homebrew/cask/dsl/conflicts_with.rb index f49f3a062..da47113ab 100644 --- a/Library/Homebrew/cask/dsl/conflicts_with.rb +++ b/Library/Homebrew/cask/dsl/conflicts_with.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "delegate" diff --git a/Library/Homebrew/cask/dsl/container.rb b/Library/Homebrew/cask/dsl/container.rb index 60cfbdb44..22c146f31 100644 --- a/Library/Homebrew/cask/dsl/container.rb +++ b/Library/Homebrew/cask/dsl/container.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "unpack_strategy" diff --git a/Library/Homebrew/cask/dsl/depends_on.rb b/Library/Homebrew/cask/dsl/depends_on.rb index a3721b053..f78636609 100644 --- a/Library/Homebrew/cask/dsl/depends_on.rb +++ b/Library/Homebrew/cask/dsl/depends_on.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "delegate" diff --git a/Library/Homebrew/cask/dsl/postflight.rb b/Library/Homebrew/cask/dsl/postflight.rb index cccfac6c9..209533ba7 100644 --- a/Library/Homebrew/cask/dsl/postflight.rb +++ b/Library/Homebrew/cask/dsl/postflight.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "cask/staged" diff --git a/Library/Homebrew/cask/dsl/preflight.rb b/Library/Homebrew/cask/dsl/preflight.rb index eba210668..d1f0e5709 100644 --- a/Library/Homebrew/cask/dsl/preflight.rb +++ b/Library/Homebrew/cask/dsl/preflight.rb @@ -1,3 +1,4 @@ +# typed: strict # frozen_string_literal: true module Cask diff --git a/Library/Homebrew/cask/dsl/uninstall_postflight.rb b/Library/Homebrew/cask/dsl/uninstall_postflight.rb index fac89d764..9dc523b05 100644 --- a/Library/Homebrew/cask/dsl/uninstall_postflight.rb +++ b/Library/Homebrew/cask/dsl/uninstall_postflight.rb @@ -1,3 +1,4 @@ +# typed: strict # frozen_string_literal: true module Cask diff --git a/Library/Homebrew/cask/dsl/uninstall_preflight.rb b/Library/Homebrew/cask/dsl/uninstall_preflight.rb index 770fc680a..d35da3f51 100644 --- a/Library/Homebrew/cask/dsl/uninstall_preflight.rb +++ b/Library/Homebrew/cask/dsl/uninstall_preflight.rb @@ -1,3 +1,4 @@ +# typed: strict # frozen_string_literal: true require "cask/staged" diff --git a/Library/Homebrew/cask/dsl/version.rb b/Library/Homebrew/cask/dsl/version.rb index 53d58b996..a43658b18 100644 --- a/Library/Homebrew/cask/dsl/version.rb +++ b/Library/Homebrew/cask/dsl/version.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true module Cask diff --git a/Library/Homebrew/cask/exceptions.rb b/Library/Homebrew/cask/exceptions.rb index e67831d38..645ea8a0e 100644 --- a/Library/Homebrew/cask/exceptions.rb +++ b/Library/Homebrew/cask/exceptions.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true module Cask diff --git a/Library/Homebrew/cask/installer.rb b/Library/Homebrew/cask/installer.rb index 6efeeada6..a5a43851b 100644 --- a/Library/Homebrew/cask/installer.rb +++ b/Library/Homebrew/cask/installer.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "formula_installer" diff --git a/Library/Homebrew/cask/macos.rb b/Library/Homebrew/cask/macos.rb index cf65def61..be2693b23 100644 --- a/Library/Homebrew/cask/macos.rb +++ b/Library/Homebrew/cask/macos.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "os/mac/version" diff --git a/Library/Homebrew/cask/metadata.rb b/Library/Homebrew/cask/metadata.rb index 8c12de10b..4fcdd23f2 100644 --- a/Library/Homebrew/cask/metadata.rb +++ b/Library/Homebrew/cask/metadata.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true module Cask diff --git a/Library/Homebrew/cask/pkg.rb b/Library/Homebrew/cask/pkg.rb index f015ee9de..b5e625e6f 100644 --- a/Library/Homebrew/cask/pkg.rb +++ b/Library/Homebrew/cask/pkg.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "cask/macos" diff --git a/Library/Homebrew/cask/quarantine.rb b/Library/Homebrew/cask/quarantine.rb index a90a7ea94..14e74c7af 100644 --- a/Library/Homebrew/cask/quarantine.rb +++ b/Library/Homebrew/cask/quarantine.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "development_tools" diff --git a/Library/Homebrew/cask/staged.rb b/Library/Homebrew/cask/staged.rb index 73dd826e9..76dd66323 100644 --- a/Library/Homebrew/cask/staged.rb +++ b/Library/Homebrew/cask/staged.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "utils/user" diff --git a/Library/Homebrew/cask/topological_hash.rb b/Library/Homebrew/cask/topological_hash.rb index bfd857382..79c0485bf 100644 --- a/Library/Homebrew/cask/topological_hash.rb +++ b/Library/Homebrew/cask/topological_hash.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "tsort" diff --git a/Library/Homebrew/cask/url.rb b/Library/Homebrew/cask/url.rb index 723647ecf..92aaaf977 100644 --- a/Library/Homebrew/cask/url.rb +++ b/Library/Homebrew/cask/url.rb @@ -1,4 +1,4 @@ -# typed: strict +# typed: true # frozen_string_literal: true # Class corresponding to the `url` stanza. diff --git a/Library/Homebrew/cask/utils.rb b/Library/Homebrew/cask/utils.rb index 8cee59760..47f804df2 100644 --- a/Library/Homebrew/cask/utils.rb +++ b/Library/Homebrew/cask/utils.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "utils/user" diff --git a/Library/Homebrew/cask/verify.rb b/Library/Homebrew/cask/verify.rb index f31d234c4..65f9998de 100644 --- a/Library/Homebrew/cask/verify.rb +++ b/Library/Homebrew/cask/verify.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true module Cask diff --git a/Library/Homebrew/cask_dependent.rb b/Library/Homebrew/cask_dependent.rb index 96137a1a1..3f38a25fd 100644 --- a/Library/Homebrew/cask_dependent.rb +++ b/Library/Homebrew/cask_dependent.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true # An adapter for casks to provide dependency information in a formula-like interface diff --git a/Library/Homebrew/caveats.rb b/Library/Homebrew/caveats.rb index 01ad2bd27..18392648a 100644 --- a/Library/Homebrew/caveats.rb +++ b/Library/Homebrew/caveats.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "language/python" diff --git a/Library/Homebrew/checksum.rb b/Library/Homebrew/checksum.rb index 84c6c6234..7a3219513 100644 --- a/Library/Homebrew/checksum.rb +++ b/Library/Homebrew/checksum.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true # A formula's checksum. diff --git a/Library/Homebrew/cleaner.rb b/Library/Homebrew/cleaner.rb index d35ef9b7d..9cf117c77 100644 --- a/Library/Homebrew/cleaner.rb +++ b/Library/Homebrew/cleaner.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true # Cleans a newly installed keg. diff --git a/Library/Homebrew/cleanup.rb b/Library/Homebrew/cleanup.rb index bf0f424ae..9c53b9172 100644 --- a/Library/Homebrew/cleanup.rb +++ b/Library/Homebrew/cleanup.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "utils/bottles" diff --git a/Library/Homebrew/cli/args.rb b/Library/Homebrew/cli/args.rb index ab5d2579a..1a779dcbd 100644 --- a/Library/Homebrew/cli/args.rb +++ b/Library/Homebrew/cli/args.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "cli/named_args" diff --git a/Library/Homebrew/cli/named_args.rb b/Library/Homebrew/cli/named_args.rb index 362bd1f7c..dad9e9b22 100644 --- a/Library/Homebrew/cli/named_args.rb +++ b/Library/Homebrew/cli/named_args.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "delegate" diff --git a/Library/Homebrew/cli/parser.rb b/Library/Homebrew/cli/parser.rb index 179c4c17a..913cfbc52 100644 --- a/Library/Homebrew/cli/parser.rb +++ b/Library/Homebrew/cli/parser.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "env_config" diff --git a/Library/Homebrew/cmd/--cache.rb b/Library/Homebrew/cmd/--cache.rb index 240d145df..3a5270806 100644 --- a/Library/Homebrew/cmd/--cache.rb +++ b/Library/Homebrew/cmd/--cache.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "fetch" diff --git a/Library/Homebrew/cmd/--caskroom.rb b/Library/Homebrew/cmd/--caskroom.rb index a0964ad7c..b53574fd0 100644 --- a/Library/Homebrew/cmd/--caskroom.rb +++ b/Library/Homebrew/cmd/--caskroom.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true module Homebrew diff --git a/Library/Homebrew/cmd/--cellar.rb b/Library/Homebrew/cmd/--cellar.rb index e300df269..2af781142 100644 --- a/Library/Homebrew/cmd/--cellar.rb +++ b/Library/Homebrew/cmd/--cellar.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "cli/parser" diff --git a/Library/Homebrew/cmd/--env.rb b/Library/Homebrew/cmd/--env.rb index f25dc0bb0..45b609ca5 100644 --- a/Library/Homebrew/cmd/--env.rb +++ b/Library/Homebrew/cmd/--env.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "extend/ENV" diff --git a/Library/Homebrew/cmd/--prefix.rb b/Library/Homebrew/cmd/--prefix.rb index 01fd584ad..b451a24f7 100644 --- a/Library/Homebrew/cmd/--prefix.rb +++ b/Library/Homebrew/cmd/--prefix.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "cli/parser" diff --git a/Library/Homebrew/cmd/--repository.rb b/Library/Homebrew/cmd/--repository.rb index 211f1c0c2..042c39b36 100644 --- a/Library/Homebrew/cmd/--repository.rb +++ b/Library/Homebrew/cmd/--repository.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "cli/parser" diff --git a/Library/Homebrew/cmd/--version.rb b/Library/Homebrew/cmd/--version.rb index 037a8cc75..93595a9a3 100644 --- a/Library/Homebrew/cmd/--version.rb +++ b/Library/Homebrew/cmd/--version.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "cli/parser" diff --git a/Library/Homebrew/cmd/analytics.rb b/Library/Homebrew/cmd/analytics.rb index 4c8ef458f..957b175b8 100644 --- a/Library/Homebrew/cmd/analytics.rb +++ b/Library/Homebrew/cmd/analytics.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "cli/parser" diff --git a/Library/Homebrew/cmd/cask.rb b/Library/Homebrew/cmd/cask.rb index 1a51405ec..cbd284fc2 100644 --- a/Library/Homebrew/cmd/cask.rb +++ b/Library/Homebrew/cmd/cask.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "cask/cmd" diff --git a/Library/Homebrew/cmd/cleanup.rb b/Library/Homebrew/cmd/cleanup.rb index 66fe52034..c0294392d 100644 --- a/Library/Homebrew/cmd/cleanup.rb +++ b/Library/Homebrew/cmd/cleanup.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "cleanup" diff --git a/Library/Homebrew/cmd/commands.rb b/Library/Homebrew/cmd/commands.rb index 29fd68755..cbcb36a49 100644 --- a/Library/Homebrew/cmd/commands.rb +++ b/Library/Homebrew/cmd/commands.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "cli/parser" diff --git a/Library/Homebrew/cmd/config.rb b/Library/Homebrew/cmd/config.rb index d0519bf4a..562d9a9f1 100644 --- a/Library/Homebrew/cmd/config.rb +++ b/Library/Homebrew/cmd/config.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "system_config" diff --git a/Library/Homebrew/cmd/deps.rb b/Library/Homebrew/cmd/deps.rb index 2a9994200..a5f8ade23 100644 --- a/Library/Homebrew/cmd/deps.rb +++ b/Library/Homebrew/cmd/deps.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "formula" diff --git a/Library/Homebrew/cmd/desc.rb b/Library/Homebrew/cmd/desc.rb index 5c1e143d2..e9616f174 100644 --- a/Library/Homebrew/cmd/desc.rb +++ b/Library/Homebrew/cmd/desc.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "descriptions" diff --git a/Library/Homebrew/cmd/doctor.rb b/Library/Homebrew/cmd/doctor.rb index 43eb385c2..5d10f9f65 100644 --- a/Library/Homebrew/cmd/doctor.rb +++ b/Library/Homebrew/cmd/doctor.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "diagnostic" diff --git a/Library/Homebrew/cmd/fetch.rb b/Library/Homebrew/cmd/fetch.rb index 6d306af2b..9baa5cec4 100644 --- a/Library/Homebrew/cmd/fetch.rb +++ b/Library/Homebrew/cmd/fetch.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "formula" diff --git a/Library/Homebrew/cmd/gist-logs.rb b/Library/Homebrew/cmd/gist-logs.rb index b40b299af..0947d4303 100644 --- a/Library/Homebrew/cmd/gist-logs.rb +++ b/Library/Homebrew/cmd/gist-logs.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "formula" diff --git a/Library/Homebrew/cmd/help.rb b/Library/Homebrew/cmd/help.rb index acd6849ca..bcad2600c 100644 --- a/Library/Homebrew/cmd/help.rb +++ b/Library/Homebrew/cmd/help.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "help" diff --git a/Library/Homebrew/cmd/home.rb b/Library/Homebrew/cmd/home.rb index 8d3f2d7b7..2c147bb6d 100644 --- a/Library/Homebrew/cmd/home.rb +++ b/Library/Homebrew/cmd/home.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "cli/parser" diff --git a/Library/Homebrew/cmd/info.rb b/Library/Homebrew/cmd/info.rb index 0807ee16b..d715e89a5 100644 --- a/Library/Homebrew/cmd/info.rb +++ b/Library/Homebrew/cmd/info.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "missing_formula" diff --git a/Library/Homebrew/cmd/install.rb b/Library/Homebrew/cmd/install.rb index 2b6224061..576c780dc 100644 --- a/Library/Homebrew/cmd/install.rb +++ b/Library/Homebrew/cmd/install.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "cask/config" diff --git a/Library/Homebrew/cmd/leaves.rb b/Library/Homebrew/cmd/leaves.rb index 1768227b7..d84468f5f 100644 --- a/Library/Homebrew/cmd/leaves.rb +++ b/Library/Homebrew/cmd/leaves.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "formula" diff --git a/Library/Homebrew/cmd/link.rb b/Library/Homebrew/cmd/link.rb index 2ec520a89..ad48c1779 100644 --- a/Library/Homebrew/cmd/link.rb +++ b/Library/Homebrew/cmd/link.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "ostruct" diff --git a/Library/Homebrew/cmd/list.rb b/Library/Homebrew/cmd/list.rb index 3e55a8833..40f5875f9 100644 --- a/Library/Homebrew/cmd/list.rb +++ b/Library/Homebrew/cmd/list.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "metafiles" diff --git a/Library/Homebrew/cmd/log.rb b/Library/Homebrew/cmd/log.rb index 347467641..f2d8b1c4e 100644 --- a/Library/Homebrew/cmd/log.rb +++ b/Library/Homebrew/cmd/log.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "formula" diff --git a/Library/Homebrew/cmd/migrate.rb b/Library/Homebrew/cmd/migrate.rb index df28df344..f400036c7 100644 --- a/Library/Homebrew/cmd/migrate.rb +++ b/Library/Homebrew/cmd/migrate.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "migrator" diff --git a/Library/Homebrew/cmd/missing.rb b/Library/Homebrew/cmd/missing.rb index 73909a422..434522758 100644 --- a/Library/Homebrew/cmd/missing.rb +++ b/Library/Homebrew/cmd/missing.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "formula" diff --git a/Library/Homebrew/cmd/options.rb b/Library/Homebrew/cmd/options.rb index 4c796ecd7..6ecc3c7fc 100644 --- a/Library/Homebrew/cmd/options.rb +++ b/Library/Homebrew/cmd/options.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "formula" diff --git a/Library/Homebrew/cmd/outdated.rb b/Library/Homebrew/cmd/outdated.rb index e6f148d8f..d5c5458ad 100644 --- a/Library/Homebrew/cmd/outdated.rb +++ b/Library/Homebrew/cmd/outdated.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "formula" diff --git a/Library/Homebrew/cmd/pin.rb b/Library/Homebrew/cmd/pin.rb index 5fab77254..0ca4458d9 100644 --- a/Library/Homebrew/cmd/pin.rb +++ b/Library/Homebrew/cmd/pin.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "formula" diff --git a/Library/Homebrew/cmd/postinstall.rb b/Library/Homebrew/cmd/postinstall.rb index 7b0a7220c..1b4885a36 100644 --- a/Library/Homebrew/cmd/postinstall.rb +++ b/Library/Homebrew/cmd/postinstall.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "sandbox" diff --git a/Library/Homebrew/cmd/readall.rb b/Library/Homebrew/cmd/readall.rb index a4f1d47a5..5bfa66054 100644 --- a/Library/Homebrew/cmd/readall.rb +++ b/Library/Homebrew/cmd/readall.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "readall" diff --git a/Library/Homebrew/cmd/reinstall.rb b/Library/Homebrew/cmd/reinstall.rb index 1c9d62a08..93e4c1293 100644 --- a/Library/Homebrew/cmd/reinstall.rb +++ b/Library/Homebrew/cmd/reinstall.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "formula_installer" diff --git a/Library/Homebrew/cmd/search.rb b/Library/Homebrew/cmd/search.rb index 2464cd1f4..1bd005c8e 100644 --- a/Library/Homebrew/cmd/search.rb +++ b/Library/Homebrew/cmd/search.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "formula" diff --git a/Library/Homebrew/cmd/switch.rb b/Library/Homebrew/cmd/switch.rb index 33a15d1c1..94389f2b8 100644 --- a/Library/Homebrew/cmd/switch.rb +++ b/Library/Homebrew/cmd/switch.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "formula" diff --git a/Library/Homebrew/cmd/tap-info.rb b/Library/Homebrew/cmd/tap-info.rb index 56a099d12..6c01e4172 100644 --- a/Library/Homebrew/cmd/tap-info.rb +++ b/Library/Homebrew/cmd/tap-info.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "cli/parser" diff --git a/Library/Homebrew/cmd/tap.rb b/Library/Homebrew/cmd/tap.rb index 0e2d0cbca..df6f428ff 100644 --- a/Library/Homebrew/cmd/tap.rb +++ b/Library/Homebrew/cmd/tap.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "cli/parser" diff --git a/Library/Homebrew/cmd/uninstall.rb b/Library/Homebrew/cmd/uninstall.rb index 2cfe6c600..41a0117c6 100644 --- a/Library/Homebrew/cmd/uninstall.rb +++ b/Library/Homebrew/cmd/uninstall.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "keg" diff --git a/Library/Homebrew/cmd/unlink.rb b/Library/Homebrew/cmd/unlink.rb index b72716482..080bcd163 100644 --- a/Library/Homebrew/cmd/unlink.rb +++ b/Library/Homebrew/cmd/unlink.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "ostruct" diff --git a/Library/Homebrew/cmd/unpin.rb b/Library/Homebrew/cmd/unpin.rb index 8a56ebb6c..77bf7b157 100644 --- a/Library/Homebrew/cmd/unpin.rb +++ b/Library/Homebrew/cmd/unpin.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "formula" diff --git a/Library/Homebrew/cmd/untap.rb b/Library/Homebrew/cmd/untap.rb index 5209dd26c..b8f6a9301 100644 --- a/Library/Homebrew/cmd/untap.rb +++ b/Library/Homebrew/cmd/untap.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "cli/parser" diff --git a/Library/Homebrew/cmd/update-report.rb b/Library/Homebrew/cmd/update-report.rb index a140e10b2..e0a5877b9 100644 --- a/Library/Homebrew/cmd/update-report.rb +++ b/Library/Homebrew/cmd/update-report.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "formula_versions" diff --git a/Library/Homebrew/cmd/upgrade.rb b/Library/Homebrew/cmd/upgrade.rb index a8fb5fb68..c2ece9f42 100644 --- a/Library/Homebrew/cmd/upgrade.rb +++ b/Library/Homebrew/cmd/upgrade.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "cli/parser" diff --git a/Library/Homebrew/cmd/uses.rb b/Library/Homebrew/cmd/uses.rb index b63dc064b..8b2f91243 100644 --- a/Library/Homebrew/cmd/uses.rb +++ b/Library/Homebrew/cmd/uses.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true # `brew uses foo bar` returns formulae that use both foo and bar diff --git a/Library/Homebrew/commands.rb b/Library/Homebrew/commands.rb index 4654d4e58..bdfe4a339 100644 --- a/Library/Homebrew/commands.rb +++ b/Library/Homebrew/commands.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "cask/cmd" diff --git a/Library/Homebrew/compat.rb b/Library/Homebrew/compat.rb index d14810694..04870d0a2 100644 --- a/Library/Homebrew/compat.rb +++ b/Library/Homebrew/compat.rb @@ -1,3 +1,4 @@ +# typed: strict # frozen_string_literal: true require "compat/dependencies_helpers" diff --git a/Library/Homebrew/compat/cli/parser.rb b/Library/Homebrew/compat/cli/parser.rb index ee9e3964a..c1678d159 100644 --- a/Library/Homebrew/compat/cli/parser.rb +++ b/Library/Homebrew/compat/cli/parser.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true module Homebrew diff --git a/Library/Homebrew/compat/dependencies_helpers.rb b/Library/Homebrew/compat/dependencies_helpers.rb index 5bb5461c0..21122e4c3 100644 --- a/Library/Homebrew/compat/dependencies_helpers.rb +++ b/Library/Homebrew/compat/dependencies_helpers.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "cli/args" diff --git a/Library/Homebrew/compat/extend/nil.rb b/Library/Homebrew/compat/extend/nil.rb index 0e5bb0289..5e521a436 100644 --- a/Library/Homebrew/compat/extend/nil.rb +++ b/Library/Homebrew/compat/extend/nil.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true class NilClass diff --git a/Library/Homebrew/compat/extend/string.rb b/Library/Homebrew/compat/extend/string.rb index a786035a8..bdbed5611 100644 --- a/Library/Homebrew/compat/extend/string.rb +++ b/Library/Homebrew/compat/extend/string.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true class String diff --git a/Library/Homebrew/compat/formula.rb b/Library/Homebrew/compat/formula.rb index 82a0faa8a..0f08e86d9 100644 --- a/Library/Homebrew/compat/formula.rb +++ b/Library/Homebrew/compat/formula.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true class Formula diff --git a/Library/Homebrew/compat/language/haskell.rb b/Library/Homebrew/compat/language/haskell.rb index b03fb503e..3619e88c0 100644 --- a/Library/Homebrew/compat/language/haskell.rb +++ b/Library/Homebrew/compat/language/haskell.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true module Language diff --git a/Library/Homebrew/compat/language/java.rb b/Library/Homebrew/compat/language/java.rb index ba6b77fb0..4a23f7a6c 100644 --- a/Library/Homebrew/compat/language/java.rb +++ b/Library/Homebrew/compat/language/java.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true module Language diff --git a/Library/Homebrew/compat/language/python.rb b/Library/Homebrew/compat/language/python.rb index 8afd2cdcb..abb4673f6 100644 --- a/Library/Homebrew/compat/language/python.rb +++ b/Library/Homebrew/compat/language/python.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true module Language diff --git a/Library/Homebrew/compat/os/mac.rb b/Library/Homebrew/compat/os/mac.rb index 275d69b30..ab64aeac9 100644 --- a/Library/Homebrew/compat/os/mac.rb +++ b/Library/Homebrew/compat/os/mac.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true module OS diff --git a/Library/Homebrew/compilers.rb b/Library/Homebrew/compilers.rb index ca19f896f..50ffe8979 100644 --- a/Library/Homebrew/compilers.rb +++ b/Library/Homebrew/compilers.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true # @private diff --git a/Library/Homebrew/config.rb b/Library/Homebrew/config.rb index 6cbc3709e..feecc8373 100644 --- a/Library/Homebrew/config.rb +++ b/Library/Homebrew/config.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true raise "HOMEBREW_BREW_FILE was not exported! Please call bin/brew directly!" unless ENV["HOMEBREW_BREW_FILE"] diff --git a/Library/Homebrew/context.rb b/Library/Homebrew/context.rb index 46407ed5b..60c354af1 100644 --- a/Library/Homebrew/context.rb +++ b/Library/Homebrew/context.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "monitor" diff --git a/Library/Homebrew/cxxstdlib.rb b/Library/Homebrew/cxxstdlib.rb index e2754c51b..fad219e56 100644 --- a/Library/Homebrew/cxxstdlib.rb +++ b/Library/Homebrew/cxxstdlib.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "compilers" diff --git a/Library/Homebrew/debrew.rb b/Library/Homebrew/debrew.rb index 6382cbca0..54a5b9af0 100644 --- a/Library/Homebrew/debrew.rb +++ b/Library/Homebrew/debrew.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "mutex_m" diff --git a/Library/Homebrew/debrew/irb.rb b/Library/Homebrew/debrew/irb.rb index b88aa44c7..6c2d285c1 100644 --- a/Library/Homebrew/debrew/irb.rb +++ b/Library/Homebrew/debrew/irb.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "irb" diff --git a/Library/Homebrew/dependable.rb b/Library/Homebrew/dependable.rb index 89dfe083c..3d036f41d 100644 --- a/Library/Homebrew/dependable.rb +++ b/Library/Homebrew/dependable.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "options" diff --git a/Library/Homebrew/dependencies.rb b/Library/Homebrew/dependencies.rb index 07d79190d..2764048ce 100644 --- a/Library/Homebrew/dependencies.rb +++ b/Library/Homebrew/dependencies.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "delegate" diff --git a/Library/Homebrew/dependencies_helpers.rb b/Library/Homebrew/dependencies_helpers.rb index 998cef14a..98507958d 100644 --- a/Library/Homebrew/dependencies_helpers.rb +++ b/Library/Homebrew/dependencies_helpers.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "cask_dependent" diff --git a/Library/Homebrew/dependency.rb b/Library/Homebrew/dependency.rb index 29a2284c7..c98d46b0e 100644 --- a/Library/Homebrew/dependency.rb +++ b/Library/Homebrew/dependency.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "dependable" diff --git a/Library/Homebrew/dependency_collector.rb b/Library/Homebrew/dependency_collector.rb index 7420c2003..80b8dbab0 100644 --- a/Library/Homebrew/dependency_collector.rb +++ b/Library/Homebrew/dependency_collector.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "dependency" diff --git a/Library/Homebrew/deprecate_disable.rb b/Library/Homebrew/deprecate_disable.rb index 3423f90e3..a1239e0aa 100644 --- a/Library/Homebrew/deprecate_disable.rb +++ b/Library/Homebrew/deprecate_disable.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true # Helper module for handling disable! and deprecate! diff --git a/Library/Homebrew/description_cache_store.rb b/Library/Homebrew/description_cache_store.rb index c90523abc..4e2d3e7e2 100644 --- a/Library/Homebrew/description_cache_store.rb +++ b/Library/Homebrew/description_cache_store.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "set" diff --git a/Library/Homebrew/descriptions.rb b/Library/Homebrew/descriptions.rb index 6ba21bed4..8f980de1c 100644 --- a/Library/Homebrew/descriptions.rb +++ b/Library/Homebrew/descriptions.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "formula" diff --git a/Library/Homebrew/dev-cmd/audit.rb b/Library/Homebrew/dev-cmd/audit.rb index c6c7b47af..3f72f021c 100644 --- a/Library/Homebrew/dev-cmd/audit.rb +++ b/Library/Homebrew/dev-cmd/audit.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "formula" diff --git a/Library/Homebrew/dev-cmd/bottle.rb b/Library/Homebrew/dev-cmd/bottle.rb index fb282e5f8..e9b9e4b15 100644 --- a/Library/Homebrew/dev-cmd/bottle.rb +++ b/Library/Homebrew/dev-cmd/bottle.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "formula" diff --git a/Library/Homebrew/dev-cmd/bump-cask-pr.rb b/Library/Homebrew/dev-cmd/bump-cask-pr.rb index 6c9fd09ce..a9ecedc58 100644 --- a/Library/Homebrew/dev-cmd/bump-cask-pr.rb +++ b/Library/Homebrew/dev-cmd/bump-cask-pr.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "cask" diff --git a/Library/Homebrew/dev-cmd/bump-formula-pr.rb b/Library/Homebrew/dev-cmd/bump-formula-pr.rb index e005a7e4c..dc4bb5a06 100644 --- a/Library/Homebrew/dev-cmd/bump-formula-pr.rb +++ b/Library/Homebrew/dev-cmd/bump-formula-pr.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "formula" diff --git a/Library/Homebrew/dev-cmd/bump-revision.rb b/Library/Homebrew/dev-cmd/bump-revision.rb index d66585b96..aa53caaf4 100644 --- a/Library/Homebrew/dev-cmd/bump-revision.rb +++ b/Library/Homebrew/dev-cmd/bump-revision.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "formula" diff --git a/Library/Homebrew/dev-cmd/bump.rb b/Library/Homebrew/dev-cmd/bump.rb index 3df802b35..543d75186 100644 --- a/Library/Homebrew/dev-cmd/bump.rb +++ b/Library/Homebrew/dev-cmd/bump.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "cli/parser" diff --git a/Library/Homebrew/dev-cmd/cat.rb b/Library/Homebrew/dev-cmd/cat.rb index 4d7ef44a9..3415e03e6 100644 --- a/Library/Homebrew/dev-cmd/cat.rb +++ b/Library/Homebrew/dev-cmd/cat.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "cli/parser" diff --git a/Library/Homebrew/dev-cmd/command.rb b/Library/Homebrew/dev-cmd/command.rb index cb928bc57..7c2f6e37c 100644 --- a/Library/Homebrew/dev-cmd/command.rb +++ b/Library/Homebrew/dev-cmd/command.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "commands" diff --git a/Library/Homebrew/dev-cmd/create.rb b/Library/Homebrew/dev-cmd/create.rb index 85b2f857e..1d45047ef 100644 --- a/Library/Homebrew/dev-cmd/create.rb +++ b/Library/Homebrew/dev-cmd/create.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "formula" diff --git a/Library/Homebrew/dev-cmd/diy.rb b/Library/Homebrew/dev-cmd/diy.rb index f58ae2fa9..6018ae1e6 100644 --- a/Library/Homebrew/dev-cmd/diy.rb +++ b/Library/Homebrew/dev-cmd/diy.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "formula" diff --git a/Library/Homebrew/dev-cmd/edit.rb b/Library/Homebrew/dev-cmd/edit.rb index 698a131ba..9929ce153 100644 --- a/Library/Homebrew/dev-cmd/edit.rb +++ b/Library/Homebrew/dev-cmd/edit.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "formula" diff --git a/Library/Homebrew/dev-cmd/extract.rb b/Library/Homebrew/dev-cmd/extract.rb index f10ede111..f64973e17 100644 --- a/Library/Homebrew/dev-cmd/extract.rb +++ b/Library/Homebrew/dev-cmd/extract.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "cli/parser" diff --git a/Library/Homebrew/dev-cmd/formula.rb b/Library/Homebrew/dev-cmd/formula.rb index ef18d8501..b5e7ccaec 100644 --- a/Library/Homebrew/dev-cmd/formula.rb +++ b/Library/Homebrew/dev-cmd/formula.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "formula" diff --git a/Library/Homebrew/dev-cmd/install-bundler-gems.rb b/Library/Homebrew/dev-cmd/install-bundler-gems.rb index 20ba27eb7..b15b49ee9 100644 --- a/Library/Homebrew/dev-cmd/install-bundler-gems.rb +++ b/Library/Homebrew/dev-cmd/install-bundler-gems.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "formula" diff --git a/Library/Homebrew/dev-cmd/irb.rb b/Library/Homebrew/dev-cmd/irb.rb index fb91ecc63..c5a0a29b8 100644 --- a/Library/Homebrew/dev-cmd/irb.rb +++ b/Library/Homebrew/dev-cmd/irb.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "cli/parser" diff --git a/Library/Homebrew/dev-cmd/linkage.rb b/Library/Homebrew/dev-cmd/linkage.rb index e090e413b..631e9ec65 100644 --- a/Library/Homebrew/dev-cmd/linkage.rb +++ b/Library/Homebrew/dev-cmd/linkage.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "cache_store" diff --git a/Library/Homebrew/dev-cmd/livecheck.rb b/Library/Homebrew/dev-cmd/livecheck.rb index 89fe49ea2..d17776802 100644 --- a/Library/Homebrew/dev-cmd/livecheck.rb +++ b/Library/Homebrew/dev-cmd/livecheck.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "cli/parser" diff --git a/Library/Homebrew/dev-cmd/man.rb b/Library/Homebrew/dev-cmd/man.rb index cea445b3d..0a17cdc96 100644 --- a/Library/Homebrew/dev-cmd/man.rb +++ b/Library/Homebrew/dev-cmd/man.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "formula" diff --git a/Library/Homebrew/dev-cmd/mirror.rb b/Library/Homebrew/dev-cmd/mirror.rb index c8dfa5df5..7790c32fe 100644 --- a/Library/Homebrew/dev-cmd/mirror.rb +++ b/Library/Homebrew/dev-cmd/mirror.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "bintray" diff --git a/Library/Homebrew/dev-cmd/pr-automerge.rb b/Library/Homebrew/dev-cmd/pr-automerge.rb index 78c4097a1..40c4007f8 100644 --- a/Library/Homebrew/dev-cmd/pr-automerge.rb +++ b/Library/Homebrew/dev-cmd/pr-automerge.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "cli/parser" diff --git a/Library/Homebrew/dev-cmd/pr-publish.rb b/Library/Homebrew/dev-cmd/pr-publish.rb index 55d32abf5..86b675293 100644 --- a/Library/Homebrew/dev-cmd/pr-publish.rb +++ b/Library/Homebrew/dev-cmd/pr-publish.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "cli/parser" diff --git a/Library/Homebrew/dev-cmd/pr-pull.rb b/Library/Homebrew/dev-cmd/pr-pull.rb index 3effc9eaa..0c4c0d721 100644 --- a/Library/Homebrew/dev-cmd/pr-pull.rb +++ b/Library/Homebrew/dev-cmd/pr-pull.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "download_strategy" diff --git a/Library/Homebrew/dev-cmd/pr-upload.rb b/Library/Homebrew/dev-cmd/pr-upload.rb index 67186565c..566b4e020 100644 --- a/Library/Homebrew/dev-cmd/pr-upload.rb +++ b/Library/Homebrew/dev-cmd/pr-upload.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "cli/parser" diff --git a/Library/Homebrew/dev-cmd/prof.rb b/Library/Homebrew/dev-cmd/prof.rb index 3abb9b9ab..2c40d0b7f 100644 --- a/Library/Homebrew/dev-cmd/prof.rb +++ b/Library/Homebrew/dev-cmd/prof.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "cli/parser" diff --git a/Library/Homebrew/dev-cmd/pull.rb b/Library/Homebrew/dev-cmd/pull.rb index 045e1c241..ce279b1f8 100644 --- a/Library/Homebrew/dev-cmd/pull.rb +++ b/Library/Homebrew/dev-cmd/pull.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "net/http" diff --git a/Library/Homebrew/dev-cmd/release-notes.rb b/Library/Homebrew/dev-cmd/release-notes.rb index 76266028c..7288d85e1 100644 --- a/Library/Homebrew/dev-cmd/release-notes.rb +++ b/Library/Homebrew/dev-cmd/release-notes.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "cli/parser" diff --git a/Library/Homebrew/dev-cmd/ruby.rb b/Library/Homebrew/dev-cmd/ruby.rb index 13477d5f6..4e4f014d0 100644 --- a/Library/Homebrew/dev-cmd/ruby.rb +++ b/Library/Homebrew/dev-cmd/ruby.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "cli/parser" diff --git a/Library/Homebrew/dev-cmd/sh.rb b/Library/Homebrew/dev-cmd/sh.rb index 3cfb76948..a1f35adc1 100644 --- a/Library/Homebrew/dev-cmd/sh.rb +++ b/Library/Homebrew/dev-cmd/sh.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "extend/ENV" diff --git a/Library/Homebrew/dev-cmd/sponsors.rb b/Library/Homebrew/dev-cmd/sponsors.rb index 568daa945..0e3bece7d 100644 --- a/Library/Homebrew/dev-cmd/sponsors.rb +++ b/Library/Homebrew/dev-cmd/sponsors.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "cli/parser" diff --git a/Library/Homebrew/dev-cmd/style.rb b/Library/Homebrew/dev-cmd/style.rb index 26da075aa..8b3d5439a 100644 --- a/Library/Homebrew/dev-cmd/style.rb +++ b/Library/Homebrew/dev-cmd/style.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "json" diff --git a/Library/Homebrew/dev-cmd/tap-new.rb b/Library/Homebrew/dev-cmd/tap-new.rb index 16e46f278..7b587570b 100644 --- a/Library/Homebrew/dev-cmd/tap-new.rb +++ b/Library/Homebrew/dev-cmd/tap-new.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "tap" diff --git a/Library/Homebrew/dev-cmd/test.rb b/Library/Homebrew/dev-cmd/test.rb index 50c052723..087f5f551 100644 --- a/Library/Homebrew/dev-cmd/test.rb +++ b/Library/Homebrew/dev-cmd/test.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "extend/ENV" diff --git a/Library/Homebrew/dev-cmd/tests.rb b/Library/Homebrew/dev-cmd/tests.rb index 7512cabb8..428177807 100644 --- a/Library/Homebrew/dev-cmd/tests.rb +++ b/Library/Homebrew/dev-cmd/tests.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "cli/parser" diff --git a/Library/Homebrew/dev-cmd/typecheck.rb b/Library/Homebrew/dev-cmd/typecheck.rb index 98825c669..b4af45936 100644 --- a/Library/Homebrew/dev-cmd/typecheck.rb +++ b/Library/Homebrew/dev-cmd/typecheck.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "cli/parser" diff --git a/Library/Homebrew/dev-cmd/unpack.rb b/Library/Homebrew/dev-cmd/unpack.rb index e4b5dcc48..e88b9ef2c 100644 --- a/Library/Homebrew/dev-cmd/unpack.rb +++ b/Library/Homebrew/dev-cmd/unpack.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "stringio" diff --git a/Library/Homebrew/dev-cmd/update-license-data.rb b/Library/Homebrew/dev-cmd/update-license-data.rb index f22b83623..6d11bca35 100644 --- a/Library/Homebrew/dev-cmd/update-license-data.rb +++ b/Library/Homebrew/dev-cmd/update-license-data.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "cli/parser" diff --git a/Library/Homebrew/dev-cmd/update-python-resources.rb b/Library/Homebrew/dev-cmd/update-python-resources.rb index c5ce307a6..e109887bb 100644 --- a/Library/Homebrew/dev-cmd/update-python-resources.rb +++ b/Library/Homebrew/dev-cmd/update-python-resources.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "cli/parser" diff --git a/Library/Homebrew/dev-cmd/update-test.rb b/Library/Homebrew/dev-cmd/update-test.rb index d05f445ea..c2c6b0f60 100644 --- a/Library/Homebrew/dev-cmd/update-test.rb +++ b/Library/Homebrew/dev-cmd/update-test.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "cli/parser" diff --git a/Library/Homebrew/dev-cmd/vendor-gems.rb b/Library/Homebrew/dev-cmd/vendor-gems.rb index d702e7df6..c336427a4 100644 --- a/Library/Homebrew/dev-cmd/vendor-gems.rb +++ b/Library/Homebrew/dev-cmd/vendor-gems.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "formula" diff --git a/Library/Homebrew/development_tools.rb b/Library/Homebrew/development_tools.rb index b64c7b931..c0e0c3396 100644 --- a/Library/Homebrew/development_tools.rb +++ b/Library/Homebrew/development_tools.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true # @private diff --git a/Library/Homebrew/diagnostic.rb b/Library/Homebrew/diagnostic.rb index 2b9f16698..4e48e0887 100644 --- a/Library/Homebrew/diagnostic.rb +++ b/Library/Homebrew/diagnostic.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "keg" diff --git a/Library/Homebrew/download_strategy.rb b/Library/Homebrew/download_strategy.rb index 064c42224..35950630b 100644 --- a/Library/Homebrew/download_strategy.rb +++ b/Library/Homebrew/download_strategy.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "json" diff --git a/Library/Homebrew/env_config.rb b/Library/Homebrew/env_config.rb index 747906d20..278cd0f3e 100644 --- a/Library/Homebrew/env_config.rb +++ b/Library/Homebrew/env_config.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true module Homebrew diff --git a/Library/Homebrew/exceptions.rb b/Library/Homebrew/exceptions.rb index 35913baf0..56c3b1587 100644 --- a/Library/Homebrew/exceptions.rb +++ b/Library/Homebrew/exceptions.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "shellwords" diff --git a/Library/Homebrew/extend/ENV.rb b/Library/Homebrew/extend/ENV.rb index 9d0835167..17a6fd122 100644 --- a/Library/Homebrew/extend/ENV.rb +++ b/Library/Homebrew/extend/ENV.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "hardware" diff --git a/Library/Homebrew/extend/ENV/shared.rb b/Library/Homebrew/extend/ENV/shared.rb index e2367a0c1..6ce7864e6 100644 --- a/Library/Homebrew/extend/ENV/shared.rb +++ b/Library/Homebrew/extend/ENV/shared.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "compilers" diff --git a/Library/Homebrew/extend/ENV/std.rb b/Library/Homebrew/extend/ENV/std.rb index 8afbc1397..30dfaeef2 100644 --- a/Library/Homebrew/extend/ENV/std.rb +++ b/Library/Homebrew/extend/ENV/std.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "hardware" diff --git a/Library/Homebrew/extend/ENV/super.rb b/Library/Homebrew/extend/ENV/super.rb index 4bbe7e054..b30a714bf 100644 --- a/Library/Homebrew/extend/ENV/super.rb +++ b/Library/Homebrew/extend/ENV/super.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "extend/ENV/shared" diff --git a/Library/Homebrew/extend/cachable.rb b/Library/Homebrew/extend/cachable.rb index 754509648..c90e9ca47 100644 --- a/Library/Homebrew/extend/cachable.rb +++ b/Library/Homebrew/extend/cachable.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true module Cachable diff --git a/Library/Homebrew/extend/git_repository.rb b/Library/Homebrew/extend/git_repository.rb index 495b538bf..56a8ced86 100644 --- a/Library/Homebrew/extend/git_repository.rb +++ b/Library/Homebrew/extend/git_repository.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "utils/git" diff --git a/Library/Homebrew/extend/hash_validator.rb b/Library/Homebrew/extend/hash_validator.rb index ff6d7aec5..09cfbe68a 100644 --- a/Library/Homebrew/extend/hash_validator.rb +++ b/Library/Homebrew/extend/hash_validator.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true module HashValidator diff --git a/Library/Homebrew/extend/io.rb b/Library/Homebrew/extend/io.rb index 21080e1fe..f5d36dfc8 100644 --- a/Library/Homebrew/extend/io.rb +++ b/Library/Homebrew/extend/io.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true class IO diff --git a/Library/Homebrew/extend/module.rb b/Library/Homebrew/extend/module.rb index 5ba8ae7e0..173bfcc38 100644 --- a/Library/Homebrew/extend/module.rb +++ b/Library/Homebrew/extend/module.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true class Module diff --git a/Library/Homebrew/extend/optparse.rb b/Library/Homebrew/extend/optparse.rb index d59dcbeca..fb52d3705 100644 --- a/Library/Homebrew/extend/optparse.rb +++ b/Library/Homebrew/extend/optparse.rb @@ -1,3 +1,4 @@ +# typed: strict # frozen_string_literal: true require "optparse" diff --git a/Library/Homebrew/extend/os/bottles.rb b/Library/Homebrew/extend/os/bottles.rb index b9426c9d5..653fc2d19 100644 --- a/Library/Homebrew/extend/os/bottles.rb +++ b/Library/Homebrew/extend/os/bottles.rb @@ -1,3 +1,4 @@ +# typed: strict # frozen_string_literal: true require "extend/os/mac/utils/bottles" if OS.mac? diff --git a/Library/Homebrew/extend/os/caveats.rb b/Library/Homebrew/extend/os/caveats.rb index 6dddc2a8f..75bd37fed 100644 --- a/Library/Homebrew/extend/os/caveats.rb +++ b/Library/Homebrew/extend/os/caveats.rb @@ -1,3 +1,4 @@ +# typed: strict # frozen_string_literal: true require "extend/os/mac/caveats" if OS.mac? diff --git a/Library/Homebrew/extend/os/cleaner.rb b/Library/Homebrew/extend/os/cleaner.rb index 0fc9822e7..2e318d7d5 100644 --- a/Library/Homebrew/extend/os/cleaner.rb +++ b/Library/Homebrew/extend/os/cleaner.rb @@ -1,3 +1,4 @@ +# typed: strict # frozen_string_literal: true if OS.mac? diff --git a/Library/Homebrew/extend/os/dependency_collector.rb b/Library/Homebrew/extend/os/dependency_collector.rb index b73abbdcf..58a3f2399 100644 --- a/Library/Homebrew/extend/os/dependency_collector.rb +++ b/Library/Homebrew/extend/os/dependency_collector.rb @@ -1,3 +1,4 @@ +# typed: strict # frozen_string_literal: true if OS.mac? diff --git a/Library/Homebrew/extend/os/development_tools.rb b/Library/Homebrew/extend/os/development_tools.rb index 61385fc5c..58e4f580b 100644 --- a/Library/Homebrew/extend/os/development_tools.rb +++ b/Library/Homebrew/extend/os/development_tools.rb @@ -1,3 +1,4 @@ +# typed: strict # frozen_string_literal: true if OS.mac? diff --git a/Library/Homebrew/extend/os/diagnostic.rb b/Library/Homebrew/extend/os/diagnostic.rb index d94fb033b..066e48505 100644 --- a/Library/Homebrew/extend/os/diagnostic.rb +++ b/Library/Homebrew/extend/os/diagnostic.rb @@ -1,3 +1,4 @@ +# typed: strict # frozen_string_literal: true if OS.mac? diff --git a/Library/Homebrew/extend/os/extend/ENV/shared.rb b/Library/Homebrew/extend/os/extend/ENV/shared.rb index ee2c60f12..1109fad7a 100644 --- a/Library/Homebrew/extend/os/extend/ENV/shared.rb +++ b/Library/Homebrew/extend/os/extend/ENV/shared.rb @@ -1,3 +1,4 @@ +# typed: strict # frozen_string_literal: true if OS.mac? diff --git a/Library/Homebrew/extend/os/extend/ENV/std.rb b/Library/Homebrew/extend/os/extend/ENV/std.rb index 4fa49e135..8e2b4e3e5 100644 --- a/Library/Homebrew/extend/os/extend/ENV/std.rb +++ b/Library/Homebrew/extend/os/extend/ENV/std.rb @@ -1,3 +1,4 @@ +# typed: strict # frozen_string_literal: true if OS.mac? diff --git a/Library/Homebrew/extend/os/extend/ENV/super.rb b/Library/Homebrew/extend/os/extend/ENV/super.rb index e7d197638..e5349464e 100644 --- a/Library/Homebrew/extend/os/extend/ENV/super.rb +++ b/Library/Homebrew/extend/os/extend/ENV/super.rb @@ -1,3 +1,4 @@ +# typed: strict # frozen_string_literal: true if OS.mac? diff --git a/Library/Homebrew/extend/os/formula.rb b/Library/Homebrew/extend/os/formula.rb index fe06aea8c..5a520cf8a 100644 --- a/Library/Homebrew/extend/os/formula.rb +++ b/Library/Homebrew/extend/os/formula.rb @@ -1,3 +1,4 @@ +# typed: strict # frozen_string_literal: true if OS.mac? diff --git a/Library/Homebrew/extend/os/formula_cellar_checks.rb b/Library/Homebrew/extend/os/formula_cellar_checks.rb index 85bf7f77b..35cac0c90 100644 --- a/Library/Homebrew/extend/os/formula_cellar_checks.rb +++ b/Library/Homebrew/extend/os/formula_cellar_checks.rb @@ -1,3 +1,4 @@ +# typed: strict # frozen_string_literal: true if OS.mac? diff --git a/Library/Homebrew/extend/os/formula_support.rb b/Library/Homebrew/extend/os/formula_support.rb index b092c72bc..ebefc4b5f 100644 --- a/Library/Homebrew/extend/os/formula_support.rb +++ b/Library/Homebrew/extend/os/formula_support.rb @@ -1,3 +1,4 @@ +# typed: strict # frozen_string_literal: true require "extend/os/mac/formula_support" if OS.mac? diff --git a/Library/Homebrew/extend/os/hardware.rb b/Library/Homebrew/extend/os/hardware.rb index f23d41e4a..07a3382eb 100644 --- a/Library/Homebrew/extend/os/hardware.rb +++ b/Library/Homebrew/extend/os/hardware.rb @@ -1,3 +1,4 @@ +# typed: strict # frozen_string_literal: true if OS.mac? diff --git a/Library/Homebrew/extend/os/install.rb b/Library/Homebrew/extend/os/install.rb index 8e93626db..0bb64629d 100644 --- a/Library/Homebrew/extend/os/install.rb +++ b/Library/Homebrew/extend/os/install.rb @@ -1,3 +1,4 @@ +# typed: strict # frozen_string_literal: true require "extend/os/linux/install" if OS.linux? diff --git a/Library/Homebrew/extend/os/keg.rb b/Library/Homebrew/extend/os/keg.rb index 7b321b1b9..5e3cdd073 100644 --- a/Library/Homebrew/extend/os/keg.rb +++ b/Library/Homebrew/extend/os/keg.rb @@ -1,3 +1,4 @@ +# typed: strict # frozen_string_literal: true require "extend/os/mac/keg" if OS.mac? diff --git a/Library/Homebrew/extend/os/keg_relocate.rb b/Library/Homebrew/extend/os/keg_relocate.rb index 2107c8388..6330de538 100644 --- a/Library/Homebrew/extend/os/keg_relocate.rb +++ b/Library/Homebrew/extend/os/keg_relocate.rb @@ -1,3 +1,4 @@ +# typed: strict # frozen_string_literal: true if OS.mac? diff --git a/Library/Homebrew/extend/os/language/java.rb b/Library/Homebrew/extend/os/language/java.rb index 03e20040e..3c1c0372b 100644 --- a/Library/Homebrew/extend/os/language/java.rb +++ b/Library/Homebrew/extend/os/language/java.rb @@ -1,3 +1,4 @@ +# typed: strict # frozen_string_literal: true require "extend/os/mac/language/java" if OS.mac? diff --git a/Library/Homebrew/extend/os/linkage_checker.rb b/Library/Homebrew/extend/os/linkage_checker.rb index 4fe4204f6..3e8904e5e 100644 --- a/Library/Homebrew/extend/os/linkage_checker.rb +++ b/Library/Homebrew/extend/os/linkage_checker.rb @@ -1,3 +1,4 @@ +# typed: strict # frozen_string_literal: true require "extend/os/linux/linkage_checker" if OS.linux? diff --git a/Library/Homebrew/extend/os/linux/cleaner.rb b/Library/Homebrew/extend/os/linux/cleaner.rb index 21d646c0b..230e2a8ca 100644 --- a/Library/Homebrew/extend/os/linux/cleaner.rb +++ b/Library/Homebrew/extend/os/linux/cleaner.rb @@ -1,3 +1,4 @@ +# typed: strict # frozen_string_literal: true class Cleaner diff --git a/Library/Homebrew/extend/os/linux/dependency_collector.rb b/Library/Homebrew/extend/os/linux/dependency_collector.rb index cfad51c4c..c019b67f0 100644 --- a/Library/Homebrew/extend/os/linux/dependency_collector.rb +++ b/Library/Homebrew/extend/os/linux/dependency_collector.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true class DependencyCollector diff --git a/Library/Homebrew/extend/os/linux/development_tools.rb b/Library/Homebrew/extend/os/linux/development_tools.rb index 590c0e0d7..4e3bc56c9 100644 --- a/Library/Homebrew/extend/os/linux/development_tools.rb +++ b/Library/Homebrew/extend/os/linux/development_tools.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true class DevelopmentTools diff --git a/Library/Homebrew/extend/os/linux/diagnostic.rb b/Library/Homebrew/extend/os/linux/diagnostic.rb index 355e7e8cd..30c48e55d 100644 --- a/Library/Homebrew/extend/os/linux/diagnostic.rb +++ b/Library/Homebrew/extend/os/linux/diagnostic.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "tempfile" diff --git a/Library/Homebrew/extend/os/linux/extend/ENV/shared.rb b/Library/Homebrew/extend/os/linux/extend/ENV/shared.rb index b16178cac..661725a6d 100644 --- a/Library/Homebrew/extend/os/linux/extend/ENV/shared.rb +++ b/Library/Homebrew/extend/os/linux/extend/ENV/shared.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true module SharedEnvExtension diff --git a/Library/Homebrew/extend/os/linux/extend/ENV/std.rb b/Library/Homebrew/extend/os/linux/extend/ENV/std.rb index ddef1ee7e..fb287efc3 100644 --- a/Library/Homebrew/extend/os/linux/extend/ENV/std.rb +++ b/Library/Homebrew/extend/os/linux/extend/ENV/std.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true module Stdenv diff --git a/Library/Homebrew/extend/os/linux/extend/ENV/super.rb b/Library/Homebrew/extend/os/linux/extend/ENV/super.rb index b5ba7e450..a3fda016e 100644 --- a/Library/Homebrew/extend/os/linux/extend/ENV/super.rb +++ b/Library/Homebrew/extend/os/linux/extend/ENV/super.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true module Superenv diff --git a/Library/Homebrew/extend/os/linux/extend/pathname.rb b/Library/Homebrew/extend/os/linux/extend/pathname.rb index 7b4bd6371..c3bca7f31 100644 --- a/Library/Homebrew/extend/os/linux/extend/pathname.rb +++ b/Library/Homebrew/extend/os/linux/extend/pathname.rb @@ -1,3 +1,4 @@ +# typed: strict # frozen_string_literal: true require "os/linux/elf" diff --git a/Library/Homebrew/extend/os/linux/formula.rb b/Library/Homebrew/extend/os/linux/formula.rb index e1562909a..6b96d548c 100644 --- a/Library/Homebrew/extend/os/linux/formula.rb +++ b/Library/Homebrew/extend/os/linux/formula.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true class Formula diff --git a/Library/Homebrew/extend/os/linux/formula_cellar_checks.rb b/Library/Homebrew/extend/os/linux/formula_cellar_checks.rb index 00a14f98b..fa2e49945 100644 --- a/Library/Homebrew/extend/os/linux/formula_cellar_checks.rb +++ b/Library/Homebrew/extend/os/linux/formula_cellar_checks.rb @@ -1,3 +1,4 @@ +# typed: strict # frozen_string_literal: true module FormulaCellarChecks diff --git a/Library/Homebrew/extend/os/linux/hardware/cpu.rb b/Library/Homebrew/extend/os/linux/hardware/cpu.rb index e51d65628..badc19f50 100644 --- a/Library/Homebrew/extend/os/linux/hardware/cpu.rb +++ b/Library/Homebrew/extend/os/linux/hardware/cpu.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true module Hardware diff --git a/Library/Homebrew/extend/os/linux/install.rb b/Library/Homebrew/extend/os/linux/install.rb index 2184287f5..a905cbca7 100644 --- a/Library/Homebrew/extend/os/linux/install.rb +++ b/Library/Homebrew/extend/os/linux/install.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true module Homebrew diff --git a/Library/Homebrew/extend/os/linux/keg_relocate.rb b/Library/Homebrew/extend/os/linux/keg_relocate.rb index 5d25692fd..b4307b71d 100644 --- a/Library/Homebrew/extend/os/linux/keg_relocate.rb +++ b/Library/Homebrew/extend/os/linux/keg_relocate.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true class Keg diff --git a/Library/Homebrew/extend/os/linux/linkage_checker.rb b/Library/Homebrew/extend/os/linux/linkage_checker.rb index 30e073513..7720cc0d2 100644 --- a/Library/Homebrew/extend/os/linux/linkage_checker.rb +++ b/Library/Homebrew/extend/os/linux/linkage_checker.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true class LinkageChecker diff --git a/Library/Homebrew/extend/os/linux/readall.rb b/Library/Homebrew/extend/os/linux/readall.rb index e9278821e..62c235325 100644 --- a/Library/Homebrew/extend/os/linux/readall.rb +++ b/Library/Homebrew/extend/os/linux/readall.rb @@ -1,3 +1,4 @@ +# typed: strict # frozen_string_literal: true module Readall diff --git a/Library/Homebrew/extend/os/linux/requirements/java_requirement.rb b/Library/Homebrew/extend/os/linux/requirements/java_requirement.rb index 1b1b6347c..aa643d9ff 100644 --- a/Library/Homebrew/extend/os/linux/requirements/java_requirement.rb +++ b/Library/Homebrew/extend/os/linux/requirements/java_requirement.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "language/java" diff --git a/Library/Homebrew/extend/os/linux/requirements/osxfuse_requirement.rb b/Library/Homebrew/extend/os/linux/requirements/osxfuse_requirement.rb index 518a7ce64..1a2ed8127 100644 --- a/Library/Homebrew/extend/os/linux/requirements/osxfuse_requirement.rb +++ b/Library/Homebrew/extend/os/linux/requirements/osxfuse_requirement.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "requirement" diff --git a/Library/Homebrew/extend/os/linux/resource.rb b/Library/Homebrew/extend/os/linux/resource.rb index a5af426c0..47f3801dd 100644 --- a/Library/Homebrew/extend/os/linux/resource.rb +++ b/Library/Homebrew/extend/os/linux/resource.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true class Resource diff --git a/Library/Homebrew/extend/os/linux/software_spec.rb b/Library/Homebrew/extend/os/linux/software_spec.rb index 12ed0de45..7d118fdc3 100644 --- a/Library/Homebrew/extend/os/linux/software_spec.rb +++ b/Library/Homebrew/extend/os/linux/software_spec.rb @@ -1,3 +1,4 @@ +# typed: strict # frozen_string_literal: true class BottleSpecification diff --git a/Library/Homebrew/extend/os/linux/system_config.rb b/Library/Homebrew/extend/os/linux/system_config.rb index 0f76a99d2..154c805a1 100644 --- a/Library/Homebrew/extend/os/linux/system_config.rb +++ b/Library/Homebrew/extend/os/linux/system_config.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "formula" diff --git a/Library/Homebrew/extend/os/linux/tap.rb b/Library/Homebrew/extend/os/linux/tap.rb index 4a3ab9709..9f214a40b 100644 --- a/Library/Homebrew/extend/os/linux/tap.rb +++ b/Library/Homebrew/extend/os/linux/tap.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true class CoreTap < Tap diff --git a/Library/Homebrew/extend/os/linux/utils/analytics.rb b/Library/Homebrew/extend/os/linux/utils/analytics.rb index 00058e64d..b4aa28f00 100644 --- a/Library/Homebrew/extend/os/linux/utils/analytics.rb +++ b/Library/Homebrew/extend/os/linux/utils/analytics.rb @@ -1,3 +1,4 @@ +# typed: strict # frozen_string_literal: true module Utils diff --git a/Library/Homebrew/extend/os/mac/caveats.rb b/Library/Homebrew/extend/os/mac/caveats.rb index dae8d90b0..6de89386a 100644 --- a/Library/Homebrew/extend/os/mac/caveats.rb +++ b/Library/Homebrew/extend/os/mac/caveats.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true class Caveats diff --git a/Library/Homebrew/extend/os/mac/cleaner.rb b/Library/Homebrew/extend/os/mac/cleaner.rb index 35b6e374c..9f2425ca2 100644 --- a/Library/Homebrew/extend/os/mac/cleaner.rb +++ b/Library/Homebrew/extend/os/mac/cleaner.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true class Cleaner diff --git a/Library/Homebrew/extend/os/mac/dependency_collector.rb b/Library/Homebrew/extend/os/mac/dependency_collector.rb index 5db3b5767..5efcd96d8 100644 --- a/Library/Homebrew/extend/os/mac/dependency_collector.rb +++ b/Library/Homebrew/extend/os/mac/dependency_collector.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true class DependencyCollector diff --git a/Library/Homebrew/extend/os/mac/development_tools.rb b/Library/Homebrew/extend/os/mac/development_tools.rb index 787196472..15ea337b2 100644 --- a/Library/Homebrew/extend/os/mac/development_tools.rb +++ b/Library/Homebrew/extend/os/mac/development_tools.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "os/mac/xcode" diff --git a/Library/Homebrew/extend/os/mac/diagnostic.rb b/Library/Homebrew/extend/os/mac/diagnostic.rb index de7222f90..7b05358af 100644 --- a/Library/Homebrew/extend/os/mac/diagnostic.rb +++ b/Library/Homebrew/extend/os/mac/diagnostic.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true module Homebrew diff --git a/Library/Homebrew/extend/os/mac/extend/ENV/shared.rb b/Library/Homebrew/extend/os/mac/extend/ENV/shared.rb index 476d30f75..633768d80 100644 --- a/Library/Homebrew/extend/os/mac/extend/ENV/shared.rb +++ b/Library/Homebrew/extend/os/mac/extend/ENV/shared.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true module SharedEnvExtension diff --git a/Library/Homebrew/extend/os/mac/extend/ENV/std.rb b/Library/Homebrew/extend/os/mac/extend/ENV/std.rb index e6829a57a..eceb48671 100644 --- a/Library/Homebrew/extend/os/mac/extend/ENV/std.rb +++ b/Library/Homebrew/extend/os/mac/extend/ENV/std.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true module Stdenv diff --git a/Library/Homebrew/extend/os/mac/extend/ENV/super.rb b/Library/Homebrew/extend/os/mac/extend/ENV/super.rb index 6bc4edcc4..999c916b7 100644 --- a/Library/Homebrew/extend/os/mac/extend/ENV/super.rb +++ b/Library/Homebrew/extend/os/mac/extend/ENV/super.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true module Superenv diff --git a/Library/Homebrew/extend/os/mac/extend/pathname.rb b/Library/Homebrew/extend/os/mac/extend/pathname.rb index 9289aa73b..b208bf5b6 100644 --- a/Library/Homebrew/extend/os/mac/extend/pathname.rb +++ b/Library/Homebrew/extend/os/mac/extend/pathname.rb @@ -1,3 +1,4 @@ +# typed: strict # frozen_string_literal: true require "os/mac/mach" diff --git a/Library/Homebrew/extend/os/mac/formula.rb b/Library/Homebrew/extend/os/mac/formula.rb index dba823599..b9fbaf824 100644 --- a/Library/Homebrew/extend/os/mac/formula.rb +++ b/Library/Homebrew/extend/os/mac/formula.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true class Formula diff --git a/Library/Homebrew/extend/os/mac/formula_cellar_checks.rb b/Library/Homebrew/extend/os/mac/formula_cellar_checks.rb index 60c964940..1bb8f462e 100644 --- a/Library/Homebrew/extend/os/mac/formula_cellar_checks.rb +++ b/Library/Homebrew/extend/os/mac/formula_cellar_checks.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "cache_store" diff --git a/Library/Homebrew/extend/os/mac/formula_support.rb b/Library/Homebrew/extend/os/mac/formula_support.rb index 0635fce91..a70d6f3bc 100644 --- a/Library/Homebrew/extend/os/mac/formula_support.rb +++ b/Library/Homebrew/extend/os/mac/formula_support.rb @@ -1,3 +1,4 @@ +# typed: strict # frozen_string_literal: true class KegOnlyReason diff --git a/Library/Homebrew/extend/os/mac/hardware.rb b/Library/Homebrew/extend/os/mac/hardware.rb index c1edebfa6..ab53b4fd4 100644 --- a/Library/Homebrew/extend/os/mac/hardware.rb +++ b/Library/Homebrew/extend/os/mac/hardware.rb @@ -1,3 +1,4 @@ +# typed: strict # frozen_string_literal: true module Hardware diff --git a/Library/Homebrew/extend/os/mac/hardware/cpu.rb b/Library/Homebrew/extend/os/mac/hardware/cpu.rb index 308e94ea0..0038423b3 100644 --- a/Library/Homebrew/extend/os/mac/hardware/cpu.rb +++ b/Library/Homebrew/extend/os/mac/hardware/cpu.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "macho" diff --git a/Library/Homebrew/extend/os/mac/keg.rb b/Library/Homebrew/extend/os/mac/keg.rb index 5fb0fbe0e..504b5c134 100644 --- a/Library/Homebrew/extend/os/mac/keg.rb +++ b/Library/Homebrew/extend/os/mac/keg.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true class Keg diff --git a/Library/Homebrew/extend/os/mac/keg_relocate.rb b/Library/Homebrew/extend/os/mac/keg_relocate.rb index d9a88c658..b55deed22 100644 --- a/Library/Homebrew/extend/os/mac/keg_relocate.rb +++ b/Library/Homebrew/extend/os/mac/keg_relocate.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true class Keg diff --git a/Library/Homebrew/extend/os/mac/language/java.rb b/Library/Homebrew/extend/os/mac/language/java.rb index a92b386ec..0096bb9c9 100644 --- a/Library/Homebrew/extend/os/mac/language/java.rb +++ b/Library/Homebrew/extend/os/mac/language/java.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true module Language diff --git a/Library/Homebrew/extend/os/mac/missing_formula.rb b/Library/Homebrew/extend/os/mac/missing_formula.rb index cceda9155..cd9ce8232 100644 --- a/Library/Homebrew/extend/os/mac/missing_formula.rb +++ b/Library/Homebrew/extend/os/mac/missing_formula.rb @@ -1,3 +1,4 @@ +# typed: strict # frozen_string_literal: true require "cask/cmd/abstract_command" diff --git a/Library/Homebrew/extend/os/mac/requirements/java_requirement.rb b/Library/Homebrew/extend/os/mac/requirements/java_requirement.rb index f8130f758..4390f5067 100644 --- a/Library/Homebrew/extend/os/mac/requirements/java_requirement.rb +++ b/Library/Homebrew/extend/os/mac/requirements/java_requirement.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true class JavaRequirement < Requirement diff --git a/Library/Homebrew/extend/os/mac/requirements/osxfuse_requirement.rb b/Library/Homebrew/extend/os/mac/requirements/osxfuse_requirement.rb index bcdfabdf7..bdf2d9e93 100644 --- a/Library/Homebrew/extend/os/mac/requirements/osxfuse_requirement.rb +++ b/Library/Homebrew/extend/os/mac/requirements/osxfuse_requirement.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "requirement" diff --git a/Library/Homebrew/extend/os/mac/requirements/x11_requirement.rb b/Library/Homebrew/extend/os/mac/requirements/x11_requirement.rb index 5c0f5cb9c..647c485b7 100644 --- a/Library/Homebrew/extend/os/mac/requirements/x11_requirement.rb +++ b/Library/Homebrew/extend/os/mac/requirements/x11_requirement.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "requirement" diff --git a/Library/Homebrew/extend/os/mac/resource.rb b/Library/Homebrew/extend/os/mac/resource.rb index 2c5321856..2947a85a3 100644 --- a/Library/Homebrew/extend/os/mac/resource.rb +++ b/Library/Homebrew/extend/os/mac/resource.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true class Resource diff --git a/Library/Homebrew/extend/os/mac/search.rb b/Library/Homebrew/extend/os/mac/search.rb index 82cf08b5c..f25e05c43 100644 --- a/Library/Homebrew/extend/os/mac/search.rb +++ b/Library/Homebrew/extend/os/mac/search.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "cask/cask" diff --git a/Library/Homebrew/extend/os/mac/software_spec.rb b/Library/Homebrew/extend/os/mac/software_spec.rb index e3c1de519..221c0c4ca 100644 --- a/Library/Homebrew/extend/os/mac/software_spec.rb +++ b/Library/Homebrew/extend/os/mac/software_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true class SoftwareSpec diff --git a/Library/Homebrew/extend/os/mac/system_config.rb b/Library/Homebrew/extend/os/mac/system_config.rb index da6698fc5..3ea619e2d 100644 --- a/Library/Homebrew/extend/os/mac/system_config.rb +++ b/Library/Homebrew/extend/os/mac/system_config.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true module SystemConfig diff --git a/Library/Homebrew/extend/os/mac/unpack_strategy/zip.rb b/Library/Homebrew/extend/os/mac/unpack_strategy/zip.rb index fa619816d..d90cdb21f 100644 --- a/Library/Homebrew/extend/os/mac/unpack_strategy/zip.rb +++ b/Library/Homebrew/extend/os/mac/unpack_strategy/zip.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true module UnpackStrategy diff --git a/Library/Homebrew/extend/os/mac/utils/analytics.rb b/Library/Homebrew/extend/os/mac/utils/analytics.rb index 3e624df8a..ceba5b264 100644 --- a/Library/Homebrew/extend/os/mac/utils/analytics.rb +++ b/Library/Homebrew/extend/os/mac/utils/analytics.rb @@ -1,3 +1,4 @@ +# typed: strict # frozen_string_literal: true module Utils diff --git a/Library/Homebrew/extend/os/mac/utils/bottles.rb b/Library/Homebrew/extend/os/mac/utils/bottles.rb index 1b9303918..3986d0b94 100644 --- a/Library/Homebrew/extend/os/mac/utils/bottles.rb +++ b/Library/Homebrew/extend/os/mac/utils/bottles.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true module Utils diff --git a/Library/Homebrew/extend/os/missing_formula.rb b/Library/Homebrew/extend/os/missing_formula.rb index b77e64274..4eb794a1b 100644 --- a/Library/Homebrew/extend/os/missing_formula.rb +++ b/Library/Homebrew/extend/os/missing_formula.rb @@ -1,3 +1,4 @@ +# typed: strict # frozen_string_literal: true require "extend/os/mac/missing_formula" if OS.mac? diff --git a/Library/Homebrew/extend/os/pathname.rb b/Library/Homebrew/extend/os/pathname.rb index 58e109e3f..131f49e6a 100644 --- a/Library/Homebrew/extend/os/pathname.rb +++ b/Library/Homebrew/extend/os/pathname.rb @@ -1,3 +1,4 @@ +# typed: strict # frozen_string_literal: true if OS.mac? diff --git a/Library/Homebrew/extend/os/readall.rb b/Library/Homebrew/extend/os/readall.rb index 6ddbc3e6d..af407f1c4 100644 --- a/Library/Homebrew/extend/os/readall.rb +++ b/Library/Homebrew/extend/os/readall.rb @@ -1,3 +1,4 @@ +# typed: strict # frozen_string_literal: true require "extend/os/linux/readall" if OS.linux? diff --git a/Library/Homebrew/extend/os/requirements/java_requirement.rb b/Library/Homebrew/extend/os/requirements/java_requirement.rb index 85c36f1ae..cd6faa271 100644 --- a/Library/Homebrew/extend/os/requirements/java_requirement.rb +++ b/Library/Homebrew/extend/os/requirements/java_requirement.rb @@ -1,3 +1,4 @@ +# typed: strict # frozen_string_literal: true if OS.mac? diff --git a/Library/Homebrew/extend/os/requirements/osxfuse_requirement.rb b/Library/Homebrew/extend/os/requirements/osxfuse_requirement.rb index eab9176f3..318299549 100644 --- a/Library/Homebrew/extend/os/requirements/osxfuse_requirement.rb +++ b/Library/Homebrew/extend/os/requirements/osxfuse_requirement.rb @@ -1,3 +1,4 @@ +# typed: strict # frozen_string_literal: true if OS.mac? diff --git a/Library/Homebrew/extend/os/requirements/x11_requirement.rb b/Library/Homebrew/extend/os/requirements/x11_requirement.rb index 5389f38a1..df7ae3481 100644 --- a/Library/Homebrew/extend/os/requirements/x11_requirement.rb +++ b/Library/Homebrew/extend/os/requirements/x11_requirement.rb @@ -1,3 +1,4 @@ +# typed: strict # frozen_string_literal: true require "extend/os/mac/requirements/x11_requirement" if OS.mac? diff --git a/Library/Homebrew/extend/os/resource.rb b/Library/Homebrew/extend/os/resource.rb index 9ad337890..aa6d67515 100644 --- a/Library/Homebrew/extend/os/resource.rb +++ b/Library/Homebrew/extend/os/resource.rb @@ -1,3 +1,4 @@ +# typed: strict # frozen_string_literal: true if OS.mac? diff --git a/Library/Homebrew/extend/os/search.rb b/Library/Homebrew/extend/os/search.rb index c6909a0fa..96e7ff28e 100644 --- a/Library/Homebrew/extend/os/search.rb +++ b/Library/Homebrew/extend/os/search.rb @@ -1,3 +1,4 @@ +# typed: strict # frozen_string_literal: true require "extend/os/mac/search" if OS.mac? diff --git a/Library/Homebrew/extend/os/software_spec.rb b/Library/Homebrew/extend/os/software_spec.rb index b4aea1144..15da2d0e5 100644 --- a/Library/Homebrew/extend/os/software_spec.rb +++ b/Library/Homebrew/extend/os/software_spec.rb @@ -1,3 +1,4 @@ +# typed: strict # frozen_string_literal: true if OS.linux? diff --git a/Library/Homebrew/extend/os/system_config.rb b/Library/Homebrew/extend/os/system_config.rb index 9c06e9a02..71298e98e 100644 --- a/Library/Homebrew/extend/os/system_config.rb +++ b/Library/Homebrew/extend/os/system_config.rb @@ -1,3 +1,4 @@ +# typed: strict # frozen_string_literal: true if OS.mac? diff --git a/Library/Homebrew/extend/os/tap.rb b/Library/Homebrew/extend/os/tap.rb index 82e0a09f6..7ad0ad531 100644 --- a/Library/Homebrew/extend/os/tap.rb +++ b/Library/Homebrew/extend/os/tap.rb @@ -1,3 +1,4 @@ +# typed: strict # frozen_string_literal: true require "extend/os/linux/tap" if OS.linux? diff --git a/Library/Homebrew/extend/os/utils/analytics.rb b/Library/Homebrew/extend/os/utils/analytics.rb index 8598bbf46..f0042d78c 100644 --- a/Library/Homebrew/extend/os/utils/analytics.rb +++ b/Library/Homebrew/extend/os/utils/analytics.rb @@ -1,3 +1,4 @@ +# typed: strict # frozen_string_literal: true require "extend/os/linux/utils/analytics" if OS.linux? diff --git a/Library/Homebrew/extend/pathname.rb b/Library/Homebrew/extend/pathname.rb index fb3ddd965..9d45d5f5e 100644 --- a/Library/Homebrew/extend/pathname.rb +++ b/Library/Homebrew/extend/pathname.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "resource" diff --git a/Library/Homebrew/extend/predicable.rb b/Library/Homebrew/extend/predicable.rb index dba7f17b5..914244d5d 100644 --- a/Library/Homebrew/extend/predicable.rb +++ b/Library/Homebrew/extend/predicable.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true module Predicable diff --git a/Library/Homebrew/extend/string.rb b/Library/Homebrew/extend/string.rb index 32d403e21..d68d67897 100644 --- a/Library/Homebrew/extend/string.rb +++ b/Library/Homebrew/extend/string.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "active_support/core_ext/object/blank" diff --git a/Library/Homebrew/fetch.rb b/Library/Homebrew/fetch.rb index 717537cbc..6297b5d62 100644 --- a/Library/Homebrew/fetch.rb +++ b/Library/Homebrew/fetch.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true module Homebrew diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb index 135310476..53ec1ee33 100644 --- a/Library/Homebrew/formula.rb +++ b/Library/Homebrew/formula.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "cache_store" diff --git a/Library/Homebrew/formula_assertions.rb b/Library/Homebrew/formula_assertions.rb index fdcfa8657..05948f3a2 100644 --- a/Library/Homebrew/formula_assertions.rb +++ b/Library/Homebrew/formula_assertions.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true module Homebrew diff --git a/Library/Homebrew/formula_cellar_checks.rb b/Library/Homebrew/formula_cellar_checks.rb index 7c71590d2..7d7a31b17 100644 --- a/Library/Homebrew/formula_cellar_checks.rb +++ b/Library/Homebrew/formula_cellar_checks.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "utils/shell" diff --git a/Library/Homebrew/formula_creator.rb b/Library/Homebrew/formula_creator.rb index 75ddba148..f30b7082f 100644 --- a/Library/Homebrew/formula_creator.rb +++ b/Library/Homebrew/formula_creator.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "digest" diff --git a/Library/Homebrew/formula_free_port.rb b/Library/Homebrew/formula_free_port.rb index 2067ca287..91e94da60 100644 --- a/Library/Homebrew/formula_free_port.rb +++ b/Library/Homebrew/formula_free_port.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "socket" diff --git a/Library/Homebrew/formula_info.rb b/Library/Homebrew/formula_info.rb index 916564394..367f7e694 100644 --- a/Library/Homebrew/formula_info.rb +++ b/Library/Homebrew/formula_info.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true # Formula information drawn from an external `brew info --json` call. diff --git a/Library/Homebrew/formula_installer.rb b/Library/Homebrew/formula_installer.rb index b6c38e128..1ff0ab171 100644 --- a/Library/Homebrew/formula_installer.rb +++ b/Library/Homebrew/formula_installer.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "cxxstdlib" diff --git a/Library/Homebrew/formula_pin.rb b/Library/Homebrew/formula_pin.rb index 613a51fc8..0a0d097c2 100644 --- a/Library/Homebrew/formula_pin.rb +++ b/Library/Homebrew/formula_pin.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "keg" diff --git a/Library/Homebrew/formula_support.rb b/Library/Homebrew/formula_support.rb index 521621711..67569587f 100644 --- a/Library/Homebrew/formula_support.rb +++ b/Library/Homebrew/formula_support.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true # Used to track formulae that cannot be installed at the same time. diff --git a/Library/Homebrew/formula_versions.rb b/Library/Homebrew/formula_versions.rb index ecd67d527..c33726de0 100644 --- a/Library/Homebrew/formula_versions.rb +++ b/Library/Homebrew/formula_versions.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "formula" diff --git a/Library/Homebrew/formulary.rb b/Library/Homebrew/formulary.rb index 4bc1e446c..2421b1d1b 100644 --- a/Library/Homebrew/formulary.rb +++ b/Library/Homebrew/formulary.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "digest/md5" diff --git a/Library/Homebrew/global.rb b/Library/Homebrew/global.rb index ac124aa09..667f76543 100644 --- a/Library/Homebrew/global.rb +++ b/Library/Homebrew/global.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "English" diff --git a/Library/Homebrew/hardware.rb b/Library/Homebrew/hardware.rb index ea63270b2..05b5d08ad 100644 --- a/Library/Homebrew/hardware.rb +++ b/Library/Homebrew/hardware.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "utils/popen" diff --git a/Library/Homebrew/help.rb b/Library/Homebrew/help.rb index 8b577b8c8..66e38c357 100644 --- a/Library/Homebrew/help.rb +++ b/Library/Homebrew/help.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "cli/parser" diff --git a/Library/Homebrew/install.rb b/Library/Homebrew/install.rb index 17d406957..f00d3fc40 100644 --- a/Library/Homebrew/install.rb +++ b/Library/Homebrew/install.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "diagnostic" diff --git a/Library/Homebrew/install_renamed.rb b/Library/Homebrew/install_renamed.rb index ac891273a..6018da810 100644 --- a/Library/Homebrew/install_renamed.rb +++ b/Library/Homebrew/install_renamed.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true # Helper module for installing default files. diff --git a/Library/Homebrew/keg.rb b/Library/Homebrew/keg.rb index 8c8140190..902ed12f3 100644 --- a/Library/Homebrew/keg.rb +++ b/Library/Homebrew/keg.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "keg_relocate" diff --git a/Library/Homebrew/keg_relocate.rb b/Library/Homebrew/keg_relocate.rb index 1bdf422dc..b26b5a770 100644 --- a/Library/Homebrew/keg_relocate.rb +++ b/Library/Homebrew/keg_relocate.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true class Keg diff --git a/Library/Homebrew/language/go.rb b/Library/Homebrew/language/go.rb index 2b4a0399d..22f851472 100644 --- a/Library/Homebrew/language/go.rb +++ b/Library/Homebrew/language/go.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "resource" diff --git a/Library/Homebrew/language/haskell.rb b/Library/Homebrew/language/haskell.rb index 964fa4f77..ad959e7e7 100644 --- a/Library/Homebrew/language/haskell.rb +++ b/Library/Homebrew/language/haskell.rb @@ -1,3 +1,4 @@ +# typed: strict # frozen_string_literal: true require "compat/language/haskell" diff --git a/Library/Homebrew/language/java.rb b/Library/Homebrew/language/java.rb index fb9b7b011..a67d52b10 100644 --- a/Library/Homebrew/language/java.rb +++ b/Library/Homebrew/language/java.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true module Language diff --git a/Library/Homebrew/language/node.rb b/Library/Homebrew/language/node.rb index 4f53e485f..fe16e5a14 100644 --- a/Library/Homebrew/language/node.rb +++ b/Library/Homebrew/language/node.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true module Language diff --git a/Library/Homebrew/language/perl.rb b/Library/Homebrew/language/perl.rb index c81ef65c5..3714b7140 100644 --- a/Library/Homebrew/language/perl.rb +++ b/Library/Homebrew/language/perl.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true module Language diff --git a/Library/Homebrew/language/python.rb b/Library/Homebrew/language/python.rb index d24e7c4ba..8a82706e1 100644 --- a/Library/Homebrew/language/python.rb +++ b/Library/Homebrew/language/python.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true module Language diff --git a/Library/Homebrew/lazy_object.rb b/Library/Homebrew/lazy_object.rb index 8ea44995e..ace7e5d9c 100644 --- a/Library/Homebrew/lazy_object.rb +++ b/Library/Homebrew/lazy_object.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true # An object which lazily evaluates its inner block only once a method is called on it. diff --git a/Library/Homebrew/linkage_cache_store.rb b/Library/Homebrew/linkage_cache_store.rb index 6ab77998e..90f2bccdb 100644 --- a/Library/Homebrew/linkage_cache_store.rb +++ b/Library/Homebrew/linkage_cache_store.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "set" diff --git a/Library/Homebrew/linkage_checker.rb b/Library/Homebrew/linkage_checker.rb index 9948086f2..74bcc6b2a 100644 --- a/Library/Homebrew/linkage_checker.rb +++ b/Library/Homebrew/linkage_checker.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "keg" diff --git a/Library/Homebrew/livecheck.rb b/Library/Homebrew/livecheck.rb index c72818dc3..df31c5f45 100644 --- a/Library/Homebrew/livecheck.rb +++ b/Library/Homebrew/livecheck.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true # The `Livecheck` class implements the DSL methods used in a formula's diff --git a/Library/Homebrew/livecheck/livecheck.rb b/Library/Homebrew/livecheck/livecheck.rb index d5410b25f..466dd95e0 100644 --- a/Library/Homebrew/livecheck/livecheck.rb +++ b/Library/Homebrew/livecheck/livecheck.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "livecheck/strategy" diff --git a/Library/Homebrew/livecheck/strategy.rb b/Library/Homebrew/livecheck/strategy.rb index aa6d196ff..411136545 100644 --- a/Library/Homebrew/livecheck/strategy.rb +++ b/Library/Homebrew/livecheck/strategy.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true module Homebrew diff --git a/Library/Homebrew/livecheck/strategy/apache.rb b/Library/Homebrew/livecheck/strategy/apache.rb index 5e8cb9e12..52beb1686 100644 --- a/Library/Homebrew/livecheck/strategy/apache.rb +++ b/Library/Homebrew/livecheck/strategy/apache.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true module Homebrew diff --git a/Library/Homebrew/livecheck/strategy/bitbucket.rb b/Library/Homebrew/livecheck/strategy/bitbucket.rb index a696d2125..a1e29a544 100644 --- a/Library/Homebrew/livecheck/strategy/bitbucket.rb +++ b/Library/Homebrew/livecheck/strategy/bitbucket.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true module Homebrew diff --git a/Library/Homebrew/livecheck/strategy/git.rb b/Library/Homebrew/livecheck/strategy/git.rb index f93127af9..5a1e5edb1 100644 --- a/Library/Homebrew/livecheck/strategy/git.rb +++ b/Library/Homebrew/livecheck/strategy/git.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "open3" diff --git a/Library/Homebrew/livecheck/strategy/gnome.rb b/Library/Homebrew/livecheck/strategy/gnome.rb index 72a6c68ff..fa1e95230 100644 --- a/Library/Homebrew/livecheck/strategy/gnome.rb +++ b/Library/Homebrew/livecheck/strategy/gnome.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true module Homebrew diff --git a/Library/Homebrew/livecheck/strategy/gnu.rb b/Library/Homebrew/livecheck/strategy/gnu.rb index 396c7e25a..72dbe4777 100644 --- a/Library/Homebrew/livecheck/strategy/gnu.rb +++ b/Library/Homebrew/livecheck/strategy/gnu.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true module Homebrew diff --git a/Library/Homebrew/livecheck/strategy/hackage.rb b/Library/Homebrew/livecheck/strategy/hackage.rb index 4f0303fe6..2c2ecd69b 100644 --- a/Library/Homebrew/livecheck/strategy/hackage.rb +++ b/Library/Homebrew/livecheck/strategy/hackage.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true module Homebrew diff --git a/Library/Homebrew/livecheck/strategy/launchpad.rb b/Library/Homebrew/livecheck/strategy/launchpad.rb index b9253521b..c38d393f2 100644 --- a/Library/Homebrew/livecheck/strategy/launchpad.rb +++ b/Library/Homebrew/livecheck/strategy/launchpad.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true module Homebrew diff --git a/Library/Homebrew/livecheck/strategy/npm.rb b/Library/Homebrew/livecheck/strategy/npm.rb index 3f2520d57..3c661f155 100644 --- a/Library/Homebrew/livecheck/strategy/npm.rb +++ b/Library/Homebrew/livecheck/strategy/npm.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true module Homebrew diff --git a/Library/Homebrew/livecheck/strategy/page_match.rb b/Library/Homebrew/livecheck/strategy/page_match.rb index 3e9ddc85f..73c80beac 100644 --- a/Library/Homebrew/livecheck/strategy/page_match.rb +++ b/Library/Homebrew/livecheck/strategy/page_match.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "open-uri" diff --git a/Library/Homebrew/livecheck/strategy/pypi.rb b/Library/Homebrew/livecheck/strategy/pypi.rb index 4c10516ef..6fa15dbff 100644 --- a/Library/Homebrew/livecheck/strategy/pypi.rb +++ b/Library/Homebrew/livecheck/strategy/pypi.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true module Homebrew diff --git a/Library/Homebrew/livecheck/strategy/sourceforge.rb b/Library/Homebrew/livecheck/strategy/sourceforge.rb index 336d32ebf..88c40d5c2 100644 --- a/Library/Homebrew/livecheck/strategy/sourceforge.rb +++ b/Library/Homebrew/livecheck/strategy/sourceforge.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true module Homebrew diff --git a/Library/Homebrew/livecheck/strategy/xorg.rb b/Library/Homebrew/livecheck/strategy/xorg.rb index f9de6660d..5517897b1 100644 --- a/Library/Homebrew/livecheck/strategy/xorg.rb +++ b/Library/Homebrew/livecheck/strategy/xorg.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "open-uri" diff --git a/Library/Homebrew/load_path.rb b/Library/Homebrew/load_path.rb index ea9f8a230..258265213 100644 --- a/Library/Homebrew/load_path.rb +++ b/Library/Homebrew/load_path.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "pathname" diff --git a/Library/Homebrew/locale.rb b/Library/Homebrew/locale.rb index c858aa03b..278bb621d 100644 --- a/Library/Homebrew/locale.rb +++ b/Library/Homebrew/locale.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true # Representation of a system locale. diff --git a/Library/Homebrew/lock_file.rb b/Library/Homebrew/lock_file.rb index 88f017a17..7bbabfa73 100644 --- a/Library/Homebrew/lock_file.rb +++ b/Library/Homebrew/lock_file.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "fcntl" diff --git a/Library/Homebrew/messages.rb b/Library/Homebrew/messages.rb index 18187a844..bc8c64b50 100644 --- a/Library/Homebrew/messages.rb +++ b/Library/Homebrew/messages.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true # A Messages object collects messages that may need to be displayed together diff --git a/Library/Homebrew/metafiles.rb b/Library/Homebrew/metafiles.rb index ea2b525ee..5a244e645 100644 --- a/Library/Homebrew/metafiles.rb +++ b/Library/Homebrew/metafiles.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true # Helper for checking if a file is considered a metadata file. diff --git a/Library/Homebrew/migrator.rb b/Library/Homebrew/migrator.rb index bdf05f93b..c60bf8261 100644 --- a/Library/Homebrew/migrator.rb +++ b/Library/Homebrew/migrator.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "lock_file" diff --git a/Library/Homebrew/missing_formula.rb b/Library/Homebrew/missing_formula.rb index c69de457b..69c76c0ae 100644 --- a/Library/Homebrew/missing_formula.rb +++ b/Library/Homebrew/missing_formula.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "formulary" diff --git a/Library/Homebrew/mktemp.rb b/Library/Homebrew/mktemp.rb index 716c3d269..749b8a215 100644 --- a/Library/Homebrew/mktemp.rb +++ b/Library/Homebrew/mktemp.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true # Performs `Formula#mktemp`'s functionality, and tracks the results. diff --git a/Library/Homebrew/official_taps.rb b/Library/Homebrew/official_taps.rb index b19ed5a7d..a518cb8db 100644 --- a/Library/Homebrew/official_taps.rb +++ b/Library/Homebrew/official_taps.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true OFFICIAL_CASK_TAPS = %w[ diff --git a/Library/Homebrew/options.rb b/Library/Homebrew/options.rb index b486d3dc2..9e4a229ed 100644 --- a/Library/Homebrew/options.rb +++ b/Library/Homebrew/options.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true # A formula option. diff --git a/Library/Homebrew/os.rb b/Library/Homebrew/os.rb index 4981f12b5..2c3199b81 100644 --- a/Library/Homebrew/os.rb +++ b/Library/Homebrew/os.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true # Helper functions for querying operating system information. diff --git a/Library/Homebrew/os/global.rb b/Library/Homebrew/os/global.rb index 9d6250c23..bbf58536d 100644 --- a/Library/Homebrew/os/global.rb +++ b/Library/Homebrew/os/global.rb @@ -1,3 +1,4 @@ +# typed: strict # frozen_string_literal: true require "os/linux/global" if OS.linux? diff --git a/Library/Homebrew/os/linux.rb b/Library/Homebrew/os/linux.rb index c8804764a..17d2fee34 100644 --- a/Library/Homebrew/os/linux.rb +++ b/Library/Homebrew/os/linux.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true module OS diff --git a/Library/Homebrew/os/linux/elf.rb b/Library/Homebrew/os/linux/elf.rb index c4d8dae4c..c38fed883 100644 --- a/Library/Homebrew/os/linux/elf.rb +++ b/Library/Homebrew/os/linux/elf.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true # {Pathname} extension for dealing with ELF files. diff --git a/Library/Homebrew/os/linux/glibc.rb b/Library/Homebrew/os/linux/glibc.rb index a42ee092d..49df817c3 100644 --- a/Library/Homebrew/os/linux/glibc.rb +++ b/Library/Homebrew/os/linux/glibc.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true module OS diff --git a/Library/Homebrew/os/linux/global.rb b/Library/Homebrew/os/linux/global.rb index f367a86db..df09e17ca 100644 --- a/Library/Homebrew/os/linux/global.rb +++ b/Library/Homebrew/os/linux/global.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true # enables experimental patchelf.rb write support. diff --git a/Library/Homebrew/os/linux/kernel.rb b/Library/Homebrew/os/linux/kernel.rb index 1c20ce5a1..fd535699b 100644 --- a/Library/Homebrew/os/linux/kernel.rb +++ b/Library/Homebrew/os/linux/kernel.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true module OS diff --git a/Library/Homebrew/os/mac.rb b/Library/Homebrew/os/mac.rb index 8e9d0d33f..2ed8d4528 100644 --- a/Library/Homebrew/os/mac.rb +++ b/Library/Homebrew/os/mac.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "os/mac/version" diff --git a/Library/Homebrew/os/mac/architecture_list.rb b/Library/Homebrew/os/mac/architecture_list.rb index 8ade3fe0c..f7cca8d69 100644 --- a/Library/Homebrew/os/mac/architecture_list.rb +++ b/Library/Homebrew/os/mac/architecture_list.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "hardware" diff --git a/Library/Homebrew/os/mac/keg.rb b/Library/Homebrew/os/mac/keg.rb index 0782226c0..b5805975c 100644 --- a/Library/Homebrew/os/mac/keg.rb +++ b/Library/Homebrew/os/mac/keg.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true class Keg diff --git a/Library/Homebrew/os/mac/mach.rb b/Library/Homebrew/os/mac/mach.rb index aef816426..7a6a75c31 100644 --- a/Library/Homebrew/os/mac/mach.rb +++ b/Library/Homebrew/os/mac/mach.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "macho" diff --git a/Library/Homebrew/os/mac/sdk.rb b/Library/Homebrew/os/mac/sdk.rb index ff30e3eaa..502e9adc3 100644 --- a/Library/Homebrew/os/mac/sdk.rb +++ b/Library/Homebrew/os/mac/sdk.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "os/mac/version" diff --git a/Library/Homebrew/os/mac/version.rb b/Library/Homebrew/os/mac/version.rb index 3aadfb95d..c8a899cc4 100644 --- a/Library/Homebrew/os/mac/version.rb +++ b/Library/Homebrew/os/mac/version.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "hardware" diff --git a/Library/Homebrew/os/mac/xcode.rb b/Library/Homebrew/os/mac/xcode.rb index 7d78b855d..e81979622 100644 --- a/Library/Homebrew/os/mac/xcode.rb +++ b/Library/Homebrew/os/mac/xcode.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true module OS diff --git a/Library/Homebrew/os/mac/xquartz.rb b/Library/Homebrew/os/mac/xquartz.rb index 98858392d..21bed2917 100644 --- a/Library/Homebrew/os/mac/xquartz.rb +++ b/Library/Homebrew/os/mac/xquartz.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true module OS diff --git a/Library/Homebrew/patch.rb b/Library/Homebrew/patch.rb index 0934b436f..61d00d6a0 100644 --- a/Library/Homebrew/patch.rb +++ b/Library/Homebrew/patch.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "resource" diff --git a/Library/Homebrew/pkg_version.rb b/Library/Homebrew/pkg_version.rb index cd7482108..c8aa68b26 100644 --- a/Library/Homebrew/pkg_version.rb +++ b/Library/Homebrew/pkg_version.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "version" diff --git a/Library/Homebrew/postinstall.rb b/Library/Homebrew/postinstall.rb index 5f85cfbb8..575a27eed 100644 --- a/Library/Homebrew/postinstall.rb +++ b/Library/Homebrew/postinstall.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true old_trap = trap("INT") { exit! 130 } diff --git a/Library/Homebrew/readall.rb b/Library/Homebrew/readall.rb index d1e0a007b..507576724 100644 --- a/Library/Homebrew/readall.rb +++ b/Library/Homebrew/readall.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "formula" diff --git a/Library/Homebrew/reinstall.rb b/Library/Homebrew/reinstall.rb index 1f746aa6e..b763cd03b 100644 --- a/Library/Homebrew/reinstall.rb +++ b/Library/Homebrew/reinstall.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "formula_installer" diff --git a/Library/Homebrew/requirement.rb b/Library/Homebrew/requirement.rb index d4bb33011..a6d8545cb 100644 --- a/Library/Homebrew/requirement.rb +++ b/Library/Homebrew/requirement.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "dependable" diff --git a/Library/Homebrew/requirements.rb b/Library/Homebrew/requirements.rb index 4358f1f2b..6b7b8251f 100644 --- a/Library/Homebrew/requirements.rb +++ b/Library/Homebrew/requirements.rb @@ -1,3 +1,4 @@ +# typed: strict # frozen_string_literal: true require "requirement" diff --git a/Library/Homebrew/requirements/arch_requirement.rb b/Library/Homebrew/requirements/arch_requirement.rb index dc9d81320..d4499ee06 100644 --- a/Library/Homebrew/requirements/arch_requirement.rb +++ b/Library/Homebrew/requirements/arch_requirement.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "requirement" diff --git a/Library/Homebrew/requirements/codesign_requirement.rb b/Library/Homebrew/requirements/codesign_requirement.rb index dbec98dba..54fb9352a 100644 --- a/Library/Homebrew/requirements/codesign_requirement.rb +++ b/Library/Homebrew/requirements/codesign_requirement.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true # A requirement on a code-signing identity. diff --git a/Library/Homebrew/requirements/java_requirement.rb b/Library/Homebrew/requirements/java_requirement.rb index d6ba1a933..a519a2cdb 100644 --- a/Library/Homebrew/requirements/java_requirement.rb +++ b/Library/Homebrew/requirements/java_requirement.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "language/java" diff --git a/Library/Homebrew/requirements/linux_requirement.rb b/Library/Homebrew/requirements/linux_requirement.rb index 04b644a39..a744caeab 100644 --- a/Library/Homebrew/requirements/linux_requirement.rb +++ b/Library/Homebrew/requirements/linux_requirement.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true # A requirement on Linux. diff --git a/Library/Homebrew/requirements/macos_requirement.rb b/Library/Homebrew/requirements/macos_requirement.rb index 6013a1a1b..b9d4fbc55 100644 --- a/Library/Homebrew/requirements/macos_requirement.rb +++ b/Library/Homebrew/requirements/macos_requirement.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "requirement" diff --git a/Library/Homebrew/requirements/osxfuse_requirement.rb b/Library/Homebrew/requirements/osxfuse_requirement.rb index 8371568fa..9a4a0f527 100644 --- a/Library/Homebrew/requirements/osxfuse_requirement.rb +++ b/Library/Homebrew/requirements/osxfuse_requirement.rb @@ -1,3 +1,4 @@ +# typed: strict # frozen_string_literal: true require "requirement" diff --git a/Library/Homebrew/requirements/tuntap_requirement.rb b/Library/Homebrew/requirements/tuntap_requirement.rb index 6f9cec4cf..40075a947 100644 --- a/Library/Homebrew/requirements/tuntap_requirement.rb +++ b/Library/Homebrew/requirements/tuntap_requirement.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "requirement" diff --git a/Library/Homebrew/requirements/x11_requirement.rb b/Library/Homebrew/requirements/x11_requirement.rb index f34834c2f..4fe5c9853 100644 --- a/Library/Homebrew/requirements/x11_requirement.rb +++ b/Library/Homebrew/requirements/x11_requirement.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "requirement" diff --git a/Library/Homebrew/requirements/xcode_requirement.rb b/Library/Homebrew/requirements/xcode_requirement.rb index 97e1dde8d..533b3e851 100644 --- a/Library/Homebrew/requirements/xcode_requirement.rb +++ b/Library/Homebrew/requirements/xcode_requirement.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "requirement" diff --git a/Library/Homebrew/resource.rb b/Library/Homebrew/resource.rb index ba6ddb6eb..29655d120 100644 --- a/Library/Homebrew/resource.rb +++ b/Library/Homebrew/resource.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "download_strategy" diff --git a/Library/Homebrew/rubocops.rb b/Library/Homebrew/rubocops.rb index b2b748bb0..e5c565143 100644 --- a/Library/Homebrew/rubocops.rb +++ b/Library/Homebrew/rubocops.rb @@ -1,3 +1,4 @@ +# typed: strict # frozen_string_literal: true require_relative "load_path" diff --git a/Library/Homebrew/rubocops/cask/ast/cask_block.rb b/Library/Homebrew/rubocops/cask/ast/cask_block.rb index 98e97c0c3..c05f10972 100644 --- a/Library/Homebrew/rubocops/cask/ast/cask_block.rb +++ b/Library/Homebrew/rubocops/cask/ast/cask_block.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "forwardable" diff --git a/Library/Homebrew/rubocops/cask/ast/cask_header.rb b/Library/Homebrew/rubocops/cask/ast/cask_header.rb index 7646552ee..a869967a5 100644 --- a/Library/Homebrew/rubocops/cask/ast/cask_header.rb +++ b/Library/Homebrew/rubocops/cask/ast/cask_header.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true module RuboCop diff --git a/Library/Homebrew/rubocops/cask/ast/stanza.rb b/Library/Homebrew/rubocops/cask/ast/stanza.rb index 8a6b7a545..85f0de5cc 100644 --- a/Library/Homebrew/rubocops/cask/ast/stanza.rb +++ b/Library/Homebrew/rubocops/cask/ast/stanza.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "forwardable" diff --git a/Library/Homebrew/rubocops/cask/constants/stanza.rb b/Library/Homebrew/rubocops/cask/constants/stanza.rb index f4de0f313..3b818ac90 100644 --- a/Library/Homebrew/rubocops/cask/constants/stanza.rb +++ b/Library/Homebrew/rubocops/cask/constants/stanza.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true module RuboCop diff --git a/Library/Homebrew/rubocops/cask/desc.rb b/Library/Homebrew/rubocops/cask/desc.rb index 90ceefab9..0e03da626 100644 --- a/Library/Homebrew/rubocops/cask/desc.rb +++ b/Library/Homebrew/rubocops/cask/desc.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "forwardable" diff --git a/Library/Homebrew/rubocops/cask/extend/node.rb b/Library/Homebrew/rubocops/cask/extend/node.rb index 8e179e70d..e0102bd9d 100644 --- a/Library/Homebrew/rubocops/cask/extend/node.rb +++ b/Library/Homebrew/rubocops/cask/extend/node.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true module RuboCop diff --git a/Library/Homebrew/rubocops/cask/extend/string.rb b/Library/Homebrew/rubocops/cask/extend/string.rb index 73ac1a98b..6dcccff83 100644 --- a/Library/Homebrew/rubocops/cask/extend/string.rb +++ b/Library/Homebrew/rubocops/cask/extend/string.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true # Utility method extensions for String diff --git a/Library/Homebrew/rubocops/cask/homepage_matches_url.rb b/Library/Homebrew/rubocops/cask/homepage_matches_url.rb index 7d80c6405..3c12c14ac 100644 --- a/Library/Homebrew/rubocops/cask/homepage_matches_url.rb +++ b/Library/Homebrew/rubocops/cask/homepage_matches_url.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "forwardable" diff --git a/Library/Homebrew/rubocops/cask/homepage_url_trailing_slash.rb b/Library/Homebrew/rubocops/cask/homepage_url_trailing_slash.rb index 220acaca8..a3a18a9ca 100644 --- a/Library/Homebrew/rubocops/cask/homepage_url_trailing_slash.rb +++ b/Library/Homebrew/rubocops/cask/homepage_url_trailing_slash.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "forwardable" diff --git a/Library/Homebrew/rubocops/cask/mixin/cask_help.rb b/Library/Homebrew/rubocops/cask/mixin/cask_help.rb index 9dc0800c9..aa2d6eab1 100644 --- a/Library/Homebrew/rubocops/cask/mixin/cask_help.rb +++ b/Library/Homebrew/rubocops/cask/mixin/cask_help.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true module RuboCop diff --git a/Library/Homebrew/rubocops/cask/mixin/on_desc_stanza.rb b/Library/Homebrew/rubocops/cask/mixin/on_desc_stanza.rb index 067b6c30e..759b899d6 100644 --- a/Library/Homebrew/rubocops/cask/mixin/on_desc_stanza.rb +++ b/Library/Homebrew/rubocops/cask/mixin/on_desc_stanza.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true module RuboCop diff --git a/Library/Homebrew/rubocops/cask/mixin/on_homepage_stanza.rb b/Library/Homebrew/rubocops/cask/mixin/on_homepage_stanza.rb index f76d258fa..97607aa56 100644 --- a/Library/Homebrew/rubocops/cask/mixin/on_homepage_stanza.rb +++ b/Library/Homebrew/rubocops/cask/mixin/on_homepage_stanza.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true module RuboCop diff --git a/Library/Homebrew/rubocops/cask/no_dsl_version.rb b/Library/Homebrew/rubocops/cask/no_dsl_version.rb index 6e21cd85f..2d2aca942 100644 --- a/Library/Homebrew/rubocops/cask/no_dsl_version.rb +++ b/Library/Homebrew/rubocops/cask/no_dsl_version.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "forwardable" diff --git a/Library/Homebrew/rubocops/cask/stanza_grouping.rb b/Library/Homebrew/rubocops/cask/stanza_grouping.rb index b49101e63..93e5ba21e 100644 --- a/Library/Homebrew/rubocops/cask/stanza_grouping.rb +++ b/Library/Homebrew/rubocops/cask/stanza_grouping.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "forwardable" diff --git a/Library/Homebrew/rubocops/cask/stanza_order.rb b/Library/Homebrew/rubocops/cask/stanza_order.rb index 41b818df6..be6af752f 100644 --- a/Library/Homebrew/rubocops/cask/stanza_order.rb +++ b/Library/Homebrew/rubocops/cask/stanza_order.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "forwardable" diff --git a/Library/Homebrew/rubocops/caveats.rb b/Library/Homebrew/rubocops/caveats.rb index f81c4fc26..577f49ac7 100644 --- a/Library/Homebrew/rubocops/caveats.rb +++ b/Library/Homebrew/rubocops/caveats.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "rubocops/extend/formula" diff --git a/Library/Homebrew/rubocops/checksum.rb b/Library/Homebrew/rubocops/checksum.rb index fda9de60d..35edda879 100644 --- a/Library/Homebrew/rubocops/checksum.rb +++ b/Library/Homebrew/rubocops/checksum.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "rubocops/extend/formula" diff --git a/Library/Homebrew/rubocops/class.rb b/Library/Homebrew/rubocops/class.rb index 56ce23cff..d44e75967 100644 --- a/Library/Homebrew/rubocops/class.rb +++ b/Library/Homebrew/rubocops/class.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "rubocops/extend/formula" diff --git a/Library/Homebrew/rubocops/components_order.rb b/Library/Homebrew/rubocops/components_order.rb index d939a8ea3..41b35478f 100644 --- a/Library/Homebrew/rubocops/components_order.rb +++ b/Library/Homebrew/rubocops/components_order.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "rubocops/extend/formula" diff --git a/Library/Homebrew/rubocops/components_redundancy.rb b/Library/Homebrew/rubocops/components_redundancy.rb index 1e51ef083..767306c75 100644 --- a/Library/Homebrew/rubocops/components_redundancy.rb +++ b/Library/Homebrew/rubocops/components_redundancy.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "rubocops/extend/formula" diff --git a/Library/Homebrew/rubocops/conflicts.rb b/Library/Homebrew/rubocops/conflicts.rb index 318a79d47..f11a9a870 100644 --- a/Library/Homebrew/rubocops/conflicts.rb +++ b/Library/Homebrew/rubocops/conflicts.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "rubocops/extend/formula" diff --git a/Library/Homebrew/rubocops/dependency_order.rb b/Library/Homebrew/rubocops/dependency_order.rb index 7f24d8087..fb77e88d5 100644 --- a/Library/Homebrew/rubocops/dependency_order.rb +++ b/Library/Homebrew/rubocops/dependency_order.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "rubocops/extend/formula" diff --git a/Library/Homebrew/rubocops/deprecate_disable.rb b/Library/Homebrew/rubocops/deprecate_disable.rb index 79f21dcfb..f077a2b37 100644 --- a/Library/Homebrew/rubocops/deprecate_disable.rb +++ b/Library/Homebrew/rubocops/deprecate_disable.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "rubocops/extend/formula" diff --git a/Library/Homebrew/rubocops/extend/formula.rb b/Library/Homebrew/rubocops/extend/formula.rb index eddbac5b6..f0675de94 100644 --- a/Library/Homebrew/rubocops/extend/formula.rb +++ b/Library/Homebrew/rubocops/extend/formula.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true # Silence compatibility warning. diff --git a/Library/Homebrew/rubocops/files.rb b/Library/Homebrew/rubocops/files.rb index d4454ad4c..7ee1de87d 100644 --- a/Library/Homebrew/rubocops/files.rb +++ b/Library/Homebrew/rubocops/files.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "rubocops/extend/formula" diff --git a/Library/Homebrew/rubocops/formula_desc.rb b/Library/Homebrew/rubocops/formula_desc.rb index 57e5066e1..f839e5571 100644 --- a/Library/Homebrew/rubocops/formula_desc.rb +++ b/Library/Homebrew/rubocops/formula_desc.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "rubocops/extend/formula" diff --git a/Library/Homebrew/rubocops/homepage.rb b/Library/Homebrew/rubocops/homepage.rb index 0ea79d8e4..d1e3b06d1 100644 --- a/Library/Homebrew/rubocops/homepage.rb +++ b/Library/Homebrew/rubocops/homepage.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "rubocops/extend/formula" diff --git a/Library/Homebrew/rubocops/keg_only.rb b/Library/Homebrew/rubocops/keg_only.rb index 6a578b5f7..3b811f07b 100644 --- a/Library/Homebrew/rubocops/keg_only.rb +++ b/Library/Homebrew/rubocops/keg_only.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "rubocops/extend/formula" diff --git a/Library/Homebrew/rubocops/lines.rb b/Library/Homebrew/rubocops/lines.rb index 9f7dfe437..9cb7dc7a1 100644 --- a/Library/Homebrew/rubocops/lines.rb +++ b/Library/Homebrew/rubocops/lines.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "rubocops/extend/formula" diff --git a/Library/Homebrew/rubocops/livecheck.rb b/Library/Homebrew/rubocops/livecheck.rb index 3bf74d1c8..c7f21adb2 100644 --- a/Library/Homebrew/rubocops/livecheck.rb +++ b/Library/Homebrew/rubocops/livecheck.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "rubocops/extend/formula" diff --git a/Library/Homebrew/rubocops/options.rb b/Library/Homebrew/rubocops/options.rb index 907a98c18..f971548bd 100644 --- a/Library/Homebrew/rubocops/options.rb +++ b/Library/Homebrew/rubocops/options.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "rubocops/extend/formula" diff --git a/Library/Homebrew/rubocops/patches.rb b/Library/Homebrew/rubocops/patches.rb index 03c9aa8d1..6ed4157c5 100644 --- a/Library/Homebrew/rubocops/patches.rb +++ b/Library/Homebrew/rubocops/patches.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "rubocops/extend/formula" diff --git a/Library/Homebrew/rubocops/rubocop-cask.rb b/Library/Homebrew/rubocops/rubocop-cask.rb index 646e48399..fbba19daf 100644 --- a/Library/Homebrew/rubocops/rubocop-cask.rb +++ b/Library/Homebrew/rubocops/rubocop-cask.rb @@ -1,3 +1,4 @@ +# typed: strict # frozen_string_literal: true require "rubocop" diff --git a/Library/Homebrew/rubocops/shared/desc_helper.rb b/Library/Homebrew/rubocops/shared/desc_helper.rb index 22113414d..a3beae3e7 100644 --- a/Library/Homebrew/rubocops/shared/desc_helper.rb +++ b/Library/Homebrew/rubocops/shared/desc_helper.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "rubocops/shared/helper_functions" diff --git a/Library/Homebrew/rubocops/shared/helper_functions.rb b/Library/Homebrew/rubocops/shared/helper_functions.rb index 8b7388f94..5fc65ced9 100644 --- a/Library/Homebrew/rubocops/shared/helper_functions.rb +++ b/Library/Homebrew/rubocops/shared/helper_functions.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true module RuboCop diff --git a/Library/Homebrew/rubocops/text.rb b/Library/Homebrew/rubocops/text.rb index b8fa914e4..30417d0ed 100644 --- a/Library/Homebrew/rubocops/text.rb +++ b/Library/Homebrew/rubocops/text.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "rubocops/extend/formula" diff --git a/Library/Homebrew/rubocops/urls.rb b/Library/Homebrew/rubocops/urls.rb index b23883d0c..83db786b8 100644 --- a/Library/Homebrew/rubocops/urls.rb +++ b/Library/Homebrew/rubocops/urls.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "rubocops/extend/formula" diff --git a/Library/Homebrew/rubocops/uses_from_macos.rb b/Library/Homebrew/rubocops/uses_from_macos.rb index a71b6666e..e16464061 100644 --- a/Library/Homebrew/rubocops/uses_from_macos.rb +++ b/Library/Homebrew/rubocops/uses_from_macos.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "rubocops/extend/formula" diff --git a/Library/Homebrew/rubocops/version.rb b/Library/Homebrew/rubocops/version.rb index de47a9d29..2b6b53c01 100644 --- a/Library/Homebrew/rubocops/version.rb +++ b/Library/Homebrew/rubocops/version.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "rubocops/extend/formula" diff --git a/Library/Homebrew/sandbox.rb b/Library/Homebrew/sandbox.rb index a0ab6c214..5fdf3f491 100644 --- a/Library/Homebrew/sandbox.rb +++ b/Library/Homebrew/sandbox.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "erb" diff --git a/Library/Homebrew/search.rb b/Library/Homebrew/search.rb index 29fe98e8c..942083a1c 100644 --- a/Library/Homebrew/search.rb +++ b/Library/Homebrew/search.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "searchable" diff --git a/Library/Homebrew/searchable.rb b/Library/Homebrew/searchable.rb index 9b9adc760..634b84b56 100644 --- a/Library/Homebrew/searchable.rb +++ b/Library/Homebrew/searchable.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true # Helper module for making a class searchable with both regular expressions and strings. diff --git a/Library/Homebrew/software_spec.rb b/Library/Homebrew/software_spec.rb index 91ff124c0..06f419608 100644 --- a/Library/Homebrew/software_spec.rb +++ b/Library/Homebrew/software_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "resource" diff --git a/Library/Homebrew/sorbet/files.yaml b/Library/Homebrew/sorbet/files.yaml index 8eb08f59a..b3db036f7 100644 --- a/Library/Homebrew/sorbet/files.yaml +++ b/Library/Homebrew/sorbet/files.yaml @@ -1,964 +1,3 @@ -false: - - ./PATH.rb - - ./bintray.rb - - ./brew.rb - - ./build.rb - - ./build_environment.rb - - ./cask/artifact/abstract_artifact.rb - - ./cask/artifact/abstract_flight_block.rb - - ./cask/artifact/abstract_uninstall.rb - - ./cask/artifact/app.rb - - ./cask/artifact/artifact.rb - - ./cask/artifact/audio_unit_plugin.rb - - ./cask/artifact/binary.rb - - ./cask/artifact/colorpicker.rb - - ./cask/artifact/dictionary.rb - - ./cask/artifact/font.rb - - ./cask/artifact/input_method.rb - - ./cask/artifact/installer.rb - - ./cask/artifact/internet_plugin.rb - - ./cask/artifact/manpage.rb - - ./cask/artifact/mdimporter.rb - - ./cask/artifact/moved.rb - - ./cask/artifact/pkg.rb - - ./cask/artifact/postflight_block.rb - - ./cask/artifact/preflight_block.rb - - ./cask/artifact/prefpane.rb - - ./cask/artifact/qlplugin.rb - - ./cask/artifact/relocated.rb - - ./cask/artifact/screen_saver.rb - - ./cask/artifact/service.rb - - ./cask/artifact/stage_only.rb - - ./cask/artifact/suite.rb - - ./cask/artifact/symlinked.rb - - ./cask/artifact/uninstall.rb - - ./cask/artifact/vst3_plugin.rb - - ./cask/artifact/vst_plugin.rb - - ./cask/artifact/zap.rb - - ./cask/audit.rb - - ./cask/auditor.rb - - ./cask/cask.rb - - ./cask/cask_loader.rb - - ./cask/caskroom.rb - - ./cask/cmd.rb - - ./cask/cmd/--cache.rb - - ./cask/cmd/abstract_command.rb - - ./cask/cmd/abstract_internal_command.rb - - ./cask/cmd/audit.rb - - ./cask/cmd/cat.rb - - ./cask/cmd/create.rb - - ./cask/cmd/doctor.rb - - ./cask/cmd/edit.rb - - ./cask/cmd/fetch.rb - - ./cask/cmd/help.rb - - ./cask/cmd/home.rb - - ./cask/cmd/info.rb - - ./cask/cmd/install.rb - - ./cask/cmd/internal_help.rb - - ./cask/cmd/internal_stanza.rb - - ./cask/cmd/list.rb - - ./cask/cmd/outdated.rb - - ./cask/cmd/reinstall.rb - - ./cask/cmd/style.rb - - ./cask/cmd/uninstall.rb - - ./cask/cmd/upgrade.rb - - ./cask/cmd/zap.rb - - ./cask/config.rb - - ./cask/download.rb - - ./cask/dsl.rb - - ./cask/dsl/appcast.rb - - ./cask/dsl/base.rb - - ./cask/dsl/caveats.rb - - ./cask/dsl/conflicts_with.rb - - ./cask/dsl/container.rb - - ./cask/dsl/depends_on.rb - - ./cask/dsl/postflight.rb - - ./cask/dsl/preflight.rb - - ./cask/dsl/uninstall_preflight.rb - - ./cask/dsl/version.rb - - ./cask/exceptions.rb - - ./cask/installer.rb - - ./cask/metadata.rb - - ./cask/pkg.rb - - ./cask/quarantine.rb - - ./cask/staged.rb - - ./cask/topological_hash.rb - - ./cask/utils.rb - - ./cask/verify.rb - - ./caveats.rb - - ./cleanup.rb - - ./cli/parser.rb - - ./cmd/--cache.rb - - ./cmd/--caskroom.rb - - ./cmd/--cellar.rb - - ./cmd/--env.rb - - ./cmd/--prefix.rb - - ./cmd/--repository.rb - - ./cmd/--version.rb - - ./cmd/analytics.rb - - ./cmd/cask.rb - - ./cmd/cleanup.rb - - ./cmd/commands.rb - - ./cmd/config.rb - - ./cmd/deps.rb - - ./cmd/desc.rb - - ./cmd/doctor.rb - - ./cmd/fetch.rb - - ./cmd/gist-logs.rb - - ./cmd/help.rb - - ./cmd/home.rb - - ./cmd/info.rb - - ./cmd/install.rb - - ./cmd/leaves.rb - - ./cmd/link.rb - - ./cmd/list.rb - - ./cmd/log.rb - - ./cmd/migrate.rb - - ./cmd/missing.rb - - ./cmd/options.rb - - ./cmd/outdated.rb - - ./cmd/pin.rb - - ./cmd/postinstall.rb - - ./cmd/readall.rb - - ./cmd/reinstall.rb - - ./cmd/search.rb - - ./cmd/switch.rb - - ./cmd/tap-info.rb - - ./cmd/tap.rb - - ./cmd/uninstall.rb - - ./cmd/unlink.rb - - ./cmd/unpin.rb - - ./cmd/untap.rb - - ./cmd/update-report.rb - - ./cmd/upgrade.rb - - ./cmd/uses.rb - - ./commands.rb - - ./compat/language/haskell.rb - - ./compat/language/java.rb - - ./compat/language/python.rb - - ./cxxstdlib.rb - - ./debrew.rb - - ./debrew/irb.rb - - ./dependencies.rb - - ./dependency.rb - - ./dev-cmd/audit.rb - - ./dev-cmd/bottle.rb - - ./dev-cmd/bump-cask-pr.rb - - ./dev-cmd/bump-formula-pr.rb - - ./dev-cmd/bump-revision.rb - - ./dev-cmd/cat.rb - - ./dev-cmd/command.rb - - ./dev-cmd/create.rb - - ./dev-cmd/diy.rb - - ./dev-cmd/edit.rb - - ./dev-cmd/extract.rb - - ./dev-cmd/formula.rb - - ./dev-cmd/install-bundler-gems.rb - - ./dev-cmd/irb.rb - - ./dev-cmd/linkage.rb - - ./dev-cmd/livecheck.rb - - ./dev-cmd/man.rb - - ./dev-cmd/mirror.rb - - ./dev-cmd/pr-automerge.rb - - ./dev-cmd/pr-publish.rb - - ./dev-cmd/pr-pull.rb - - ./dev-cmd/pr-upload.rb - - ./dev-cmd/prof.rb - - ./dev-cmd/pull.rb - - ./dev-cmd/release-notes.rb - - ./dev-cmd/ruby.rb - - ./dev-cmd/sh.rb - - ./dev-cmd/sponsors.rb - - ./dev-cmd/style.rb - - ./dev-cmd/tap-new.rb - - ./dev-cmd/test.rb - - ./dev-cmd/tests.rb - - ./dev-cmd/typecheck.rb - - ./dev-cmd/unpack.rb - - ./dev-cmd/update-license-data.rb - - ./dev-cmd/update-python-resources.rb - - ./dev-cmd/update-test.rb - - ./dev-cmd/vendor-gems.rb - - ./development_tools.rb - - ./diagnostic.rb - - ./download_strategy.rb - - ./exceptions.rb - - ./extend/ENV.rb - - ./extend/ENV/shared.rb - - ./extend/ENV/std.rb - - ./extend/ENV/super.rb - - ./extend/git_repository.rb - - ./extend/hash_validator.rb - - ./extend/io.rb - - ./extend/module.rb - - ./extend/os/linux/dependency_collector.rb - - ./extend/os/linux/diagnostic.rb - - ./extend/os/linux/extend/ENV/shared.rb - - ./extend/os/linux/extend/ENV/std.rb - - ./extend/os/linux/extend/ENV/super.rb - - ./extend/os/linux/formula_cellar_checks.rb - - ./extend/os/linux/hardware/cpu.rb - - ./extend/os/linux/install.rb - - ./extend/os/linux/keg_relocate.rb - - ./extend/os/linux/linkage_checker.rb - - ./extend/os/linux/readall.rb - - ./extend/os/linux/requirements/java_requirement.rb - - ./extend/os/linux/requirements/osxfuse_requirement.rb - - ./extend/os/linux/system_config.rb - - ./extend/os/linux/tap.rb - - ./extend/os/linux/utils/analytics.rb - - ./extend/os/mac/caveats.rb - - ./extend/os/mac/dependency_collector.rb - - ./extend/os/mac/development_tools.rb - - ./extend/os/mac/diagnostic.rb - - ./extend/os/mac/extend/ENV/shared.rb - - ./extend/os/mac/extend/ENV/std.rb - - ./extend/os/mac/extend/ENV/super.rb - - ./extend/os/mac/extend/pathname.rb - - ./extend/os/mac/formula_cellar_checks.rb - - ./extend/os/mac/hardware.rb - - ./extend/os/mac/hardware/cpu.rb - - ./extend/os/mac/keg_relocate.rb - - ./extend/os/mac/language/java.rb - - ./extend/os/mac/missing_formula.rb - - ./extend/os/mac/requirements/java_requirement.rb - - ./extend/os/mac/requirements/osxfuse_requirement.rb - - ./extend/os/mac/requirements/x11_requirement.rb - - ./extend/os/mac/search.rb - - ./extend/os/mac/software_spec.rb - - ./extend/os/mac/system_config.rb - - ./extend/os/mac/unpack_strategy/zip.rb - - ./extend/os/mac/utils/bottles.rb - - ./extend/pathname.rb - - ./extend/predicable.rb - - ./extend/string.rb - - ./formula.rb - - ./formula_assertions.rb - - ./formula_cellar_checks.rb - - ./formula_creator.rb - - ./formula_info.rb - - ./formula_installer.rb - - ./formula_versions.rb - - ./formulary.rb - - ./global.rb - - ./keg.rb - - ./keg_relocate.rb - - ./language/node.rb - - ./language/python.rb - - ./linkage_checker.rb - - ./lock_file.rb - - ./migrator.rb - - ./missing_formula.rb - - ./mktemp.rb - - ./options.rb - - ./os/linux/elf.rb - - ./os/linux/global.rb - - ./os/mac.rb - - ./os/mac/architecture_list.rb - - ./os/mac/keg.rb - - ./os/mac/mach.rb - - ./os/mac/sdk.rb - - ./os/mac/version.rb - - ./os/mac/xcode.rb - - ./os/mac/xquartz.rb - - ./patch.rb - - ./pkg_version.rb - - ./postinstall.rb - - ./readall.rb - - ./requirement.rb - - ./requirements/arch_requirement.rb - - ./requirements/codesign_requirement.rb - - ./requirements/java_requirement.rb - - ./requirements/linux_requirement.rb - - ./requirements/macos_requirement.rb - - ./requirements/tuntap_requirement.rb - - ./requirements/x11_requirement.rb - - ./requirements/xcode_requirement.rb - - ./resource.rb - - ./rubocops/cask/ast/cask_block.rb - - ./rubocops/cask/extend/node.rb - - ./rubocops/cask/homepage_matches_url.rb - - ./rubocops/cask/homepage_url_trailing_slash.rb - - ./rubocops/cask/mixin/cask_help.rb - - ./rubocops/cask/mixin/on_desc_stanza.rb - - ./rubocops/cask/mixin/on_homepage_stanza.rb - - ./rubocops/cask/no_dsl_version.rb - - ./rubocops/cask/stanza_grouping.rb - - ./rubocops/cask/stanza_order.rb - - ./rubocops/caveats.rb - - ./rubocops/checksum.rb - - ./rubocops/class.rb - - ./rubocops/components_order.rb - - ./rubocops/components_redundancy.rb - - ./rubocops/conflicts.rb - - ./rubocops/dependency_order.rb - - ./rubocops/extend/formula.rb - - ./rubocops/files.rb - - ./rubocops/formula_desc.rb - - ./rubocops/homepage.rb - - ./rubocops/keg_only.rb - - ./rubocops/lines.rb - - ./rubocops/options.rb - - ./rubocops/patches.rb - - ./rubocops/shared/desc_helper.rb - - ./rubocops/shared/helper_functions.rb - - ./rubocops/text.rb - - ./rubocops/urls.rb - - ./rubocops/uses_from_macos.rb - - ./rubocops/version.rb - - ./sandbox.rb - - ./search.rb - - ./searchable.rb - - ./software_spec.rb - - ./style.rb - - ./system_command.rb - - ./system_config.rb - - ./tab.rb - - ./tap.rb - - ./test.rb - - ./test/ENV_spec.rb - - ./test/PATH_spec.rb - - ./test/bash_spec.rb - - ./test/bintray_spec.rb - - ./test/bottle_filename_spec.rb - - ./test/build_environment_spec.rb - - ./test/build_options_spec.rb - - ./test/cache_store_spec.rb - - ./test/cask/artifact/alt_target_spec.rb - - ./test/cask/artifact/app_spec.rb - - ./test/cask/artifact/binary_spec.rb - - ./test/cask/artifact/generic_artifact_spec.rb - - ./test/cask/artifact/installer_spec.rb - - ./test/cask/artifact/manpage_spec.rb - - ./test/cask/artifact/pkg_spec.rb - - ./test/cask/artifact/postflight_block_spec.rb - - ./test/cask/artifact/preflight_block_spec.rb - - ./test/cask/artifact/shared_examples/uninstall_zap.rb - - ./test/cask/artifact/suite_spec.rb - - ./test/cask/artifact/two_apps_correct_spec.rb - - ./test/cask/artifact/uninstall_no_zap_spec.rb - - ./test/cask/artifact/uninstall_spec.rb - - ./test/cask/artifact/zap_spec.rb - - ./test/cask/audit_spec.rb - - ./test/cask/cask_loader/from__path_loader_spec.rb - - ./test/cask/cask_loader/from_content_loader_spec.rb - - ./test/cask/cask_loader/from_uri_loader_spec.rb - - ./test/cask/cask_spec.rb - - ./test/cask/cmd/audit_spec.rb - - ./test/cask/cmd/cache_spec.rb - - ./test/cask/cmd/cat_spec.rb - - ./test/cask/cmd/create_spec.rb - - ./test/cask/cmd/doctor_spec.rb - - ./test/cask/cmd/edit_spec.rb - - ./test/cask/cmd/fetch_spec.rb - - ./test/cask/cmd/home_spec.rb - - ./test/cask/cmd/info_spec.rb - - ./test/cask/cmd/install_spec.rb - - ./test/cask/cmd/internal_stanza_spec.rb - - ./test/cask/cmd/list_spec.rb - - ./test/cask/cmd/outdated_spec.rb - - ./test/cask/cmd/reinstall_spec.rb - - ./test/cask/cmd/shared_examples/invalid_option.rb - - ./test/cask/cmd/shared_examples/requires_cask_token.rb - - ./test/cask/cmd/style_spec.rb - - ./test/cask/cmd/uninstall_spec.rb - - ./test/cask/cmd/upgrade_spec.rb - - ./test/cask/cmd/zap_spec.rb - - ./test/cask/cmd_spec.rb - - ./test/cask/config_spec.rb - - ./test/cask/conflicts_with_spec.rb - - ./test/cask/denylist_spec.rb - - ./test/cask/depends_on_spec.rb - - ./test/cask/dsl/appcast_spec.rb - - ./test/cask/dsl/caveats_spec.rb - - ./test/cask/dsl/postflight_spec.rb - - ./test/cask/dsl/preflight_spec.rb - - ./test/cask/dsl/shared_examples/base.rb - - ./test/cask/dsl/shared_examples/staged.rb - - ./test/cask/dsl/uninstall_postflight_spec.rb - - ./test/cask/dsl/uninstall_preflight_spec.rb - - ./test/cask/dsl/version_spec.rb - - ./test/cask/dsl_spec.rb - - ./test/cask/installer_spec.rb - - ./test/cask/macos_spec.rb - - ./test/cask/pkg_spec.rb - - ./test/cask/quarantine_spec.rb - - ./test/cask/verify_spec.rb - - ./test/cask_dependent_spec.rb - - ./test/caveats_spec.rb - - ./test/checksum_spec.rb - - ./test/checksum_verification_spec.rb - - ./test/cleaner_spec.rb - - ./test/cleanup_spec.rb - - ./test/cli/parser_spec.rb - - ./test/cmd/--cache_spec.rb - - ./test/cmd/--caskroom_spec.rb - - ./test/cmd/--cellar_spec.rb - - ./test/cmd/--env_spec.rb - - ./test/cmd/--prefix_spec.rb - - ./test/cmd/--repository_spec.rb - - ./test/cmd/--version_spec.rb - - ./test/cmd/analytics_spec.rb - - ./test/cmd/bundle_spec.rb - - ./test/cmd/cask_spec.rb - - ./test/cmd/cleanup_spec.rb - - ./test/cmd/commands_spec.rb - - ./test/cmd/config_spec.rb - - ./test/cmd/custom-external-command_spec.rb - - ./test/cmd/deps_spec.rb - - ./test/cmd/desc_spec.rb - - ./test/cmd/doctor_spec.rb - - ./test/cmd/fetch_spec.rb - - ./test/cmd/gist-logs_spec.rb - - ./test/cmd/help_spec.rb - - ./test/cmd/home_spec.rb - - ./test/cmd/info_spec.rb - - ./test/cmd/install_spec.rb - - ./test/cmd/leaves_spec.rb - - ./test/cmd/link_spec.rb - - ./test/cmd/list_spec.rb - - ./test/cmd/log_spec.rb - - ./test/cmd/migrate_spec.rb - - ./test/cmd/missing_spec.rb - - ./test/cmd/options_spec.rb - - ./test/cmd/outdated_spec.rb - - ./test/cmd/pin_spec.rb - - ./test/cmd/postinstall_spec.rb - - ./test/cmd/readall_spec.rb - - ./test/cmd/reinstall_spec.rb - - ./test/cmd/search_spec.rb - - ./test/cmd/services_spec.rb - - ./test/cmd/shared_examples/args_parse.rb - - ./test/cmd/switch_spec.rb - - ./test/cmd/tap-info_spec.rb - - ./test/cmd/tap_spec.rb - - ./test/cmd/uninstall_spec.rb - - ./test/cmd/unlink_spec.rb - - ./test/cmd/unpin_spec.rb - - ./test/cmd/untap_spec.rb - - ./test/cmd/update-report_spec.rb - - ./test/cmd/upgrade_spec.rb - - ./test/cmd/uses_spec.rb - - ./test/commands_spec.rb - - ./test/compiler_failure_spec.rb - - ./test/compiler_selector_spec.rb - - ./test/cxxstdlib_spec.rb - - ./test/dependable_spec.rb - - ./test/dependencies_helpers_spec.rb - - ./test/dependencies_spec.rb - - ./test/dependency_collector_spec.rb - - ./test/dependency_expansion_spec.rb - - ./test/dependency_spec.rb - - ./test/description_cache_store_spec.rb - - ./test/descriptions_spec.rb - - ./test/dev-cmd/audit_spec.rb - - ./test/dev-cmd/bottle_spec.rb - - ./test/dev-cmd/bump-cask-pr_spec.rb - - ./test/dev-cmd/bump-formula-pr_spec.rb - - ./test/dev-cmd/bump-revision_spec.rb - - ./test/dev-cmd/cat_spec.rb - - ./test/dev-cmd/command_spec.rb - - ./test/dev-cmd/create_spec.rb - - ./test/dev-cmd/diy_spec.rb - - ./test/dev-cmd/edit_spec.rb - - ./test/dev-cmd/extract_spec.rb - - ./test/dev-cmd/formula_spec.rb - - ./test/dev-cmd/irb_spec.rb - - ./test/dev-cmd/linkage_spec.rb - - ./test/dev-cmd/man_spec.rb - - ./test/dev-cmd/mirror_spec.rb - - ./test/dev-cmd/pr-automerge_spec.rb - - ./test/dev-cmd/pr-publish_spec.rb - - ./test/dev-cmd/pr-pull_spec.rb - - ./test/dev-cmd/pr-upload_spec.rb - - ./test/dev-cmd/prof_spec.rb - - ./test/dev-cmd/release-notes_spec.rb - - ./test/dev-cmd/ruby_spec.rb - - ./test/dev-cmd/sh_spec.rb - - ./test/dev-cmd/sponsors_spec.rb - - ./test/dev-cmd/style_spec.rb - - ./test/dev-cmd/tap-new_spec.rb - - ./test/dev-cmd/test_spec.rb - - ./test/dev-cmd/unpack_spec.rb - - ./test/dev-cmd/update-license-data_spec.rb - - ./test/dev-cmd/vendor-gems_spec.rb - - ./test/diagnostic_checks_spec.rb - - ./test/download_strategies_spec.rb - - ./test/env_config_spec.rb - - ./test/error_during_execution_spec.rb - - ./test/exceptions_spec.rb - - ./test/formatter_spec.rb - - ./test/formula_free_port_spec.rb - - ./test/formula_info_spec.rb - - ./test/formula_installer_bottle_spec.rb - - ./test/formula_installer_spec.rb - - ./test/formula_pin_spec.rb - - ./test/formula_spec.rb - - ./test/formula_spec_selection_spec.rb - - ./test/formula_support_spec.rb - - ./test/formula_validation_spec.rb - - ./test/formulary_spec.rb - - ./test/hardware/cpu_spec.rb - - ./test/inreplace_spec.rb - - ./test/java_requirement_spec.rb - - ./test/keg_spec.rb - - ./test/language/go_spec.rb - - ./test/language/java_spec.rb - - ./test/language/node_spec.rb - - ./test/language/perl/shebang_spec.rb - - ./test/language/python_spec.rb - - ./test/lazy_object_spec.rb - - ./test/linkage_cache_store_spec.rb - - ./test/livecheck_spec.rb - - ./test/locale_spec.rb - - ./test/lock_file_spec.rb - - ./test/messages_spec.rb - - ./test/migrator_spec.rb - - ./test/missing_formula_spec.rb - - ./test/options_spec.rb - - ./test/os/linux/dependency_collector_spec.rb - - ./test/os/linux/diagnostic_spec.rb - - ./test/os/linux/formula_spec.rb - - ./test/os/linux/pathname_spec.rb - - ./test/os/mac/dependency_collector_spec.rb - - ./test/os/mac/diagnostic_spec.rb - - ./test/os/mac/formula_spec.rb - - ./test/os/mac/java_requirement_spec.rb - - ./test/os/mac/keg_spec.rb - - ./test/os/mac/mach_spec.rb - - ./test/os/mac/software_spec_spec.rb - - ./test/os/mac/version_spec.rb - - ./test/os/mac_spec.rb - - ./test/patch_spec.rb - - ./test/patching_spec.rb - - ./test/pathname_spec.rb - - ./test/pkg_version_spec.rb - - ./test/requirement_spec.rb - - ./test/requirements/codesign_requirement_spec.rb - - ./test/requirements/java_requirement_spec.rb - - ./test/requirements/linux_requirement_spec.rb - - ./test/requirements/macos_requirement_spec.rb - - ./test/requirements/osxfuse_requirement_spec.rb - - ./test/requirements_spec.rb - - ./test/resource_spec.rb - - ./test/rubocop_spec.rb - - ./test/rubocops/cask/desc_spec.rb - - ./test/rubocops/cask/homepage_matches_url_spec.rb - - ./test/rubocops/cask/homepage_url_trailing_slash_spec.rb - - ./test/rubocops/cask/no_dsl_version_spec.rb - - ./test/rubocops/cask/shared_examples/cask_cop.rb - - ./test/rubocops/cask/stanza_grouping_spec.rb - - ./test/rubocops/cask/stanza_order_spec.rb - - ./test/rubocops/caveats_spec.rb - - ./test/rubocops/checksum_spec.rb - - ./test/rubocops/class_spec.rb - - ./test/rubocops/components_order_spec.rb - - ./test/rubocops/components_redundancy_spec.rb - - ./test/rubocops/conflicts_spec.rb - - ./test/rubocops/dependency_order_spec.rb - - ./test/rubocops/files_spec.rb - - ./test/rubocops/formula_desc_spec.rb - - ./test/rubocops/homepage_spec.rb - - ./test/rubocops/keg_only_spec.rb - - ./test/rubocops/lines_spec.rb - - ./test/rubocops/options_spec.rb - - ./test/rubocops/patches_spec.rb - - ./test/rubocops/text_spec.rb - - ./test/rubocops/urls_spec.rb - - ./test/rubocops/uses_from_macos_spec.rb - - ./test/rubocops/version_spec.rb - - ./test/sandbox_spec.rb - - ./test/search_spec.rb - - ./test/searchable_spec.rb - - ./test/software_spec_spec.rb - - ./test/spec_helper.rb - - ./test/string_spec.rb - - ./test/style_spec.rb - - ./test/support/fixtures/cask/Casks/adobe-air.rb - - ./test/support/fixtures/cask/Casks/adobe-illustrator.rb - - ./test/support/fixtures/cask/Casks/appdir-interpolation.rb - - ./test/support/fixtures/cask/Casks/auto-updates.rb - - ./test/support/fixtures/cask/Casks/bad-checksum.rb - - ./test/support/fixtures/cask/Casks/bad-checksum2.rb - - ./test/support/fixtures/cask/Casks/basic-cask.rb - - ./test/support/fixtures/cask/Casks/booby-trap.rb - - ./test/support/fixtures/cask/Casks/compat/with-depends-on-macos-string.rb - - ./test/support/fixtures/cask/Casks/container-7z.rb - - ./test/support/fixtures/cask/Casks/container-bzip2.rb - - ./test/support/fixtures/cask/Casks/container-cab.rb - - ./test/support/fixtures/cask/Casks/container-dmg.rb - - ./test/support/fixtures/cask/Casks/container-gzip.rb - - ./test/support/fixtures/cask/Casks/container-pkg.rb - - ./test/support/fixtures/cask/Casks/container-tar-gz.rb - - ./test/support/fixtures/cask/Casks/container-xar.rb - - ./test/support/fixtures/cask/Casks/devmate-with-appcast.rb - - ./test/support/fixtures/cask/Casks/devmate-without-appcast.rb - - ./test/support/fixtures/cask/Casks/generic-artifact-absolute-target.rb - - ./test/support/fixtures/cask/Casks/generic-artifact-relative-target.rb - - ./test/support/fixtures/cask/Casks/github-with-appcast.rb - - ./test/support/fixtures/cask/Casks/github-without-appcast.rb - - ./test/support/fixtures/cask/Casks/hockeyapp-with-appcast.rb - - ./test/support/fixtures/cask/Casks/hockeyapp-without-appcast.rb - - ./test/support/fixtures/cask/Casks/installer-with-uninstall.rb - - ./test/support/fixtures/cask/Casks/invalid-sha256.rb - - ./test/support/fixtures/cask/Casks/invalid/invalid-appcast-multiple.rb - - ./test/support/fixtures/cask/Casks/invalid/invalid-appcast-url.rb - - ./test/support/fixtures/cask/Casks/invalid/invalid-conflicts-with-key.rb - - ./test/support/fixtures/cask/Casks/invalid/invalid-depends-on-arch-value.rb - - ./test/support/fixtures/cask/Casks/invalid/invalid-depends-on-key.rb - - ./test/support/fixtures/cask/Casks/invalid/invalid-depends-on-macos-bad-release.rb - - ./test/support/fixtures/cask/Casks/invalid/invalid-depends-on-macos-conflicting-forms.rb - - ./test/support/fixtures/cask/Casks/invalid/invalid-depends-on-x11-value.rb - - ./test/support/fixtures/cask/Casks/invalid/invalid-generic-artifact-no-target.rb - - ./test/support/fixtures/cask/Casks/invalid/invalid-header-format.rb - - ./test/support/fixtures/cask/Casks/invalid/invalid-header-token-mismatch.rb - - ./test/support/fixtures/cask/Casks/invalid/invalid-header-version.rb - - ./test/support/fixtures/cask/Casks/invalid/invalid-manpage-no-section.rb - - ./test/support/fixtures/cask/Casks/invalid/invalid-stage-only-conflict.rb - - ./test/support/fixtures/cask/Casks/invalid/invalid-two-homepage.rb - - ./test/support/fixtures/cask/Casks/invalid/invalid-two-url.rb - - ./test/support/fixtures/cask/Casks/invalid/invalid-two-version.rb - - ./test/support/fixtures/cask/Casks/latest-with-appcast.rb - - ./test/support/fixtures/cask/Casks/latest-with-auto-updates.rb - - ./test/support/fixtures/cask/Casks/local-caffeine.rb - - ./test/support/fixtures/cask/Casks/local-transmission.rb - - ./test/support/fixtures/cask/Casks/missing-checksum.rb - - ./test/support/fixtures/cask/Casks/missing-homepage.rb - - ./test/support/fixtures/cask/Casks/missing-name.rb - - ./test/support/fixtures/cask/Casks/missing-sha256.rb - - ./test/support/fixtures/cask/Casks/missing-url.rb - - ./test/support/fixtures/cask/Casks/missing-version.rb - - ./test/support/fixtures/cask/Casks/naked-executable.rb - - ./test/support/fixtures/cask/Casks/nested-app.rb - - ./test/support/fixtures/cask/Casks/no-checksum.rb - - ./test/support/fixtures/cask/Casks/no-dsl-version.rb - - ./test/support/fixtures/cask/Casks/osdn-correct-url-format.rb - - ./test/support/fixtures/cask/Casks/osdn-incorrect-url-format.rb - - ./test/support/fixtures/cask/Casks/outdated/auto-updates.rb - - ./test/support/fixtures/cask/Casks/outdated/bad-checksum.rb - - ./test/support/fixtures/cask/Casks/outdated/bad-checksum2.rb - - ./test/support/fixtures/cask/Casks/outdated/local-caffeine.rb - - ./test/support/fixtures/cask/Casks/outdated/local-transmission.rb - - ./test/support/fixtures/cask/Casks/outdated/version-latest.rb - - ./test/support/fixtures/cask/Casks/outdated/will-fail-if-upgraded.rb - - ./test/support/fixtures/cask/Casks/pkg-without-uninstall.rb - - ./test/support/fixtures/cask/Casks/sha256-for-empty-string.rb - - ./test/support/fixtures/cask/Casks/sourceforge-correct-url-format.rb - - ./test/support/fixtures/cask/Casks/sourceforge-incorrect-url-format.rb - - ./test/support/fixtures/cask/Casks/sourceforge-version-latest-correct-url-format.rb - - ./test/support/fixtures/cask/Casks/sourceforge-with-appcast.rb - - ./test/support/fixtures/cask/Casks/stage-only.rb - - ./test/support/fixtures/cask/Casks/test-opera-mail.rb - - ./test/support/fixtures/cask/Casks/test-opera.rb - - ./test/support/fixtures/cask/Casks/version-latest-string.rb - - ./test/support/fixtures/cask/Casks/version-latest-with-checksum.rb - - ./test/support/fixtures/cask/Casks/version-latest.rb - - ./test/support/fixtures/cask/Casks/will-fail-if-upgraded.rb - - ./test/support/fixtures/cask/Casks/with-allow-untrusted.rb - - ./test/support/fixtures/cask/Casks/with-alt-target.rb - - ./test/support/fixtures/cask/Casks/with-appcast.rb - - ./test/support/fixtures/cask/Casks/with-auto-updates.rb - - ./test/support/fixtures/cask/Casks/with-autodetected-manpage-section.rb - - ./test/support/fixtures/cask/Casks/with-binary.rb - - ./test/support/fixtures/cask/Casks/with-caveats.rb - - ./test/support/fixtures/cask/Casks/with-choices.rb - - ./test/support/fixtures/cask/Casks/with-conditional-caveats.rb - - ./test/support/fixtures/cask/Casks/with-conflicts-with.rb - - ./test/support/fixtures/cask/Casks/with-depends-on-arch.rb - - ./test/support/fixtures/cask/Casks/with-depends-on-cask-cyclic-helper.rb - - ./test/support/fixtures/cask/Casks/with-depends-on-cask-cyclic.rb - - ./test/support/fixtures/cask/Casks/with-depends-on-cask-multiple.rb - - ./test/support/fixtures/cask/Casks/with-depends-on-cask.rb - - ./test/support/fixtures/cask/Casks/with-depends-on-formula-multiple.rb - - ./test/support/fixtures/cask/Casks/with-depends-on-formula.rb - - ./test/support/fixtures/cask/Casks/with-depends-on-macos-array.rb - - ./test/support/fixtures/cask/Casks/with-depends-on-macos-comparison.rb - - ./test/support/fixtures/cask/Casks/with-depends-on-macos-failure.rb - - ./test/support/fixtures/cask/Casks/with-depends-on-macos-symbol.rb - - ./test/support/fixtures/cask/Casks/with-depends-on-x11-false.rb - - ./test/support/fixtures/cask/Casks/with-depends-on-x11.rb - - ./test/support/fixtures/cask/Casks/with-embedded-binary.rb - - ./test/support/fixtures/cask/Casks/with-generic-artifact.rb - - ./test/support/fixtures/cask/Casks/with-installable.rb - - ./test/support/fixtures/cask/Casks/with-installer-manual.rb - - ./test/support/fixtures/cask/Casks/with-installer-script.rb - - ./test/support/fixtures/cask/Casks/with-languages.rb - - ./test/support/fixtures/cask/Casks/with-macosx-dir.rb - - ./test/support/fixtures/cask/Casks/with-non-executable-binary.rb - - ./test/support/fixtures/cask/Casks/with-pkgutil-zap.rb - - ./test/support/fixtures/cask/Casks/with-postflight-multi.rb - - ./test/support/fixtures/cask/Casks/with-postflight.rb - - ./test/support/fixtures/cask/Casks/with-preflight-multi.rb - - ./test/support/fixtures/cask/Casks/with-preflight.rb - - ./test/support/fixtures/cask/Casks/with-suite.rb - - ./test/support/fixtures/cask/Casks/with-two-apps-correct.rb - - ./test/support/fixtures/cask/Casks/with-two-apps-subdir.rb - - ./test/support/fixtures/cask/Casks/with-uninstall-delete.rb - - ./test/support/fixtures/cask/Casks/with-uninstall-early-script.rb - - ./test/support/fixtures/cask/Casks/with-uninstall-kext.rb - - ./test/support/fixtures/cask/Casks/with-uninstall-launchctl.rb - - ./test/support/fixtures/cask/Casks/with-uninstall-login-item.rb - - ./test/support/fixtures/cask/Casks/with-uninstall-multi.rb - - ./test/support/fixtures/cask/Casks/with-uninstall-pkgutil.rb - - ./test/support/fixtures/cask/Casks/with-uninstall-postflight-multi.rb - - ./test/support/fixtures/cask/Casks/with-uninstall-postflight.rb - - ./test/support/fixtures/cask/Casks/with-uninstall-preflight-multi.rb - - ./test/support/fixtures/cask/Casks/with-uninstall-preflight.rb - - ./test/support/fixtures/cask/Casks/with-uninstall-quit.rb - - ./test/support/fixtures/cask/Casks/with-uninstall-rmdir.rb - - ./test/support/fixtures/cask/Casks/with-uninstall-script-app.rb - - ./test/support/fixtures/cask/Casks/with-uninstall-script.rb - - ./test/support/fixtures/cask/Casks/with-uninstall-signal.rb - - ./test/support/fixtures/cask/Casks/with-uninstall-trash.rb - - ./test/support/fixtures/cask/Casks/with-zap-delete.rb - - ./test/support/fixtures/cask/Casks/with-zap-early-script.rb - - ./test/support/fixtures/cask/Casks/with-zap-kext.rb - - ./test/support/fixtures/cask/Casks/with-zap-launchctl.rb - - ./test/support/fixtures/cask/Casks/with-zap-login-item.rb - - ./test/support/fixtures/cask/Casks/with-zap-multi.rb - - ./test/support/fixtures/cask/Casks/with-zap-pkgutil.rb - - ./test/support/fixtures/cask/Casks/with-zap-quit.rb - - ./test/support/fixtures/cask/Casks/with-zap-rmdir.rb - - ./test/support/fixtures/cask/Casks/with-zap-script.rb - - ./test/support/fixtures/cask/Casks/with-zap-signal.rb - - ./test/support/fixtures/cask/Casks/with-zap-trash.rb - - ./test/support/fixtures/cask/Casks/with-zap.rb - - ./test/support/fixtures/cask/Casks/without-languages.rb - - ./test/support/fixtures/failball.rb - - ./test/support/fixtures/testball.rb - - ./test/support/fixtures/testball_bottle.rb - - ./test/support/fixtures/third-party/Casks/pharo.rb - - ./test/support/fixtures/third-party/Casks/third-party-cask.rb - - ./test/support/github_formatter.rb - - ./test/support/helper/cask/fake_system_command.rb - - ./test/support/helper/cask/install_helper.rb - - ./test/support/helper/cask/never_sudo_system_command.rb - - ./test/support/helper/formula.rb - - ./test/support/helper/integration_mocks.rb - - ./test/support/helper/mktmpdir.rb - - ./test/support/helper/output_as_tty.rb - - ./test/support/helper/spec/shared_context/homebrew_cask.rb - - ./test/support/helper/spec/shared_context/integration_test.rb - - ./test/support/helper/spec/shared_examples/formulae_exist.rb - - ./test/support/no_seed_progress_formatter.rb - - ./test/system_command_result_spec.rb - - ./test/system_command_spec.rb - - ./test/tab_spec.rb - - ./test/tap_spec.rb - - ./test/unpack_strategy/bazaar_spec.rb - - ./test/unpack_strategy/bzip2_spec.rb - - ./test/unpack_strategy/cvs_spec.rb - - ./test/unpack_strategy/directory_spec.rb - - ./test/unpack_strategy/dmg_spec.rb - - ./test/unpack_strategy/git_spec.rb - - ./test/unpack_strategy/gzip_spec.rb - - ./test/unpack_strategy/jar_spec.rb - - ./test/unpack_strategy/lha_spec.rb - - ./test/unpack_strategy/lzip_spec.rb - - ./test/unpack_strategy/mercurial_spec.rb - - ./test/unpack_strategy/p7zip_spec.rb - - ./test/unpack_strategy/rar_spec.rb - - ./test/unpack_strategy/shared_examples.rb - - ./test/unpack_strategy/subversion_spec.rb - - ./test/unpack_strategy/tar_spec.rb - - ./test/unpack_strategy/uncompressed_spec.rb - - ./test/unpack_strategy/xar_spec.rb - - ./test/unpack_strategy/xz_spec.rb - - ./test/unpack_strategy/zip_spec.rb - - ./test/unpack_strategy_spec.rb - - ./test/utils/analytics_spec.rb - - ./test/utils/bottles/bintray_spec.rb - - ./test/utils/bottles/bottles_spec.rb - - ./test/utils/bottles/collector_spec.rb - - ./test/utils/curl_spec.rb - - ./test/utils/fork_spec.rb - - ./test/utils/git_spec.rb - - ./test/utils/github/actions_spec.rb - - ./test/utils/github_spec.rb - - ./test/utils/popen_spec.rb - - ./test/utils/shell_spec.rb - - ./test/utils/spdx_spec.rb - - ./test/utils/svn_spec.rb - - ./test/utils/tar_spec.rb - - ./test/utils/tty_spec.rb - - ./test/utils/user_spec.rb - - ./test/utils_spec.rb - - ./test/version_spec.rb - - ./test/x11_requirement_spec.rb - - ./unpack_strategy.rb - - ./unpack_strategy/air.rb - - ./unpack_strategy/bazaar.rb - - ./unpack_strategy/bzip2.rb - - ./unpack_strategy/cab.rb - - ./unpack_strategy/compress.rb - - ./unpack_strategy/cvs.rb - - ./unpack_strategy/directory.rb - - ./unpack_strategy/dmg.rb - - ./unpack_strategy/executable.rb - - ./unpack_strategy/fossil.rb - - ./unpack_strategy/generic_unar.rb - - ./unpack_strategy/git.rb - - ./unpack_strategy/gzip.rb - - ./unpack_strategy/jar.rb - - ./unpack_strategy/lha.rb - - ./unpack_strategy/lua_rock.rb - - ./unpack_strategy/lzip.rb - - ./unpack_strategy/lzma.rb - - ./unpack_strategy/mercurial.rb - - ./unpack_strategy/microsoft_office_xml.rb - - ./unpack_strategy/otf.rb - - ./unpack_strategy/p7zip.rb - - ./unpack_strategy/pax.rb - - ./unpack_strategy/pkg.rb - - ./unpack_strategy/rar.rb - - ./unpack_strategy/self_extracting_executable.rb - - ./unpack_strategy/sit.rb - - ./unpack_strategy/subversion.rb - - ./unpack_strategy/tar.rb - - ./unpack_strategy/ttf.rb - - ./unpack_strategy/uncompressed.rb - - ./unpack_strategy/xar.rb - - ./unpack_strategy/xz.rb - - ./unpack_strategy/zip.rb - - ./upgrade.rb - - ./utils.rb - - ./utils/analytics.rb - - ./utils/curl.rb - - ./utils/fork.rb - - ./utils/formatter.rb - - ./utils/gems.rb - - ./utils/git.rb - - ./utils/github.rb - - ./utils/github/actions.rb - - ./utils/popen.rb - - ./utils/pypi.rb - - ./version.rb - -true: - - ./build_options.rb - - ./cache_store.rb - - ./cask_dependent.rb - - ./cask/cache.rb - - ./cask/denylist.rb - - ./cask/macos.rb - - ./cask/url.rb - - ./checksum.rb - - ./cleaner.rb - - ./cli/args.rb - - ./compat/cli/parser.rb - - ./compat/dependencies_helpers.rb - - ./compat/extend/nil.rb - - ./compat/extend/string.rb - - ./compat/formula.rb - - ./compat/os/mac.rb - - ./compilers.rb - - ./config.rb - - ./context.rb - - ./dependable.rb - - ./dependencies_helpers.rb - - ./dependency_collector.rb - - ./deprecate_disable.rb - - ./description_cache_store.rb - - ./descriptions.rb - - ./env_config.rb - - ./extend/cachable.rb - - ./extend/os/linux/development_tools.rb - - ./extend/os/linux/formula.rb - - ./extend/os/linux/resource.rb - - ./extend/os/linux/software_spec.rb - - ./extend/os/mac/cleaner.rb - - ./extend/os/mac/formula.rb - - ./extend/os/mac/keg.rb - - ./extend/os/mac/resource.rb - - ./extend/os/mac/utils/analytics.rb - - ./fetch.rb - - ./formula_free_port.rb - - ./formula_pin.rb - - ./formula_support.rb - - ./hardware.rb - - ./help.rb - - ./install.rb - - ./install_renamed.rb - - ./language/go.rb - - ./language/java.rb - - ./language/perl.rb - - ./lazy_object.rb - - ./linkage_cache_store.rb - - ./livecheck.rb - - ./load_path.rb - - ./locale.rb - - ./messages.rb - - ./metafiles.rb - - ./official_taps.rb - - ./os.rb - - ./os/linux.rb - - ./os/linux/glibc.rb - - ./os/linux/kernel.rb - - ./reinstall.rb - - ./rubocops/cask/ast/cask_header.rb - - ./rubocops/cask/ast/stanza.rb - - ./rubocops/cask/constants/stanza.rb - - ./rubocops/cask/desc.rb - - ./rubocops/cask/extend/string.rb - - ./tap_constants.rb - - ./test/support/helper/fixtures.rb - - ./test/support/lib/config.rb - - ./utils/bottles.rb - - ./utils/inreplace.rb - - ./utils/link.rb - - ./utils/ruby_check_version_script.rb - - ./utils/shared_audits.rb - - ./utils/shebang.rb - - ./utils/shell.rb - - ./utils/spdx.rb - - ./utils/svn.rb - - ./utils/tar.rb - - ./utils/tty.rb - - ./utils/user.rb - - ./version/null.rb - -strict: - - ./cask.rb - - ./cask/artifact.rb - - ./cask/dsl/uninstall_postflight.rb - - ./compat.rb - - ./extend/optparse.rb - - ./extend/os/bottles.rb - - ./extend/os/caveats.rb - - ./extend/os/cleaner.rb - - ./extend/os/dependency_collector.rb - - ./extend/os/development_tools.rb - - ./extend/os/diagnostic.rb - - ./extend/os/extend/ENV/shared.rb - - ./extend/os/extend/ENV/std.rb - - ./extend/os/extend/ENV/super.rb - - ./extend/os/formula.rb - - ./extend/os/formula_cellar_checks.rb - - ./extend/os/formula_support.rb - - ./extend/os/hardware.rb - - ./extend/os/install.rb - - ./extend/os/keg.rb - - ./extend/os/keg_relocate.rb - - ./extend/os/language/java.rb - - ./extend/os/linkage_checker.rb - - ./extend/os/linux/cleaner.rb - - ./extend/os/linux/extend/pathname.rb - - ./extend/os/mac/formula_support.rb - - ./extend/os/missing_formula.rb - - ./extend/os/pathname.rb - - ./extend/os/readall.rb - - ./extend/os/requirements/java_requirement.rb - - ./extend/os/requirements/osxfuse_requirement.rb - - ./extend/os/requirements/x11_requirement.rb - - ./extend/os/resource.rb - - ./extend/os/search.rb - - ./extend/os/software_spec.rb - - ./extend/os/system_config.rb - - ./extend/os/tap.rb - - ./extend/os/utils/analytics.rb - - ./language/haskell.rb - - ./os/global.rb - - ./requirements.rb - - ./requirements/osxfuse_requirement.rb - - ./rubocops.rb - - ./rubocops/rubocop-cask.rb +false: [] +true: [] +strict: [] diff --git a/Library/Homebrew/style.rb b/Library/Homebrew/style.rb index 1fbc2420e..437df8a77 100644 --- a/Library/Homebrew/style.rb +++ b/Library/Homebrew/style.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "shellwords" diff --git a/Library/Homebrew/system_command.rb b/Library/Homebrew/system_command.rb index 89307f7c3..33f3781d7 100644 --- a/Library/Homebrew/system_command.rb +++ b/Library/Homebrew/system_command.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "open3" diff --git a/Library/Homebrew/system_config.rb b/Library/Homebrew/system_config.rb index a377e3bc2..5af0d7dbd 100644 --- a/Library/Homebrew/system_config.rb +++ b/Library/Homebrew/system_config.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "hardware" diff --git a/Library/Homebrew/tab.rb b/Library/Homebrew/tab.rb index 8283d08cb..099eb3b1e 100644 --- a/Library/Homebrew/tab.rb +++ b/Library/Homebrew/tab.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "cxxstdlib" diff --git a/Library/Homebrew/tap.rb b/Library/Homebrew/tap.rb index 0ccee1b2c..8c6fb892d 100644 --- a/Library/Homebrew/tap.rb +++ b/Library/Homebrew/tap.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "commands" diff --git a/Library/Homebrew/tap_constants.rb b/Library/Homebrew/tap_constants.rb index c375ba8dc..1da9c0e57 100644 --- a/Library/Homebrew/tap_constants.rb +++ b/Library/Homebrew/tap_constants.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true # match taps' formulae, e.g. someuser/sometap/someformula diff --git a/Library/Homebrew/test.rb b/Library/Homebrew/test.rb index 735775fc3..82cc34e69 100644 --- a/Library/Homebrew/test.rb +++ b/Library/Homebrew/test.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true old_trap = trap("INT") { exit! 130 } diff --git a/Library/Homebrew/test/ENV_spec.rb b/Library/Homebrew/test/ENV_spec.rb index 9a9196036..c0f5cfe76 100644 --- a/Library/Homebrew/test/ENV_spec.rb +++ b/Library/Homebrew/test/ENV_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "cli/args" diff --git a/Library/Homebrew/test/PATH_spec.rb b/Library/Homebrew/test/PATH_spec.rb index eda4461f6..68357d4b8 100644 --- a/Library/Homebrew/test/PATH_spec.rb +++ b/Library/Homebrew/test/PATH_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "PATH" diff --git a/Library/Homebrew/test/bash_spec.rb b/Library/Homebrew/test/bash_spec.rb index b3b552249..3a7827c85 100644 --- a/Library/Homebrew/test/bash_spec.rb +++ b/Library/Homebrew/test/bash_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "open3" diff --git a/Library/Homebrew/test/bintray_spec.rb b/Library/Homebrew/test/bintray_spec.rb index 2a61f8d47..6163265a8 100644 --- a/Library/Homebrew/test/bintray_spec.rb +++ b/Library/Homebrew/test/bintray_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "bintray" diff --git a/Library/Homebrew/test/bottle_filename_spec.rb b/Library/Homebrew/test/bottle_filename_spec.rb index f7db07f96..7d95739ea 100644 --- a/Library/Homebrew/test/bottle_filename_spec.rb +++ b/Library/Homebrew/test/bottle_filename_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "formula" diff --git a/Library/Homebrew/test/build_environment_spec.rb b/Library/Homebrew/test/build_environment_spec.rb index e5bc95da3..79f8a57e8 100644 --- a/Library/Homebrew/test/build_environment_spec.rb +++ b/Library/Homebrew/test/build_environment_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "build_environment" diff --git a/Library/Homebrew/test/build_options_spec.rb b/Library/Homebrew/test/build_options_spec.rb index 8bfede1f2..f7693171f 100644 --- a/Library/Homebrew/test/build_options_spec.rb +++ b/Library/Homebrew/test/build_options_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "build_options" diff --git a/Library/Homebrew/test/cache_store_spec.rb b/Library/Homebrew/test/cache_store_spec.rb index 0365b3423..2b122fed4 100644 --- a/Library/Homebrew/test/cache_store_spec.rb +++ b/Library/Homebrew/test/cache_store_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "cache_store" diff --git a/Library/Homebrew/test/cask/artifact/alt_target_spec.rb b/Library/Homebrew/test/cask/artifact/alt_target_spec.rb index ed0e9d459..a31554950 100644 --- a/Library/Homebrew/test/cask/artifact/alt_target_spec.rb +++ b/Library/Homebrew/test/cask/artifact/alt_target_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true describe Cask::Artifact::App, :cask do diff --git a/Library/Homebrew/test/cask/artifact/app_spec.rb b/Library/Homebrew/test/cask/artifact/app_spec.rb index add9b9dc5..4cb1ad17f 100644 --- a/Library/Homebrew/test/cask/artifact/app_spec.rb +++ b/Library/Homebrew/test/cask/artifact/app_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true describe Cask::Artifact::App, :cask do diff --git a/Library/Homebrew/test/cask/artifact/binary_spec.rb b/Library/Homebrew/test/cask/artifact/binary_spec.rb index 230046770..149eea835 100644 --- a/Library/Homebrew/test/cask/artifact/binary_spec.rb +++ b/Library/Homebrew/test/cask/artifact/binary_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true describe Cask::Artifact::Binary, :cask do diff --git a/Library/Homebrew/test/cask/artifact/generic_artifact_spec.rb b/Library/Homebrew/test/cask/artifact/generic_artifact_spec.rb index d783a48b4..67420059c 100644 --- a/Library/Homebrew/test/cask/artifact/generic_artifact_spec.rb +++ b/Library/Homebrew/test/cask/artifact/generic_artifact_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true describe Cask::Artifact::Artifact, :cask do diff --git a/Library/Homebrew/test/cask/artifact/installer_spec.rb b/Library/Homebrew/test/cask/artifact/installer_spec.rb index 6bff500bb..1feb89339 100644 --- a/Library/Homebrew/test/cask/artifact/installer_spec.rb +++ b/Library/Homebrew/test/cask/artifact/installer_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true describe Cask::Artifact::Installer, :cask do diff --git a/Library/Homebrew/test/cask/artifact/manpage_spec.rb b/Library/Homebrew/test/cask/artifact/manpage_spec.rb index e94e9a8ce..5cfacd2b2 100644 --- a/Library/Homebrew/test/cask/artifact/manpage_spec.rb +++ b/Library/Homebrew/test/cask/artifact/manpage_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true describe Cask::Artifact::Manpage, :cask do diff --git a/Library/Homebrew/test/cask/artifact/pkg_spec.rb b/Library/Homebrew/test/cask/artifact/pkg_spec.rb index 19087acd9..49ae668d9 100644 --- a/Library/Homebrew/test/cask/artifact/pkg_spec.rb +++ b/Library/Homebrew/test/cask/artifact/pkg_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true describe Cask::Artifact::Pkg, :cask do diff --git a/Library/Homebrew/test/cask/artifact/postflight_block_spec.rb b/Library/Homebrew/test/cask/artifact/postflight_block_spec.rb index 52cd1bf0c..21957b37d 100644 --- a/Library/Homebrew/test/cask/artifact/postflight_block_spec.rb +++ b/Library/Homebrew/test/cask/artifact/postflight_block_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true describe Cask::Artifact::PostflightBlock, :cask do diff --git a/Library/Homebrew/test/cask/artifact/preflight_block_spec.rb b/Library/Homebrew/test/cask/artifact/preflight_block_spec.rb index 7546690b0..543ff90b4 100644 --- a/Library/Homebrew/test/cask/artifact/preflight_block_spec.rb +++ b/Library/Homebrew/test/cask/artifact/preflight_block_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true describe Cask::Artifact::PreflightBlock, :cask do diff --git a/Library/Homebrew/test/cask/artifact/shared_examples/uninstall_zap.rb b/Library/Homebrew/test/cask/artifact/shared_examples/uninstall_zap.rb index 49d86dae2..fc91356cf 100644 --- a/Library/Homebrew/test/cask/artifact/shared_examples/uninstall_zap.rb +++ b/Library/Homebrew/test/cask/artifact/shared_examples/uninstall_zap.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "benchmark" diff --git a/Library/Homebrew/test/cask/artifact/suite_spec.rb b/Library/Homebrew/test/cask/artifact/suite_spec.rb index 7cf983f05..61144b367 100644 --- a/Library/Homebrew/test/cask/artifact/suite_spec.rb +++ b/Library/Homebrew/test/cask/artifact/suite_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true describe Cask::Artifact::Suite, :cask do diff --git a/Library/Homebrew/test/cask/artifact/two_apps_correct_spec.rb b/Library/Homebrew/test/cask/artifact/two_apps_correct_spec.rb index 1f6308385..3a5371e3b 100644 --- a/Library/Homebrew/test/cask/artifact/two_apps_correct_spec.rb +++ b/Library/Homebrew/test/cask/artifact/two_apps_correct_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true describe Cask::Artifact::App, :cask do diff --git a/Library/Homebrew/test/cask/artifact/uninstall_no_zap_spec.rb b/Library/Homebrew/test/cask/artifact/uninstall_no_zap_spec.rb index ae2cce3f9..31b14aa7f 100644 --- a/Library/Homebrew/test/cask/artifact/uninstall_no_zap_spec.rb +++ b/Library/Homebrew/test/cask/artifact/uninstall_no_zap_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true describe Cask::Artifact::Zap, :cask do diff --git a/Library/Homebrew/test/cask/artifact/uninstall_spec.rb b/Library/Homebrew/test/cask/artifact/uninstall_spec.rb index cd50589dc..7ce9297f4 100644 --- a/Library/Homebrew/test/cask/artifact/uninstall_spec.rb +++ b/Library/Homebrew/test/cask/artifact/uninstall_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require_relative "shared_examples/uninstall_zap" diff --git a/Library/Homebrew/test/cask/artifact/zap_spec.rb b/Library/Homebrew/test/cask/artifact/zap_spec.rb index 0f1e7da7d..1013d9fd4 100644 --- a/Library/Homebrew/test/cask/artifact/zap_spec.rb +++ b/Library/Homebrew/test/cask/artifact/zap_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require_relative "shared_examples/uninstall_zap" diff --git a/Library/Homebrew/test/cask/audit_spec.rb b/Library/Homebrew/test/cask/audit_spec.rb index 6b0f9f4a3..497780f47 100644 --- a/Library/Homebrew/test/cask/audit_spec.rb +++ b/Library/Homebrew/test/cask/audit_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "cask/audit" diff --git a/Library/Homebrew/test/cask/cask_loader/from__path_loader_spec.rb b/Library/Homebrew/test/cask/cask_loader/from__path_loader_spec.rb index 86fa8061e..297a2ab32 100644 --- a/Library/Homebrew/test/cask/cask_loader/from__path_loader_spec.rb +++ b/Library/Homebrew/test/cask/cask_loader/from__path_loader_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true describe Cask::CaskLoader::FromPathLoader do diff --git a/Library/Homebrew/test/cask/cask_loader/from_content_loader_spec.rb b/Library/Homebrew/test/cask/cask_loader/from_content_loader_spec.rb index 41836b9a1..c956d089e 100644 --- a/Library/Homebrew/test/cask/cask_loader/from_content_loader_spec.rb +++ b/Library/Homebrew/test/cask/cask_loader/from_content_loader_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true describe Cask::CaskLoader::FromContentLoader do diff --git a/Library/Homebrew/test/cask/cask_loader/from_uri_loader_spec.rb b/Library/Homebrew/test/cask/cask_loader/from_uri_loader_spec.rb index cb8e02152..c1708d694 100644 --- a/Library/Homebrew/test/cask/cask_loader/from_uri_loader_spec.rb +++ b/Library/Homebrew/test/cask/cask_loader/from_uri_loader_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true describe Cask::CaskLoader::FromURILoader do diff --git a/Library/Homebrew/test/cask/cask_spec.rb b/Library/Homebrew/test/cask/cask_spec.rb index b0ca9658f..6badf576a 100644 --- a/Library/Homebrew/test/cask/cask_spec.rb +++ b/Library/Homebrew/test/cask/cask_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true describe Cask::Cask, :cask do diff --git a/Library/Homebrew/test/cask/cmd/audit_spec.rb b/Library/Homebrew/test/cask/cmd/audit_spec.rb index 18f2fc162..2a1bd90fc 100644 --- a/Library/Homebrew/test/cask/cmd/audit_spec.rb +++ b/Library/Homebrew/test/cask/cmd/audit_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require_relative "shared_examples/invalid_option" diff --git a/Library/Homebrew/test/cask/cmd/cache_spec.rb b/Library/Homebrew/test/cask/cmd/cache_spec.rb index 229edcc59..5cde00d82 100644 --- a/Library/Homebrew/test/cask/cmd/cache_spec.rb +++ b/Library/Homebrew/test/cask/cmd/cache_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require_relative "shared_examples/requires_cask_token" diff --git a/Library/Homebrew/test/cask/cmd/cat_spec.rb b/Library/Homebrew/test/cask/cmd/cat_spec.rb index 645e666ca..6fab5cc17 100644 --- a/Library/Homebrew/test/cask/cmd/cat_spec.rb +++ b/Library/Homebrew/test/cask/cmd/cat_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require_relative "shared_examples/requires_cask_token" diff --git a/Library/Homebrew/test/cask/cmd/create_spec.rb b/Library/Homebrew/test/cask/cmd/create_spec.rb index d0f033463..d8fa5cb42 100644 --- a/Library/Homebrew/test/cask/cmd/create_spec.rb +++ b/Library/Homebrew/test/cask/cmd/create_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require_relative "shared_examples/requires_cask_token" diff --git a/Library/Homebrew/test/cask/cmd/doctor_spec.rb b/Library/Homebrew/test/cask/cmd/doctor_spec.rb index 5351f93e5..1f913b670 100644 --- a/Library/Homebrew/test/cask/cmd/doctor_spec.rb +++ b/Library/Homebrew/test/cask/cmd/doctor_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require_relative "shared_examples/invalid_option" diff --git a/Library/Homebrew/test/cask/cmd/edit_spec.rb b/Library/Homebrew/test/cask/cmd/edit_spec.rb index e6a7d8fd1..18d390ee7 100644 --- a/Library/Homebrew/test/cask/cmd/edit_spec.rb +++ b/Library/Homebrew/test/cask/cmd/edit_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require_relative "shared_examples/requires_cask_token" diff --git a/Library/Homebrew/test/cask/cmd/fetch_spec.rb b/Library/Homebrew/test/cask/cmd/fetch_spec.rb index 35ecf6331..bc68dc9ec 100644 --- a/Library/Homebrew/test/cask/cmd/fetch_spec.rb +++ b/Library/Homebrew/test/cask/cmd/fetch_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require_relative "shared_examples/requires_cask_token" diff --git a/Library/Homebrew/test/cask/cmd/home_spec.rb b/Library/Homebrew/test/cask/cmd/home_spec.rb index f94229f27..5774a6d59 100644 --- a/Library/Homebrew/test/cask/cmd/home_spec.rb +++ b/Library/Homebrew/test/cask/cmd/home_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require_relative "shared_examples/invalid_option" diff --git a/Library/Homebrew/test/cask/cmd/info_spec.rb b/Library/Homebrew/test/cask/cmd/info_spec.rb index 3828d4d95..3022fc323 100644 --- a/Library/Homebrew/test/cask/cmd/info_spec.rb +++ b/Library/Homebrew/test/cask/cmd/info_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require_relative "shared_examples/requires_cask_token" diff --git a/Library/Homebrew/test/cask/cmd/install_spec.rb b/Library/Homebrew/test/cask/cmd/install_spec.rb index 585d7ac84..7c051d9d1 100644 --- a/Library/Homebrew/test/cask/cmd/install_spec.rb +++ b/Library/Homebrew/test/cask/cmd/install_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require_relative "shared_examples/requires_cask_token" diff --git a/Library/Homebrew/test/cask/cmd/internal_stanza_spec.rb b/Library/Homebrew/test/cask/cmd/internal_stanza_spec.rb index cffb1f780..9fe4fbd77 100644 --- a/Library/Homebrew/test/cask/cmd/internal_stanza_spec.rb +++ b/Library/Homebrew/test/cask/cmd/internal_stanza_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true describe Cask::Cmd::InternalStanza, :cask do diff --git a/Library/Homebrew/test/cask/cmd/list_spec.rb b/Library/Homebrew/test/cask/cmd/list_spec.rb index 5ae6ed8f1..1dfa41695 100644 --- a/Library/Homebrew/test/cask/cmd/list_spec.rb +++ b/Library/Homebrew/test/cask/cmd/list_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require_relative "shared_examples/invalid_option" diff --git a/Library/Homebrew/test/cask/cmd/outdated_spec.rb b/Library/Homebrew/test/cask/cmd/outdated_spec.rb index 2ae1624b3..6850fd749 100644 --- a/Library/Homebrew/test/cask/cmd/outdated_spec.rb +++ b/Library/Homebrew/test/cask/cmd/outdated_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require_relative "shared_examples/invalid_option" diff --git a/Library/Homebrew/test/cask/cmd/reinstall_spec.rb b/Library/Homebrew/test/cask/cmd/reinstall_spec.rb index ccd7317e6..8b93c92fc 100644 --- a/Library/Homebrew/test/cask/cmd/reinstall_spec.rb +++ b/Library/Homebrew/test/cask/cmd/reinstall_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require_relative "shared_examples/invalid_option" diff --git a/Library/Homebrew/test/cask/cmd/shared_examples/invalid_option.rb b/Library/Homebrew/test/cask/cmd/shared_examples/invalid_option.rb index 467a1be08..f344ba770 100644 --- a/Library/Homebrew/test/cask/cmd/shared_examples/invalid_option.rb +++ b/Library/Homebrew/test/cask/cmd/shared_examples/invalid_option.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true shared_examples "a command that handles invalid options" do diff --git a/Library/Homebrew/test/cask/cmd/shared_examples/requires_cask_token.rb b/Library/Homebrew/test/cask/cmd/shared_examples/requires_cask_token.rb index 0e68acc85..a3faaff58 100644 --- a/Library/Homebrew/test/cask/cmd/shared_examples/requires_cask_token.rb +++ b/Library/Homebrew/test/cask/cmd/shared_examples/requires_cask_token.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true shared_examples "a command that requires a Cask token" do diff --git a/Library/Homebrew/test/cask/cmd/style_spec.rb b/Library/Homebrew/test/cask/cmd/style_spec.rb index 32ce90aa2..7862cfd51 100644 --- a/Library/Homebrew/test/cask/cmd/style_spec.rb +++ b/Library/Homebrew/test/cask/cmd/style_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "open3" diff --git a/Library/Homebrew/test/cask/cmd/uninstall_spec.rb b/Library/Homebrew/test/cask/cmd/uninstall_spec.rb index f5c330615..8158d1c11 100644 --- a/Library/Homebrew/test/cask/cmd/uninstall_spec.rb +++ b/Library/Homebrew/test/cask/cmd/uninstall_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require_relative "shared_examples/requires_cask_token" diff --git a/Library/Homebrew/test/cask/cmd/upgrade_spec.rb b/Library/Homebrew/test/cask/cmd/upgrade_spec.rb index 3a9137657..e930e00b7 100644 --- a/Library/Homebrew/test/cask/cmd/upgrade_spec.rb +++ b/Library/Homebrew/test/cask/cmd/upgrade_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require_relative "shared_examples/invalid_option" diff --git a/Library/Homebrew/test/cask/cmd/zap_spec.rb b/Library/Homebrew/test/cask/cmd/zap_spec.rb index 66d90c58a..f5549f6f9 100644 --- a/Library/Homebrew/test/cask/cmd/zap_spec.rb +++ b/Library/Homebrew/test/cask/cmd/zap_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require_relative "shared_examples/requires_cask_token" diff --git a/Library/Homebrew/test/cask/cmd_spec.rb b/Library/Homebrew/test/cask/cmd_spec.rb index e715d0567..d034437fc 100644 --- a/Library/Homebrew/test/cask/cmd_spec.rb +++ b/Library/Homebrew/test/cask/cmd_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true describe Cask::Cmd, :cask do diff --git a/Library/Homebrew/test/cask/config_spec.rb b/Library/Homebrew/test/cask/config_spec.rb index 412d5f5b8..86cd91167 100644 --- a/Library/Homebrew/test/cask/config_spec.rb +++ b/Library/Homebrew/test/cask/config_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true describe Cask::Config, :cask do diff --git a/Library/Homebrew/test/cask/conflicts_with_spec.rb b/Library/Homebrew/test/cask/conflicts_with_spec.rb index 059685af3..71733db4b 100644 --- a/Library/Homebrew/test/cask/conflicts_with_spec.rb +++ b/Library/Homebrew/test/cask/conflicts_with_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true describe "conflicts_with", :cask do diff --git a/Library/Homebrew/test/cask/denylist_spec.rb b/Library/Homebrew/test/cask/denylist_spec.rb index 8c34b5988..65fc182c1 100644 --- a/Library/Homebrew/test/cask/denylist_spec.rb +++ b/Library/Homebrew/test/cask/denylist_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "cask/denylist" diff --git a/Library/Homebrew/test/cask/depends_on_spec.rb b/Library/Homebrew/test/cask/depends_on_spec.rb index d9424987d..e00f472d2 100644 --- a/Library/Homebrew/test/cask/depends_on_spec.rb +++ b/Library/Homebrew/test/cask/depends_on_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true # TODO: this test should be named after the corresponding class, once diff --git a/Library/Homebrew/test/cask/dsl/appcast_spec.rb b/Library/Homebrew/test/cask/dsl/appcast_spec.rb index a3b1cf671..ac7c1f664 100644 --- a/Library/Homebrew/test/cask/dsl/appcast_spec.rb +++ b/Library/Homebrew/test/cask/dsl/appcast_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "cmd/cask" diff --git a/Library/Homebrew/test/cask/dsl/caveats_spec.rb b/Library/Homebrew/test/cask/dsl/caveats_spec.rb index 3b14811f7..a9b3919a4 100644 --- a/Library/Homebrew/test/cask/dsl/caveats_spec.rb +++ b/Library/Homebrew/test/cask/dsl/caveats_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "test/cask/dsl/shared_examples/base" diff --git a/Library/Homebrew/test/cask/dsl/postflight_spec.rb b/Library/Homebrew/test/cask/dsl/postflight_spec.rb index edb411f31..259921fce 100644 --- a/Library/Homebrew/test/cask/dsl/postflight_spec.rb +++ b/Library/Homebrew/test/cask/dsl/postflight_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "test/cask/dsl/shared_examples/base" diff --git a/Library/Homebrew/test/cask/dsl/preflight_spec.rb b/Library/Homebrew/test/cask/dsl/preflight_spec.rb index caf977f52..93f1a6017 100644 --- a/Library/Homebrew/test/cask/dsl/preflight_spec.rb +++ b/Library/Homebrew/test/cask/dsl/preflight_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "test/cask/dsl/shared_examples/base" diff --git a/Library/Homebrew/test/cask/dsl/shared_examples/base.rb b/Library/Homebrew/test/cask/dsl/shared_examples/base.rb index c46715d51..f97d2c29d 100644 --- a/Library/Homebrew/test/cask/dsl/shared_examples/base.rb +++ b/Library/Homebrew/test/cask/dsl/shared_examples/base.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "cask/dsl/base" diff --git a/Library/Homebrew/test/cask/dsl/shared_examples/staged.rb b/Library/Homebrew/test/cask/dsl/shared_examples/staged.rb index a4d29f84c..b6490e825 100644 --- a/Library/Homebrew/test/cask/dsl/shared_examples/staged.rb +++ b/Library/Homebrew/test/cask/dsl/shared_examples/staged.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "cask/staged" diff --git a/Library/Homebrew/test/cask/dsl/uninstall_postflight_spec.rb b/Library/Homebrew/test/cask/dsl/uninstall_postflight_spec.rb index 77129641a..48c7653d5 100644 --- a/Library/Homebrew/test/cask/dsl/uninstall_postflight_spec.rb +++ b/Library/Homebrew/test/cask/dsl/uninstall_postflight_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "test/cask/dsl/shared_examples/base" diff --git a/Library/Homebrew/test/cask/dsl/uninstall_preflight_spec.rb b/Library/Homebrew/test/cask/dsl/uninstall_preflight_spec.rb index fa744f248..635c35c03 100644 --- a/Library/Homebrew/test/cask/dsl/uninstall_preflight_spec.rb +++ b/Library/Homebrew/test/cask/dsl/uninstall_preflight_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "test/cask/dsl/shared_examples/base" diff --git a/Library/Homebrew/test/cask/dsl/version_spec.rb b/Library/Homebrew/test/cask/dsl/version_spec.rb index cd1683aed..12f5db7da 100644 --- a/Library/Homebrew/test/cask/dsl/version_spec.rb +++ b/Library/Homebrew/test/cask/dsl/version_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true describe Cask::DSL::Version, :cask do diff --git a/Library/Homebrew/test/cask/dsl_spec.rb b/Library/Homebrew/test/cask/dsl_spec.rb index 0ef599322..43f7dea99 100644 --- a/Library/Homebrew/test/cask/dsl_spec.rb +++ b/Library/Homebrew/test/cask/dsl_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true describe Cask::DSL, :cask do diff --git a/Library/Homebrew/test/cask/installer_spec.rb b/Library/Homebrew/test/cask/installer_spec.rb index a7b5045bd..b15bf205c 100644 --- a/Library/Homebrew/test/cask/installer_spec.rb +++ b/Library/Homebrew/test/cask/installer_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true describe Cask::Installer, :cask do diff --git a/Library/Homebrew/test/cask/macos_spec.rb b/Library/Homebrew/test/cask/macos_spec.rb index 2635e67f1..92f5c332e 100644 --- a/Library/Homebrew/test/cask/macos_spec.rb +++ b/Library/Homebrew/test/cask/macos_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true describe MacOS, :cask do diff --git a/Library/Homebrew/test/cask/pkg_spec.rb b/Library/Homebrew/test/cask/pkg_spec.rb index 486ab8f82..e98face38 100644 --- a/Library/Homebrew/test/cask/pkg_spec.rb +++ b/Library/Homebrew/test/cask/pkg_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true describe Cask::Pkg, :cask do diff --git a/Library/Homebrew/test/cask/quarantine_spec.rb b/Library/Homebrew/test/cask/quarantine_spec.rb index 33c8f7a97..779c995eb 100644 --- a/Library/Homebrew/test/cask/quarantine_spec.rb +++ b/Library/Homebrew/test/cask/quarantine_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "cask/cmd/audit" diff --git a/Library/Homebrew/test/cask/verify_spec.rb b/Library/Homebrew/test/cask/verify_spec.rb index 46ce8ad5d..8acc50bae 100644 --- a/Library/Homebrew/test/cask/verify_spec.rb +++ b/Library/Homebrew/test/cask/verify_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true module Cask diff --git a/Library/Homebrew/test/cask_dependent_spec.rb b/Library/Homebrew/test/cask_dependent_spec.rb index 313a67a61..9f094157e 100644 --- a/Library/Homebrew/test/cask_dependent_spec.rb +++ b/Library/Homebrew/test/cask_dependent_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "cask/cask_loader" diff --git a/Library/Homebrew/test/caveats_spec.rb b/Library/Homebrew/test/caveats_spec.rb index b0ed28814..6423eefed 100644 --- a/Library/Homebrew/test/caveats_spec.rb +++ b/Library/Homebrew/test/caveats_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "formula" diff --git a/Library/Homebrew/test/checksum_spec.rb b/Library/Homebrew/test/checksum_spec.rb index 7dc894581..7904eca06 100644 --- a/Library/Homebrew/test/checksum_spec.rb +++ b/Library/Homebrew/test/checksum_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "checksum" diff --git a/Library/Homebrew/test/checksum_verification_spec.rb b/Library/Homebrew/test/checksum_verification_spec.rb index 7f3109ca4..b1a7a7f62 100644 --- a/Library/Homebrew/test/checksum_verification_spec.rb +++ b/Library/Homebrew/test/checksum_verification_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "formula" diff --git a/Library/Homebrew/test/cleaner_spec.rb b/Library/Homebrew/test/cleaner_spec.rb index bba23b7b8..f3ec58552 100644 --- a/Library/Homebrew/test/cleaner_spec.rb +++ b/Library/Homebrew/test/cleaner_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "cleaner" diff --git a/Library/Homebrew/test/cleanup_spec.rb b/Library/Homebrew/test/cleanup_spec.rb index cb15b9cb1..f8c363ad4 100644 --- a/Library/Homebrew/test/cleanup_spec.rb +++ b/Library/Homebrew/test/cleanup_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "test/support/fixtures/testball" diff --git a/Library/Homebrew/test/cli/named_args_spec.rb b/Library/Homebrew/test/cli/named_args_spec.rb index b70a67acc..29af7187e 100644 --- a/Library/Homebrew/test/cli/named_args_spec.rb +++ b/Library/Homebrew/test/cli/named_args_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "cli/named_args" diff --git a/Library/Homebrew/test/cli/parser_spec.rb b/Library/Homebrew/test/cli/parser_spec.rb index 0b6ce6e42..d678b332c 100644 --- a/Library/Homebrew/test/cli/parser_spec.rb +++ b/Library/Homebrew/test/cli/parser_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require_relative "../../cli/parser" diff --git a/Library/Homebrew/test/cmd/--cache_spec.rb b/Library/Homebrew/test/cmd/--cache_spec.rb index ea8c263fc..6f8acbb94 100644 --- a/Library/Homebrew/test/cmd/--cache_spec.rb +++ b/Library/Homebrew/test/cmd/--cache_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "cmd/shared_examples/args_parse" diff --git a/Library/Homebrew/test/cmd/--caskroom_spec.rb b/Library/Homebrew/test/cmd/--caskroom_spec.rb index 058573ac0..769d95544 100644 --- a/Library/Homebrew/test/cmd/--caskroom_spec.rb +++ b/Library/Homebrew/test/cmd/--caskroom_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true describe "brew --caskroom", :integration_test do diff --git a/Library/Homebrew/test/cmd/--cellar_spec.rb b/Library/Homebrew/test/cmd/--cellar_spec.rb index 5919a2f6a..1bda2bd9f 100644 --- a/Library/Homebrew/test/cmd/--cellar_spec.rb +++ b/Library/Homebrew/test/cmd/--cellar_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "cmd/shared_examples/args_parse" diff --git a/Library/Homebrew/test/cmd/--env_spec.rb b/Library/Homebrew/test/cmd/--env_spec.rb index 2f94f1310..d7cd44dbc 100644 --- a/Library/Homebrew/test/cmd/--env_spec.rb +++ b/Library/Homebrew/test/cmd/--env_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "cmd/shared_examples/args_parse" diff --git a/Library/Homebrew/test/cmd/--prefix_spec.rb b/Library/Homebrew/test/cmd/--prefix_spec.rb index 51c34fe22..527581f5f 100644 --- a/Library/Homebrew/test/cmd/--prefix_spec.rb +++ b/Library/Homebrew/test/cmd/--prefix_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "cmd/shared_examples/args_parse" diff --git a/Library/Homebrew/test/cmd/--repository_spec.rb b/Library/Homebrew/test/cmd/--repository_spec.rb index a6d351d90..cb2f75024 100644 --- a/Library/Homebrew/test/cmd/--repository_spec.rb +++ b/Library/Homebrew/test/cmd/--repository_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "cmd/shared_examples/args_parse" diff --git a/Library/Homebrew/test/cmd/--version_spec.rb b/Library/Homebrew/test/cmd/--version_spec.rb index 3650b7d44..7d9d71cd8 100644 --- a/Library/Homebrew/test/cmd/--version_spec.rb +++ b/Library/Homebrew/test/cmd/--version_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "cmd/shared_examples/args_parse" diff --git a/Library/Homebrew/test/cmd/analytics_spec.rb b/Library/Homebrew/test/cmd/analytics_spec.rb index 4c15cbe96..519f366c4 100644 --- a/Library/Homebrew/test/cmd/analytics_spec.rb +++ b/Library/Homebrew/test/cmd/analytics_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "cmd/shared_examples/args_parse" diff --git a/Library/Homebrew/test/cmd/bundle_spec.rb b/Library/Homebrew/test/cmd/bundle_spec.rb index 63bb8f509..7021ea70e 100644 --- a/Library/Homebrew/test/cmd/bundle_spec.rb +++ b/Library/Homebrew/test/cmd/bundle_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true describe "brew bundle", :integration_test do diff --git a/Library/Homebrew/test/cmd/cask_spec.rb b/Library/Homebrew/test/cmd/cask_spec.rb index 675ac09e9..666854d97 100644 --- a/Library/Homebrew/test/cmd/cask_spec.rb +++ b/Library/Homebrew/test/cmd/cask_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true describe "brew cask", :integration_test, :needs_macos, :needs_network do diff --git a/Library/Homebrew/test/cmd/cleanup_spec.rb b/Library/Homebrew/test/cmd/cleanup_spec.rb index 54d66f74e..437f8a627 100644 --- a/Library/Homebrew/test/cmd/cleanup_spec.rb +++ b/Library/Homebrew/test/cmd/cleanup_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "cmd/shared_examples/args_parse" diff --git a/Library/Homebrew/test/cmd/commands_spec.rb b/Library/Homebrew/test/cmd/commands_spec.rb index 8dde1ed83..fb049969e 100644 --- a/Library/Homebrew/test/cmd/commands_spec.rb +++ b/Library/Homebrew/test/cmd/commands_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "cmd/commands" diff --git a/Library/Homebrew/test/cmd/config_spec.rb b/Library/Homebrew/test/cmd/config_spec.rb index 2c454e14d..df5bed791 100644 --- a/Library/Homebrew/test/cmd/config_spec.rb +++ b/Library/Homebrew/test/cmd/config_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "cmd/shared_examples/args_parse" diff --git a/Library/Homebrew/test/cmd/custom-external-command_spec.rb b/Library/Homebrew/test/cmd/custom-external-command_spec.rb index b6aedd83e..84e735de6 100644 --- a/Library/Homebrew/test/cmd/custom-external-command_spec.rb +++ b/Library/Homebrew/test/cmd/custom-external-command_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true describe "brew custom-external-command", :integration_test do diff --git a/Library/Homebrew/test/cmd/deps_spec.rb b/Library/Homebrew/test/cmd/deps_spec.rb index f63454712..540b82c51 100644 --- a/Library/Homebrew/test/cmd/deps_spec.rb +++ b/Library/Homebrew/test/cmd/deps_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "cmd/shared_examples/args_parse" diff --git a/Library/Homebrew/test/cmd/desc_spec.rb b/Library/Homebrew/test/cmd/desc_spec.rb index 356484226..c9e7898dc 100644 --- a/Library/Homebrew/test/cmd/desc_spec.rb +++ b/Library/Homebrew/test/cmd/desc_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "cmd/shared_examples/args_parse" diff --git a/Library/Homebrew/test/cmd/doctor_spec.rb b/Library/Homebrew/test/cmd/doctor_spec.rb index eea6caab7..3d0bb6020 100644 --- a/Library/Homebrew/test/cmd/doctor_spec.rb +++ b/Library/Homebrew/test/cmd/doctor_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "cmd/shared_examples/args_parse" diff --git a/Library/Homebrew/test/cmd/fetch_spec.rb b/Library/Homebrew/test/cmd/fetch_spec.rb index a49cbfd8e..237a769b3 100644 --- a/Library/Homebrew/test/cmd/fetch_spec.rb +++ b/Library/Homebrew/test/cmd/fetch_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "cmd/shared_examples/args_parse" diff --git a/Library/Homebrew/test/cmd/gist-logs_spec.rb b/Library/Homebrew/test/cmd/gist-logs_spec.rb index 490373c7d..10a9d0d30 100644 --- a/Library/Homebrew/test/cmd/gist-logs_spec.rb +++ b/Library/Homebrew/test/cmd/gist-logs_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "cmd/shared_examples/args_parse" diff --git a/Library/Homebrew/test/cmd/help_spec.rb b/Library/Homebrew/test/cmd/help_spec.rb index b94d8a7ef..4d0cf035d 100644 --- a/Library/Homebrew/test/cmd/help_spec.rb +++ b/Library/Homebrew/test/cmd/help_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true describe "brew", :integration_test do diff --git a/Library/Homebrew/test/cmd/home_spec.rb b/Library/Homebrew/test/cmd/home_spec.rb index 7fce3ed4b..f0bdd9810 100644 --- a/Library/Homebrew/test/cmd/home_spec.rb +++ b/Library/Homebrew/test/cmd/home_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "cmd/shared_examples/args_parse" diff --git a/Library/Homebrew/test/cmd/info_spec.rb b/Library/Homebrew/test/cmd/info_spec.rb index 668548fb7..d2276fdb7 100644 --- a/Library/Homebrew/test/cmd/info_spec.rb +++ b/Library/Homebrew/test/cmd/info_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "cmd/info" diff --git a/Library/Homebrew/test/cmd/install_spec.rb b/Library/Homebrew/test/cmd/install_spec.rb index 70ba941c7..ef100add4 100644 --- a/Library/Homebrew/test/cmd/install_spec.rb +++ b/Library/Homebrew/test/cmd/install_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "cmd/shared_examples/args_parse" diff --git a/Library/Homebrew/test/cmd/leaves_spec.rb b/Library/Homebrew/test/cmd/leaves_spec.rb index ee56b3cbe..4962a7560 100644 --- a/Library/Homebrew/test/cmd/leaves_spec.rb +++ b/Library/Homebrew/test/cmd/leaves_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "cmd/shared_examples/args_parse" diff --git a/Library/Homebrew/test/cmd/link_spec.rb b/Library/Homebrew/test/cmd/link_spec.rb index 67748ae13..650fbb046 100644 --- a/Library/Homebrew/test/cmd/link_spec.rb +++ b/Library/Homebrew/test/cmd/link_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "cmd/shared_examples/args_parse" diff --git a/Library/Homebrew/test/cmd/list_spec.rb b/Library/Homebrew/test/cmd/list_spec.rb index e12a8522d..ff438b222 100644 --- a/Library/Homebrew/test/cmd/list_spec.rb +++ b/Library/Homebrew/test/cmd/list_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "cmd/shared_examples/args_parse" diff --git a/Library/Homebrew/test/cmd/log_spec.rb b/Library/Homebrew/test/cmd/log_spec.rb index 7ed48a2d1..d989c260f 100644 --- a/Library/Homebrew/test/cmd/log_spec.rb +++ b/Library/Homebrew/test/cmd/log_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "cmd/shared_examples/args_parse" diff --git a/Library/Homebrew/test/cmd/migrate_spec.rb b/Library/Homebrew/test/cmd/migrate_spec.rb index 8c8faee07..fce895471 100644 --- a/Library/Homebrew/test/cmd/migrate_spec.rb +++ b/Library/Homebrew/test/cmd/migrate_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "cmd/shared_examples/args_parse" diff --git a/Library/Homebrew/test/cmd/missing_spec.rb b/Library/Homebrew/test/cmd/missing_spec.rb index 8f5a3382f..0a5a6bb7b 100644 --- a/Library/Homebrew/test/cmd/missing_spec.rb +++ b/Library/Homebrew/test/cmd/missing_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "cmd/shared_examples/args_parse" diff --git a/Library/Homebrew/test/cmd/options_spec.rb b/Library/Homebrew/test/cmd/options_spec.rb index 655c3fa0e..9a3b49516 100644 --- a/Library/Homebrew/test/cmd/options_spec.rb +++ b/Library/Homebrew/test/cmd/options_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "cmd/shared_examples/args_parse" diff --git a/Library/Homebrew/test/cmd/outdated_spec.rb b/Library/Homebrew/test/cmd/outdated_spec.rb index ade971720..ba4becf50 100644 --- a/Library/Homebrew/test/cmd/outdated_spec.rb +++ b/Library/Homebrew/test/cmd/outdated_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "cmd/shared_examples/args_parse" diff --git a/Library/Homebrew/test/cmd/pin_spec.rb b/Library/Homebrew/test/cmd/pin_spec.rb index a34a3e21c..ad42715a3 100644 --- a/Library/Homebrew/test/cmd/pin_spec.rb +++ b/Library/Homebrew/test/cmd/pin_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "cmd/shared_examples/args_parse" diff --git a/Library/Homebrew/test/cmd/postinstall_spec.rb b/Library/Homebrew/test/cmd/postinstall_spec.rb index ed676f558..9be2e1288 100644 --- a/Library/Homebrew/test/cmd/postinstall_spec.rb +++ b/Library/Homebrew/test/cmd/postinstall_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "cmd/shared_examples/args_parse" diff --git a/Library/Homebrew/test/cmd/readall_spec.rb b/Library/Homebrew/test/cmd/readall_spec.rb index 245f1fde6..046a8cbf4 100644 --- a/Library/Homebrew/test/cmd/readall_spec.rb +++ b/Library/Homebrew/test/cmd/readall_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "cmd/shared_examples/args_parse" diff --git a/Library/Homebrew/test/cmd/reinstall_spec.rb b/Library/Homebrew/test/cmd/reinstall_spec.rb index 45b5a48ff..f88fd0d3d 100644 --- a/Library/Homebrew/test/cmd/reinstall_spec.rb +++ b/Library/Homebrew/test/cmd/reinstall_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "extend/ENV" diff --git a/Library/Homebrew/test/cmd/search_spec.rb b/Library/Homebrew/test/cmd/search_spec.rb index 43b1cf9a3..724a3ff0b 100644 --- a/Library/Homebrew/test/cmd/search_spec.rb +++ b/Library/Homebrew/test/cmd/search_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "cmd/search" diff --git a/Library/Homebrew/test/cmd/services_spec.rb b/Library/Homebrew/test/cmd/services_spec.rb index decee40fa..65d00d5d7 100644 --- a/Library/Homebrew/test/cmd/services_spec.rb +++ b/Library/Homebrew/test/cmd/services_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true describe "brew services", :integration_test, :needs_macos, :needs_network do diff --git a/Library/Homebrew/test/cmd/shared_examples/args_parse.rb b/Library/Homebrew/test/cmd/shared_examples/args_parse.rb index d8b7873b8..1df6117ad 100644 --- a/Library/Homebrew/test/cmd/shared_examples/args_parse.rb +++ b/Library/Homebrew/test/cmd/shared_examples/args_parse.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true shared_examples "parseable arguments" do diff --git a/Library/Homebrew/test/cmd/switch_spec.rb b/Library/Homebrew/test/cmd/switch_spec.rb index d50f993e4..b568e5300 100644 --- a/Library/Homebrew/test/cmd/switch_spec.rb +++ b/Library/Homebrew/test/cmd/switch_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "cmd/shared_examples/args_parse" diff --git a/Library/Homebrew/test/cmd/tap-info_spec.rb b/Library/Homebrew/test/cmd/tap-info_spec.rb index d03ca1784..e2c1bebca 100644 --- a/Library/Homebrew/test/cmd/tap-info_spec.rb +++ b/Library/Homebrew/test/cmd/tap-info_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "cmd/shared_examples/args_parse" diff --git a/Library/Homebrew/test/cmd/tap_spec.rb b/Library/Homebrew/test/cmd/tap_spec.rb index c90155e08..e54e91a5f 100644 --- a/Library/Homebrew/test/cmd/tap_spec.rb +++ b/Library/Homebrew/test/cmd/tap_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "cmd/shared_examples/args_parse" diff --git a/Library/Homebrew/test/cmd/uninstall_spec.rb b/Library/Homebrew/test/cmd/uninstall_spec.rb index 999d38f54..9d79d3e7d 100644 --- a/Library/Homebrew/test/cmd/uninstall_spec.rb +++ b/Library/Homebrew/test/cmd/uninstall_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "cmd/uninstall" diff --git a/Library/Homebrew/test/cmd/unlink_spec.rb b/Library/Homebrew/test/cmd/unlink_spec.rb index 148939316..090a091a0 100644 --- a/Library/Homebrew/test/cmd/unlink_spec.rb +++ b/Library/Homebrew/test/cmd/unlink_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "cmd/shared_examples/args_parse" diff --git a/Library/Homebrew/test/cmd/unpin_spec.rb b/Library/Homebrew/test/cmd/unpin_spec.rb index be3faa7c8..e1aa11d67 100644 --- a/Library/Homebrew/test/cmd/unpin_spec.rb +++ b/Library/Homebrew/test/cmd/unpin_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "cmd/shared_examples/args_parse" diff --git a/Library/Homebrew/test/cmd/untap_spec.rb b/Library/Homebrew/test/cmd/untap_spec.rb index 7a33683d4..d637d960b 100644 --- a/Library/Homebrew/test/cmd/untap_spec.rb +++ b/Library/Homebrew/test/cmd/untap_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "cmd/shared_examples/args_parse" diff --git a/Library/Homebrew/test/cmd/update-report_spec.rb b/Library/Homebrew/test/cmd/update-report_spec.rb index d07353431..548d0e845 100644 --- a/Library/Homebrew/test/cmd/update-report_spec.rb +++ b/Library/Homebrew/test/cmd/update-report_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "cmd/update-report" diff --git a/Library/Homebrew/test/cmd/upgrade_spec.rb b/Library/Homebrew/test/cmd/upgrade_spec.rb index 9f139fc05..f03b919a9 100644 --- a/Library/Homebrew/test/cmd/upgrade_spec.rb +++ b/Library/Homebrew/test/cmd/upgrade_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "cmd/shared_examples/args_parse" diff --git a/Library/Homebrew/test/cmd/uses_spec.rb b/Library/Homebrew/test/cmd/uses_spec.rb index 8321777ba..1b1341067 100644 --- a/Library/Homebrew/test/cmd/uses_spec.rb +++ b/Library/Homebrew/test/cmd/uses_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "cmd/shared_examples/args_parse" diff --git a/Library/Homebrew/test/commands_spec.rb b/Library/Homebrew/test/commands_spec.rb index 25f6955c9..b4a672191 100644 --- a/Library/Homebrew/test/commands_spec.rb +++ b/Library/Homebrew/test/commands_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "commands" diff --git a/Library/Homebrew/test/compiler_failure_spec.rb b/Library/Homebrew/test/compiler_failure_spec.rb index 08763e33c..4ec13cc57 100644 --- a/Library/Homebrew/test/compiler_failure_spec.rb +++ b/Library/Homebrew/test/compiler_failure_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "compilers" diff --git a/Library/Homebrew/test/compiler_selector_spec.rb b/Library/Homebrew/test/compiler_selector_spec.rb index f00c58add..a2ab44b94 100644 --- a/Library/Homebrew/test/compiler_selector_spec.rb +++ b/Library/Homebrew/test/compiler_selector_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "compilers" diff --git a/Library/Homebrew/test/cxxstdlib_spec.rb b/Library/Homebrew/test/cxxstdlib_spec.rb index 0cd0b2070..e16af54ec 100644 --- a/Library/Homebrew/test/cxxstdlib_spec.rb +++ b/Library/Homebrew/test/cxxstdlib_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "formula" diff --git a/Library/Homebrew/test/dependable_spec.rb b/Library/Homebrew/test/dependable_spec.rb index 2beb3c457..61b153a3e 100644 --- a/Library/Homebrew/test/dependable_spec.rb +++ b/Library/Homebrew/test/dependable_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "dependable" diff --git a/Library/Homebrew/test/dependencies_helpers_spec.rb b/Library/Homebrew/test/dependencies_helpers_spec.rb index 4686084bc..4f3ab714d 100644 --- a/Library/Homebrew/test/dependencies_helpers_spec.rb +++ b/Library/Homebrew/test/dependencies_helpers_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "dependencies_helpers" diff --git a/Library/Homebrew/test/dependencies_spec.rb b/Library/Homebrew/test/dependencies_spec.rb index 07da34497..b9b5ae7c6 100644 --- a/Library/Homebrew/test/dependencies_spec.rb +++ b/Library/Homebrew/test/dependencies_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "dependencies" diff --git a/Library/Homebrew/test/dependency_collector_spec.rb b/Library/Homebrew/test/dependency_collector_spec.rb index 5bcefadd4..aa673a233 100644 --- a/Library/Homebrew/test/dependency_collector_spec.rb +++ b/Library/Homebrew/test/dependency_collector_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "dependency_collector" diff --git a/Library/Homebrew/test/dependency_expansion_spec.rb b/Library/Homebrew/test/dependency_expansion_spec.rb index c3a1c4b7e..b0e5b8a6c 100644 --- a/Library/Homebrew/test/dependency_expansion_spec.rb +++ b/Library/Homebrew/test/dependency_expansion_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "dependency" diff --git a/Library/Homebrew/test/dependency_spec.rb b/Library/Homebrew/test/dependency_spec.rb index ec772097e..3c606c86c 100644 --- a/Library/Homebrew/test/dependency_spec.rb +++ b/Library/Homebrew/test/dependency_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "dependency" diff --git a/Library/Homebrew/test/description_cache_store_spec.rb b/Library/Homebrew/test/description_cache_store_spec.rb index a5855a9ce..6b16ffb6c 100644 --- a/Library/Homebrew/test/description_cache_store_spec.rb +++ b/Library/Homebrew/test/description_cache_store_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "description_cache_store" diff --git a/Library/Homebrew/test/descriptions_spec.rb b/Library/Homebrew/test/descriptions_spec.rb index 01aa00434..e1afb7ec8 100644 --- a/Library/Homebrew/test/descriptions_spec.rb +++ b/Library/Homebrew/test/descriptions_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "descriptions" diff --git a/Library/Homebrew/test/dev-cmd/audit_spec.rb b/Library/Homebrew/test/dev-cmd/audit_spec.rb index 1f730949a..315066bc5 100644 --- a/Library/Homebrew/test/dev-cmd/audit_spec.rb +++ b/Library/Homebrew/test/dev-cmd/audit_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "dev-cmd/audit" diff --git a/Library/Homebrew/test/dev-cmd/bottle_spec.rb b/Library/Homebrew/test/dev-cmd/bottle_spec.rb index 1acbf4480..c524f7d34 100644 --- a/Library/Homebrew/test/dev-cmd/bottle_spec.rb +++ b/Library/Homebrew/test/dev-cmd/bottle_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "cmd/shared_examples/args_parse" diff --git a/Library/Homebrew/test/dev-cmd/bump-cask-pr_spec.rb b/Library/Homebrew/test/dev-cmd/bump-cask-pr_spec.rb index 69552cfd7..02ae9e8a9 100644 --- a/Library/Homebrew/test/dev-cmd/bump-cask-pr_spec.rb +++ b/Library/Homebrew/test/dev-cmd/bump-cask-pr_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "cmd/shared_examples/args_parse" diff --git a/Library/Homebrew/test/dev-cmd/bump-formula-pr_spec.rb b/Library/Homebrew/test/dev-cmd/bump-formula-pr_spec.rb index 9cdc95f9a..08d090750 100644 --- a/Library/Homebrew/test/dev-cmd/bump-formula-pr_spec.rb +++ b/Library/Homebrew/test/dev-cmd/bump-formula-pr_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "cmd/shared_examples/args_parse" diff --git a/Library/Homebrew/test/dev-cmd/bump-revision_spec.rb b/Library/Homebrew/test/dev-cmd/bump-revision_spec.rb index 3d025d0b5..51324ce3e 100644 --- a/Library/Homebrew/test/dev-cmd/bump-revision_spec.rb +++ b/Library/Homebrew/test/dev-cmd/bump-revision_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "cmd/shared_examples/args_parse" diff --git a/Library/Homebrew/test/dev-cmd/bump_spec.rb b/Library/Homebrew/test/dev-cmd/bump_spec.rb index 81b22e319..33e4931f7 100644 --- a/Library/Homebrew/test/dev-cmd/bump_spec.rb +++ b/Library/Homebrew/test/dev-cmd/bump_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "cmd/shared_examples/args_parse" diff --git a/Library/Homebrew/test/dev-cmd/cat_spec.rb b/Library/Homebrew/test/dev-cmd/cat_spec.rb index 2a9132e76..fdeb97091 100644 --- a/Library/Homebrew/test/dev-cmd/cat_spec.rb +++ b/Library/Homebrew/test/dev-cmd/cat_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "cmd/shared_examples/args_parse" diff --git a/Library/Homebrew/test/dev-cmd/command_spec.rb b/Library/Homebrew/test/dev-cmd/command_spec.rb index 1d71661f2..5e6ecdfbe 100644 --- a/Library/Homebrew/test/dev-cmd/command_spec.rb +++ b/Library/Homebrew/test/dev-cmd/command_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "cmd/shared_examples/args_parse" diff --git a/Library/Homebrew/test/dev-cmd/create_spec.rb b/Library/Homebrew/test/dev-cmd/create_spec.rb index e4e98c207..54edd4b9e 100644 --- a/Library/Homebrew/test/dev-cmd/create_spec.rb +++ b/Library/Homebrew/test/dev-cmd/create_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "cmd/shared_examples/args_parse" diff --git a/Library/Homebrew/test/dev-cmd/diy_spec.rb b/Library/Homebrew/test/dev-cmd/diy_spec.rb index 5168cf552..eafc466f3 100644 --- a/Library/Homebrew/test/dev-cmd/diy_spec.rb +++ b/Library/Homebrew/test/dev-cmd/diy_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "cmd/shared_examples/args_parse" diff --git a/Library/Homebrew/test/dev-cmd/edit_spec.rb b/Library/Homebrew/test/dev-cmd/edit_spec.rb index df88019fa..2e8a96ea6 100644 --- a/Library/Homebrew/test/dev-cmd/edit_spec.rb +++ b/Library/Homebrew/test/dev-cmd/edit_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "cmd/shared_examples/args_parse" diff --git a/Library/Homebrew/test/dev-cmd/extract_spec.rb b/Library/Homebrew/test/dev-cmd/extract_spec.rb index c12c4eb06..5563f6079 100644 --- a/Library/Homebrew/test/dev-cmd/extract_spec.rb +++ b/Library/Homebrew/test/dev-cmd/extract_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "cmd/shared_examples/args_parse" diff --git a/Library/Homebrew/test/dev-cmd/formula_spec.rb b/Library/Homebrew/test/dev-cmd/formula_spec.rb index d9e96bc7b..e52fb8267 100644 --- a/Library/Homebrew/test/dev-cmd/formula_spec.rb +++ b/Library/Homebrew/test/dev-cmd/formula_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "cmd/shared_examples/args_parse" diff --git a/Library/Homebrew/test/dev-cmd/irb_spec.rb b/Library/Homebrew/test/dev-cmd/irb_spec.rb index 666374c87..1d39e2d70 100644 --- a/Library/Homebrew/test/dev-cmd/irb_spec.rb +++ b/Library/Homebrew/test/dev-cmd/irb_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "cmd/shared_examples/args_parse" diff --git a/Library/Homebrew/test/dev-cmd/linkage_spec.rb b/Library/Homebrew/test/dev-cmd/linkage_spec.rb index f083b5cb6..1663e42c4 100644 --- a/Library/Homebrew/test/dev-cmd/linkage_spec.rb +++ b/Library/Homebrew/test/dev-cmd/linkage_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "cmd/shared_examples/args_parse" diff --git a/Library/Homebrew/test/dev-cmd/livecheck_spec.rb b/Library/Homebrew/test/dev-cmd/livecheck_spec.rb index 4bbee4693..9bd0dfee5 100644 --- a/Library/Homebrew/test/dev-cmd/livecheck_spec.rb +++ b/Library/Homebrew/test/dev-cmd/livecheck_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "cmd/shared_examples/args_parse" diff --git a/Library/Homebrew/test/dev-cmd/man_spec.rb b/Library/Homebrew/test/dev-cmd/man_spec.rb index 07eab3a25..29523d832 100644 --- a/Library/Homebrew/test/dev-cmd/man_spec.rb +++ b/Library/Homebrew/test/dev-cmd/man_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "cmd/shared_examples/args_parse" diff --git a/Library/Homebrew/test/dev-cmd/mirror_spec.rb b/Library/Homebrew/test/dev-cmd/mirror_spec.rb index 4ad0dc02a..bc6af40e2 100644 --- a/Library/Homebrew/test/dev-cmd/mirror_spec.rb +++ b/Library/Homebrew/test/dev-cmd/mirror_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "cmd/shared_examples/args_parse" diff --git a/Library/Homebrew/test/dev-cmd/pr-automerge_spec.rb b/Library/Homebrew/test/dev-cmd/pr-automerge_spec.rb index d0230d13a..df6b0ef66 100644 --- a/Library/Homebrew/test/dev-cmd/pr-automerge_spec.rb +++ b/Library/Homebrew/test/dev-cmd/pr-automerge_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "cmd/shared_examples/args_parse" diff --git a/Library/Homebrew/test/dev-cmd/pr-publish_spec.rb b/Library/Homebrew/test/dev-cmd/pr-publish_spec.rb index f0b8e25cd..f0021f0f4 100644 --- a/Library/Homebrew/test/dev-cmd/pr-publish_spec.rb +++ b/Library/Homebrew/test/dev-cmd/pr-publish_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "cmd/shared_examples/args_parse" diff --git a/Library/Homebrew/test/dev-cmd/pr-pull_spec.rb b/Library/Homebrew/test/dev-cmd/pr-pull_spec.rb index f11823c52..848323c00 100644 --- a/Library/Homebrew/test/dev-cmd/pr-pull_spec.rb +++ b/Library/Homebrew/test/dev-cmd/pr-pull_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "dev-cmd/pr-pull" diff --git a/Library/Homebrew/test/dev-cmd/pr-upload_spec.rb b/Library/Homebrew/test/dev-cmd/pr-upload_spec.rb index 69a5f27c1..54530b609 100644 --- a/Library/Homebrew/test/dev-cmd/pr-upload_spec.rb +++ b/Library/Homebrew/test/dev-cmd/pr-upload_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "cmd/shared_examples/args_parse" diff --git a/Library/Homebrew/test/dev-cmd/prof_spec.rb b/Library/Homebrew/test/dev-cmd/prof_spec.rb index c2dc0b3d4..f4a3990e8 100644 --- a/Library/Homebrew/test/dev-cmd/prof_spec.rb +++ b/Library/Homebrew/test/dev-cmd/prof_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "cmd/shared_examples/args_parse" diff --git a/Library/Homebrew/test/dev-cmd/release-notes_spec.rb b/Library/Homebrew/test/dev-cmd/release-notes_spec.rb index bbe9bff87..21d1b2979 100644 --- a/Library/Homebrew/test/dev-cmd/release-notes_spec.rb +++ b/Library/Homebrew/test/dev-cmd/release-notes_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "cmd/shared_examples/args_parse" diff --git a/Library/Homebrew/test/dev-cmd/ruby_spec.rb b/Library/Homebrew/test/dev-cmd/ruby_spec.rb index 42bb98c1f..ae13bf021 100644 --- a/Library/Homebrew/test/dev-cmd/ruby_spec.rb +++ b/Library/Homebrew/test/dev-cmd/ruby_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "cmd/shared_examples/args_parse" diff --git a/Library/Homebrew/test/dev-cmd/sh_spec.rb b/Library/Homebrew/test/dev-cmd/sh_spec.rb index 52000a549..8fa4a72a0 100644 --- a/Library/Homebrew/test/dev-cmd/sh_spec.rb +++ b/Library/Homebrew/test/dev-cmd/sh_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "cmd/shared_examples/args_parse" diff --git a/Library/Homebrew/test/dev-cmd/sponsors_spec.rb b/Library/Homebrew/test/dev-cmd/sponsors_spec.rb index 667dff55b..bee845842 100644 --- a/Library/Homebrew/test/dev-cmd/sponsors_spec.rb +++ b/Library/Homebrew/test/dev-cmd/sponsors_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "cmd/shared_examples/args_parse" diff --git a/Library/Homebrew/test/dev-cmd/style_spec.rb b/Library/Homebrew/test/dev-cmd/style_spec.rb index 2c0164c9f..0fb6f90c1 100644 --- a/Library/Homebrew/test/dev-cmd/style_spec.rb +++ b/Library/Homebrew/test/dev-cmd/style_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "cmd/shared_examples/args_parse" diff --git a/Library/Homebrew/test/dev-cmd/tap-new_spec.rb b/Library/Homebrew/test/dev-cmd/tap-new_spec.rb index 24e83443a..bbad80d12 100644 --- a/Library/Homebrew/test/dev-cmd/tap-new_spec.rb +++ b/Library/Homebrew/test/dev-cmd/tap-new_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "cmd/shared_examples/args_parse" diff --git a/Library/Homebrew/test/dev-cmd/test_spec.rb b/Library/Homebrew/test/dev-cmd/test_spec.rb index 866230a70..81f46c177 100644 --- a/Library/Homebrew/test/dev-cmd/test_spec.rb +++ b/Library/Homebrew/test/dev-cmd/test_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "cmd/shared_examples/args_parse" diff --git a/Library/Homebrew/test/dev-cmd/typecheck_spec.rb b/Library/Homebrew/test/dev-cmd/typecheck_spec.rb index 8fef2f67f..31c8c3b7f 100644 --- a/Library/Homebrew/test/dev-cmd/typecheck_spec.rb +++ b/Library/Homebrew/test/dev-cmd/typecheck_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "cmd/shared_examples/args_parse" diff --git a/Library/Homebrew/test/dev-cmd/unpack_spec.rb b/Library/Homebrew/test/dev-cmd/unpack_spec.rb index 0a0c27eee..079968691 100644 --- a/Library/Homebrew/test/dev-cmd/unpack_spec.rb +++ b/Library/Homebrew/test/dev-cmd/unpack_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "cmd/shared_examples/args_parse" diff --git a/Library/Homebrew/test/dev-cmd/update-license-data_spec.rb b/Library/Homebrew/test/dev-cmd/update-license-data_spec.rb index d9be45780..734ee4545 100644 --- a/Library/Homebrew/test/dev-cmd/update-license-data_spec.rb +++ b/Library/Homebrew/test/dev-cmd/update-license-data_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "cmd/shared_examples/args_parse" diff --git a/Library/Homebrew/test/dev-cmd/vendor-gems_spec.rb b/Library/Homebrew/test/dev-cmd/vendor-gems_spec.rb index ac08d2947..dc6b9b106 100644 --- a/Library/Homebrew/test/dev-cmd/vendor-gems_spec.rb +++ b/Library/Homebrew/test/dev-cmd/vendor-gems_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "cmd/shared_examples/args_parse" diff --git a/Library/Homebrew/test/diagnostic_checks_spec.rb b/Library/Homebrew/test/diagnostic_checks_spec.rb index 5fd14791c..bd2c17bec 100644 --- a/Library/Homebrew/test/diagnostic_checks_spec.rb +++ b/Library/Homebrew/test/diagnostic_checks_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "diagnostic" diff --git a/Library/Homebrew/test/download_strategies_spec.rb b/Library/Homebrew/test/download_strategies_spec.rb index 3f5f6c07a..120294835 100644 --- a/Library/Homebrew/test/download_strategies_spec.rb +++ b/Library/Homebrew/test/download_strategies_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "download_strategy" diff --git a/Library/Homebrew/test/env_config_spec.rb b/Library/Homebrew/test/env_config_spec.rb index cdc65adb9..47713b155 100644 --- a/Library/Homebrew/test/env_config_spec.rb +++ b/Library/Homebrew/test/env_config_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "diagnostic" diff --git a/Library/Homebrew/test/error_during_execution_spec.rb b/Library/Homebrew/test/error_during_execution_spec.rb index 513ff7a50..2b9193761 100644 --- a/Library/Homebrew/test/error_during_execution_spec.rb +++ b/Library/Homebrew/test/error_during_execution_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true describe ErrorDuringExecution do diff --git a/Library/Homebrew/test/exceptions_spec.rb b/Library/Homebrew/test/exceptions_spec.rb index 8bb4266ad..e938c843c 100644 --- a/Library/Homebrew/test/exceptions_spec.rb +++ b/Library/Homebrew/test/exceptions_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "exceptions" diff --git a/Library/Homebrew/test/formatter_spec.rb b/Library/Homebrew/test/formatter_spec.rb index fb348213a..9e8d214f7 100644 --- a/Library/Homebrew/test/formatter_spec.rb +++ b/Library/Homebrew/test/formatter_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "utils/formatter" diff --git a/Library/Homebrew/test/formula_free_port_spec.rb b/Library/Homebrew/test/formula_free_port_spec.rb index 04320edf5..84412d61d 100644 --- a/Library/Homebrew/test/formula_free_port_spec.rb +++ b/Library/Homebrew/test/formula_free_port_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "socket" diff --git a/Library/Homebrew/test/formula_info_spec.rb b/Library/Homebrew/test/formula_info_spec.rb index 4e1f41652..0e8bcebb1 100644 --- a/Library/Homebrew/test/formula_info_spec.rb +++ b/Library/Homebrew/test/formula_info_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "formula_info" diff --git a/Library/Homebrew/test/formula_installer_bottle_spec.rb b/Library/Homebrew/test/formula_installer_bottle_spec.rb index 0a6aec0f0..b42513f75 100644 --- a/Library/Homebrew/test/formula_installer_bottle_spec.rb +++ b/Library/Homebrew/test/formula_installer_bottle_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "formula" diff --git a/Library/Homebrew/test/formula_installer_spec.rb b/Library/Homebrew/test/formula_installer_spec.rb index bffafdfe7..0e84ed74a 100644 --- a/Library/Homebrew/test/formula_installer_spec.rb +++ b/Library/Homebrew/test/formula_installer_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "formula" diff --git a/Library/Homebrew/test/formula_pin_spec.rb b/Library/Homebrew/test/formula_pin_spec.rb index 03e83da67..04e371cb4 100644 --- a/Library/Homebrew/test/formula_pin_spec.rb +++ b/Library/Homebrew/test/formula_pin_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "formula_pin" diff --git a/Library/Homebrew/test/formula_spec.rb b/Library/Homebrew/test/formula_spec.rb index 82ef57195..453fb312d 100644 --- a/Library/Homebrew/test/formula_spec.rb +++ b/Library/Homebrew/test/formula_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "test/support/fixtures/testball" diff --git a/Library/Homebrew/test/formula_spec_selection_spec.rb b/Library/Homebrew/test/formula_spec_selection_spec.rb index bdaed0ddd..c16c13ad5 100644 --- a/Library/Homebrew/test/formula_spec_selection_spec.rb +++ b/Library/Homebrew/test/formula_spec_selection_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "formula" diff --git a/Library/Homebrew/test/formula_support_spec.rb b/Library/Homebrew/test/formula_support_spec.rb index d20fedddf..6fcd00f43 100644 --- a/Library/Homebrew/test/formula_support_spec.rb +++ b/Library/Homebrew/test/formula_support_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "formula_support" diff --git a/Library/Homebrew/test/formula_validation_spec.rb b/Library/Homebrew/test/formula_validation_spec.rb index c17820158..30077967f 100644 --- a/Library/Homebrew/test/formula_validation_spec.rb +++ b/Library/Homebrew/test/formula_validation_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "formula" diff --git a/Library/Homebrew/test/formulary_spec.rb b/Library/Homebrew/test/formulary_spec.rb index bbd6aca88..b8ca07410 100644 --- a/Library/Homebrew/test/formulary_spec.rb +++ b/Library/Homebrew/test/formulary_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "formula" diff --git a/Library/Homebrew/test/global_spec.rb b/Library/Homebrew/test/global_spec.rb index 5ae60e666..6c34ca883 100644 --- a/Library/Homebrew/test/global_spec.rb +++ b/Library/Homebrew/test/global_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true describe "brew", :integration_test do diff --git a/Library/Homebrew/test/hardware/cpu_spec.rb b/Library/Homebrew/test/hardware/cpu_spec.rb index 343da4378..f7ea9243e 100644 --- a/Library/Homebrew/test/hardware/cpu_spec.rb +++ b/Library/Homebrew/test/hardware/cpu_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "hardware" diff --git a/Library/Homebrew/test/inreplace_spec.rb b/Library/Homebrew/test/inreplace_spec.rb index 9389c0a31..aa80fddd0 100644 --- a/Library/Homebrew/test/inreplace_spec.rb +++ b/Library/Homebrew/test/inreplace_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "extend/string" diff --git a/Library/Homebrew/test/java_requirement_spec.rb b/Library/Homebrew/test/java_requirement_spec.rb index 590f27a1d..42a065faf 100644 --- a/Library/Homebrew/test/java_requirement_spec.rb +++ b/Library/Homebrew/test/java_requirement_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "cli/args" diff --git a/Library/Homebrew/test/keg_spec.rb b/Library/Homebrew/test/keg_spec.rb index 060ceb2d4..4c81962a1 100644 --- a/Library/Homebrew/test/keg_spec.rb +++ b/Library/Homebrew/test/keg_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "keg" diff --git a/Library/Homebrew/test/language/go_spec.rb b/Library/Homebrew/test/language/go_spec.rb index ac631f38c..b2c3212ad 100644 --- a/Library/Homebrew/test/language/go_spec.rb +++ b/Library/Homebrew/test/language/go_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "language/go" diff --git a/Library/Homebrew/test/language/java_spec.rb b/Library/Homebrew/test/language/java_spec.rb index 217eb792d..4893a272c 100644 --- a/Library/Homebrew/test/language/java_spec.rb +++ b/Library/Homebrew/test/language/java_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "language/java" diff --git a/Library/Homebrew/test/language/node_spec.rb b/Library/Homebrew/test/language/node_spec.rb index 79c3cf249..3907b96ac 100644 --- a/Library/Homebrew/test/language/node_spec.rb +++ b/Library/Homebrew/test/language/node_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "language/node" diff --git a/Library/Homebrew/test/language/perl/shebang_spec.rb b/Library/Homebrew/test/language/perl/shebang_spec.rb index 5a59f162b..8dbffe0b4 100644 --- a/Library/Homebrew/test/language/perl/shebang_spec.rb +++ b/Library/Homebrew/test/language/perl/shebang_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "language/perl" diff --git a/Library/Homebrew/test/language/python_spec.rb b/Library/Homebrew/test/language/python_spec.rb index 174373d99..6fab0b50f 100644 --- a/Library/Homebrew/test/language/python_spec.rb +++ b/Library/Homebrew/test/language/python_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "language/python" diff --git a/Library/Homebrew/test/lazy_object_spec.rb b/Library/Homebrew/test/lazy_object_spec.rb index 57ca637fa..f9520b83c 100644 --- a/Library/Homebrew/test/lazy_object_spec.rb +++ b/Library/Homebrew/test/lazy_object_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "lazy_object" diff --git a/Library/Homebrew/test/linkage_cache_store_spec.rb b/Library/Homebrew/test/linkage_cache_store_spec.rb index 51dec2b1d..9e9c53385 100644 --- a/Library/Homebrew/test/linkage_cache_store_spec.rb +++ b/Library/Homebrew/test/linkage_cache_store_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "linkage_cache_store" diff --git a/Library/Homebrew/test/livecheck/livecheck_spec.rb b/Library/Homebrew/test/livecheck/livecheck_spec.rb index 68d95cf90..5bbd94320 100644 --- a/Library/Homebrew/test/livecheck/livecheck_spec.rb +++ b/Library/Homebrew/test/livecheck/livecheck_spec.rb @@ -1,3 +1,4 @@ +# typed: false # Frozen_string_literal: true require "livecheck/livecheck" diff --git a/Library/Homebrew/test/livecheck/strategy/apache_spec.rb b/Library/Homebrew/test/livecheck/strategy/apache_spec.rb index b44ca71ea..7bd4d9ae1 100644 --- a/Library/Homebrew/test/livecheck/strategy/apache_spec.rb +++ b/Library/Homebrew/test/livecheck/strategy/apache_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "livecheck/strategy/apache" diff --git a/Library/Homebrew/test/livecheck/strategy/bitbucket_spec.rb b/Library/Homebrew/test/livecheck/strategy/bitbucket_spec.rb index 2026d157a..f5c2df857 100644 --- a/Library/Homebrew/test/livecheck/strategy/bitbucket_spec.rb +++ b/Library/Homebrew/test/livecheck/strategy/bitbucket_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "livecheck/strategy/bitbucket" diff --git a/Library/Homebrew/test/livecheck/strategy/git_spec.rb b/Library/Homebrew/test/livecheck/strategy/git_spec.rb index 366ed3558..9a0996a2d 100644 --- a/Library/Homebrew/test/livecheck/strategy/git_spec.rb +++ b/Library/Homebrew/test/livecheck/strategy/git_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "livecheck/strategy/git" diff --git a/Library/Homebrew/test/livecheck/strategy/gnome_spec.rb b/Library/Homebrew/test/livecheck/strategy/gnome_spec.rb index 79145e02c..4edf10161 100644 --- a/Library/Homebrew/test/livecheck/strategy/gnome_spec.rb +++ b/Library/Homebrew/test/livecheck/strategy/gnome_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "livecheck/strategy/gnome" diff --git a/Library/Homebrew/test/livecheck/strategy/gnu_spec.rb b/Library/Homebrew/test/livecheck/strategy/gnu_spec.rb index 82cfc98c7..63e28de01 100644 --- a/Library/Homebrew/test/livecheck/strategy/gnu_spec.rb +++ b/Library/Homebrew/test/livecheck/strategy/gnu_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "livecheck/strategy/gnu" diff --git a/Library/Homebrew/test/livecheck/strategy/hackage_spec.rb b/Library/Homebrew/test/livecheck/strategy/hackage_spec.rb index 63e3346bd..11a35d7ba 100644 --- a/Library/Homebrew/test/livecheck/strategy/hackage_spec.rb +++ b/Library/Homebrew/test/livecheck/strategy/hackage_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "livecheck/strategy/hackage" diff --git a/Library/Homebrew/test/livecheck/strategy/launchpad_spec.rb b/Library/Homebrew/test/livecheck/strategy/launchpad_spec.rb index 54630bb5d..150c54778 100644 --- a/Library/Homebrew/test/livecheck/strategy/launchpad_spec.rb +++ b/Library/Homebrew/test/livecheck/strategy/launchpad_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "livecheck/strategy/launchpad" diff --git a/Library/Homebrew/test/livecheck/strategy/npm_spec.rb b/Library/Homebrew/test/livecheck/strategy/npm_spec.rb index 3bee72489..261243428 100644 --- a/Library/Homebrew/test/livecheck/strategy/npm_spec.rb +++ b/Library/Homebrew/test/livecheck/strategy/npm_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "livecheck/strategy/npm" diff --git a/Library/Homebrew/test/livecheck/strategy/page_match_spec.rb b/Library/Homebrew/test/livecheck/strategy/page_match_spec.rb index 1b615b246..96bf43ad5 100644 --- a/Library/Homebrew/test/livecheck/strategy/page_match_spec.rb +++ b/Library/Homebrew/test/livecheck/strategy/page_match_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "livecheck/strategy/page_match" diff --git a/Library/Homebrew/test/livecheck/strategy/pypi_spec.rb b/Library/Homebrew/test/livecheck/strategy/pypi_spec.rb index b8c49817e..e8a4ba1b8 100644 --- a/Library/Homebrew/test/livecheck/strategy/pypi_spec.rb +++ b/Library/Homebrew/test/livecheck/strategy/pypi_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "livecheck/strategy/pypi" diff --git a/Library/Homebrew/test/livecheck/strategy/sourceforge_spec.rb b/Library/Homebrew/test/livecheck/strategy/sourceforge_spec.rb index 8ca98945a..c37c9cdc2 100644 --- a/Library/Homebrew/test/livecheck/strategy/sourceforge_spec.rb +++ b/Library/Homebrew/test/livecheck/strategy/sourceforge_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "livecheck/strategy/sourceforge" diff --git a/Library/Homebrew/test/livecheck/strategy/xorg_spec.rb b/Library/Homebrew/test/livecheck/strategy/xorg_spec.rb index 7db151cc7..664797732 100644 --- a/Library/Homebrew/test/livecheck/strategy/xorg_spec.rb +++ b/Library/Homebrew/test/livecheck/strategy/xorg_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "livecheck/strategy/xorg" diff --git a/Library/Homebrew/test/livecheck/strategy_spec.rb b/Library/Homebrew/test/livecheck/strategy_spec.rb index de0869a70..a2480b340 100644 --- a/Library/Homebrew/test/livecheck/strategy_spec.rb +++ b/Library/Homebrew/test/livecheck/strategy_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "livecheck/strategy" diff --git a/Library/Homebrew/test/livecheck_spec.rb b/Library/Homebrew/test/livecheck_spec.rb index e5ed4a57c..84ed8df53 100644 --- a/Library/Homebrew/test/livecheck_spec.rb +++ b/Library/Homebrew/test/livecheck_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "formula" diff --git a/Library/Homebrew/test/locale_spec.rb b/Library/Homebrew/test/locale_spec.rb index 52c0e6aeb..05a433122 100644 --- a/Library/Homebrew/test/locale_spec.rb +++ b/Library/Homebrew/test/locale_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "locale" diff --git a/Library/Homebrew/test/lock_file_spec.rb b/Library/Homebrew/test/lock_file_spec.rb index f9e949648..c8aca6beb 100644 --- a/Library/Homebrew/test/lock_file_spec.rb +++ b/Library/Homebrew/test/lock_file_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "lock_file" diff --git a/Library/Homebrew/test/messages_spec.rb b/Library/Homebrew/test/messages_spec.rb index fa97096d1..aa54d406a 100644 --- a/Library/Homebrew/test/messages_spec.rb +++ b/Library/Homebrew/test/messages_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "messages" diff --git a/Library/Homebrew/test/migrator_spec.rb b/Library/Homebrew/test/migrator_spec.rb index e17a4bf44..1c21b93ab 100644 --- a/Library/Homebrew/test/migrator_spec.rb +++ b/Library/Homebrew/test/migrator_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "migrator" diff --git a/Library/Homebrew/test/missing_formula_spec.rb b/Library/Homebrew/test/missing_formula_spec.rb index 4d88dfedc..14fb5bdcf 100644 --- a/Library/Homebrew/test/missing_formula_spec.rb +++ b/Library/Homebrew/test/missing_formula_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "missing_formula" diff --git a/Library/Homebrew/test/options_spec.rb b/Library/Homebrew/test/options_spec.rb index b864fe662..fa180493f 100644 --- a/Library/Homebrew/test/options_spec.rb +++ b/Library/Homebrew/test/options_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "options" diff --git a/Library/Homebrew/test/os/linux/dependency_collector_spec.rb b/Library/Homebrew/test/os/linux/dependency_collector_spec.rb index b13b458d2..3baab3f2d 100644 --- a/Library/Homebrew/test/os/linux/dependency_collector_spec.rb +++ b/Library/Homebrew/test/os/linux/dependency_collector_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "dependency_collector" diff --git a/Library/Homebrew/test/os/linux/diagnostic_spec.rb b/Library/Homebrew/test/os/linux/diagnostic_spec.rb index 185eab89a..8c32c8319 100644 --- a/Library/Homebrew/test/os/linux/diagnostic_spec.rb +++ b/Library/Homebrew/test/os/linux/diagnostic_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "diagnostic" diff --git a/Library/Homebrew/test/os/linux/formula_spec.rb b/Library/Homebrew/test/os/linux/formula_spec.rb index 7ef64aecd..806e4a3f7 100644 --- a/Library/Homebrew/test/os/linux/formula_spec.rb +++ b/Library/Homebrew/test/os/linux/formula_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "test/support/fixtures/testball" diff --git a/Library/Homebrew/test/os/linux/pathname_spec.rb b/Library/Homebrew/test/os/linux/pathname_spec.rb index 7e4126585..cae19a846 100644 --- a/Library/Homebrew/test/os/linux/pathname_spec.rb +++ b/Library/Homebrew/test/os/linux/pathname_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "extend/pathname" diff --git a/Library/Homebrew/test/os/mac/dependency_collector_spec.rb b/Library/Homebrew/test/os/mac/dependency_collector_spec.rb index eacaf971f..eb29d478d 100644 --- a/Library/Homebrew/test/os/mac/dependency_collector_spec.rb +++ b/Library/Homebrew/test/os/mac/dependency_collector_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "dependency_collector" diff --git a/Library/Homebrew/test/os/mac/diagnostic_spec.rb b/Library/Homebrew/test/os/mac/diagnostic_spec.rb index aa44899d5..de6ed4065 100644 --- a/Library/Homebrew/test/os/mac/diagnostic_spec.rb +++ b/Library/Homebrew/test/os/mac/diagnostic_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "diagnostic" diff --git a/Library/Homebrew/test/os/mac/formula_spec.rb b/Library/Homebrew/test/os/mac/formula_spec.rb index 05f15cb80..b33878dc4 100644 --- a/Library/Homebrew/test/os/mac/formula_spec.rb +++ b/Library/Homebrew/test/os/mac/formula_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "test/support/fixtures/testball" diff --git a/Library/Homebrew/test/os/mac/java_requirement_spec.rb b/Library/Homebrew/test/os/mac/java_requirement_spec.rb index 65729b23b..4d83a5889 100644 --- a/Library/Homebrew/test/os/mac/java_requirement_spec.rb +++ b/Library/Homebrew/test/os/mac/java_requirement_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "cli/args" diff --git a/Library/Homebrew/test/os/mac/keg_spec.rb b/Library/Homebrew/test/os/mac/keg_spec.rb index b70068c95..6ce7bc075 100644 --- a/Library/Homebrew/test/os/mac/keg_spec.rb +++ b/Library/Homebrew/test/os/mac/keg_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "keg" diff --git a/Library/Homebrew/test/os/mac/mach_spec.rb b/Library/Homebrew/test/os/mac/mach_spec.rb index c10a661f9..1bc6f59f9 100644 --- a/Library/Homebrew/test/os/mac/mach_spec.rb +++ b/Library/Homebrew/test/os/mac/mach_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true describe "Mach-O Pathname tests" do diff --git a/Library/Homebrew/test/os/mac/pkgconfig_spec.rb b/Library/Homebrew/test/os/mac/pkgconfig_spec.rb index fa8a1de35..4b0e2abbb 100644 --- a/Library/Homebrew/test/os/mac/pkgconfig_spec.rb +++ b/Library/Homebrew/test/os/mac/pkgconfig_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true # These tests assume the needed SDKs are correctly installed, i.e. `brew doctor` passes. diff --git a/Library/Homebrew/test/os/mac/software_spec_spec.rb b/Library/Homebrew/test/os/mac/software_spec_spec.rb index af94ef6f5..e716a7624 100644 --- a/Library/Homebrew/test/os/mac/software_spec_spec.rb +++ b/Library/Homebrew/test/os/mac/software_spec_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "software_spec" diff --git a/Library/Homebrew/test/os/mac/version_spec.rb b/Library/Homebrew/test/os/mac/version_spec.rb index 3f332ed5a..efd093857 100644 --- a/Library/Homebrew/test/os/mac/version_spec.rb +++ b/Library/Homebrew/test/os/mac/version_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "version" diff --git a/Library/Homebrew/test/os/mac_spec.rb b/Library/Homebrew/test/os/mac_spec.rb index e3c1aa8cb..d7fff66b2 100644 --- a/Library/Homebrew/test/os/mac_spec.rb +++ b/Library/Homebrew/test/os/mac_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "locale" diff --git a/Library/Homebrew/test/os/os_spec.rb b/Library/Homebrew/test/os/os_spec.rb index 1e671f67a..6d6052581 100644 --- a/Library/Homebrew/test/os/os_spec.rb +++ b/Library/Homebrew/test/os/os_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true describe OS do diff --git a/Library/Homebrew/test/patch_spec.rb b/Library/Homebrew/test/patch_spec.rb index fff1fc48b..1708cd39c 100644 --- a/Library/Homebrew/test/patch_spec.rb +++ b/Library/Homebrew/test/patch_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "patch" diff --git a/Library/Homebrew/test/patching_spec.rb b/Library/Homebrew/test/patching_spec.rb index 737e14067..1259ac7c4 100644 --- a/Library/Homebrew/test/patching_spec.rb +++ b/Library/Homebrew/test/patching_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "formula" diff --git a/Library/Homebrew/test/pathname_spec.rb b/Library/Homebrew/test/pathname_spec.rb index fe1bddbaa..383da9fb7 100644 --- a/Library/Homebrew/test/pathname_spec.rb +++ b/Library/Homebrew/test/pathname_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "extend/pathname" diff --git a/Library/Homebrew/test/pkg_version_spec.rb b/Library/Homebrew/test/pkg_version_spec.rb index ee8bedd61..61344d094 100644 --- a/Library/Homebrew/test/pkg_version_spec.rb +++ b/Library/Homebrew/test/pkg_version_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "pkg_version" diff --git a/Library/Homebrew/test/requirement_spec.rb b/Library/Homebrew/test/requirement_spec.rb index ffcb3a8de..018496b03 100644 --- a/Library/Homebrew/test/requirement_spec.rb +++ b/Library/Homebrew/test/requirement_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "cli/args" diff --git a/Library/Homebrew/test/requirements/codesign_requirement_spec.rb b/Library/Homebrew/test/requirements/codesign_requirement_spec.rb index 483104bce..0f22b9f67 100644 --- a/Library/Homebrew/test/requirements/codesign_requirement_spec.rb +++ b/Library/Homebrew/test/requirements/codesign_requirement_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "requirements/codesign_requirement" diff --git a/Library/Homebrew/test/requirements/java_requirement_spec.rb b/Library/Homebrew/test/requirements/java_requirement_spec.rb index 969532d0c..59e4dcc64 100644 --- a/Library/Homebrew/test/requirements/java_requirement_spec.rb +++ b/Library/Homebrew/test/requirements/java_requirement_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "requirements/java_requirement" diff --git a/Library/Homebrew/test/requirements/linux_requirement_spec.rb b/Library/Homebrew/test/requirements/linux_requirement_spec.rb index f328579fa..78167a4d8 100644 --- a/Library/Homebrew/test/requirements/linux_requirement_spec.rb +++ b/Library/Homebrew/test/requirements/linux_requirement_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "cli/args" diff --git a/Library/Homebrew/test/requirements/macos_requirement_spec.rb b/Library/Homebrew/test/requirements/macos_requirement_spec.rb index b96611126..488f8c1f0 100644 --- a/Library/Homebrew/test/requirements/macos_requirement_spec.rb +++ b/Library/Homebrew/test/requirements/macos_requirement_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "cli/args" diff --git a/Library/Homebrew/test/requirements/osxfuse_requirement_spec.rb b/Library/Homebrew/test/requirements/osxfuse_requirement_spec.rb index 8c38a4588..4b9632a38 100644 --- a/Library/Homebrew/test/requirements/osxfuse_requirement_spec.rb +++ b/Library/Homebrew/test/requirements/osxfuse_requirement_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "cli/args" diff --git a/Library/Homebrew/test/requirements_spec.rb b/Library/Homebrew/test/requirements_spec.rb index f20e7bc9e..ae6bfdc2c 100644 --- a/Library/Homebrew/test/requirements_spec.rb +++ b/Library/Homebrew/test/requirements_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "requirements" diff --git a/Library/Homebrew/test/resource_spec.rb b/Library/Homebrew/test/resource_spec.rb index fd4e59101..260bd9c50 100644 --- a/Library/Homebrew/test/resource_spec.rb +++ b/Library/Homebrew/test/resource_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "resource" diff --git a/Library/Homebrew/test/rubocop_spec.rb b/Library/Homebrew/test/rubocop_spec.rb index a5750a430..83ae2ddf6 100644 --- a/Library/Homebrew/test/rubocop_spec.rb +++ b/Library/Homebrew/test/rubocop_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "open3" diff --git a/Library/Homebrew/test/rubocops/cask/desc_spec.rb b/Library/Homebrew/test/rubocops/cask/desc_spec.rb index d76d37b6c..633db2e1c 100644 --- a/Library/Homebrew/test/rubocops/cask/desc_spec.rb +++ b/Library/Homebrew/test/rubocops/cask/desc_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "rubocops/rubocop-cask" diff --git a/Library/Homebrew/test/rubocops/cask/homepage_matches_url_spec.rb b/Library/Homebrew/test/rubocops/cask/homepage_matches_url_spec.rb index dd175cb4f..4ef084f3e 100644 --- a/Library/Homebrew/test/rubocops/cask/homepage_matches_url_spec.rb +++ b/Library/Homebrew/test/rubocops/cask/homepage_matches_url_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "rubocops/rubocop-cask" diff --git a/Library/Homebrew/test/rubocops/cask/homepage_url_trailing_slash_spec.rb b/Library/Homebrew/test/rubocops/cask/homepage_url_trailing_slash_spec.rb index 81fea8a00..05d98bec5 100644 --- a/Library/Homebrew/test/rubocops/cask/homepage_url_trailing_slash_spec.rb +++ b/Library/Homebrew/test/rubocops/cask/homepage_url_trailing_slash_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "rubocops/rubocop-cask" diff --git a/Library/Homebrew/test/rubocops/cask/no_dsl_version_spec.rb b/Library/Homebrew/test/rubocops/cask/no_dsl_version_spec.rb index 2f6d5747c..a8f1c574e 100644 --- a/Library/Homebrew/test/rubocops/cask/no_dsl_version_spec.rb +++ b/Library/Homebrew/test/rubocops/cask/no_dsl_version_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "rubocops/rubocop-cask" diff --git a/Library/Homebrew/test/rubocops/cask/shared_examples/cask_cop.rb b/Library/Homebrew/test/rubocops/cask/shared_examples/cask_cop.rb index 3a11d6be0..8654a4960 100644 --- a/Library/Homebrew/test/rubocops/cask/shared_examples/cask_cop.rb +++ b/Library/Homebrew/test/rubocops/cask/shared_examples/cask_cop.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true module CaskCop diff --git a/Library/Homebrew/test/rubocops/cask/stanza_grouping_spec.rb b/Library/Homebrew/test/rubocops/cask/stanza_grouping_spec.rb index 21cfb5393..3cce05098 100644 --- a/Library/Homebrew/test/rubocops/cask/stanza_grouping_spec.rb +++ b/Library/Homebrew/test/rubocops/cask/stanza_grouping_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "rubocops/rubocop-cask" diff --git a/Library/Homebrew/test/rubocops/cask/stanza_order_spec.rb b/Library/Homebrew/test/rubocops/cask/stanza_order_spec.rb index c10ef5bf5..0afabf038 100644 --- a/Library/Homebrew/test/rubocops/cask/stanza_order_spec.rb +++ b/Library/Homebrew/test/rubocops/cask/stanza_order_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "rubocops/rubocop-cask" diff --git a/Library/Homebrew/test/rubocops/caveats_spec.rb b/Library/Homebrew/test/rubocops/caveats_spec.rb index a19e8ab8f..a2b76acb8 100644 --- a/Library/Homebrew/test/rubocops/caveats_spec.rb +++ b/Library/Homebrew/test/rubocops/caveats_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "rubocops/caveats" diff --git a/Library/Homebrew/test/rubocops/checksum_spec.rb b/Library/Homebrew/test/rubocops/checksum_spec.rb index 0d3f0e542..460987283 100644 --- a/Library/Homebrew/test/rubocops/checksum_spec.rb +++ b/Library/Homebrew/test/rubocops/checksum_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "rubocops/checksum" diff --git a/Library/Homebrew/test/rubocops/class_spec.rb b/Library/Homebrew/test/rubocops/class_spec.rb index 06a3c9470..1f0c84ab2 100644 --- a/Library/Homebrew/test/rubocops/class_spec.rb +++ b/Library/Homebrew/test/rubocops/class_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "rubocops/class" diff --git a/Library/Homebrew/test/rubocops/components_order_spec.rb b/Library/Homebrew/test/rubocops/components_order_spec.rb index cedab6222..098e78254 100644 --- a/Library/Homebrew/test/rubocops/components_order_spec.rb +++ b/Library/Homebrew/test/rubocops/components_order_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "rubocops/components_order" diff --git a/Library/Homebrew/test/rubocops/components_redundancy_spec.rb b/Library/Homebrew/test/rubocops/components_redundancy_spec.rb index 4eea2dca3..5bb778d29 100644 --- a/Library/Homebrew/test/rubocops/components_redundancy_spec.rb +++ b/Library/Homebrew/test/rubocops/components_redundancy_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "rubocops/components_redundancy" diff --git a/Library/Homebrew/test/rubocops/conflicts_spec.rb b/Library/Homebrew/test/rubocops/conflicts_spec.rb index 6a1a839ce..3d2fe4146 100644 --- a/Library/Homebrew/test/rubocops/conflicts_spec.rb +++ b/Library/Homebrew/test/rubocops/conflicts_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "rubocops/conflicts" diff --git a/Library/Homebrew/test/rubocops/dependency_order_spec.rb b/Library/Homebrew/test/rubocops/dependency_order_spec.rb index 5863686c3..8d5be00c2 100644 --- a/Library/Homebrew/test/rubocops/dependency_order_spec.rb +++ b/Library/Homebrew/test/rubocops/dependency_order_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "rubocops/dependency_order" diff --git a/Library/Homebrew/test/rubocops/deprecate_disable_spec.rb b/Library/Homebrew/test/rubocops/deprecate_disable_spec.rb index 4756a361d..afc1da7e3 100644 --- a/Library/Homebrew/test/rubocops/deprecate_disable_spec.rb +++ b/Library/Homebrew/test/rubocops/deprecate_disable_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "rubocops/deprecate_disable" diff --git a/Library/Homebrew/test/rubocops/files_spec.rb b/Library/Homebrew/test/rubocops/files_spec.rb index 83142a1b5..746b4212b 100644 --- a/Library/Homebrew/test/rubocops/files_spec.rb +++ b/Library/Homebrew/test/rubocops/files_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "rubocops/files" diff --git a/Library/Homebrew/test/rubocops/formula_desc_spec.rb b/Library/Homebrew/test/rubocops/formula_desc_spec.rb index 5d85184ef..47c518537 100644 --- a/Library/Homebrew/test/rubocops/formula_desc_spec.rb +++ b/Library/Homebrew/test/rubocops/formula_desc_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "rubocops/formula_desc" diff --git a/Library/Homebrew/test/rubocops/homepage_spec.rb b/Library/Homebrew/test/rubocops/homepage_spec.rb index fcdc6b9a1..cfabcb092 100644 --- a/Library/Homebrew/test/rubocops/homepage_spec.rb +++ b/Library/Homebrew/test/rubocops/homepage_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "rubocops/homepage" diff --git a/Library/Homebrew/test/rubocops/keg_only_spec.rb b/Library/Homebrew/test/rubocops/keg_only_spec.rb index 2f0af35aa..16bb4c623 100644 --- a/Library/Homebrew/test/rubocops/keg_only_spec.rb +++ b/Library/Homebrew/test/rubocops/keg_only_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "rubocops/keg_only" diff --git a/Library/Homebrew/test/rubocops/lines_spec.rb b/Library/Homebrew/test/rubocops/lines_spec.rb index fa61dd9a6..a5b3cbd69 100644 --- a/Library/Homebrew/test/rubocops/lines_spec.rb +++ b/Library/Homebrew/test/rubocops/lines_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "rubocops/lines" diff --git a/Library/Homebrew/test/rubocops/livecheck_spec.rb b/Library/Homebrew/test/rubocops/livecheck_spec.rb index 5bda3ac2c..33bb7cf2e 100644 --- a/Library/Homebrew/test/rubocops/livecheck_spec.rb +++ b/Library/Homebrew/test/rubocops/livecheck_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "rubocops/livecheck" diff --git a/Library/Homebrew/test/rubocops/options_spec.rb b/Library/Homebrew/test/rubocops/options_spec.rb index 7b8a5823a..e1d998198 100644 --- a/Library/Homebrew/test/rubocops/options_spec.rb +++ b/Library/Homebrew/test/rubocops/options_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "rubocops/options" diff --git a/Library/Homebrew/test/rubocops/patches_spec.rb b/Library/Homebrew/test/rubocops/patches_spec.rb index f1bbc3d37..41d24cc51 100644 --- a/Library/Homebrew/test/rubocops/patches_spec.rb +++ b/Library/Homebrew/test/rubocops/patches_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "rubocops/patches" diff --git a/Library/Homebrew/test/rubocops/text_spec.rb b/Library/Homebrew/test/rubocops/text_spec.rb index 3960272db..c308451b1 100644 --- a/Library/Homebrew/test/rubocops/text_spec.rb +++ b/Library/Homebrew/test/rubocops/text_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "rubocops/text" diff --git a/Library/Homebrew/test/rubocops/urls_spec.rb b/Library/Homebrew/test/rubocops/urls_spec.rb index e36f40493..0be3154ee 100644 --- a/Library/Homebrew/test/rubocops/urls_spec.rb +++ b/Library/Homebrew/test/rubocops/urls_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "rubocops/urls" diff --git a/Library/Homebrew/test/rubocops/uses_from_macos_spec.rb b/Library/Homebrew/test/rubocops/uses_from_macos_spec.rb index d74cb57d2..6a1280050 100644 --- a/Library/Homebrew/test/rubocops/uses_from_macos_spec.rb +++ b/Library/Homebrew/test/rubocops/uses_from_macos_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "rubocops/uses_from_macos" diff --git a/Library/Homebrew/test/rubocops/version_spec.rb b/Library/Homebrew/test/rubocops/version_spec.rb index 45ac7ecf1..cf36fea01 100644 --- a/Library/Homebrew/test/rubocops/version_spec.rb +++ b/Library/Homebrew/test/rubocops/version_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "rubocops/version" diff --git a/Library/Homebrew/test/sandbox_spec.rb b/Library/Homebrew/test/sandbox_spec.rb index f3b323eaf..10f4abde6 100644 --- a/Library/Homebrew/test/sandbox_spec.rb +++ b/Library/Homebrew/test/sandbox_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "sandbox" diff --git a/Library/Homebrew/test/search_spec.rb b/Library/Homebrew/test/search_spec.rb index 0f3bfbe6a..84377c475 100644 --- a/Library/Homebrew/test/search_spec.rb +++ b/Library/Homebrew/test/search_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "search" diff --git a/Library/Homebrew/test/searchable_spec.rb b/Library/Homebrew/test/searchable_spec.rb index 6fdb4557d..f7e059ffb 100644 --- a/Library/Homebrew/test/searchable_spec.rb +++ b/Library/Homebrew/test/searchable_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "searchable" diff --git a/Library/Homebrew/test/software_spec_spec.rb b/Library/Homebrew/test/software_spec_spec.rb index 34278b48e..965fca8cf 100644 --- a/Library/Homebrew/test/software_spec_spec.rb +++ b/Library/Homebrew/test/software_spec_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "software_spec" diff --git a/Library/Homebrew/test/spec_helper.rb b/Library/Homebrew/test/spec_helper.rb index 406ffc756..dabc1816d 100644 --- a/Library/Homebrew/test/spec_helper.rb +++ b/Library/Homebrew/test/spec_helper.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true if ENV["HOMEBREW_TESTS_COVERAGE"] diff --git a/Library/Homebrew/test/string_spec.rb b/Library/Homebrew/test/string_spec.rb index 646d53765..0442c620a 100644 --- a/Library/Homebrew/test/string_spec.rb +++ b/Library/Homebrew/test/string_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "extend/string" diff --git a/Library/Homebrew/test/style_spec.rb b/Library/Homebrew/test/style_spec.rb index abe5e23b8..d187cbc19 100644 --- a/Library/Homebrew/test/style_spec.rb +++ b/Library/Homebrew/test/style_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "style" diff --git a/Library/Homebrew/test/support/fixtures/failball.rb b/Library/Homebrew/test/support/fixtures/failball.rb index 5ba1692ef..e4a15344b 100644 --- a/Library/Homebrew/test/support/fixtures/failball.rb +++ b/Library/Homebrew/test/support/fixtures/failball.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true class Failball < Formula diff --git a/Library/Homebrew/test/support/fixtures/testball.rb b/Library/Homebrew/test/support/fixtures/testball.rb index 27ff8dafc..1a99de291 100644 --- a/Library/Homebrew/test/support/fixtures/testball.rb +++ b/Library/Homebrew/test/support/fixtures/testball.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true class Testball < Formula diff --git a/Library/Homebrew/test/support/fixtures/testball_bottle.rb b/Library/Homebrew/test/support/fixtures/testball_bottle.rb index 76d8d7e7c..d3f159eaf 100644 --- a/Library/Homebrew/test/support/fixtures/testball_bottle.rb +++ b/Library/Homebrew/test/support/fixtures/testball_bottle.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true class TestballBottle < Formula diff --git a/Library/Homebrew/test/support/github_formatter.rb b/Library/Homebrew/test/support/github_formatter.rb index 7010a4d93..6f019f9ba 100644 --- a/Library/Homebrew/test/support/github_formatter.rb +++ b/Library/Homebrew/test/support/github_formatter.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "rspec/core" diff --git a/Library/Homebrew/test/support/helper/cask.rb b/Library/Homebrew/test/support/helper/cask.rb index 940e80a4f..6dd863daa 100644 --- a/Library/Homebrew/test/support/helper/cask.rb +++ b/Library/Homebrew/test/support/helper/cask.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "cask/cask_loader" diff --git a/Library/Homebrew/test/support/helper/cask/fake_system_command.rb b/Library/Homebrew/test/support/helper/cask/fake_system_command.rb index 47080e641..2587e7bc5 100644 --- a/Library/Homebrew/test/support/helper/cask/fake_system_command.rb +++ b/Library/Homebrew/test/support/helper/cask/fake_system_command.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true def sudo(*args) diff --git a/Library/Homebrew/test/support/helper/cask/install_helper.rb b/Library/Homebrew/test/support/helper/cask/install_helper.rb index 19ef9594e..18c083059 100644 --- a/Library/Homebrew/test/support/helper/cask/install_helper.rb +++ b/Library/Homebrew/test/support/helper/cask/install_helper.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "cask/installer" diff --git a/Library/Homebrew/test/support/helper/cask/never_sudo_system_command.rb b/Library/Homebrew/test/support/helper/cask/never_sudo_system_command.rb index be2570a0c..b5859c174 100644 --- a/Library/Homebrew/test/support/helper/cask/never_sudo_system_command.rb +++ b/Library/Homebrew/test/support/helper/cask/never_sudo_system_command.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "system_command" diff --git a/Library/Homebrew/test/support/helper/cmd/brew-verify-formula-undefined.rb b/Library/Homebrew/test/support/helper/cmd/brew-verify-formula-undefined.rb index 8be3998c1..eaa659e8a 100755 --- a/Library/Homebrew/test/support/helper/cmd/brew-verify-formula-undefined.rb +++ b/Library/Homebrew/test/support/helper/cmd/brew-verify-formula-undefined.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "cli/parser" diff --git a/Library/Homebrew/test/support/helper/fixtures.rb b/Library/Homebrew/test/support/helper/fixtures.rb index fc5cf48c8..2dd4b4c65 100644 --- a/Library/Homebrew/test/support/helper/fixtures.rb +++ b/Library/Homebrew/test/support/helper/fixtures.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true module Test diff --git a/Library/Homebrew/test/support/helper/formula.rb b/Library/Homebrew/test/support/helper/formula.rb index caf4a1c73..256ef05e5 100644 --- a/Library/Homebrew/test/support/helper/formula.rb +++ b/Library/Homebrew/test/support/helper/formula.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "formulary" diff --git a/Library/Homebrew/test/support/helper/integration_mocks.rb b/Library/Homebrew/test/support/helper/integration_mocks.rb index 2e4ec4b26..245a2aef0 100644 --- a/Library/Homebrew/test/support/helper/integration_mocks.rb +++ b/Library/Homebrew/test/support/helper/integration_mocks.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true module Homebrew diff --git a/Library/Homebrew/test/support/helper/mktmpdir.rb b/Library/Homebrew/test/support/helper/mktmpdir.rb index 6cb369c41..f6cc4282c 100644 --- a/Library/Homebrew/test/support/helper/mktmpdir.rb +++ b/Library/Homebrew/test/support/helper/mktmpdir.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true module Test diff --git a/Library/Homebrew/test/support/helper/output_as_tty.rb b/Library/Homebrew/test/support/helper/output_as_tty.rb index ca7f4ca66..24b25fd89 100644 --- a/Library/Homebrew/test/support/helper/output_as_tty.rb +++ b/Library/Homebrew/test/support/helper/output_as_tty.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "delegate" diff --git a/Library/Homebrew/test/support/helper/spec/shared_context/homebrew_cask.rb b/Library/Homebrew/test/support/helper/spec/shared_context/homebrew_cask.rb index db6836796..760bd8014 100644 --- a/Library/Homebrew/test/support/helper/spec/shared_context/homebrew_cask.rb +++ b/Library/Homebrew/test/support/helper/spec/shared_context/homebrew_cask.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "cask/config" 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 aeebb8c14..3d18361e9 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 @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "open3" diff --git a/Library/Homebrew/test/support/helper/spec/shared_examples/formulae_exist.rb b/Library/Homebrew/test/support/helper/spec/shared_examples/formulae_exist.rb index b00565797..e52610016 100644 --- a/Library/Homebrew/test/support/helper/spec/shared_examples/formulae_exist.rb +++ b/Library/Homebrew/test/support/helper/spec/shared_examples/formulae_exist.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true shared_examples "formulae exist" do |array| diff --git a/Library/Homebrew/test/support/lib/config.rb b/Library/Homebrew/test/support/lib/config.rb index a9c6769f7..b68490628 100644 --- a/Library/Homebrew/test/support/lib/config.rb +++ b/Library/Homebrew/test/support/lib/config.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true raise "HOMEBREW_BREW_FILE was not exported! Please call bin/brew directly!" unless ENV["HOMEBREW_BREW_FILE"] diff --git a/Library/Homebrew/test/support/no_seed_progress_formatter.rb b/Library/Homebrew/test/support/no_seed_progress_formatter.rb index d6199bd9a..493883e8b 100644 --- a/Library/Homebrew/test/support/no_seed_progress_formatter.rb +++ b/Library/Homebrew/test/support/no_seed_progress_formatter.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "rspec/core/formatters/progress_formatter" diff --git a/Library/Homebrew/test/system_command_result_spec.rb b/Library/Homebrew/test/system_command_result_spec.rb index bc48fcdd7..8d37dbf57 100644 --- a/Library/Homebrew/test/system_command_result_spec.rb +++ b/Library/Homebrew/test/system_command_result_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "system_command" diff --git a/Library/Homebrew/test/system_command_spec.rb b/Library/Homebrew/test/system_command_spec.rb index 5c5506eec..fef1692de 100644 --- a/Library/Homebrew/test/system_command_spec.rb +++ b/Library/Homebrew/test/system_command_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true describe SystemCommand do diff --git a/Library/Homebrew/test/tab_spec.rb b/Library/Homebrew/test/tab_spec.rb index b4005db52..355a1c183 100644 --- a/Library/Homebrew/test/tab_spec.rb +++ b/Library/Homebrew/test/tab_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "tab" diff --git a/Library/Homebrew/test/tap_spec.rb b/Library/Homebrew/test/tap_spec.rb index d4263d126..78db92667 100644 --- a/Library/Homebrew/test/tap_spec.rb +++ b/Library/Homebrew/test/tap_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true describe Tap do diff --git a/Library/Homebrew/test/unpack_strategy/bazaar_spec.rb b/Library/Homebrew/test/unpack_strategy/bazaar_spec.rb index 434a76a94..0db95af39 100644 --- a/Library/Homebrew/test/unpack_strategy/bazaar_spec.rb +++ b/Library/Homebrew/test/unpack_strategy/bazaar_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require_relative "shared_examples" diff --git a/Library/Homebrew/test/unpack_strategy/bzip2_spec.rb b/Library/Homebrew/test/unpack_strategy/bzip2_spec.rb index a81f15bab..126985010 100644 --- a/Library/Homebrew/test/unpack_strategy/bzip2_spec.rb +++ b/Library/Homebrew/test/unpack_strategy/bzip2_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require_relative "shared_examples" diff --git a/Library/Homebrew/test/unpack_strategy/cvs_spec.rb b/Library/Homebrew/test/unpack_strategy/cvs_spec.rb index 8eebf17da..2b9ebaa58 100644 --- a/Library/Homebrew/test/unpack_strategy/cvs_spec.rb +++ b/Library/Homebrew/test/unpack_strategy/cvs_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require_relative "shared_examples" diff --git a/Library/Homebrew/test/unpack_strategy/directory_spec.rb b/Library/Homebrew/test/unpack_strategy/directory_spec.rb index dc321a464..ae12a3770 100644 --- a/Library/Homebrew/test/unpack_strategy/directory_spec.rb +++ b/Library/Homebrew/test/unpack_strategy/directory_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require_relative "shared_examples" diff --git a/Library/Homebrew/test/unpack_strategy/dmg_spec.rb b/Library/Homebrew/test/unpack_strategy/dmg_spec.rb index 8a3594f14..7b30d119c 100644 --- a/Library/Homebrew/test/unpack_strategy/dmg_spec.rb +++ b/Library/Homebrew/test/unpack_strategy/dmg_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require_relative "shared_examples" diff --git a/Library/Homebrew/test/unpack_strategy/git_spec.rb b/Library/Homebrew/test/unpack_strategy/git_spec.rb index 738146a78..b3831b731 100644 --- a/Library/Homebrew/test/unpack_strategy/git_spec.rb +++ b/Library/Homebrew/test/unpack_strategy/git_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require_relative "shared_examples" diff --git a/Library/Homebrew/test/unpack_strategy/gzip_spec.rb b/Library/Homebrew/test/unpack_strategy/gzip_spec.rb index ebf4a493b..0f85ad24d 100644 --- a/Library/Homebrew/test/unpack_strategy/gzip_spec.rb +++ b/Library/Homebrew/test/unpack_strategy/gzip_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require_relative "shared_examples" diff --git a/Library/Homebrew/test/unpack_strategy/jar_spec.rb b/Library/Homebrew/test/unpack_strategy/jar_spec.rb index f6da64b97..042f9bf01 100644 --- a/Library/Homebrew/test/unpack_strategy/jar_spec.rb +++ b/Library/Homebrew/test/unpack_strategy/jar_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require_relative "shared_examples" diff --git a/Library/Homebrew/test/unpack_strategy/lha_spec.rb b/Library/Homebrew/test/unpack_strategy/lha_spec.rb index e24a60a65..18921910b 100644 --- a/Library/Homebrew/test/unpack_strategy/lha_spec.rb +++ b/Library/Homebrew/test/unpack_strategy/lha_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require_relative "shared_examples" diff --git a/Library/Homebrew/test/unpack_strategy/lzip_spec.rb b/Library/Homebrew/test/unpack_strategy/lzip_spec.rb index a74b68add..cd4932c91 100644 --- a/Library/Homebrew/test/unpack_strategy/lzip_spec.rb +++ b/Library/Homebrew/test/unpack_strategy/lzip_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require_relative "shared_examples" diff --git a/Library/Homebrew/test/unpack_strategy/mercurial_spec.rb b/Library/Homebrew/test/unpack_strategy/mercurial_spec.rb index 76a28e27b..c29066ff7 100644 --- a/Library/Homebrew/test/unpack_strategy/mercurial_spec.rb +++ b/Library/Homebrew/test/unpack_strategy/mercurial_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require_relative "shared_examples" diff --git a/Library/Homebrew/test/unpack_strategy/p7zip_spec.rb b/Library/Homebrew/test/unpack_strategy/p7zip_spec.rb index c612b13f0..09386a177 100644 --- a/Library/Homebrew/test/unpack_strategy/p7zip_spec.rb +++ b/Library/Homebrew/test/unpack_strategy/p7zip_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require_relative "shared_examples" diff --git a/Library/Homebrew/test/unpack_strategy/rar_spec.rb b/Library/Homebrew/test/unpack_strategy/rar_spec.rb index 5e5e59333..9ddea401f 100644 --- a/Library/Homebrew/test/unpack_strategy/rar_spec.rb +++ b/Library/Homebrew/test/unpack_strategy/rar_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require_relative "shared_examples" diff --git a/Library/Homebrew/test/unpack_strategy/shared_examples.rb b/Library/Homebrew/test/unpack_strategy/shared_examples.rb index 6f3caa475..3c034d008 100644 --- a/Library/Homebrew/test/unpack_strategy/shared_examples.rb +++ b/Library/Homebrew/test/unpack_strategy/shared_examples.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "unpack_strategy" diff --git a/Library/Homebrew/test/unpack_strategy/subversion_spec.rb b/Library/Homebrew/test/unpack_strategy/subversion_spec.rb index 78795f94c..d1baca44b 100644 --- a/Library/Homebrew/test/unpack_strategy/subversion_spec.rb +++ b/Library/Homebrew/test/unpack_strategy/subversion_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require_relative "shared_examples" diff --git a/Library/Homebrew/test/unpack_strategy/tar_spec.rb b/Library/Homebrew/test/unpack_strategy/tar_spec.rb index ae11929b3..078762a12 100644 --- a/Library/Homebrew/test/unpack_strategy/tar_spec.rb +++ b/Library/Homebrew/test/unpack_strategy/tar_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require_relative "shared_examples" diff --git a/Library/Homebrew/test/unpack_strategy/uncompressed_spec.rb b/Library/Homebrew/test/unpack_strategy/uncompressed_spec.rb index 8e8c5d923..857ac134e 100644 --- a/Library/Homebrew/test/unpack_strategy/uncompressed_spec.rb +++ b/Library/Homebrew/test/unpack_strategy/uncompressed_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require_relative "shared_examples" diff --git a/Library/Homebrew/test/unpack_strategy/xar_spec.rb b/Library/Homebrew/test/unpack_strategy/xar_spec.rb index f4f11389d..28870a2d7 100644 --- a/Library/Homebrew/test/unpack_strategy/xar_spec.rb +++ b/Library/Homebrew/test/unpack_strategy/xar_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require_relative "shared_examples" diff --git a/Library/Homebrew/test/unpack_strategy/xz_spec.rb b/Library/Homebrew/test/unpack_strategy/xz_spec.rb index ffc41369a..f6befa95a 100644 --- a/Library/Homebrew/test/unpack_strategy/xz_spec.rb +++ b/Library/Homebrew/test/unpack_strategy/xz_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require_relative "shared_examples" diff --git a/Library/Homebrew/test/unpack_strategy/zip_spec.rb b/Library/Homebrew/test/unpack_strategy/zip_spec.rb index c579fff51..dd27c5de4 100644 --- a/Library/Homebrew/test/unpack_strategy/zip_spec.rb +++ b/Library/Homebrew/test/unpack_strategy/zip_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require_relative "shared_examples" diff --git a/Library/Homebrew/test/unpack_strategy_spec.rb b/Library/Homebrew/test/unpack_strategy_spec.rb index bfcbc2421..055fe3c96 100644 --- a/Library/Homebrew/test/unpack_strategy_spec.rb +++ b/Library/Homebrew/test/unpack_strategy_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true describe UnpackStrategy do diff --git a/Library/Homebrew/test/utils/analytics_spec.rb b/Library/Homebrew/test/utils/analytics_spec.rb index cca36c836..588c35d3b 100644 --- a/Library/Homebrew/test/utils/analytics_spec.rb +++ b/Library/Homebrew/test/utils/analytics_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "utils/analytics" diff --git a/Library/Homebrew/test/utils/bottles/bintray_spec.rb b/Library/Homebrew/test/utils/bottles/bintray_spec.rb index 87a9a7c7e..eb9605833 100644 --- a/Library/Homebrew/test/utils/bottles/bintray_spec.rb +++ b/Library/Homebrew/test/utils/bottles/bintray_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "utils/bottles" diff --git a/Library/Homebrew/test/utils/bottles/bottles_spec.rb b/Library/Homebrew/test/utils/bottles/bottles_spec.rb index 897bbb57f..d3eacd60b 100644 --- a/Library/Homebrew/test/utils/bottles/bottles_spec.rb +++ b/Library/Homebrew/test/utils/bottles/bottles_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "utils/bottles" diff --git a/Library/Homebrew/test/utils/bottles/collector_spec.rb b/Library/Homebrew/test/utils/bottles/collector_spec.rb index f83ca75ea..3314db26d 100644 --- a/Library/Homebrew/test/utils/bottles/collector_spec.rb +++ b/Library/Homebrew/test/utils/bottles/collector_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "utils/bottles" diff --git a/Library/Homebrew/test/utils/curl_spec.rb b/Library/Homebrew/test/utils/curl_spec.rb index 544e57bc1..af153426b 100644 --- a/Library/Homebrew/test/utils/curl_spec.rb +++ b/Library/Homebrew/test/utils/curl_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "utils/curl" diff --git a/Library/Homebrew/test/utils/fork_spec.rb b/Library/Homebrew/test/utils/fork_spec.rb index fa1d27fb3..330ffbeba 100644 --- a/Library/Homebrew/test/utils/fork_spec.rb +++ b/Library/Homebrew/test/utils/fork_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "utils/fork" diff --git a/Library/Homebrew/test/utils/git_spec.rb b/Library/Homebrew/test/utils/git_spec.rb index f03f61437..0ec931091 100644 --- a/Library/Homebrew/test/utils/git_spec.rb +++ b/Library/Homebrew/test/utils/git_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "utils/git" diff --git a/Library/Homebrew/test/utils/github/actions_spec.rb b/Library/Homebrew/test/utils/github/actions_spec.rb index 1951d5e56..290e0f855 100644 --- a/Library/Homebrew/test/utils/github/actions_spec.rb +++ b/Library/Homebrew/test/utils/github/actions_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "utils/github/actions" diff --git a/Library/Homebrew/test/utils/github_spec.rb b/Library/Homebrew/test/utils/github_spec.rb index 6c7739ff7..4e785e7da 100644 --- a/Library/Homebrew/test/utils/github_spec.rb +++ b/Library/Homebrew/test/utils/github_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "utils/github" diff --git a/Library/Homebrew/test/utils/livecheck_formula_spec.rb b/Library/Homebrew/test/utils/livecheck_formula_spec.rb index 41ffe7113..7f8495b34 100644 --- a/Library/Homebrew/test/utils/livecheck_formula_spec.rb +++ b/Library/Homebrew/test/utils/livecheck_formula_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "utils/livecheck_formula" diff --git a/Library/Homebrew/test/utils/popen_spec.rb b/Library/Homebrew/test/utils/popen_spec.rb index dcce91d8b..7ea5474e7 100644 --- a/Library/Homebrew/test/utils/popen_spec.rb +++ b/Library/Homebrew/test/utils/popen_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "utils/popen" diff --git a/Library/Homebrew/test/utils/repology_spec.rb b/Library/Homebrew/test/utils/repology_spec.rb index d2fa37b05..acacade36 100644 --- a/Library/Homebrew/test/utils/repology_spec.rb +++ b/Library/Homebrew/test/utils/repology_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "utils/repology" diff --git a/Library/Homebrew/test/utils/shell_spec.rb b/Library/Homebrew/test/utils/shell_spec.rb index d4844080b..61c24e745 100644 --- a/Library/Homebrew/test/utils/shell_spec.rb +++ b/Library/Homebrew/test/utils/shell_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "utils/shell" diff --git a/Library/Homebrew/test/utils/spdx_spec.rb b/Library/Homebrew/test/utils/spdx_spec.rb index 01c02171d..5530a27b4 100644 --- a/Library/Homebrew/test/utils/spdx_spec.rb +++ b/Library/Homebrew/test/utils/spdx_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "utils/spdx" diff --git a/Library/Homebrew/test/utils/svn_spec.rb b/Library/Homebrew/test/utils/svn_spec.rb index da6ec91ec..f4ec8b7f3 100644 --- a/Library/Homebrew/test/utils/svn_spec.rb +++ b/Library/Homebrew/test/utils/svn_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "utils/svn" diff --git a/Library/Homebrew/test/utils/tar_spec.rb b/Library/Homebrew/test/utils/tar_spec.rb index b3569cad8..0b7ff0ee5 100644 --- a/Library/Homebrew/test/utils/tar_spec.rb +++ b/Library/Homebrew/test/utils/tar_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "utils/tar" diff --git a/Library/Homebrew/test/utils/tty_spec.rb b/Library/Homebrew/test/utils/tty_spec.rb index 32b259e2b..6f728041f 100644 --- a/Library/Homebrew/test/utils/tty_spec.rb +++ b/Library/Homebrew/test/utils/tty_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true describe Tty do diff --git a/Library/Homebrew/test/utils/user_spec.rb b/Library/Homebrew/test/utils/user_spec.rb index c26862dc4..53c708925 100644 --- a/Library/Homebrew/test/utils/user_spec.rb +++ b/Library/Homebrew/test/utils/user_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "utils/user" diff --git a/Library/Homebrew/test/utils_spec.rb b/Library/Homebrew/test/utils_spec.rb index 977852b6b..efaf32660 100644 --- a/Library/Homebrew/test/utils_spec.rb +++ b/Library/Homebrew/test/utils_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true describe "globally-scoped helper methods" do diff --git a/Library/Homebrew/test/version_spec.rb b/Library/Homebrew/test/version_spec.rb index 04f4cdf3b..ab18e0c64 100644 --- a/Library/Homebrew/test/version_spec.rb +++ b/Library/Homebrew/test/version_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "version" diff --git a/Library/Homebrew/test/x11_requirement_spec.rb b/Library/Homebrew/test/x11_requirement_spec.rb index 436e0c15e..4076f1a55 100644 --- a/Library/Homebrew/test/x11_requirement_spec.rb +++ b/Library/Homebrew/test/x11_requirement_spec.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "cli/args" diff --git a/Library/Homebrew/unpack_strategy.rb b/Library/Homebrew/unpack_strategy.rb index 9540b4029..f76069f3b 100644 --- a/Library/Homebrew/unpack_strategy.rb +++ b/Library/Homebrew/unpack_strategy.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true # Module containing all available strategies for unpacking archives. diff --git a/Library/Homebrew/unpack_strategy/air.rb b/Library/Homebrew/unpack_strategy/air.rb index 47a2a7f6b..8d6e73cd1 100644 --- a/Library/Homebrew/unpack_strategy/air.rb +++ b/Library/Homebrew/unpack_strategy/air.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true module UnpackStrategy diff --git a/Library/Homebrew/unpack_strategy/bazaar.rb b/Library/Homebrew/unpack_strategy/bazaar.rb index 3bb3c4d6b..f50957a12 100644 --- a/Library/Homebrew/unpack_strategy/bazaar.rb +++ b/Library/Homebrew/unpack_strategy/bazaar.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require_relative "directory" diff --git a/Library/Homebrew/unpack_strategy/bzip2.rb b/Library/Homebrew/unpack_strategy/bzip2.rb index 9eff311a8..79d25aaa5 100644 --- a/Library/Homebrew/unpack_strategy/bzip2.rb +++ b/Library/Homebrew/unpack_strategy/bzip2.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true module UnpackStrategy diff --git a/Library/Homebrew/unpack_strategy/cab.rb b/Library/Homebrew/unpack_strategy/cab.rb index f36fa1f58..00b083128 100644 --- a/Library/Homebrew/unpack_strategy/cab.rb +++ b/Library/Homebrew/unpack_strategy/cab.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true module UnpackStrategy diff --git a/Library/Homebrew/unpack_strategy/compress.rb b/Library/Homebrew/unpack_strategy/compress.rb index 668272df8..8e83fa057 100644 --- a/Library/Homebrew/unpack_strategy/compress.rb +++ b/Library/Homebrew/unpack_strategy/compress.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require_relative "tar" diff --git a/Library/Homebrew/unpack_strategy/cvs.rb b/Library/Homebrew/unpack_strategy/cvs.rb index 36e4d506e..66c2f17f8 100644 --- a/Library/Homebrew/unpack_strategy/cvs.rb +++ b/Library/Homebrew/unpack_strategy/cvs.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require_relative "directory" diff --git a/Library/Homebrew/unpack_strategy/directory.rb b/Library/Homebrew/unpack_strategy/directory.rb index 06d8dd988..0e8c68b59 100644 --- a/Library/Homebrew/unpack_strategy/directory.rb +++ b/Library/Homebrew/unpack_strategy/directory.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true module UnpackStrategy diff --git a/Library/Homebrew/unpack_strategy/dmg.rb b/Library/Homebrew/unpack_strategy/dmg.rb index 234dd802b..1d2e8de5c 100644 --- a/Library/Homebrew/unpack_strategy/dmg.rb +++ b/Library/Homebrew/unpack_strategy/dmg.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "tempfile" diff --git a/Library/Homebrew/unpack_strategy/executable.rb b/Library/Homebrew/unpack_strategy/executable.rb index 57e99908f..a592cce52 100644 --- a/Library/Homebrew/unpack_strategy/executable.rb +++ b/Library/Homebrew/unpack_strategy/executable.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require_relative "uncompressed" diff --git a/Library/Homebrew/unpack_strategy/fossil.rb b/Library/Homebrew/unpack_strategy/fossil.rb index ea7f2216b..c8f165fdd 100644 --- a/Library/Homebrew/unpack_strategy/fossil.rb +++ b/Library/Homebrew/unpack_strategy/fossil.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true module UnpackStrategy diff --git a/Library/Homebrew/unpack_strategy/generic_unar.rb b/Library/Homebrew/unpack_strategy/generic_unar.rb index 545814174..7b0a0a53b 100644 --- a/Library/Homebrew/unpack_strategy/generic_unar.rb +++ b/Library/Homebrew/unpack_strategy/generic_unar.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true module UnpackStrategy diff --git a/Library/Homebrew/unpack_strategy/git.rb b/Library/Homebrew/unpack_strategy/git.rb index c704f13a4..23257c050 100644 --- a/Library/Homebrew/unpack_strategy/git.rb +++ b/Library/Homebrew/unpack_strategy/git.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require_relative "directory" diff --git a/Library/Homebrew/unpack_strategy/gzip.rb b/Library/Homebrew/unpack_strategy/gzip.rb index 8f576788d..4797fbaa2 100644 --- a/Library/Homebrew/unpack_strategy/gzip.rb +++ b/Library/Homebrew/unpack_strategy/gzip.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true module UnpackStrategy diff --git a/Library/Homebrew/unpack_strategy/jar.rb b/Library/Homebrew/unpack_strategy/jar.rb index 8fc3a7047..ee05a876a 100644 --- a/Library/Homebrew/unpack_strategy/jar.rb +++ b/Library/Homebrew/unpack_strategy/jar.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require_relative "uncompressed" diff --git a/Library/Homebrew/unpack_strategy/lha.rb b/Library/Homebrew/unpack_strategy/lha.rb index d3bfcaf87..70c3e5f70 100644 --- a/Library/Homebrew/unpack_strategy/lha.rb +++ b/Library/Homebrew/unpack_strategy/lha.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true module UnpackStrategy diff --git a/Library/Homebrew/unpack_strategy/lua_rock.rb b/Library/Homebrew/unpack_strategy/lua_rock.rb index 8517b140e..1336b856d 100644 --- a/Library/Homebrew/unpack_strategy/lua_rock.rb +++ b/Library/Homebrew/unpack_strategy/lua_rock.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require_relative "uncompressed" diff --git a/Library/Homebrew/unpack_strategy/lzip.rb b/Library/Homebrew/unpack_strategy/lzip.rb index 687917cea..a27663e4d 100644 --- a/Library/Homebrew/unpack_strategy/lzip.rb +++ b/Library/Homebrew/unpack_strategy/lzip.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true module UnpackStrategy diff --git a/Library/Homebrew/unpack_strategy/lzma.rb b/Library/Homebrew/unpack_strategy/lzma.rb index 006fcfb74..e14de8e99 100644 --- a/Library/Homebrew/unpack_strategy/lzma.rb +++ b/Library/Homebrew/unpack_strategy/lzma.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true module UnpackStrategy diff --git a/Library/Homebrew/unpack_strategy/mercurial.rb b/Library/Homebrew/unpack_strategy/mercurial.rb index 7e0d3b64d..4538c8e8d 100644 --- a/Library/Homebrew/unpack_strategy/mercurial.rb +++ b/Library/Homebrew/unpack_strategy/mercurial.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require_relative "directory" diff --git a/Library/Homebrew/unpack_strategy/microsoft_office_xml.rb b/Library/Homebrew/unpack_strategy/microsoft_office_xml.rb index 8c3463be0..5d97e6f22 100644 --- a/Library/Homebrew/unpack_strategy/microsoft_office_xml.rb +++ b/Library/Homebrew/unpack_strategy/microsoft_office_xml.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require_relative "uncompressed" diff --git a/Library/Homebrew/unpack_strategy/otf.rb b/Library/Homebrew/unpack_strategy/otf.rb index 17b55ed7a..1a0538d94 100644 --- a/Library/Homebrew/unpack_strategy/otf.rb +++ b/Library/Homebrew/unpack_strategy/otf.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require_relative "uncompressed" diff --git a/Library/Homebrew/unpack_strategy/p7zip.rb b/Library/Homebrew/unpack_strategy/p7zip.rb index df7793319..5aca009f5 100644 --- a/Library/Homebrew/unpack_strategy/p7zip.rb +++ b/Library/Homebrew/unpack_strategy/p7zip.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true module UnpackStrategy diff --git a/Library/Homebrew/unpack_strategy/pax.rb b/Library/Homebrew/unpack_strategy/pax.rb index 89138e577..e914d41ba 100644 --- a/Library/Homebrew/unpack_strategy/pax.rb +++ b/Library/Homebrew/unpack_strategy/pax.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true module UnpackStrategy diff --git a/Library/Homebrew/unpack_strategy/pkg.rb b/Library/Homebrew/unpack_strategy/pkg.rb index 8dad4a443..20bf5057e 100644 --- a/Library/Homebrew/unpack_strategy/pkg.rb +++ b/Library/Homebrew/unpack_strategy/pkg.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require_relative "uncompressed" diff --git a/Library/Homebrew/unpack_strategy/rar.rb b/Library/Homebrew/unpack_strategy/rar.rb index 5863b0742..71e2dd66a 100644 --- a/Library/Homebrew/unpack_strategy/rar.rb +++ b/Library/Homebrew/unpack_strategy/rar.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true module UnpackStrategy diff --git a/Library/Homebrew/unpack_strategy/self_extracting_executable.rb b/Library/Homebrew/unpack_strategy/self_extracting_executable.rb index 9de9120b0..c74166d77 100644 --- a/Library/Homebrew/unpack_strategy/self_extracting_executable.rb +++ b/Library/Homebrew/unpack_strategy/self_extracting_executable.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require_relative "generic_unar" diff --git a/Library/Homebrew/unpack_strategy/sit.rb b/Library/Homebrew/unpack_strategy/sit.rb index 5ec16b48a..5fabbbbfc 100644 --- a/Library/Homebrew/unpack_strategy/sit.rb +++ b/Library/Homebrew/unpack_strategy/sit.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require_relative "generic_unar" diff --git a/Library/Homebrew/unpack_strategy/subversion.rb b/Library/Homebrew/unpack_strategy/subversion.rb index 0c90b3660..dd3355825 100644 --- a/Library/Homebrew/unpack_strategy/subversion.rb +++ b/Library/Homebrew/unpack_strategy/subversion.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require_relative "directory" diff --git a/Library/Homebrew/unpack_strategy/tar.rb b/Library/Homebrew/unpack_strategy/tar.rb index 25c30973d..7e7b407bc 100644 --- a/Library/Homebrew/unpack_strategy/tar.rb +++ b/Library/Homebrew/unpack_strategy/tar.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true module UnpackStrategy diff --git a/Library/Homebrew/unpack_strategy/ttf.rb b/Library/Homebrew/unpack_strategy/ttf.rb index 54c6a6bd8..b45755a42 100644 --- a/Library/Homebrew/unpack_strategy/ttf.rb +++ b/Library/Homebrew/unpack_strategy/ttf.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require_relative "uncompressed" diff --git a/Library/Homebrew/unpack_strategy/uncompressed.rb b/Library/Homebrew/unpack_strategy/uncompressed.rb index ea7f943a2..1c869d998 100644 --- a/Library/Homebrew/unpack_strategy/uncompressed.rb +++ b/Library/Homebrew/unpack_strategy/uncompressed.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true module UnpackStrategy diff --git a/Library/Homebrew/unpack_strategy/xar.rb b/Library/Homebrew/unpack_strategy/xar.rb index 69422eb66..2f5f4794a 100644 --- a/Library/Homebrew/unpack_strategy/xar.rb +++ b/Library/Homebrew/unpack_strategy/xar.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true module UnpackStrategy diff --git a/Library/Homebrew/unpack_strategy/xz.rb b/Library/Homebrew/unpack_strategy/xz.rb index 29ac0c182..86f50d2a3 100644 --- a/Library/Homebrew/unpack_strategy/xz.rb +++ b/Library/Homebrew/unpack_strategy/xz.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true module UnpackStrategy diff --git a/Library/Homebrew/unpack_strategy/zip.rb b/Library/Homebrew/unpack_strategy/zip.rb index e58e556c7..09db337f8 100644 --- a/Library/Homebrew/unpack_strategy/zip.rb +++ b/Library/Homebrew/unpack_strategy/zip.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true module UnpackStrategy diff --git a/Library/Homebrew/upgrade.rb b/Library/Homebrew/upgrade.rb index 0dbd0d133..82f258eee 100644 --- a/Library/Homebrew/upgrade.rb +++ b/Library/Homebrew/upgrade.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "reinstall" diff --git a/Library/Homebrew/utils.rb b/Library/Homebrew/utils.rb index e56867e16..985a294be 100644 --- a/Library/Homebrew/utils.rb +++ b/Library/Homebrew/utils.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "utils/analytics" diff --git a/Library/Homebrew/utils/analytics.rb b/Library/Homebrew/utils/analytics.rb index c6c1c9b8f..9524db721 100644 --- a/Library/Homebrew/utils/analytics.rb +++ b/Library/Homebrew/utils/analytics.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "erb" diff --git a/Library/Homebrew/utils/bottles.rb b/Library/Homebrew/utils/bottles.rb index ec47aa0c9..1b8ee163e 100644 --- a/Library/Homebrew/utils/bottles.rb +++ b/Library/Homebrew/utils/bottles.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "tab" diff --git a/Library/Homebrew/utils/curl.rb b/Library/Homebrew/utils/curl.rb index 4f517cc8d..db53efb9e 100644 --- a/Library/Homebrew/utils/curl.rb +++ b/Library/Homebrew/utils/curl.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "open3" diff --git a/Library/Homebrew/utils/fork.rb b/Library/Homebrew/utils/fork.rb index 6427193ce..f7c16566c 100644 --- a/Library/Homebrew/utils/fork.rb +++ b/Library/Homebrew/utils/fork.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "fcntl" diff --git a/Library/Homebrew/utils/formatter.rb b/Library/Homebrew/utils/formatter.rb index 60e88c60e..7835e93f2 100644 --- a/Library/Homebrew/utils/formatter.rb +++ b/Library/Homebrew/utils/formatter.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "utils/tty" diff --git a/Library/Homebrew/utils/gems.rb b/Library/Homebrew/utils/gems.rb index 0a98b0672..cdb688b5a 100644 --- a/Library/Homebrew/utils/gems.rb +++ b/Library/Homebrew/utils/gems.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true # Never `require` anything in this file (except English). It needs to be able to diff --git a/Library/Homebrew/utils/git.rb b/Library/Homebrew/utils/git.rb index ad1ebe774..e2f592d43 100644 --- a/Library/Homebrew/utils/git.rb +++ b/Library/Homebrew/utils/git.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true module Utils diff --git a/Library/Homebrew/utils/github.rb b/Library/Homebrew/utils/github.rb index f9605c070..b18a203d1 100644 --- a/Library/Homebrew/utils/github.rb +++ b/Library/Homebrew/utils/github.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "tempfile" diff --git a/Library/Homebrew/utils/github/actions.rb b/Library/Homebrew/utils/github/actions.rb index 111a9d6ab..3dc7bf640 100644 --- a/Library/Homebrew/utils/github/actions.rb +++ b/Library/Homebrew/utils/github/actions.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "utils/tty" diff --git a/Library/Homebrew/utils/inreplace.rb b/Library/Homebrew/utils/inreplace.rb index ae3489b6c..9d94ae0a8 100644 --- a/Library/Homebrew/utils/inreplace.rb +++ b/Library/Homebrew/utils/inreplace.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true module Utils diff --git a/Library/Homebrew/utils/link.rb b/Library/Homebrew/utils/link.rb index 8b3c6bb37..8078390f6 100644 --- a/Library/Homebrew/utils/link.rb +++ b/Library/Homebrew/utils/link.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true module Utils diff --git a/Library/Homebrew/utils/livecheck_formula.rb b/Library/Homebrew/utils/livecheck_formula.rb index 25dc1c994..bd08714de 100644 --- a/Library/Homebrew/utils/livecheck_formula.rb +++ b/Library/Homebrew/utils/livecheck_formula.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true # Helper module for parsing output of `brew livecheck`. diff --git a/Library/Homebrew/utils/popen.rb b/Library/Homebrew/utils/popen.rb index eac4823c6..b721b3191 100644 --- a/Library/Homebrew/utils/popen.rb +++ b/Library/Homebrew/utils/popen.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true module Utils diff --git a/Library/Homebrew/utils/pypi.rb b/Library/Homebrew/utils/pypi.rb index eda3f66af..d9bb621ba 100644 --- a/Library/Homebrew/utils/pypi.rb +++ b/Library/Homebrew/utils/pypi.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true # Helper functions for updating PyPi resources. diff --git a/Library/Homebrew/utils/repology.rb b/Library/Homebrew/utils/repology.rb index 7476b6b84..f1a017334 100644 --- a/Library/Homebrew/utils/repology.rb +++ b/Library/Homebrew/utils/repology.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "utils/curl" diff --git a/Library/Homebrew/utils/ruby_check_version_script.rb b/Library/Homebrew/utils/ruby_check_version_script.rb index 3b607cdb2..fc8e483b2 100755 --- a/Library/Homebrew/utils/ruby_check_version_script.rb +++ b/Library/Homebrew/utils/ruby_check_version_script.rb @@ -1,4 +1,5 @@ #!/usr/bin/env ruby --enable-frozen-string-literal --disable=gems,did_you_mean,rubyopt +# typed: true # frozen_string_literal: true HOMEBREW_REQUIRED_RUBY_VERSION = ARGV.first.freeze diff --git a/Library/Homebrew/utils/shared_audits.rb b/Library/Homebrew/utils/shared_audits.rb index 0b956b88e..694f65980 100644 --- a/Library/Homebrew/utils/shared_audits.rb +++ b/Library/Homebrew/utils/shared_audits.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "utils/curl" diff --git a/Library/Homebrew/utils/shebang.rb b/Library/Homebrew/utils/shebang.rb index 3e1267469..762ddf580 100644 --- a/Library/Homebrew/utils/shebang.rb +++ b/Library/Homebrew/utils/shebang.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true module Utils diff --git a/Library/Homebrew/utils/shell.rb b/Library/Homebrew/utils/shell.rb index d8e77a8dd..4d9af01ff 100644 --- a/Library/Homebrew/utils/shell.rb +++ b/Library/Homebrew/utils/shell.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true module Utils diff --git a/Library/Homebrew/utils/spdx.rb b/Library/Homebrew/utils/spdx.rb index 9420e343d..64467c291 100644 --- a/Library/Homebrew/utils/spdx.rb +++ b/Library/Homebrew/utils/spdx.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "utils/github" diff --git a/Library/Homebrew/utils/svn.rb b/Library/Homebrew/utils/svn.rb index 1492b0831..239a63ca6 100644 --- a/Library/Homebrew/utils/svn.rb +++ b/Library/Homebrew/utils/svn.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "system_command" diff --git a/Library/Homebrew/utils/tar.rb b/Library/Homebrew/utils/tar.rb index c60c834da..df29bf9ad 100644 --- a/Library/Homebrew/utils/tar.rb +++ b/Library/Homebrew/utils/tar.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true module Utils diff --git a/Library/Homebrew/utils/tty.rb b/Library/Homebrew/utils/tty.rb index 774d1933b..3360f99cb 100644 --- a/Library/Homebrew/utils/tty.rb +++ b/Library/Homebrew/utils/tty.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true # Various helper functions for interacting with TTYs. diff --git a/Library/Homebrew/utils/user.rb b/Library/Homebrew/utils/user.rb index d40a7b607..0973a95be 100644 --- a/Library/Homebrew/utils/user.rb +++ b/Library/Homebrew/utils/user.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true require "delegate" diff --git a/Library/Homebrew/version.rb b/Library/Homebrew/version.rb index cb1edd4e7..4c22d2f28 100644 --- a/Library/Homebrew/version.rb +++ b/Library/Homebrew/version.rb @@ -1,3 +1,4 @@ +# typed: false # frozen_string_literal: true require "version/null" diff --git a/Library/Homebrew/version/null.rb b/Library/Homebrew/version/null.rb index 7b63523b4..f2b74a35e 100644 --- a/Library/Homebrew/version/null.rb +++ b/Library/Homebrew/version/null.rb @@ -1,3 +1,4 @@ +# typed: true # frozen_string_literal: true class Version diff --git a/Library/add-typed.rb b/Library/add-typed.rb new file mode 100755 index 000000000..6860b9e7b --- /dev/null +++ b/Library/add-typed.rb @@ -0,0 +1,27 @@ +#!/usr/bin/env ruby + +require 'pathname' +require 'open3' + + +Dir.chdir "#{__dir__}/Homebrew" + +files = Pathname.glob("**/*.rb").reject { |path| path.to_s.start_with?("vendor/") } + +files.each do |file| + + content = file.read + + if content.start_with?("# typed: ") + puts "Already typed: #{file}" + next + end + + ['strict', 'true', 'false', 'ignore'].each do |level| + puts "Trying #{file} with level #{level}." + file.write "# typed: #{level}\n#{content.strip}\n" + + output, status = Open3.capture2e('brew', 'typecheck') + break if status.success? + end +end