Update RBI files for rubocop-rails.

Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gemss.yml) workflow.
This commit is contained in:
BrewTestBot 2022-11-05 17:51:07 +00:00
parent 86532c4624
commit e77dafd413
No known key found for this signature in database
GPG Key ID: 82D7D104050B0F0F
2 changed files with 87 additions and 15 deletions

View File

@ -175,6 +175,24 @@ RuboCop::Cop::Rails::ActionFilter::FILTER_METHODS = T.let(T.unsafe(nil), Array)
RuboCop::Cop::Rails::ActionFilter::MSG = T.let(T.unsafe(nil), String)
RuboCop::Cop::Rails::ActionFilter::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array)
class RuboCop::Cop::Rails::ActionOrder < ::RuboCop::Cop::Base
include ::RuboCop::Cop::VisibilityHelp
include ::RuboCop::Cop::DefNode
extend ::RuboCop::Cop::AutoCorrector
def action_declarations(param0, param1); end
def on_class(node); end
private
def actions; end
def expected_order; end
def find_index(node); end
def register_offense(previous, current); end
end
RuboCop::Cop::Rails::ActionOrder::MSG = T.let(T.unsafe(nil), String)
class RuboCop::Cop::Rails::ActiveRecordAliases < ::RuboCop::Cop::Base
extend ::RuboCop::Cop::AutoCorrector
@ -695,6 +713,10 @@ class RuboCop::Cop::Rails::EagerEvaluationLogMessage < ::RuboCop::Cop::Base
def replacement_range(node); end
def replacement_source(node, arguments); end
class << self
def autocorrect_incompatible_with; end
end
end
RuboCop::Cop::Rails::EagerEvaluationLogMessage::MSG = T.let(T.unsafe(nil), String)
@ -1059,6 +1081,15 @@ end
RuboCop::Cop::Rails::I18nLocaleTexts::MSG = T.let(T.unsafe(nil), String)
RuboCop::Cop::Rails::I18nLocaleTexts::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array)
class RuboCop::Cop::Rails::IgnoredColumnsAssignment < ::RuboCop::Cop::Base
extend ::RuboCop::Cop::AutoCorrector
def on_send(node); end
end
RuboCop::Cop::Rails::IgnoredColumnsAssignment::MSG = T.let(T.unsafe(nil), String)
RuboCop::Cop::Rails::IgnoredColumnsAssignment::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array)
class RuboCop::Cop::Rails::IgnoredSkipActionFilterOption < ::RuboCop::Cop::Base
def filter_options(param0 = T.unsafe(nil)); end
def on_send(node); end
@ -1325,8 +1356,11 @@ class RuboCop::Cop::Rails::Pluck < ::RuboCop::Cop::Base
private
def message(value, node); end
def message(replacement, node); end
def offense_range(node); end
def register_offense(node, key); end
def use_block_argument_in_key?(block_argument, key); end
def use_one_block_argument?(argument); end
end
RuboCop::Cop::Rails::Pluck::MSG = T.let(T.unsafe(nil), String)
@ -1398,11 +1432,13 @@ class RuboCop::Cop::Rails::Presence < ::RuboCop::Cop::Base
private
def build_source_for_or_method(other); end
def current(node); end
def ignore_if_node?(node); end
def ignore_other_node?(node); end
def message(node, receiver, other); end
def method_range(node); end
def register_offense(node, receiver, other); end
def replacement(receiver, other); end
def replacement(receiver, other, left_sibling); end
end
RuboCop::Cop::Rails::Presence::MSG = T.let(T.unsafe(nil), String)
@ -2236,6 +2272,18 @@ RuboCop::Cop::Rails::WhereNot::NOT_IN_ANONYMOUS_RE = T.let(T.unsafe(nil), Regexp
RuboCop::Cop::Rails::WhereNot::NOT_IN_NAMED_RE = T.let(T.unsafe(nil), Regexp)
RuboCop::Cop::Rails::WhereNot::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array)
class RuboCop::Cop::Rails::WhereNotWithMultipleConditions < ::RuboCop::Cop::Base
def on_send(node); end
def where_not_call?(param0 = T.unsafe(nil)); end
private
def multiple_arguments_hash?(hash); end
end
RuboCop::Cop::Rails::WhereNotWithMultipleConditions::MSG = T.let(T.unsafe(nil), String)
RuboCop::Cop::Rails::WhereNotWithMultipleConditions::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array)
module RuboCop::Cop::TargetRailsVersion
def minimum_target_rails_version(version); end
def support_target_rails_version?(version); end

View File

@ -70,22 +70,28 @@ class Zeitwerk::Inflector
def overrides; end
end
module Zeitwerk::Internal
def internal(method_name); end
end
class Zeitwerk::Loader
include ::Zeitwerk::RealModName
include ::Zeitwerk::Loader::Callbacks
include ::Zeitwerk::Loader::Helpers
include ::Zeitwerk::Loader::Config
include ::Zeitwerk::Loader::EagerLoad
def initialize; end
def autoloaded_dirs; end
def autoloads; end
def eager_load(force: T.unsafe(nil)); end
def lazy_subdirs; end
def mutex; end
def mutex2; end
def namespace_dirs; end
def reload; end
def setup; end
def shadowed_file?(file); end
def shadowed_files; end
def to_unload; end
def unload; end
def unloadable_cpath?(cpath); end
@ -111,6 +117,7 @@ class Zeitwerk::Loader
def default_logger; end
def default_logger=(_arg0); end
def eager_load_all; end
def eager_load_namespace(mod); end
def for_gem(warn_on_extra_files: T.unsafe(nil)); end
end
end
@ -128,46 +135,62 @@ module Zeitwerk::Loader::Callbacks
end
module Zeitwerk::Loader::Config
extend ::Zeitwerk::Internal
def initialize; end
def __ignores?(abspath); end
def __roots; end
def collapse(*glob_patterns); end
def collapse_dirs; end
def collapse_glob_patterns; end
def dirs(namespaces: T.unsafe(nil)); end
def do_not_eager_load(*paths); end
def eager_load_exclusions; end
def enable_reloading; end
def ignore(*glob_patterns); end
def ignored_glob_patterns; end
def ignored_paths; end
def ignores?(abspath); end
def inflector; end
def inflector=(_arg0); end
def log!; end
def logger; end
def logger=(_arg0); end
def on_load(cpath = T.unsafe(nil), &block); end
def on_load_callbacks; end
def on_setup(&block); end
def on_setup_callbacks; end
def on_unload(cpath = T.unsafe(nil), &block); end
def on_unload_callbacks; end
def push_dir(path, namespace: T.unsafe(nil)); end
def reloading_enabled?; end
def root_dirs; end
def tag; end
def tag=(tag); end
private
def actual_root_dirs; end
def actual_roots; end
def collapse?(dir); end
def collapse_dirs; end
def collapse_glob_patterns; end
def eager_load_exclusions; end
def excluded_from_eager_load?(abspath); end
def expand_glob_patterns(glob_patterns); end
def expand_paths(paths); end
def ignored_glob_patterns; end
def ignored_paths; end
def ignores?(abspath); end
def on_load_callbacks; end
def on_setup_callbacks; end
def on_unload_callbacks; end
def recompute_collapse_dirs; end
def recompute_ignored_paths; end
def root_dir?(dir); end
def roots; end
end
module Zeitwerk::Loader::EagerLoad
def eager_load(force: T.unsafe(nil)); end
def eager_load_dir(path); end
def eager_load_namespace(mod); end
def load_file(path); end
private
def actual_eager_load_dir(dir, namespace, force: T.unsafe(nil)); end
def eager_load_child_namespace(child, child_name, root_dir, root_namespace); end
end
module Zeitwerk::Loader::Helpers
@ -183,6 +206,7 @@ module Zeitwerk::Loader::Helpers
def ls(dir); end
def ruby?(path); end
def strict_autoload_path(parent, cname); end
def walk_up(abspath); end
end
Zeitwerk::Loader::MUTEX = T.let(T.unsafe(nil), Thread::Mutex)