Merge pull request #13229 from Homebrew/dependabot/bundler/Library/Homebrew/sorbet-0.5.9959
build(deps-dev): bump sorbet from 0.5.9889 to 0.5.9959 in /Library/Homebrew
This commit is contained in:
commit
5760e6eb9d
@ -68,7 +68,7 @@ GEM
|
||||
parallel (1.22.1)
|
||||
parallel_tests (3.8.1)
|
||||
parallel
|
||||
parlour (6.0.1)
|
||||
parlour (7.0.0)
|
||||
commander (~> 4.5)
|
||||
parser
|
||||
rainbow (~> 3.0)
|
||||
@ -157,11 +157,11 @@ GEM
|
||||
simplecov (~> 0.19)
|
||||
simplecov-html (0.12.3)
|
||||
simplecov_json_formatter (0.1.4)
|
||||
sorbet (0.5.9889)
|
||||
sorbet-static (= 0.5.9889)
|
||||
sorbet-runtime (0.5.9889)
|
||||
sorbet (0.5.9959)
|
||||
sorbet-static (= 0.5.9959)
|
||||
sorbet-runtime (0.5.9959)
|
||||
sorbet-runtime-stub (0.2.0)
|
||||
sorbet-static (0.5.9889-universal-darwin-14)
|
||||
sorbet-static (0.5.9959-universal-darwin-14)
|
||||
spoom (1.1.11)
|
||||
sorbet (>= 0.5.9204)
|
||||
sorbet-runtime (>= 0.5.9204)
|
||||
|
||||
@ -20,6 +20,9 @@ module Homebrew
|
||||
description: "Silence all non-critical errors."
|
||||
switch "--update",
|
||||
description: "Update RBI files."
|
||||
switch "--all",
|
||||
depends_on: "--update",
|
||||
description: "Regenerate all RBI files rather than just updated gems."
|
||||
switch "--suggest-typed",
|
||||
depends_on: "--update",
|
||||
description: "Try upgrading `typed` sigils."
|
||||
@ -52,9 +55,11 @@ module Homebrew
|
||||
"did_you_mean", # RBI file is already provided by Sorbet
|
||||
"webrobots", # RBI file is bugged
|
||||
]
|
||||
tapioca_args = ["--exclude", *excluded_gems]
|
||||
tapioca_args << "--all" if args.all?
|
||||
|
||||
ohai "Updating Tapioca RBI files..."
|
||||
system "bundle", "exec", "tapioca", "gem", "--exclude", *excluded_gems
|
||||
system "bundle", "exec", "tapioca", "gem", *tapioca_args
|
||||
system "bundle", "exec", "parlour"
|
||||
system "bundle", "exec", "srb", "rbi", "hidden-definitions"
|
||||
system "bundle", "exec", "srb", "rbi", "todo"
|
||||
|
||||
@ -1,9 +1,9 @@
|
||||
# typed: true
|
||||
|
||||
# DO NOT EDIT MANUALLY
|
||||
# This is an autogenerated file for types exported from the `addressable` gem.
|
||||
# Please instead update this file by running `bin/tapioca gem addressable`.
|
||||
|
||||
# typed: true
|
||||
|
||||
module Addressable; end
|
||||
|
||||
module Addressable::IDNA
|
||||
|
||||
@ -1,9 +1,9 @@
|
||||
# typed: true
|
||||
|
||||
# DO NOT EDIT MANUALLY
|
||||
# This is an autogenerated file for types exported from the `ast` gem.
|
||||
# Please instead update this file by running `bin/tapioca gem ast`.
|
||||
|
||||
# typed: true
|
||||
|
||||
module AST; end
|
||||
|
||||
class AST::Node
|
||||
|
||||
@ -1,9 +1,9 @@
|
||||
# typed: true
|
||||
|
||||
# DO NOT EDIT MANUALLY
|
||||
# This is an autogenerated file for types exported from the `bindata` gem.
|
||||
# Please instead update this file by running `bin/tapioca gem bindata`.
|
||||
|
||||
# typed: true
|
||||
|
||||
module BinData
|
||||
extend ::BinData::BitFieldFactory
|
||||
extend ::BinData::IntFactory
|
||||
|
||||
@ -1,9 +1,9 @@
|
||||
# typed: true
|
||||
|
||||
# DO NOT EDIT MANUALLY
|
||||
# This is an autogenerated file for types exported from the `byebug` gem.
|
||||
# Please instead update this file by running `bin/tapioca gem byebug`.
|
||||
|
||||
# typed: true
|
||||
|
||||
module Byebug
|
||||
class << self
|
||||
def attach; end
|
||||
|
||||
@ -1,9 +1,9 @@
|
||||
# typed: true
|
||||
|
||||
# DO NOT EDIT MANUALLY
|
||||
# This is an autogenerated file for types exported from the `coderay` gem.
|
||||
# Please instead update this file by running `bin/tapioca gem coderay`.
|
||||
|
||||
# typed: true
|
||||
|
||||
module CodeRay
|
||||
class << self
|
||||
def coderay_path(*path); end
|
||||
|
||||
@ -1,8 +1,10 @@
|
||||
# typed: true
|
||||
|
||||
# DO NOT EDIT MANUALLY
|
||||
# This is an autogenerated file for types exported from the `commander` gem.
|
||||
# Please instead update this file by running `bin/tapioca gem commander`.
|
||||
|
||||
# typed: true
|
||||
::RUBY19 = T.let(T.unsafe(nil), TrueClass)
|
||||
|
||||
module Blank
|
||||
class << self
|
||||
@ -253,14 +255,14 @@ end
|
||||
Commander::VERSION = T.let(T.unsafe(nil), String)
|
||||
|
||||
class Object < ::BasicObject
|
||||
include ::ActiveSupport::ToJsonWithActiveSupportEncoder
|
||||
include ::ActiveSupport::ForkTracker::CoreExt
|
||||
include ::ActiveSupport::ForkTracker::CoreExtPrivate
|
||||
include ::ActiveSupport::ToJsonWithActiveSupportEncoder
|
||||
include ::Kernel
|
||||
include ::JSON::Ext::Generator::GeneratorMethods::Object
|
||||
include ::PP::ObjectMixin
|
||||
include ::ActiveSupport::Tryable
|
||||
include ::ActiveSupport::Dependencies::Loadable
|
||||
include ::ActiveSupport::Tryable
|
||||
|
||||
def get_binding; end
|
||||
end
|
||||
|
||||
@ -1,9 +1,9 @@
|
||||
# typed: true
|
||||
|
||||
# DO NOT EDIT MANUALLY
|
||||
# This is an autogenerated file for types exported from the `connection_pool` gem.
|
||||
# Please instead update this file by running `bin/tapioca gem connection_pool`.
|
||||
|
||||
# typed: true
|
||||
|
||||
class ConnectionPool
|
||||
def initialize(options = T.unsafe(nil), &block); end
|
||||
|
||||
|
||||
@ -1,9 +1,9 @@
|
||||
# typed: true
|
||||
|
||||
# DO NOT EDIT MANUALLY
|
||||
# This is an autogenerated file for types exported from the `docile` gem.
|
||||
# Please instead update this file by running `bin/tapioca gem docile`.
|
||||
|
||||
# typed: true
|
||||
|
||||
module Docile
|
||||
extend ::Docile::Execution
|
||||
|
||||
|
||||
@ -1,9 +1,9 @@
|
||||
# typed: true
|
||||
|
||||
# DO NOT EDIT MANUALLY
|
||||
# This is an autogenerated file for types exported from the `domain_name` gem.
|
||||
# Please instead update this file by running `bin/tapioca gem domain_name`.
|
||||
|
||||
# typed: true
|
||||
|
||||
class DomainName
|
||||
def initialize(hostname); end
|
||||
|
||||
|
||||
@ -1,9 +1,9 @@
|
||||
# typed: true
|
||||
|
||||
# DO NOT EDIT MANUALLY
|
||||
# This is an autogenerated file for types exported from the `elftools` gem.
|
||||
# Please instead update this file by running `bin/tapioca gem elftools`.
|
||||
|
||||
# typed: true
|
||||
|
||||
module ELFTools; end
|
||||
|
||||
module ELFTools::Constants
|
||||
|
||||
@ -1,9 +1,9 @@
|
||||
# typed: true
|
||||
|
||||
# DO NOT EDIT MANUALLY
|
||||
# This is an autogenerated file for types exported from the `hana` gem.
|
||||
# Please instead update this file by running `bin/tapioca gem hana`.
|
||||
|
||||
# typed: true
|
||||
|
||||
module Hana; end
|
||||
|
||||
class Hana::Patch
|
||||
|
||||
@ -1,8 +1,10 @@
|
||||
# typed: true
|
||||
|
||||
# DO NOT EDIT MANUALLY
|
||||
# This is an autogenerated file for types exported from the `highline` gem.
|
||||
# Please instead update this file by running `bin/tapioca gem highline`.
|
||||
|
||||
# typed: true
|
||||
::RUBY19 = T.let(T.unsafe(nil), TrueClass)
|
||||
|
||||
class HighLine
|
||||
include ::HighLine::BuiltinStyles
|
||||
@ -838,14 +840,14 @@ module HighLine::Wrapper
|
||||
end
|
||||
|
||||
class Object < ::BasicObject
|
||||
include ::ActiveSupport::ToJsonWithActiveSupportEncoder
|
||||
include ::ActiveSupport::ForkTracker::CoreExt
|
||||
include ::ActiveSupport::ForkTracker::CoreExtPrivate
|
||||
include ::ActiveSupport::ToJsonWithActiveSupportEncoder
|
||||
include ::Kernel
|
||||
include ::JSON::Ext::Generator::GeneratorMethods::Object
|
||||
include ::PP::ObjectMixin
|
||||
include ::ActiveSupport::Tryable
|
||||
include ::ActiveSupport::Dependencies::Loadable
|
||||
include ::ActiveSupport::Tryable
|
||||
|
||||
def or_ask(*args, &details); end
|
||||
end
|
||||
|
||||
@ -1,8 +1,10 @@
|
||||
# typed: true
|
||||
|
||||
# DO NOT EDIT MANUALLY
|
||||
# This is an autogenerated file for types exported from the `hpricot` gem.
|
||||
# Please instead update this file by running `bin/tapioca gem hpricot`.
|
||||
|
||||
# typed: true
|
||||
::RUBY19 = T.let(T.unsafe(nil), TrueClass)
|
||||
|
||||
module Hpricot
|
||||
class << self
|
||||
@ -628,14 +630,14 @@ module Hpricot::XMLDecl::Trav
|
||||
end
|
||||
|
||||
class Object < ::BasicObject
|
||||
include ::ActiveSupport::ToJsonWithActiveSupportEncoder
|
||||
include ::ActiveSupport::ForkTracker::CoreExt
|
||||
include ::ActiveSupport::ForkTracker::CoreExtPrivate
|
||||
include ::ActiveSupport::ToJsonWithActiveSupportEncoder
|
||||
include ::Kernel
|
||||
include ::JSON::Ext::Generator::GeneratorMethods::Object
|
||||
include ::PP::ObjectMixin
|
||||
include ::ActiveSupport::Tryable
|
||||
include ::ActiveSupport::Dependencies::Loadable
|
||||
include ::ActiveSupport::Tryable
|
||||
|
||||
private
|
||||
|
||||
|
||||
@ -1,9 +1,9 @@
|
||||
# typed: true
|
||||
|
||||
# DO NOT EDIT MANUALLY
|
||||
# This is an autogenerated file for types exported from the `http-cookie` gem.
|
||||
# Please instead update this file by running `bin/tapioca gem http-cookie`.
|
||||
|
||||
# typed: true
|
||||
|
||||
module HTTP; end
|
||||
|
||||
class HTTP::Cookie
|
||||
|
||||
@ -1,9 +1,9 @@
|
||||
# typed: true
|
||||
|
||||
# DO NOT EDIT MANUALLY
|
||||
# This is an autogenerated file for types exported from the `method_source` gem.
|
||||
# Please instead update this file by running `bin/tapioca gem method_source`.
|
||||
|
||||
# typed: true
|
||||
|
||||
module MethodSource
|
||||
extend ::MethodSource::CodeHelpers
|
||||
|
||||
|
||||
@ -1,9 +1,9 @@
|
||||
# typed: true
|
||||
|
||||
# DO NOT EDIT MANUALLY
|
||||
# This is an autogenerated file for types exported from the `mustache` gem.
|
||||
# Please instead update this file by running `bin/tapioca gem mustache`.
|
||||
|
||||
# typed: true
|
||||
|
||||
class Mustache
|
||||
def initialize(options = T.unsafe(nil)); end
|
||||
|
||||
|
||||
@ -1,8 +1,8 @@
|
||||
# typed: true
|
||||
|
||||
# DO NOT EDIT MANUALLY
|
||||
# This is an autogenerated file for types exported from the `net-http-digest_auth` gem.
|
||||
# Please instead update this file by running `bin/tapioca gem net-http-digest_auth`.
|
||||
|
||||
# typed: true
|
||||
|
||||
# THIS IS AN EMPTY RBI FILE.
|
||||
# see https://github.com/Shopify/tapioca/wiki/Manual-Gem-Requires
|
||||
|
||||
@ -1,9 +1,9 @@
|
||||
# typed: true
|
||||
|
||||
# DO NOT EDIT MANUALLY
|
||||
# This is an autogenerated file for types exported from the `net-http-persistent` gem.
|
||||
# Please instead update this file by running `bin/tapioca gem net-http-persistent`.
|
||||
|
||||
# typed: true
|
||||
|
||||
class Net::HTTP::Persistent
|
||||
def initialize(name: T.unsafe(nil), proxy: T.unsafe(nil), pool_size: T.unsafe(nil)); end
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
2154
Library/Homebrew/sorbet/rbi/gems/parlour@7.0.0.rbi
Normal file
2154
Library/Homebrew/sorbet/rbi/gems/parlour@7.0.0.rbi
Normal file
File diff suppressed because it is too large
Load Diff
@ -1,9 +1,9 @@
|
||||
# typed: true
|
||||
|
||||
# DO NOT EDIT MANUALLY
|
||||
# This is an autogenerated file for types exported from the `patchelf` gem.
|
||||
# Please instead update this file by running `bin/tapioca gem patchelf`.
|
||||
|
||||
# typed: true
|
||||
|
||||
module PatchELF; end
|
||||
|
||||
module PatchELF::Helper
|
||||
|
||||
@ -1,9 +1,9 @@
|
||||
# typed: true
|
||||
|
||||
# DO NOT EDIT MANUALLY
|
||||
# This is an autogenerated file for types exported from the `plist` gem.
|
||||
# Please instead update this file by running `bin/tapioca gem plist`.
|
||||
|
||||
# typed: true
|
||||
|
||||
module Plist
|
||||
class << self
|
||||
def parse_xml(filename_or_xml); end
|
||||
|
||||
@ -1,22 +1,24 @@
|
||||
# typed: true
|
||||
|
||||
# DO NOT EDIT MANUALLY
|
||||
# This is an autogenerated file for types exported from the `pry` gem.
|
||||
# Please instead update this file by running `bin/tapioca gem pry`.
|
||||
|
||||
# typed: true
|
||||
::RUBY19 = T.let(T.unsafe(nil), TrueClass)
|
||||
|
||||
class BasicObject
|
||||
def __binding__; end
|
||||
end
|
||||
|
||||
class Object < ::BasicObject
|
||||
include ::ActiveSupport::ToJsonWithActiveSupportEncoder
|
||||
include ::ActiveSupport::ForkTracker::CoreExt
|
||||
include ::ActiveSupport::ForkTracker::CoreExtPrivate
|
||||
include ::ActiveSupport::ToJsonWithActiveSupportEncoder
|
||||
include ::Kernel
|
||||
include ::JSON::Ext::Generator::GeneratorMethods::Object
|
||||
include ::PP::ObjectMixin
|
||||
include ::ActiveSupport::Tryable
|
||||
include ::ActiveSupport::Dependencies::Loadable
|
||||
include ::ActiveSupport::Tryable
|
||||
|
||||
def __binding__; end
|
||||
def pry(object = T.unsafe(nil), hash = T.unsafe(nil)); end
|
||||
|
||||
@ -1,13 +1,20 @@
|
||||
# typed: true
|
||||
|
||||
# DO NOT EDIT MANUALLY
|
||||
# This is an autogenerated file for types exported from the `racc` gem.
|
||||
# Please instead update this file by running `bin/tapioca gem racc`.
|
||||
|
||||
# typed: true
|
||||
::RUBY19 = T.let(T.unsafe(nil), TrueClass)
|
||||
|
||||
class Object < ::BasicObject
|
||||
include ::ActiveSupport::ToJsonWithActiveSupportEncoder
|
||||
include ::ActiveSupport::ForkTracker::CoreExt
|
||||
include ::ActiveSupport::ForkTracker::CoreExtPrivate
|
||||
include ::Kernel
|
||||
include ::JSON::Ext::Generator::GeneratorMethods::Object
|
||||
include ::PP::ObjectMixin
|
||||
include ::ActiveSupport::Dependencies::Loadable
|
||||
include ::ActiveSupport::Tryable
|
||||
end
|
||||
|
||||
ParseError = Racc::ParseError
|
||||
|
||||
@ -1,9 +1,9 @@
|
||||
# typed: true
|
||||
|
||||
# DO NOT EDIT MANUALLY
|
||||
# This is an autogenerated file for types exported from the `rack` gem.
|
||||
# Please instead update this file by running `bin/tapioca gem rack`.
|
||||
|
||||
# typed: true
|
||||
|
||||
module Rack
|
||||
class << self
|
||||
def release; end
|
||||
@ -934,7 +934,11 @@ class Rack::Request
|
||||
|
||||
def delete_param(k); end
|
||||
def params; end
|
||||
def query; end
|
||||
def update_param(k, v); end
|
||||
def version_supplied; end
|
||||
def version_supplied=(_arg0); end
|
||||
def xhr?; end
|
||||
|
||||
class << self
|
||||
def ip_filter; end
|
||||
|
||||
@ -1842,8 +1842,17 @@ class RBI::Tree < ::RBI::NodeWithComments
|
||||
sig { params(constant: ::Module, block: T.nilable(T.proc.params(scope: ::RBI::Scope).void)).void }
|
||||
def create_path(constant, &block); end
|
||||
|
||||
sig { params(name: ::String, value: ::String).void }
|
||||
def create_type_member(name, value: T.unsafe(nil)); end
|
||||
sig do
|
||||
params(
|
||||
name: ::String,
|
||||
type: ::String,
|
||||
variance: ::Symbol,
|
||||
fixed: T.nilable(::String),
|
||||
upper: T.nilable(::String),
|
||||
lower: T.nilable(::String)
|
||||
).void
|
||||
end
|
||||
def create_type_variable(name, type:, variance: T.unsafe(nil), fixed: T.unsafe(nil), upper: T.unsafe(nil), lower: T.unsafe(nil)); end
|
||||
|
||||
sig { params(annotation: ::String).void }
|
||||
def deannotate!(annotation); end
|
||||
|
||||
@ -1,9 +1,9 @@
|
||||
# typed: true
|
||||
|
||||
# DO NOT EDIT MANUALLY
|
||||
# This is an autogenerated file for types exported from the `rdiscount` gem.
|
||||
# Please instead update this file by running `bin/tapioca gem rdiscount`.
|
||||
|
||||
# typed: true
|
||||
|
||||
Markdown = RDiscount
|
||||
|
||||
class RDiscount
|
||||
|
||||
@ -1,9 +1,9 @@
|
||||
# typed: true
|
||||
|
||||
# DO NOT EDIT MANUALLY
|
||||
# This is an autogenerated file for types exported from the `rexml` gem.
|
||||
# Please instead update this file by running `bin/tapioca gem rexml`.
|
||||
|
||||
# typed: true
|
||||
|
||||
class REXML::AttlistDecl < ::REXML::Child
|
||||
include ::Enumerable
|
||||
|
||||
|
||||
@ -1,9 +1,9 @@
|
||||
# typed: true
|
||||
|
||||
# DO NOT EDIT MANUALLY
|
||||
# This is an autogenerated file for types exported from the `ronn` gem.
|
||||
# Please instead update this file by running `bin/tapioca gem ronn`.
|
||||
|
||||
# typed: true
|
||||
|
||||
module Ronn
|
||||
class << self
|
||||
def new(filename, attributes = T.unsafe(nil), &block); end
|
||||
|
||||
@ -1,9 +1,9 @@
|
||||
# typed: true
|
||||
|
||||
# DO NOT EDIT MANUALLY
|
||||
# This is an autogenerated file for types exported from the `rspec-github` gem.
|
||||
# Please instead update this file by running `bin/tapioca gem rspec-github`.
|
||||
|
||||
# typed: true
|
||||
|
||||
module RSpec
|
||||
extend ::RSpec::Support::Warnings
|
||||
extend ::RSpec::Core::Warnings
|
||||
@ -17,6 +17,8 @@ module RSpec
|
||||
def context(*args, &example_group_block); end
|
||||
def current_example; end
|
||||
def current_example=(example); end
|
||||
def current_scope; end
|
||||
def current_scope=(scope); end
|
||||
def describe(*args, &example_group_block); end
|
||||
def example_group(*args, &example_group_block); end
|
||||
def fcontext(*args, &example_group_block); end
|
||||
|
||||
@ -1,9 +1,9 @@
|
||||
# typed: true
|
||||
|
||||
# DO NOT EDIT MANUALLY
|
||||
# This is an autogenerated file for types exported from the `rspec-its` gem.
|
||||
# Please instead update this file by running `bin/tapioca gem rspec-its`.
|
||||
|
||||
# typed: true
|
||||
|
||||
module RSpec
|
||||
extend ::RSpec::Support::Warnings
|
||||
extend ::RSpec::Core::Warnings
|
||||
@ -17,6 +17,8 @@ module RSpec
|
||||
def context(*args, &example_group_block); end
|
||||
def current_example; end
|
||||
def current_example=(example); end
|
||||
def current_scope; end
|
||||
def current_scope=(scope); end
|
||||
def describe(*args, &example_group_block); end
|
||||
def example_group(*args, &example_group_block); end
|
||||
def fcontext(*args, &example_group_block); end
|
||||
|
||||
@ -1,9 +1,9 @@
|
||||
# typed: true
|
||||
|
||||
# DO NOT EDIT MANUALLY
|
||||
# This is an autogenerated file for types exported from the `rspec-retry` gem.
|
||||
# Please instead update this file by running `bin/tapioca gem rspec-retry`.
|
||||
|
||||
# typed: true
|
||||
|
||||
module RSpec
|
||||
extend ::RSpec::Support::Warnings
|
||||
extend ::RSpec::Core::Warnings
|
||||
@ -17,6 +17,8 @@ module RSpec
|
||||
def context(*args, &example_group_block); end
|
||||
def current_example; end
|
||||
def current_example=(example); end
|
||||
def current_scope; end
|
||||
def current_scope=(scope); end
|
||||
def describe(*args, &example_group_block); end
|
||||
def example_group(*args, &example_group_block); end
|
||||
def fcontext(*args, &example_group_block); end
|
||||
|
||||
@ -17,6 +17,8 @@ module RSpec
|
||||
def context(*args, &example_group_block); end
|
||||
def current_example; end
|
||||
def current_example=(example); end
|
||||
def current_scope; end
|
||||
def current_scope=(scope); end
|
||||
def describe(*args, &example_group_block); end
|
||||
def example_group(*args, &example_group_block); end
|
||||
def fcontext(*args, &example_group_block); end
|
||||
|
||||
@ -1,9 +1,9 @@
|
||||
# typed: true
|
||||
|
||||
# DO NOT EDIT MANUALLY
|
||||
# This is an autogenerated file for types exported from the `rspec-wait` gem.
|
||||
# Please instead update this file by running `bin/tapioca gem rspec-wait`.
|
||||
|
||||
# typed: true
|
||||
|
||||
module RSpec
|
||||
extend ::RSpec::Support::Warnings
|
||||
extend ::RSpec::Core::Warnings
|
||||
@ -17,6 +17,8 @@ module RSpec
|
||||
def context(*args, &example_group_block); end
|
||||
def current_example; end
|
||||
def current_example=(example); end
|
||||
def current_scope; end
|
||||
def current_scope=(scope); end
|
||||
def describe(*args, &example_group_block); end
|
||||
def example_group(*args, &example_group_block); end
|
||||
def fcontext(*args, &example_group_block); end
|
||||
|
||||
@ -2693,10 +2693,6 @@ class RuboCop::Cop::Layout::ExtraSpacing < ::RuboCop::Cop::Base
|
||||
def force_equal_sign_alignment?; end
|
||||
def ignored_range?(ast, start_pos); end
|
||||
def ignored_ranges(ast); end
|
||||
|
||||
class << self
|
||||
def autocorrect_incompatible_with; end
|
||||
end
|
||||
end
|
||||
|
||||
RuboCop::Cop::Layout::ExtraSpacing::MSG_UNALIGNED_ASGN = T.let(T.unsafe(nil), String)
|
||||
@ -9706,6 +9702,7 @@ end
|
||||
RuboCop::Cop::Style::MultipleComparison::MSG = T.let(T.unsafe(nil), String)
|
||||
|
||||
class RuboCop::Cop::Style::MutableConstant < ::RuboCop::Cop::Base
|
||||
include ::RuboCop::Cop::Sorbet::MutableConstantSorbetAwareBehaviour
|
||||
include ::RuboCop::Cop::Style::MutableConstant::ShareableConstantValue
|
||||
include ::RuboCop::Cop::FrozenStringLiteral
|
||||
include ::RuboCop::Cop::ConfigurableEnforcedStyle
|
||||
@ -9715,6 +9712,7 @@ class RuboCop::Cop::Style::MutableConstant < ::RuboCop::Cop::Base
|
||||
def operation_produces_immutable_object?(param0 = T.unsafe(nil)); end
|
||||
def range_enclosed_in_parentheses?(param0 = T.unsafe(nil)); end
|
||||
def splat_value(param0 = T.unsafe(nil)); end
|
||||
def t_let(param0 = T.unsafe(nil)); end
|
||||
|
||||
private
|
||||
|
||||
@ -9724,7 +9722,6 @@ class RuboCop::Cop::Style::MutableConstant < ::RuboCop::Cop::Base
|
||||
def frozen_regexp_or_range_literals?(node); end
|
||||
def immutable_literal?(node); end
|
||||
def mutable_literal?(value); end
|
||||
def on_assignment(value); end
|
||||
def requires_parentheses?(node); end
|
||||
def shareable_constant_value?(node); end
|
||||
def strict_check(value); end
|
||||
@ -11703,10 +11700,6 @@ class RuboCop::Cop::Style::TrailingCommaInArguments < ::RuboCop::Cop::Base
|
||||
|
||||
def on_csend(node); end
|
||||
def on_send(node); end
|
||||
|
||||
class << self
|
||||
def autocorrect_incompatible_with; end
|
||||
end
|
||||
end
|
||||
|
||||
class RuboCop::Cop::Style::TrailingCommaInArrayLiteral < ::RuboCop::Cop::Base
|
||||
@ -12991,8 +12984,8 @@ end
|
||||
|
||||
RuboCop::Formatter::PacmanFormatter::FALLBACK_TERMINAL_WIDTH = T.let(T.unsafe(nil), Integer)
|
||||
RuboCop::Formatter::PacmanFormatter::GHOST = T.let(T.unsafe(nil), String)
|
||||
RuboCop::Formatter::PacmanFormatter::PACDOT = T.let(T.unsafe(nil), Rainbow::NullPresenter)
|
||||
RuboCop::Formatter::PacmanFormatter::PACMAN = T.let(T.unsafe(nil), Rainbow::NullPresenter)
|
||||
RuboCop::Formatter::PacmanFormatter::PACDOT = T.let(T.unsafe(nil), Rainbow::Presenter)
|
||||
RuboCop::Formatter::PacmanFormatter::PACMAN = T.let(T.unsafe(nil), Rainbow::Presenter)
|
||||
|
||||
class RuboCop::Formatter::ProgressFormatter < ::RuboCop::Formatter::ClangStyleFormatter
|
||||
include ::RuboCop::Formatter::TextUtil
|
||||
|
||||
@ -1,9 +1,9 @@
|
||||
# typed: true
|
||||
|
||||
# DO NOT EDIT MANUALLY
|
||||
# This is an autogenerated file for types exported from the `ruby-progressbar` gem.
|
||||
# Please instead update this file by running `bin/tapioca gem ruby-progressbar`.
|
||||
|
||||
# typed: true
|
||||
|
||||
class ProgressBar
|
||||
class << self
|
||||
def create(*args); end
|
||||
|
||||
@ -1,9 +1,9 @@
|
||||
# typed: true
|
||||
|
||||
# DO NOT EDIT MANUALLY
|
||||
# This is an autogenerated file for types exported from the `rubyntlm` gem.
|
||||
# Please instead update this file by running `bin/tapioca gem rubyntlm`.
|
||||
|
||||
# typed: true
|
||||
|
||||
module Net::NTLM
|
||||
class << self
|
||||
def apply_des(plain, keys); end
|
||||
|
||||
@ -1,9 +1,9 @@
|
||||
# typed: true
|
||||
|
||||
# DO NOT EDIT MANUALLY
|
||||
# This is an autogenerated file for types exported from the `simplecov-html` gem.
|
||||
# Please instead update this file by running `bin/tapioca gem simplecov-html`.
|
||||
|
||||
# typed: true
|
||||
|
||||
module SimpleCov
|
||||
extend ::SimpleCov::Configuration
|
||||
|
||||
|
||||
@ -1,9 +1,9 @@
|
||||
# typed: true
|
||||
|
||||
# DO NOT EDIT MANUALLY
|
||||
# This is an autogenerated file for types exported from the `simplecov` gem.
|
||||
# Please instead update this file by running `bin/tapioca gem simplecov`.
|
||||
|
||||
# typed: true
|
||||
|
||||
module SimpleCov
|
||||
extend ::SimpleCov::Configuration
|
||||
|
||||
|
||||
@ -1,8 +1,8 @@
|
||||
# typed: true
|
||||
|
||||
# DO NOT EDIT MANUALLY
|
||||
# This is an autogenerated file for types exported from the `sorbet-runtime-stub` gem.
|
||||
# Please instead update this file by running `bin/tapioca gem sorbet-runtime-stub`.
|
||||
|
||||
# typed: true
|
||||
|
||||
# THIS IS AN EMPTY RBI FILE.
|
||||
# see https://github.com/Shopify/tapioca/wiki/Manual-Gem-Requires
|
||||
|
||||
@ -592,7 +592,7 @@ class Tapioca::Dsl::Compiler
|
||||
|
||||
abstract!
|
||||
|
||||
ConstantType = type_member(upper: Module)
|
||||
ConstantType = type_member { { upper: Module } }
|
||||
|
||||
sig { params(pipeline: ::Tapioca::Dsl::Pipeline, root: ::RBI::Tree, constant: ConstantType).void }
|
||||
def initialize(pipeline, root, constant); end
|
||||
|
||||
@ -1,9 +1,9 @@
|
||||
# typed: true
|
||||
|
||||
# DO NOT EDIT MANUALLY
|
||||
# This is an autogenerated file for types exported from the `tzinfo` gem.
|
||||
# Please instead update this file by running `bin/tapioca gem tzinfo`.
|
||||
|
||||
# typed: true
|
||||
|
||||
module TZInfo; end
|
||||
|
||||
class TZInfo::AbsoluteDayOfYearTransitionRule < ::TZInfo::DayOfYearTransitionRule
|
||||
|
||||
@ -1,9 +1,9 @@
|
||||
# typed: true
|
||||
|
||||
# DO NOT EDIT MANUALLY
|
||||
# This is an autogenerated file for types exported from the `unf` gem.
|
||||
# Please instead update this file by running `bin/tapioca gem unf`.
|
||||
|
||||
# typed: true
|
||||
|
||||
module UNF; end
|
||||
|
||||
class UNF::Normalizer
|
||||
|
||||
@ -1,9 +1,9 @@
|
||||
# typed: true
|
||||
|
||||
# DO NOT EDIT MANUALLY
|
||||
# This is an autogenerated file for types exported from the `unicode-display_width` gem.
|
||||
# Please instead update this file by running `bin/tapioca gem unicode-display_width`.
|
||||
|
||||
# typed: true
|
||||
|
||||
module Unicode; end
|
||||
|
||||
class Unicode::DisplayWidth
|
||||
|
||||
@ -1,9 +1,9 @@
|
||||
# typed: true
|
||||
|
||||
# DO NOT EDIT MANUALLY
|
||||
# This is an autogenerated file for types exported from the `uri_template` gem.
|
||||
# Please instead update this file by running `bin/tapioca gem uri_template`.
|
||||
|
||||
# typed: true
|
||||
|
||||
module URITemplate
|
||||
extend ::URITemplate::ClassMethods
|
||||
|
||||
|
||||
@ -1,9 +1,9 @@
|
||||
# typed: true
|
||||
|
||||
# DO NOT EDIT MANUALLY
|
||||
# This is an autogenerated file for types exported from the `warning` gem.
|
||||
# Please instead update this file by running `bin/tapioca gem warning`.
|
||||
|
||||
# typed: true
|
||||
|
||||
module Warning
|
||||
extend ::Warning
|
||||
extend ::Warning::Processor
|
||||
|
||||
@ -1,9 +1,9 @@
|
||||
# typed: true
|
||||
|
||||
# DO NOT EDIT MANUALLY
|
||||
# This is an autogenerated file for types exported from the `webrick` gem.
|
||||
# Please instead update this file by running `bin/tapioca gem webrick`.
|
||||
|
||||
# typed: true
|
||||
|
||||
module WEBrick::AccessLog
|
||||
private
|
||||
|
||||
|
||||
@ -8,10 +8,10 @@ module YARDSorbet; end
|
||||
|
||||
module YARDSorbet::Directives
|
||||
class << self
|
||||
sig { params(docstring: String, directives: T::Array[String]).void }
|
||||
sig { params(docstring: ::String, directives: T::Array[::String]).void }
|
||||
def add_directives(docstring, directives); end
|
||||
|
||||
sig { params(docstring: T.nilable(String)).returns([YARD::Docstring, T::Array[String]]) }
|
||||
sig { params(docstring: T.nilable(::String)).returns([::YARD::Docstring, T::Array[::String]]) }
|
||||
def extract_directives(docstring); end
|
||||
end
|
||||
end
|
||||
@ -32,7 +32,7 @@ class YARDSorbet::Handlers::EnumsHandler < ::YARD::Handlers::Ruby::Base
|
||||
|
||||
private
|
||||
|
||||
sig { params(node: YARD::Parser::Ruby::AstNode).returns(T::Boolean) }
|
||||
sig { params(node: ::YARD::Parser::Ruby::AstNode).returns(T::Boolean) }
|
||||
def const_assign_node?(node); end
|
||||
end
|
||||
|
||||
@ -42,7 +42,7 @@ class YARDSorbet::Handlers::IncludeHandler < ::YARD::Handlers::Ruby::Base
|
||||
|
||||
private
|
||||
|
||||
sig { returns(YARD::CodeObjects::NamespaceObject) }
|
||||
sig { returns(::YARD::CodeObjects::NamespaceObject) }
|
||||
def included_in; end
|
||||
end
|
||||
|
||||
@ -51,7 +51,7 @@ class YARDSorbet::Handlers::MixesInClassMethodsHandler < ::YARD::Handlers::Ruby:
|
||||
def process; end
|
||||
|
||||
class << self
|
||||
sig { params(code_obj: String).returns(T.nilable(String)) }
|
||||
sig { params(code_obj: ::String).returns(T.nilable(::String)) }
|
||||
def mixed_in_class_methods(code_obj); end
|
||||
end
|
||||
end
|
||||
@ -62,13 +62,19 @@ class YARDSorbet::Handlers::SigHandler < ::YARD::Handlers::Ruby::Base
|
||||
|
||||
private
|
||||
|
||||
sig { params(method_node: YARD::Parser::Ruby::AstNode, node: YARD::Parser::Ruby::AstNode, docstring: YARD::Docstring).void }
|
||||
sig do
|
||||
params(
|
||||
method_node: ::YARD::Parser::Ruby::AstNode,
|
||||
node: ::YARD::Parser::Ruby::AstNode,
|
||||
docstring: ::YARD::Docstring
|
||||
).void
|
||||
end
|
||||
def parse_params(method_node, node, docstring); end
|
||||
|
||||
sig { params(node: YARD::Parser::Ruby::AstNode, docstring: YARD::Docstring).void }
|
||||
sig { params(node: ::YARD::Parser::Ruby::AstNode, docstring: ::YARD::Docstring).void }
|
||||
def parse_return(node, docstring); end
|
||||
|
||||
sig { params(method_node: YARD::Parser::Ruby::AstNode, docstring: YARD::Docstring).void }
|
||||
sig { params(method_node: ::YARD::Parser::Ruby::AstNode, docstring: ::YARD::Docstring).void }
|
||||
def parse_sig(method_node, docstring); end
|
||||
end
|
||||
|
||||
@ -80,13 +86,20 @@ module YARDSorbet::Handlers::StructClassHandler
|
||||
|
||||
private
|
||||
|
||||
sig { params(object: YARD::CodeObjects::MethodObject, props: T::Array[YARDSorbet::TStructProp], docstring: YARD::Docstring, directives: T::Array[String]).void }
|
||||
sig do
|
||||
params(
|
||||
object: ::YARD::CodeObjects::MethodObject,
|
||||
props: T::Array[::YARDSorbet::TStructProp],
|
||||
docstring: ::YARD::Docstring,
|
||||
directives: T::Array[::String]
|
||||
).void
|
||||
end
|
||||
def decorate_t_struct_init(object, props, docstring, directives); end
|
||||
|
||||
sig { params(props: T::Array[YARDSorbet::TStructProp], class_ns: YARD::CodeObjects::ClassObject).void }
|
||||
sig { params(props: T::Array[::YARDSorbet::TStructProp], class_ns: ::YARD::CodeObjects::ClassObject).void }
|
||||
def process_t_struct_props(props, class_ns); end
|
||||
|
||||
sig { params(props: T::Array[YARDSorbet::TStructProp]).returns(T::Array[[String, T.nilable(String)]]) }
|
||||
sig { params(props: T::Array[::YARDSorbet::TStructProp]).returns(T::Array[[::String, T.nilable(::String)]]) }
|
||||
def to_object_parameters(props); end
|
||||
end
|
||||
|
||||
@ -96,90 +109,99 @@ class YARDSorbet::Handlers::StructPropHandler < ::YARD::Handlers::Ruby::Base
|
||||
|
||||
private
|
||||
|
||||
sig { params(object: YARD::CodeObjects::MethodObject, prop: YARDSorbet::TStructProp).void }
|
||||
sig { params(object: ::YARD::CodeObjects::MethodObject, prop: ::YARDSorbet::TStructProp).void }
|
||||
def decorate_object(object, prop); end
|
||||
|
||||
sig { returns(T.nilable(String)) }
|
||||
sig { returns(T.nilable(::String)) }
|
||||
def default_value; end
|
||||
|
||||
sig { params(name: String).returns(YARDSorbet::TStructProp) }
|
||||
sig { params(name: ::String).returns(::YARDSorbet::TStructProp) }
|
||||
def make_prop(name); end
|
||||
|
||||
sig { params(object: YARD::CodeObjects::MethodObject, name: String).void }
|
||||
sig { params(object: ::YARD::CodeObjects::MethodObject, name: ::String).void }
|
||||
def register_attrs(object, name); end
|
||||
|
||||
sig { params(prop: YARDSorbet::TStructProp).void }
|
||||
sig { params(prop: ::YARDSorbet::TStructProp).void }
|
||||
def update_state(prop); end
|
||||
end
|
||||
|
||||
module YARDSorbet::NodeUtils
|
||||
class << self
|
||||
sig { params(node: YARD::Parser::Ruby::AstNode, _blk: T.proc.params(n: YARD::Parser::Ruby::AstNode).void).void }
|
||||
sig do
|
||||
params(
|
||||
node: ::YARD::Parser::Ruby::AstNode,
|
||||
_blk: T.proc.params(n: ::YARD::Parser::Ruby::AstNode).void
|
||||
).void
|
||||
end
|
||||
def bfs_traverse(node, &_blk); end
|
||||
|
||||
sig { params(node: YARD::Parser::Ruby::AstNode).returns(T.any(YARD::Parser::Ruby::MethodCallNode, YARD::Parser::Ruby::MethodDefinitionNode)) }
|
||||
sig do
|
||||
params(
|
||||
node: ::YARD::Parser::Ruby::AstNode
|
||||
).returns(T.any(::YARD::Parser::Ruby::MethodCallNode, ::YARD::Parser::Ruby::MethodDefinitionNode))
|
||||
end
|
||||
def get_method_node(node); end
|
||||
|
||||
sig { params(node: YARD::Parser::Ruby::AstNode).returns(YARD::Parser::Ruby::AstNode) }
|
||||
sig { params(node: ::YARD::Parser::Ruby::AstNode).returns(::YARD::Parser::Ruby::AstNode) }
|
||||
def sibling_node(node); end
|
||||
end
|
||||
end
|
||||
|
||||
YARDSorbet::NodeUtils::ATTRIBUTE_METHODS = T.let(T.unsafe(nil), Array)
|
||||
YARDSorbet::NodeUtils::SIGABLE_NODE = T.type_alias { T.any(YARD::Parser::Ruby::MethodCallNode, YARD::Parser::Ruby::MethodDefinitionNode) }
|
||||
YARDSorbet::NodeUtils::SIGABLE_NODE = T.type_alias { T.any(::YARD::Parser::Ruby::MethodCallNode, ::YARD::Parser::Ruby::MethodDefinitionNode) }
|
||||
YARDSorbet::NodeUtils::SKIP_METHOD_CONTENTS = T.let(T.unsafe(nil), Array)
|
||||
|
||||
module YARDSorbet::SigToYARD
|
||||
class << self
|
||||
sig { params(node: YARD::Parser::Ruby::AstNode).returns(T::Array[String]) }
|
||||
sig { params(node: ::YARD::Parser::Ruby::AstNode).returns(T::Array[::String]) }
|
||||
def convert(node); end
|
||||
|
||||
private
|
||||
|
||||
sig { params(node: YARD::Parser::Ruby::AstNode).returns(String) }
|
||||
sig { params(node: ::YARD::Parser::Ruby::AstNode).returns(::String) }
|
||||
def build_generic_type(node); end
|
||||
|
||||
sig { params(node: YARD::Parser::Ruby::AstNode).returns(T::Array[String]) }
|
||||
sig { params(node: ::YARD::Parser::Ruby::AstNode).returns(T::Array[::String]) }
|
||||
def convert_aref(node); end
|
||||
|
||||
sig { params(node: YARD::Parser::Ruby::AstNode).returns(T::Array[String]) }
|
||||
sig { params(node: ::YARD::Parser::Ruby::AstNode).returns(T::Array[::String]) }
|
||||
def convert_array(node); end
|
||||
|
||||
sig { params(node: YARD::Parser::Ruby::MethodCallNode).returns(T::Array[String]) }
|
||||
sig { params(node: ::YARD::Parser::Ruby::MethodCallNode).returns(T::Array[::String]) }
|
||||
def convert_call(node); end
|
||||
|
||||
sig { params(node: YARD::Parser::Ruby::AstNode).returns(T::Array[String]) }
|
||||
sig { params(node: ::YARD::Parser::Ruby::AstNode).returns(T::Array[::String]) }
|
||||
def convert_collection(node); end
|
||||
|
||||
sig { params(node: YARD::Parser::Ruby::AstNode).returns(T::Array[String]) }
|
||||
sig { params(node: ::YARD::Parser::Ruby::AstNode).returns(T::Array[::String]) }
|
||||
def convert_hash(node); end
|
||||
|
||||
sig { params(node: YARD::Parser::Ruby::AstNode).returns(T::Array[String]) }
|
||||
sig { params(node: ::YARD::Parser::Ruby::AstNode).returns(T::Array[::String]) }
|
||||
def convert_list(node); end
|
||||
|
||||
sig { params(node: YARD::Parser::Ruby::AstNode).returns(T::Array[String]) }
|
||||
sig { params(node: ::YARD::Parser::Ruby::AstNode).returns(T::Array[::String]) }
|
||||
def convert_node(node); end
|
||||
|
||||
sig { params(node: YARD::Parser::Ruby::AstNode).returns(T::Array[String]) }
|
||||
sig { params(node: ::YARD::Parser::Ruby::AstNode).returns(T::Array[::String]) }
|
||||
def convert_node_type(node); end
|
||||
|
||||
sig { params(node: YARD::Parser::Ruby::AstNode).returns(T::Array[String]) }
|
||||
sig { params(node: ::YARD::Parser::Ruby::AstNode).returns(T::Array[::String]) }
|
||||
def convert_ref(node); end
|
||||
|
||||
sig { params(node: YARD::Parser::Ruby::MethodCallNode).returns(T::Array[String]) }
|
||||
sig { params(node: ::YARD::Parser::Ruby::MethodCallNode).returns(T::Array[::String]) }
|
||||
def convert_t_method(node); end
|
||||
|
||||
sig { params(node: YARD::Parser::Ruby::AstNode).returns(T::Array[String]) }
|
||||
sig { params(node: ::YARD::Parser::Ruby::AstNode).returns(T::Array[::String]) }
|
||||
def convert_unknown(node); end
|
||||
end
|
||||
end
|
||||
|
||||
class YARDSorbet::TStructProp < ::T::Struct
|
||||
const :default, T.nilable(String)
|
||||
const :doc, String
|
||||
const :prop_name, String
|
||||
const :source, String
|
||||
const :types, T::Array[String]
|
||||
const :default, T.nilable(::String)
|
||||
const :doc, ::String
|
||||
const :prop_name, ::String
|
||||
const :source, ::String
|
||||
const :types, T::Array[::String]
|
||||
|
||||
class << self
|
||||
def inherited(s); end
|
||||
@ -188,10 +210,24 @@ end
|
||||
|
||||
module YARDSorbet::TagUtils
|
||||
class << self
|
||||
sig { params(docstring: YARD::Docstring, tag_name: String, name: T.nilable(String)).returns(T.nilable(YARD::Tags::Tag)) }
|
||||
sig do
|
||||
params(
|
||||
docstring: ::YARD::Docstring,
|
||||
tag_name: ::String,
|
||||
name: T.nilable(::String)
|
||||
).returns(T.nilable(::YARD::Tags::Tag))
|
||||
end
|
||||
def find_tag(docstring, tag_name, name); end
|
||||
|
||||
sig { params(docstring: YARD::Docstring, tag_name: String, types: T.nilable(T::Array[String]), name: T.nilable(String), text: String).void }
|
||||
sig do
|
||||
params(
|
||||
docstring: ::YARD::Docstring,
|
||||
tag_name: ::String,
|
||||
types: T.nilable(T::Array[::String]),
|
||||
name: T.nilable(::String),
|
||||
text: ::String
|
||||
).void
|
||||
end
|
||||
def upsert_tag(docstring, tag_name, types = T.unsafe(nil), name = T.unsafe(nil), text = T.unsafe(nil)); end
|
||||
end
|
||||
end
|
||||
|
||||
@ -79,6 +79,37 @@ end
|
||||
Gem::USE_BUNDLER_FOR_GEMDEPS = T.let(T.unsafe(nil), TrueClass)
|
||||
Gem::UnsatisfiableDepedencyError = Gem::UnsatisfiableDependencyError
|
||||
|
||||
class IRB::SLex
|
||||
def initialize; end
|
||||
|
||||
def create(token, preproc = T.unsafe(nil), postproc = T.unsafe(nil)); end
|
||||
def def_rule(token, preproc = T.unsafe(nil), postproc = T.unsafe(nil), &block); end
|
||||
def def_rules(*tokens, &block); end
|
||||
def inspect; end
|
||||
def match(token); end
|
||||
def postproc(token); end
|
||||
def preproc(token, proc); end
|
||||
def search(token); end
|
||||
end
|
||||
|
||||
IRB::SLex::DOUT = T.let(T.unsafe(nil), IRB::Notifier::CompositeNotifier)
|
||||
IRB::SLex::D_DEBUG = T.let(T.unsafe(nil), IRB::Notifier::LeveledNotifier)
|
||||
IRB::SLex::D_DETAIL = T.let(T.unsafe(nil), IRB::Notifier::LeveledNotifier)
|
||||
IRB::SLex::D_WARN = T.let(T.unsafe(nil), IRB::Notifier::LeveledNotifier)
|
||||
|
||||
class IRB::SLex::Node
|
||||
def initialize(preproc = T.unsafe(nil), postproc = T.unsafe(nil)); end
|
||||
|
||||
def create_subnode(chrs, preproc = T.unsafe(nil), postproc = T.unsafe(nil)); end
|
||||
def match(chrs, op = T.unsafe(nil)); end
|
||||
def match_io(io, op = T.unsafe(nil)); end
|
||||
def postproc; end
|
||||
def postproc=(_arg0); end
|
||||
def preproc; end
|
||||
def preproc=(_arg0); end
|
||||
def search(chrs, opt = T.unsafe(nil)); end
|
||||
end
|
||||
|
||||
class Insertion
|
||||
def initialize(list, value); end
|
||||
|
||||
@ -93,11 +124,39 @@ class Insertion
|
||||
end
|
||||
|
||||
class Module
|
||||
include ::ActiveSupport::Dependencies::ModuleConstMissing
|
||||
|
||||
def class_name; end
|
||||
end
|
||||
|
||||
Module::DELEGATION_RESERVED_KEYWORDS = T.let(T.unsafe(nil), Array)
|
||||
Module::DELEGATION_RESERVED_METHOD_NAMES = T.let(T.unsafe(nil), Set)
|
||||
Module::RUBY_RESERVED_KEYWORDS = T.let(T.unsafe(nil), Array)
|
||||
RUBY19 = T.let(T.unsafe(nil), TrueClass)
|
||||
|
||||
class Rack::Request
|
||||
include ::Rack::Request::Env
|
||||
include ::Rack::Request::Helpers
|
||||
|
||||
def initialize(env); end
|
||||
|
||||
def delete_param(k); end
|
||||
def params; end
|
||||
def query; end
|
||||
def update_param(k, v); end
|
||||
def version_supplied; end
|
||||
def version_supplied=(_arg0); end
|
||||
def xhr?; end
|
||||
|
||||
class << self
|
||||
def ip_filter; end
|
||||
def ip_filter=(_arg0); end
|
||||
end
|
||||
end
|
||||
|
||||
Rack::Request::ALLOWED_SCHEMES = T.let(T.unsafe(nil), Array)
|
||||
Rack::Request::SCHEME_WHITELIST = T.let(T.unsafe(nil), Array)
|
||||
|
||||
class String
|
||||
include ::Comparable
|
||||
include ::JSON::Ext::Generator::GeneratorMethods::String
|
||||
@ -127,6 +186,14 @@ class SymbolHash < ::Hash
|
||||
end
|
||||
end
|
||||
|
||||
class WEBrick::HTTPRequest
|
||||
def version_supplied; end
|
||||
def version_supplied=(_arg0); end
|
||||
def xhr?; end
|
||||
end
|
||||
|
||||
WEBrick::HTTPRequest::MAX_HEADER_LENGTH = T.let(T.unsafe(nil), Integer)
|
||||
|
||||
module YARD
|
||||
class << self
|
||||
def load_plugins; end
|
||||
@ -504,7 +571,11 @@ end
|
||||
|
||||
YARD::CLI::YardoptsCommand::DEFAULT_YARDOPTS_FILE = T.let(T.unsafe(nil), String)
|
||||
YARD::CONFIG_DIR = T.let(T.unsafe(nil), String)
|
||||
module YARD::CodeObjects; end
|
||||
|
||||
module YARD::CodeObjects
|
||||
extend ::YARD::CodeObjects::NamespaceMapper
|
||||
end
|
||||
|
||||
YARD::CodeObjects::BUILTIN_ALL = T.let(T.unsafe(nil), Array)
|
||||
YARD::CodeObjects::BUILTIN_CLASSES = T.let(T.unsafe(nil), Array)
|
||||
YARD::CodeObjects::BUILTIN_EXCEPTIONS = T.let(T.unsafe(nil), Array)
|
||||
|
||||
@ -2938,24 +2938,6 @@ class IRB::SLex
|
||||
def Fail(err=T.unsafe(nil), *rest); end
|
||||
|
||||
def Raise(err=T.unsafe(nil), *rest); end
|
||||
|
||||
def create(token, preproc=T.unsafe(nil), postproc=T.unsafe(nil)); end
|
||||
|
||||
def def_rule(token, preproc=T.unsafe(nil), postproc=T.unsafe(nil), &block); end
|
||||
|
||||
def def_rules(*tokens, &block); end
|
||||
|
||||
def match(token); end
|
||||
|
||||
def postproc(token); end
|
||||
|
||||
def preproc(token, proc); end
|
||||
|
||||
def search(token); end
|
||||
DOUT = ::T.let(nil, ::T.untyped)
|
||||
D_DEBUG = ::T.let(nil, ::T.untyped)
|
||||
D_DETAIL = ::T.let(nil, ::T.untyped)
|
||||
D_WARN = ::T.let(nil, ::T.untyped)
|
||||
end
|
||||
|
||||
class IRB::SLex::ErrNodeAlreadyExists
|
||||
@ -2970,29 +2952,6 @@ end
|
||||
class IRB::SLex::ErrNodeNothing
|
||||
end
|
||||
|
||||
class IRB::SLex::Node
|
||||
def create_subnode(chrs, preproc=T.unsafe(nil), postproc=T.unsafe(nil)); end
|
||||
|
||||
def initialize(preproc=T.unsafe(nil), postproc=T.unsafe(nil)); end
|
||||
|
||||
def match(chrs, op=T.unsafe(nil)); end
|
||||
|
||||
def match_io(io, op=T.unsafe(nil)); end
|
||||
|
||||
def postproc(); end
|
||||
|
||||
def postproc=(postproc); end
|
||||
|
||||
def preproc(); end
|
||||
|
||||
def preproc=(preproc); end
|
||||
|
||||
def search(chrs, opt=T.unsafe(nil)); end
|
||||
end
|
||||
|
||||
class IRB::SLex::Node
|
||||
end
|
||||
|
||||
class IRB::SLex
|
||||
extend ::Exception2MessageMapper
|
||||
def self.included(mod); end
|
||||
@ -3931,7 +3890,7 @@ class Parlour::Conversion::Converter
|
||||
extend ::T::Private::Methods::SingletonMethodHooks
|
||||
end
|
||||
|
||||
module Parlour::Debugging::Tree
|
||||
class Parlour::Debugging::Tree
|
||||
extend ::T::Sig
|
||||
extend ::T::Private::Methods::MethodHooks
|
||||
extend ::T::Private::Methods::SingletonMethodHooks
|
||||
@ -3949,6 +3908,14 @@ class Parlour::Generator
|
||||
extend ::T::Private::Methods::SingletonMethodHooks
|
||||
end
|
||||
|
||||
module Parlour::Mixin::Searchable
|
||||
extend ::T::Sig
|
||||
extend ::T::Private::Abstract::Hooks
|
||||
extend ::T::InterfaceWrapper::Helpers
|
||||
extend ::T::Private::Methods::MethodHooks
|
||||
extend ::T::Private::Methods::SingletonMethodHooks
|
||||
end
|
||||
|
||||
class Parlour::Options
|
||||
extend ::T::Sig
|
||||
extend ::T::Private::Methods::MethodHooks
|
||||
@ -4330,14 +4297,6 @@ end
|
||||
class Racc::CparseParams
|
||||
end
|
||||
|
||||
class Rack::Request
|
||||
def query(); end
|
||||
|
||||
def version_supplied(); end
|
||||
|
||||
def version_supplied=(version_supplied); end
|
||||
end
|
||||
|
||||
class Random
|
||||
def self.bytes(arg); end
|
||||
end
|
||||
@ -5239,11 +5198,6 @@ class RuboCop::Cop::FormulaCop
|
||||
def required_dependency_name?(param0, param1); end
|
||||
end
|
||||
|
||||
class RuboCop::Cop::Style::MutableConstant
|
||||
include ::RuboCop::Cop::Sorbet::MutableConstantSorbetAwareBehaviour
|
||||
def t_let(param0=T.unsafe(nil)); end
|
||||
end
|
||||
|
||||
module RuboCop::RSpec::ExpectOffense
|
||||
def expect_correction(correction, loop: T.unsafe(nil), source: T.unsafe(nil)); end
|
||||
|
||||
@ -7204,14 +7158,6 @@ class Version
|
||||
extend ::T::Private::Methods::SingletonMethodHooks
|
||||
end
|
||||
|
||||
class WEBrick::HTTPRequest
|
||||
def version_supplied(); end
|
||||
|
||||
def version_supplied=(version_supplied); end
|
||||
|
||||
def xhr?(); end
|
||||
end
|
||||
|
||||
class WeakRef
|
||||
def initialize(orig); end
|
||||
end
|
||||
@ -7423,10 +7369,6 @@ end
|
||||
module Webrobots
|
||||
end
|
||||
|
||||
module YARD::CodeObjects
|
||||
extend ::YARD::CodeObjects::NamespaceMapper
|
||||
end
|
||||
|
||||
module YARDSorbet::Directives
|
||||
extend ::T::Sig
|
||||
extend ::T::Private::Methods::MethodHooks
|
||||
|
||||
@ -58,8 +58,8 @@ $:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/parallel-1.22.1/lib"
|
||||
$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/parallel_tests-3.8.1/lib"
|
||||
$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/parser-3.1.2.0/lib"
|
||||
$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/rainbow-3.1.1/lib"
|
||||
$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/sorbet-runtime-0.5.9889/lib"
|
||||
$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/parlour-6.0.1/lib"
|
||||
$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/sorbet-runtime-0.5.9959/lib"
|
||||
$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/parlour-7.0.0/lib"
|
||||
$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/patchelf-1.3.0/lib"
|
||||
$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/plist-3.6.0/lib"
|
||||
$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/pry-0.14.1/lib"
|
||||
@ -94,8 +94,8 @@ $:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/simplecov-html-0.12.3
|
||||
$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/simplecov_json_formatter-0.1.4/lib"
|
||||
$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/simplecov-0.21.2/lib"
|
||||
$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/simplecov-cobertura-2.1.0/lib"
|
||||
$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/sorbet-static-0.5.9889-universal-darwin-14/lib"
|
||||
$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/sorbet-0.5.9889/lib"
|
||||
$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/sorbet-static-0.5.9959-universal-darwin-14/lib"
|
||||
$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/sorbet-0.5.9959/lib"
|
||||
$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/sorbet-runtime-stub-0.2.0/lib"
|
||||
$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/thor-1.2.1/lib"
|
||||
$:.unshift "#{path}/../#{ruby_engine}/#{ruby_version}/gems/spoom-1.1.11/lib"
|
||||
|
||||
@ -1965,6 +1965,7 @@ _brew_tc() {
|
||||
case "${cur}" in
|
||||
-*)
|
||||
__brewcomp "
|
||||
--all
|
||||
--debug
|
||||
--dir
|
||||
--fail-if-not-changed
|
||||
@ -2033,6 +2034,7 @@ _brew_typecheck() {
|
||||
case "${cur}" in
|
||||
-*)
|
||||
__brewcomp "
|
||||
--all
|
||||
--debug
|
||||
--dir
|
||||
--fail-if-not-changed
|
||||
|
||||
@ -1333,6 +1333,7 @@ __fish_brew_complete_arg 'tap-new' -a '(__fish_brew_suggest_taps_installed)'
|
||||
|
||||
|
||||
__fish_brew_complete_cmd 'tc' 'Check for typechecking errors using Sorbet'
|
||||
__fish_brew_complete_arg 'tc' -l all -d 'Regenerate all RBI files rather than just updated gems'
|
||||
__fish_brew_complete_arg 'tc' -l debug -d 'Display any debugging information'
|
||||
__fish_brew_complete_arg 'tc' -l dir -d 'Typecheck all files in a specific directory'
|
||||
__fish_brew_complete_arg 'tc' -l fail-if-not-changed -d 'Return a failing status code if all gems are up to date and gem definitions do not need a tapioca update'
|
||||
@ -1374,6 +1375,7 @@ __fish_brew_complete_arg 'tests' -l verbose -d 'Make some output more verbose'
|
||||
|
||||
|
||||
__fish_brew_complete_cmd 'typecheck' 'Check for typechecking errors using Sorbet'
|
||||
__fish_brew_complete_arg 'typecheck' -l all -d 'Regenerate all RBI files rather than just updated gems'
|
||||
__fish_brew_complete_arg 'typecheck' -l debug -d 'Display any debugging information'
|
||||
__fish_brew_complete_arg 'typecheck' -l dir -d 'Typecheck all files in a specific directory'
|
||||
__fish_brew_complete_arg 'typecheck' -l fail-if-not-changed -d 'Return a failing status code if all gems are up to date and gem definitions do not need a tapioca update'
|
||||
|
||||
@ -1631,6 +1631,7 @@ _brew_tap_new() {
|
||||
# brew tc
|
||||
_brew_tc() {
|
||||
_arguments \
|
||||
'--all[Regenerate all RBI files rather than just updated gems]' \
|
||||
'--debug[Display any debugging information]' \
|
||||
'(--file)--dir[Typecheck all files in a specific directory]' \
|
||||
'--fail-if-not-changed[Return a failing status code if all gems are up to date and gem definitions do not need a tapioca update]' \
|
||||
@ -1679,6 +1680,7 @@ _brew_tests() {
|
||||
# brew typecheck
|
||||
_brew_typecheck() {
|
||||
_arguments \
|
||||
'--all[Regenerate all RBI files rather than just updated gems]' \
|
||||
'--debug[Display any debugging information]' \
|
||||
'(--file)--dir[Typecheck all files in a specific directory]' \
|
||||
'--fail-if-not-changed[Return a failing status code if all gems are up to date and gem definitions do not need a tapioca update]' \
|
||||
|
||||
@ -1478,6 +1478,8 @@ Check for typechecking errors using Sorbet.
|
||||
Silence all non-critical errors.
|
||||
* `--update`:
|
||||
Update RBI files.
|
||||
* `--all`:
|
||||
Regenerate all RBI files rather than just updated gems.
|
||||
* `--suggest-typed`:
|
||||
Try upgrading `typed` sigils.
|
||||
* `--fail-if-not-changed`:
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
.\" generated with Ronn/v0.7.3
|
||||
.\" http://github.com/rtomayko/ronn/tree/0.7.3
|
||||
.
|
||||
.TH "BREW" "1" "March 2022" "Homebrew" "brew"
|
||||
.TH "BREW" "1" "May 2022" "Homebrew" "brew"
|
||||
.
|
||||
.SH "NAME"
|
||||
\fBbrew\fR \- The Missing Package Manager for macOS (or Linux)
|
||||
@ -2106,6 +2106,10 @@ Silence all non\-critical errors\.
|
||||
Update RBI files\.
|
||||
.
|
||||
.TP
|
||||
\fB\-\-all\fR
|
||||
Regenerate all RBI files rather than just updated gems\.
|
||||
.
|
||||
.TP
|
||||
\fB\-\-suggest\-typed\fR
|
||||
Try upgrading \fBtyped\fR sigils\.
|
||||
.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user