Update RBI files for rubocop-rails.

This commit is contained in:
BrewTestBot 2022-01-10 18:11:53 +00:00
parent c25fb4eb35
commit 19b23dfd11
No known key found for this signature in database
GPG Key ID: 82D7D104050B0F0F
2 changed files with 10 additions and 2 deletions

View File

@ -1256,6 +1256,7 @@ class RuboCop::Cop::Rails::ReadWriteAttribute < ::RuboCop::Cop::Base
def message(node); end
def read_attribute_replacement(node); end
def within_shadowing_method?(node); end
def write_attribute_replacement(node); end
end
@ -1313,8 +1314,15 @@ class RuboCop::Cop::Rails::RedundantPresenceValidationOnBelongsTo < ::RuboCop::C
private
def add_offense_and_correct(node, all_keys, keys, options, presence); end
def belongs_to_for(model_class_node, key); end
def remove_presence_validation(corrector, node, options, presence); end
def extract_validation_for_keys(corrector, node, keys, options); end
def message_for(keys); end
def non_optional_belongs_to(node, keys); end
def remove_keys_from_validation(corrector, node, keys); end
def remove_presence_option(corrector, presence); end
def remove_validation(corrector, node); end
def validation_range(node); end
end
RuboCop::Cop::Rails::RedundantPresenceValidationOnBelongsTo::MSG = T.let(T.unsafe(nil), String)

View File

@ -5132,7 +5132,7 @@ end
module RuboCop::AST::NodePattern::Sets
SET_BLANK_EMPTY = ::T.let(nil, ::T.untyped)
SET_BUILD_RECOMMENDED_TEST_OPTIONAL = ::T.let(nil, ::T.untyped)
SET_CHANGE_COLUMN_EXECUTE_REMOVE_BELONGS_TO_REMOVE_REFERENCE = ::T.let(nil, ::T.untyped)
SET_CHANGE_COLUMN_EXECUTE = ::T.let(nil, ::T.untyped)
SET_DEPENDS_ON_USES_FROM_MACOS = ::T.let(nil, ::T.untyped)
SET_INCLUDE_WITH_WITHOUT = ::T.let(nil, ::T.untyped)
SET_ROOT_PUBLIC_PATH = ::T.let(nil, ::T.untyped)