Renegerate all RBI files for new Sorbet

This commit is contained in:
Bo Anderson 2022-05-02 20:59:59 +01:00
parent 2ca517c79a
commit bb38f4bd5f
No known key found for this signature in database
GPG Key ID: 3DB94E204E137D65
48 changed files with 278 additions and 206 deletions

View File

@ -1,9 +1,9 @@
# typed: true
# DO NOT EDIT MANUALLY # DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `addressable` gem. # This is an autogenerated file for types exported from the `addressable` gem.
# Please instead update this file by running `bin/tapioca gem addressable`. # Please instead update this file by running `bin/tapioca gem addressable`.
# typed: true
module Addressable; end module Addressable; end
module Addressable::IDNA module Addressable::IDNA

View File

@ -1,9 +1,9 @@
# typed: true
# DO NOT EDIT MANUALLY # DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `ast` gem. # This is an autogenerated file for types exported from the `ast` gem.
# Please instead update this file by running `bin/tapioca gem ast`. # Please instead update this file by running `bin/tapioca gem ast`.
# typed: true
module AST; end module AST; end
class AST::Node class AST::Node

View File

@ -1,9 +1,9 @@
# typed: true
# DO NOT EDIT MANUALLY # DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `bindata` gem. # This is an autogenerated file for types exported from the `bindata` gem.
# Please instead update this file by running `bin/tapioca gem bindata`. # Please instead update this file by running `bin/tapioca gem bindata`.
# typed: true
module BinData module BinData
extend ::BinData::BitFieldFactory extend ::BinData::BitFieldFactory
extend ::BinData::IntFactory extend ::BinData::IntFactory

View File

@ -1,9 +1,9 @@
# typed: true
# DO NOT EDIT MANUALLY # DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `byebug` gem. # This is an autogenerated file for types exported from the `byebug` gem.
# Please instead update this file by running `bin/tapioca gem byebug`. # Please instead update this file by running `bin/tapioca gem byebug`.
# typed: true
module Byebug module Byebug
class << self class << self
def attach; end def attach; end

View File

@ -1,9 +1,9 @@
# typed: true
# DO NOT EDIT MANUALLY # DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `coderay` gem. # This is an autogenerated file for types exported from the `coderay` gem.
# Please instead update this file by running `bin/tapioca gem coderay`. # Please instead update this file by running `bin/tapioca gem coderay`.
# typed: true
module CodeRay module CodeRay
class << self class << self
def coderay_path(*path); end def coderay_path(*path); end

View File

@ -1,8 +1,10 @@
# typed: true
# DO NOT EDIT MANUALLY # DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `commander` gem. # This is an autogenerated file for types exported from the `commander` gem.
# Please instead update this file by running `bin/tapioca gem commander`. # Please instead update this file by running `bin/tapioca gem commander`.
# typed: true ::RUBY19 = T.let(T.unsafe(nil), TrueClass)
module Blank module Blank
class << self class << self
@ -253,14 +255,14 @@ end
Commander::VERSION = T.let(T.unsafe(nil), String) Commander::VERSION = T.let(T.unsafe(nil), String)
class Object < ::BasicObject class Object < ::BasicObject
include ::ActiveSupport::ToJsonWithActiveSupportEncoder
include ::ActiveSupport::ForkTracker::CoreExt include ::ActiveSupport::ForkTracker::CoreExt
include ::ActiveSupport::ForkTracker::CoreExtPrivate include ::ActiveSupport::ForkTracker::CoreExtPrivate
include ::ActiveSupport::ToJsonWithActiveSupportEncoder
include ::Kernel include ::Kernel
include ::JSON::Ext::Generator::GeneratorMethods::Object include ::JSON::Ext::Generator::GeneratorMethods::Object
include ::PP::ObjectMixin include ::PP::ObjectMixin
include ::ActiveSupport::Tryable
include ::ActiveSupport::Dependencies::Loadable include ::ActiveSupport::Dependencies::Loadable
include ::ActiveSupport::Tryable
def get_binding; end def get_binding; end
end end

View File

@ -1,9 +1,9 @@
# typed: true
# DO NOT EDIT MANUALLY # DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `connection_pool` gem. # 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`. # Please instead update this file by running `bin/tapioca gem connection_pool`.
# typed: true
class ConnectionPool class ConnectionPool
def initialize(options = T.unsafe(nil), &block); end def initialize(options = T.unsafe(nil), &block); end

View File

@ -1,9 +1,9 @@
# typed: true
# DO NOT EDIT MANUALLY # DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `docile` gem. # This is an autogenerated file for types exported from the `docile` gem.
# Please instead update this file by running `bin/tapioca gem docile`. # Please instead update this file by running `bin/tapioca gem docile`.
# typed: true
module Docile module Docile
extend ::Docile::Execution extend ::Docile::Execution

View File

@ -1,9 +1,9 @@
# typed: true
# DO NOT EDIT MANUALLY # DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `domain_name` gem. # 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`. # Please instead update this file by running `bin/tapioca gem domain_name`.
# typed: true
class DomainName class DomainName
def initialize(hostname); end def initialize(hostname); end

View File

@ -1,9 +1,9 @@
# typed: true
# DO NOT EDIT MANUALLY # DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `elftools` gem. # This is an autogenerated file for types exported from the `elftools` gem.
# Please instead update this file by running `bin/tapioca gem elftools`. # Please instead update this file by running `bin/tapioca gem elftools`.
# typed: true
module ELFTools; end module ELFTools; end
module ELFTools::Constants module ELFTools::Constants

View File

@ -1,9 +1,9 @@
# typed: true
# DO NOT EDIT MANUALLY # DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `hana` gem. # This is an autogenerated file for types exported from the `hana` gem.
# Please instead update this file by running `bin/tapioca gem hana`. # Please instead update this file by running `bin/tapioca gem hana`.
# typed: true
module Hana; end module Hana; end
class Hana::Patch class Hana::Patch

View File

@ -1,8 +1,10 @@
# typed: true
# DO NOT EDIT MANUALLY # DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `highline` gem. # This is an autogenerated file for types exported from the `highline` gem.
# Please instead update this file by running `bin/tapioca gem highline`. # Please instead update this file by running `bin/tapioca gem highline`.
# typed: true ::RUBY19 = T.let(T.unsafe(nil), TrueClass)
class HighLine class HighLine
include ::HighLine::BuiltinStyles include ::HighLine::BuiltinStyles
@ -838,14 +840,14 @@ module HighLine::Wrapper
end end
class Object < ::BasicObject class Object < ::BasicObject
include ::ActiveSupport::ToJsonWithActiveSupportEncoder
include ::ActiveSupport::ForkTracker::CoreExt include ::ActiveSupport::ForkTracker::CoreExt
include ::ActiveSupport::ForkTracker::CoreExtPrivate include ::ActiveSupport::ForkTracker::CoreExtPrivate
include ::ActiveSupport::ToJsonWithActiveSupportEncoder
include ::Kernel include ::Kernel
include ::JSON::Ext::Generator::GeneratorMethods::Object include ::JSON::Ext::Generator::GeneratorMethods::Object
include ::PP::ObjectMixin include ::PP::ObjectMixin
include ::ActiveSupport::Tryable
include ::ActiveSupport::Dependencies::Loadable include ::ActiveSupport::Dependencies::Loadable
include ::ActiveSupport::Tryable
def or_ask(*args, &details); end def or_ask(*args, &details); end
end end

View File

@ -1,8 +1,10 @@
# typed: true
# DO NOT EDIT MANUALLY # DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `hpricot` gem. # This is an autogenerated file for types exported from the `hpricot` gem.
# Please instead update this file by running `bin/tapioca gem hpricot`. # Please instead update this file by running `bin/tapioca gem hpricot`.
# typed: true ::RUBY19 = T.let(T.unsafe(nil), TrueClass)
module Hpricot module Hpricot
class << self class << self
@ -628,14 +630,14 @@ module Hpricot::XMLDecl::Trav
end end
class Object < ::BasicObject class Object < ::BasicObject
include ::ActiveSupport::ToJsonWithActiveSupportEncoder
include ::ActiveSupport::ForkTracker::CoreExt include ::ActiveSupport::ForkTracker::CoreExt
include ::ActiveSupport::ForkTracker::CoreExtPrivate include ::ActiveSupport::ForkTracker::CoreExtPrivate
include ::ActiveSupport::ToJsonWithActiveSupportEncoder
include ::Kernel include ::Kernel
include ::JSON::Ext::Generator::GeneratorMethods::Object include ::JSON::Ext::Generator::GeneratorMethods::Object
include ::PP::ObjectMixin include ::PP::ObjectMixin
include ::ActiveSupport::Tryable
include ::ActiveSupport::Dependencies::Loadable include ::ActiveSupport::Dependencies::Loadable
include ::ActiveSupport::Tryable
private private

View File

@ -1,9 +1,9 @@
# typed: true
# DO NOT EDIT MANUALLY # DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `http-cookie` gem. # 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`. # Please instead update this file by running `bin/tapioca gem http-cookie`.
# typed: true
module HTTP; end module HTTP; end
class HTTP::Cookie class HTTP::Cookie

View File

@ -1,9 +1,9 @@
# typed: true
# DO NOT EDIT MANUALLY # DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `method_source` gem. # 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`. # Please instead update this file by running `bin/tapioca gem method_source`.
# typed: true
module MethodSource module MethodSource
extend ::MethodSource::CodeHelpers extend ::MethodSource::CodeHelpers

View File

@ -1,9 +1,9 @@
# typed: true
# DO NOT EDIT MANUALLY # DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `mustache` gem. # This is an autogenerated file for types exported from the `mustache` gem.
# Please instead update this file by running `bin/tapioca gem mustache`. # Please instead update this file by running `bin/tapioca gem mustache`.
# typed: true
class Mustache class Mustache
def initialize(options = T.unsafe(nil)); end def initialize(options = T.unsafe(nil)); end

View File

@ -1,8 +1,8 @@
# typed: true
# DO NOT EDIT MANUALLY # DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `net-http-digest_auth` gem. # 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`. # Please instead update this file by running `bin/tapioca gem net-http-digest_auth`.
# typed: true
# THIS IS AN EMPTY RBI FILE. # THIS IS AN EMPTY RBI FILE.
# see https://github.com/Shopify/tapioca/wiki/Manual-Gem-Requires # see https://github.com/Shopify/tapioca/wiki/Manual-Gem-Requires

View File

@ -1,9 +1,9 @@
# typed: true
# DO NOT EDIT MANUALLY # DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `net-http-persistent` gem. # 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`. # Please instead update this file by running `bin/tapioca gem net-http-persistent`.
# typed: true
class Net::HTTP::Persistent class Net::HTTP::Persistent
def initialize(name: T.unsafe(nil), proxy: T.unsafe(nil), pool_size: T.unsafe(nil)); end def initialize(name: T.unsafe(nil), proxy: T.unsafe(nil), pool_size: T.unsafe(nil)); end

View File

@ -1,9 +1,9 @@
# typed: true
# DO NOT EDIT MANUALLY # DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `patchelf` gem. # This is an autogenerated file for types exported from the `patchelf` gem.
# Please instead update this file by running `bin/tapioca gem patchelf`. # Please instead update this file by running `bin/tapioca gem patchelf`.
# typed: true
module PatchELF; end module PatchELF; end
module PatchELF::Helper module PatchELF::Helper

View File

@ -1,9 +1,9 @@
# typed: true
# DO NOT EDIT MANUALLY # DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `plist` gem. # This is an autogenerated file for types exported from the `plist` gem.
# Please instead update this file by running `bin/tapioca gem plist`. # Please instead update this file by running `bin/tapioca gem plist`.
# typed: true
module Plist module Plist
class << self class << self
def parse_xml(filename_or_xml); end def parse_xml(filename_or_xml); end

View File

@ -1,22 +1,24 @@
# typed: true
# DO NOT EDIT MANUALLY # DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `pry` gem. # This is an autogenerated file for types exported from the `pry` gem.
# Please instead update this file by running `bin/tapioca gem pry`. # Please instead update this file by running `bin/tapioca gem pry`.
# typed: true ::RUBY19 = T.let(T.unsafe(nil), TrueClass)
class BasicObject class BasicObject
def __binding__; end def __binding__; end
end end
class Object < ::BasicObject class Object < ::BasicObject
include ::ActiveSupport::ToJsonWithActiveSupportEncoder
include ::ActiveSupport::ForkTracker::CoreExt include ::ActiveSupport::ForkTracker::CoreExt
include ::ActiveSupport::ForkTracker::CoreExtPrivate include ::ActiveSupport::ForkTracker::CoreExtPrivate
include ::ActiveSupport::ToJsonWithActiveSupportEncoder
include ::Kernel include ::Kernel
include ::JSON::Ext::Generator::GeneratorMethods::Object include ::JSON::Ext::Generator::GeneratorMethods::Object
include ::PP::ObjectMixin include ::PP::ObjectMixin
include ::ActiveSupport::Tryable
include ::ActiveSupport::Dependencies::Loadable include ::ActiveSupport::Dependencies::Loadable
include ::ActiveSupport::Tryable
def __binding__; end def __binding__; end
def pry(object = T.unsafe(nil), hash = T.unsafe(nil)); end def pry(object = T.unsafe(nil), hash = T.unsafe(nil)); end

View File

@ -1,13 +1,20 @@
# typed: true
# DO NOT EDIT MANUALLY # DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `racc` gem. # This is an autogenerated file for types exported from the `racc` gem.
# Please instead update this file by running `bin/tapioca gem racc`. # Please instead update this file by running `bin/tapioca gem racc`.
# typed: true ::RUBY19 = T.let(T.unsafe(nil), TrueClass)
class Object < ::BasicObject class Object < ::BasicObject
include ::ActiveSupport::ToJsonWithActiveSupportEncoder
include ::ActiveSupport::ForkTracker::CoreExt
include ::ActiveSupport::ForkTracker::CoreExtPrivate
include ::Kernel include ::Kernel
include ::JSON::Ext::Generator::GeneratorMethods::Object include ::JSON::Ext::Generator::GeneratorMethods::Object
include ::PP::ObjectMixin include ::PP::ObjectMixin
include ::ActiveSupport::Dependencies::Loadable
include ::ActiveSupport::Tryable
end end
ParseError = Racc::ParseError ParseError = Racc::ParseError

View File

@ -1,9 +1,9 @@
# typed: true
# DO NOT EDIT MANUALLY # DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `rack` gem. # This is an autogenerated file for types exported from the `rack` gem.
# Please instead update this file by running `bin/tapioca gem rack`. # Please instead update this file by running `bin/tapioca gem rack`.
# typed: true
module Rack module Rack
class << self class << self
def release; end def release; end
@ -934,7 +934,11 @@ class Rack::Request
def delete_param(k); end def delete_param(k); end
def params; end def params; end
def query; end
def update_param(k, v); end def update_param(k, v); end
def version_supplied; end
def version_supplied=(_arg0); end
def xhr?; end
class << self class << self
def ip_filter; end def ip_filter; end

View File

@ -1842,8 +1842,17 @@ class RBI::Tree < ::RBI::NodeWithComments
sig { params(constant: ::Module, block: T.nilable(T.proc.params(scope: ::RBI::Scope).void)).void } sig { params(constant: ::Module, block: T.nilable(T.proc.params(scope: ::RBI::Scope).void)).void }
def create_path(constant, &block); end def create_path(constant, &block); end
sig { params(name: ::String, value: ::String).void } sig do
def create_type_member(name, value: T.unsafe(nil)); end 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 } sig { params(annotation: ::String).void }
def deannotate!(annotation); end def deannotate!(annotation); end

View File

@ -1,9 +1,9 @@
# typed: true
# DO NOT EDIT MANUALLY # DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `rdiscount` gem. # This is an autogenerated file for types exported from the `rdiscount` gem.
# Please instead update this file by running `bin/tapioca gem rdiscount`. # Please instead update this file by running `bin/tapioca gem rdiscount`.
# typed: true
Markdown = RDiscount Markdown = RDiscount
class RDiscount class RDiscount

View File

@ -1,9 +1,9 @@
# typed: true
# DO NOT EDIT MANUALLY # DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `rexml` gem. # This is an autogenerated file for types exported from the `rexml` gem.
# Please instead update this file by running `bin/tapioca gem rexml`. # Please instead update this file by running `bin/tapioca gem rexml`.
# typed: true
class REXML::AttlistDecl < ::REXML::Child class REXML::AttlistDecl < ::REXML::Child
include ::Enumerable include ::Enumerable

View File

@ -1,9 +1,9 @@
# typed: true
# DO NOT EDIT MANUALLY # DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `ronn` gem. # This is an autogenerated file for types exported from the `ronn` gem.
# Please instead update this file by running `bin/tapioca gem ronn`. # Please instead update this file by running `bin/tapioca gem ronn`.
# typed: true
module Ronn module Ronn
class << self class << self
def new(filename, attributes = T.unsafe(nil), &block); end def new(filename, attributes = T.unsafe(nil), &block); end

View File

@ -1,9 +1,9 @@
# typed: true
# DO NOT EDIT MANUALLY # DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `rspec-github` gem. # 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`. # Please instead update this file by running `bin/tapioca gem rspec-github`.
# typed: true
module RSpec module RSpec
extend ::RSpec::Support::Warnings extend ::RSpec::Support::Warnings
extend ::RSpec::Core::Warnings extend ::RSpec::Core::Warnings
@ -17,6 +17,8 @@ module RSpec
def context(*args, &example_group_block); end def context(*args, &example_group_block); end
def current_example; end def current_example; end
def current_example=(example); end def current_example=(example); end
def current_scope; end
def current_scope=(scope); end
def describe(*args, &example_group_block); end def describe(*args, &example_group_block); end
def example_group(*args, &example_group_block); end def example_group(*args, &example_group_block); end
def fcontext(*args, &example_group_block); end def fcontext(*args, &example_group_block); end

View File

@ -1,9 +1,9 @@
# typed: true
# DO NOT EDIT MANUALLY # DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `rspec-its` gem. # 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`. # Please instead update this file by running `bin/tapioca gem rspec-its`.
# typed: true
module RSpec module RSpec
extend ::RSpec::Support::Warnings extend ::RSpec::Support::Warnings
extend ::RSpec::Core::Warnings extend ::RSpec::Core::Warnings
@ -17,6 +17,8 @@ module RSpec
def context(*args, &example_group_block); end def context(*args, &example_group_block); end
def current_example; end def current_example; end
def current_example=(example); end def current_example=(example); end
def current_scope; end
def current_scope=(scope); end
def describe(*args, &example_group_block); end def describe(*args, &example_group_block); end
def example_group(*args, &example_group_block); end def example_group(*args, &example_group_block); end
def fcontext(*args, &example_group_block); end def fcontext(*args, &example_group_block); end

View File

@ -1,9 +1,9 @@
# typed: true
# DO NOT EDIT MANUALLY # DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `rspec-retry` gem. # 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`. # Please instead update this file by running `bin/tapioca gem rspec-retry`.
# typed: true
module RSpec module RSpec
extend ::RSpec::Support::Warnings extend ::RSpec::Support::Warnings
extend ::RSpec::Core::Warnings extend ::RSpec::Core::Warnings
@ -17,6 +17,8 @@ module RSpec
def context(*args, &example_group_block); end def context(*args, &example_group_block); end
def current_example; end def current_example; end
def current_example=(example); end def current_example=(example); end
def current_scope; end
def current_scope=(scope); end
def describe(*args, &example_group_block); end def describe(*args, &example_group_block); end
def example_group(*args, &example_group_block); end def example_group(*args, &example_group_block); end
def fcontext(*args, &example_group_block); end def fcontext(*args, &example_group_block); end

View File

@ -17,6 +17,8 @@ module RSpec
def context(*args, &example_group_block); end def context(*args, &example_group_block); end
def current_example; end def current_example; end
def current_example=(example); end def current_example=(example); end
def current_scope; end
def current_scope=(scope); end
def describe(*args, &example_group_block); end def describe(*args, &example_group_block); end
def example_group(*args, &example_group_block); end def example_group(*args, &example_group_block); end
def fcontext(*args, &example_group_block); end def fcontext(*args, &example_group_block); end

View File

@ -1,9 +1,9 @@
# typed: true
# DO NOT EDIT MANUALLY # DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `rspec-wait` gem. # 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`. # Please instead update this file by running `bin/tapioca gem rspec-wait`.
# typed: true
module RSpec module RSpec
extend ::RSpec::Support::Warnings extend ::RSpec::Support::Warnings
extend ::RSpec::Core::Warnings extend ::RSpec::Core::Warnings
@ -17,6 +17,8 @@ module RSpec
def context(*args, &example_group_block); end def context(*args, &example_group_block); end
def current_example; end def current_example; end
def current_example=(example); end def current_example=(example); end
def current_scope; end
def current_scope=(scope); end
def describe(*args, &example_group_block); end def describe(*args, &example_group_block); end
def example_group(*args, &example_group_block); end def example_group(*args, &example_group_block); end
def fcontext(*args, &example_group_block); end def fcontext(*args, &example_group_block); end

View File

@ -2693,10 +2693,6 @@ class RuboCop::Cop::Layout::ExtraSpacing < ::RuboCop::Cop::Base
def force_equal_sign_alignment?; end def force_equal_sign_alignment?; end
def ignored_range?(ast, start_pos); end def ignored_range?(ast, start_pos); end
def ignored_ranges(ast); end def ignored_ranges(ast); end
class << self
def autocorrect_incompatible_with; end
end
end end
RuboCop::Cop::Layout::ExtraSpacing::MSG_UNALIGNED_ASGN = T.let(T.unsafe(nil), String) 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) RuboCop::Cop::Style::MultipleComparison::MSG = T.let(T.unsafe(nil), String)
class RuboCop::Cop::Style::MutableConstant < ::RuboCop::Cop::Base class RuboCop::Cop::Style::MutableConstant < ::RuboCop::Cop::Base
include ::RuboCop::Cop::Sorbet::MutableConstantSorbetAwareBehaviour
include ::RuboCop::Cop::Style::MutableConstant::ShareableConstantValue include ::RuboCop::Cop::Style::MutableConstant::ShareableConstantValue
include ::RuboCop::Cop::FrozenStringLiteral include ::RuboCop::Cop::FrozenStringLiteral
include ::RuboCop::Cop::ConfigurableEnforcedStyle 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 operation_produces_immutable_object?(param0 = T.unsafe(nil)); end
def range_enclosed_in_parentheses?(param0 = T.unsafe(nil)); end def range_enclosed_in_parentheses?(param0 = T.unsafe(nil)); end
def splat_value(param0 = T.unsafe(nil)); end def splat_value(param0 = T.unsafe(nil)); end
def t_let(param0 = T.unsafe(nil)); end
private private
@ -9724,7 +9722,6 @@ class RuboCop::Cop::Style::MutableConstant < ::RuboCop::Cop::Base
def frozen_regexp_or_range_literals?(node); end def frozen_regexp_or_range_literals?(node); end
def immutable_literal?(node); end def immutable_literal?(node); end
def mutable_literal?(value); end def mutable_literal?(value); end
def on_assignment(value); end
def requires_parentheses?(node); end def requires_parentheses?(node); end
def shareable_constant_value?(node); end def shareable_constant_value?(node); end
def strict_check(value); 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_csend(node); end
def on_send(node); end def on_send(node); end
class << self
def autocorrect_incompatible_with; end
end
end end
class RuboCop::Cop::Style::TrailingCommaInArrayLiteral < ::RuboCop::Cop::Base 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::FALLBACK_TERMINAL_WIDTH = T.let(T.unsafe(nil), Integer)
RuboCop::Formatter::PacmanFormatter::GHOST = T.let(T.unsafe(nil), String) RuboCop::Formatter::PacmanFormatter::GHOST = T.let(T.unsafe(nil), String)
RuboCop::Formatter::PacmanFormatter::PACDOT = 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::NullPresenter) RuboCop::Formatter::PacmanFormatter::PACMAN = T.let(T.unsafe(nil), Rainbow::Presenter)
class RuboCop::Formatter::ProgressFormatter < ::RuboCop::Formatter::ClangStyleFormatter class RuboCop::Formatter::ProgressFormatter < ::RuboCop::Formatter::ClangStyleFormatter
include ::RuboCop::Formatter::TextUtil include ::RuboCop::Formatter::TextUtil

View File

@ -1,9 +1,9 @@
# typed: true
# DO NOT EDIT MANUALLY # DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `ruby-progressbar` gem. # 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`. # Please instead update this file by running `bin/tapioca gem ruby-progressbar`.
# typed: true
class ProgressBar class ProgressBar
class << self class << self
def create(*args); end def create(*args); end

View File

@ -1,9 +1,9 @@
# typed: true
# DO NOT EDIT MANUALLY # DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `rubyntlm` gem. # This is an autogenerated file for types exported from the `rubyntlm` gem.
# Please instead update this file by running `bin/tapioca gem rubyntlm`. # Please instead update this file by running `bin/tapioca gem rubyntlm`.
# typed: true
module Net::NTLM module Net::NTLM
class << self class << self
def apply_des(plain, keys); end def apply_des(plain, keys); end

View File

@ -1,9 +1,9 @@
# typed: true
# DO NOT EDIT MANUALLY # DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `simplecov-html` gem. # 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`. # Please instead update this file by running `bin/tapioca gem simplecov-html`.
# typed: true
module SimpleCov module SimpleCov
extend ::SimpleCov::Configuration extend ::SimpleCov::Configuration

View File

@ -1,9 +1,9 @@
# typed: true
# DO NOT EDIT MANUALLY # DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `simplecov` gem. # This is an autogenerated file for types exported from the `simplecov` gem.
# Please instead update this file by running `bin/tapioca gem simplecov`. # Please instead update this file by running `bin/tapioca gem simplecov`.
# typed: true
module SimpleCov module SimpleCov
extend ::SimpleCov::Configuration extend ::SimpleCov::Configuration

View File

@ -1,8 +1,8 @@
# typed: true
# DO NOT EDIT MANUALLY # DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `sorbet-runtime-stub` gem. # 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`. # Please instead update this file by running `bin/tapioca gem sorbet-runtime-stub`.
# typed: true
# THIS IS AN EMPTY RBI FILE. # THIS IS AN EMPTY RBI FILE.
# see https://github.com/Shopify/tapioca/wiki/Manual-Gem-Requires # see https://github.com/Shopify/tapioca/wiki/Manual-Gem-Requires

View File

@ -592,7 +592,7 @@ class Tapioca::Dsl::Compiler
abstract! abstract!
ConstantType = type_member(upper: Module) ConstantType = type_member { { upper: Module } }
sig { params(pipeline: ::Tapioca::Dsl::Pipeline, root: ::RBI::Tree, constant: ConstantType).void } sig { params(pipeline: ::Tapioca::Dsl::Pipeline, root: ::RBI::Tree, constant: ConstantType).void }
def initialize(pipeline, root, constant); end def initialize(pipeline, root, constant); end

View File

@ -1,9 +1,9 @@
# typed: true
# DO NOT EDIT MANUALLY # DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `tzinfo` gem. # This is an autogenerated file for types exported from the `tzinfo` gem.
# Please instead update this file by running `bin/tapioca gem tzinfo`. # Please instead update this file by running `bin/tapioca gem tzinfo`.
# typed: true
module TZInfo; end module TZInfo; end
class TZInfo::AbsoluteDayOfYearTransitionRule < ::TZInfo::DayOfYearTransitionRule class TZInfo::AbsoluteDayOfYearTransitionRule < ::TZInfo::DayOfYearTransitionRule

View File

@ -1,9 +1,9 @@
# typed: true
# DO NOT EDIT MANUALLY # DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `unf` gem. # This is an autogenerated file for types exported from the `unf` gem.
# Please instead update this file by running `bin/tapioca gem unf`. # Please instead update this file by running `bin/tapioca gem unf`.
# typed: true
module UNF; end module UNF; end
class UNF::Normalizer class UNF::Normalizer

View File

@ -1,9 +1,9 @@
# typed: true
# DO NOT EDIT MANUALLY # DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `unicode-display_width` gem. # 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`. # Please instead update this file by running `bin/tapioca gem unicode-display_width`.
# typed: true
module Unicode; end module Unicode; end
class Unicode::DisplayWidth class Unicode::DisplayWidth

View File

@ -1,9 +1,9 @@
# typed: true
# DO NOT EDIT MANUALLY # DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `uri_template` gem. # 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`. # Please instead update this file by running `bin/tapioca gem uri_template`.
# typed: true
module URITemplate module URITemplate
extend ::URITemplate::ClassMethods extend ::URITemplate::ClassMethods

View File

@ -1,9 +1,9 @@
# typed: true
# DO NOT EDIT MANUALLY # DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `warning` gem. # This is an autogenerated file for types exported from the `warning` gem.
# Please instead update this file by running `bin/tapioca gem warning`. # Please instead update this file by running `bin/tapioca gem warning`.
# typed: true
module Warning module Warning
extend ::Warning extend ::Warning
extend ::Warning::Processor extend ::Warning::Processor

View File

@ -1,9 +1,9 @@
# typed: true
# DO NOT EDIT MANUALLY # DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `webrick` gem. # This is an autogenerated file for types exported from the `webrick` gem.
# Please instead update this file by running `bin/tapioca gem webrick`. # Please instead update this file by running `bin/tapioca gem webrick`.
# typed: true
module WEBrick::AccessLog module WEBrick::AccessLog
private private

View File

@ -8,10 +8,10 @@ module YARDSorbet; end
module YARDSorbet::Directives module YARDSorbet::Directives
class << self 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 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 def extract_directives(docstring); end
end end
end end
@ -32,7 +32,7 @@ class YARDSorbet::Handlers::EnumsHandler < ::YARD::Handlers::Ruby::Base
private 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 def const_assign_node?(node); end
end end
@ -42,7 +42,7 @@ class YARDSorbet::Handlers::IncludeHandler < ::YARD::Handlers::Ruby::Base
private private
sig { returns(YARD::CodeObjects::NamespaceObject) } sig { returns(::YARD::CodeObjects::NamespaceObject) }
def included_in; end def included_in; end
end end
@ -51,7 +51,7 @@ class YARDSorbet::Handlers::MixesInClassMethodsHandler < ::YARD::Handlers::Ruby:
def process; end def process; end
class << self 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 def mixed_in_class_methods(code_obj); end
end end
end end
@ -62,13 +62,19 @@ class YARDSorbet::Handlers::SigHandler < ::YARD::Handlers::Ruby::Base
private 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 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 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 def parse_sig(method_node, docstring); end
end end
@ -80,13 +86,20 @@ module YARDSorbet::Handlers::StructClassHandler
private 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 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 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 def to_object_parameters(props); end
end end
@ -96,90 +109,99 @@ class YARDSorbet::Handlers::StructPropHandler < ::YARD::Handlers::Ruby::Base
private 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 def decorate_object(object, prop); end
sig { returns(T.nilable(String)) } sig { returns(T.nilable(::String)) }
def default_value; end def default_value; end
sig { params(name: String).returns(YARDSorbet::TStructProp) } sig { params(name: ::String).returns(::YARDSorbet::TStructProp) }
def make_prop(name); end 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 def register_attrs(object, name); end
sig { params(prop: YARDSorbet::TStructProp).void } sig { params(prop: ::YARDSorbet::TStructProp).void }
def update_state(prop); end def update_state(prop); end
end end
module YARDSorbet::NodeUtils module YARDSorbet::NodeUtils
class << self 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 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 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 def sibling_node(node); end
end end
end end
YARDSorbet::NodeUtils::ATTRIBUTE_METHODS = T.let(T.unsafe(nil), Array) 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) YARDSorbet::NodeUtils::SKIP_METHOD_CONTENTS = T.let(T.unsafe(nil), Array)
module YARDSorbet::SigToYARD module YARDSorbet::SigToYARD
class << self 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 def convert(node); end
private 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 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 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 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 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 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 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 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 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 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 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 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 def convert_unknown(node); end
end end
end end
class YARDSorbet::TStructProp < ::T::Struct class YARDSorbet::TStructProp < ::T::Struct
const :default, T.nilable(String) const :default, T.nilable(::String)
const :doc, String const :doc, ::String
const :prop_name, String const :prop_name, ::String
const :source, String const :source, ::String
const :types, T::Array[String] const :types, T::Array[::String]
class << self class << self
def inherited(s); end def inherited(s); end
@ -188,10 +210,24 @@ end
module YARDSorbet::TagUtils module YARDSorbet::TagUtils
class << self 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 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 def upsert_tag(docstring, tag_name, types = T.unsafe(nil), name = T.unsafe(nil), text = T.unsafe(nil)); end
end end
end end

View File

@ -79,6 +79,37 @@ end
Gem::USE_BUNDLER_FOR_GEMDEPS = T.let(T.unsafe(nil), TrueClass) Gem::USE_BUNDLER_FOR_GEMDEPS = T.let(T.unsafe(nil), TrueClass)
Gem::UnsatisfiableDepedencyError = Gem::UnsatisfiableDependencyError 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 class Insertion
def initialize(list, value); end def initialize(list, value); end
@ -93,11 +124,39 @@ class Insertion
end end
class Module class Module
include ::ActiveSupport::Dependencies::ModuleConstMissing
def class_name; end def class_name; end
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) 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 class String
include ::Comparable include ::Comparable
include ::JSON::Ext::Generator::GeneratorMethods::String include ::JSON::Ext::Generator::GeneratorMethods::String
@ -127,6 +186,14 @@ class SymbolHash < ::Hash
end end
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 module YARD
class << self class << self
def load_plugins; end def load_plugins; end
@ -504,7 +571,11 @@ end
YARD::CLI::YardoptsCommand::DEFAULT_YARDOPTS_FILE = T.let(T.unsafe(nil), String) YARD::CLI::YardoptsCommand::DEFAULT_YARDOPTS_FILE = T.let(T.unsafe(nil), String)
YARD::CONFIG_DIR = 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_ALL = T.let(T.unsafe(nil), Array)
YARD::CodeObjects::BUILTIN_CLASSES = 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) YARD::CodeObjects::BUILTIN_EXCEPTIONS = T.let(T.unsafe(nil), Array)

View File

@ -2938,24 +2938,6 @@ class IRB::SLex
def Fail(err=T.unsafe(nil), *rest); end def Fail(err=T.unsafe(nil), *rest); end
def Raise(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 end
class IRB::SLex::ErrNodeAlreadyExists class IRB::SLex::ErrNodeAlreadyExists
@ -2970,29 +2952,6 @@ end
class IRB::SLex::ErrNodeNothing class IRB::SLex::ErrNodeNothing
end 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 class IRB::SLex
extend ::Exception2MessageMapper extend ::Exception2MessageMapper
def self.included(mod); end def self.included(mod); end
@ -4338,14 +4297,6 @@ end
class Racc::CparseParams class Racc::CparseParams
end end
class Rack::Request
def query(); end
def version_supplied(); end
def version_supplied=(version_supplied); end
end
class Random class Random
def self.bytes(arg); end def self.bytes(arg); end
end end
@ -5247,11 +5198,6 @@ class RuboCop::Cop::FormulaCop
def required_dependency_name?(param0, param1); end def required_dependency_name?(param0, param1); end
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 module RuboCop::RSpec::ExpectOffense
def expect_correction(correction, loop: T.unsafe(nil), source: T.unsafe(nil)); end def expect_correction(correction, loop: T.unsafe(nil), source: T.unsafe(nil)); end
@ -7212,14 +7158,6 @@ class Version
extend ::T::Private::Methods::SingletonMethodHooks extend ::T::Private::Methods::SingletonMethodHooks
end end
class WEBrick::HTTPRequest
def version_supplied(); end
def version_supplied=(version_supplied); end
def xhr?(); end
end
class WeakRef class WeakRef
def initialize(orig); end def initialize(orig); end
end end
@ -7431,10 +7369,6 @@ end
module Webrobots module Webrobots
end end
module YARD::CodeObjects
extend ::YARD::CodeObjects::NamespaceMapper
end
module YARDSorbet::Directives module YARDSorbet::Directives
extend ::T::Sig extend ::T::Sig
extend ::T::Private::Methods::MethodHooks extend ::T::Private::Methods::MethodHooks