Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
B
brew
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to JiHu GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
KMSCAKKSCFKA AKFACAMADCAS
brew
Commits
efa27876
Unverified
Commit
efa27876
authored
3 years ago
by
BrewTestBot
Browse files
Options
Downloads
Patches
Plain Diff
Update RBI files for rubocop-rails.
parent
9c1af985
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Library/Homebrew/sorbet/rbi/gems/i18n@1.8.10.rbi
+1
-1
1 addition, 1 deletion
Library/Homebrew/sorbet/rbi/gems/i18n@1.8.10.rbi
Library/Homebrew/sorbet/rbi/gems/rubocop-rails@2.10.0.rbi
+73
-2
73 additions, 2 deletions
Library/Homebrew/sorbet/rbi/gems/rubocop-rails@2.10.0.rbi
with
74 additions
and
3 deletions
Library/Homebrew/sorbet/rbi/gems/i18n@1.8.
9
.rbi
→
Library/Homebrew/sorbet/rbi/gems/i18n@1.8.
10
.rbi
+
1
−
1
View file @
efa27876
# DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `i18n` gem.
# Please instead update this file by running `tapioca sync`.
# Please instead update this file by running `
bin/
tapioca sync`.
# typed: true
...
...
This diff is collapsed.
Click to expand it.
Library/Homebrew/sorbet/rbi/gems/rubocop-rails@2.
9.1
.rbi
→
Library/Homebrew/sorbet/rbi/gems/rubocop-rails@2.
10.0
.rbi
+
73
−
2
View file @
efa27876
# DO NOT EDIT MANUALLY
# This is an autogenerated file for types exported from the `rubocop-rails` gem.
# Please instead update this file by running `tapioca sync`.
# Please instead update this file by running `
bin/
tapioca sync`.
# typed: true
...
...
@@ -13,11 +13,13 @@ end
module RuboCop::Cop::ActiveRecordHelper
extend(::RuboCop::AST::NodePattern::Macros)
def active_record?(param0 = T.unsafe(nil)); end
def external_dependency_checksum; end
def find_belongs_to(param0); end
def find_set_table_name(param0); end
def foreign_key_of(belongs_to); end
def in_where?(node); end
def inherit_active_record_base?(node); end
def resolve_relation_into_column(name:, class_node:, table:); end
def schema; end
def table_name(class_node); end
...
...
@@ -405,11 +407,14 @@ class RuboCop::Cop::Rails::ContentTag < ::RuboCop::Cop::Base
extend(::RuboCop::Cop::AutoCorrector)
extend(::RuboCop::Cop::TargetRailsVersion)
def on_new_investigation; end
def on_send(node); end
private
def allowed_argument?(argument); end
def autocorrect(corrector, node); end
def corrected_ancestor?(node); end
def correction_range(node); end
def method_name?(node); end
end
...
...
@@ -513,6 +518,7 @@ RuboCop::Cop::Rails::DelegateAllowBlank::MSG = T.let(T.unsafe(nil), String)
RuboCop::Cop::Rails::DelegateAllowBlank::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array)
class RuboCop::Cop::Rails::DynamicFindBy < ::RuboCop::Cop::Base
include(::RuboCop::Cop::ActiveRecordHelper)
extend(::RuboCop::Cop::AutoCorrector)
def on_csend(node); end
...
...
@@ -593,6 +599,21 @@ RuboCop::Cop::Rails::EnvironmentComparison::RESTRICT_ON_SEND = T.let(T.unsafe(ni
RuboCop::Cop::Rails::EnvironmentComparison::SYM_MSG = T.let(T.unsafe(nil), String)
class RuboCop::Cop::Rails::EnvironmentVariableAccess < ::RuboCop::Cop::Base
def env_read?(param0); end
def env_write?(param0); end
def on_const(node); end
private
def allow_reads?; end
def allow_writes?; end
end
RuboCop::Cop::Rails::EnvironmentVariableAccess::READ_MSG = T.let(T.unsafe(nil), String)
RuboCop::Cop::Rails::EnvironmentVariableAccess::WRITE_MSG = T.let(T.unsafe(nil), String)
class RuboCop::Cop::Rails::Exit < ::RuboCop::Cop::Base
include(::RuboCop::Cop::ConfigurableEnforcedStyle)
...
...
@@ -677,6 +698,7 @@ RuboCop::Cop::Rails::FindById::MSG = T.let(T.unsafe(nil), String)
RuboCop::Cop::Rails::FindById::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array)
class RuboCop::Cop::Rails::FindEach < ::RuboCop::Cop::Base
include(::RuboCop::Cop::ActiveRecordHelper)
extend(::RuboCop::Cop::AutoCorrector)
def on_send(node); end
...
...
@@ -702,17 +724,20 @@ RuboCop::Cop::Rails::HasAndBelongsToMany::RESTRICT_ON_SEND = T.let(T.unsafe(nil)
class RuboCop::Cop::Rails::HasManyOrHasOneDependent < ::RuboCop::Cop::Base
def active_resource_class?(param0); end
def association_extension_block?(param0 = T.unsafe(nil)); end
def association_with_options?(param0 = T.unsafe(nil)); end
def association_without_options?(param0 = T.unsafe(nil)); end
def dependent_option?(param0 = T.unsafe(nil)); end
def on_send(node); end
def present_option?(param0 = T.unsafe(nil)); end
def readonly?(param0 = T.unsafe(nil)); end
def with_options_block(param0 = T.unsafe(nil)); end
private
def active_resource?(node); end
def contain_valid_options_in_with_options_block?(node); end
def readonly_model?(node); end
def valid_options?(options); end
def valid_options_in_with_options_block?(node); end
end
...
...
@@ -734,6 +759,7 @@ end
RuboCop::Cop::Rails::HelperInstanceVariable::MSG = T.let(T.unsafe(nil), String)
class RuboCop::Cop::Rails::HttpPositionalArguments < ::RuboCop::Cop::Base
include(::RuboCop::Cop::RangeHelp)
extend(::RuboCop::Cop::AutoCorrector)
extend(::RuboCop::Cop::TargetRailsVersion)
...
...
@@ -747,6 +773,7 @@ class RuboCop::Cop::Rails::HttpPositionalArguments < ::RuboCop::Cop::Base
def correction(node); end
def correction_template(node); end
def format_arg?(node); end
def highlight_range(node); end
def needs_conversion?(data); end
def special_keyword_arg?(node); end
end
...
...
@@ -1280,8 +1307,14 @@ class RuboCop::Cop::Rails::ReflectionClassName < ::RuboCop::Cop::Base
def association_with_reflection(param0 = T.unsafe(nil)); end
def on_send(node); end
def reflection_class_name(param0 = T.unsafe(nil)); end
private
def reflection_class_value?(class_value); end
end
RuboCop::Cop::Rails::ReflectionClassName::ALLOWED_REFLECTION_CLASS_TYPES = T.let(T.unsafe(nil), Array)
RuboCop::Cop::Rails::ReflectionClassName::MSG = T.let(T.unsafe(nil), String)
RuboCop::Cop::Rails::ReflectionClassName::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array)
...
...
@@ -1318,7 +1351,6 @@ class RuboCop::Cop::Rails::RelativeDateConstant < ::RuboCop::Cop::Base
def on_masgn(node); end
def on_or_asgn(node); end
def relative_date?(param0 = T.unsafe(nil)); end
def relative_date_assignment?(param0 = T.unsafe(nil)); end
def relative_date_or_assignment?(param0 = T.unsafe(nil)); end
private
...
...
@@ -1326,10 +1358,13 @@ class RuboCop::Cop::Rails::RelativeDateConstant < ::RuboCop::Cop::Base
def autocorrect(corrector, node); end
def message(method_name); end
def offense_range(name, value); end
def relative_date_method?(method_name); end
end
RuboCop::Cop::Rails::RelativeDateConstant::MSG = T.let(T.unsafe(nil), String)
RuboCop::Cop::Rails::RelativeDateConstant::RELATIVE_DATE_METHODS = T.let(T.unsafe(nil), Array)
class RuboCop::Cop::Rails::RenderInline < ::RuboCop::Cop::Base
def on_send(node); end
def render_with_inline_option?(param0 = T.unsafe(nil)); end
...
...
@@ -1373,6 +1408,17 @@ RuboCop::Cop::Rails::RequestReferer::MSG = T.let(T.unsafe(nil), String)
RuboCop::Cop::Rails::RequestReferer::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array)
class RuboCop::Cop::Rails::RequireDependency < ::RuboCop::Cop::Base
extend(::RuboCop::Cop::TargetRailsVersion)
def on_send(node); end
def require_dependency_call?(param0 = T.unsafe(nil)); end
end
RuboCop::Cop::Rails::RequireDependency::MSG = T.let(T.unsafe(nil), String)
RuboCop::Cop::Rails::RequireDependency::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array)
class RuboCop::Cop::Rails::ReversibleMigration < ::RuboCop::Cop::Base
def change_table_call(param0 = T.unsafe(nil)); end
def drop_table_call(param0 = T.unsafe(nil)); end
...
...
@@ -1403,6 +1449,15 @@ end
RuboCop::Cop::Rails::ReversibleMigration::MSG = T.let(T.unsafe(nil), String)
class RuboCop::Cop::Rails::ReversibleMigrationMethodDefinition < ::RuboCop::Cop::Base
def change_method?(param0 = T.unsafe(nil)); end
def migration_class?(param0 = T.unsafe(nil)); end
def on_class(node); end
def up_and_down_methods?(param0 = T.unsafe(nil)); end
end
RuboCop::Cop::Rails::ReversibleMigrationMethodDefinition::MSG = T.let(T.unsafe(nil), String)
class RuboCop::Cop::Rails::SafeNavigation < ::RuboCop::Cop::Base
include(::RuboCop::Cop::RangeHelp)
extend(::RuboCop::Cop::AutoCorrector)
...
...
@@ -1414,6 +1469,10 @@ class RuboCop::Cop::Rails::SafeNavigation < ::RuboCop::Cop::Base
def autocorrect(corrector, node); end
def replacement(method, params); end
class << self
def autocorrect_incompatible_with; end
end
end
RuboCop::Cop::Rails::SafeNavigation::MSG = T.let(T.unsafe(nil), String)
...
...
@@ -1552,6 +1611,7 @@ class RuboCop::Cop::Rails::TimeZone < ::RuboCop::Cop::Base
private
def acceptable_methods(klass, method_name, node); end
def attach_timezone_specifier?(date); end
def autocorrect(corrector, node); end
def autocorrect_time_new(node, corrector); end
def build_message(klass, method_name, node); end
...
...
@@ -1582,6 +1642,17 @@ RuboCop::Cop::Rails::TimeZone::MSG_ACCEPTABLE = T.let(T.unsafe(nil), String)
RuboCop::Cop::Rails::TimeZone::MSG_LOCALTIME = T.let(T.unsafe(nil), String)
RuboCop::Cop::Rails::TimeZone::TIMEZONE_SPECIFIER = T.let(T.unsafe(nil), Regexp)
class RuboCop::Cop::Rails::TimeZoneAssignment < ::RuboCop::Cop::Base
def on_send(node); end
def time_zone_assignement?(param0 = T.unsafe(nil)); end
end
RuboCop::Cop::Rails::TimeZoneAssignment::MSG = T.let(T.unsafe(nil), String)
RuboCop::Cop::Rails::TimeZoneAssignment::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array)
class RuboCop::Cop::Rails::UniqBeforePluck < ::RuboCop::Cop::Base
include(::RuboCop::Cop::ConfigurableEnforcedStyle)
include(::RuboCop::Cop::RangeHelp)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment