Merge pull request #16356 from Homebrew/dependabot/bundler/Library/Homebrew/rubocop-rails-2.23.0
build(deps-dev): bump rubocop-rails from 2.22.2 to 2.23.0 in /Library/Homebrew
This commit is contained in:
commit
bd3461345e
@ -39,7 +39,7 @@ GEM
|
|||||||
msgpack (1.7.2)
|
msgpack (1.7.2)
|
||||||
mustache (1.1.1)
|
mustache (1.1.1)
|
||||||
netrc (0.11.0)
|
netrc (0.11.0)
|
||||||
parallel (1.23.0)
|
parallel (1.24.0)
|
||||||
parallel_tests (4.3.0)
|
parallel_tests (4.3.0)
|
||||||
parallel
|
parallel
|
||||||
parlour (8.1.0)
|
parlour (8.1.0)
|
||||||
@ -116,7 +116,7 @@ GEM
|
|||||||
rubocop-performance (1.19.1)
|
rubocop-performance (1.19.1)
|
||||||
rubocop (>= 1.7.0, < 2.0)
|
rubocop (>= 1.7.0, < 2.0)
|
||||||
rubocop-ast (>= 0.4.0)
|
rubocop-ast (>= 0.4.0)
|
||||||
rubocop-rails (2.22.2)
|
rubocop-rails (2.23.0)
|
||||||
activesupport (>= 4.2.0)
|
activesupport (>= 4.2.0)
|
||||||
rack (>= 1.1)
|
rack (>= 1.1)
|
||||||
rubocop (>= 1.33.0, < 2.0)
|
rubocop (>= 1.33.0, < 2.0)
|
||||||
|
|||||||
@ -78,7 +78,14 @@ module Parallel
|
|||||||
# source://parallel//lib/parallel.rb#642
|
# source://parallel//lib/parallel.rb#642
|
||||||
def instrument_finish(item, index, result, options); end
|
def instrument_finish(item, index, result, options); end
|
||||||
|
|
||||||
# source://parallel//lib/parallel.rb#647
|
# yield results in the order of the input items
|
||||||
|
# needs to use `options` to store state between executions
|
||||||
|
# needs to use `done` index since a nil result would also be valid
|
||||||
|
#
|
||||||
|
# source://parallel//lib/parallel.rb#651
|
||||||
|
def instrument_finish_in_order(item, index, result, options); end
|
||||||
|
|
||||||
|
# source://parallel//lib/parallel.rb#671
|
||||||
def instrument_start(item, index, options); end
|
def instrument_start(item, index, options); end
|
||||||
|
|
||||||
# source://parallel//lib/parallel.rb#590
|
# source://parallel//lib/parallel.rb#590
|
||||||
@ -771,6 +771,9 @@ class RuboCop::Cop::Rails::ActiveSupportAliases < ::RuboCop::Cop::Base
|
|||||||
# source://rubocop-rails//lib/rubocop/cop/rails/active_support_aliases.rb#40
|
# source://rubocop-rails//lib/rubocop/cop/rails/active_support_aliases.rb#40
|
||||||
def ends_with?(param0 = T.unsafe(nil)); end
|
def ends_with?(param0 = T.unsafe(nil)); end
|
||||||
|
|
||||||
|
# source://rubocop-rails//lib/rubocop/cop/rails/active_support_aliases.rb#43
|
||||||
|
def on_csend(node); end
|
||||||
|
|
||||||
# source://rubocop-rails//lib/rubocop/cop/rails/active_support_aliases.rb#43
|
# source://rubocop-rails//lib/rubocop/cop/rails/active_support_aliases.rb#43
|
||||||
def on_send(node); end
|
def on_send(node); end
|
||||||
|
|
||||||
@ -1392,7 +1395,7 @@ RuboCop::Cop::Rails::Blank::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array)
|
|||||||
# automatically detect an adapter from `development` environment
|
# automatically detect an adapter from `development` environment
|
||||||
# in `config/database.yml` or the environment variable `DATABASE_URL`
|
# in `config/database.yml` or the environment variable `DATABASE_URL`
|
||||||
# when the `Database` option is not set.
|
# when the `Database` option is not set.
|
||||||
# If the adapter is not `mysql2`, `trilogy`, or `postgresql`,
|
# If the adapter is not `mysql2`, `trilogy`, `postgresql`, or `postgis`,
|
||||||
# this Cop ignores offenses.
|
# this Cop ignores offenses.
|
||||||
#
|
#
|
||||||
# @example
|
# @example
|
||||||
@ -3121,6 +3124,9 @@ class RuboCop::Cop::Rails::FindById < ::RuboCop::Cop::Base
|
|||||||
# source://rubocop-rails//lib/rubocop/cop/rails/find_by_id.rb#33
|
# source://rubocop-rails//lib/rubocop/cop/rails/find_by_id.rb#33
|
||||||
def find_by?(param0 = T.unsafe(nil)); end
|
def find_by?(param0 = T.unsafe(nil)); end
|
||||||
|
|
||||||
|
# source://rubocop-rails//lib/rubocop/cop/rails/find_by_id.rb#40
|
||||||
|
def on_csend(node); end
|
||||||
|
|
||||||
# source://rubocop-rails//lib/rubocop/cop/rails/find_by_id.rb#40
|
# source://rubocop-rails//lib/rubocop/cop/rails/find_by_id.rb#40
|
||||||
def on_send(node); end
|
def on_send(node); end
|
||||||
|
|
||||||
@ -3129,22 +3135,16 @@ class RuboCop::Cop::Rails::FindById < ::RuboCop::Cop::Base
|
|||||||
|
|
||||||
private
|
private
|
||||||
|
|
||||||
# source://rubocop-rails//lib/rubocop/cop/rails/find_by_id.rb#83
|
# source://rubocop-rails//lib/rubocop/cop/rails/find_by_id.rb#74
|
||||||
def build_find_by_bad_method(node, id_value); end
|
|
||||||
|
|
||||||
# source://rubocop-rails//lib/rubocop/cop/rails/find_by_id.rb#75
|
|
||||||
def build_good_method(id_value); end
|
def build_good_method(id_value); end
|
||||||
|
|
||||||
# source://rubocop-rails//lib/rubocop/cop/rails/find_by_id.rb#79
|
# source://rubocop-rails//lib/rubocop/cop/rails/find_by_id.rb#70
|
||||||
def build_where_take_bad_method(id_value); end
|
|
||||||
|
|
||||||
# source://rubocop-rails//lib/rubocop/cop/rails/find_by_id.rb#71
|
|
||||||
def find_by_offense_range(node); end
|
def find_by_offense_range(node); end
|
||||||
|
|
||||||
# source://rubocop-rails//lib/rubocop/cop/rails/find_by_id.rb#58
|
# source://rubocop-rails//lib/rubocop/cop/rails/find_by_id.rb#57
|
||||||
def register_offense(range, id_value, bad_method); end
|
def register_offense(range, id_value); end
|
||||||
|
|
||||||
# source://rubocop-rails//lib/rubocop/cop/rails/find_by_id.rb#67
|
# source://rubocop-rails//lib/rubocop/cop/rails/find_by_id.rb#66
|
||||||
def where_take_offense_range(node, where); end
|
def where_take_offense_range(node, where); end
|
||||||
end
|
end
|
||||||
|
|
||||||
@ -4077,6 +4077,9 @@ end
|
|||||||
#
|
#
|
||||||
# source://rubocop-rails//lib/rubocop/cop/rails/inquiry.rb#25
|
# source://rubocop-rails//lib/rubocop/cop/rails/inquiry.rb#25
|
||||||
class RuboCop::Cop::Rails::Inquiry < ::RuboCop::Cop::Base
|
class RuboCop::Cop::Rails::Inquiry < ::RuboCop::Cop::Base
|
||||||
|
# source://rubocop-rails//lib/rubocop/cop/rails/inquiry.rb#29
|
||||||
|
def on_csend(node); end
|
||||||
|
|
||||||
# source://rubocop-rails//lib/rubocop/cop/rails/inquiry.rb#29
|
# source://rubocop-rails//lib/rubocop/cop/rails/inquiry.rb#29
|
||||||
def on_send(node); end
|
def on_send(node); end
|
||||||
end
|
end
|
||||||
@ -4915,6 +4918,9 @@ class RuboCop::Cop::Rails::Pick < ::RuboCop::Cop::Base
|
|||||||
extend ::RuboCop::Cop::AutoCorrector
|
extend ::RuboCop::Cop::AutoCorrector
|
||||||
extend ::RuboCop::Cop::TargetRailsVersion
|
extend ::RuboCop::Cop::TargetRailsVersion
|
||||||
|
|
||||||
|
# source://rubocop-rails//lib/rubocop/cop/rails/pick.rb#40
|
||||||
|
def on_csend(node); end
|
||||||
|
|
||||||
# source://rubocop-rails//lib/rubocop/cop/rails/pick.rb#40
|
# source://rubocop-rails//lib/rubocop/cop/rails/pick.rb#40
|
||||||
def on_send(node); end
|
def on_send(node); end
|
||||||
|
|
||||||
@ -4923,8 +4929,8 @@ class RuboCop::Cop::Rails::Pick < ::RuboCop::Cop::Base
|
|||||||
|
|
||||||
private
|
private
|
||||||
|
|
||||||
# source://rubocop-rails//lib/rubocop/cop/rails/pick.rb#58
|
# source://rubocop-rails//lib/rubocop/cop/rails/pick.rb#59
|
||||||
def message(receiver); end
|
def message(receiver, current); end
|
||||||
end
|
end
|
||||||
|
|
||||||
# source://rubocop-rails//lib/rubocop/cop/rails/pick.rb#31
|
# source://rubocop-rails//lib/rubocop/cop/rails/pick.rb#31
|
||||||
@ -5012,6 +5018,9 @@ class RuboCop::Cop::Rails::PluckId < ::RuboCop::Cop::Base
|
|||||||
include ::RuboCop::Cop::ActiveRecordHelper
|
include ::RuboCop::Cop::ActiveRecordHelper
|
||||||
extend ::RuboCop::Cop::AutoCorrector
|
extend ::RuboCop::Cop::AutoCorrector
|
||||||
|
|
||||||
|
# source://rubocop-rails//lib/rubocop/cop/rails/pluck_id.rb#40
|
||||||
|
def on_csend(node); end
|
||||||
|
|
||||||
# source://rubocop-rails//lib/rubocop/cop/rails/pluck_id.rb#40
|
# source://rubocop-rails//lib/rubocop/cop/rails/pluck_id.rb#40
|
||||||
def on_send(node); end
|
def on_send(node); end
|
||||||
|
|
||||||
@ -5020,7 +5029,7 @@ class RuboCop::Cop::Rails::PluckId < ::RuboCop::Cop::Base
|
|||||||
|
|
||||||
private
|
private
|
||||||
|
|
||||||
# source://rubocop-rails//lib/rubocop/cop/rails/pluck_id.rb#53
|
# source://rubocop-rails//lib/rubocop/cop/rails/pluck_id.rb#54
|
||||||
def offense_range(node); end
|
def offense_range(node); end
|
||||||
end
|
end
|
||||||
|
|
||||||
@ -5043,10 +5052,13 @@ RuboCop::Cop::Rails::PluckId::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array)
|
|||||||
# @example
|
# @example
|
||||||
# # bad
|
# # bad
|
||||||
# Post.where(user_id: User.active.pluck(:id))
|
# Post.where(user_id: User.active.pluck(:id))
|
||||||
|
# Post.where(user_id: User.active.ids)
|
||||||
|
# Post.where.not(user_id: User.active.pluck(:id))
|
||||||
#
|
#
|
||||||
# # good
|
# # good
|
||||||
# Post.where(user_id: User.active.select(:id))
|
# Post.where(user_id: User.active.select(:id))
|
||||||
# Post.where(user_id: active_users.select(:id))
|
# Post.where(user_id: active_users.select(:id))
|
||||||
|
# Post.where.not(user_id: active_users.select(:id))
|
||||||
# @example EnforcedStyle: conservative (default)
|
# @example EnforcedStyle: conservative (default)
|
||||||
# # good
|
# # good
|
||||||
# Post.where(user_id: active_users.pluck(:id))
|
# Post.where(user_id: active_users.pluck(:id))
|
||||||
@ -5054,25 +5066,31 @@ RuboCop::Cop::Rails::PluckId::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array)
|
|||||||
# # bad
|
# # bad
|
||||||
# Post.where(user_id: active_users.pluck(:id))
|
# Post.where(user_id: active_users.pluck(:id))
|
||||||
#
|
#
|
||||||
# source://rubocop-rails//lib/rubocop/cop/rails/pluck_in_where.rb#38
|
# source://rubocop-rails//lib/rubocop/cop/rails/pluck_in_where.rb#41
|
||||||
class RuboCop::Cop::Rails::PluckInWhere < ::RuboCop::Cop::Base
|
class RuboCop::Cop::Rails::PluckInWhere < ::RuboCop::Cop::Base
|
||||||
include ::RuboCop::Cop::ActiveRecordHelper
|
include ::RuboCop::Cop::ActiveRecordHelper
|
||||||
include ::RuboCop::Cop::ConfigurableEnforcedStyle
|
include ::RuboCop::Cop::ConfigurableEnforcedStyle
|
||||||
extend ::RuboCop::Cop::AutoCorrector
|
extend ::RuboCop::Cop::AutoCorrector
|
||||||
|
|
||||||
# source://rubocop-rails//lib/rubocop/cop/rails/pluck_in_where.rb#46
|
# source://rubocop-rails//lib/rubocop/cop/rails/pluck_in_where.rb#50
|
||||||
|
def on_csend(node); end
|
||||||
|
|
||||||
|
# source://rubocop-rails//lib/rubocop/cop/rails/pluck_in_where.rb#50
|
||||||
def on_send(node); end
|
def on_send(node); end
|
||||||
|
|
||||||
private
|
private
|
||||||
|
|
||||||
# source://rubocop-rails//lib/rubocop/cop/rails/pluck_in_where.rb#59
|
# source://rubocop-rails//lib/rubocop/cop/rails/pluck_in_where.rb#72
|
||||||
def root_receiver(node); end
|
def root_receiver(node); end
|
||||||
end
|
end
|
||||||
|
|
||||||
# source://rubocop-rails//lib/rubocop/cop/rails/pluck_in_where.rb#43
|
# source://rubocop-rails//lib/rubocop/cop/rails/pluck_in_where.rb#47
|
||||||
RuboCop::Cop::Rails::PluckInWhere::MSG = T.let(T.unsafe(nil), String)
|
RuboCop::Cop::Rails::PluckInWhere::MSG_IDS = T.let(T.unsafe(nil), String)
|
||||||
|
|
||||||
# source://rubocop-rails//lib/rubocop/cop/rails/pluck_in_where.rb#44
|
# source://rubocop-rails//lib/rubocop/cop/rails/pluck_in_where.rb#46
|
||||||
|
RuboCop::Cop::Rails::PluckInWhere::MSG_SELECT = T.let(T.unsafe(nil), String)
|
||||||
|
|
||||||
|
# source://rubocop-rails//lib/rubocop/cop/rails/pluck_in_where.rb#48
|
||||||
RuboCop::Cop::Rails::PluckInWhere::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array)
|
RuboCop::Cop::Rails::PluckInWhere::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array)
|
||||||
|
|
||||||
# Checks for correct grammar when using ActiveSupport's
|
# Checks for correct grammar when using ActiveSupport's
|
||||||
@ -5466,8 +5484,7 @@ RuboCop::Cop::Rails::ReadWriteAttribute::RESTRICT_ON_SEND = T.let(T.unsafe(nil),
|
|||||||
|
|
||||||
# Detect redundant `all` used as a receiver for Active Record query methods.
|
# Detect redundant `all` used as a receiver for Active Record query methods.
|
||||||
#
|
#
|
||||||
# NOTE: For the methods `delete_all` and `destroy_all`,
|
# For the methods `delete_all` and `destroy_all`, this cop will only check cases where the receiver is a model.
|
||||||
# this cop will only check cases where the receiver is a model.
|
|
||||||
# It will ignore cases where the receiver is an association (e.g., `user.articles.all.delete_all`).
|
# It will ignore cases where the receiver is an association (e.g., `user.articles.all.delete_all`).
|
||||||
# This is because omitting `all` from an association changes the methods
|
# This is because omitting `all` from an association changes the methods
|
||||||
# from `ActiveRecord::Relation` to `ActiveRecord::Associations::CollectionProxy`,
|
# from `ActiveRecord::Relation` to `ActiveRecord::Associations::CollectionProxy`,
|
||||||
@ -5490,50 +5507,50 @@ RuboCop::Cop::Rails::ReadWriteAttribute::RESTRICT_ON_SEND = T.let(T.unsafe(nil),
|
|||||||
# ActionMailer::Preview.all.first
|
# ActionMailer::Preview.all.first
|
||||||
# ActiveSupport::TimeZone.all.first
|
# ActiveSupport::TimeZone.all.first
|
||||||
#
|
#
|
||||||
# source://rubocop-rails//lib/rubocop/cop/rails/redundant_active_record_all_method.rb#64
|
# source://rubocop-rails//lib/rubocop/cop/rails/redundant_active_record_all_method.rb#63
|
||||||
class RuboCop::Cop::Rails::RedundantActiveRecordAllMethod < ::RuboCop::Cop::Base
|
class RuboCop::Cop::Rails::RedundantActiveRecordAllMethod < ::RuboCop::Cop::Base
|
||||||
include ::RuboCop::Cop::ActiveRecordHelper
|
include ::RuboCop::Cop::ActiveRecordHelper
|
||||||
include ::RuboCop::Cop::Rails::AllowedReceivers
|
include ::RuboCop::Cop::Rails::AllowedReceivers
|
||||||
include ::RuboCop::Cop::RangeHelp
|
include ::RuboCop::Cop::RangeHelp
|
||||||
extend ::RuboCop::Cop::AutoCorrector
|
extend ::RuboCop::Cop::AutoCorrector
|
||||||
|
|
||||||
# source://rubocop-rails//lib/rubocop/cop/rails/redundant_active_record_all_method.rb#185
|
# source://rubocop-rails//lib/rubocop/cop/rails/redundant_active_record_all_method.rb#184
|
||||||
def followed_by_query_method?(param0 = T.unsafe(nil)); end
|
def followed_by_query_method?(param0 = T.unsafe(nil)); end
|
||||||
|
|
||||||
# source://rubocop-rails//lib/rubocop/cop/rails/redundant_active_record_all_method.rb#189
|
# source://rubocop-rails//lib/rubocop/cop/rails/redundant_active_record_all_method.rb#188
|
||||||
def on_send(node); end
|
def on_send(node); end
|
||||||
|
|
||||||
private
|
private
|
||||||
|
|
||||||
# source://rubocop-rails//lib/rubocop/cop/rails/redundant_active_record_all_method.rb#214
|
# source://rubocop-rails//lib/rubocop/cop/rails/redundant_active_record_all_method.rb#213
|
||||||
def offense_range(node); end
|
def offense_range(node); end
|
||||||
|
|
||||||
# @return [Boolean]
|
# @return [Boolean]
|
||||||
#
|
#
|
||||||
# source://rubocop-rails//lib/rubocop/cop/rails/redundant_active_record_all_method.rb#203
|
# source://rubocop-rails//lib/rubocop/cop/rails/redundant_active_record_all_method.rb#202
|
||||||
def possible_enumerable_block_method?(node); end
|
def possible_enumerable_block_method?(node); end
|
||||||
|
|
||||||
# @return [Boolean]
|
# @return [Boolean]
|
||||||
#
|
#
|
||||||
# source://rubocop-rails//lib/rubocop/cop/rails/redundant_active_record_all_method.rb#210
|
# source://rubocop-rails//lib/rubocop/cop/rails/redundant_active_record_all_method.rb#209
|
||||||
def sensitive_association_method?(node); end
|
def sensitive_association_method?(node); end
|
||||||
end
|
end
|
||||||
|
|
||||||
# source://rubocop-rails//lib/rubocop/cop/rails/redundant_active_record_all_method.rb#70
|
# source://rubocop-rails//lib/rubocop/cop/rails/redundant_active_record_all_method.rb#69
|
||||||
RuboCop::Cop::Rails::RedundantActiveRecordAllMethod::MSG = T.let(T.unsafe(nil), String)
|
RuboCop::Cop::Rails::RedundantActiveRecordAllMethod::MSG = T.let(T.unsafe(nil), String)
|
||||||
|
|
||||||
# source://rubocop-rails//lib/rubocop/cop/rails/redundant_active_record_all_method.rb#182
|
# source://rubocop-rails//lib/rubocop/cop/rails/redundant_active_record_all_method.rb#181
|
||||||
RuboCop::Cop::Rails::RedundantActiveRecordAllMethod::POSSIBLE_ENUMERABLE_BLOCK_METHODS = T.let(T.unsafe(nil), Array)
|
RuboCop::Cop::Rails::RedundantActiveRecordAllMethod::POSSIBLE_ENUMERABLE_BLOCK_METHODS = T.let(T.unsafe(nil), Array)
|
||||||
|
|
||||||
# Defined methods in `ActiveRecord::Querying::QUERYING_METHODS` on activerecord 7.1.0.
|
# Defined methods in `ActiveRecord::Querying::QUERYING_METHODS` on activerecord 7.1.0.
|
||||||
#
|
#
|
||||||
# source://rubocop-rails//lib/rubocop/cop/rails/redundant_active_record_all_method.rb#75
|
# source://rubocop-rails//lib/rubocop/cop/rails/redundant_active_record_all_method.rb#74
|
||||||
RuboCop::Cop::Rails::RedundantActiveRecordAllMethod::QUERYING_METHODS = T.let(T.unsafe(nil), Set)
|
RuboCop::Cop::Rails::RedundantActiveRecordAllMethod::QUERYING_METHODS = T.let(T.unsafe(nil), Set)
|
||||||
|
|
||||||
# source://rubocop-rails//lib/rubocop/cop/rails/redundant_active_record_all_method.rb#72
|
# source://rubocop-rails//lib/rubocop/cop/rails/redundant_active_record_all_method.rb#71
|
||||||
RuboCop::Cop::Rails::RedundantActiveRecordAllMethod::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array)
|
RuboCop::Cop::Rails::RedundantActiveRecordAllMethod::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array)
|
||||||
|
|
||||||
# source://rubocop-rails//lib/rubocop/cop/rails/redundant_active_record_all_method.rb#183
|
# source://rubocop-rails//lib/rubocop/cop/rails/redundant_active_record_all_method.rb#182
|
||||||
RuboCop::Cop::Rails::RedundantActiveRecordAllMethod::SENSITIVE_METHODS_ON_ASSOCIATION = T.let(T.unsafe(nil), Array)
|
RuboCop::Cop::Rails::RedundantActiveRecordAllMethod::SENSITIVE_METHODS_ON_ASSOCIATION = T.let(T.unsafe(nil), Array)
|
||||||
|
|
||||||
# Checks Rails model validations for a redundant `allow_nil` when
|
# Checks Rails model validations for a redundant `allow_nil` when
|
||||||
@ -6269,36 +6286,48 @@ RuboCop::Cop::Rails::RequireDependency::MSG = T.let(T.unsafe(nil), String)
|
|||||||
# source://rubocop-rails//lib/rubocop/cop/rails/require_dependency.rb#26
|
# source://rubocop-rails//lib/rubocop/cop/rails/require_dependency.rb#26
|
||||||
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)
|
||||||
|
|
||||||
# Prefer `response.parsed_body` to `JSON.parse(response.body)`.
|
# Prefer `response.parsed_body` to custom parsing logic for `response.body`.
|
||||||
#
|
#
|
||||||
# @example
|
# @example
|
||||||
# # bad
|
# # bad
|
||||||
# JSON.parse(response.body)
|
# JSON.parse(response.body)
|
||||||
#
|
#
|
||||||
|
# # bad
|
||||||
|
# Nokogiri::HTML.parse(response.body)
|
||||||
|
#
|
||||||
|
# # bad
|
||||||
|
# Nokogiri::HTML5.parse(response.body)
|
||||||
|
#
|
||||||
# # good
|
# # good
|
||||||
# response.parsed_body
|
# response.parsed_body
|
||||||
#
|
#
|
||||||
# source://rubocop-rails//lib/rubocop/cop/rails/response_parsed_body.rb#19
|
# source://rubocop-rails//lib/rubocop/cop/rails/response_parsed_body.rb#26
|
||||||
class RuboCop::Cop::Rails::ResponseParsedBody < ::RuboCop::Cop::Base
|
class RuboCop::Cop::Rails::ResponseParsedBody < ::RuboCop::Cop::Base
|
||||||
extend ::RuboCop::Cop::AutoCorrector
|
extend ::RuboCop::Cop::AutoCorrector
|
||||||
extend ::RuboCop::Cop::TargetRailsVersion
|
extend ::RuboCop::Cop::TargetRailsVersion
|
||||||
|
|
||||||
# source://rubocop-rails//lib/rubocop/cop/rails/response_parsed_body.rb#30
|
# source://rubocop-rails//lib/rubocop/cop/rails/response_parsed_body.rb#35
|
||||||
def json_parse_response_body?(param0 = T.unsafe(nil)); end
|
def json_parse_response_body?(param0 = T.unsafe(nil)); end
|
||||||
|
|
||||||
# source://rubocop-rails//lib/rubocop/cop/rails/response_parsed_body.rb#41
|
# source://rubocop-rails//lib/rubocop/cop/rails/response_parsed_body.rb#47
|
||||||
|
def nokogiri_html_parse_response_body(param0 = T.unsafe(nil)); end
|
||||||
|
|
||||||
|
# source://rubocop-rails//lib/rubocop/cop/rails/response_parsed_body.rb#61
|
||||||
def on_send(node); end
|
def on_send(node); end
|
||||||
|
|
||||||
private
|
private
|
||||||
|
|
||||||
# source://rubocop-rails//lib/rubocop/cop/rails/response_parsed_body.rb#51
|
# source://rubocop-rails//lib/rubocop/cop/rails/response_parsed_body.rb#71
|
||||||
def autocorrect(corrector, node); end
|
def autocorrect(corrector, node); end
|
||||||
|
|
||||||
|
# source://rubocop-rails//lib/rubocop/cop/rails/response_parsed_body.rb#75
|
||||||
|
def check_json_parse_response_body(node); end
|
||||||
|
|
||||||
|
# source://rubocop-rails//lib/rubocop/cop/rails/response_parsed_body.rb#86
|
||||||
|
def check_nokogiri_html_parse_response_body(node); end
|
||||||
end
|
end
|
||||||
|
|
||||||
# source://rubocop-rails//lib/rubocop/cop/rails/response_parsed_body.rb#23
|
# source://rubocop-rails//lib/rubocop/cop/rails/response_parsed_body.rb#30
|
||||||
RuboCop::Cop::Rails::ResponseParsedBody::MSG = T.let(T.unsafe(nil), String)
|
|
||||||
|
|
||||||
# source://rubocop-rails//lib/rubocop/cop/rails/response_parsed_body.rb#25
|
|
||||||
RuboCop::Cop::Rails::ResponseParsedBody::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array)
|
RuboCop::Cop::Rails::ResponseParsedBody::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array)
|
||||||
|
|
||||||
# Checks whether the change method of the migration file is
|
# Checks whether the change method of the migration file is
|
||||||
@ -8390,6 +8419,9 @@ class RuboCop::Cop::Rails::WhereEquals < ::RuboCop::Cop::Base
|
|||||||
include ::RuboCop::Cop::RangeHelp
|
include ::RuboCop::Cop::RangeHelp
|
||||||
extend ::RuboCop::Cop::AutoCorrector
|
extend ::RuboCop::Cop::AutoCorrector
|
||||||
|
|
||||||
|
# source://rubocop-rails//lib/rubocop/cop/rails/where_equals.rb#41
|
||||||
|
def on_csend(node); end
|
||||||
|
|
||||||
# source://rubocop-rails//lib/rubocop/cop/rails/where_equals.rb#41
|
# source://rubocop-rails//lib/rubocop/cop/rails/where_equals.rb#41
|
||||||
def on_send(node); end
|
def on_send(node); end
|
||||||
|
|
||||||
@ -8398,39 +8430,39 @@ class RuboCop::Cop::Rails::WhereEquals < ::RuboCop::Cop::Base
|
|||||||
|
|
||||||
private
|
private
|
||||||
|
|
||||||
# source://rubocop-rails//lib/rubocop/cop/rails/where_equals.rb#90
|
# source://rubocop-rails//lib/rubocop/cop/rails/where_equals.rb#91
|
||||||
def build_good_method(column, value); end
|
def build_good_method(column, value); end
|
||||||
|
|
||||||
# source://rubocop-rails//lib/rubocop/cop/rails/where_equals.rb#71
|
# source://rubocop-rails//lib/rubocop/cop/rails/where_equals.rb#72
|
||||||
def extract_column_and_value(template_node, value_node); end
|
def extract_column_and_value(template_node, value_node); end
|
||||||
|
|
||||||
# source://rubocop-rails//lib/rubocop/cop/rails/where_equals.rb#67
|
# source://rubocop-rails//lib/rubocop/cop/rails/where_equals.rb#68
|
||||||
def offense_range(node); end
|
def offense_range(node); end
|
||||||
end
|
end
|
||||||
|
|
||||||
# column = ?
|
# column = ?
|
||||||
#
|
#
|
||||||
# source://rubocop-rails//lib/rubocop/cop/rails/where_equals.rb#59
|
# source://rubocop-rails//lib/rubocop/cop/rails/where_equals.rb#60
|
||||||
RuboCop::Cop::Rails::WhereEquals::EQ_ANONYMOUS_RE = T.let(T.unsafe(nil), Regexp)
|
RuboCop::Cop::Rails::WhereEquals::EQ_ANONYMOUS_RE = T.let(T.unsafe(nil), Regexp)
|
||||||
|
|
||||||
# column = :column
|
# column = :column
|
||||||
#
|
#
|
||||||
# source://rubocop-rails//lib/rubocop/cop/rails/where_equals.rb#61
|
# source://rubocop-rails//lib/rubocop/cop/rails/where_equals.rb#62
|
||||||
RuboCop::Cop::Rails::WhereEquals::EQ_NAMED_RE = T.let(T.unsafe(nil), Regexp)
|
RuboCop::Cop::Rails::WhereEquals::EQ_NAMED_RE = T.let(T.unsafe(nil), Regexp)
|
||||||
|
|
||||||
# column IN (?)
|
# column IN (?)
|
||||||
#
|
#
|
||||||
# source://rubocop-rails//lib/rubocop/cop/rails/where_equals.rb#60
|
# source://rubocop-rails//lib/rubocop/cop/rails/where_equals.rb#61
|
||||||
RuboCop::Cop::Rails::WhereEquals::IN_ANONYMOUS_RE = T.let(T.unsafe(nil), Regexp)
|
RuboCop::Cop::Rails::WhereEquals::IN_ANONYMOUS_RE = T.let(T.unsafe(nil), Regexp)
|
||||||
|
|
||||||
# column IN (:column)
|
# column IN (:column)
|
||||||
#
|
#
|
||||||
# source://rubocop-rails//lib/rubocop/cop/rails/where_equals.rb#62
|
# source://rubocop-rails//lib/rubocop/cop/rails/where_equals.rb#63
|
||||||
RuboCop::Cop::Rails::WhereEquals::IN_NAMED_RE = T.let(T.unsafe(nil), Regexp)
|
RuboCop::Cop::Rails::WhereEquals::IN_NAMED_RE = T.let(T.unsafe(nil), Regexp)
|
||||||
|
|
||||||
# column IS NULL
|
# column IS NULL
|
||||||
#
|
#
|
||||||
# source://rubocop-rails//lib/rubocop/cop/rails/where_equals.rb#63
|
# source://rubocop-rails//lib/rubocop/cop/rails/where_equals.rb#64
|
||||||
RuboCop::Cop::Rails::WhereEquals::IS_NULL_RE = T.let(T.unsafe(nil), Regexp)
|
RuboCop::Cop::Rails::WhereEquals::IS_NULL_RE = T.let(T.unsafe(nil), Regexp)
|
||||||
|
|
||||||
# source://rubocop-rails//lib/rubocop/cop/rails/where_equals.rb#31
|
# source://rubocop-rails//lib/rubocop/cop/rails/where_equals.rb#31
|
||||||
@ -8479,6 +8511,9 @@ class RuboCop::Cop::Rails::WhereExists < ::RuboCop::Cop::Base
|
|||||||
# source://rubocop-rails//lib/rubocop/cop/rails/where_exists.rb#61
|
# source://rubocop-rails//lib/rubocop/cop/rails/where_exists.rb#61
|
||||||
def exists_with_args?(param0 = T.unsafe(nil)); end
|
def exists_with_args?(param0 = T.unsafe(nil)); end
|
||||||
|
|
||||||
|
# source://rubocop-rails//lib/rubocop/cop/rails/where_exists.rb#65
|
||||||
|
def on_csend(node); end
|
||||||
|
|
||||||
# source://rubocop-rails//lib/rubocop/cop/rails/where_exists.rb#65
|
# source://rubocop-rails//lib/rubocop/cop/rails/where_exists.rb#65
|
||||||
def on_send(node); end
|
def on_send(node); end
|
||||||
|
|
||||||
@ -8487,34 +8522,34 @@ class RuboCop::Cop::Rails::WhereExists < ::RuboCop::Cop::Base
|
|||||||
|
|
||||||
private
|
private
|
||||||
|
|
||||||
# source://rubocop-rails//lib/rubocop/cop/rails/where_exists.rb#111
|
# source://rubocop-rails//lib/rubocop/cop/rails/where_exists.rb#112
|
||||||
def build_good_method(args); end
|
def build_good_method(args, dot_source: T.unsafe(nil)); end
|
||||||
|
|
||||||
# source://rubocop-rails//lib/rubocop/cop/rails/where_exists.rb#119
|
# source://rubocop-rails//lib/rubocop/cop/rails/where_exists.rb#120
|
||||||
def build_good_method_exists(args); end
|
def build_good_method_exists(args); end
|
||||||
|
|
||||||
# source://rubocop-rails//lib/rubocop/cop/rails/where_exists.rb#127
|
# source://rubocop-rails//lib/rubocop/cop/rails/where_exists.rb#128
|
||||||
def build_good_method_where(args); end
|
def build_good_method_where(args, dot_source); end
|
||||||
|
|
||||||
# @return [Boolean]
|
# @return [Boolean]
|
||||||
#
|
#
|
||||||
# source://rubocop-rails//lib/rubocop/cop/rails/where_exists.rb#97
|
# source://rubocop-rails//lib/rubocop/cop/rails/where_exists.rb#98
|
||||||
def convertable_args?(args); end
|
def convertable_args?(args); end
|
||||||
|
|
||||||
# source://rubocop-rails//lib/rubocop/cop/rails/where_exists.rb#103
|
# source://rubocop-rails//lib/rubocop/cop/rails/where_exists.rb#104
|
||||||
def correction_range(node); end
|
def correction_range(node); end
|
||||||
|
|
||||||
# @return [Boolean]
|
# @return [Boolean]
|
||||||
#
|
#
|
||||||
# source://rubocop-rails//lib/rubocop/cop/rails/where_exists.rb#85
|
# source://rubocop-rails//lib/rubocop/cop/rails/where_exists.rb#86
|
||||||
def exists_style?; end
|
def exists_style?; end
|
||||||
|
|
||||||
# source://rubocop-rails//lib/rubocop/cop/rails/where_exists.rb#89
|
# source://rubocop-rails//lib/rubocop/cop/rails/where_exists.rb#90
|
||||||
def find_offenses(node, &block); end
|
def find_offenses(node, &block); end
|
||||||
|
|
||||||
# @return [Boolean]
|
# @return [Boolean]
|
||||||
#
|
#
|
||||||
# source://rubocop-rails//lib/rubocop/cop/rails/where_exists.rb#81
|
# source://rubocop-rails//lib/rubocop/cop/rails/where_exists.rb#82
|
||||||
def where_style?; end
|
def where_style?; end
|
||||||
end
|
end
|
||||||
|
|
||||||
@ -8617,6 +8652,9 @@ class RuboCop::Cop::Rails::WhereNot < ::RuboCop::Cop::Base
|
|||||||
include ::RuboCop::Cop::RangeHelp
|
include ::RuboCop::Cop::RangeHelp
|
||||||
extend ::RuboCop::Cop::AutoCorrector
|
extend ::RuboCop::Cop::AutoCorrector
|
||||||
|
|
||||||
|
# source://rubocop-rails//lib/rubocop/cop/rails/where_not.rb#40
|
||||||
|
def on_csend(node); end
|
||||||
|
|
||||||
# source://rubocop-rails//lib/rubocop/cop/rails/where_not.rb#40
|
# source://rubocop-rails//lib/rubocop/cop/rails/where_not.rb#40
|
||||||
def on_send(node); end
|
def on_send(node); end
|
||||||
|
|
||||||
@ -8625,19 +8663,19 @@ class RuboCop::Cop::Rails::WhereNot < ::RuboCop::Cop::Base
|
|||||||
|
|
||||||
private
|
private
|
||||||
|
|
||||||
# source://rubocop-rails//lib/rubocop/cop/rails/where_not.rb#89
|
# source://rubocop-rails//lib/rubocop/cop/rails/where_not.rb#90
|
||||||
def build_good_method(column, value); end
|
def build_good_method(dot, column, value); end
|
||||||
|
|
||||||
# source://rubocop-rails//lib/rubocop/cop/rails/where_not.rb#70
|
# source://rubocop-rails//lib/rubocop/cop/rails/where_not.rb#71
|
||||||
def extract_column_and_value(template_node, value_node); end
|
def extract_column_and_value(template_node, value_node); end
|
||||||
|
|
||||||
# source://rubocop-rails//lib/rubocop/cop/rails/where_not.rb#66
|
# source://rubocop-rails//lib/rubocop/cop/rails/where_not.rb#67
|
||||||
def offense_range(node); end
|
def offense_range(node); end
|
||||||
end
|
end
|
||||||
|
|
||||||
# column IS NOT NULL
|
# column IS NOT NULL
|
||||||
#
|
#
|
||||||
# source://rubocop-rails//lib/rubocop/cop/rails/where_not.rb#62
|
# source://rubocop-rails//lib/rubocop/cop/rails/where_not.rb#63
|
||||||
RuboCop::Cop::Rails::WhereNot::IS_NOT_NULL_RE = T.let(T.unsafe(nil), Regexp)
|
RuboCop::Cop::Rails::WhereNot::IS_NOT_NULL_RE = T.let(T.unsafe(nil), Regexp)
|
||||||
|
|
||||||
# source://rubocop-rails//lib/rubocop/cop/rails/where_not.rb#30
|
# source://rubocop-rails//lib/rubocop/cop/rails/where_not.rb#30
|
||||||
@ -8645,22 +8683,22 @@ RuboCop::Cop::Rails::WhereNot::MSG = T.let(T.unsafe(nil), String)
|
|||||||
|
|
||||||
# column != ?, column <> ?
|
# column != ?, column <> ?
|
||||||
#
|
#
|
||||||
# source://rubocop-rails//lib/rubocop/cop/rails/where_not.rb#58
|
# source://rubocop-rails//lib/rubocop/cop/rails/where_not.rb#59
|
||||||
RuboCop::Cop::Rails::WhereNot::NOT_EQ_ANONYMOUS_RE = T.let(T.unsafe(nil), Regexp)
|
RuboCop::Cop::Rails::WhereNot::NOT_EQ_ANONYMOUS_RE = T.let(T.unsafe(nil), Regexp)
|
||||||
|
|
||||||
# column != :column, column <> :column
|
# column != :column, column <> :column
|
||||||
#
|
#
|
||||||
# source://rubocop-rails//lib/rubocop/cop/rails/where_not.rb#60
|
# source://rubocop-rails//lib/rubocop/cop/rails/where_not.rb#61
|
||||||
RuboCop::Cop::Rails::WhereNot::NOT_EQ_NAMED_RE = T.let(T.unsafe(nil), Regexp)
|
RuboCop::Cop::Rails::WhereNot::NOT_EQ_NAMED_RE = T.let(T.unsafe(nil), Regexp)
|
||||||
|
|
||||||
# column NOT IN (?)
|
# column NOT IN (?)
|
||||||
#
|
#
|
||||||
# source://rubocop-rails//lib/rubocop/cop/rails/where_not.rb#59
|
# source://rubocop-rails//lib/rubocop/cop/rails/where_not.rb#60
|
||||||
RuboCop::Cop::Rails::WhereNot::NOT_IN_ANONYMOUS_RE = T.let(T.unsafe(nil), Regexp)
|
RuboCop::Cop::Rails::WhereNot::NOT_IN_ANONYMOUS_RE = T.let(T.unsafe(nil), Regexp)
|
||||||
|
|
||||||
# column NOT IN (:column)
|
# column NOT IN (:column)
|
||||||
#
|
#
|
||||||
# source://rubocop-rails//lib/rubocop/cop/rails/where_not.rb#61
|
# source://rubocop-rails//lib/rubocop/cop/rails/where_not.rb#62
|
||||||
RuboCop::Cop::Rails::WhereNot::NOT_IN_NAMED_RE = T.let(T.unsafe(nil), Regexp)
|
RuboCop::Cop::Rails::WhereNot::NOT_IN_NAMED_RE = T.let(T.unsafe(nil), Regexp)
|
||||||
|
|
||||||
# source://rubocop-rails//lib/rubocop/cop/rails/where_not.rb#31
|
# source://rubocop-rails//lib/rubocop/cop/rails/where_not.rb#31
|
||||||
@ -8958,6 +8958,7 @@ module RuboCop::AST::NodePattern::Sets
|
|||||||
SET_BASH_COMPLETION_ZSH_COMPLETION_FISH_COMPLETION = ::T.let(nil, ::T.untyped)
|
SET_BASH_COMPLETION_ZSH_COMPLETION_FISH_COMPLETION = ::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_DEPENDS_ON_USES_FROM_MACOS = ::T.let(nil, ::T.untyped)
|
SET_DEPENDS_ON_USES_FROM_MACOS = ::T.let(nil, ::T.untyped)
|
||||||
|
SET_HTML_HTML5 = ::T.let(nil, ::T.untyped)
|
||||||
SET_INCLUDE_WITH_WITHOUT = ::T.let(nil, ::T.untyped)
|
SET_INCLUDE_WITH_WITHOUT = ::T.let(nil, ::T.untyped)
|
||||||
SET_MAC_LINUX = ::T.let(nil, ::T.untyped)
|
SET_MAC_LINUX = ::T.let(nil, ::T.untyped)
|
||||||
SET_ON_ARM_ON_INTEL_ON_SONOMA_ETC = ::T.let(nil, ::T.untyped)
|
SET_ON_ARM_ON_INTEL_ON_SONOMA_ETC = ::T.let(nil, ::T.untyped)
|
||||||
|
|||||||
@ -363,6 +363,9 @@ module Cask
|
|||||||
sig { returns(T::Boolean) }
|
sig { returns(T::Boolean) }
|
||||||
def on_system_blocks_exist?; end
|
def on_system_blocks_exist?; end
|
||||||
|
|
||||||
|
sig { returns(T::Boolean) }
|
||||||
|
def deprecated?; end
|
||||||
|
|
||||||
sig { returns(T::Boolean) }
|
sig { returns(T::Boolean) }
|
||||||
def disabled?; end
|
def disabled?; end
|
||||||
|
|
||||||
|
|||||||
@ -65,7 +65,7 @@ $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version
|
|||||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/method_source-1.0.0/lib")
|
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/method_source-1.0.0/lib")
|
||||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/mustache-1.1.1/lib")
|
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/mustache-1.1.1/lib")
|
||||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/netrc-0.11.0/lib")
|
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/netrc-0.11.0/lib")
|
||||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/parallel-1.23.0/lib")
|
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/parallel-1.24.0/lib")
|
||||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/parallel_tests-4.3.0/lib")
|
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/parallel_tests-4.3.0/lib")
|
||||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/extensions/x86_64-darwin-15/#{Gem.extension_api_version}/racc-1.7.3")
|
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/extensions/x86_64-darwin-15/#{Gem.extension_api_version}/racc-1.7.3")
|
||||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/racc-1.7.3/lib")
|
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/racc-1.7.3/lib")
|
||||||
@ -102,7 +102,7 @@ $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version
|
|||||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rubocop-capybara-2.19.0/lib")
|
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rubocop-capybara-2.19.0/lib")
|
||||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rubocop-factory_bot-2.24.0/lib")
|
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rubocop-factory_bot-2.24.0/lib")
|
||||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rubocop-performance-1.19.1/lib")
|
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rubocop-performance-1.19.1/lib")
|
||||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rubocop-rails-2.22.2/lib")
|
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rubocop-rails-2.23.0/lib")
|
||||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rubocop-rspec-2.25.0/lib")
|
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rubocop-rspec-2.25.0/lib")
|
||||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rubocop-sorbet-0.7.6/lib")
|
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rubocop-sorbet-0.7.6/lib")
|
||||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/ruby-macho-4.0.0/lib")
|
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/ruby-macho-4.0.0/lib")
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user