Merge pull request #12253 from Homebrew/dependabot/bundler/Library/Homebrew/spoom-1.1.5

build(deps): bump spoom from 1.1.4 to 1.1.5 in /Library/Homebrew
This commit is contained in:
Mike McQuaid 2021-10-18 20:23:16 +01:00 committed by GitHub
commit 34472a4b7f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 61 additions and 130 deletions

View File

@ -15,7 +15,6 @@ GEM
msgpack (~> 1.0)
byebug (11.1.3)
coderay (1.1.3)
colorize (0.8.1)
commander (4.6.0)
highline (~> 2.0.0)
concurrent-ruby (1.1.9)
@ -163,8 +162,7 @@ GEM
sorbet-runtime (0.5.9242)
sorbet-runtime-stub (0.2.0)
sorbet-static (0.5.9242-universal-darwin-14)
spoom (1.1.4)
colorize
spoom (1.1.5)
sorbet (>= 0.5.9204)
sorbet-runtime (>= 0.5.9204)
thor (>= 0.19.2)

View File

@ -1,39 +0,0 @@
# DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `colorize` gem.
# Please instead update this file by running `bin/tapioca gem colorize`.
# typed: true
module Colorize; end
module Colorize::ClassMethods
def color_codes; end
def color_matrix(_ = T.unsafe(nil)); end
def color_methods; end
def color_samples; end
def colors; end
def disable_colorization(value = T.unsafe(nil)); end
def disable_colorization=(value); end
def mode_codes; end
def modes; end
def modes_methods; end
end
module Colorize::InstanceMethods
def colorize(params); end
def colorized?; end
def uncolorize; end
private
def background_color(color); end
def color(color); end
def color_from_symbol(match, symbol); end
def colors_from_hash(match, hash); end
def colors_from_params(match, params); end
def defaults_colors(match); end
def mode(mode); end
def require_windows_libs; end
def scan_for_colors; end
def split_colors(match); end
end

View File

@ -14,6 +14,7 @@ end
module Spoom::Cli; end
class Spoom::Cli::Bump < ::Thor
include ::Spoom::Colorize
include ::Spoom::Cli::Helper
sig { params(directory: String).void }
@ -26,6 +27,7 @@ class Spoom::Cli::Bump < ::Thor
end
class Spoom::Cli::Config < ::Thor
include ::Spoom::Colorize
include ::Spoom::Cli::Helper
def help(command = T.unsafe(nil), subcommand = T.unsafe(nil)); end
@ -33,6 +35,7 @@ class Spoom::Cli::Config < ::Thor
end
class Spoom::Cli::Coverage < ::Thor
include ::Spoom::Colorize
include ::Spoom::Cli::Helper
def bundle_install(path, sha); end
@ -48,7 +51,7 @@ end
Spoom::Cli::Coverage::DATA_DIR = T.let(T.unsafe(nil), String)
module Spoom::Cli::Helper
include ::Thor::Shell
include ::Spoom::Colorize
sig { params(string: String).returns(String) }
def blue(string); end
@ -56,8 +59,8 @@ module Spoom::Cli::Helper
sig { returns(T::Boolean) }
def color?; end
sig { params(string: String, color: Symbol).returns(String) }
def colorize(string, color); end
sig { params(string: String, color: Spoom::Color).returns(String) }
def colorize(string, *color); end
sig { returns(String) }
def exec_path; end
@ -96,9 +99,8 @@ module Spoom::Cli::Helper
def yellow(string); end
end
Spoom::Cli::Helper::HIGHLIGHT_COLOR = T.let(T.unsafe(nil), Symbol)
class Spoom::Cli::LSP < ::Thor
include ::Spoom::Colorize
include ::Spoom::Cli::Helper
def defs(file, line, col); end
@ -118,6 +120,7 @@ class Spoom::Cli::LSP < ::Thor
end
class Spoom::Cli::Main < ::Thor
include ::Spoom::Colorize
include ::Spoom::Cli::Helper
def __print_version; end
@ -134,6 +137,7 @@ class Spoom::Cli::Main < ::Thor
end
class Spoom::Cli::Run < ::Thor
include ::Spoom::Colorize
include ::Spoom::Cli::Helper
def colorize_message(message); end
@ -147,6 +151,37 @@ Spoom::Cli::Run::SORT_CODE = T.let(T.unsafe(nil), String)
Spoom::Cli::Run::SORT_ENUM = T.let(T.unsafe(nil), Array)
Spoom::Cli::Run::SORT_LOC = T.let(T.unsafe(nil), String)
class Spoom::Color < ::T::Enum
enums do
CLEAR = new
BOLD = new
BLACK = new
RED = new
GREEN = new
YELLOW = new
BLUE = new
MAGENTA = new
CYAN = new
WHITE = new
LIGHT_BLACK = new
LIGHT_RED = new
LIGHT_GREEN = new
LIGHT_YELLOW = new
LIGHT_BLUE = new
LIGHT_MAGENTA = new
LIGHT_CYAN = new
LIGHT_WHITE = new
end
sig { returns(String) }
def ansi_code; end
end
module Spoom::Colorize
sig { params(string: String, color: Spoom::Color).returns(String) }
def set_color(string, *color); end
end
module Spoom::Coverage
class << self
sig { params(snapshots: T::Array[Spoom::Coverage::Snapshot], palette: Spoom::Coverage::D3::ColorPalette, path: String).returns(Spoom::Coverage::Report) }
@ -693,7 +728,7 @@ class Spoom::FileTree::TreePrinter < ::Spoom::Printer
sig { params(node: Spoom::FileTree::Node).returns(T.nilable(String)) }
def node_strictness(node); end
sig { params(strictness: T.nilable(String)).returns(Symbol) }
sig { params(strictness: T.nilable(String)).returns(Spoom::Color) }
def strictness_color(strictness); end
end
@ -973,13 +1008,15 @@ class Spoom::LSP::SymbolPrinter < ::Spoom::Printer
end
class Spoom::Printer
include ::Spoom::Colorize
abstract!
sig { params(out: T.any(IO, StringIO), colors: T::Boolean, indent_level: Integer).void }
def initialize(out: T.unsafe(nil), colors: T.unsafe(nil), indent_level: T.unsafe(nil)); end
sig { params(string: String, color: Symbol).returns(String) }
def colorize(string, color); end
sig { params(string: String, color: Spoom::Color).returns(String) }
def colorize(string, *color); end
sig { void }
def dedent; end
@ -995,8 +1032,8 @@ class Spoom::Printer
sig { params(string: T.nilable(String)).void }
def print(string); end
sig { params(string: T.nilable(String), color: Symbol, colors: Symbol).void }
def print_colored(string, color, *colors); end
sig { params(string: T.nilable(String), color: Spoom::Color).void }
def print_colored(string, *color); end
sig { params(string: T.nilable(String)).void }
def printl(string); end

View File

@ -9027,6 +9027,10 @@ class Spoom::Cli::Bump
extend ::T::Private::Methods::SingletonMethodHooks
end
module Spoom::Cli::Helper
HIGHLIGHT_COLOR = ::T.let(nil, ::T.untyped)
end
module Spoom::Cli::Helper
extend ::T::Sig
extend ::T::Helpers
@ -9038,6 +9042,12 @@ class Spoom::Cli::Main
extend ::T::Sig
end
module Spoom::Colorize
extend ::T::Sig
extend ::T::Private::Methods::MethodHooks
extend ::T::Private::Methods::SingletonMethodHooks
end
class Spoom::Coverage::D3::Base
extend ::T::Sig
extend ::T::Helpers
@ -9205,88 +9215,18 @@ module Spoom
end
class String
def black(); end
def blink(); end
def blue(); end
def bold(); end
def cyan(); end
def exclude?(string); end
def fast_xs(); end
def green(); end
def hide(); end
def indent(amount, indent_string=T.unsafe(nil), indent_empty_lines=T.unsafe(nil)); end
def indent!(amount, indent_string=T.unsafe(nil), indent_empty_lines=T.unsafe(nil)); end
def italic(); end
def light_black(); end
def light_blue(); end
def light_cyan(); end
def light_green(); end
def light_magenta(); end
def light_red(); end
def light_white(); end
def light_yellow(); end
def magenta(); end
def on_black(); end
def on_blue(); end
def on_cyan(); end
def on_green(); end
def on_light_black(); end
def on_light_blue(); end
def on_light_cyan(); end
def on_light_green(); end
def on_light_magenta(); end
def on_light_red(); end
def on_light_white(); end
def on_light_yellow(); end
def on_magenta(); end
def on_red(); end
def on_white(); end
def on_yellow(); end
def red(); end
def shellescape(); end
def shellsplit(); end
def swap(); end
def to_nfc(); end
def to_nfd(); end
@ -9294,12 +9234,6 @@ class String
def to_nfkc(); end
def to_nfkd(); end
def underline(); end
def white(); end
def yellow(); end
end
class String

View File

@ -2,6 +2,8 @@
# srb rbi todo
# typed: strong
module ::Colorize::ClassMethods; end
module ::Colorize::InstanceMethods; end
module ::StackProf; end
module T::InterfaceWrapper::Helpers; end
module T::Private::Abstract::Hooks; end

View File

@ -21,7 +21,6 @@ $:.unshift "#{path}/"
$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/extensions/x86_64-darwin-14/2.6.0-static/byebug-11.1.3"
$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/byebug-11.1.3/lib"
$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/coderay-1.1.3/lib"
$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/colorize-0.8.1/lib"
$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/highline-2.0.3/lib"
$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/commander-4.6.0/lib"
$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/connection_pool-2.2.5/lib"
@ -99,6 +98,6 @@ $:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/simplecov-0.21.2/lib"
$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/simplecov-cobertura-1.4.2/lib"
$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/sorbet-runtime-stub-0.2.0/lib"
$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/thor-1.1.0/lib"
$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/spoom-1.1.4/lib"
$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/spoom-1.1.5/lib"
$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/tapioca-0.5.2/lib"
$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/warning-1.2.1/lib"