diff --git a/Library/Homebrew/sorbet/rbi/gems/addressable@2.8.0.rbi b/Library/Homebrew/sorbet/rbi/gems/addressable@2.8.0.rbi index 6c11175ba0..6537967e4f 100644 --- a/Library/Homebrew/sorbet/rbi/gems/addressable@2.8.0.rbi +++ b/Library/Homebrew/sorbet/rbi/gems/addressable@2.8.0.rbi @@ -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 diff --git a/Library/Homebrew/sorbet/rbi/gems/ast@2.4.2.rbi b/Library/Homebrew/sorbet/rbi/gems/ast@2.4.2.rbi index 34597045d1..687dae5b0e 100644 --- a/Library/Homebrew/sorbet/rbi/gems/ast@2.4.2.rbi +++ b/Library/Homebrew/sorbet/rbi/gems/ast@2.4.2.rbi @@ -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 diff --git a/Library/Homebrew/sorbet/rbi/gems/bindata@2.4.10.rbi b/Library/Homebrew/sorbet/rbi/gems/bindata@2.4.10.rbi index 9ac17de4fd..2bf86efb7f 100644 --- a/Library/Homebrew/sorbet/rbi/gems/bindata@2.4.10.rbi +++ b/Library/Homebrew/sorbet/rbi/gems/bindata@2.4.10.rbi @@ -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 diff --git a/Library/Homebrew/sorbet/rbi/gems/byebug@11.1.3.rbi b/Library/Homebrew/sorbet/rbi/gems/byebug@11.1.3.rbi index bb71fb89c5..da405adea8 100644 --- a/Library/Homebrew/sorbet/rbi/gems/byebug@11.1.3.rbi +++ b/Library/Homebrew/sorbet/rbi/gems/byebug@11.1.3.rbi @@ -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 diff --git a/Library/Homebrew/sorbet/rbi/gems/coderay@1.1.3.rbi b/Library/Homebrew/sorbet/rbi/gems/coderay@1.1.3.rbi index d236e88b93..1cf355998a 100644 --- a/Library/Homebrew/sorbet/rbi/gems/coderay@1.1.3.rbi +++ b/Library/Homebrew/sorbet/rbi/gems/coderay@1.1.3.rbi @@ -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 diff --git a/Library/Homebrew/sorbet/rbi/gems/commander@4.6.0.rbi b/Library/Homebrew/sorbet/rbi/gems/commander@4.6.0.rbi index a6d3fa183b..a0da6d393c 100644 --- a/Library/Homebrew/sorbet/rbi/gems/commander@4.6.0.rbi +++ b/Library/Homebrew/sorbet/rbi/gems/commander@4.6.0.rbi @@ -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 diff --git a/Library/Homebrew/sorbet/rbi/gems/connection_pool@2.2.5.rbi b/Library/Homebrew/sorbet/rbi/gems/connection_pool@2.2.5.rbi index e1b01ef4aa..05e842256d 100644 --- a/Library/Homebrew/sorbet/rbi/gems/connection_pool@2.2.5.rbi +++ b/Library/Homebrew/sorbet/rbi/gems/connection_pool@2.2.5.rbi @@ -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 diff --git a/Library/Homebrew/sorbet/rbi/gems/docile@1.4.0.rbi b/Library/Homebrew/sorbet/rbi/gems/docile@1.4.0.rbi index 35ad3bc787..d8a14c5721 100644 --- a/Library/Homebrew/sorbet/rbi/gems/docile@1.4.0.rbi +++ b/Library/Homebrew/sorbet/rbi/gems/docile@1.4.0.rbi @@ -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 diff --git a/Library/Homebrew/sorbet/rbi/gems/domain_name@0.5.20190701.rbi b/Library/Homebrew/sorbet/rbi/gems/domain_name@0.5.20190701.rbi index b3461eb925..7e96cdabf2 100644 --- a/Library/Homebrew/sorbet/rbi/gems/domain_name@0.5.20190701.rbi +++ b/Library/Homebrew/sorbet/rbi/gems/domain_name@0.5.20190701.rbi @@ -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 diff --git a/Library/Homebrew/sorbet/rbi/gems/elftools@1.1.3.rbi b/Library/Homebrew/sorbet/rbi/gems/elftools@1.1.3.rbi index 9c0a70784c..18eca679b8 100644 --- a/Library/Homebrew/sorbet/rbi/gems/elftools@1.1.3.rbi +++ b/Library/Homebrew/sorbet/rbi/gems/elftools@1.1.3.rbi @@ -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 diff --git a/Library/Homebrew/sorbet/rbi/gems/hana@1.3.7.rbi b/Library/Homebrew/sorbet/rbi/gems/hana@1.3.7.rbi index cb12a5e7c2..042aa1baf1 100644 --- a/Library/Homebrew/sorbet/rbi/gems/hana@1.3.7.rbi +++ b/Library/Homebrew/sorbet/rbi/gems/hana@1.3.7.rbi @@ -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 diff --git a/Library/Homebrew/sorbet/rbi/gems/highline@2.0.3.rbi b/Library/Homebrew/sorbet/rbi/gems/highline@2.0.3.rbi index 6d7dac4e8b..87172a89cc 100644 --- a/Library/Homebrew/sorbet/rbi/gems/highline@2.0.3.rbi +++ b/Library/Homebrew/sorbet/rbi/gems/highline@2.0.3.rbi @@ -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 diff --git a/Library/Homebrew/sorbet/rbi/gems/hpricot@0.8.6.rbi b/Library/Homebrew/sorbet/rbi/gems/hpricot@0.8.6.rbi index 5c89f93acd..c07ed11de1 100644 --- a/Library/Homebrew/sorbet/rbi/gems/hpricot@0.8.6.rbi +++ b/Library/Homebrew/sorbet/rbi/gems/hpricot@0.8.6.rbi @@ -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 diff --git a/Library/Homebrew/sorbet/rbi/gems/http-cookie@1.0.4.rbi b/Library/Homebrew/sorbet/rbi/gems/http-cookie@1.0.4.rbi index dde9817788..e55f34138a 100644 --- a/Library/Homebrew/sorbet/rbi/gems/http-cookie@1.0.4.rbi +++ b/Library/Homebrew/sorbet/rbi/gems/http-cookie@1.0.4.rbi @@ -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 diff --git a/Library/Homebrew/sorbet/rbi/gems/method_source@1.0.0.rbi b/Library/Homebrew/sorbet/rbi/gems/method_source@1.0.0.rbi index 5807b25186..b7ecbb6947 100644 --- a/Library/Homebrew/sorbet/rbi/gems/method_source@1.0.0.rbi +++ b/Library/Homebrew/sorbet/rbi/gems/method_source@1.0.0.rbi @@ -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 diff --git a/Library/Homebrew/sorbet/rbi/gems/mustache@1.1.1.rbi b/Library/Homebrew/sorbet/rbi/gems/mustache@1.1.1.rbi index 64b086d8a6..175edbe2b8 100644 --- a/Library/Homebrew/sorbet/rbi/gems/mustache@1.1.1.rbi +++ b/Library/Homebrew/sorbet/rbi/gems/mustache@1.1.1.rbi @@ -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 diff --git a/Library/Homebrew/sorbet/rbi/gems/net-http-digest_auth@1.4.1.rbi b/Library/Homebrew/sorbet/rbi/gems/net-http-digest_auth@1.4.1.rbi index 8330013aee..8b0051b417 100644 --- a/Library/Homebrew/sorbet/rbi/gems/net-http-digest_auth@1.4.1.rbi +++ b/Library/Homebrew/sorbet/rbi/gems/net-http-digest_auth@1.4.1.rbi @@ -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 diff --git a/Library/Homebrew/sorbet/rbi/gems/net-http-persistent@4.0.1.rbi b/Library/Homebrew/sorbet/rbi/gems/net-http-persistent@4.0.1.rbi index 9f18e0a12b..81e139b7e6 100644 --- a/Library/Homebrew/sorbet/rbi/gems/net-http-persistent@4.0.1.rbi +++ b/Library/Homebrew/sorbet/rbi/gems/net-http-persistent@4.0.1.rbi @@ -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 diff --git a/Library/Homebrew/sorbet/rbi/gems/patchelf@1.3.0.rbi b/Library/Homebrew/sorbet/rbi/gems/patchelf@1.3.0.rbi index 37ef247658..be5c04a6ec 100644 --- a/Library/Homebrew/sorbet/rbi/gems/patchelf@1.3.0.rbi +++ b/Library/Homebrew/sorbet/rbi/gems/patchelf@1.3.0.rbi @@ -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 diff --git a/Library/Homebrew/sorbet/rbi/gems/plist@3.6.0.rbi b/Library/Homebrew/sorbet/rbi/gems/plist@3.6.0.rbi index d269bf8c54..4e521bb855 100644 --- a/Library/Homebrew/sorbet/rbi/gems/plist@3.6.0.rbi +++ b/Library/Homebrew/sorbet/rbi/gems/plist@3.6.0.rbi @@ -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 diff --git a/Library/Homebrew/sorbet/rbi/gems/pry@0.14.1.rbi b/Library/Homebrew/sorbet/rbi/gems/pry@0.14.1.rbi index 635514f42f..8f04fe9c6f 100644 --- a/Library/Homebrew/sorbet/rbi/gems/pry@0.14.1.rbi +++ b/Library/Homebrew/sorbet/rbi/gems/pry@0.14.1.rbi @@ -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 diff --git a/Library/Homebrew/sorbet/rbi/gems/racc@1.6.0.rbi b/Library/Homebrew/sorbet/rbi/gems/racc@1.6.0.rbi index f0f050c7d4..93e67bf5e0 100644 --- a/Library/Homebrew/sorbet/rbi/gems/racc@1.6.0.rbi +++ b/Library/Homebrew/sorbet/rbi/gems/racc@1.6.0.rbi @@ -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 diff --git a/Library/Homebrew/sorbet/rbi/gems/rack@2.2.3.rbi b/Library/Homebrew/sorbet/rbi/gems/rack@2.2.3.rbi index 836e5ae627..8b8f9b3a11 100644 --- a/Library/Homebrew/sorbet/rbi/gems/rack@2.2.3.rbi +++ b/Library/Homebrew/sorbet/rbi/gems/rack@2.2.3.rbi @@ -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 diff --git a/Library/Homebrew/sorbet/rbi/gems/rbi@0.0.14.rbi b/Library/Homebrew/sorbet/rbi/gems/rbi@0.0.14.rbi index ba6f3b6568..c11faca967 100644 --- a/Library/Homebrew/sorbet/rbi/gems/rbi@0.0.14.rbi +++ b/Library/Homebrew/sorbet/rbi/gems/rbi@0.0.14.rbi @@ -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 diff --git a/Library/Homebrew/sorbet/rbi/gems/rdiscount@2.2.0.2.rbi b/Library/Homebrew/sorbet/rbi/gems/rdiscount@2.2.0.2.rbi index 44d3d0fa21..25b5f7e36c 100644 --- a/Library/Homebrew/sorbet/rbi/gems/rdiscount@2.2.0.2.rbi +++ b/Library/Homebrew/sorbet/rbi/gems/rdiscount@2.2.0.2.rbi @@ -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 diff --git a/Library/Homebrew/sorbet/rbi/gems/rexml@3.2.5.rbi b/Library/Homebrew/sorbet/rbi/gems/rexml@3.2.5.rbi index 5b06afcfe1..493c0fc36f 100644 --- a/Library/Homebrew/sorbet/rbi/gems/rexml@3.2.5.rbi +++ b/Library/Homebrew/sorbet/rbi/gems/rexml@3.2.5.rbi @@ -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 diff --git a/Library/Homebrew/sorbet/rbi/gems/ronn@0.7.3.rbi b/Library/Homebrew/sorbet/rbi/gems/ronn@0.7.3.rbi index e13cdde092..0db9fe7be6 100644 --- a/Library/Homebrew/sorbet/rbi/gems/ronn@0.7.3.rbi +++ b/Library/Homebrew/sorbet/rbi/gems/ronn@0.7.3.rbi @@ -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 diff --git a/Library/Homebrew/sorbet/rbi/gems/rspec-github@2.3.1.rbi b/Library/Homebrew/sorbet/rbi/gems/rspec-github@2.3.1.rbi index 8d70105b42..b914a4df24 100644 --- a/Library/Homebrew/sorbet/rbi/gems/rspec-github@2.3.1.rbi +++ b/Library/Homebrew/sorbet/rbi/gems/rspec-github@2.3.1.rbi @@ -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 diff --git a/Library/Homebrew/sorbet/rbi/gems/rspec-its@1.3.0.rbi b/Library/Homebrew/sorbet/rbi/gems/rspec-its@1.3.0.rbi index 143d730d52..a7d7d2ab22 100644 --- a/Library/Homebrew/sorbet/rbi/gems/rspec-its@1.3.0.rbi +++ b/Library/Homebrew/sorbet/rbi/gems/rspec-its@1.3.0.rbi @@ -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 diff --git a/Library/Homebrew/sorbet/rbi/gems/rspec-retry@0.6.2.rbi b/Library/Homebrew/sorbet/rbi/gems/rspec-retry@0.6.2.rbi index f610b1f12d..cfd169a1b8 100644 --- a/Library/Homebrew/sorbet/rbi/gems/rspec-retry@0.6.2.rbi +++ b/Library/Homebrew/sorbet/rbi/gems/rspec-retry@0.6.2.rbi @@ -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 diff --git a/Library/Homebrew/sorbet/rbi/gems/rspec-sorbet@1.8.3.rbi b/Library/Homebrew/sorbet/rbi/gems/rspec-sorbet@1.8.3.rbi index 390ce8f60c..e0a60bf71f 100644 --- a/Library/Homebrew/sorbet/rbi/gems/rspec-sorbet@1.8.3.rbi +++ b/Library/Homebrew/sorbet/rbi/gems/rspec-sorbet@1.8.3.rbi @@ -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 diff --git a/Library/Homebrew/sorbet/rbi/gems/rspec-wait@0.0.9.rbi b/Library/Homebrew/sorbet/rbi/gems/rspec-wait@0.0.9.rbi index 85dc176db2..e91ffd7b18 100644 --- a/Library/Homebrew/sorbet/rbi/gems/rspec-wait@0.0.9.rbi +++ b/Library/Homebrew/sorbet/rbi/gems/rspec-wait@0.0.9.rbi @@ -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 diff --git a/Library/Homebrew/sorbet/rbi/gems/rubocop@1.27.0.rbi b/Library/Homebrew/sorbet/rbi/gems/rubocop@1.27.0.rbi index 454826ffb4..6f6494eb17 100644 --- a/Library/Homebrew/sorbet/rbi/gems/rubocop@1.27.0.rbi +++ b/Library/Homebrew/sorbet/rbi/gems/rubocop@1.27.0.rbi @@ -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 diff --git a/Library/Homebrew/sorbet/rbi/gems/ruby-progressbar@1.11.0.rbi b/Library/Homebrew/sorbet/rbi/gems/ruby-progressbar@1.11.0.rbi index 1426cc6630..5d5a84fe10 100644 --- a/Library/Homebrew/sorbet/rbi/gems/ruby-progressbar@1.11.0.rbi +++ b/Library/Homebrew/sorbet/rbi/gems/ruby-progressbar@1.11.0.rbi @@ -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 diff --git a/Library/Homebrew/sorbet/rbi/gems/rubyntlm@0.6.3.rbi b/Library/Homebrew/sorbet/rbi/gems/rubyntlm@0.6.3.rbi index 4d39600529..3d559d3c3f 100644 --- a/Library/Homebrew/sorbet/rbi/gems/rubyntlm@0.6.3.rbi +++ b/Library/Homebrew/sorbet/rbi/gems/rubyntlm@0.6.3.rbi @@ -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 diff --git a/Library/Homebrew/sorbet/rbi/gems/simplecov-html@0.12.3.rbi b/Library/Homebrew/sorbet/rbi/gems/simplecov-html@0.12.3.rbi index 3b680d3292..4053d47423 100644 --- a/Library/Homebrew/sorbet/rbi/gems/simplecov-html@0.12.3.rbi +++ b/Library/Homebrew/sorbet/rbi/gems/simplecov-html@0.12.3.rbi @@ -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 diff --git a/Library/Homebrew/sorbet/rbi/gems/simplecov@0.21.2.rbi b/Library/Homebrew/sorbet/rbi/gems/simplecov@0.21.2.rbi index 4d6e94d11a..0e594824e2 100644 --- a/Library/Homebrew/sorbet/rbi/gems/simplecov@0.21.2.rbi +++ b/Library/Homebrew/sorbet/rbi/gems/simplecov@0.21.2.rbi @@ -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 diff --git a/Library/Homebrew/sorbet/rbi/gems/sorbet-runtime-stub@0.2.0.rbi b/Library/Homebrew/sorbet/rbi/gems/sorbet-runtime-stub@0.2.0.rbi index 36d74d4291..6f0613cfb3 100644 --- a/Library/Homebrew/sorbet/rbi/gems/sorbet-runtime-stub@0.2.0.rbi +++ b/Library/Homebrew/sorbet/rbi/gems/sorbet-runtime-stub@0.2.0.rbi @@ -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 diff --git a/Library/Homebrew/sorbet/rbi/gems/tapioca@0.7.2.rbi b/Library/Homebrew/sorbet/rbi/gems/tapioca@0.7.2.rbi index 565caf95d2..5ac4bf25cd 100644 --- a/Library/Homebrew/sorbet/rbi/gems/tapioca@0.7.2.rbi +++ b/Library/Homebrew/sorbet/rbi/gems/tapioca@0.7.2.rbi @@ -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 diff --git a/Library/Homebrew/sorbet/rbi/gems/tzinfo@2.0.4.rbi b/Library/Homebrew/sorbet/rbi/gems/tzinfo@2.0.4.rbi index 9a0d2be2c8..4928930bce 100644 --- a/Library/Homebrew/sorbet/rbi/gems/tzinfo@2.0.4.rbi +++ b/Library/Homebrew/sorbet/rbi/gems/tzinfo@2.0.4.rbi @@ -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 diff --git a/Library/Homebrew/sorbet/rbi/gems/unf@0.1.4.rbi b/Library/Homebrew/sorbet/rbi/gems/unf@0.1.4.rbi index 6872ff0d85..4ae42ce42e 100644 --- a/Library/Homebrew/sorbet/rbi/gems/unf@0.1.4.rbi +++ b/Library/Homebrew/sorbet/rbi/gems/unf@0.1.4.rbi @@ -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 diff --git a/Library/Homebrew/sorbet/rbi/gems/unicode-display_width@2.1.0.rbi b/Library/Homebrew/sorbet/rbi/gems/unicode-display_width@2.1.0.rbi index 5dd4597031..1974cb0f8c 100644 --- a/Library/Homebrew/sorbet/rbi/gems/unicode-display_width@2.1.0.rbi +++ b/Library/Homebrew/sorbet/rbi/gems/unicode-display_width@2.1.0.rbi @@ -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 diff --git a/Library/Homebrew/sorbet/rbi/gems/uri_template@0.7.0.rbi b/Library/Homebrew/sorbet/rbi/gems/uri_template@0.7.0.rbi index 1afa6741ac..527645fd84 100644 --- a/Library/Homebrew/sorbet/rbi/gems/uri_template@0.7.0.rbi +++ b/Library/Homebrew/sorbet/rbi/gems/uri_template@0.7.0.rbi @@ -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 diff --git a/Library/Homebrew/sorbet/rbi/gems/warning@1.2.1.rbi b/Library/Homebrew/sorbet/rbi/gems/warning@1.2.1.rbi index dc4b3ee07c..d27162412d 100644 --- a/Library/Homebrew/sorbet/rbi/gems/warning@1.2.1.rbi +++ b/Library/Homebrew/sorbet/rbi/gems/warning@1.2.1.rbi @@ -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 diff --git a/Library/Homebrew/sorbet/rbi/gems/webrick@1.7.0.rbi b/Library/Homebrew/sorbet/rbi/gems/webrick@1.7.0.rbi index 5c34dadabd..63755aa3aa 100644 --- a/Library/Homebrew/sorbet/rbi/gems/webrick@1.7.0.rbi +++ b/Library/Homebrew/sorbet/rbi/gems/webrick@1.7.0.rbi @@ -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 diff --git a/Library/Homebrew/sorbet/rbi/gems/yard-sorbet@0.6.1.rbi b/Library/Homebrew/sorbet/rbi/gems/yard-sorbet@0.6.1.rbi index 21e2d580ac..ca4ab82082 100644 --- a/Library/Homebrew/sorbet/rbi/gems/yard-sorbet@0.6.1.rbi +++ b/Library/Homebrew/sorbet/rbi/gems/yard-sorbet@0.6.1.rbi @@ -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 diff --git a/Library/Homebrew/sorbet/rbi/gems/yard@0.9.27.rbi b/Library/Homebrew/sorbet/rbi/gems/yard@0.9.27.rbi index 1bd8ec580a..41901c1154 100644 --- a/Library/Homebrew/sorbet/rbi/gems/yard@0.9.27.rbi +++ b/Library/Homebrew/sorbet/rbi/gems/yard@0.9.27.rbi @@ -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) diff --git a/Library/Homebrew/sorbet/rbi/hidden-definitions/hidden.rbi b/Library/Homebrew/sorbet/rbi/hidden-definitions/hidden.rbi index b5ef7f4ad2..b3ef715704 100644 --- a/Library/Homebrew/sorbet/rbi/hidden-definitions/hidden.rbi +++ b/Library/Homebrew/sorbet/rbi/hidden-definitions/hidden.rbi @@ -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 @@ -4338,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 @@ -5247,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 @@ -7212,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 @@ -7431,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