From eb640ffd44f3a96ffd39a9918510653751be84bd Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Mon, 27 Dec 2021 18:13:12 +0000 Subject: [PATCH] Update RBI files for rubocop-rspec. --- ...spec@2.6.0.rbi => rubocop-rspec@2.7.0.rbi} | 38 +++++++++++++++++-- 1 file changed, 34 insertions(+), 4 deletions(-) rename Library/Homebrew/sorbet/rbi/gems/{rubocop-rspec@2.6.0.rbi => rubocop-rspec@2.7.0.rbi} (98%) diff --git a/Library/Homebrew/sorbet/rbi/gems/rubocop-rspec@2.6.0.rbi b/Library/Homebrew/sorbet/rbi/gems/rubocop-rspec@2.7.0.rbi similarity index 98% rename from Library/Homebrew/sorbet/rbi/gems/rubocop-rspec@2.6.0.rbi rename to Library/Homebrew/sorbet/rbi/gems/rubocop-rspec@2.7.0.rbi index 773aa723f0..94ee87ff34 100644 --- a/Library/Homebrew/sorbet/rbi/gems/rubocop-rspec@2.6.0.rbi +++ b/Library/Homebrew/sorbet/rbi/gems/rubocop-rspec@2.7.0.rbi @@ -151,21 +151,18 @@ RuboCop::Cop::RSpec::Capybara::CurrentPathExpectation::MSG = T.let(T.unsafe(nil) RuboCop::Cop::RSpec::Capybara::CurrentPathExpectation::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) class RuboCop::Cop::RSpec::Capybara::FeatureMethods < ::RuboCop::Cop::RSpec::Base + include ::RuboCop::Cop::RSpec::InsideExampleGroup extend ::RuboCop::Cop::AutoCorrector def capybara_speak(param0 = T.unsafe(nil)); end def feature_method(param0 = T.unsafe(nil)); end def message(range); end def on_block(node); end - def spec?(param0 = T.unsafe(nil)); end private def enabled?(method_name); end def enabled_methods; end - def inside_spec?(node); end - def root_node?(node); end - def root_with_siblings?(node); end end RuboCop::Cop::RSpec::Capybara::FeatureMethods::MAP = T.let(T.unsafe(nil), Hash) @@ -573,6 +570,7 @@ RuboCop::Cop::RSpec::FactoryBot::AttributeDefinedStatically::MSG = T.let(T.unsaf class RuboCop::Cop::RSpec::FactoryBot::CreateList < ::RuboCop::Cop::RSpec::Base include ::RuboCop::Cop::ConfigurableEnforcedStyle + include ::RuboCop::RSpec::FactoryBot::Language extend ::RuboCop::Cop::AutoCorrector def factory_call(param0 = T.unsafe(nil)); end @@ -644,6 +642,23 @@ RuboCop::Cop::RSpec::FactoryBot::FactoryClassName::ALLOWED_CONSTANTS = T.let(T.u RuboCop::Cop::RSpec::FactoryBot::FactoryClassName::MSG = T.let(T.unsafe(nil), String) RuboCop::Cop::RSpec::FactoryBot::FactoryClassName::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) +class RuboCop::Cop::RSpec::FactoryBot::SyntaxMethods < ::RuboCop::Cop::RSpec::Base + include ::RuboCop::Cop::RSpec::InsideExampleGroup + include ::RuboCop::Cop::RangeHelp + include ::RuboCop::RSpec::FactoryBot::Language + extend ::RuboCop::Cop::AutoCorrector + + def on_send(node); end + + private + + def crime_scene(node); end + def offense(node); end +end + +RuboCop::Cop::RSpec::FactoryBot::SyntaxMethods::MSG = T.let(T.unsafe(nil), String) +RuboCop::Cop::RSpec::FactoryBot::SyntaxMethods::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Set) + class RuboCop::Cop::RSpec::FilePath < ::RuboCop::Cop::RSpec::Base include ::RuboCop::Cop::RSpec::TopLevelGroup @@ -808,6 +823,14 @@ end RuboCop::Cop::RSpec::InflectedHelper::MSG_INFLECTED = T.let(T.unsafe(nil), String) +module RuboCop::Cop::RSpec::InsideExampleGroup + private + + def example_group_root?(node); end + def example_group_root_with_siblings?(node); end + def inside_example_group?(node); end +end + class RuboCop::Cop::RSpec::InstanceSpy < ::RuboCop::Cop::RSpec::Base extend ::RuboCop::Cop::AutoCorrector @@ -1677,6 +1700,13 @@ end RuboCop::RSpec::FactoryBot::ATTRIBUTE_DEFINING_METHODS = T.let(T.unsafe(nil), Array) RuboCop::RSpec::FactoryBot::DEFINITION_PROXY_METHODS = T.let(T.unsafe(nil), Array) + +module RuboCop::RSpec::FactoryBot::Language + extend ::RuboCop::AST::NodePattern::Macros + + def factory_bot?(param0 = T.unsafe(nil)); end +end + RuboCop::RSpec::FactoryBot::RESERVED_METHODS = T.let(T.unsafe(nil), Array) RuboCop::RSpec::FactoryBot::UNPROXIED_METHODS = T.let(T.unsafe(nil), Array)