Update RBI files for rubocop-rails.
This commit is contained in:
parent
974f356901
commit
8ac70335bd
@ -109,6 +109,14 @@ class RuboCop::Cop::IndexMethod::Captures < ::Struct
|
|||||||
end
|
end
|
||||||
|
|
||||||
RuboCop::Cop::IndexMethod::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array)
|
RuboCop::Cop::IndexMethod::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array)
|
||||||
|
|
||||||
|
module RuboCop::Cop::MigrationsHelper
|
||||||
|
extend ::RuboCop::AST::NodePattern::Macros
|
||||||
|
|
||||||
|
def in_migration?(node); end
|
||||||
|
def migration_class?(param0 = T.unsafe(nil)); end
|
||||||
|
end
|
||||||
|
|
||||||
module RuboCop::Cop::Rails; end
|
module RuboCop::Cop::Rails; end
|
||||||
|
|
||||||
class RuboCop::Cop::Rails::ActionFilter < ::RuboCop::Cop::Base
|
class RuboCop::Cop::Rails::ActionFilter < ::RuboCop::Cop::Base
|
||||||
@ -398,6 +406,7 @@ class RuboCop::Cop::Rails::CompactBlank < ::RuboCop::Cop::Base
|
|||||||
def offense_range(node); end
|
def offense_range(node); end
|
||||||
def preferred_method(node); end
|
def preferred_method(node); end
|
||||||
def use_hash_value_block_argument?(arguments, receiver_in_block); end
|
def use_hash_value_block_argument?(arguments, receiver_in_block); end
|
||||||
|
def use_single_value_block_argument?(arguments, receiver_in_block); end
|
||||||
end
|
end
|
||||||
|
|
||||||
RuboCop::Cop::Rails::CompactBlank::MSG = T.let(T.unsafe(nil), String)
|
RuboCop::Cop::Rails::CompactBlank::MSG = T.let(T.unsafe(nil), String)
|
||||||
@ -947,6 +956,7 @@ class RuboCop::Cop::Rails::InverseOf < ::RuboCop::Cop::Base
|
|||||||
|
|
||||||
private
|
private
|
||||||
|
|
||||||
|
def ignore_scopes?; end
|
||||||
def message(options); end
|
def message(options); end
|
||||||
end
|
end
|
||||||
|
|
||||||
@ -1254,8 +1264,11 @@ class RuboCop::Cop::Rails::ReadWriteAttribute < ::RuboCop::Cop::Base
|
|||||||
|
|
||||||
private
|
private
|
||||||
|
|
||||||
def message(node); end
|
def build_message(node); end
|
||||||
|
def multi_line_message(node); end
|
||||||
|
def node_replacement(node); end
|
||||||
def read_attribute_replacement(node); end
|
def read_attribute_replacement(node); end
|
||||||
|
def single_line_message(node); end
|
||||||
def within_shadowing_method?(node); end
|
def within_shadowing_method?(node); end
|
||||||
def write_attribute_replacement(node); end
|
def write_attribute_replacement(node); end
|
||||||
end
|
end
|
||||||
@ -1464,6 +1477,8 @@ RuboCop::Cop::Rails::RequireDependency::MSG = T.let(T.unsafe(nil), String)
|
|||||||
RuboCop::Cop::Rails::RequireDependency::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array)
|
RuboCop::Cop::Rails::RequireDependency::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array)
|
||||||
|
|
||||||
class RuboCop::Cop::Rails::ReversibleMigration < ::RuboCop::Cop::Base
|
class RuboCop::Cop::Rails::ReversibleMigration < ::RuboCop::Cop::Base
|
||||||
|
include ::RuboCop::Cop::MigrationsHelper
|
||||||
|
|
||||||
def change_table_call(param0 = T.unsafe(nil)); end
|
def change_table_call(param0 = T.unsafe(nil)); end
|
||||||
def drop_table_call(param0 = T.unsafe(nil)); end
|
def drop_table_call(param0 = T.unsafe(nil)); end
|
||||||
def irreversible_schema_statement_call(param0 = T.unsafe(nil)); end
|
def irreversible_schema_statement_call(param0 = T.unsafe(nil)); end
|
||||||
@ -1494,8 +1509,9 @@ end
|
|||||||
RuboCop::Cop::Rails::ReversibleMigration::MSG = T.let(T.unsafe(nil), String)
|
RuboCop::Cop::Rails::ReversibleMigration::MSG = T.let(T.unsafe(nil), String)
|
||||||
|
|
||||||
class RuboCop::Cop::Rails::ReversibleMigrationMethodDefinition < ::RuboCop::Cop::Base
|
class RuboCop::Cop::Rails::ReversibleMigrationMethodDefinition < ::RuboCop::Cop::Base
|
||||||
|
include ::RuboCop::Cop::MigrationsHelper
|
||||||
|
|
||||||
def change_method?(param0 = T.unsafe(nil)); end
|
def change_method?(param0 = T.unsafe(nil)); end
|
||||||
def migration_class?(param0 = T.unsafe(nil)); end
|
|
||||||
def on_class(node); end
|
def on_class(node); end
|
||||||
def up_and_down_methods?(param0 = T.unsafe(nil)); end
|
def up_and_down_methods?(param0 = T.unsafe(nil)); end
|
||||||
end
|
end
|
||||||
@ -5099,7 +5099,6 @@ class RuboCop::AST::NodePattern::Parser
|
|||||||
end
|
end
|
||||||
|
|
||||||
module RuboCop::AST::NodePattern::Sets
|
module RuboCop::AST::NodePattern::Sets
|
||||||
SET_BLANK_EMPTY = ::T.let(nil, ::T.untyped)
|
|
||||||
SET_BUILD_RECOMMENDED_TEST_OPTIONAL = ::T.let(nil, ::T.untyped)
|
SET_BUILD_RECOMMENDED_TEST_OPTIONAL = ::T.let(nil, ::T.untyped)
|
||||||
SET_CHANGE_COLUMN_EXECUTE = ::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_DEPENDS_ON_USES_FROM_MACOS = ::T.let(nil, ::T.untyped)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user