Update RBI files for rubocop.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
This commit is contained in:
parent
643ef18be9
commit
f1f10a7968
@ -11,25 +11,25 @@ module CopHelper
|
|||||||
extend ::RSpec::Its
|
extend ::RSpec::Its
|
||||||
extend ::RSpec::Core::SharedContext
|
extend ::RSpec::Core::SharedContext
|
||||||
|
|
||||||
# source://rubocop//lib/rubocop/rspec/cop_helper.rb#71
|
# source://rubocop//lib/rubocop/rspec/cop_helper.rb#77
|
||||||
def _investigate(cop, processed_source); end
|
def _investigate(cop, processed_source); end
|
||||||
|
|
||||||
# source://rubocop//lib/rubocop/rspec/cop_helper.rb#61
|
# source://rubocop//lib/rubocop/rspec/cop_helper.rb#67
|
||||||
def autocorrect_source(source, file = T.unsafe(nil)); end
|
def autocorrect_source(source, file = T.unsafe(nil)); end
|
||||||
|
|
||||||
# source://rubocop//lib/rubocop/rspec/cop_helper.rb#57
|
# source://rubocop//lib/rubocop/rspec/cop_helper.rb#63
|
||||||
def autocorrect_source_file(source); end
|
def autocorrect_source_file(source); end
|
||||||
|
|
||||||
# source://rubocop//lib/rubocop/rspec/cop_helper.rb#37
|
# source://rubocop//lib/rubocop/rspec/cop_helper.rb#43
|
||||||
def configuration; end
|
def configuration; end
|
||||||
|
|
||||||
# source://rubocop//lib/rubocop/rspec/cop_helper.rb#12
|
# source://rubocop//lib/rubocop/rspec/cop_helper.rb#16
|
||||||
def inspect_source(source, file = T.unsafe(nil)); end
|
def inspect_source(source, file = T.unsafe(nil)); end
|
||||||
|
|
||||||
# source://rubocop//lib/rubocop/rspec/cop_helper.rb#24
|
# source://rubocop//lib/rubocop/rspec/cop_helper.rb#28
|
||||||
def parse_source(source, file = T.unsafe(nil)); end
|
def parse_source(source, file = T.unsafe(nil)); end
|
||||||
|
|
||||||
# source://rubocop//lib/rubocop/rspec/cop_helper.rb#45
|
# source://rubocop//lib/rubocop/rspec/cop_helper.rb#51
|
||||||
def registry; end
|
def registry; end
|
||||||
end
|
end
|
||||||
|
|
||||||
@ -1028,7 +1028,7 @@ class RuboCop::Config
|
|||||||
# source://rubocop//lib/rubocop/config.rb#237
|
# source://rubocop//lib/rubocop/config.rb#237
|
||||||
def base_dir_for_path_parameters; end
|
def base_dir_for_path_parameters; end
|
||||||
|
|
||||||
# source://rubocop//lib/rubocop/config.rb#262
|
# source://rubocop//lib/rubocop/config.rb#266
|
||||||
def bundler_lock_file_path; end
|
def bundler_lock_file_path; end
|
||||||
|
|
||||||
# source://rubocop//lib/rubocop/config.rb#51
|
# source://rubocop//lib/rubocop/config.rb#51
|
||||||
@ -1104,7 +1104,7 @@ class RuboCop::Config
|
|||||||
# source://rubocop//lib/rubocop/config.rb#153
|
# source://rubocop//lib/rubocop/config.rb#153
|
||||||
def for_department(department_name); end
|
def for_department(department_name); end
|
||||||
|
|
||||||
# source://rubocop//lib/rubocop/config.rb#285
|
# source://rubocop//lib/rubocop/config.rb#289
|
||||||
def inspect; end
|
def inspect; end
|
||||||
|
|
||||||
# True if this is a config file that is shipped with RuboCop
|
# True if this is a config file that is shipped with RuboCop
|
||||||
@ -1137,6 +1137,9 @@ class RuboCop::Config
|
|||||||
# source://forwardable/1.3.2/forwardable.rb#229
|
# source://forwardable/1.3.2/forwardable.rb#229
|
||||||
def merge(*args, **_arg1, &block); end
|
def merge(*args, **_arg1, &block); end
|
||||||
|
|
||||||
|
# source://rubocop//lib/rubocop/config.rb#247
|
||||||
|
def parser_engine; end
|
||||||
|
|
||||||
# source://rubocop//lib/rubocop/config.rb#228
|
# source://rubocop//lib/rubocop/config.rb#228
|
||||||
def path_relative_to_config(path); end
|
def path_relative_to_config(path); end
|
||||||
|
|
||||||
@ -1146,7 +1149,7 @@ class RuboCop::Config
|
|||||||
# source://rubocop//lib/rubocop/config.rb#220
|
# source://rubocop//lib/rubocop/config.rb#220
|
||||||
def patterns_to_include; end
|
def patterns_to_include; end
|
||||||
|
|
||||||
# source://rubocop//lib/rubocop/config.rb#273
|
# source://rubocop//lib/rubocop/config.rb#277
|
||||||
def pending_cops; end
|
def pending_cops; end
|
||||||
|
|
||||||
# Returns true if there's a chance that an Include pattern matches hidden
|
# Returns true if there's a chance that an Include pattern matches hidden
|
||||||
@ -1163,10 +1166,10 @@ class RuboCop::Config
|
|||||||
# source://rubocop//lib/rubocop/config.rb#71
|
# source://rubocop//lib/rubocop/config.rb#71
|
||||||
def signature; end
|
def signature; end
|
||||||
|
|
||||||
# source://rubocop//lib/rubocop/config.rb#258
|
# source://rubocop//lib/rubocop/config.rb#262
|
||||||
def smart_loaded_path; end
|
def smart_loaded_path; end
|
||||||
|
|
||||||
# source://rubocop//lib/rubocop/config.rb#247
|
# source://rubocop//lib/rubocop/config.rb#251
|
||||||
def target_rails_version; end
|
def target_rails_version; end
|
||||||
|
|
||||||
# source://forwardable/1.3.2/forwardable.rb#229
|
# source://forwardable/1.3.2/forwardable.rb#229
|
||||||
@ -1192,18 +1195,18 @@ class RuboCop::Config
|
|||||||
|
|
||||||
private
|
private
|
||||||
|
|
||||||
# source://rubocop//lib/rubocop/config.rb#320
|
# source://rubocop//lib/rubocop/config.rb#324
|
||||||
def department_of(qualified_cop_name); end
|
def department_of(qualified_cop_name); end
|
||||||
|
|
||||||
# @return [Boolean]
|
# @return [Boolean]
|
||||||
#
|
#
|
||||||
# source://rubocop//lib/rubocop/config.rb#308
|
# source://rubocop//lib/rubocop/config.rb#312
|
||||||
def enable_cop?(qualified_cop_name, cop_options); end
|
def enable_cop?(qualified_cop_name, cop_options); end
|
||||||
|
|
||||||
# source://rubocop//lib/rubocop/config.rb#295
|
# source://rubocop//lib/rubocop/config.rb#299
|
||||||
def read_rails_version_from_bundler_lock_file; end
|
def read_rails_version_from_bundler_lock_file; end
|
||||||
|
|
||||||
# source://rubocop//lib/rubocop/config.rb#291
|
# source://rubocop//lib/rubocop/config.rb#295
|
||||||
def target_rails_version_from_bundler_lock_file; end
|
def target_rails_version_from_bundler_lock_file; end
|
||||||
|
|
||||||
class << self
|
class << self
|
||||||
@ -2944,7 +2947,7 @@ class RuboCop::Cop::Base
|
|||||||
|
|
||||||
# @return [Boolean]
|
# @return [Boolean]
|
||||||
#
|
#
|
||||||
# source://rubocop//lib/rubocop/cop/base.rb#239
|
# source://rubocop//lib/rubocop/cop/base.rb#243
|
||||||
def active_support_extensions_enabled?; end
|
def active_support_extensions_enabled?; end
|
||||||
|
|
||||||
# Adds an offense that has no particular location.
|
# Adds an offense that has no particular location.
|
||||||
@ -2964,19 +2967,19 @@ class RuboCop::Cop::Base
|
|||||||
# @api private
|
# @api private
|
||||||
# @return [Boolean]
|
# @return [Boolean]
|
||||||
#
|
#
|
||||||
# source://rubocop//lib/rubocop/cop/base.rb#309
|
# source://rubocop//lib/rubocop/cop/base.rb#313
|
||||||
def always_autocorrect?; end
|
def always_autocorrect?; end
|
||||||
|
|
||||||
# Called before any investigation
|
# Called before any investigation
|
||||||
#
|
#
|
||||||
# @api private
|
# @api private
|
||||||
#
|
#
|
||||||
# source://rubocop//lib/rubocop/cop/base.rb#295
|
# source://rubocop//lib/rubocop/cop/base.rb#299
|
||||||
def begin_investigation(processed_source, offset: T.unsafe(nil), original: T.unsafe(nil)); end
|
def begin_investigation(processed_source, offset: T.unsafe(nil), original: T.unsafe(nil)); end
|
||||||
|
|
||||||
# @api private
|
# @api private
|
||||||
#
|
#
|
||||||
# source://rubocop//lib/rubocop/cop/base.rb#280
|
# source://rubocop//lib/rubocop/cop/base.rb#284
|
||||||
def callbacks_needed; end
|
def callbacks_needed; end
|
||||||
|
|
||||||
# Returns the value of attribute config.
|
# Returns the value of attribute config.
|
||||||
@ -2993,7 +2996,7 @@ class RuboCop::Cop::Base
|
|||||||
# @api private
|
# @api private
|
||||||
# @return [Boolean]
|
# @return [Boolean]
|
||||||
#
|
#
|
||||||
# source://rubocop//lib/rubocop/cop/base.rb#315
|
# source://rubocop//lib/rubocop/cop/base.rb#319
|
||||||
def contextual_autocorrect?; end
|
def contextual_autocorrect?; end
|
||||||
|
|
||||||
# Configuration Helpers
|
# Configuration Helpers
|
||||||
@ -3006,7 +3009,7 @@ class RuboCop::Cop::Base
|
|||||||
|
|
||||||
# @return [Boolean]
|
# @return [Boolean]
|
||||||
#
|
#
|
||||||
# source://rubocop//lib/rubocop/cop/base.rb#251
|
# source://rubocop//lib/rubocop/cop/base.rb#255
|
||||||
def excluded_file?(file); end
|
def excluded_file?(file); end
|
||||||
|
|
||||||
# This method should be overridden when a cop's behavior depends
|
# This method should be overridden when a cop's behavior depends
|
||||||
@ -3028,7 +3031,7 @@ class RuboCop::Cop::Base
|
|||||||
# source://rubocop//lib/rubocop/cop/base.rb#205
|
# source://rubocop//lib/rubocop/cop/base.rb#205
|
||||||
def external_dependency_checksum; end
|
def external_dependency_checksum; end
|
||||||
|
|
||||||
# source://rubocop//lib/rubocop/cop/base.rb#319
|
# source://rubocop//lib/rubocop/cop/base.rb#323
|
||||||
def inspect; end
|
def inspect; end
|
||||||
|
|
||||||
# Gets called if no message is specified when calling `add_offense` or
|
# Gets called if no message is specified when calling `add_offense` or
|
||||||
@ -3043,7 +3046,7 @@ class RuboCop::Cop::Base
|
|||||||
|
|
||||||
# @deprecated Make potential errors with previous API more obvious
|
# @deprecated Make potential errors with previous API more obvious
|
||||||
#
|
#
|
||||||
# source://rubocop//lib/rubocop/cop/base.rb#271
|
# source://rubocop//lib/rubocop/cop/base.rb#275
|
||||||
def offenses; end
|
def offenses; end
|
||||||
|
|
||||||
# Called after all on_... have been called
|
# Called after all on_... have been called
|
||||||
@ -3066,9 +3069,12 @@ class RuboCop::Cop::Base
|
|||||||
|
|
||||||
# There should be very limited reasons for a Cop to do it's own parsing
|
# There should be very limited reasons for a Cop to do it's own parsing
|
||||||
#
|
#
|
||||||
# source://rubocop//lib/rubocop/cop/base.rb#256
|
# source://rubocop//lib/rubocop/cop/base.rb#260
|
||||||
def parse(source, path = T.unsafe(nil)); end
|
def parse(source, path = T.unsafe(nil)); end
|
||||||
|
|
||||||
|
# source://rubocop//lib/rubocop/cop/base.rb#235
|
||||||
|
def parser_engine; end
|
||||||
|
|
||||||
# Returns the value of attribute processed_source.
|
# Returns the value of attribute processed_source.
|
||||||
#
|
#
|
||||||
# source://rubocop//lib/rubocop/cop/base.rb#43
|
# source://rubocop//lib/rubocop/cop/base.rb#43
|
||||||
@ -3078,15 +3084,15 @@ class RuboCop::Cop::Base
|
|||||||
#
|
#
|
||||||
# @api private
|
# @api private
|
||||||
#
|
#
|
||||||
# source://rubocop//lib/rubocop/cop/base.rb#262
|
# source://rubocop//lib/rubocop/cop/base.rb#266
|
||||||
def ready; end
|
def ready; end
|
||||||
|
|
||||||
# @return [Boolean]
|
# @return [Boolean]
|
||||||
#
|
#
|
||||||
# source://rubocop//lib/rubocop/cop/base.rb#243
|
# source://rubocop//lib/rubocop/cop/base.rb#247
|
||||||
def relevant_file?(file); end
|
def relevant_file?(file); end
|
||||||
|
|
||||||
# source://rubocop//lib/rubocop/cop/base.rb#235
|
# source://rubocop//lib/rubocop/cop/base.rb#239
|
||||||
def target_rails_version; end
|
def target_rails_version; end
|
||||||
|
|
||||||
# source://rubocop//lib/rubocop/cop/base.rb#231
|
# source://rubocop//lib/rubocop/cop/base.rb#231
|
||||||
@ -3094,83 +3100,83 @@ class RuboCop::Cop::Base
|
|||||||
|
|
||||||
private
|
private
|
||||||
|
|
||||||
# source://rubocop//lib/rubocop/cop/base.rb#447
|
# source://rubocop//lib/rubocop/cop/base.rb#451
|
||||||
def annotate(message); end
|
def annotate(message); end
|
||||||
|
|
||||||
# source://rubocop//lib/rubocop/cop/base.rb#331
|
# source://rubocop//lib/rubocop/cop/base.rb#335
|
||||||
def apply_correction(corrector); end
|
def apply_correction(corrector); end
|
||||||
|
|
||||||
# @return [Symbol] offense status
|
# @return [Symbol] offense status
|
||||||
#
|
#
|
||||||
# source://rubocop//lib/rubocop/cop/base.rb#411
|
# source://rubocop//lib/rubocop/cop/base.rb#415
|
||||||
def attempt_correction(range, corrector); end
|
def attempt_correction(range, corrector); end
|
||||||
|
|
||||||
# Reserved for Cop::Cop
|
# Reserved for Cop::Cop
|
||||||
#
|
#
|
||||||
# source://rubocop//lib/rubocop/cop/base.rb#327
|
# source://rubocop//lib/rubocop/cop/base.rb#331
|
||||||
def callback_argument(range); end
|
def callback_argument(range); end
|
||||||
|
|
||||||
# Called to complete an investigation
|
# Called to complete an investigation
|
||||||
#
|
#
|
||||||
# source://rubocop//lib/rubocop/cop/base.rb#360
|
# source://rubocop//lib/rubocop/cop/base.rb#364
|
||||||
def complete_investigation; end
|
def complete_investigation; end
|
||||||
|
|
||||||
# @return [Symbol, Corrector] offense status
|
# @return [Symbol, Corrector] offense status
|
||||||
#
|
#
|
||||||
# source://rubocop//lib/rubocop/cop/base.rb#385
|
# source://rubocop//lib/rubocop/cop/base.rb#389
|
||||||
def correct(range); end
|
def correct(range); end
|
||||||
|
|
||||||
# source://rubocop//lib/rubocop/cop/base.rb#345
|
# source://rubocop//lib/rubocop/cop/base.rb#349
|
||||||
def current_corrector; end
|
def current_corrector; end
|
||||||
|
|
||||||
# Reserved for Commissioner:
|
# Reserved for Commissioner:
|
||||||
#
|
#
|
||||||
# source://rubocop//lib/rubocop/cop/base.rb#337
|
# source://rubocop//lib/rubocop/cop/base.rb#341
|
||||||
def current_offense_locations; end
|
def current_offense_locations; end
|
||||||
|
|
||||||
# source://rubocop//lib/rubocop/cop/base.rb#349
|
# source://rubocop//lib/rubocop/cop/base.rb#353
|
||||||
def current_offenses; end
|
def current_offenses; end
|
||||||
|
|
||||||
# source://rubocop//lib/rubocop/cop/base.rb#341
|
# source://rubocop//lib/rubocop/cop/base.rb#345
|
||||||
def currently_disabled_lines; end
|
def currently_disabled_lines; end
|
||||||
|
|
||||||
# source://rubocop//lib/rubocop/cop/base.rb#475
|
# source://rubocop//lib/rubocop/cop/base.rb#479
|
||||||
def custom_severity; end
|
def custom_severity; end
|
||||||
|
|
||||||
# source://rubocop//lib/rubocop/cop/base.rb#471
|
# source://rubocop//lib/rubocop/cop/base.rb#475
|
||||||
def default_severity; end
|
def default_severity; end
|
||||||
|
|
||||||
# source://rubocop//lib/rubocop/cop/base.rb#425
|
# source://rubocop//lib/rubocop/cop/base.rb#429
|
||||||
def disable_uncorrectable(range); end
|
def disable_uncorrectable(range); end
|
||||||
|
|
||||||
# @return [Boolean]
|
# @return [Boolean]
|
||||||
#
|
#
|
||||||
# source://rubocop//lib/rubocop/cop/base.rb#461
|
# source://rubocop//lib/rubocop/cop/base.rb#465
|
||||||
def enabled_line?(line_number); end
|
def enabled_line?(line_number); end
|
||||||
|
|
||||||
# @return [Boolean]
|
# @return [Boolean]
|
||||||
#
|
#
|
||||||
# source://rubocop//lib/rubocop/cop/base.rb#453
|
# source://rubocop//lib/rubocop/cop/base.rb#457
|
||||||
def file_name_matches_any?(file, parameter, default_result); end
|
def file_name_matches_any?(file, parameter, default_result); end
|
||||||
|
|
||||||
# source://rubocop//lib/rubocop/cop/base.rb#443
|
# source://rubocop//lib/rubocop/cop/base.rb#447
|
||||||
def find_message(range, message); end
|
def find_message(range, message); end
|
||||||
|
|
||||||
# source://rubocop//lib/rubocop/cop/base.rb#467
|
# source://rubocop//lib/rubocop/cop/base.rb#471
|
||||||
def find_severity(_range, severity); end
|
def find_severity(_range, severity); end
|
||||||
|
|
||||||
# source://rubocop//lib/rubocop/cop/base.rb#488
|
# source://rubocop//lib/rubocop/cop/base.rb#492
|
||||||
def range_for_original(range); end
|
def range_for_original(range); end
|
||||||
|
|
||||||
# source://rubocop//lib/rubocop/cop/base.rb#432
|
# source://rubocop//lib/rubocop/cop/base.rb#436
|
||||||
def range_from_node_or_range(node_or_range); end
|
def range_from_node_or_range(node_or_range); end
|
||||||
|
|
||||||
# source://rubocop//lib/rubocop/cop/base.rb#380
|
# source://rubocop//lib/rubocop/cop/base.rb#384
|
||||||
def reset_investigation; end
|
def reset_investigation; end
|
||||||
|
|
||||||
# @return [Symbol] offense status
|
# @return [Symbol] offense status
|
||||||
#
|
#
|
||||||
# source://rubocop//lib/rubocop/cop/base.rb#400
|
# source://rubocop//lib/rubocop/cop/base.rb#404
|
||||||
def use_corrector(range, corrector); end
|
def use_corrector(range, corrector); end
|
||||||
|
|
||||||
class << self
|
class << self
|
||||||
@ -3190,7 +3196,7 @@ class RuboCop::Cop::Base
|
|||||||
|
|
||||||
# @api private
|
# @api private
|
||||||
#
|
#
|
||||||
# source://rubocop//lib/rubocop/cop/base.rb#285
|
# source://rubocop//lib/rubocop/cop/base.rb#289
|
||||||
def callbacks_needed; end
|
def callbacks_needed; end
|
||||||
|
|
||||||
# source://rubocop//lib/rubocop/cop/base.rb#93
|
# source://rubocop//lib/rubocop/cop/base.rb#93
|
||||||
@ -3260,15 +3266,15 @@ class RuboCop::Cop::Base
|
|||||||
|
|
||||||
# @return [Boolean]
|
# @return [Boolean]
|
||||||
#
|
#
|
||||||
# source://rubocop//lib/rubocop/cop/base.rb#371
|
# source://rubocop//lib/rubocop/cop/base.rb#375
|
||||||
def builtin?; end
|
def builtin?; end
|
||||||
|
|
||||||
# source://rubocop//lib/rubocop/cop/base.rb#353
|
# source://rubocop//lib/rubocop/cop/base.rb#357
|
||||||
def restrict_on_send; end
|
def restrict_on_send; end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# source://rubocop//lib/rubocop/cop/base.rb#357
|
# source://rubocop//lib/rubocop/cop/base.rb#361
|
||||||
RuboCop::Cop::Base::EMPTY_OFFENSES = T.let(T.unsafe(nil), Array)
|
RuboCop::Cop::Base::EMPTY_OFFENSES = T.let(T.unsafe(nil), Array)
|
||||||
|
|
||||||
# Reports of an investigation.
|
# Reports of an investigation.
|
||||||
@ -4889,10 +4895,10 @@ class RuboCop::Cop::Cop < ::RuboCop::Cop::Base
|
|||||||
# source://rubocop//lib/rubocop/cop/cop.rb#70
|
# source://rubocop//lib/rubocop/cop/cop.rb#70
|
||||||
def find_location(node, loc); end
|
def find_location(node, loc); end
|
||||||
|
|
||||||
# source://rubocop//lib/rubocop/rspec/cop_helper.rb#88
|
# source://rubocop//lib/rubocop/rspec/cop_helper.rb#94
|
||||||
def highlights; end
|
def highlights; end
|
||||||
|
|
||||||
# source://rubocop//lib/rubocop/rspec/cop_helper.rb#84
|
# source://rubocop//lib/rubocop/rspec/cop_helper.rb#90
|
||||||
def messages; end
|
def messages; end
|
||||||
|
|
||||||
# Returns the value of attribute offenses.
|
# Returns the value of attribute offenses.
|
||||||
@ -23854,12 +23860,12 @@ class RuboCop::Cop::Lint::ToEnumArguments < ::RuboCop::Cop::Base
|
|||||||
|
|
||||||
# @return [Boolean]
|
# @return [Boolean]
|
||||||
#
|
#
|
||||||
# source://rubocop//lib/rubocop/cop/lint/to_enum_arguments.rb#78
|
# source://rubocop//lib/rubocop/cop/lint/to_enum_arguments.rb#83
|
||||||
def argument_match?(send_arg, def_arg); end
|
def argument_match?(send_arg, def_arg); end
|
||||||
|
|
||||||
# @return [Boolean]
|
# @return [Boolean]
|
||||||
#
|
#
|
||||||
# source://rubocop//lib/rubocop/cop/lint/to_enum_arguments.rb#63
|
# source://rubocop//lib/rubocop/cop/lint/to_enum_arguments.rb#68
|
||||||
def arguments_match?(arguments, def_node); end
|
def arguments_match?(arguments, def_node); end
|
||||||
end
|
end
|
||||||
|
|
||||||
@ -50295,7 +50301,7 @@ class RuboCop::Cop::Style::TrailingCommaInArguments < ::RuboCop::Cop::Base
|
|||||||
def on_send(node); end
|
def on_send(node); end
|
||||||
|
|
||||||
class << self
|
class << self
|
||||||
# source://rubocop-rspec/2.26.1/lib/rubocop-rspec.rb#60
|
# source://rubocop-rspec/2.27.1/lib/rubocop-rspec.rb#60
|
||||||
def autocorrect_incompatible_with; end
|
def autocorrect_incompatible_with; end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
@ -57172,7 +57178,7 @@ class RuboCop::Runner
|
|||||||
# otherwise dormant team that can be used for config- and option-
|
# otherwise dormant team that can be used for config- and option-
|
||||||
# level caching in ResultCache.
|
# level caching in ResultCache.
|
||||||
#
|
#
|
||||||
# source://rubocop//lib/rubocop/runner.rb#492
|
# source://rubocop//lib/rubocop/runner.rb#499
|
||||||
def standby_team(config); end
|
def standby_team(config); end
|
||||||
|
|
||||||
# @return [Boolean]
|
# @return [Boolean]
|
||||||
@ -57269,173 +57275,180 @@ RuboCop::StringInterpreter::STRING_ESCAPES = T.let(T.unsafe(nil), Hash)
|
|||||||
# source://rubocop//lib/rubocop/string_interpreter.rb#12
|
# source://rubocop//lib/rubocop/string_interpreter.rb#12
|
||||||
RuboCop::StringInterpreter::STRING_ESCAPE_REGEX = T.let(T.unsafe(nil), Regexp)
|
RuboCop::StringInterpreter::STRING_ESCAPE_REGEX = T.let(T.unsafe(nil), Regexp)
|
||||||
|
|
||||||
# This class finds target files to inspect by scanning the directory tree
|
# This class finds target files to inspect by scanning the directory tree and picking ruby files.
|
||||||
# and picking ruby files.
|
|
||||||
#
|
#
|
||||||
# @api private
|
# @api private
|
||||||
#
|
#
|
||||||
# source://rubocop//lib/rubocop/target_finder.rb#7
|
# source://rubocop//lib/rubocop/target_finder.rb#6
|
||||||
class RuboCop::TargetFinder
|
class RuboCop::TargetFinder
|
||||||
# @api private
|
# @api private
|
||||||
# @return [TargetFinder] a new instance of TargetFinder
|
# @return [TargetFinder] a new instance of TargetFinder
|
||||||
#
|
#
|
||||||
# source://rubocop//lib/rubocop/target_finder.rb#10
|
# source://rubocop//lib/rubocop/target_finder.rb#9
|
||||||
def initialize(config_store, options = T.unsafe(nil)); end
|
def initialize(config_store, options = T.unsafe(nil)); end
|
||||||
|
|
||||||
# @api private
|
# Generate a list of target files by expanding globbing patterns (if any). If args is empty,
|
||||||
#
|
# recursively find all Ruby source files under the current directory
|
||||||
# source://rubocop//lib/rubocop/target_finder.rb#149
|
|
||||||
def all_cops_include; end
|
|
||||||
|
|
||||||
# @api private
|
|
||||||
#
|
|
||||||
# source://rubocop//lib/rubocop/target_finder.rb#120
|
|
||||||
def combined_exclude_glob_patterns(base_dir); end
|
|
||||||
|
|
||||||
# @api private
|
|
||||||
# @return [Boolean]
|
|
||||||
#
|
|
||||||
# source://rubocop//lib/rubocop/target_finder.rb#176
|
|
||||||
def configured_include?(file); end
|
|
||||||
|
|
||||||
# @api private
|
|
||||||
# @return [Boolean]
|
|
||||||
#
|
|
||||||
# source://rubocop//lib/rubocop/target_finder.rb#19
|
|
||||||
def debug?; end
|
|
||||||
|
|
||||||
# @api private
|
|
||||||
# @return [Boolean]
|
|
||||||
#
|
|
||||||
# source://rubocop//lib/rubocop/target_finder.rb#23
|
|
||||||
def fail_fast?; end
|
|
||||||
|
|
||||||
# Generate a list of target files by expanding globbing patterns
|
|
||||||
# (if any). If args is empty, recursively find all Ruby source
|
|
||||||
# files under the current directory
|
|
||||||
#
|
#
|
||||||
# @api private
|
# @api private
|
||||||
# @return [Array] array of file paths
|
# @return [Array] array of file paths
|
||||||
#
|
#
|
||||||
# source://rubocop//lib/rubocop/target_finder.rb#31
|
# source://rubocop//lib/rubocop/target_finder.rb#17
|
||||||
def find(args, mode); end
|
def find(args, mode); end
|
||||||
|
|
||||||
# Search for files recursively starting at the given base directory using
|
# Search for files recursively starting at the given base directory using the given flags that
|
||||||
# the given flags that determine how the match is made. Excluded files will
|
# determine how the match is made. Excluded files will be removed later by the caller, but as an
|
||||||
# be removed later by the caller, but as an optimization find_files removes
|
# optimization find_files removes the top level directories that are excluded in configuration
|
||||||
# the top level directories that are excluded in configuration in the
|
# in the normal way (dir/**/*).
|
||||||
# normal way (dir/**/*).
|
|
||||||
#
|
#
|
||||||
# @api private
|
# @api private
|
||||||
#
|
#
|
||||||
# source://rubocop//lib/rubocop/target_finder.rb#83
|
# source://rubocop//lib/rubocop/target_finder.rb#58
|
||||||
def find_files(base_dir, flags); end
|
def find_files(base_dir, flags); end
|
||||||
|
|
||||||
# @api private
|
|
||||||
# @return [Boolean]
|
|
||||||
#
|
|
||||||
# source://rubocop//lib/rubocop/target_finder.rb#15
|
|
||||||
def force_exclusion?; end
|
|
||||||
|
|
||||||
# @api private
|
|
||||||
# @return [Boolean]
|
|
||||||
#
|
|
||||||
# source://rubocop//lib/rubocop/target_finder.rb#180
|
|
||||||
def included_file?(file); end
|
|
||||||
|
|
||||||
# @api private
|
|
||||||
#
|
|
||||||
# source://rubocop//lib/rubocop/target_finder.rb#184
|
|
||||||
def process_explicit_path(path, mode); end
|
|
||||||
|
|
||||||
# @api private
|
|
||||||
# @return [Boolean]
|
|
||||||
#
|
|
||||||
# source://rubocop//lib/rubocop/target_finder.rb#153
|
|
||||||
def ruby_executable?(file); end
|
|
||||||
|
|
||||||
# @api private
|
|
||||||
# @return [Boolean]
|
|
||||||
#
|
|
||||||
# source://rubocop//lib/rubocop/target_finder.rb#127
|
|
||||||
def ruby_extension?(file); end
|
|
||||||
|
|
||||||
# @api private
|
|
||||||
#
|
|
||||||
# source://rubocop//lib/rubocop/target_finder.rb#131
|
|
||||||
def ruby_extensions; end
|
|
||||||
|
|
||||||
# @api private
|
# @api private
|
||||||
# @return [Boolean]
|
# @return [Boolean]
|
||||||
#
|
#
|
||||||
# source://rubocop-md/1.2.2/lib/rubocop/markdown/rubocop_ext.rb#88
|
# source://rubocop-md/1.2.2/lib/rubocop/markdown/rubocop_ext.rb#88
|
||||||
def ruby_file?(file); end
|
def ruby_file?(file); end
|
||||||
|
|
||||||
# @api private
|
# Finds all Ruby source files under the current or other supplied directory. A Ruby source file
|
||||||
# @return [Boolean]
|
# is defined as a file with the `.rb` extension or a file with no extension that has a ruby
|
||||||
#
|
# shebang line as its first line.
|
||||||
# source://rubocop//lib/rubocop/target_finder.rb#138
|
# It is possible to specify includes and excludes using the config file, so you can include
|
||||||
def ruby_filename?(file); end
|
# other Ruby files like Rakefiles and gemspecs.
|
||||||
|
|
||||||
# @api private
|
|
||||||
#
|
|
||||||
# source://rubocop//lib/rubocop/target_finder.rb#142
|
|
||||||
def ruby_filenames; end
|
|
||||||
|
|
||||||
# @api private
|
|
||||||
#
|
|
||||||
# source://rubocop//lib/rubocop/target_finder.rb#164
|
|
||||||
def ruby_interpreters(file); end
|
|
||||||
|
|
||||||
# @api private
|
|
||||||
# @return [Boolean]
|
|
||||||
#
|
|
||||||
# source://rubocop//lib/rubocop/target_finder.rb#168
|
|
||||||
def stdin?; end
|
|
||||||
|
|
||||||
# @api private
|
|
||||||
# @return [Boolean]
|
|
||||||
#
|
|
||||||
# source://rubocop//lib/rubocop/target_finder.rb#112
|
|
||||||
def symlink_excluded_or_infinite_loop?(base_dir, current_dir, exclude_pattern, flags); end
|
|
||||||
|
|
||||||
# Finds all Ruby source files under the current or other supplied
|
|
||||||
# directory. A Ruby source file is defined as a file with the `.rb`
|
|
||||||
# extension or a file with no extension that has a ruby shebang line
|
|
||||||
# as its first line.
|
|
||||||
# It is possible to specify includes and excludes using the config file,
|
|
||||||
# so you can include other Ruby files like Rakefiles and gemspecs.
|
|
||||||
#
|
#
|
||||||
# @api private
|
# @api private
|
||||||
# @param base_dir Root directory under which to search for
|
# @param base_dir Root directory under which to search for
|
||||||
# ruby source files
|
# ruby source files
|
||||||
# @return [Array] Array of filenames
|
# @return [Array] Array of filenames
|
||||||
#
|
#
|
||||||
# source://rubocop//lib/rubocop/target_finder.rb#56
|
# source://rubocop//lib/rubocop/target_finder.rb#41
|
||||||
def target_files_in_dir(base_dir = T.unsafe(nil)); end
|
def target_files_in_dir(base_dir = T.unsafe(nil)); end
|
||||||
|
|
||||||
# @api private
|
|
||||||
# @return [Boolean]
|
|
||||||
#
|
|
||||||
# source://rubocop//lib/rubocop/target_finder.rb#69
|
|
||||||
def to_inspect?(file, hidden_files, base_dir_config); end
|
|
||||||
|
|
||||||
# @api private
|
|
||||||
#
|
|
||||||
# source://rubocop//lib/rubocop/target_finder.rb#96
|
|
||||||
def wanted_dir_patterns(base_dir, exclude_pattern, flags); end
|
|
||||||
|
|
||||||
private
|
private
|
||||||
|
|
||||||
# @api private
|
# @api private
|
||||||
#
|
#
|
||||||
# source://rubocop//lib/rubocop/target_finder.rb#201
|
# source://rubocop//lib/rubocop/target_finder.rb#120
|
||||||
|
def all_cops_include; end
|
||||||
|
|
||||||
|
# @api private
|
||||||
|
#
|
||||||
|
# source://rubocop//lib/rubocop/target_finder.rb#106
|
||||||
|
def combined_exclude_glob_patterns(base_dir); end
|
||||||
|
|
||||||
|
# @api private
|
||||||
|
# @return [Boolean]
|
||||||
|
#
|
||||||
|
# source://rubocop//lib/rubocop/target_finder.rb#172
|
||||||
|
def configured_include?(file); end
|
||||||
|
|
||||||
|
# @api private
|
||||||
|
# @return [Boolean]
|
||||||
|
#
|
||||||
|
# source://rubocop//lib/rubocop/target_finder.rb#208
|
||||||
|
def debug?; end
|
||||||
|
|
||||||
|
# @api private
|
||||||
|
# @return [Boolean]
|
||||||
|
#
|
||||||
|
# source://rubocop//lib/rubocop/target_finder.rb#212
|
||||||
|
def fail_fast?; end
|
||||||
|
|
||||||
|
# @api private
|
||||||
|
# @return [Boolean]
|
||||||
|
#
|
||||||
|
# source://rubocop//lib/rubocop/target_finder.rb#200
|
||||||
|
def force_exclusion?; end
|
||||||
|
|
||||||
|
# @api private
|
||||||
|
# @return [Boolean]
|
||||||
|
#
|
||||||
|
# source://rubocop//lib/rubocop/target_finder.rb#204
|
||||||
|
def ignore_parent_exclusion?; end
|
||||||
|
|
||||||
|
# @api private
|
||||||
|
# @return [Boolean]
|
||||||
|
#
|
||||||
|
# source://rubocop//lib/rubocop/target_finder.rb#145
|
||||||
|
def included_file?(file); end
|
||||||
|
|
||||||
|
# @api private
|
||||||
|
#
|
||||||
|
# source://rubocop//lib/rubocop/target_finder.rb#191
|
||||||
def order; end
|
def order; end
|
||||||
|
|
||||||
|
# @api private
|
||||||
|
#
|
||||||
|
# source://rubocop//lib/rubocop/target_finder.rb#124
|
||||||
|
def process_explicit_path(path, mode); end
|
||||||
|
|
||||||
|
# @api private
|
||||||
|
# @return [Boolean]
|
||||||
|
#
|
||||||
|
# source://rubocop//lib/rubocop/target_finder.rb#176
|
||||||
|
def ruby_executable?(file); end
|
||||||
|
|
||||||
|
# @api private
|
||||||
|
# @return [Boolean]
|
||||||
|
#
|
||||||
|
# source://rubocop//lib/rubocop/target_finder.rb#157
|
||||||
|
def ruby_extension?(file); end
|
||||||
|
|
||||||
|
# @api private
|
||||||
|
#
|
||||||
|
# source://rubocop//lib/rubocop/target_finder.rb#161
|
||||||
|
def ruby_extensions; end
|
||||||
|
|
||||||
|
# @api private
|
||||||
|
# @return [Boolean]
|
||||||
|
#
|
||||||
|
# source://rubocop//lib/rubocop/target_finder.rb#168
|
||||||
|
def ruby_filename?(file); end
|
||||||
|
|
||||||
|
# @api private
|
||||||
|
#
|
||||||
|
# source://rubocop//lib/rubocop/target_finder.rb#113
|
||||||
|
def ruby_filenames; end
|
||||||
|
|
||||||
|
# @api private
|
||||||
|
#
|
||||||
|
# source://rubocop//lib/rubocop/target_finder.rb#187
|
||||||
|
def ruby_interpreters(file); end
|
||||||
|
|
||||||
|
# @api private
|
||||||
|
# @return [Boolean]
|
||||||
|
#
|
||||||
|
# source://rubocop//lib/rubocop/target_finder.rb#153
|
||||||
|
def stdin?; end
|
||||||
|
|
||||||
|
# @api private
|
||||||
|
# @return [Boolean]
|
||||||
|
#
|
||||||
|
# source://rubocop//lib/rubocop/target_finder.rb#98
|
||||||
|
def symlink_excluded_or_infinite_loop?(base_dir, current_dir, exclude_pattern, flags); end
|
||||||
|
|
||||||
|
# @api private
|
||||||
|
# @return [Boolean]
|
||||||
|
#
|
||||||
|
# source://rubocop//lib/rubocop/target_finder.rb#73
|
||||||
|
def to_inspect?(file, hidden_files, base_dir_config); end
|
||||||
|
|
||||||
|
# @api private
|
||||||
|
#
|
||||||
|
# source://rubocop//lib/rubocop/target_finder.rb#82
|
||||||
|
def wanted_dir_patterns(base_dir, exclude_pattern, flags); end
|
||||||
|
|
||||||
|
# @api private
|
||||||
|
#
|
||||||
|
# source://rubocop//lib/rubocop/target_finder.rb#134
|
||||||
|
def without_excluded(files); end
|
||||||
end
|
end
|
||||||
|
|
||||||
# @api private
|
# @api private
|
||||||
#
|
#
|
||||||
# source://rubocop//lib/rubocop/target_finder.rb#8
|
# source://rubocop//lib/rubocop/target_finder.rb#7
|
||||||
RuboCop::TargetFinder::HIDDEN_PATH_SUBSTRING = T.let(T.unsafe(nil), String)
|
RuboCop::TargetFinder::HIDDEN_PATH_SUBSTRING = T.let(T.unsafe(nil), String)
|
||||||
|
|
||||||
# The kind of Ruby that code inspected by RuboCop is written in.
|
# The kind of Ruby that code inspected by RuboCop is written in.
|
||||||
@ -57447,34 +57460,34 @@ class RuboCop::TargetRuby
|
|||||||
# @api private
|
# @api private
|
||||||
# @return [TargetRuby] a new instance of TargetRuby
|
# @return [TargetRuby] a new instance of TargetRuby
|
||||||
#
|
#
|
||||||
# source://rubocop//lib/rubocop/target_ruby.rb#252
|
# source://rubocop//lib/rubocop/target_ruby.rb#254
|
||||||
def initialize(config); end
|
def initialize(config); end
|
||||||
|
|
||||||
# @api private
|
# @api private
|
||||||
#
|
#
|
||||||
# source://rubocop//lib/rubocop/target_ruby.rb#268
|
# source://rubocop//lib/rubocop/target_ruby.rb#270
|
||||||
def rubocop_version_with_support; end
|
def rubocop_version_with_support; end
|
||||||
|
|
||||||
# @api private
|
# @api private
|
||||||
#
|
#
|
||||||
# source://rubocop//lib/rubocop/target_ruby.rb#256
|
# source://rubocop//lib/rubocop/target_ruby.rb#258
|
||||||
def source; end
|
def source; end
|
||||||
|
|
||||||
# @api private
|
# @api private
|
||||||
# @return [Boolean]
|
# @return [Boolean]
|
||||||
#
|
#
|
||||||
# source://rubocop//lib/rubocop/target_ruby.rb#264
|
# source://rubocop//lib/rubocop/target_ruby.rb#266
|
||||||
def supported?; end
|
def supported?; end
|
||||||
|
|
||||||
# @api private
|
# @api private
|
||||||
#
|
#
|
||||||
# source://rubocop//lib/rubocop/target_ruby.rb#260
|
# source://rubocop//lib/rubocop/target_ruby.rb#262
|
||||||
def version; end
|
def version; end
|
||||||
|
|
||||||
class << self
|
class << self
|
||||||
# @api private
|
# @api private
|
||||||
#
|
#
|
||||||
# source://rubocop//lib/rubocop/target_ruby.rb#238
|
# source://rubocop//lib/rubocop/target_ruby.rb#240
|
||||||
def supported_versions; end
|
def supported_versions; end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
@ -57483,23 +57496,23 @@ end
|
|||||||
#
|
#
|
||||||
# @api private
|
# @api private
|
||||||
#
|
#
|
||||||
# source://rubocop//lib/rubocop/target_ruby.rb#185
|
# source://rubocop//lib/rubocop/target_ruby.rb#187
|
||||||
class RuboCop::TargetRuby::BundlerLockFile < ::RuboCop::TargetRuby::Source
|
class RuboCop::TargetRuby::BundlerLockFile < ::RuboCop::TargetRuby::Source
|
||||||
# @api private
|
# @api private
|
||||||
#
|
#
|
||||||
# source://rubocop//lib/rubocop/target_ruby.rb#186
|
# source://rubocop//lib/rubocop/target_ruby.rb#188
|
||||||
def name; end
|
def name; end
|
||||||
|
|
||||||
private
|
private
|
||||||
|
|
||||||
# @api private
|
# @api private
|
||||||
#
|
#
|
||||||
# source://rubocop//lib/rubocop/target_ruby.rb#219
|
# source://rubocop//lib/rubocop/target_ruby.rb#221
|
||||||
def bundler_lock_file_path; end
|
def bundler_lock_file_path; end
|
||||||
|
|
||||||
# @api private
|
# @api private
|
||||||
#
|
#
|
||||||
# source://rubocop//lib/rubocop/target_ruby.rb#192
|
# source://rubocop//lib/rubocop/target_ruby.rb#194
|
||||||
def find_version; end
|
def find_version; end
|
||||||
end
|
end
|
||||||
|
|
||||||
@ -57512,18 +57525,18 @@ RuboCop::TargetRuby::DEFAULT_VERSION = T.let(T.unsafe(nil), Float)
|
|||||||
#
|
#
|
||||||
# @api private
|
# @api private
|
||||||
#
|
#
|
||||||
# source://rubocop//lib/rubocop/target_ruby.rb#226
|
# source://rubocop//lib/rubocop/target_ruby.rb#228
|
||||||
class RuboCop::TargetRuby::Default < ::RuboCop::TargetRuby::Source
|
class RuboCop::TargetRuby::Default < ::RuboCop::TargetRuby::Source
|
||||||
# @api private
|
# @api private
|
||||||
#
|
#
|
||||||
# source://rubocop//lib/rubocop/target_ruby.rb#227
|
# source://rubocop//lib/rubocop/target_ruby.rb#229
|
||||||
def name; end
|
def name; end
|
||||||
|
|
||||||
private
|
private
|
||||||
|
|
||||||
# @api private
|
# @api private
|
||||||
#
|
#
|
||||||
# source://rubocop//lib/rubocop/target_ruby.rb#233
|
# source://rubocop//lib/rubocop/target_ruby.rb#235
|
||||||
def find_version; end
|
def find_version; end
|
||||||
end
|
end
|
||||||
|
|
||||||
@ -57550,7 +57563,7 @@ class RuboCop::TargetRuby::GemspecFile < ::RuboCop::TargetRuby::Source
|
|||||||
|
|
||||||
# @api private
|
# @api private
|
||||||
#
|
#
|
||||||
# source://rubocop//lib/rubocop/target_ruby.rb#119
|
# source://rubocop//lib/rubocop/target_ruby.rb#121
|
||||||
def find_default_minimal_known_ruby(right_hand_side); end
|
def find_default_minimal_known_ruby(right_hand_side); end
|
||||||
|
|
||||||
# @api private
|
# @api private
|
||||||
@ -57570,7 +57583,7 @@ class RuboCop::TargetRuby::GemspecFile < ::RuboCop::TargetRuby::Source
|
|||||||
|
|
||||||
# @api private
|
# @api private
|
||||||
#
|
#
|
||||||
# source://rubocop//lib/rubocop/target_ruby.rb#115
|
# source://rubocop//lib/rubocop/target_ruby.rb#117
|
||||||
def version_from_array(array); end
|
def version_from_array(array); end
|
||||||
|
|
||||||
# @api private
|
# @api private
|
||||||
@ -57580,7 +57593,7 @@ class RuboCop::TargetRuby::GemspecFile < ::RuboCop::TargetRuby::Source
|
|||||||
|
|
||||||
# @api private
|
# @api private
|
||||||
#
|
#
|
||||||
# source://rubocop//lib/rubocop/target_ruby.rb#103
|
# source://rubocop//lib/rubocop/target_ruby.rb#105
|
||||||
def version_from_right_hand_side(right_hand_side); end
|
def version_from_right_hand_side(right_hand_side); end
|
||||||
end
|
end
|
||||||
|
|
||||||
@ -57622,49 +57635,49 @@ end
|
|||||||
#
|
#
|
||||||
# @api private
|
# @api private
|
||||||
#
|
#
|
||||||
# source://rubocop//lib/rubocop/target_ruby.rb#131
|
# source://rubocop//lib/rubocop/target_ruby.rb#133
|
||||||
class RuboCop::TargetRuby::RubyVersionFile < ::RuboCop::TargetRuby::Source
|
class RuboCop::TargetRuby::RubyVersionFile < ::RuboCop::TargetRuby::Source
|
||||||
# @api private
|
# @api private
|
||||||
#
|
#
|
||||||
# source://rubocop//lib/rubocop/target_ruby.rb#135
|
# source://rubocop//lib/rubocop/target_ruby.rb#137
|
||||||
def name; end
|
def name; end
|
||||||
|
|
||||||
private
|
private
|
||||||
|
|
||||||
# @api private
|
# @api private
|
||||||
#
|
#
|
||||||
# source://rubocop//lib/rubocop/target_ruby.rb#141
|
# source://rubocop//lib/rubocop/target_ruby.rb#143
|
||||||
def filename; end
|
def filename; end
|
||||||
|
|
||||||
# @api private
|
# @api private
|
||||||
#
|
#
|
||||||
# source://rubocop//lib/rubocop/target_ruby.rb#149
|
# source://rubocop//lib/rubocop/target_ruby.rb#151
|
||||||
def find_version; end
|
def find_version; end
|
||||||
|
|
||||||
# @api private
|
# @api private
|
||||||
#
|
#
|
||||||
# source://rubocop//lib/rubocop/target_ruby.rb#145
|
# source://rubocop//lib/rubocop/target_ruby.rb#147
|
||||||
def pattern; end
|
def pattern; end
|
||||||
|
|
||||||
# @api private
|
# @api private
|
||||||
#
|
#
|
||||||
# source://rubocop//lib/rubocop/target_ruby.rb#156
|
# source://rubocop//lib/rubocop/target_ruby.rb#158
|
||||||
def version_file; end
|
def version_file; end
|
||||||
end
|
end
|
||||||
|
|
||||||
# @api private
|
# @api private
|
||||||
#
|
#
|
||||||
# source://rubocop//lib/rubocop/target_ruby.rb#132
|
# source://rubocop//lib/rubocop/target_ruby.rb#134
|
||||||
RuboCop::TargetRuby::RubyVersionFile::RUBY_VERSION_FILENAME = T.let(T.unsafe(nil), String)
|
RuboCop::TargetRuby::RubyVersionFile::RUBY_VERSION_FILENAME = T.let(T.unsafe(nil), String)
|
||||||
|
|
||||||
# @api private
|
# @api private
|
||||||
#
|
#
|
||||||
# source://rubocop//lib/rubocop/target_ruby.rb#133
|
# source://rubocop//lib/rubocop/target_ruby.rb#135
|
||||||
RuboCop::TargetRuby::RubyVersionFile::RUBY_VERSION_PATTERN = T.let(T.unsafe(nil), Regexp)
|
RuboCop::TargetRuby::RubyVersionFile::RUBY_VERSION_PATTERN = T.let(T.unsafe(nil), Regexp)
|
||||||
|
|
||||||
# @api private
|
# @api private
|
||||||
#
|
#
|
||||||
# source://rubocop//lib/rubocop/target_ruby.rb#242
|
# source://rubocop//lib/rubocop/target_ruby.rb#244
|
||||||
RuboCop::TargetRuby::SOURCES = T.let(T.unsafe(nil), Array)
|
RuboCop::TargetRuby::SOURCES = T.let(T.unsafe(nil), Array)
|
||||||
|
|
||||||
# A place where information about a target ruby version is found.
|
# A place where information about a target ruby version is found.
|
||||||
@ -57700,34 +57713,34 @@ end
|
|||||||
#
|
#
|
||||||
# @api private
|
# @api private
|
||||||
#
|
#
|
||||||
# source://rubocop//lib/rubocop/target_ruby.rb#164
|
# source://rubocop//lib/rubocop/target_ruby.rb#166
|
||||||
class RuboCop::TargetRuby::ToolVersionsFile < ::RuboCop::TargetRuby::RubyVersionFile
|
class RuboCop::TargetRuby::ToolVersionsFile < ::RuboCop::TargetRuby::RubyVersionFile
|
||||||
# @api private
|
# @api private
|
||||||
#
|
#
|
||||||
# source://rubocop//lib/rubocop/target_ruby.rb#168
|
# source://rubocop//lib/rubocop/target_ruby.rb#170
|
||||||
def name; end
|
def name; end
|
||||||
|
|
||||||
private
|
private
|
||||||
|
|
||||||
# @api private
|
# @api private
|
||||||
#
|
#
|
||||||
# source://rubocop//lib/rubocop/target_ruby.rb#174
|
# source://rubocop//lib/rubocop/target_ruby.rb#176
|
||||||
def filename; end
|
def filename; end
|
||||||
|
|
||||||
# @api private
|
# @api private
|
||||||
#
|
#
|
||||||
# source://rubocop//lib/rubocop/target_ruby.rb#178
|
# source://rubocop//lib/rubocop/target_ruby.rb#180
|
||||||
def pattern; end
|
def pattern; end
|
||||||
end
|
end
|
||||||
|
|
||||||
# @api private
|
# @api private
|
||||||
#
|
#
|
||||||
# source://rubocop//lib/rubocop/target_ruby.rb#165
|
# source://rubocop//lib/rubocop/target_ruby.rb#167
|
||||||
RuboCop::TargetRuby::ToolVersionsFile::TOOL_VERSIONS_FILENAME = T.let(T.unsafe(nil), String)
|
RuboCop::TargetRuby::ToolVersionsFile::TOOL_VERSIONS_FILENAME = T.let(T.unsafe(nil), String)
|
||||||
|
|
||||||
# @api private
|
# @api private
|
||||||
#
|
#
|
||||||
# source://rubocop//lib/rubocop/target_ruby.rb#166
|
# source://rubocop//lib/rubocop/target_ruby.rb#168
|
||||||
RuboCop::TargetRuby::ToolVersionsFile::TOOL_VERSIONS_PATTERN = T.let(T.unsafe(nil), Regexp)
|
RuboCop::TargetRuby::ToolVersionsFile::TOOL_VERSIONS_PATTERN = T.let(T.unsafe(nil), Regexp)
|
||||||
|
|
||||||
# source://rubocop//lib/rubocop/ast_aliases.rb#7
|
# source://rubocop//lib/rubocop/ast_aliases.rb#7
|
||||||
@ -57753,12 +57766,12 @@ module RuboCop::Version
|
|||||||
class << self
|
class << self
|
||||||
# @api private
|
# @api private
|
||||||
#
|
#
|
||||||
# source://rubocop//lib/rubocop/version.rb#93
|
# source://rubocop//lib/rubocop/version.rb#108
|
||||||
def document_version; end
|
def document_version; end
|
||||||
|
|
||||||
# @api private
|
# @api private
|
||||||
#
|
#
|
||||||
# source://rubocop//lib/rubocop/version.rb#43
|
# source://rubocop//lib/rubocop/version.rb#58
|
||||||
def extension_versions(env); end
|
def extension_versions(env); end
|
||||||
|
|
||||||
# Returns feature version in one of two ways:
|
# Returns feature version in one of two ways:
|
||||||
@ -57768,12 +57781,17 @@ module RuboCop::Version
|
|||||||
#
|
#
|
||||||
# @api private
|
# @api private
|
||||||
#
|
#
|
||||||
# source://rubocop//lib/rubocop/version.rb#77
|
# source://rubocop//lib/rubocop/version.rb#92
|
||||||
def feature_version(feature); end
|
def feature_version(feature); end
|
||||||
|
|
||||||
# @api private
|
# @api private
|
||||||
#
|
#
|
||||||
# source://rubocop//lib/rubocop/version.rb#98
|
# source://rubocop//lib/rubocop/version.rb#43
|
||||||
|
def parser_version; end
|
||||||
|
|
||||||
|
# @api private
|
||||||
|
#
|
||||||
|
# source://rubocop//lib/rubocop/version.rb#113
|
||||||
def server_mode; end
|
def server_mode; end
|
||||||
|
|
||||||
# @api private
|
# @api private
|
||||||
Loading…
x
Reference in New Issue
Block a user