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-04-07 19:13:18 +00:00
parent da5d843f41
commit 11b2f8d956
No known key found for this signature in database
GPG Key ID: 82D7D104050B0F0F
2 changed files with 25 additions and 2 deletions

View File

@ -514,6 +514,7 @@ class RuboCop::Cop::Rails::CreateTableWithTimestamps < ::RuboCop::Cop::Base
def created_at_or_updated_at_included?(param0); end
def on_send(node); end
def timestamps_included?(param0); end
def use_id_false_option?(param0); end
private
@ -848,11 +849,11 @@ class RuboCop::Cop::Rails::FilePath < ::RuboCop::Cop::Base
private
def build_message(require_to_s); end
def check_for_file_join_with_rails_root(node); end
def check_for_rails_root_join_with_slash_separated_path(node); end
def check_for_rails_root_join_with_string_arguments(node); end
def message(_range); end
def register_offense(node); end
def register_offense(node, require_to_s:); end
def string_with_slash?(node); end
end
@ -986,6 +987,7 @@ class RuboCop::Cop::Rails::HttpPositionalArguments < ::RuboCop::Cop::Base
extend ::RuboCop::Cop::TargetRailsVersion
def http_request?(param0 = T.unsafe(nil)); end
def include_rack_test_methods?(param0 = T.unsafe(nil)); end
def kwsplat_hash?(param0 = T.unsafe(nil)); end
def on_send(node); end
@ -999,6 +1001,7 @@ class RuboCop::Cop::Rails::HttpPositionalArguments < ::RuboCop::Cop::Base
def in_routing_block?(node); end
def needs_conversion?(data); end
def special_keyword_arg?(node); end
def use_rack_test_methods?; end
end
RuboCop::Cop::Rails::HttpPositionalArguments::KEYWORD_ARGS = T.let(T.unsafe(nil), Array)
@ -1330,6 +1333,7 @@ RuboCop::Cop::Rails::Output::MSG = T.let(T.unsafe(nil), String)
RuboCop::Cop::Rails::Output::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array)
class RuboCop::Cop::Rails::OutputSafety < ::RuboCop::Cop::Base
def i18n_method?(param0); end
def on_csend(node); end
def on_send(node); end
@ -1612,12 +1616,16 @@ RuboCop::Cop::Rails::RedundantTravelBack::MSG = T.let(T.unsafe(nil), String)
RuboCop::Cop::Rails::RedundantTravelBack::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array)
class RuboCop::Cop::Rails::ReflectionClassName < ::RuboCop::Cop::Base
extend ::RuboCop::Cop::AutoCorrector
def association_with_reflection(param0 = T.unsafe(nil)); end
def const_or_string(param0 = T.unsafe(nil)); end
def on_send(node); end
def reflection_class_name(param0 = T.unsafe(nil)); end
private
def autocorrect(corrector, class_config); end
def reflection_class_value?(class_value); end
def str_assigned?(reflection_class_name); end
end
@ -2018,6 +2026,20 @@ end
RuboCop::Cop::Rails::TableNameAssignment::MSG = T.let(T.unsafe(nil), String)
class RuboCop::Cop::Rails::ThreeStateBooleanColumn < ::RuboCop::Cop::Base
def change_column_null?(param0, param1, param2); end
def on_send(node); end
def required_options?(param0 = T.unsafe(nil)); end
def three_state_boolean?(param0 = T.unsafe(nil)); end
private
def table_node(node); end
end
RuboCop::Cop::Rails::ThreeStateBooleanColumn::MSG = T.let(T.unsafe(nil), String)
RuboCop::Cop::Rails::ThreeStateBooleanColumn::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array)
class RuboCop::Cop::Rails::TimeZone < ::RuboCop::Cop::Base
include ::RuboCop::Cop::ConfigurableEnforcedStyle
extend ::RuboCop::Cop::AutoCorrector

View File

@ -6509,6 +6509,7 @@ module RuboCop::AST::NodePattern::Sets
SET_ON_INTEL_ON_ARM = ::T.let(nil, ::T.untyped)
SET_OR_NEWER_OR_OLDER = ::T.let(nil, ::T.untyped)
SET_SYSTEM_SHELL_OUTPUT_PIPE_OUTPUT = ::T.let(nil, ::T.untyped)
SET_T_TRANSLATE_L_LOCALIZE = ::T.let(nil, ::T.untyped)
SET_WITH_WITHOUT = ::T.let(nil, ::T.untyped)
SET____ETC_4 = ::T.let(nil, ::T.untyped)
end