brew tc --update-all

This commit is contained in:
Douglas Eichelberger 2025-01-10 16:56:13 -08:00
parent 78cb073b38
commit 9d8d54ea2b
21 changed files with 375 additions and 1654 deletions

View File

@ -4,6 +4,7 @@
# This is an autogenerated file for types exported from the `ast` gem.
# Please instead update this file by running `bin/tapioca gem ast`.
# {AST} is a library for manipulating abstract syntax trees.
#
# It embraces immutability; each AST node is inherently frozen at

View File

@ -1,509 +0,0 @@
# typed: true
# DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `base64` gem.
# Please instead update this file by running `bin/tapioca gem base64`.
# \Module \Base64 provides methods for:
#
# - Encoding a binary string (containing non-ASCII characters)
# as a string of printable ASCII characters.
# - Decoding such an encoded string.
#
# \Base64 is commonly used in contexts where binary data
# is not allowed or supported:
#
# - Images in HTML or CSS files, or in URLs.
# - Email attachments.
#
# A \Base64-encoded string is about one-third larger that its source.
# See the {Wikipedia article}[https://en.wikipedia.org/wiki/Base64]
# for more information.
#
# This module provides three pairs of encode/decode methods.
# Your choices among these methods should depend on:
#
# - Which character set is to be used for encoding and decoding.
# - Whether "padding" is to be used.
# - Whether encoded strings are to contain newlines.
#
# Note: Examples on this page assume that the including program has executed:
#
# require 'base64'
#
# == Encoding Character Sets
#
# A \Base64-encoded string consists only of characters from a 64-character set:
#
# - <tt>('A'..'Z')</tt>.
# - <tt>('a'..'z')</tt>.
# - <tt>('0'..'9')</tt>.
# - <tt>=</tt>, the 'padding' character.
# - Either:
# - <tt>%w[+ /]</tt>:
# {RFC-2045-compliant}[https://datatracker.ietf.org/doc/html/rfc2045];
# _not_ safe for URLs.
# - <tt>%w[- _]</tt>:
# {RFC-4648-compliant}[https://datatracker.ietf.org/doc/html/rfc4648];
# safe for URLs.
#
# If you are working with \Base64-encoded strings that will come from
# or be put into URLs, you should choose this encoder-decoder pair
# of RFC-4648-compliant methods:
#
# - Base64.urlsafe_encode64 and Base64.urlsafe_decode64.
#
# Otherwise, you may choose any of the pairs in this module,
# including the pair above, or the RFC-2045-compliant pairs:
#
# - Base64.encode64 and Base64.decode64.
# - Base64.strict_encode64 and Base64.strict_decode64.
#
# == Padding
#
# \Base64-encoding changes a triplet of input bytes
# into a quartet of output characters.
#
# <b>Padding in Encode Methods</b>
#
# Padding -- extending an encoded string with zero, one, or two trailing
# <tt>=</tt> characters -- is performed by methods Base64.encode64,
# Base64.strict_encode64, and, by default, Base64.urlsafe_encode64:
#
# Base64.encode64('s') # => "cw==\n"
# Base64.strict_encode64('s') # => "cw=="
# Base64.urlsafe_encode64('s') # => "cw=="
# Base64.urlsafe_encode64('s', padding: false) # => "cw"
#
# When padding is performed, the encoded string is always of length <em>4n</em>,
# where +n+ is a non-negative integer:
#
# - Input bytes of length <em>3n</em> generate unpadded output characters
# of length <em>4n</em>:
#
# # n = 1: 3 bytes => 4 characters.
# Base64.strict_encode64('123') # => "MDEy"
# # n = 2: 6 bytes => 8 characters.
# Base64.strict_encode64('123456') # => "MDEyMzQ1"
#
# - Input bytes of length <em>3n+1</em> generate padded output characters
# of length <em>4(n+1)</em>, with two padding characters at the end:
#
# # n = 1: 4 bytes => 8 characters.
# Base64.strict_encode64('1234') # => "MDEyMw=="
# # n = 2: 7 bytes => 12 characters.
# Base64.strict_encode64('1234567') # => "MDEyMzQ1Ng=="
#
# - Input bytes of length <em>3n+2</em> generate padded output characters
# of length <em>4(n+1)</em>, with one padding character at the end:
#
# # n = 1: 5 bytes => 8 characters.
# Base64.strict_encode64('12345') # => "MDEyMzQ="
# # n = 2: 8 bytes => 12 characters.
# Base64.strict_encode64('12345678') # => "MDEyMzQ1Njc="
#
# When padding is suppressed, for a positive integer <em>n</em>:
#
# - Input bytes of length <em>3n</em> generate unpadded output characters
# of length <em>4n</em>:
#
# # n = 1: 3 bytes => 4 characters.
# Base64.urlsafe_encode64('123', padding: false) # => "MDEy"
# # n = 2: 6 bytes => 8 characters.
# Base64.urlsafe_encode64('123456', padding: false) # => "MDEyMzQ1"
#
# - Input bytes of length <em>3n+1</em> generate unpadded output characters
# of length <em>4n+2</em>, with two padding characters at the end:
#
# # n = 1: 4 bytes => 6 characters.
# Base64.urlsafe_encode64('1234', padding: false) # => "MDEyMw"
# # n = 2: 7 bytes => 10 characters.
# Base64.urlsafe_encode64('1234567', padding: false) # => "MDEyMzQ1Ng"
#
# - Input bytes of length <em>3n+2</em> generate unpadded output characters
# of length <em>4n+3</em>, with one padding character at the end:
#
# # n = 1: 5 bytes => 7 characters.
# Base64.urlsafe_encode64('12345', padding: false) # => "MDEyMzQ"
# # m = 2: 8 bytes => 11 characters.
# Base64.urlsafe_encode64('12345678', padding: false) # => "MDEyMzQ1Njc"
#
# <b>Padding in Decode Methods</b>
#
# All of the \Base64 decode methods support (but do not require) padding.
#
# \Method Base64.decode64 does not check the size of the padding:
#
# Base64.decode64("MDEyMzQ1Njc") # => "01234567"
# Base64.decode64("MDEyMzQ1Njc=") # => "01234567"
# Base64.decode64("MDEyMzQ1Njc==") # => "01234567"
#
# \Method Base64.strict_decode64 strictly enforces padding size:
#
# Base64.strict_decode64("MDEyMzQ1Njc") # Raises ArgumentError
# Base64.strict_decode64("MDEyMzQ1Njc=") # => "01234567"
# Base64.strict_decode64("MDEyMzQ1Njc==") # Raises ArgumentError
#
# \Method Base64.urlsafe_decode64 allows padding in +str+,
# which if present, must be correct:
# see {Padding}[Base64.html#module-Base64-label-Padding], above:
#
# Base64.urlsafe_decode64("MDEyMzQ1Njc") # => "01234567"
# Base64.urlsafe_decode64("MDEyMzQ1Njc=") # => "01234567"
# Base64.urlsafe_decode64("MDEyMzQ1Njc==") # Raises ArgumentError.
#
# == Newlines
#
# An encoded string returned by Base64.encode64 or Base64.urlsafe_encode64
# has an embedded newline character
# after each 60-character sequence, and, if non-empty, at the end:
#
# # No newline if empty.
# encoded = Base64.encode64("\x00" * 0)
# encoded.index("\n") # => nil
#
# # Newline at end of short output.
# encoded = Base64.encode64("\x00" * 1)
# encoded.size # => 4
# encoded.index("\n") # => 4
#
# # Newline at end of longer output.
# encoded = Base64.encode64("\x00" * 45)
# encoded.size # => 60
# encoded.index("\n") # => 60
#
# # Newlines embedded and at end of still longer output.
# encoded = Base64.encode64("\x00" * 46)
# encoded.size # => 65
# encoded.rindex("\n") # => 65
# encoded.split("\n").map {|s| s.size } # => [60, 4]
#
# The string to be encoded may itself contain newlines,
# which are encoded as \Base64:
#
# # Base64.encode64("\n\n\n") # => "CgoK\n"
# s = "This is line 1\nThis is line 2\n"
# Base64.encode64(s) # => "VGhpcyBpcyBsaW5lIDEKVGhpcyBpcyBsaW5lIDIK\n"
#
# source://base64//lib/base64.rb#184
module Base64
private
# Returns a string containing the decoding of an RFC-2045-compliant
# \Base64-encoded string +str+:
#
# s = "VGhpcyBpcyBsaW5lIDEKVGhpcyBpcyBsaW5lIDIK\n"
# Base64.decode64(s) # => "This is line 1\nThis is line 2\n"
#
# Non-\Base64 characters in +str+ are ignored;
# see {Encoding Character Set}[Base64.html#module-Base64-label-Encoding+Character+Sets] above:
# these include newline characters and characters <tt>-</tt> and <tt>/</tt>:
#
# Base64.decode64("\x00\n-_") # => ""
#
# Padding in +str+ (even if incorrect) is ignored:
#
# Base64.decode64("MDEyMzQ1Njc") # => "01234567"
# Base64.decode64("MDEyMzQ1Njc=") # => "01234567"
# Base64.decode64("MDEyMzQ1Njc==") # => "01234567"
#
# source://base64//lib/base64.rb#241
def decode64(str); end
# Returns a string containing the RFC-2045-compliant \Base64-encoding of +bin+.
#
# Per RFC 2045, the returned string may contain the URL-unsafe characters
# <tt>+</tt> or <tt>/</tt>;
# see {Encoding Character Set}[Base64.html#module-Base64-label-Encoding+Character+Sets] above:
#
# Base64.encode64("\xFB\xEF\xBE") # => "++++\n"
# Base64.encode64("\xFF\xFF\xFF") # => "////\n"
#
# The returned string may include padding;
# see {Padding}[Base64.html#module-Base64-label-Padding] above.
#
# Base64.encode64('*') # => "Kg==\n"
#
# The returned string ends with a newline character, and if sufficiently long
# will have one or more embedded newline characters;
# see {Newlines}[Base64.html#module-Base64-label-Newlines] above:
#
# Base64.encode64('*') # => "Kg==\n"
# Base64.encode64('*' * 46)
# # => "KioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioq\nKg==\n"
#
# The string to be encoded may itself contain newlines,
# which will be encoded as ordinary \Base64:
#
# Base64.encode64("\n\n\n") # => "CgoK\n"
# s = "This is line 1\nThis is line 2\n"
# Base64.encode64(s) # => "VGhpcyBpcyBsaW5lIDEKVGhpcyBpcyBsaW5lIDIK\n"
#
# source://base64//lib/base64.rb#219
def encode64(bin); end
# Returns a string containing the decoding of an RFC-2045-compliant
# \Base64-encoded string +str+:
#
# s = "VGhpcyBpcyBsaW5lIDEKVGhpcyBpcyBsaW5lIDIK"
# Base64.strict_decode64(s) # => "This is line 1\nThis is line 2\n"
#
# Non-\Base64 characters in +str+ not allowed;
# see {Encoding Character Set}[Base64.html#module-Base64-label-Encoding+Character+Sets] above:
# these include newline characters and characters <tt>-</tt> and <tt>/</tt>:
#
# Base64.strict_decode64("\n") # Raises ArgumentError
# Base64.strict_decode64('-') # Raises ArgumentError
# Base64.strict_decode64('_') # Raises ArgumentError
#
# Padding in +str+, if present, must be correct:
#
# Base64.strict_decode64("MDEyMzQ1Njc") # Raises ArgumentError
# Base64.strict_decode64("MDEyMzQ1Njc=") # => "01234567"
# Base64.strict_decode64("MDEyMzQ1Njc==") # Raises ArgumentError
#
# source://base64//lib/base64.rb#297
def strict_decode64(str); end
# Returns a string containing the RFC-2045-compliant \Base64-encoding of +bin+.
#
# Per RFC 2045, the returned string may contain the URL-unsafe characters
# <tt>+</tt> or <tt>/</tt>;
# see {Encoding Character Set}[Base64.html#module-Base64-label-Encoding+Character+Sets] above:
#
# Base64.strict_encode64("\xFB\xEF\xBE") # => "++++\n"
# Base64.strict_encode64("\xFF\xFF\xFF") # => "////\n"
#
# The returned string may include padding;
# see {Padding}[Base64.html#module-Base64-label-Padding] above.
#
# Base64.strict_encode64('*') # => "Kg==\n"
#
# The returned string will have no newline characters, regardless of its length;
# see {Newlines}[Base64.html#module-Base64-label-Newlines] above:
#
# Base64.strict_encode64('*') # => "Kg=="
# Base64.strict_encode64('*' * 46)
# # => "KioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKg=="
#
# The string to be encoded may itself contain newlines,
# which will be encoded as ordinary \Base64:
#
# Base64.strict_encode64("\n\n\n") # => "CgoK"
# s = "This is line 1\nThis is line 2\n"
# Base64.strict_encode64(s) # => "VGhpcyBpcyBsaW5lIDEKVGhpcyBpcyBsaW5lIDIK"
#
# source://base64//lib/base64.rb#273
def strict_encode64(bin); end
# Returns the decoding of an RFC-4648-compliant \Base64-encoded string +str+:
#
# +str+ may not contain non-Base64 characters;
# see {Encoding Character Set}[Base64.html#module-Base64-label-Encoding+Character+Sets] above:
#
# Base64.urlsafe_decode64('+') # Raises ArgumentError.
# Base64.urlsafe_decode64('/') # Raises ArgumentError.
# Base64.urlsafe_decode64("\n") # Raises ArgumentError.
#
# Padding in +str+, if present, must be correct:
# see {Padding}[Base64.html#module-Base64-label-Padding], above:
#
# Base64.urlsafe_decode64("MDEyMzQ1Njc") # => "01234567"
# Base64.urlsafe_decode64("MDEyMzQ1Njc=") # => "01234567"
# Base64.urlsafe_decode64("MDEyMzQ1Njc==") # Raises ArgumentError.
#
# source://base64//lib/base64.rb#351
def urlsafe_decode64(str); end
# Returns the RFC-4648-compliant \Base64-encoding of +bin+.
#
# Per RFC 4648, the returned string will not contain the URL-unsafe characters
# <tt>+</tt> or <tt>/</tt>,
# but instead may contain the URL-safe characters
# <tt>-</tt> and <tt>_</tt>;
# see {Encoding Character Set}[Base64.html#module-Base64-label-Encoding+Character+Sets] above:
#
# Base64.urlsafe_encode64("\xFB\xEF\xBE") # => "----"
# Base64.urlsafe_encode64("\xFF\xFF\xFF") # => "____"
#
# By default, the returned string may have padding;
# see {Padding}[Base64.html#module-Base64-label-Padding], above:
#
# Base64.urlsafe_encode64('*') # => "Kg=="
#
# Optionally, you can suppress padding:
#
# Base64.urlsafe_encode64('*', padding: false) # => "Kg"
#
# The returned string will have no newline characters, regardless of its length;
# see {Newlines}[Base64.html#module-Base64-label-Newlines] above:
#
# Base64.urlsafe_encode64('*') # => "Kg=="
# Base64.urlsafe_encode64('*' * 46)
# # => "KioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKg=="
#
# source://base64//lib/base64.rb#328
def urlsafe_encode64(bin, padding: T.unsafe(nil)); end
class << self
# Returns a string containing the decoding of an RFC-2045-compliant
# \Base64-encoded string +str+:
#
# s = "VGhpcyBpcyBsaW5lIDEKVGhpcyBpcyBsaW5lIDIK\n"
# Base64.decode64(s) # => "This is line 1\nThis is line 2\n"
#
# Non-\Base64 characters in +str+ are ignored;
# see {Encoding Character Set}[Base64.html#module-Base64-label-Encoding+Character+Sets] above:
# these include newline characters and characters <tt>-</tt> and <tt>/</tt>:
#
# Base64.decode64("\x00\n-_") # => ""
#
# Padding in +str+ (even if incorrect) is ignored:
#
# Base64.decode64("MDEyMzQ1Njc") # => "01234567"
# Base64.decode64("MDEyMzQ1Njc=") # => "01234567"
# Base64.decode64("MDEyMzQ1Njc==") # => "01234567"
#
# source://base64//lib/base64.rb#241
def decode64(str); end
# Returns a string containing the RFC-2045-compliant \Base64-encoding of +bin+.
#
# Per RFC 2045, the returned string may contain the URL-unsafe characters
# <tt>+</tt> or <tt>/</tt>;
# see {Encoding Character Set}[Base64.html#module-Base64-label-Encoding+Character+Sets] above:
#
# Base64.encode64("\xFB\xEF\xBE") # => "++++\n"
# Base64.encode64("\xFF\xFF\xFF") # => "////\n"
#
# The returned string may include padding;
# see {Padding}[Base64.html#module-Base64-label-Padding] above.
#
# Base64.encode64('*') # => "Kg==\n"
#
# The returned string ends with a newline character, and if sufficiently long
# will have one or more embedded newline characters;
# see {Newlines}[Base64.html#module-Base64-label-Newlines] above:
#
# Base64.encode64('*') # => "Kg==\n"
# Base64.encode64('*' * 46)
# # => "KioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioq\nKg==\n"
#
# The string to be encoded may itself contain newlines,
# which will be encoded as ordinary \Base64:
#
# Base64.encode64("\n\n\n") # => "CgoK\n"
# s = "This is line 1\nThis is line 2\n"
# Base64.encode64(s) # => "VGhpcyBpcyBsaW5lIDEKVGhpcyBpcyBsaW5lIDIK\n"
#
# source://base64//lib/base64.rb#219
def encode64(bin); end
# Returns a string containing the decoding of an RFC-2045-compliant
# \Base64-encoded string +str+:
#
# s = "VGhpcyBpcyBsaW5lIDEKVGhpcyBpcyBsaW5lIDIK"
# Base64.strict_decode64(s) # => "This is line 1\nThis is line 2\n"
#
# Non-\Base64 characters in +str+ not allowed;
# see {Encoding Character Set}[Base64.html#module-Base64-label-Encoding+Character+Sets] above:
# these include newline characters and characters <tt>-</tt> and <tt>/</tt>:
#
# Base64.strict_decode64("\n") # Raises ArgumentError
# Base64.strict_decode64('-') # Raises ArgumentError
# Base64.strict_decode64('_') # Raises ArgumentError
#
# Padding in +str+, if present, must be correct:
#
# Base64.strict_decode64("MDEyMzQ1Njc") # Raises ArgumentError
# Base64.strict_decode64("MDEyMzQ1Njc=") # => "01234567"
# Base64.strict_decode64("MDEyMzQ1Njc==") # Raises ArgumentError
#
# source://base64//lib/base64.rb#297
def strict_decode64(str); end
# Returns a string containing the RFC-2045-compliant \Base64-encoding of +bin+.
#
# Per RFC 2045, the returned string may contain the URL-unsafe characters
# <tt>+</tt> or <tt>/</tt>;
# see {Encoding Character Set}[Base64.html#module-Base64-label-Encoding+Character+Sets] above:
#
# Base64.strict_encode64("\xFB\xEF\xBE") # => "++++\n"
# Base64.strict_encode64("\xFF\xFF\xFF") # => "////\n"
#
# The returned string may include padding;
# see {Padding}[Base64.html#module-Base64-label-Padding] above.
#
# Base64.strict_encode64('*') # => "Kg==\n"
#
# The returned string will have no newline characters, regardless of its length;
# see {Newlines}[Base64.html#module-Base64-label-Newlines] above:
#
# Base64.strict_encode64('*') # => "Kg=="
# Base64.strict_encode64('*' * 46)
# # => "KioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKg=="
#
# The string to be encoded may itself contain newlines,
# which will be encoded as ordinary \Base64:
#
# Base64.strict_encode64("\n\n\n") # => "CgoK"
# s = "This is line 1\nThis is line 2\n"
# Base64.strict_encode64(s) # => "VGhpcyBpcyBsaW5lIDEKVGhpcyBpcyBsaW5lIDIK"
#
# source://base64//lib/base64.rb#273
def strict_encode64(bin); end
# Returns the decoding of an RFC-4648-compliant \Base64-encoded string +str+:
#
# +str+ may not contain non-Base64 characters;
# see {Encoding Character Set}[Base64.html#module-Base64-label-Encoding+Character+Sets] above:
#
# Base64.urlsafe_decode64('+') # Raises ArgumentError.
# Base64.urlsafe_decode64('/') # Raises ArgumentError.
# Base64.urlsafe_decode64("\n") # Raises ArgumentError.
#
# Padding in +str+, if present, must be correct:
# see {Padding}[Base64.html#module-Base64-label-Padding], above:
#
# Base64.urlsafe_decode64("MDEyMzQ1Njc") # => "01234567"
# Base64.urlsafe_decode64("MDEyMzQ1Njc=") # => "01234567"
# Base64.urlsafe_decode64("MDEyMzQ1Njc==") # Raises ArgumentError.
#
# source://base64//lib/base64.rb#351
def urlsafe_decode64(str); end
# Returns the RFC-4648-compliant \Base64-encoding of +bin+.
#
# Per RFC 4648, the returned string will not contain the URL-unsafe characters
# <tt>+</tt> or <tt>/</tt>,
# but instead may contain the URL-safe characters
# <tt>-</tt> and <tt>_</tt>;
# see {Encoding Character Set}[Base64.html#module-Base64-label-Encoding+Character+Sets] above:
#
# Base64.urlsafe_encode64("\xFB\xEF\xBE") # => "----"
# Base64.urlsafe_encode64("\xFF\xFF\xFF") # => "____"
#
# By default, the returned string may have padding;
# see {Padding}[Base64.html#module-Base64-label-Padding], above:
#
# Base64.urlsafe_encode64('*') # => "Kg=="
#
# Optionally, you can suppress padding:
#
# Base64.urlsafe_encode64('*', padding: false) # => "Kg"
#
# The returned string will have no newline characters, regardless of its length;
# see {Newlines}[Base64.html#module-Base64-label-Newlines] above:
#
# Base64.urlsafe_encode64('*') # => "Kg=="
# Base64.urlsafe_encode64('*' * 46)
# # => "KioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKg=="
#
# source://base64//lib/base64.rb#328
def urlsafe_encode64(bin, padding: T.unsafe(nil)); end
end
end
# source://base64//lib/base64.rb#186
Base64::VERSION = T.let(T.unsafe(nil), String)

View File

@ -1,9 +0,0 @@
# typed: true
# DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `bigdecimal` gem.
# Please instead update this file by running `bin/tapioca gem bigdecimal`.
# THIS IS AN EMPTY RBI FILE.
# see https://github.com/Shopify/tapioca#manually-requiring-parts-of-a-gem

View File

@ -4,6 +4,7 @@
# This is an autogenerated file for types exported from the `bindata` gem.
# Please instead update this file by running `bin/tapioca gem bindata`.
# source://bindata//lib/bindata/version.rb#1
module BinData
extend ::BinData::BitFieldFactory
@ -1246,7 +1247,7 @@ end
# obj = A.read("abcdefghij")
# obj.all_data #=> "abcdefghij"
#
# source://bindata//lib/bindata/count_bytes_remaining.rb#19
# source://bindata//lib/bindata/count_bytes_remaining.rb#18
class BinData::CountBytesRemaining < ::BinData::BasePrimitive
private
@ -2566,7 +2567,7 @@ end
# obj.a #=> "abcde"
# obj.rest #=" "fghij"
#
# source://bindata//lib/bindata/rest.rb#19
# source://bindata//lib/bindata/rest.rb#18
class BinData::Rest < ::BinData::BasePrimitive
private
@ -2744,7 +2745,7 @@ class BinData::SanitizedParameter; end
# is to recursively sanitize the parameters of an entire BinData object chain
# at a single time.
#
# source://bindata//lib/bindata/sanitize.rb#174
# source://bindata//lib/bindata/sanitize.rb#173
class BinData::SanitizedParameters < ::Hash
# @return [SanitizedParameters] a new instance of SanitizedParameters
#

View File

@ -4,6 +4,7 @@
# This is an autogenerated file for types exported from the `elftools` gem.
# Please instead update this file by running `bin/tapioca gem elftools`.
# The ELF parsing tools!
# Main entry point is {ELFTools::ELFFile}, see it
# for more information.
@ -3247,7 +3248,7 @@ class ELFTools::ELFMagicError < ::ELFTools::ELFError; end
# Mainly used when loading sections, segments, and
# symbols.
#
# source://elftools//lib/elftools/lazy_array.rb#29
# source://elftools//lib/elftools/lazy_array.rb#10
class ELFTools::LazyArray < ::SimpleDelegator
# Instantiate a {LazyArray} object.
#
@ -3485,7 +3486,7 @@ end
# Class of note section.
# Note section records notes
#
# source://elftools//lib/elftools/sections/note_section.rb#11
# source://elftools//lib/elftools/sections/note_section.rb#10
class ELFTools::Sections::NoteSection < ::ELFTools::Sections::Section
include ::ELFTools::Note
@ -3508,7 +3509,7 @@ end
# Null section is for specific the end
# of linked list (+sh_link+) between sections.
#
# source://elftools//lib/elftools/sections/null_section.rb#12
# source://elftools//lib/elftools/sections/null_section.rb#10
class ELFTools::Sections::NullSection < ::ELFTools::Sections::Section
# Is this a null section?
#
@ -3521,7 +3522,7 @@ end
# Class of note section.
# Note section records notes
#
# source://elftools//lib/elftools/sections/relocation_section.rb#13
# source://elftools//lib/elftools/sections/relocation_section.rb#11
class ELFTools::Sections::RelocationSection < ::ELFTools::Sections::Section
# Iterate all relocations.
#
@ -3645,7 +3646,7 @@ end
# Usually for section .strtab and .dynstr,
# which record names.
#
# source://elftools//lib/elftools/sections/str_tab_section.rb#15
# source://elftools//lib/elftools/sections/str_tab_section.rb#11
class ELFTools::Sections::StrTabSection < ::ELFTools::Sections::Section
# Return the section or symbol name.
#
@ -3660,7 +3661,7 @@ end
# Usually for section .symtab and .dynsym,
# which will refer to symbols in ELF file.
#
# source://elftools//lib/elftools/sections/sym_tab_section.rb#20
# source://elftools//lib/elftools/sections/sym_tab_section.rb#10
class ELFTools::Sections::SymTabSection < ::ELFTools::Sections::Section
# Instantiate a {SymTabSection} object.
# There's a +section_at+ lambda for {SymTabSection}
@ -3800,7 +3801,7 @@ end
# For DT_INTERP segment, knows how to get path of
# ELF interpreter.
#
# source://elftools//lib/elftools/segments/interp_segment.rb#14
# source://elftools//lib/elftools/segments/interp_segment.rb#9
class ELFTools::Segments::InterpSegment < ::ELFTools::Segments::Segment
# Get the path of interpreter.
#
@ -3816,7 +3817,7 @@ end
# For DT_LOAD segment.
# Able to query between file offset and virtual memory address.
#
# source://elftools//lib/elftools/segments/load_segment.rb#12
# source://elftools//lib/elftools/segments/load_segment.rb#9
class ELFTools::Segments::LoadSegment < ::ELFTools::Segments::Segment
# Returns the start of this segment.
#
@ -3897,7 +3898,7 @@ end
# Class of note segment.
#
# source://elftools//lib/elftools/segments/note_segment.rb#10
# source://elftools//lib/elftools/segments/note_segment.rb#9
class ELFTools::Segments::NoteSegment < ::ELFTools::Segments::Segment
include ::ELFTools::Note
@ -4049,7 +4050,7 @@ end
# The base structure to define common methods.
#
# source://elftools//lib/elftools/structs.rb#13
# source://elftools//lib/elftools/structs.rb#12
class ELFTools::Structs::ELFStruct < ::BinData::Record
# @return [Integer] 32 or 64.
#

View File

@ -1,940 +0,0 @@
# typed: false
# DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `logger` gem.
# Please instead update this file by running `bin/tapioca gem logger`.
# \Class \Logger provides a simple but sophisticated logging utility that
# you can use to create one or more
# {event logs}[https://en.wikipedia.org/wiki/Logging_(software)#Event_logs]
# for your program.
# Each such log contains a chronological sequence of entries
# that provides a record of the program's activities.
#
# == About the Examples
#
# All examples on this page assume that \Logger has been required:
#
# require 'logger'
#
# == Synopsis
#
# Create a log with Logger.new:
#
# # Single log file.
# logger = Logger.new('t.log')
# # Size-based rotated logging: 3 10-megabyte files.
# logger = Logger.new('t.log', 3, 10485760)
# # Period-based rotated logging: daily (also allowed: 'weekly', 'monthly').
# logger = Logger.new('t.log', 'daily')
# # Log to an IO stream.
# logger = Logger.new($stdout)
#
# Add entries (level, message) with Logger#add:
#
# logger.add(Logger::DEBUG, 'Maximal debugging info')
# logger.add(Logger::INFO, 'Non-error information')
# logger.add(Logger::WARN, 'Non-error warning')
# logger.add(Logger::ERROR, 'Non-fatal error')
# logger.add(Logger::FATAL, 'Fatal error')
# logger.add(Logger::UNKNOWN, 'Most severe')
#
# Close the log with Logger#close:
#
# logger.close
#
# == Entries
#
# You can add entries with method Logger#add:
#
# logger.add(Logger::DEBUG, 'Maximal debugging info')
# logger.add(Logger::INFO, 'Non-error information')
# logger.add(Logger::WARN, 'Non-error warning')
# logger.add(Logger::ERROR, 'Non-fatal error')
# logger.add(Logger::FATAL, 'Fatal error')
# logger.add(Logger::UNKNOWN, 'Most severe')
#
# These shorthand methods also add entries:
#
# logger.debug('Maximal debugging info')
# logger.info('Non-error information')
# logger.warn('Non-error warning')
# logger.error('Non-fatal error')
# logger.fatal('Fatal error')
# logger.unknown('Most severe')
#
# When you call any of these methods,
# the entry may or may not be written to the log,
# depending on the entry's severity and on the log level;
# see {Log Level}[rdoc-ref:Logger@Log+Level]
#
# An entry always has:
#
# - A severity (the required argument to #add).
# - An automatically created timestamp.
#
# And may also have:
#
# - A message.
# - A program name.
#
# Example:
#
# logger = Logger.new($stdout)
# logger.add(Logger::INFO, 'My message.', 'mung')
# # => I, [2022-05-07T17:21:46.536234 #20536] INFO -- mung: My message.
#
# The default format for an entry is:
#
# "%s, [%s #%d] %5s -- %s: %s\n"
#
# where the values to be formatted are:
#
# - \Severity (one letter).
# - Timestamp.
# - Process id.
# - \Severity (word).
# - Program name.
# - Message.
#
# You can use a different entry format by:
#
# - Setting a custom format proc (affects following entries);
# see {formatter=}[Logger.html#attribute-i-formatter].
# - Calling any of the methods above with a block
# (affects only the one entry).
# Doing so can have two benefits:
#
# - Context: the block can evaluate the entire program context
# and create a context-dependent message.
# - Performance: the block is not evaluated unless the log level
# permits the entry actually to be written:
#
# logger.error { my_slow_message_generator }
#
# Contrast this with the string form, where the string is
# always evaluated, regardless of the log level:
#
# logger.error("#{my_slow_message_generator}")
#
# === \Severity
#
# The severity of a log entry has two effects:
#
# - Determines whether the entry is selected for inclusion in the log;
# see {Log Level}[rdoc-ref:Logger@Log+Level].
# - Indicates to any log reader (whether a person or a program)
# the relative importance of the entry.
#
# === Timestamp
#
# The timestamp for a log entry is generated automatically
# when the entry is created.
#
# The logged timestamp is formatted by method
# {Time#strftime}[https://docs.ruby-lang.org/en/master/Time.html#method-i-strftime]
# using this format string:
#
# '%Y-%m-%dT%H:%M:%S.%6N'
#
# Example:
#
# logger = Logger.new($stdout)
# logger.add(Logger::INFO)
# # => I, [2022-05-07T17:04:32.318331 #20536] INFO -- : nil
#
# You can set a different format using method #datetime_format=.
#
# === Message
#
# The message is an optional argument to an entry method:
#
# logger = Logger.new($stdout)
# logger.add(Logger::INFO, 'My message')
# # => I, [2022-05-07T18:15:37.647581 #20536] INFO -- : My message
#
# For the default entry formatter, <tt>Logger::Formatter</tt>,
# the message object may be:
#
# - A string: used as-is.
# - An Exception: <tt>message.message</tt> is used.
# - Anything else: <tt>message.inspect</tt> is used.
#
# *Note*: Logger::Formatter does not escape or sanitize
# the message passed to it.
# Developers should be aware that malicious data (user input)
# may be in the message, and should explicitly escape untrusted data.
#
# You can use a custom formatter to escape message data;
# see the example at {formatter=}[Logger.html#attribute-i-formatter].
#
# === Program Name
#
# The program name is an optional argument to an entry method:
#
# logger = Logger.new($stdout)
# logger.add(Logger::INFO, 'My message', 'mung')
# # => I, [2022-05-07T18:17:38.084716 #20536] INFO -- mung: My message
#
# The default program name for a new logger may be set in the call to
# Logger.new via optional keyword argument +progname+:
#
# logger = Logger.new('t.log', progname: 'mung')
#
# The default program name for an existing logger may be set
# by a call to method #progname=:
#
# logger.progname = 'mung'
#
# The current program name may be retrieved with method
# {progname}[Logger.html#attribute-i-progname]:
#
# logger.progname # => "mung"
#
# == Log Level
#
# The log level setting determines whether an entry is actually
# written to the log, based on the entry's severity.
#
# These are the defined severities (least severe to most severe):
#
# logger = Logger.new($stdout)
# logger.add(Logger::DEBUG, 'Maximal debugging info')
# # => D, [2022-05-07T17:57:41.776220 #20536] DEBUG -- : Maximal debugging info
# logger.add(Logger::INFO, 'Non-error information')
# # => I, [2022-05-07T17:59:14.349167 #20536] INFO -- : Non-error information
# logger.add(Logger::WARN, 'Non-error warning')
# # => W, [2022-05-07T18:00:45.337538 #20536] WARN -- : Non-error warning
# logger.add(Logger::ERROR, 'Non-fatal error')
# # => E, [2022-05-07T18:02:41.592912 #20536] ERROR -- : Non-fatal error
# logger.add(Logger::FATAL, 'Fatal error')
# # => F, [2022-05-07T18:05:24.703931 #20536] FATAL -- : Fatal error
# logger.add(Logger::UNKNOWN, 'Most severe')
# # => A, [2022-05-07T18:07:54.657491 #20536] ANY -- : Most severe
#
# The default initial level setting is Logger::DEBUG, the lowest level,
# which means that all entries are to be written, regardless of severity:
#
# logger = Logger.new($stdout)
# logger.level # => 0
# logger.add(0, "My message")
# # => D, [2022-05-11T15:10:59.773668 #20536] DEBUG -- : My message
#
# You can specify a different setting in a new logger
# using keyword argument +level+ with an appropriate value:
#
# logger = Logger.new($stdout, level: Logger::ERROR)
# logger = Logger.new($stdout, level: 'error')
# logger = Logger.new($stdout, level: :error)
# logger.level # => 3
#
# With this level, entries with severity Logger::ERROR and higher
# are written, while those with lower severities are not written:
#
# logger = Logger.new($stdout, level: Logger::ERROR)
# logger.add(3)
# # => E, [2022-05-11T15:17:20.933362 #20536] ERROR -- : nil
# logger.add(2) # Silent.
#
# You can set the log level for an existing logger
# with method #level=:
#
# logger.level = Logger::ERROR
#
# These shorthand methods also set the level:
#
# logger.debug! # => 0
# logger.info! # => 1
# logger.warn! # => 2
# logger.error! # => 3
# logger.fatal! # => 4
#
# You can retrieve the log level with method #level.
#
# logger.level = Logger::ERROR
# logger.level # => 3
#
# These methods return whether a given
# level is to be written:
#
# logger.level = Logger::ERROR
# logger.debug? # => false
# logger.info? # => false
# logger.warn? # => false
# logger.error? # => true
# logger.fatal? # => true
#
# == Log File Rotation
#
# By default, a log file is a single file that grows indefinitely
# (until explicitly closed); there is no file rotation.
#
# To keep log files to a manageable size,
# you can use _log_ _file_ _rotation_, which uses multiple log files:
#
# - Each log file has entries for a non-overlapping
# time interval.
# - Only the most recent log file is open and active;
# the others are closed and inactive.
#
# === Size-Based Rotation
#
# For size-based log file rotation, call Logger.new with:
#
# - Argument +logdev+ as a file path.
# - Argument +shift_age+ with a positive integer:
# the number of log files to be in the rotation.
# - Argument +shift_size+ as a positive integer:
# the maximum size (in bytes) of each log file;
# defaults to 1048576 (1 megabyte).
#
# Examples:
#
# logger = Logger.new('t.log', 3) # Three 1-megabyte files.
# logger = Logger.new('t.log', 5, 10485760) # Five 10-megabyte files.
#
# For these examples, suppose:
#
# logger = Logger.new('t.log', 3)
#
# Logging begins in the new log file, +t.log+;
# the log file is "full" and ready for rotation
# when a new entry would cause its size to exceed +shift_size+.
#
# The first time +t.log+ is full:
#
# - +t.log+ is closed and renamed to +t.log.0+.
# - A new file +t.log+ is opened.
#
# The second time +t.log+ is full:
#
# - +t.log.0 is renamed as +t.log.1+.
# - +t.log+ is closed and renamed to +t.log.0+.
# - A new file +t.log+ is opened.
#
# Each subsequent time that +t.log+ is full,
# the log files are rotated:
#
# - +t.log.1+ is removed.
# - +t.log.0 is renamed as +t.log.1+.
# - +t.log+ is closed and renamed to +t.log.0+.
# - A new file +t.log+ is opened.
#
# === Periodic Rotation
#
# For periodic rotation, call Logger.new with:
#
# - Argument +logdev+ as a file path.
# - Argument +shift_age+ as a string period indicator.
#
# Examples:
#
# logger = Logger.new('t.log', 'daily') # Rotate log files daily.
# logger = Logger.new('t.log', 'weekly') # Rotate log files weekly.
# logger = Logger.new('t.log', 'monthly') # Rotate log files monthly.
#
# Example:
#
# logger = Logger.new('t.log', 'daily')
#
# When the given period expires:
#
# - The base log file, +t.log+ is closed and renamed
# with a date-based suffix such as +t.log.20220509+.
# - A new log file +t.log+ is opened.
# - Nothing is removed.
#
# The default format for the suffix is <tt>'%Y%m%d'</tt>,
# which produces a suffix similar to the one above.
# You can set a different format using create-time option
# +shift_period_suffix+;
# see details and suggestions at
# {Time#strftime}[https://docs.ruby-lang.org/en/master/Time.html#method-i-strftime].
#
# source://logger//lib/logger/version.rb#3
class Logger
include ::Logger::Severity
# :call-seq:
# Logger.new(logdev, shift_age = 0, shift_size = 1048576, **options)
#
# With the single argument +logdev+,
# returns a new logger with all default options:
#
# Logger.new('t.log') # => #<Logger:0x000001e685dc6ac8>
#
# Argument +logdev+ must be one of:
#
# - A string filepath: entries are to be written
# to the file at that path; if the file at that path exists,
# new entries are appended.
# - An IO stream (typically +$stdout+, +$stderr+. or an open file):
# entries are to be written to the given stream.
# - +nil+ or +File::NULL+: no entries are to be written.
#
# Examples:
#
# Logger.new('t.log')
# Logger.new($stdout)
#
# The keyword options are:
#
# - +level+: sets the log level; default value is Logger::DEBUG.
# See {Log Level}[rdoc-ref:Logger@Log+Level]:
#
# Logger.new('t.log', level: Logger::ERROR)
#
# - +progname+: sets the default program name; default is +nil+.
# See {Program Name}[rdoc-ref:Logger@Program+Name]:
#
# Logger.new('t.log', progname: 'mung')
#
# - +formatter+: sets the entry formatter; default is +nil+.
# See {formatter=}[Logger.html#attribute-i-formatter].
# - +datetime_format+: sets the format for entry timestamp;
# default is +nil+.
# See #datetime_format=.
# - +binmode+: sets whether the logger writes in binary mode;
# default is +false+.
# - +shift_period_suffix+: sets the format for the filename suffix
# for periodic log file rotation; default is <tt>'%Y%m%d'</tt>.
# See {Periodic Rotation}[rdoc-ref:Logger@Periodic+Rotation].
# - +reraise_write_errors+: An array of exception classes, which will
# be reraised if there is an error when writing to the log device.
# The default is to swallow all exceptions raised.
#
# @return [Logger] a new instance of Logger
#
# source://logger//lib/logger.rb#581
def initialize(logdev, shift_age = T.unsafe(nil), shift_size = T.unsafe(nil), level: T.unsafe(nil), progname: T.unsafe(nil), formatter: T.unsafe(nil), datetime_format: T.unsafe(nil), binmode: T.unsafe(nil), shift_period_suffix: T.unsafe(nil), reraise_write_errors: T.unsafe(nil)); end
# Writes the given +msg+ to the log with no formatting;
# returns the number of characters written,
# or +nil+ if no log device exists:
#
# logger = Logger.new($stdout)
# logger << 'My message.' # => 10
#
# Output:
#
# My message.
#
# source://logger//lib/logger.rb#689
def <<(msg); end
# Creates a log entry, which may or may not be written to the log,
# depending on the entry's severity and on the log level.
# See {Log Level}[rdoc-ref:Logger@Log+Level]
# and {Entries}[rdoc-ref:Logger@Entries] for details.
#
# Examples:
#
# logger = Logger.new($stdout, progname: 'mung')
# logger.add(Logger::INFO)
# logger.add(Logger::ERROR, 'No good')
# logger.add(Logger::ERROR, 'No good', 'gnum')
#
# Output:
#
# I, [2022-05-12T16:25:31.469726 #36328] INFO -- mung: mung
# E, [2022-05-12T16:25:55.349414 #36328] ERROR -- mung: No good
# E, [2022-05-12T16:26:35.841134 #36328] ERROR -- gnum: No good
#
# These convenience methods have implicit severity:
#
# - #debug.
# - #info.
# - #warn.
# - #error.
# - #fatal.
# - #unknown.
#
# source://logger//lib/logger.rb#656
def add(severity, message = T.unsafe(nil), progname = T.unsafe(nil)); end
# Closes the logger; returns +nil+:
#
# logger = Logger.new('t.log')
# logger.close # => nil
# logger.info('foo') # Prints "log writing failed. closed stream"
#
# Related: Logger#reopen.
#
# source://logger//lib/logger.rb#736
def close; end
# Returns the date-time format; see #datetime_format=.
#
# source://logger//lib/logger.rb#438
def datetime_format; end
# Sets the date-time format.
#
# Argument +datetime_format+ should be either of these:
#
# - A string suitable for use as a format for method
# {Time#strftime}[https://docs.ruby-lang.org/en/master/Time.html#method-i-strftime].
# - +nil+: the logger uses <tt>'%Y-%m-%dT%H:%M:%S.%6N'</tt>.
#
# source://logger//lib/logger.rb#432
def datetime_format=(datetime_format); end
# Equivalent to calling #add with severity <tt>Logger::DEBUG</tt>.
#
# source://logger//lib/logger.rb#695
def debug(progname = T.unsafe(nil), &block); end
# Sets the log level to Logger::DEBUG.
# See {Log Level}[rdoc-ref:Logger@Log+Level].
#
# source://logger//lib/logger.rb#487
def debug!; end
# Returns +true+ if the log level allows entries with severity
# Logger::DEBUG to be written, +false+ otherwise.
# See {Log Level}[rdoc-ref:Logger@Log+Level].
#
# @return [Boolean]
#
# source://logger//lib/logger.rb#482
def debug?; end
# Equivalent to calling #add with severity <tt>Logger::ERROR</tt>.
#
# source://logger//lib/logger.rb#713
def error(progname = T.unsafe(nil), &block); end
# Sets the log level to Logger::ERROR.
# See {Log Level}[rdoc-ref:Logger@Log+Level].
#
# source://logger//lib/logger.rb#520
def error!; end
# Returns +true+ if the log level allows entries with severity
# Logger::ERROR to be written, +false+ otherwise.
# See {Log Level}[rdoc-ref:Logger@Log+Level].
#
# @return [Boolean]
#
# source://logger//lib/logger.rb#515
def error?; end
# Equivalent to calling #add with severity <tt>Logger::FATAL</tt>.
#
# source://logger//lib/logger.rb#719
def fatal(progname = T.unsafe(nil), &block); end
# Sets the log level to Logger::FATAL.
# See {Log Level}[rdoc-ref:Logger@Log+Level].
#
# source://logger//lib/logger.rb#531
def fatal!; end
# Returns +true+ if the log level allows entries with severity
# Logger::FATAL to be written, +false+ otherwise.
# See {Log Level}[rdoc-ref:Logger@Log+Level].
#
# @return [Boolean]
#
# source://logger//lib/logger.rb#526
def fatal?; end
# Sets or retrieves the logger entry formatter proc.
#
# When +formatter+ is +nil+, the logger uses Logger::Formatter.
#
# When +formatter+ is a proc, a new entry is formatted by the proc,
# which is called with four arguments:
#
# - +severity+: The severity of the entry.
# - +time+: A Time object representing the entry's timestamp.
# - +progname+: The program name for the entry.
# - +msg+: The message for the entry (string or string-convertible object).
#
# The proc should return a string containing the formatted entry.
#
# This custom formatter uses
# {String#dump}[https://docs.ruby-lang.org/en/master/String.html#method-i-dump]
# to escape the message string:
#
# logger = Logger.new($stdout, progname: 'mung')
# original_formatter = logger.formatter || Logger::Formatter.new
# logger.formatter = proc { |severity, time, progname, msg|
# original_formatter.call(severity, time, progname, msg.dump)
# }
# logger.add(Logger::INFO, "hello \n ''")
# logger.add(Logger::INFO, "\f\x00\xff\\\"")
#
# Output:
#
# I, [2022-05-13T13:16:29.637488 #8492] INFO -- mung: "hello \n ''"
# I, [2022-05-13T13:16:29.637610 #8492] INFO -- mung: "\f\x00\xFF\\\""
#
# source://logger//lib/logger.rb#473
def formatter; end
# Sets or retrieves the logger entry formatter proc.
#
# When +formatter+ is +nil+, the logger uses Logger::Formatter.
#
# When +formatter+ is a proc, a new entry is formatted by the proc,
# which is called with four arguments:
#
# - +severity+: The severity of the entry.
# - +time+: A Time object representing the entry's timestamp.
# - +progname+: The program name for the entry.
# - +msg+: The message for the entry (string or string-convertible object).
#
# The proc should return a string containing the formatted entry.
#
# This custom formatter uses
# {String#dump}[https://docs.ruby-lang.org/en/master/String.html#method-i-dump]
# to escape the message string:
#
# logger = Logger.new($stdout, progname: 'mung')
# original_formatter = logger.formatter || Logger::Formatter.new
# logger.formatter = proc { |severity, time, progname, msg|
# original_formatter.call(severity, time, progname, msg.dump)
# }
# logger.add(Logger::INFO, "hello \n ''")
# logger.add(Logger::INFO, "\f\x00\xff\\\"")
#
# Output:
#
# I, [2022-05-13T13:16:29.637488 #8492] INFO -- mung: "hello \n ''"
# I, [2022-05-13T13:16:29.637610 #8492] INFO -- mung: "\f\x00\xFF\\\""
#
# source://logger//lib/logger.rb#473
def formatter=(_arg0); end
# Equivalent to calling #add with severity <tt>Logger::INFO</tt>.
#
# source://logger//lib/logger.rb#701
def info(progname = T.unsafe(nil), &block); end
# Sets the log level to Logger::INFO.
# See {Log Level}[rdoc-ref:Logger@Log+Level].
#
# source://logger//lib/logger.rb#498
def info!; end
# Returns +true+ if the log level allows entries with severity
# Logger::INFO to be written, +false+ otherwise.
# See {Log Level}[rdoc-ref:Logger@Log+Level].
#
# @return [Boolean]
#
# source://logger//lib/logger.rb#493
def info?; end
# Logging severity threshold (e.g. <tt>Logger::INFO</tt>).
#
# source://logger//lib/logger.rb#383
def level; end
# Sets the log level; returns +severity+.
# See {Log Level}[rdoc-ref:Logger@Log+Level].
#
# Argument +severity+ may be an integer, a string, or a symbol:
#
# logger.level = Logger::ERROR # => 3
# logger.level = 3 # => 3
# logger.level = 'error' # => "error"
# logger.level = :error # => :error
#
# Logger#sev_threshold= is an alias for Logger#level=.
#
# source://logger//lib/logger.rb#399
def level=(severity); end
# Creates a log entry, which may or may not be written to the log,
# depending on the entry's severity and on the log level.
# See {Log Level}[rdoc-ref:Logger@Log+Level]
# and {Entries}[rdoc-ref:Logger@Entries] for details.
#
# Examples:
#
# logger = Logger.new($stdout, progname: 'mung')
# logger.add(Logger::INFO)
# logger.add(Logger::ERROR, 'No good')
# logger.add(Logger::ERROR, 'No good', 'gnum')
#
# Output:
#
# I, [2022-05-12T16:25:31.469726 #36328] INFO -- mung: mung
# E, [2022-05-12T16:25:55.349414 #36328] ERROR -- mung: No good
# E, [2022-05-12T16:26:35.841134 #36328] ERROR -- gnum: No good
#
# These convenience methods have implicit severity:
#
# - #debug.
# - #info.
# - #warn.
# - #error.
# - #fatal.
# - #unknown.
#
# source://logger//lib/logger.rb#656
def log(severity, message = T.unsafe(nil), progname = T.unsafe(nil)); end
# Program name to include in log messages.
#
# source://logger//lib/logger.rb#422
def progname; end
# Program name to include in log messages.
#
# source://logger//lib/logger.rb#422
def progname=(_arg0); end
# Sets the logger's output stream:
#
# - If +logdev+ is +nil+, reopens the current output stream.
# - If +logdev+ is a filepath, opens the indicated file for append.
# - If +logdev+ is an IO stream
# (usually <tt>$stdout</tt>, <tt>$stderr</tt>, or an open File object),
# opens the stream for append.
#
# Example:
#
# logger = Logger.new('t.log')
# logger.add(Logger::ERROR, 'one')
# logger.close
# logger.add(Logger::ERROR, 'two') # Prints 'log writing failed. closed stream'
# logger.reopen
# logger.add(Logger::ERROR, 'three')
# logger.close
# File.readlines('t.log')
# # =>
# # ["# Logfile created on 2022-05-12 14:21:19 -0500 by logger.rb/v1.5.0\n",
# # "E, [2022-05-12T14:21:27.596726 #22428] ERROR -- : one\n",
# # "E, [2022-05-12T14:23:05.847241 #22428] ERROR -- : three\n"]
#
# source://logger//lib/logger.rb#624
def reopen(logdev = T.unsafe(nil)); end
# Logging severity threshold (e.g. <tt>Logger::INFO</tt>).
#
# source://logger//lib/logger.rb#383
def sev_threshold; end
# Sets the log level; returns +severity+.
# See {Log Level}[rdoc-ref:Logger@Log+Level].
#
# Argument +severity+ may be an integer, a string, or a symbol:
#
# logger.level = Logger::ERROR # => 3
# logger.level = 3 # => 3
# logger.level = 'error' # => "error"
# logger.level = :error # => :error
#
# Logger#sev_threshold= is an alias for Logger#level=.
#
# source://logger//lib/logger.rb#399
def sev_threshold=(severity); end
# Equivalent to calling #add with severity <tt>Logger::UNKNOWN</tt>.
#
# source://logger//lib/logger.rb#725
def unknown(progname = T.unsafe(nil), &block); end
# Equivalent to calling #add with severity <tt>Logger::WARN</tt>.
#
# source://logger//lib/logger.rb#707
def warn(progname = T.unsafe(nil), &block); end
# Sets the log level to Logger::WARN.
# See {Log Level}[rdoc-ref:Logger@Log+Level].
#
# source://logger//lib/logger.rb#509
def warn!; end
# Returns +true+ if the log level allows entries with severity
# Logger::WARN to be written, +false+ otherwise.
# See {Log Level}[rdoc-ref:Logger@Log+Level].
#
# @return [Boolean]
#
# source://logger//lib/logger.rb#504
def warn?; end
# Adjust the log level during the block execution for the current Fiber only
#
# logger.with_level(:debug) do
# logger.debug { "Hello" }
# end
#
# source://logger//lib/logger.rb#408
def with_level(severity); end
private
# source://logger//lib/logger.rb#758
def format_message(severity, datetime, progname, msg); end
# source://logger//lib/logger.rb#745
def format_severity(severity); end
# source://logger//lib/logger.rb#754
def level_key; end
# Guarantee the existence of this ivar even when subclasses don't call the superclass constructor.
#
# source://logger//lib/logger.rb#750
def level_override; end
end
# Default formatter for log messages.
#
# source://logger//lib/logger/formatter.rb#5
class Logger::Formatter
# @return [Formatter] a new instance of Formatter
#
# source://logger//lib/logger/formatter.rb#11
def initialize; end
# source://logger//lib/logger/formatter.rb#15
def call(severity, time, progname, msg); end
# Returns the value of attribute datetime_format.
#
# source://logger//lib/logger/formatter.rb#9
def datetime_format; end
# Sets the attribute datetime_format
#
# @param value the value to set the attribute datetime_format to.
#
# source://logger//lib/logger/formatter.rb#9
def datetime_format=(_arg0); end
private
# source://logger//lib/logger/formatter.rb#21
def format_datetime(time); end
# source://logger//lib/logger/formatter.rb#25
def msg2str(msg); end
end
# source://logger//lib/logger/formatter.rb#7
Logger::Formatter::DatetimeFormat = T.let(T.unsafe(nil), String)
# source://logger//lib/logger/formatter.rb#6
Logger::Formatter::Format = T.let(T.unsafe(nil), String)
# Device used for logging messages.
#
# source://logger//lib/logger/log_device.rb#7
class Logger::LogDevice
include ::Logger::Period
include ::MonitorMixin
# @return [LogDevice] a new instance of LogDevice
#
# source://logger//lib/logger/log_device.rb#14
def initialize(log = T.unsafe(nil), shift_age: T.unsafe(nil), shift_size: T.unsafe(nil), shift_period_suffix: T.unsafe(nil), binmode: T.unsafe(nil), reraise_write_errors: T.unsafe(nil)); end
# source://logger//lib/logger/log_device.rb#43
def close; end
# Returns the value of attribute dev.
#
# source://logger//lib/logger/log_device.rb#10
def dev; end
# Returns the value of attribute filename.
#
# source://logger//lib/logger/log_device.rb#11
def filename; end
# source://logger//lib/logger/log_device.rb#53
def reopen(log = T.unsafe(nil)); end
# source://logger//lib/logger/log_device.rb#32
def write(message); end
private
# source://logger//lib/logger/log_device.rb#148
def add_log_header(file); end
# source://logger//lib/logger/log_device.rb#154
def check_shift_log; end
# source://logger//lib/logger/log_device.rb#124
def create_logfile(filename); end
# source://logger//lib/logger/log_device.rb#96
def fixup_mode(dev, filename); end
# source://logger//lib/logger/log_device.rb#140
def handle_write_errors(mesg); end
# source://logger//lib/logger/log_device.rb#169
def lock_shift_log; end
# source://logger//lib/logger/log_device.rb#111
def open_logfile(filename); end
# source://logger//lib/logger/log_device.rb#81
def set_dev(log); end
# source://logger//lib/logger/log_device.rb#198
def shift_log_age; end
# source://logger//lib/logger/log_device.rb#210
def shift_log_period(period_end); end
end
# :stopdoc:
#
# source://logger//lib/logger/log_device.rb#72
Logger::LogDevice::MODE = T.let(T.unsafe(nil), Integer)
# source://logger//lib/logger/log_device.rb#79
Logger::LogDevice::MODE_TO_CREATE = T.let(T.unsafe(nil), Integer)
# source://logger//lib/logger/log_device.rb#75
Logger::LogDevice::MODE_TO_OPEN = T.let(T.unsafe(nil), Integer)
# source://logger//lib/logger/period.rb#4
module Logger::Period
private
# source://logger//lib/logger/period.rb#9
def next_rotate_time(now, shift_age); end
# source://logger//lib/logger/period.rb#31
def previous_period_end(now, shift_age); end
class << self
# source://logger//lib/logger/period.rb#9
def next_rotate_time(now, shift_age); end
# source://logger//lib/logger/period.rb#31
def previous_period_end(now, shift_age); end
end
end
# source://logger//lib/logger/period.rb#7
Logger::Period::SiD = T.let(T.unsafe(nil), Integer)
# \Severity label for logging (max 5 chars).
#
# source://logger//lib/logger.rb#743
Logger::SEV_LABEL = T.let(T.unsafe(nil), Array)
# Logging severity.
#
# source://logger//lib/logger/severity.rb#5
module Logger::Severity
class << self
# source://logger//lib/logger/severity.rb#29
def coerce(severity); end
end
end
# source://logger//lib/logger/severity.rb#19
Logger::Severity::LEVELS = T.let(T.unsafe(nil), Hash)

View File

@ -4,6 +4,7 @@
# 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`.
# source://method_source//lib/method_source.rb#163
class Method
include ::MethodSource::SourceLocation::MethodExtensions

View File

@ -4,6 +4,7 @@
# This is an autogenerated file for types exported from the `patchelf` gem.
# Please instead update this file by running `bin/tapioca gem patchelf`.
# Main module of patchelf.
#
# @author david942j

View File

@ -4,6 +4,7 @@
# This is an autogenerated file for types exported from the `rainbow` gem.
# Please instead update this file by running `bin/tapioca gem rainbow`.
class Object < ::BasicObject
include ::Kernel
include ::PP::ObjectMixin

View File

@ -2489,7 +2489,7 @@ class RBI::Rewriters::Merge::Conflict < ::T::Struct
def to_s; end
class << self
# source://sorbet-runtime/0.5.11694/lib/types/struct.rb#13
# source://sorbet-runtime/0.5.11746/lib/types/struct.rb#13
def inherited(s); end
end
end
@ -2734,7 +2734,7 @@ class RBI::Rewriters::RemoveKnownDefinitions::Operation < ::T::Struct
def to_s; end
class << self
# source://sorbet-runtime/0.5.11694/lib/types/struct.rb#13
# source://sorbet-runtime/0.5.11746/lib/types/struct.rb#13
def inherited(s); end
end
end
@ -3280,7 +3280,7 @@ class RBI::Tree < ::RBI::NodeWithComments
sig { params(annotation: ::String, annotate_scopes: T::Boolean, annotate_properties: T::Boolean).void }
def annotate!(annotation, annotate_scopes: T.unsafe(nil), annotate_properties: T.unsafe(nil)); end
# source://tapioca/0.16.5/lib/tapioca/rbi_ext/model.rb#38
# source://tapioca/0.16.7/lib/tapioca/rbi_ext/model.rb#38
sig do
params(
name: ::String,
@ -3290,19 +3290,19 @@ class RBI::Tree < ::RBI::NodeWithComments
end
def create_class(name, superclass_name: T.unsafe(nil), &block); end
# source://tapioca/0.16.5/lib/tapioca/rbi_ext/model.rb#45
# source://tapioca/0.16.7/lib/tapioca/rbi_ext/model.rb#45
sig { params(name: ::String, value: ::String).void }
def create_constant(name, value:); end
# source://tapioca/0.16.5/lib/tapioca/rbi_ext/model.rb#55
# source://tapioca/0.16.7/lib/tapioca/rbi_ext/model.rb#55
sig { params(name: ::String).void }
def create_extend(name); end
# source://tapioca/0.16.5/lib/tapioca/rbi_ext/model.rb#50
# source://tapioca/0.16.7/lib/tapioca/rbi_ext/model.rb#50
sig { params(name: ::String).void }
def create_include(name); end
# source://tapioca/0.16.5/lib/tapioca/rbi_ext/model.rb#90
# source://tapioca/0.16.7/lib/tapioca/rbi_ext/model.rb#90
sig do
params(
name: ::String,
@ -3316,19 +3316,19 @@ class RBI::Tree < ::RBI::NodeWithComments
end
def create_method(name, parameters: T.unsafe(nil), return_type: T.unsafe(nil), class_method: T.unsafe(nil), visibility: T.unsafe(nil), comments: T.unsafe(nil), &block); end
# source://tapioca/0.16.5/lib/tapioca/rbi_ext/model.rb#60
# source://tapioca/0.16.7/lib/tapioca/rbi_ext/model.rb#60
sig { params(name: ::String).void }
def create_mixes_in_class_methods(name); end
# source://tapioca/0.16.5/lib/tapioca/rbi_ext/model.rb#25
# source://tapioca/0.16.7/lib/tapioca/rbi_ext/model.rb#25
sig { params(name: ::String, block: T.nilable(T.proc.params(scope: ::RBI::Scope).void)).returns(::RBI::Scope) }
def create_module(name, &block); end
# source://tapioca/0.16.5/lib/tapioca/rbi_ext/model.rb#9
# source://tapioca/0.16.7/lib/tapioca/rbi_ext/model.rb#9
sig { params(constant: ::Module, block: T.nilable(T.proc.params(scope: ::RBI::Scope).void)).returns(::RBI::Scope) }
def create_path(constant, &block); end
# source://tapioca/0.16.5/lib/tapioca/rbi_ext/model.rb#74
# source://tapioca/0.16.7/lib/tapioca/rbi_ext/model.rb#74
sig do
params(
name: ::String,
@ -3406,11 +3406,11 @@ class RBI::Tree < ::RBI::NodeWithComments
private
# source://tapioca/0.16.5/lib/tapioca/rbi_ext/model.rb#123
# source://tapioca/0.16.7/lib/tapioca/rbi_ext/model.rb#123
sig { params(node: ::RBI::Node).returns(::RBI::Node) }
def create_node(node); end
# source://tapioca/0.16.5/lib/tapioca/rbi_ext/model.rb#118
# source://tapioca/0.16.7/lib/tapioca/rbi_ext/model.rb#118
sig { returns(T::Hash[::String, ::RBI::Node]) }
def nodes_cache; end
end

View File

@ -4,5 +4,167 @@
# This is an autogenerated file for types exported from the `redcarpet` gem.
# Please instead update this file by running `bin/tapioca gem redcarpet`.
# THIS IS AN EMPTY RBI FILE.
# see https://github.com/Shopify/tapioca#manually-requiring-parts-of-a-gem
# source://redcarpet//lib/redcarpet/compat.rb#71
Markdown = RedcarpetCompat
# source://redcarpet//lib/redcarpet.rb#4
module Redcarpet; end
# source://redcarpet//lib/redcarpet.rb#7
class Redcarpet::Markdown
def render(_arg0); end
# Returns the value of attribute renderer.
#
# source://redcarpet//lib/redcarpet.rb#8
def renderer; end
class << self
def new(*_arg0); end
end
end
# source://redcarpet//lib/redcarpet.rb#11
module Redcarpet::Render; end
class Redcarpet::Render::Base
def initialize; end
end
class Redcarpet::Render::HTML < ::Redcarpet::Render::Base
def initialize(*_arg0); end
end
class Redcarpet::Render::HTML_TOC < ::Redcarpet::Render::Base
def initialize(*_arg0); end
end
# A renderer object you can use to deal with users' input. It
# enables +escape_html+ and +safe_links_only+ by default.
#
# The +block_code+ callback is also overriden not to include
# the lang's class as the user can basically specify anything
# with the vanilla one.
#
# source://redcarpet//lib/redcarpet.rb#31
class Redcarpet::Render::Safe < ::Redcarpet::Render::HTML
# @return [Safe] a new instance of Safe
#
# source://redcarpet//lib/redcarpet.rb#32
def initialize(extensions = T.unsafe(nil)); end
# source://redcarpet//lib/redcarpet.rb#39
def block_code(code, lang); end
private
# TODO: This is far from ideal to have such method as we
# are duplicating existing code from Houdini. This method
# should be defined at the C level.
#
# source://redcarpet//lib/redcarpet.rb#50
def html_escape(string); end
end
# HTML + SmartyPants renderer
#
# source://redcarpet//lib/redcarpet.rb#21
class Redcarpet::Render::SmartyHTML < ::Redcarpet::Render::HTML
include ::Redcarpet::Render::SmartyPants
end
# SmartyPants Mixin module
#
# Implements SmartyPants.postprocess, which
# performs smartypants replacements on the HTML file,
# once it has been fully rendered.
#
# To add SmartyPants postprocessing to your custom
# renderers, just mixin the module `include SmartyPants`
#
# You can also use this as a standalone SmartyPants
# implementation.
#
# Example:
#
# # Mixin
# class CoolRenderer < HTML
# include SmartyPants
# # more code here
# end
#
# # Standalone
# Redcarpet::Render::SmartyPants.render("you're")
#
# source://redcarpet//lib/redcarpet.rb#85
module Redcarpet::Render::SmartyPants
extend ::Redcarpet::Render::SmartyPants
def postprocess(_arg0); end
class << self
# source://redcarpet//lib/redcarpet.rb#87
def render(text); end
end
end
# XHTML Renderer
#
# source://redcarpet//lib/redcarpet.rb#14
class Redcarpet::Render::XHTML < ::Redcarpet::Render::HTML
# @return [XHTML] a new instance of XHTML
#
# source://redcarpet//lib/redcarpet.rb#15
def initialize(extensions = T.unsafe(nil)); end
end
# source://redcarpet//lib/redcarpet.rb#5
Redcarpet::VERSION = T.let(T.unsafe(nil), String)
# Creates an instance of Redcarpet with the RedCloth API.
#
# source://redcarpet//lib/redcarpet/compat.rb#2
class RedcarpetCompat
# @return [RedcarpetCompat] a new instance of RedcarpetCompat
#
# source://redcarpet//lib/redcarpet/compat.rb#5
def initialize(text, *exts); end
# Returns the value of attribute text.
#
# source://redcarpet//lib/redcarpet/compat.rb#3
def text; end
# Sets the attribute text
#
# @param value the value to set the attribute text to.
#
# source://redcarpet//lib/redcarpet/compat.rb#3
def text=(_arg0); end
# source://redcarpet//lib/redcarpet/compat.rb#12
def to_html(*_dummy); end
private
# Turns a list of symbols into a hash of <tt>symbol => true</tt>.
#
# source://redcarpet//lib/redcarpet/compat.rb#66
def list_to_truthy_hash(list); end
# Returns two hashes, the extensions and renderer options
# given the extension list
#
# source://redcarpet//lib/redcarpet/compat.rb#59
def parse_extensions_and_renderer_options(exts); end
# source://redcarpet//lib/redcarpet/compat.rb#47
def rename_extensions(exts); end
end
# source://redcarpet//lib/redcarpet/compat.rb#18
RedcarpetCompat::EXTENSION_MAP = T.let(T.unsafe(nil), Hash)
# source://redcarpet//lib/redcarpet/compat.rb#44
RedcarpetCompat::RENDERER_OPTIONS = T.let(T.unsafe(nil), Array)

View File

@ -4,73 +4,74 @@
# This is an autogenerated file for types exported from the `rspec-sorbet` gem.
# Please instead update this file by running `bin/tapioca gem rspec-sorbet`.
# source://rspec-sorbet//lib/rspec/sorbet/doubles.rb#6
module RSpec
class << self
# source://rspec-core/3.13.0/lib/rspec/core.rb#70
# source://rspec-core/3.13.2/lib/rspec/core.rb#70
def clear_examples; end
# source://rspec-core/3.13.0/lib/rspec/core.rb#85
# source://rspec-core/3.13.2/lib/rspec/core.rb#85
def configuration; end
# source://rspec-core/3.13.0/lib/rspec/core.rb#49
# source://rspec-core/3.13.2/lib/rspec/core.rb#49
def configuration=(_arg0); end
# source://rspec-core/3.13.0/lib/rspec/core.rb#97
# source://rspec-core/3.13.2/lib/rspec/core.rb#97
def configure; end
# source://rspec-core/3.13.0/lib/rspec/core.rb#194
# source://rspec-core/3.13.2/lib/rspec/core.rb#194
def const_missing(name); end
# source://rspec-core/3.13.0/lib/rspec/core/dsl.rb#42
# source://rspec-core/3.13.2/lib/rspec/core/dsl.rb#42
def context(*args, &example_group_block); end
# source://rspec-core/3.13.0/lib/rspec/core.rb#122
# source://rspec-core/3.13.2/lib/rspec/core.rb#122
def current_example; end
# source://rspec-core/3.13.0/lib/rspec/core.rb#128
# source://rspec-core/3.13.2/lib/rspec/core.rb#128
def current_example=(example); end
# source://rspec-core/3.13.0/lib/rspec/core.rb#154
# source://rspec-core/3.13.2/lib/rspec/core.rb#154
def current_scope; end
# source://rspec-core/3.13.0/lib/rspec/core.rb#134
# source://rspec-core/3.13.2/lib/rspec/core.rb#134
def current_scope=(scope); end
# source://rspec-core/3.13.0/lib/rspec/core/dsl.rb#42
# source://rspec-core/3.13.2/lib/rspec/core/dsl.rb#42
def describe(*args, &example_group_block); end
# source://rspec-core/3.13.0/lib/rspec/core/dsl.rb#42
# source://rspec-core/3.13.2/lib/rspec/core/dsl.rb#42
def example_group(*args, &example_group_block); end
# source://rspec-core/3.13.0/lib/rspec/core/dsl.rb#42
# source://rspec-core/3.13.2/lib/rspec/core/dsl.rb#42
def fcontext(*args, &example_group_block); end
# source://rspec-core/3.13.0/lib/rspec/core/dsl.rb#42
# source://rspec-core/3.13.2/lib/rspec/core/dsl.rb#42
def fdescribe(*args, &example_group_block); end
# source://rspec-core/3.13.0/lib/rspec/core.rb#58
# source://rspec-core/3.13.2/lib/rspec/core.rb#58
def reset; end
# source://rspec-core/3.13.0/lib/rspec/core/shared_example_group.rb#110
# source://rspec-core/3.13.2/lib/rspec/core/shared_example_group.rb#110
def shared_context(name, *args, &block); end
# source://rspec-core/3.13.0/lib/rspec/core/shared_example_group.rb#110
# source://rspec-core/3.13.2/lib/rspec/core/shared_example_group.rb#110
def shared_examples(name, *args, &block); end
# source://rspec-core/3.13.0/lib/rspec/core/shared_example_group.rb#110
# source://rspec-core/3.13.2/lib/rspec/core/shared_example_group.rb#110
def shared_examples_for(name, *args, &block); end
# source://rspec-core/3.13.0/lib/rspec/core.rb#160
# source://rspec-core/3.13.2/lib/rspec/core.rb#160
def world; end
# source://rspec-core/3.13.0/lib/rspec/core.rb#49
# source://rspec-core/3.13.2/lib/rspec/core.rb#49
def world=(_arg0); end
# source://rspec-core/3.13.0/lib/rspec/core/dsl.rb#42
# source://rspec-core/3.13.2/lib/rspec/core/dsl.rb#42
def xcontext(*args, &example_group_block); end
# source://rspec-core/3.13.0/lib/rspec/core/dsl.rb#42
# source://rspec-core/3.13.2/lib/rspec/core/dsl.rb#42
def xdescribe(*args, &example_group_block); end
end
end
@ -90,7 +91,7 @@ module RSpec::Sorbet::Doubles
# @return [void]
#
# source://sorbet-runtime/0.5.11258/lib/types/private/methods/_methods.rb#257
# source://sorbet-runtime/0.5.11746/lib/types/private/methods/_methods.rb#257
def allow_instance_doubles!(*args, **_arg1, &blk); end
# source://rspec-sorbet//lib/rspec/sorbet/doubles.rb#36

View File

@ -5346,6 +5346,9 @@ RuboCop::AST::NodePattern::Sets::SET_ANY_EMPTY_NONE = T.let(T.unsafe(nil), Set)
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
RuboCop::AST::NodePattern::Sets::SET_ANY_EMPTY_NONE_ETC = T.let(T.unsafe(nil), Set)
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
RuboCop::AST::NodePattern::Sets::SET_ARRAY_HASH = T.let(T.unsafe(nil), Set)
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
RuboCop::AST::NodePattern::Sets::SET_ATTR_READER_ATTR_WRITER_ATTR_ACCESSOR = T.let(T.unsafe(nil), Set)
@ -5604,6 +5607,9 @@ RuboCop::AST::NodePattern::Sets::SET_SEND_PUBLIC_SEND___SEND__ = T.let(T.unsafe(
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
RuboCop::AST::NodePattern::Sets::SET_SEND___SEND__ = T.let(T.unsafe(nil), Set)
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
RuboCop::AST::NodePattern::Sets::SET_SET_SORTEDSET = T.let(T.unsafe(nil), Set)
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
RuboCop::AST::NodePattern::Sets::SET_SHOULD_SHOULD_NOT = T.let(T.unsafe(nil), Set)
@ -5706,12 +5712,6 @@ RuboCop::AST::NodePattern::Sets::SET___8 = T.let(T.unsafe(nil), Set)
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
RuboCop::AST::NodePattern::Sets::SET___9 = T.let(T.unsafe(nil), Set)
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
RuboCop::AST::NodePattern::Sets::SET___EQL_ETC = T.let(T.unsafe(nil), Set)
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
RuboCop::AST::NodePattern::Sets::SET___EQL_INCLUDE = T.let(T.unsafe(nil), Set)
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
RuboCop::AST::NodePattern::Sets::SET___METHOD_____CALLEE__ = T.let(T.unsafe(nil), Set)
@ -7409,28 +7409,28 @@ class RuboCop::AST::YieldNode < ::RuboCop::AST::Node
end
class RuboCop::CommentConfig
# source://rubocop/1.69.2/lib/rubocop/comment_config.rb#34
# source://rubocop/1.70.0/lib/rubocop/comment_config.rb#34
def initialize(processed_source); end
# source://rubocop/1.69.2/lib/rubocop/comment_config.rb#63
# source://rubocop/1.70.0/lib/rubocop/comment_config.rb#63
def comment_only_line?(line_number); end
# source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
def config(*_arg0, **_arg1, &_arg2); end
# source://rubocop/1.69.2/lib/rubocop/comment_config.rb#51
# source://rubocop/1.70.0/lib/rubocop/comment_config.rb#51
def cop_disabled_line_ranges; end
# source://rubocop/1.69.2/lib/rubocop/comment_config.rb#39
# source://rubocop/1.70.0/lib/rubocop/comment_config.rb#39
def cop_enabled_at_line?(cop, line_number); end
# source://rubocop/1.69.2/lib/rubocop/comment_config.rb#47
# source://rubocop/1.70.0/lib/rubocop/comment_config.rb#47
def cop_opted_in?(cop); end
# source://rubocop/1.69.2/lib/rubocop/comment_config.rb#55
# source://rubocop/1.70.0/lib/rubocop/comment_config.rb#55
def extra_enabled_comments; end
# source://rubocop/1.69.2/lib/rubocop/comment_config.rb#30
# source://rubocop/1.70.0/lib/rubocop/comment_config.rb#30
def processed_source; end
# source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
@ -7438,51 +7438,51 @@ class RuboCop::CommentConfig
private
# source://rubocop/1.69.2/lib/rubocop/comment_config.rb#96
# source://rubocop/1.70.0/lib/rubocop/comment_config.rb#96
def analyze; end
# source://rubocop/1.69.2/lib/rubocop/comment_config.rb#124
# source://rubocop/1.70.0/lib/rubocop/comment_config.rb#124
def analyze_cop(analysis, directive); end
# source://rubocop/1.69.2/lib/rubocop/comment_config.rb#144
# source://rubocop/1.70.0/lib/rubocop/comment_config.rb#144
def analyze_disabled(analysis, directive); end
# source://rubocop/1.69.2/lib/rubocop/comment_config.rb#155
# source://rubocop/1.70.0/lib/rubocop/comment_config.rb#155
def analyze_rest(analysis, directive); end
# source://rubocop/1.69.2/lib/rubocop/comment_config.rb#135
# source://rubocop/1.70.0/lib/rubocop/comment_config.rb#135
def analyze_single_line(analysis, directive); end
# source://rubocop/1.69.2/lib/rubocop/comment_config.rb#164
# source://rubocop/1.70.0/lib/rubocop/comment_config.rb#164
def cop_line_ranges(analysis); end
# source://rubocop/1.69.2/lib/rubocop/comment_config.rb#170
# source://rubocop/1.70.0/lib/rubocop/comment_config.rb#170
def each_directive; end
# source://rubocop/1.69.2/lib/rubocop/comment_config.rb#69
# source://rubocop/1.70.0/lib/rubocop/comment_config.rb#69
def extra_enabled_comments_with_names(extras:, names:); end
# source://rubocop/1.69.2/lib/rubocop/comment_config.rb#190
# source://rubocop/1.70.0/lib/rubocop/comment_config.rb#190
def handle_enable_all(directive, names, extras); end
# source://rubocop/1.69.2/lib/rubocop/comment_config.rb#204
# source://rubocop/1.70.0/lib/rubocop/comment_config.rb#204
def handle_switch(directive, names, extras); end
# source://rubocop/1.69.2/lib/rubocop/comment_config.rb#115
# source://rubocop/1.70.0/lib/rubocop/comment_config.rb#115
def inject_disabled_cops_directives(analyses); end
# source://rubocop/1.69.2/lib/rubocop/comment_config.rb#183
# source://rubocop/1.70.0/lib/rubocop/comment_config.rb#183
def non_comment_token_line_numbers; end
# source://rubocop/1.69.2/lib/rubocop/comment_config.rb#83
# source://rubocop/1.70.0/lib/rubocop/comment_config.rb#83
def opt_in_cops; end
# source://rubocop/1.69.2/lib/rubocop/comment_config.rb#179
# source://rubocop/1.70.0/lib/rubocop/comment_config.rb#179
def qualified_cop_name(cop_name); end
end
class RuboCop::Config
# source://rubocop/1.69.2/lib/rubocop/config.rb#30
# source://rubocop/1.70.0/lib/rubocop/config.rb#31
def initialize(hash = T.unsafe(nil), loaded_path = T.unsafe(nil)); end
# source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
@ -7491,37 +7491,40 @@ class RuboCop::Config
# source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
def []=(*_arg0, **_arg1, &_arg2); end
# source://rubocop/1.69.2/lib/rubocop/config.rb#170
# source://rubocop/1.70.0/lib/rubocop/config.rb#179
def active_support_extensions_enabled?; end
# source://rubocop/1.69.2/lib/rubocop/config.rb#96
# source://rubocop/1.70.0/lib/rubocop/config.rb#94
def add_excludes_from_higher_level(highest_config); end
# source://rubocop/1.69.2/lib/rubocop/config.rb#197
# source://rubocop/1.70.0/lib/rubocop/config.rb#206
def allowed_camel_case_file?(file); end
# source://rubocop/1.69.2/lib/rubocop/config.rb#241
# source://rubocop/1.70.0/lib/rubocop/config.rb#250
def base_dir_for_path_parameters; end
# source://rubocop/1.69.2/lib/rubocop/config.rb#271
# source://rubocop/1.70.0/lib/rubocop/config.rb#280
def bundler_lock_file_path; end
# source://rubocop/1.69.2/lib/rubocop/config.rb#51
# source://rubocop/1.70.0/lib/rubocop/config.rb#52
def check; end
# source://rubocop/1.69.2/lib/rubocop/config.rb#142
# source://rubocop/1.70.0/lib/rubocop/config.rb#147
def clusivity_config_for_badge?(badge); end
# source://rubocop/1.70.0/lib/rubocop/config.rb#167
def cop_enabled?(name); end
# source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
def delete(*_arg0, **_arg1, &_arg2); end
# source://rubocop/1.69.2/lib/rubocop/config.rb#108
# source://rubocop/1.70.0/lib/rubocop/config.rb#106
def deprecation_check; end
# source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
def dig(*_arg0, **_arg1, &_arg2); end
# source://rubocop/1.69.2/lib/rubocop/config.rb#162
# source://rubocop/1.70.0/lib/rubocop/config.rb#171
def disabled_new_cops?; end
# source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
@ -7530,37 +7533,40 @@ class RuboCop::Config
# source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
def each_key(*_arg0, **_arg1, &_arg2); end
# source://rubocop/1.69.2/lib/rubocop/config.rb#166
# source://rubocop/1.70.0/lib/rubocop/config.rb#175
def enabled_new_cops?; end
# source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
def fetch(*_arg0, **_arg1, &_arg2); end
# source://rubocop/1.69.2/lib/rubocop/config.rb#219
# source://rubocop/1.70.0/lib/rubocop/config.rb#228
def file_to_exclude?(file); end
# source://rubocop/1.69.2/lib/rubocop/config.rb#178
# source://rubocop/1.70.0/lib/rubocop/config.rb#187
def file_to_include?(file); end
# source://rubocop/1.69.2/lib/rubocop/config.rb#158
# source://rubocop/1.70.0/lib/rubocop/config.rb#163
def for_all_cops; end
# source://rubocop/1.69.2/lib/rubocop/config.rb#128
# source://rubocop/1.70.0/lib/rubocop/config.rb#133
def for_badge(badge); end
# source://rubocop/1.69.2/lib/rubocop/config.rb#122
# source://rubocop/1.70.0/lib/rubocop/config.rb#120
def for_cop(cop); end
# source://rubocop/1.69.2/lib/rubocop/config.rb#153
# source://rubocop/1.70.0/lib/rubocop/config.rb#158
def for_department(department_name); end
# source://rubocop/1.69.2/lib/rubocop/config.rb#296
# source://rubocop/1.70.0/lib/rubocop/config.rb#127
def for_enabled_cop(cop); end
# source://rubocop/1.70.0/lib/rubocop/config.rb#305
def gem_versions_in_target; end
# source://rubocop/1.69.2/lib/rubocop/config.rb#300
# source://rubocop/1.70.0/lib/rubocop/config.rb#309
def inspect; end
# source://rubocop/1.69.2/lib/rubocop/config.rb#76
# source://rubocop/1.70.0/lib/rubocop/config.rb#77
def internal?; end
# source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
@ -7569,13 +7575,13 @@ class RuboCop::Config
# source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
def keys(*_arg0, **_arg1, &_arg2); end
# source://rubocop/1.69.2/lib/rubocop/config.rb#47
# source://rubocop/1.70.0/lib/rubocop/config.rb#48
def loaded_features; end
# source://rubocop/1.69.2/lib/rubocop/config.rb#20
# source://rubocop/1.70.0/lib/rubocop/config.rb#21
def loaded_path; end
# source://rubocop/1.69.2/lib/rubocop/config.rb#81
# source://rubocop/1.70.0/lib/rubocop/config.rb#82
def make_excludes_absolute; end
# source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
@ -7584,37 +7590,37 @@ class RuboCop::Config
# source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
def merge(*_arg0, **_arg1, &_arg2); end
# source://rubocop/1.69.2/lib/rubocop/config.rb#251
# source://rubocop/1.70.0/lib/rubocop/config.rb#260
def parser_engine; end
# source://rubocop/1.69.2/lib/rubocop/config.rb#232
# source://rubocop/1.70.0/lib/rubocop/config.rb#241
def path_relative_to_config(path); end
# source://rubocop/1.69.2/lib/rubocop/config.rb#228
# source://rubocop/1.70.0/lib/rubocop/config.rb#237
def patterns_to_exclude; end
# source://rubocop/1.69.2/lib/rubocop/config.rb#224
# source://rubocop/1.70.0/lib/rubocop/config.rb#233
def patterns_to_include; end
# source://rubocop/1.69.2/lib/rubocop/config.rb#282
# source://rubocop/1.70.0/lib/rubocop/config.rb#291
def pending_cops; end
# source://rubocop/1.69.2/lib/rubocop/config.rb#211
# source://rubocop/1.70.0/lib/rubocop/config.rb#220
def possibly_include_hidden?; end
# source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
def replace(*_arg0, **_arg1, &_arg2); end
# source://rubocop/1.69.2/lib/rubocop/config.rb#71
# source://rubocop/1.70.0/lib/rubocop/config.rb#72
def signature; end
# source://rubocop/1.69.2/lib/rubocop/config.rb#266
# source://rubocop/1.70.0/lib/rubocop/config.rb#275
def smart_loaded_path; end
# source://rubocop/1.69.2/lib/rubocop/config.rb#174
# source://rubocop/1.70.0/lib/rubocop/config.rb#183
def string_literals_frozen_by_default?; end
# source://rubocop/1.69.2/lib/rubocop/config.rb#255
# source://rubocop/1.70.0/lib/rubocop/config.rb#264
def target_rails_version; end
# source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
@ -7626,7 +7632,7 @@ class RuboCop::Config
# source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
def to_hash(*_arg0, **_arg1, &_arg2); end
# source://rubocop/1.69.2/lib/rubocop/config.rb#67
# source://rubocop/1.70.0/lib/rubocop/config.rb#68
def to_s; end
# source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
@ -7635,37 +7641,37 @@ class RuboCop::Config
# source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
def validate(*_arg0, **_arg1, &_arg2); end
# source://rubocop/1.69.2/lib/rubocop/config.rb#58
# source://rubocop/1.70.0/lib/rubocop/config.rb#59
def validate_after_resolution; end
private
# source://rubocop/1.69.2/lib/rubocop/config.rb#350
# source://rubocop/1.70.0/lib/rubocop/config.rb#359
def department_of(qualified_cop_name); end
# source://rubocop/1.69.2/lib/rubocop/config.rb#338
# source://rubocop/1.70.0/lib/rubocop/config.rb#347
def enable_cop?(qualified_cop_name, cop_options); end
# source://rubocop/1.69.2/lib/rubocop/config.rb#325
# source://rubocop/1.70.0/lib/rubocop/config.rb#334
def gem_version_to_major_minor_float(gem_version); end
# source://rubocop/1.69.2/lib/rubocop/config.rb#331
# source://rubocop/1.70.0/lib/rubocop/config.rb#340
def read_gem_versions_from_target_lockfile; end
# source://rubocop/1.69.2/lib/rubocop/config.rb#312
# source://rubocop/1.70.0/lib/rubocop/config.rb#321
def read_rails_version_from_bundler_lock_file; end
# source://rubocop/1.69.2/lib/rubocop/config.rb#307
# source://rubocop/1.70.0/lib/rubocop/config.rb#316
def target_rails_version_from_bundler_lock_file; end
class << self
# source://rubocop/1.69.2/lib/rubocop/config.rb#22
# source://rubocop/1.70.0/lib/rubocop/config.rb#23
def create(hash, path, check: T.unsafe(nil)); end
end
end
class RuboCop::ConfigValidator
# source://rubocop/1.69.2/lib/rubocop/config_validator.rb#27
# source://rubocop/1.70.0/lib/rubocop/config_validator.rb#28
def initialize(config); end
# source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
@ -7674,66 +7680,66 @@ class RuboCop::ConfigValidator
# source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
def smart_loaded_path(*_arg0, **_arg1, &_arg2); end
# source://rubocop/1.69.2/lib/rubocop/config_validator.rb#63
# source://rubocop/1.70.0/lib/rubocop/config_validator.rb#65
def target_ruby_version; end
# source://rubocop/1.69.2/lib/rubocop/config_validator.rb#33
# source://rubocop/1.70.0/lib/rubocop/config_validator.rb#34
def validate; end
# source://rubocop/1.69.2/lib/rubocop/config_validator.rb#59
# source://rubocop/1.70.0/lib/rubocop/config_validator.rb#61
def validate_after_resolution; end
# source://rubocop/1.69.2/lib/rubocop/config_validator.rb#67
def validate_section_presence(name); end
private
# source://rubocop/1.69.2/lib/rubocop/config_validator.rb#104
# source://rubocop/1.70.0/lib/rubocop/config_validator.rb#100
def alert_about_unrecognized_cops(invalid_cop_names); end
# source://rubocop/1.69.2/lib/rubocop/config_validator.rb#254
# source://rubocop/1.70.0/lib/rubocop/config_validator.rb#263
def check_cop_config_value(hash, parent = T.unsafe(nil)); end
# source://rubocop/1.69.2/lib/rubocop/config_validator.rb#77
# source://rubocop/1.70.0/lib/rubocop/config_validator.rb#73
def check_obsoletions; end
# source://rubocop/1.69.2/lib/rubocop/config_validator.rb#84
# source://rubocop/1.70.0/lib/rubocop/config_validator.rb#80
def check_target_ruby; end
# source://rubocop/1.69.2/lib/rubocop/config_validator.rb#195
# source://rubocop/1.70.0/lib/rubocop/config_validator.rb#204
def each_invalid_parameter(cop_name); end
# source://rubocop/1.69.2/lib/rubocop/config_validator.rb#120
# source://rubocop/1.70.0/lib/rubocop/config_validator.rb#116
def list_unknown_cops(invalid_cop_names); end
# source://rubocop/1.69.2/lib/rubocop/config_validator.rb#274
# source://rubocop/1.70.0/lib/rubocop/config_validator.rb#283
def param_error_message(parent, key, value, supposed_values); end
# source://rubocop/1.69.2/lib/rubocop/config_validator.rb#242
# source://rubocop/1.70.0/lib/rubocop/config_validator.rb#251
def reject_conflicting_safe_settings; end
# source://rubocop/1.69.2/lib/rubocop/config_validator.rb#233
# source://rubocop/1.70.0/lib/rubocop/config_validator.rb#242
def reject_mutually_exclusive_defaults; end
# source://rubocop/1.69.2/lib/rubocop/config_validator.rb#142
# source://rubocop/1.70.0/lib/rubocop/config_validator.rb#138
def suggestion(name); end
# source://rubocop/1.69.2/lib/rubocop/config_validator.rb#75
# source://rubocop/1.70.0/lib/rubocop/config_validator.rb#71
def target_ruby; end
# source://rubocop/1.69.2/lib/rubocop/config_validator.rb#207
# source://rubocop/1.70.0/lib/rubocop/config_validator.rb#216
def validate_enforced_styles(valid_cop_names); end
# source://rubocop/1.69.2/lib/rubocop/config_validator.rb#169
# source://rubocop/1.70.0/lib/rubocop/config_validator.rb#165
def validate_new_cops_parameter; end
# source://rubocop/1.69.2/lib/rubocop/config_validator.rb#180
# source://rubocop/1.70.0/lib/rubocop/config_validator.rb#190
def validate_parameter_names(valid_cop_names); end
# source://rubocop/1.69.2/lib/rubocop/config_validator.rb#227
# source://rubocop/1.70.0/lib/rubocop/config_validator.rb#176
def validate_parameter_shape(valid_cop_names); end
# source://rubocop/1.70.0/lib/rubocop/config_validator.rb#236
def validate_support_and_has_list(name, formats, valid); end
# source://rubocop/1.69.2/lib/rubocop/config_validator.rb#158
# source://rubocop/1.70.0/lib/rubocop/config_validator.rb#154
def validate_syntax_cop; end
end

View File

@ -4014,7 +4014,7 @@ class RuboCop::Cop::RSpec::MultipleExpectations < ::RuboCop::Cop::RSpec::Base
# source://rubocop-rspec//lib/rubocop/cop/rspec/multiple_expectations.rb#86
def expect?(param0 = T.unsafe(nil)); end
# source://rubocop/1.69.1/lib/rubocop/cop/exclude_limit.rb#11
# source://rubocop/1.70.0/lib/rubocop/cop/exclude_limit.rb#11
def max=(value); end
# source://rubocop-rspec//lib/rubocop/cop/rspec/multiple_expectations.rb#93
@ -4129,7 +4129,7 @@ RuboCop::Cop::RSpec::MultipleExpectations::TRUE_NODE = T.let(T.unsafe(nil), Proc
class RuboCop::Cop::RSpec::MultipleMemoizedHelpers < ::RuboCop::Cop::RSpec::Base
include ::RuboCop::Cop::RSpec::Variable
# source://rubocop/1.69.1/lib/rubocop/cop/exclude_limit.rb#11
# source://rubocop/1.70.0/lib/rubocop/cop/exclude_limit.rb#11
def max=(value); end
# source://rubocop-rspec//lib/rubocop/cop/rspec/multiple_memoized_helpers.rb#91
@ -4471,7 +4471,7 @@ end
class RuboCop::Cop::RSpec::NestedGroups < ::RuboCop::Cop::RSpec::Base
include ::RuboCop::Cop::RSpec::TopLevelGroup
# source://rubocop/1.69.1/lib/rubocop/cop/exclude_limit.rb#11
# source://rubocop/1.70.0/lib/rubocop/cop/exclude_limit.rb#11
def max=(value); end
# source://rubocop-rspec//lib/rubocop/cop/rspec/nested_groups.rb#107

View File

@ -57800,10 +57800,10 @@ RuboCop::Formatter::PacmanFormatter::FALLBACK_TERMINAL_WIDTH = T.let(T.unsafe(ni
RuboCop::Formatter::PacmanFormatter::GHOST = T.let(T.unsafe(nil), String)
# source://rubocop//lib/rubocop/formatter/pacman_formatter.rb#17
RuboCop::Formatter::PacmanFormatter::PACDOT = T.let(T.unsafe(nil), Rainbow::NullPresenter)
RuboCop::Formatter::PacmanFormatter::PACDOT = T.let(T.unsafe(nil), Rainbow::Presenter)
# source://rubocop//lib/rubocop/formatter/pacman_formatter.rb#16
RuboCop::Formatter::PacmanFormatter::PACMAN = T.let(T.unsafe(nil), Rainbow::NullPresenter)
RuboCop::Formatter::PacmanFormatter::PACMAN = T.let(T.unsafe(nil), Rainbow::Presenter)
# This formatter display dots for files with no offenses and
# letters for files with problems in the them. In the end it

View File

@ -4,6 +4,7 @@
# 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`.
# source://ruby-progressbar//lib/ruby-progressbar/components/bar.rb#4
class ProgressBar
class << self
@ -21,7 +22,7 @@ class ProgressBar::Base
# source://ruby-progressbar//lib/ruby-progressbar/base.rb#45
def initialize(options = T.unsafe(nil)); end
# source://forwardable/1.3.2/forwardable.rb#229
# source://forwardable/1.3.3/forwardable.rb#231
def clear(*args, **_arg1, &block); end
# source://ruby-progressbar//lib/ruby-progressbar/base.rb#137
@ -47,7 +48,7 @@ class ProgressBar::Base
# source://ruby-progressbar//lib/ruby-progressbar/base.rb#199
def inspect; end
# source://forwardable/1.3.2/forwardable.rb#229
# source://forwardable/1.3.3/forwardable.rb#231
def log(*args, **_arg1, &block); end
# source://ruby-progressbar//lib/ruby-progressbar/base.rb#102
@ -58,7 +59,7 @@ class ProgressBar::Base
# source://ruby-progressbar//lib/ruby-progressbar/base.rb#123
def paused?; end
# source://forwardable/1.3.2/forwardable.rb#229
# source://forwardable/1.3.3/forwardable.rb#231
def progress(*args, **_arg1, &block); end
# source://ruby-progressbar//lib/ruby-progressbar/base.rb#145
@ -67,7 +68,7 @@ class ProgressBar::Base
# source://ruby-progressbar//lib/ruby-progressbar/base.rb#153
def progress_mark=(mark); end
# source://forwardable/1.3.2/forwardable.rb#229
# source://forwardable/1.3.3/forwardable.rb#231
def refresh(*args, **_arg1, &block); end
# source://ruby-progressbar//lib/ruby-progressbar/base.rb#157
@ -107,7 +108,7 @@ class ProgressBar::Base
# source://ruby-progressbar//lib/ruby-progressbar/base.rb#169
def to_s(new_format = T.unsafe(nil)); end
# source://forwardable/1.3.2/forwardable.rb#229
# source://forwardable/1.3.3/forwardable.rb#231
def total(*args, **_arg1, &block); end
# source://ruby-progressbar//lib/ruby-progressbar/base.rb#149

View File

@ -4,6 +4,7 @@
# This is an autogenerated file for types exported from the `simplecov-cobertura` gem.
# Please instead update this file by running `bin/tapioca gem simplecov-cobertura`.
# source://simplecov-cobertura//lib/simplecov-cobertura/version.rb#1
module SimpleCov
class << self

View File

@ -4,6 +4,7 @@
# This is an autogenerated file for types exported from the `simplecov` gem.
# Please instead update this file by running `bin/tapioca gem simplecov`.
# Code coverage for ruby. Please check out README for a full introduction.
#
# source://simplecov//lib/simplecov.rb#22
@ -292,7 +293,7 @@ class SimpleCov::ArrayFilter < ::SimpleCov::Filter
def matches?(source_files_list); end
end
# source://simplecov//lib/simplecov/filter.rb#71
# source://simplecov//lib/simplecov/filter.rb#69
class SimpleCov::BlockFilter < ::SimpleCov::Filter
# Returns true if the block given when initializing this filter with BlockFilter.new {|src_file| ... }
# returns true for the given source file.
@ -1170,7 +1171,7 @@ class SimpleCov::FileList
# source://simplecov//lib/simplecov/file_list.rb#101
def branch_covered_percent; end
# source://forwardable/1.3.2/forwardable.rb#229
# source://forwardable/1.3.3/forwardable.rb#231
def count(*args, **_arg1, &block); end
# source://simplecov//lib/simplecov/file_list.rb#26
@ -1209,10 +1210,10 @@ class SimpleCov::FileList
# source://simplecov//lib/simplecov/file_list.rb#82
def covered_strength; end
# source://forwardable/1.3.2/forwardable.rb#229
# source://forwardable/1.3.3/forwardable.rb#231
def each(*args, **_arg1, &block); end
# source://forwardable/1.3.2/forwardable.rb#229
# source://forwardable/1.3.3/forwardable.rb#231
def empty?(*args, **_arg1, &block); end
# Finds the least covered file and returns that file's name
@ -1220,7 +1221,7 @@ class SimpleCov::FileList
# source://simplecov//lib/simplecov/file_list.rb#65
def least_covered_file; end
# source://forwardable/1.3.2/forwardable.rb#229
# source://forwardable/1.3.3/forwardable.rb#231
def length(*args, **_arg1, &block); end
# Returns the overall amount of relevant lines of code across all files in this list
@ -1228,7 +1229,7 @@ class SimpleCov::FileList
# source://simplecov//lib/simplecov/file_list.rb#70
def lines_of_code; end
# source://forwardable/1.3.2/forwardable.rb#229
# source://forwardable/1.3.3/forwardable.rb#231
def map(*args, **_arg1, &block); end
# Return total count of covered branches
@ -1246,7 +1247,7 @@ class SimpleCov::FileList
# source://simplecov//lib/simplecov/file_list.rb#45
def never_lines; end
# source://forwardable/1.3.2/forwardable.rb#229
# source://forwardable/1.3.3/forwardable.rb#231
def size(*args, **_arg1, &block); end
# Returns the count of skipped lines
@ -1254,10 +1255,10 @@ class SimpleCov::FileList
# source://simplecov//lib/simplecov/file_list.rb#52
def skipped_lines; end
# source://forwardable/1.3.2/forwardable.rb#229
# source://forwardable/1.3.3/forwardable.rb#231
def to_a(*args, **_arg1, &block); end
# source://forwardable/1.3.2/forwardable.rb#229
# source://forwardable/1.3.3/forwardable.rb#231
def to_ary(*args, **_arg1, &block); end
# Return total count of branches in all files
@ -1406,7 +1407,7 @@ SimpleCov::LinesClassifier::WHITESPACE_OR_COMMENT_LINE = T.let(T.unsafe(nil), Re
# # SimpleCov configuration here, same as in SimpleCov.configure
# end
#
# source://simplecov//lib/simplecov/profiles.rb#17
# source://simplecov//lib/simplecov/profiles.rb#11
class SimpleCov::Profiles < ::Hash
# Define a SimpleCov profile:
# SimpleCov.profiles.define 'rails' do
@ -1422,7 +1423,7 @@ class SimpleCov::Profiles < ::Hash
def load(name); end
end
# source://simplecov//lib/simplecov/filter.rb#63
# source://simplecov//lib/simplecov/filter.rb#61
class SimpleCov::RegexFilter < ::SimpleCov::Filter
# Returns true when the given source file's filename matches the
# regex configured when initializing this Filter with RegexFilter.new(/someregex/)
@ -1459,25 +1460,25 @@ class SimpleCov::Result
# source://simplecov//lib/simplecov/result.rb#21
def command_name=(_arg0); end
# source://forwardable/1.3.2/forwardable.rb#229
# source://forwardable/1.3.3/forwardable.rb#231
def coverage_statistics(*args, **_arg1, &block); end
# source://forwardable/1.3.2/forwardable.rb#229
# source://forwardable/1.3.3/forwardable.rb#231
def coverage_statistics_by_file(*args, **_arg1, &block); end
# source://forwardable/1.3.2/forwardable.rb#229
# source://forwardable/1.3.3/forwardable.rb#231
def covered_branches(*args, **_arg1, &block); end
# source://forwardable/1.3.2/forwardable.rb#229
# source://forwardable/1.3.3/forwardable.rb#231
def covered_lines(*args, **_arg1, &block); end
# source://forwardable/1.3.2/forwardable.rb#229
# source://forwardable/1.3.3/forwardable.rb#231
def covered_percent(*args, **_arg1, &block); end
# source://forwardable/1.3.2/forwardable.rb#229
# source://forwardable/1.3.3/forwardable.rb#231
def covered_percentages(*args, **_arg1, &block); end
# source://forwardable/1.3.2/forwardable.rb#229
# source://forwardable/1.3.3/forwardable.rb#231
def covered_strength(*args, **_arg1, &block); end
# Defines when this result has been created. Defaults to Time.now
@ -1510,13 +1511,13 @@ class SimpleCov::Result
# source://simplecov//lib/simplecov/result.rb#45
def groups; end
# source://forwardable/1.3.2/forwardable.rb#229
# source://forwardable/1.3.3/forwardable.rb#231
def least_covered_file(*args, **_arg1, &block); end
# source://forwardable/1.3.2/forwardable.rb#229
# source://forwardable/1.3.3/forwardable.rb#231
def missed_branches(*args, **_arg1, &block); end
# source://forwardable/1.3.2/forwardable.rb#229
# source://forwardable/1.3.3/forwardable.rb#231
def missed_lines(*args, **_arg1, &block); end
# Returns the original Coverage.result used for this instance of SimpleCov::Result
@ -1534,10 +1535,10 @@ class SimpleCov::Result
# source://simplecov//lib/simplecov/result.rb#66
def to_hash; end
# source://forwardable/1.3.2/forwardable.rb#229
# source://forwardable/1.3.3/forwardable.rb#231
def total_branches(*args, **_arg1, &block); end
# source://forwardable/1.3.2/forwardable.rb#229
# source://forwardable/1.3.3/forwardable.rb#231
def total_lines(*args, **_arg1, &block); end
private
@ -2115,7 +2116,7 @@ SimpleCov::SourceFile::RUBY_FILE_ENCODING_MAGIC_COMMENT_REGEX = T.let(T.unsafe(n
# source://simplecov//lib/simplecov/source_file.rb#193
SimpleCov::SourceFile::SHEBANG_REGEX = T.let(T.unsafe(nil), Regexp)
# source://simplecov//lib/simplecov/filter.rb#55
# source://simplecov//lib/simplecov/filter.rb#53
class SimpleCov::StringFilter < ::SimpleCov::Filter
# Returns true when the given source file's filename matches the
# string configured when initializing this Filter with StringFilter.new('somestring')

View File

@ -1004,7 +1004,7 @@ class Spoom::Coverage::D3::ColorPalette < ::T::Struct
prop :strong, ::String
class << self
# source://sorbet-runtime/0.5.11589/lib/types/struct.rb#13
# source://sorbet-runtime/0.5.11746/lib/types/struct.rb#13
def inherited(s); end
end
end
@ -1344,7 +1344,7 @@ class Spoom::Coverage::Snapshot < ::T::Struct
sig { params(obj: T::Hash[::String, T.untyped]).returns(::Spoom::Coverage::Snapshot) }
def from_obj(obj); end
# source://sorbet-runtime/0.5.11589/lib/types/struct.rb#13
# source://sorbet-runtime/0.5.11746/lib/types/struct.rb#13
def inherited(s); end
end
end
@ -1480,7 +1480,7 @@ class Spoom::Deadcode::Definition < ::T::Struct
def to_json(*args); end
class << self
# source://sorbet-runtime/0.5.11589/lib/types/struct.rb#13
# source://sorbet-runtime/0.5.11746/lib/types/struct.rb#13
def inherited(s); end
end
end
@ -2368,7 +2368,7 @@ class Spoom::Deadcode::Send < ::T::Struct
def each_arg_assoc(&block); end
class << self
# source://sorbet-runtime/0.5.11589/lib/types/struct.rb#13
# source://sorbet-runtime/0.5.11746/lib/types/struct.rb#13
def inherited(s); end
end
end
@ -2388,7 +2388,7 @@ class Spoom::ExecResult < ::T::Struct
def to_s; end
class << self
# source://sorbet-runtime/0.5.11589/lib/types/struct.rb#13
# source://sorbet-runtime/0.5.11746/lib/types/struct.rb#13
def inherited(s); end
end
end
@ -2586,7 +2586,7 @@ class Spoom::FileTree::Node < ::T::Struct
def path; end
class << self
# source://sorbet-runtime/0.5.11589/lib/types/struct.rb#13
# source://sorbet-runtime/0.5.11746/lib/types/struct.rb#13
def inherited(s); end
end
end
@ -2652,7 +2652,7 @@ class Spoom::Git::Commit < ::T::Struct
def timestamp; end
class << self
# source://sorbet-runtime/0.5.11589/lib/types/struct.rb#13
# source://sorbet-runtime/0.5.11746/lib/types/struct.rb#13
def inherited(s); end
# Parse a line formatted as `%h %at` into a `Commit`
@ -2764,7 +2764,7 @@ class Spoom::LSP::Diagnostic < ::T::Struct
sig { params(json: T::Hash[T.untyped, T.untyped]).returns(::Spoom::LSP::Diagnostic) }
def from_json(json); end
# source://sorbet-runtime/0.5.11589/lib/types/struct.rb#13
# source://sorbet-runtime/0.5.11746/lib/types/struct.rb#13
def inherited(s); end
end
end
@ -2797,7 +2797,7 @@ class Spoom::LSP::DocumentSymbol < ::T::Struct
sig { params(json: T::Hash[T.untyped, T.untyped]).returns(::Spoom::LSP::DocumentSymbol) }
def from_json(json); end
# source://sorbet-runtime/0.5.11589/lib/types/struct.rb#13
# source://sorbet-runtime/0.5.11746/lib/types/struct.rb#13
def inherited(s); end
end
end
@ -2855,7 +2855,7 @@ class Spoom::LSP::Hover < ::T::Struct
sig { params(json: T::Hash[T.untyped, T.untyped]).returns(::Spoom::LSP::Hover) }
def from_json(json); end
# source://sorbet-runtime/0.5.11589/lib/types/struct.rb#13
# source://sorbet-runtime/0.5.11746/lib/types/struct.rb#13
def inherited(s); end
end
end
@ -2880,7 +2880,7 @@ class Spoom::LSP::Location < ::T::Struct
sig { params(json: T::Hash[T.untyped, T.untyped]).returns(::Spoom::LSP::Location) }
def from_json(json); end
# source://sorbet-runtime/0.5.11589/lib/types/struct.rb#13
# source://sorbet-runtime/0.5.11746/lib/types/struct.rb#13
def inherited(s); end
end
end
@ -2943,7 +2943,7 @@ class Spoom::LSP::Position < ::T::Struct
sig { params(json: T::Hash[T.untyped, T.untyped]).returns(::Spoom::LSP::Position) }
def from_json(json); end
# source://sorbet-runtime/0.5.11589/lib/types/struct.rb#13
# source://sorbet-runtime/0.5.11746/lib/types/struct.rb#13
def inherited(s); end
end
end
@ -2981,7 +2981,7 @@ class Spoom::LSP::Range < ::T::Struct
sig { params(json: T::Hash[T.untyped, T.untyped]).returns(::Spoom::LSP::Range) }
def from_json(json); end
# source://sorbet-runtime/0.5.11589/lib/types/struct.rb#13
# source://sorbet-runtime/0.5.11746/lib/types/struct.rb#13
def inherited(s); end
end
end
@ -3047,7 +3047,7 @@ class Spoom::LSP::SignatureHelp < ::T::Struct
sig { params(json: T::Hash[T.untyped, T.untyped]).returns(::Spoom::LSP::SignatureHelp) }
def from_json(json); end
# source://sorbet-runtime/0.5.11589/lib/types/struct.rb#13
# source://sorbet-runtime/0.5.11746/lib/types/struct.rb#13
def inherited(s); end
end
end
@ -3473,7 +3473,7 @@ class Spoom::Model::Reference < ::T::Struct
sig { params(name: ::String, location: ::Spoom::Location).returns(::Spoom::Model::Reference) }
def constant(name, location); end
# source://sorbet-runtime/0.5.11589/lib/types/struct.rb#13
# source://sorbet-runtime/0.5.11746/lib/types/struct.rb#13
def inherited(s); end
# source://spoom//lib/spoom/model/reference.rb#29

View File

@ -4,6 +4,7 @@
# This is an autogenerated file for types exported from the `stackprof` gem.
# Please instead update this file by running `bin/tapioca gem stackprof`.
# source://stackprof//lib/stackprof.rb#20
module StackProf
class << self

View File

@ -218,7 +218,7 @@ class RBI::TypedParam < ::T::Struct
const :type, ::String
class << self
# source://sorbet-runtime/0.5.11742/lib/types/struct.rb#13
# source://sorbet-runtime/0.5.11746/lib/types/struct.rb#13
def inherited(s); end
end
end
@ -1143,7 +1143,7 @@ class Tapioca::ConfigHelper::ConfigError < ::T::Struct
const :message_parts, T::Array[::Tapioca::ConfigHelper::ConfigErrorMessagePart]
class << self
# source://sorbet-runtime/0.5.11742/lib/types/struct.rb#13
# source://sorbet-runtime/0.5.11746/lib/types/struct.rb#13
def inherited(s); end
end
end
@ -1154,7 +1154,7 @@ class Tapioca::ConfigHelper::ConfigErrorMessagePart < ::T::Struct
const :colors, T::Array[::Symbol]
class << self
# source://sorbet-runtime/0.5.11742/lib/types/struct.rb#13
# source://sorbet-runtime/0.5.11746/lib/types/struct.rb#13
def inherited(s); end
end
end
@ -2228,7 +2228,7 @@ class Tapioca::GemInfo < ::T::Struct
sig { params(spec: ::Bundler::LazySpecification).returns(::Tapioca::GemInfo) }
def from_spec(spec); end
# source://sorbet-runtime/0.5.11742/lib/types/struct.rb#13
# source://sorbet-runtime/0.5.11746/lib/types/struct.rb#13
def inherited(s); end
end
end