Update RBI files for rubocop-rails.

Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
This commit is contained in:
BrewTestBot 2023-02-28 19:07:33 +00:00 committed by Douglas Eichelberger
parent 6f5a592217
commit 34c51be5bc
2 changed files with 96 additions and 0 deletions

View File

@ -140,6 +140,7 @@ class RuboCop::Cop::Rails::ActionControllerFlashBeforeRender < ::RuboCop::Cop::B
def followed_by_render?(flash_node); end
def inherit_action_controller_base?(node); end
def instance_method_or_block?(node); end
def use_redirect_to?(context); end
end
RuboCop::Cop::Rails::ActionControllerFlashBeforeRender::MSG = T.let(T.unsafe(nil), String)
@ -919,6 +920,7 @@ RuboCop::Cop::Rails::FindEach::SCOPE_METHODS = T.let(T.unsafe(nil), Array)
class RuboCop::Cop::Rails::FreezeTime < ::RuboCop::Cop::Base
extend ::RuboCop::Cop::AutoCorrector
extend ::RuboCop::Cop::TargetRailsVersion
def on_send(node); end
def time_now?(param0 = T.unsafe(nil)); end
@ -1185,6 +1187,7 @@ class RuboCop::Cop::Rails::LexicallyScopedActionFilter < ::RuboCop::Cop::Base
private
def alias_methods(node); end
def aliased_action_methods(node, defined_methods); end
def array_values(node); end
def defined_action_methods(block); end
@ -1714,6 +1717,21 @@ end
RuboCop::Cop::Rails::RequireDependency::MSG = T.let(T.unsafe(nil), String)
RuboCop::Cop::Rails::RequireDependency::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array)
class RuboCop::Cop::Rails::ResponseParsedBody < ::RuboCop::Cop::Base
extend ::RuboCop::Cop::AutoCorrector
extend ::RuboCop::Cop::TargetRailsVersion
def json_parse_response_body?(param0 = T.unsafe(nil)); end
def on_send(node); end
private
def autocorrect(corrector, node); end
end
RuboCop::Cop::Rails::ResponseParsedBody::MSG = T.let(T.unsafe(nil), String)
RuboCop::Cop::Rails::ResponseParsedBody::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array)
class RuboCop::Cop::Rails::ReversibleMigration < ::RuboCop::Cop::Base
include ::RuboCop::Cop::MigrationsHelper
@ -1967,12 +1985,14 @@ class RuboCop::Cop::Rails::SquishedSQLHeredocs < ::RuboCop::Cop::Base
def message(node); end
def offense_detected?(node); end
def singleline_comments_present?(node); end
def sql_heredoc?(node); end
def using_squish?(node); end
end
RuboCop::Cop::Rails::SquishedSQLHeredocs::MSG = T.let(T.unsafe(nil), String)
RuboCop::Cop::Rails::SquishedSQLHeredocs::SQL = T.let(T.unsafe(nil), String)
RuboCop::Cop::Rails::SquishedSQLHeredocs::SQL_IDENTIFIER_MARKERS = T.let(T.unsafe(nil), Regexp)
RuboCop::Cop::Rails::SquishedSQLHeredocs::SQUISH = T.let(T.unsafe(nil), String)
class RuboCop::Cop::Rails::StripHeredoc < ::RuboCop::Cop::Base
@ -2164,8 +2184,10 @@ RuboCop::Cop::Rails::UnknownEnv::MSG_SIMILAR = T.let(T.unsafe(nil), String)
class RuboCop::Cop::Rails::UnusedIgnoredColumns < ::RuboCop::Cop::Base
include ::RuboCop::Cop::ActiveRecordHelper
def appended_ignored_columns(param0 = T.unsafe(nil)); end
def column_name(param0 = T.unsafe(nil)); end
def ignored_columns(param0 = T.unsafe(nil)); end
def on_op_asgn(node); end
def on_send(node); end
private

View File

@ -8298,18 +8298,80 @@ module Stdenv
end
class String
def acts_like_string?(); end
def at(position); end
def camelcase(first_letter=T.unsafe(nil)); end
def camelize(first_letter=T.unsafe(nil)); end
def classify(); end
def constantize(); end
def dasherize(); end
def deconstantize(); end
def demodulize(); end
def exclude?(string); end
def fast_xs(); end
def first(limit=T.unsafe(nil)); end
def foreign_key(separate_class_name_and_id_with_underscore=T.unsafe(nil)); end
def from(position); end
def html_safe(); end
def humanize(capitalize: T.unsafe(nil), keep_id_suffix: T.unsafe(nil)); end
def indent(amount, indent_string=T.unsafe(nil), indent_empty_lines=T.unsafe(nil)); end
def indent!(amount, indent_string=T.unsafe(nil), indent_empty_lines=T.unsafe(nil)); end
def is_utf8?(); end
def last(limit=T.unsafe(nil)); end
def mb_chars(); end
def parameterize(separator: T.unsafe(nil), preserve_case: T.unsafe(nil), locale: T.unsafe(nil)); end
def pluralize(count=T.unsafe(nil), locale=T.unsafe(nil)); end
def remove(*patterns); end
def remove!(*patterns); end
def safe_constantize(); end
def shellescape(); end
def shellsplit(); end
def singularize(locale=T.unsafe(nil)); end
def squish(); end
def squish!(); end
def tableize(); end
def titlecase(keep_id_suffix: T.unsafe(nil)); end
def titleize(keep_id_suffix: T.unsafe(nil)); end
def to(position); end
def to_date(); end
def to_datetime(); end
def to_nfc(); end
def to_nfd(); end
@ -8317,6 +8379,18 @@ class String
def to_nfkc(); end
def to_nfkd(); end
def to_time(form=T.unsafe(nil)); end
def truncate(truncate_at, options=T.unsafe(nil)); end
def truncate_bytes(truncate_at, omission: T.unsafe(nil)); end
def truncate_words(words_count, options=T.unsafe(nil)); end
def underscore(); end
def upcase_first(); end
end
class StringScanner