From 77aec5304f39376b00386622cf0b81d87708276c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 10 Jun 2024 21:29:32 +0000 Subject: [PATCH 1/3] Bump the minor-and-patch group with 4 updates Bumps the minor-and-patch group with 4 updates: [rubocop-rspec](https://github.com/rubocop/rubocop-rspec), [google-protobuf](https://github.com/protocolbuffers/protobuf), [parallel](https://github.com/grosser/parallel) and [sorbet-static-and-runtime](https://github.com/sorbet/sorbet). Updates `rubocop-rspec` from 2.30.0 to 2.31.0 - [Release notes](https://github.com/rubocop/rubocop-rspec/releases) - [Changelog](https://github.com/rubocop/rubocop-rspec/blob/master/CHANGELOG.md) - [Commits](https://github.com/rubocop/rubocop-rspec/compare/v2.30.0...v2.31.0) Updates `google-protobuf` from 4.27.0 to 4.27.1 - [Release notes](https://github.com/protocolbuffers/protobuf/releases) - [Changelog](https://github.com/protocolbuffers/protobuf/blob/main/protobuf_release.bzl) - [Commits](https://github.com/protocolbuffers/protobuf/commits) Updates `parallel` from 1.24.0 to 1.25.1 - [Commits](https://github.com/grosser/parallel/compare/v1.24.0...v1.25.1) Updates `sorbet-static-and-runtime` from 0.5.11406 to 0.5.11422 - [Release notes](https://github.com/sorbet/sorbet/releases) - [Commits](https://github.com/sorbet/sorbet/commits) --- updated-dependencies: - dependency-name: rubocop-rspec dependency-type: direct:production update-type: version-update:semver-minor dependency-group: minor-and-patch - dependency-name: google-protobuf dependency-type: direct:development update-type: version-update:semver-patch dependency-group: minor-and-patch - dependency-name: parallel dependency-type: direct:production update-type: version-update:semver-minor dependency-group: minor-and-patch - dependency-name: sorbet-static-and-runtime dependency-type: direct:production update-type: version-update:semver-patch dependency-group: minor-and-patch ... Signed-off-by: dependabot[bot] --- Gemfile.lock | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index 47d94b5bb..2cb891027 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -143,13 +143,13 @@ GEM activemodel globalid (1.2.1) activesupport (>= 6.1) - google-protobuf (4.27.0-arm64-darwin) + google-protobuf (4.27.1-arm64-darwin) bigdecimal rake (>= 13) - google-protobuf (4.27.0-x86_64-darwin) + google-protobuf (4.27.1-x86_64-darwin) bigdecimal rake (>= 13) - google-protobuf (4.27.0-x86_64-linux) + google-protobuf (4.27.1-x86_64-linux) bigdecimal rake (>= 13) graphql (2.3.4) @@ -217,7 +217,7 @@ GEM racc (~> 1.4) nokogiri (1.16.5-x86_64-linux) racc (~> 1.4) - parallel (1.24.0) + parallel (1.25.1) parser (3.3.2.0) ast (~> 2.4.1) racc @@ -277,8 +277,8 @@ GEM regexp_parser (2.9.2) reline (0.5.7) io-console (~> 0.5) - rexml (3.2.8) - strscan (>= 3.0.9) + rexml (3.2.9) + strscan rubocop (1.64.1) json (~> 2.3) language_server-protocol (>= 3.17.0) @@ -292,16 +292,16 @@ GEM unicode-display_width (>= 2.4.0, < 3.0) rubocop-ast (1.31.3) parser (>= 3.3.1.0) - rubocop-capybara (2.20.0) + rubocop-capybara (2.21.0) rubocop (~> 1.41) - rubocop-factory_bot (2.25.1) + rubocop-factory_bot (2.26.0) rubocop (~> 1.41) - rubocop-rspec (2.30.0) + rubocop-rspec (2.31.0) rubocop (~> 1.40) rubocop-capybara (~> 2.17) rubocop-factory_bot (~> 2.22) rubocop-rspec_rails (~> 2.28) - rubocop-rspec_rails (2.28.3) + rubocop-rspec_rails (2.29.0) rubocop (~> 1.40) rubocop-shopify (2.15.1) rubocop (~> 1.51) @@ -315,14 +315,14 @@ GEM rack (>= 2.2.4) redis-client (>= 0.19.0) smart_properties (1.17.0) - sorbet (0.5.11406) - sorbet-static (= 0.5.11406) - sorbet-runtime (0.5.11406) - sorbet-static (0.5.11406-universal-darwin) - sorbet-static (0.5.11406-x86_64-linux) - sorbet-static-and-runtime (0.5.11406) - sorbet (= 0.5.11406) - sorbet-runtime (= 0.5.11406) + sorbet (0.5.11422) + sorbet-static (= 0.5.11422) + sorbet-runtime (0.5.11422) + sorbet-static (0.5.11422-universal-darwin) + sorbet-static (0.5.11422-x86_64-linux) + sorbet-static-and-runtime (0.5.11422) + sorbet (= 0.5.11422) + sorbet-runtime (= 0.5.11422) spoom (1.3.2) erubi (>= 1.10.0) prism (>= 0.19.0) From b6ab36906fca6a3f594987d76d366d86873ad98e Mon Sep 17 00:00:00 2001 From: Kaan Ozkan Date: Mon, 10 Jun 2024 17:54:43 -0400 Subject: [PATCH 2/3] Update RBIs --- ...@4.27.0.rbi => google-protobuf@4.27.1.rbi} | 0 ...arallel@1.24.0.rbi => parallel@1.25.1.rbi} | 47 ++++--- .../gems/{rexml@3.2.8.rbi => rexml@3.2.9.rbi} | 125 +++++++++--------- ...2.20.0.rbi => rubocop-capybara@2.21.0.rbi} | 59 +++++---- ...5.1.rbi => rubocop-factory_bot@2.26.0.rbi} | 47 +++---- ...ec@2.30.0.rbi => rubocop-rspec@2.31.0.rbi} | 0 ...8.3.rbi => rubocop-rspec_rails@2.29.0.rbi} | 82 ++++++------ 7 files changed, 190 insertions(+), 170 deletions(-) rename sorbet/rbi/gems/{google-protobuf@4.27.0.rbi => google-protobuf@4.27.1.rbi} (100%) rename sorbet/rbi/gems/{parallel@1.24.0.rbi => parallel@1.25.1.rbi} (86%) rename sorbet/rbi/gems/{rexml@3.2.8.rbi => rexml@3.2.9.rbi} (98%) rename sorbet/rbi/gems/{rubocop-capybara@2.20.0.rbi => rubocop-capybara@2.21.0.rbi} (98%) rename sorbet/rbi/gems/{rubocop-factory_bot@2.25.1.rbi => rubocop-factory_bot@2.26.0.rbi} (98%) rename sorbet/rbi/gems/{rubocop-rspec@2.30.0.rbi => rubocop-rspec@2.31.0.rbi} (100%) rename sorbet/rbi/gems/{rubocop-rspec_rails@2.28.3.rbi => rubocop-rspec_rails@2.29.0.rbi} (92%) diff --git a/sorbet/rbi/gems/google-protobuf@4.27.0.rbi b/sorbet/rbi/gems/google-protobuf@4.27.1.rbi similarity index 100% rename from sorbet/rbi/gems/google-protobuf@4.27.0.rbi rename to sorbet/rbi/gems/google-protobuf@4.27.1.rbi diff --git a/sorbet/rbi/gems/parallel@1.24.0.rbi b/sorbet/rbi/gems/parallel@1.25.1.rbi similarity index 86% rename from sorbet/rbi/gems/parallel@1.24.0.rbi rename to sorbet/rbi/gems/parallel@1.25.1.rbi index 5dd73750f..a2dec088a 100644 --- a/sorbet/rbi/gems/parallel@1.24.0.rbi +++ b/sorbet/rbi/gems/parallel@1.25.1.rbi @@ -4,6 +4,7 @@ # This is an autogenerated file for types exported from the `parallel` gem. # Please instead update this file by running `bin/tapioca gem parallel`. + # source://parallel//lib/parallel/version.rb#2 module Parallel class << self @@ -24,10 +25,10 @@ module Parallel def each_with_index(array, options = T.unsafe(nil), &block); end # source://parallel//lib/parallel.rb#307 - def filter_map(*args, &block); end + def filter_map(*_arg0, **_arg1, &_arg2); end # source://parallel//lib/parallel.rb#303 - def flat_map(*args, &block); end + def flat_map(*_arg0, **_arg1, &_arg2); end # source://parallel//lib/parallel.rb#228 def in_processes(options = T.unsafe(nil), &block); end @@ -48,68 +49,74 @@ module Parallel # Number of processors seen by the OS, used for process scheduling # - # source://parallel//lib/parallel.rb#345 + # source://parallel//lib/parallel.rb#341 def processor_count; end - # source://parallel//lib/parallel.rb#350 + # source://parallel//lib/parallel.rb#346 def worker_number; end # TODO: this does not work when doing threads in forks, so should remove and yield the number instead if needed # - # source://parallel//lib/parallel.rb#355 + # source://parallel//lib/parallel.rb#351 def worker_number=(worker_num); end private - # source://parallel//lib/parallel.rb#361 + # source://parallel//lib/parallel.rb#384 def add_progress_bar!(job_factory, options); end - # source://parallel//lib/parallel.rb#624 + # source://parallel//lib/parallel.rb#647 def call_with_index(item, index, options, &block); end - # source://parallel//lib/parallel.rb#556 + # source://parallel//lib/parallel.rb#579 def create_workers(job_factory, options, &block); end # options is either a Integer or a Hash with :count # - # source://parallel//lib/parallel.rb#614 + # source://parallel//lib/parallel.rb#637 def extract_count_from_options(options); end - # source://parallel//lib/parallel.rb#642 + # source://parallel//lib/parallel.rb#665 def instrument_finish(item, index, result, options); end # 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 + # source://parallel//lib/parallel.rb#674 def instrument_finish_in_order(item, index, result, options); end - # source://parallel//lib/parallel.rb#671 + # source://parallel//lib/parallel.rb#694 def instrument_start(item, index, options); end - # source://parallel//lib/parallel.rb#590 + # source://parallel//lib/parallel.rb#357 + def physical_processor_count_windows; end + + # source://parallel//lib/parallel.rb#613 def process_incoming_jobs(read, write, job_factory, options, &block); end - # source://parallel//lib/parallel.rb#544 + # source://parallel//lib/parallel.rb#567 def replace_worker(job_factory, workers, index, options, blk); end - # source://parallel//lib/parallel.rb#635 + # source://parallel//lib/parallel.rb#378 + def run(command); end + + # source://parallel//lib/parallel.rb#658 def with_instrumentation(item, index, options); end - # source://parallel//lib/parallel.rb#386 + # source://parallel//lib/parallel.rb#409 def work_direct(job_factory, options, &block); end - # source://parallel//lib/parallel.rb#496 + # source://parallel//lib/parallel.rb#519 def work_in_processes(job_factory, options, &blk); end - # source://parallel//lib/parallel.rb#430 + # source://parallel//lib/parallel.rb#453 def work_in_ractors(job_factory, options); end - # source://parallel//lib/parallel.rb#405 + # source://parallel//lib/parallel.rb#428 def work_in_threads(job_factory, options, &block); end - # source://parallel//lib/parallel.rb#564 + # source://parallel//lib/parallel.rb#587 def worker(job_factory, options, &block); end end end diff --git a/sorbet/rbi/gems/rexml@3.2.8.rbi b/sorbet/rbi/gems/rexml@3.2.9.rbi similarity index 98% rename from sorbet/rbi/gems/rexml@3.2.8.rbi rename to sorbet/rbi/gems/rexml@3.2.9.rbi index 3cc13dde4..a19e3ee47 100644 --- a/sorbet/rbi/gems/rexml@3.2.8.rbi +++ b/sorbet/rbi/gems/rexml@3.2.9.rbi @@ -3454,47 +3454,47 @@ end # A Source that wraps an IO. See the Source class for method # documentation # -# source://rexml//lib/rexml/source.rb#140 +# source://rexml//lib/rexml/source.rb#156 class REXML::IOSource < ::REXML::Source # block_size has been deprecated # # @return [IOSource] a new instance of IOSource # - # source://rexml//lib/rexml/source.rb#144 + # source://rexml//lib/rexml/source.rb#160 def initialize(arg, block_size = T.unsafe(nil), encoding = T.unsafe(nil)); end # @return the current line in the source # - # source://rexml//lib/rexml/source.rb#217 + # source://rexml//lib/rexml/source.rb#238 def current_line; end # @return [Boolean] # - # source://rexml//lib/rexml/source.rb#212 + # source://rexml//lib/rexml/source.rb#233 def empty?; end - # source://rexml//lib/rexml/source.rb#189 + # source://rexml//lib/rexml/source.rb#210 def ensure_buffer; end # Note: When specifying a string for 'pattern', it must not include '>' except in the following formats: # - ">" # - "XXX>" (X is any string excluding '>') # - # source://rexml//lib/rexml/source.rb#196 + # source://rexml//lib/rexml/source.rb#217 def match(pattern, cons = T.unsafe(nil)); end - # source://rexml//lib/rexml/source.rb#165 + # source://rexml//lib/rexml/source.rb#181 def read(term = T.unsafe(nil)); end - # source://rexml//lib/rexml/source.rb#175 + # source://rexml//lib/rexml/source.rb#192 def read_until(term); end private - # source://rexml//lib/rexml/source.rb#259 + # source://rexml//lib/rexml/source.rb#280 def encoding_updated; end - # source://rexml//lib/rexml/source.rb#239 + # source://rexml//lib/rexml/source.rb#260 def readline(term = T.unsafe(nil)); end end @@ -3993,38 +3993,38 @@ end # # Nat Price gave me some good ideas for the API. # -# source://rexml//lib/rexml/parsers/baseparser.rb#29 +# source://rexml//lib/rexml/parsers/baseparser.rb#40 class REXML::Parsers::BaseParser include ::REXML::Parsers::BaseParser::Private # @return [BaseParser] a new instance of BaseParser # - # source://rexml//lib/rexml/parsers/baseparser.rb#128 + # source://rexml//lib/rexml/parsers/baseparser.rb#139 def initialize(source); end - # source://rexml//lib/rexml/parsers/baseparser.rb#133 + # source://rexml//lib/rexml/parsers/baseparser.rb#144 def add_listener(listener); end # Returns true if there are no more events # # @return [Boolean] # - # source://rexml//lib/rexml/parsers/baseparser.rb#159 + # source://rexml//lib/rexml/parsers/baseparser.rb#170 def empty?; end - # source://rexml//lib/rexml/parsers/baseparser.rb#446 + # source://rexml//lib/rexml/parsers/baseparser.rb#463 def entity(reference, entities); end # Returns true if there are more events. Synonymous with !empty? # # @return [Boolean] # - # source://rexml//lib/rexml/parsers/baseparser.rb#164 + # source://rexml//lib/rexml/parsers/baseparser.rb#175 def has_next?; end # Escapes all possible entities # - # source://rexml//lib/rexml/parsers/baseparser.rb#457 + # source://rexml//lib/rexml/parsers/baseparser.rb#474 def normalize(input, entities = T.unsafe(nil), entity_filter = T.unsafe(nil)); end # Peek at the +depth+ event in the stack. The first element on the stack @@ -4034,102 +4034,102 @@ class REXML::Parsers::BaseParser # event, so you can effectively pre-parse the entire document (pull the # entire thing into memory) using this method. # - # source://rexml//lib/rexml/parsers/baseparser.rb#180 + # source://rexml//lib/rexml/parsers/baseparser.rb#191 def peek(depth = T.unsafe(nil)); end - # source://rexml//lib/rexml/parsers/baseparser.rb#149 + # source://rexml//lib/rexml/parsers/baseparser.rb#160 def position; end # Returns the next event. This is a +PullEvent+ object. # - # source://rexml//lib/rexml/parsers/baseparser.rb#195 + # source://rexml//lib/rexml/parsers/baseparser.rb#206 def pull; end # Returns the value of attribute source. # - # source://rexml//lib/rexml/parsers/baseparser.rb#137 + # source://rexml//lib/rexml/parsers/baseparser.rb#148 def source; end - # source://rexml//lib/rexml/parsers/baseparser.rb#139 + # source://rexml//lib/rexml/parsers/baseparser.rb#150 def stream=(source); end # Unescapes all possible entities # - # source://rexml//lib/rexml/parsers/baseparser.rb#473 + # source://rexml//lib/rexml/parsers/baseparser.rb#490 def unnormalize(string, entities = T.unsafe(nil), filter = T.unsafe(nil)); end # Push an event back on the head of the stream. This method # has (theoretically) infinite depth. # - # source://rexml//lib/rexml/parsers/baseparser.rb#170 + # source://rexml//lib/rexml/parsers/baseparser.rb#181 def unshift(token); end private # @return [Boolean] # - # source://rexml//lib/rexml/parsers/baseparser.rb#502 + # source://rexml//lib/rexml/parsers/baseparser.rb#519 def need_source_encoding_update?(xml_declaration_encoding); end - # source://rexml//lib/rexml/parsers/baseparser.rb#613 + # source://rexml//lib/rexml/parsers/baseparser.rb#630 def parse_attributes(prefixes, curr_ns); end - # source://rexml//lib/rexml/parsers/baseparser.rb#521 + # source://rexml//lib/rexml/parsers/baseparser.rb#538 def parse_id(base_error_message, accept_external_id:, accept_public_id:); end - # source://rexml//lib/rexml/parsers/baseparser.rb#549 + # source://rexml//lib/rexml/parsers/baseparser.rb#566 def parse_id_invalid_details(accept_external_id:, accept_public_id:); end - # source://rexml//lib/rexml/parsers/baseparser.rb#508 + # source://rexml//lib/rexml/parsers/baseparser.rb#525 def parse_name(base_error_message); end - # source://rexml//lib/rexml/parsers/baseparser.rb#587 + # source://rexml//lib/rexml/parsers/baseparser.rb#604 def process_instruction(start_position); end - # source://rexml//lib/rexml/parsers/baseparser.rb#203 + # source://rexml//lib/rexml/parsers/baseparser.rb#214 def pull_event; end end -# source://rexml//lib/rexml/parsers/baseparser.rb#102 +# source://rexml//lib/rexml/parsers/baseparser.rb#113 REXML::Parsers::BaseParser::EXTERNAL_ID_PUBLIC = T.let(T.unsafe(nil), Regexp) -# source://rexml//lib/rexml/parsers/baseparser.rb#103 +# source://rexml//lib/rexml/parsers/baseparser.rb#114 REXML::Parsers::BaseParser::EXTERNAL_ID_SYSTEM = T.let(T.unsafe(nil), Regexp) -# source://rexml//lib/rexml/parsers/baseparser.rb#104 +# source://rexml//lib/rexml/parsers/baseparser.rb#115 REXML::Parsers::BaseParser::PUBLIC_ID = T.let(T.unsafe(nil), Regexp) -# source://rexml//lib/rexml/parsers/baseparser.rb#115 +# source://rexml//lib/rexml/parsers/baseparser.rb#126 module REXML::Parsers::BaseParser::Private; end -# source://rexml//lib/rexml/parsers/baseparser.rb#119 +# source://rexml//lib/rexml/parsers/baseparser.rb#130 REXML::Parsers::BaseParser::Private::ATTLISTDECL_END = T.let(T.unsafe(nil), Regexp) -# source://rexml//lib/rexml/parsers/baseparser.rb#118 +# source://rexml//lib/rexml/parsers/baseparser.rb#129 REXML::Parsers::BaseParser::Private::CLOSE_PATTERN = T.let(T.unsafe(nil), Regexp) -# source://rexml//lib/rexml/parsers/baseparser.rb#123 +# source://rexml//lib/rexml/parsers/baseparser.rb#134 REXML::Parsers::BaseParser::Private::ENTITYDECL_PATTERN = T.let(T.unsafe(nil), Regexp) -# source://rexml//lib/rexml/parsers/baseparser.rb#121 +# source://rexml//lib/rexml/parsers/baseparser.rb#132 REXML::Parsers::BaseParser::Private::GEDECL_PATTERN = T.let(T.unsafe(nil), String) -# source://rexml//lib/rexml/parsers/baseparser.rb#116 +# source://rexml//lib/rexml/parsers/baseparser.rb#127 REXML::Parsers::BaseParser::Private::INSTRUCTION_END = T.let(T.unsafe(nil), Regexp) -# source://rexml//lib/rexml/parsers/baseparser.rb#120 +# source://rexml//lib/rexml/parsers/baseparser.rb#131 REXML::Parsers::BaseParser::Private::NAME_PATTERN = T.let(T.unsafe(nil), Regexp) -# source://rexml//lib/rexml/parsers/baseparser.rb#122 +# source://rexml//lib/rexml/parsers/baseparser.rb#133 REXML::Parsers::BaseParser::Private::PEDECL_PATTERN = T.let(T.unsafe(nil), String) -# source://rexml//lib/rexml/parsers/baseparser.rb#117 +# source://rexml//lib/rexml/parsers/baseparser.rb#128 REXML::Parsers::BaseParser::Private::TAG_PATTERN = T.let(T.unsafe(nil), Regexp) -# source://rexml//lib/rexml/parsers/baseparser.rb#38 +# source://rexml//lib/rexml/parsers/baseparser.rb#49 REXML::Parsers::BaseParser::QNAME = T.let(T.unsafe(nil), Regexp) -# source://rexml//lib/rexml/parsers/baseparser.rb#37 +# source://rexml//lib/rexml/parsers/baseparser.rb#48 REXML::Parsers::BaseParser::QNAME_STR = T.let(T.unsafe(nil), String) # source://rexml//lib/rexml/parsers/streamparser.rb#6 @@ -4327,6 +4327,7 @@ end # source://rexml//lib/rexml/source.rb#31 class REXML::Source include ::REXML::Encoding + include ::REXML::Source::Private # Constructor # value, overriding all encoding detection @@ -4335,25 +4336,25 @@ class REXML::Source # @param encoding if non-null, sets the encoding of the source to this # @return [Source] a new instance of Source # - # source://rexml//lib/rexml/source.rb#41 + # source://rexml//lib/rexml/source.rb#51 def initialize(arg, encoding = T.unsafe(nil)); end # The current buffer (what we're going to read next) # - # source://rexml//lib/rexml/source.rb#53 + # source://rexml//lib/rexml/source.rb#63 def buffer; end - # source://rexml//lib/rexml/source.rb#57 + # source://rexml//lib/rexml/source.rb#67 def buffer_encoding=(encoding); end # @return the current line in the source # - # source://rexml//lib/rexml/source.rb#100 + # source://rexml//lib/rexml/source.rb#116 def current_line; end # @return [Boolean] true if the Source is exhausted # - # source://rexml//lib/rexml/source.rb#95 + # source://rexml//lib/rexml/source.rb#111 def empty?; end # Returns the value of attribute encoding. @@ -4364,10 +4365,10 @@ class REXML::Source # Inherited from Encoding # Overridden to support optimized en/decoding # - # source://rexml//lib/rexml/source.rb#63 + # source://rexml//lib/rexml/source.rb#73 def encoding=(enc); end - # source://rexml//lib/rexml/source.rb#75 + # source://rexml//lib/rexml/source.rb#91 def ensure_buffer; end # The line number of the last consumed text @@ -4375,30 +4376,36 @@ class REXML::Source # source://rexml//lib/rexml/source.rb#34 def line; end - # source://rexml//lib/rexml/source.rb#78 + # source://rexml//lib/rexml/source.rb#94 def match(pattern, cons = T.unsafe(nil)); end - # source://rexml//lib/rexml/source.rb#86 + # source://rexml//lib/rexml/source.rb#102 def position; end - # source://rexml//lib/rexml/source.rb#90 + # source://rexml//lib/rexml/source.rb#106 def position=(pos); end - # source://rexml//lib/rexml/source.rb#68 + # source://rexml//lib/rexml/source.rb#78 def read(term = T.unsafe(nil)); end - # source://rexml//lib/rexml/source.rb#71 + # source://rexml//lib/rexml/source.rb#81 def read_until(term); end private - # source://rexml//lib/rexml/source.rb#109 + # source://rexml//lib/rexml/source.rb#125 def detect_encoding; end - # source://rexml//lib/rexml/source.rb#127 + # source://rexml//lib/rexml/source.rb#143 def encoding_updated; end end +# source://rexml//lib/rexml/source.rb#37 +module REXML::Source::Private; end + +# source://rexml//lib/rexml/source.rb#38 +REXML::Source::Private::PRE_DEFINED_TERM_PATTERNS = T.let(T.unsafe(nil), Hash) + # Represents text nodes in an XML document # # source://rexml//lib/rexml/text.rb#11 diff --git a/sorbet/rbi/gems/rubocop-capybara@2.20.0.rbi b/sorbet/rbi/gems/rubocop-capybara@2.21.0.rbi similarity index 98% rename from sorbet/rbi/gems/rubocop-capybara@2.20.0.rbi rename to sorbet/rbi/gems/rubocop-capybara@2.21.0.rbi index 58bd00f91..b142f2899 100644 --- a/sorbet/rbi/gems/rubocop-capybara@2.20.0.rbi +++ b/sorbet/rbi/gems/rubocop-capybara@2.21.0.rbi @@ -4,6 +4,7 @@ # This is an autogenerated file for types exported from the `rubocop-capybara` gem. # Please instead update this file by running `bin/tapioca gem rubocop-capybara`. + # source://rubocop-capybara//lib/rubocop/cop/capybara/mixin/capybara_help.rb#3 module RuboCop; end @@ -601,19 +602,19 @@ RuboCop::Cop::Capybara::MatchStyle::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Arra # # @example EnforcedStyle: have_no (default) # # bad -# expect(page).not_to have_selector +# expect(page).not_to have_selector 'a' # expect(page).not_to have_css('a') # # # good -# expect(page).to have_no_selector +# expect(page).to have_no_selector 'a' # expect(page).to have_no_css('a') # @example EnforcedStyle: not_to # # bad -# expect(page).to have_no_selector +# expect(page).to have_no_selector 'a' # expect(page).to have_no_css('a') # # # good -# expect(page).not_to have_selector +# expect(page).not_to have_selector 'a' # expect(page).not_to have_css('a') # # source://rubocop-capybara//lib/rubocop/cop/capybara/negation_matcher.rb#26 @@ -632,7 +633,7 @@ class RuboCop::Cop::Capybara::NegationMatcher < ::RuboCop::Cop::Base private - # source://rubocop-capybara//lib/rubocop/cop/capybara/negation_matcher.rb#78 + # source://rubocop-capybara//lib/rubocop/cop/capybara/negation_matcher.rb#79 def message(matcher); end # @return [Boolean] @@ -640,13 +641,13 @@ class RuboCop::Cop::Capybara::NegationMatcher < ::RuboCop::Cop::Base # source://rubocop-capybara//lib/rubocop/cop/capybara/negation_matcher.rb#69 def offense?(node); end - # source://rubocop-capybara//lib/rubocop/cop/capybara/negation_matcher.rb#74 + # source://rubocop-capybara//lib/rubocop/cop/capybara/negation_matcher.rb#75 def offense_range(node); end - # source://rubocop-capybara//lib/rubocop/cop/capybara/negation_matcher.rb#93 + # source://rubocop-capybara//lib/rubocop/cop/capybara/negation_matcher.rb#94 def replaced_matcher(matcher); end - # source://rubocop-capybara//lib/rubocop/cop/capybara/negation_matcher.rb#84 + # source://rubocop-capybara//lib/rubocop/cop/capybara/negation_matcher.rb#85 def replaced_runner; end end @@ -1024,69 +1025,73 @@ RuboCop::Cop::Capybara::SpecificActions::SPECIFIC_ACTION = T.let(T.unsafe(nil), # find('#some-id') # find('[id=some-id]') # find(:css, '#some-id') +# find(:id, 'some-id') # # # good # find_by_id('some-id') # -# source://rubocop-capybara//lib/rubocop/cop/capybara/specific_finders.rb#17 +# source://rubocop-capybara//lib/rubocop/cop/capybara/specific_finders.rb#18 class RuboCop::Cop::Capybara::SpecificFinders < ::RuboCop::Cop::Base include ::RuboCop::Cop::RangeHelp extend ::RuboCop::Cop::AutoCorrector - # source://rubocop-capybara//lib/rubocop/cop/capybara/specific_finders.rb#30 + # source://rubocop-capybara//lib/rubocop/cop/capybara/specific_finders.rb#31 def class_options(param0); end - # source://rubocop-capybara//lib/rubocop/cop/capybara/specific_finders.rb#25 + # source://rubocop-capybara//lib/rubocop/cop/capybara/specific_finders.rb#26 def find_argument(param0 = T.unsafe(nil)); end - # source://rubocop-capybara//lib/rubocop/cop/capybara/specific_finders.rb#34 + # source://rubocop-capybara//lib/rubocop/cop/capybara/specific_finders.rb#35 def on_send(node); end private - # source://rubocop-capybara//lib/rubocop/cop/capybara/specific_finders.rb#93 + # source://rubocop-capybara//lib/rubocop/cop/capybara/specific_finders.rb#99 def append_options(classes, options); end # @return [Boolean] # - # source://rubocop-capybara//lib/rubocop/cop/capybara/specific_finders.rb#62 + # source://rubocop-capybara//lib/rubocop/cop/capybara/specific_finders.rb#68 def attribute?(arg); end - # source://rubocop-capybara//lib/rubocop/cop/capybara/specific_finders.rb#83 + # source://rubocop-capybara//lib/rubocop/cop/capybara/specific_finders.rb#89 def autocorrect_classes(corrector, node, classes); end - # source://rubocop-capybara//lib/rubocop/cop/capybara/specific_finders.rb#78 + # source://rubocop-capybara//lib/rubocop/cop/capybara/specific_finders.rb#84 def deletion_range(node); end - # source://rubocop-capybara//lib/rubocop/cop/capybara/specific_finders.rb#120 + # source://rubocop-capybara//lib/rubocop/cop/capybara/specific_finders.rb#126 def end_pos(node); end - # source://rubocop-capybara//lib/rubocop/cop/capybara/specific_finders.rb#98 + # source://rubocop-capybara//lib/rubocop/cop/capybara/specific_finders.rb#104 def keyword_argument_class(classes); end - # source://rubocop-capybara//lib/rubocop/cop/capybara/specific_finders.rb#116 + # source://rubocop-capybara//lib/rubocop/cop/capybara/specific_finders.rb#122 def offense_range(node); end - # source://rubocop-capybara//lib/rubocop/cop/capybara/specific_finders.rb#46 + # source://rubocop-capybara//lib/rubocop/cop/capybara/specific_finders.rb#48 def on_attr(node, sym, arg); end - # source://rubocop-capybara//lib/rubocop/cop/capybara/specific_finders.rb#54 + # source://rubocop-capybara//lib/rubocop/cop/capybara/specific_finders.rb#56 def on_id(node, sym, arg); end - # source://rubocop-capybara//lib/rubocop/cop/capybara/specific_finders.rb#67 + # source://rubocop-capybara//lib/rubocop/cop/capybara/specific_finders.rb#64 + def on_sym_id(node, sym, id); end + + # source://rubocop-capybara//lib/rubocop/cop/capybara/specific_finders.rb#73 def register_offense(node, sym, id, classes = T.unsafe(nil)); end - # source://rubocop-capybara//lib/rubocop/cop/capybara/specific_finders.rb#103 + # source://rubocop-capybara//lib/rubocop/cop/capybara/specific_finders.rb#109 def replaced_arguments(arg, id); end - # source://rubocop-capybara//lib/rubocop/cop/capybara/specific_finders.rb#108 + # source://rubocop-capybara//lib/rubocop/cop/capybara/specific_finders.rb#114 def to_options(attrs); end end -# source://rubocop-capybara//lib/rubocop/cop/capybara/specific_finders.rb#21 +# source://rubocop-capybara//lib/rubocop/cop/capybara/specific_finders.rb#22 RuboCop::Cop::Capybara::SpecificFinders::MSG = T.let(T.unsafe(nil), String) -# source://rubocop-capybara//lib/rubocop/cop/capybara/specific_finders.rb#22 +# source://rubocop-capybara//lib/rubocop/cop/capybara/specific_finders.rb#23 RuboCop::Cop::Capybara::SpecificFinders::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Checks for there is a more specific matcher offered by Capybara. @@ -1109,7 +1114,7 @@ RuboCop::Cop::Capybara::SpecificFinders::RESTRICT_ON_SEND = T.let(T.unsafe(nil), # expect(page).to have_no_link('foo', class: 'cls', href: 'http://example.com') # expect(page).to have_table(class: 'cls') # expect(page).to have_select -# expect(page).to have_field('foo') +# expect(page).to have_field(with: 'foo') # # source://rubocop-capybara//lib/rubocop/cop/capybara/specific_matcher.rb#28 class RuboCop::Cop::Capybara::SpecificMatcher < ::RuboCop::Cop::Base diff --git a/sorbet/rbi/gems/rubocop-factory_bot@2.25.1.rbi b/sorbet/rbi/gems/rubocop-factory_bot@2.26.0.rbi similarity index 98% rename from sorbet/rbi/gems/rubocop-factory_bot@2.25.1.rbi rename to sorbet/rbi/gems/rubocop-factory_bot@2.26.0.rbi index 2f5d5df21..beb850ff0 100644 --- a/sorbet/rbi/gems/rubocop-factory_bot@2.25.1.rbi +++ b/sorbet/rbi/gems/rubocop-factory_bot@2.26.0.rbi @@ -4,6 +4,7 @@ # This is an autogenerated file for types exported from the `rubocop-factory_bot` gem. # Please instead update this file by running `bin/tapioca gem rubocop-factory_bot`. + # source://rubocop-factory_bot//lib/rubocop/factory_bot/factory_bot.rb#3 module RuboCop; end @@ -70,87 +71,87 @@ class RuboCop::Cop::FactoryBot::AssociationStyle < ::RuboCop::Cop::Base include ::RuboCop::Cop::ConfigurableEnforcedStyle extend ::RuboCop::Cop::AutoCorrector - # source://rubocop-factory_bot//lib/rubocop/cop/factory_bot/association_style.rb#139 + # source://rubocop-factory_bot//lib/rubocop/cop/factory_bot/association_style.rb#140 def association_names(param0); end - # source://rubocop-factory_bot//lib/rubocop/cop/factory_bot/association_style.rb#96 + # source://rubocop-factory_bot//lib/rubocop/cop/factory_bot/association_style.rb#97 def explicit_association?(param0 = T.unsafe(nil)); end - # source://rubocop-factory_bot//lib/rubocop/cop/factory_bot/association_style.rb#113 + # source://rubocop-factory_bot//lib/rubocop/cop/factory_bot/association_style.rb#114 def factory_option_matcher(param0 = T.unsafe(nil)); end - # source://rubocop-factory_bot//lib/rubocop/cop/factory_bot/association_style.rb#108 + # source://rubocop-factory_bot//lib/rubocop/cop/factory_bot/association_style.rb#109 def implicit_association?(param0 = T.unsafe(nil)); end - # source://rubocop-factory_bot//lib/rubocop/cop/factory_bot/association_style.rb#82 + # source://rubocop-factory_bot//lib/rubocop/cop/factory_bot/association_style.rb#83 def on_send(node); end - # source://rubocop-factory_bot//lib/rubocop/cop/factory_bot/association_style.rb#144 + # source://rubocop-factory_bot//lib/rubocop/cop/factory_bot/association_style.rb#145 def trait_name(param0); end - # source://rubocop-factory_bot//lib/rubocop/cop/factory_bot/association_style.rb#134 + # source://rubocop-factory_bot//lib/rubocop/cop/factory_bot/association_style.rb#135 def trait_names_from_explicit(param0 = T.unsafe(nil)); end - # source://rubocop-factory_bot//lib/rubocop/cop/factory_bot/association_style.rb#101 + # source://rubocop-factory_bot//lib/rubocop/cop/factory_bot/association_style.rb#102 def with_strategy_build_option?(param0 = T.unsafe(nil)); end private - # source://rubocop-factory_bot//lib/rubocop/cop/factory_bot/association_style.rb#148 + # source://rubocop-factory_bot//lib/rubocop/cop/factory_bot/association_style.rb#149 def autocorrect(corrector, node); end - # source://rubocop-factory_bot//lib/rubocop/cop/factory_bot/association_style.rb#156 + # source://rubocop-factory_bot//lib/rubocop/cop/factory_bot/association_style.rb#157 def autocorrect_to_explicit_style(corrector, node); end - # source://rubocop-factory_bot//lib/rubocop/cop/factory_bot/association_style.rb#164 + # source://rubocop-factory_bot//lib/rubocop/cop/factory_bot/association_style.rb#165 def autocorrect_to_implicit_style(corrector, node); end # @return [Boolean] # - # source://rubocop-factory_bot//lib/rubocop/cop/factory_bot/association_style.rb#174 + # source://rubocop-factory_bot//lib/rubocop/cop/factory_bot/association_style.rb#175 def bad?(node); end - # source://rubocop-factory_bot//lib/rubocop/cop/factory_bot/association_style.rb#195 + # source://rubocop-factory_bot//lib/rubocop/cop/factory_bot/association_style.rb#196 def bad_associations_in(node); end - # source://rubocop-factory_bot//lib/rubocop/cop/factory_bot/association_style.rb#201 + # source://rubocop-factory_bot//lib/rubocop/cop/factory_bot/association_style.rb#202 def children_of_factory_block(node); end - # source://rubocop-factory_bot//lib/rubocop/cop/factory_bot/association_style.rb#213 + # source://rubocop-factory_bot//lib/rubocop/cop/factory_bot/association_style.rb#214 def factory_names_from_explicit(node); end # @return [Boolean] # - # source://rubocop-factory_bot//lib/rubocop/cop/factory_bot/association_style.rb#185 + # source://rubocop-factory_bot//lib/rubocop/cop/factory_bot/association_style.rb#186 def keyword?(node); end # @return [Boolean] # - # source://rubocop-factory_bot//lib/rubocop/cop/factory_bot/association_style.rb#223 + # source://rubocop-factory_bot//lib/rubocop/cop/factory_bot/association_style.rb#224 def non_implicit_association_method_name?(method_name); end - # source://rubocop-factory_bot//lib/rubocop/cop/factory_bot/association_style.rb#227 + # source://rubocop-factory_bot//lib/rubocop/cop/factory_bot/association_style.rb#228 def non_implicit_association_method_names; end - # source://rubocop-factory_bot//lib/rubocop/cop/factory_bot/association_style.rb#240 + # source://rubocop-factory_bot//lib/rubocop/cop/factory_bot/association_style.rb#241 def options_for_autocorrect_to_implicit_style(node); end - # source://rubocop-factory_bot//lib/rubocop/cop/factory_bot/association_style.rb#232 + # source://rubocop-factory_bot//lib/rubocop/cop/factory_bot/association_style.rb#233 def options_from_explicit(node); end # @return [Boolean] # - # source://rubocop-factory_bot//lib/rubocop/cop/factory_bot/association_style.rb#249 + # source://rubocop-factory_bot//lib/rubocop/cop/factory_bot/association_style.rb#250 def trait_within_trait?(node); end end # source://rubocop-factory_bot//lib/rubocop/cop/factory_bot/association_style.rb#68 RuboCop::Cop::FactoryBot::AssociationStyle::DEFAULT_NON_IMPLICIT_ASSOCIATION_METHOD_NAMES = T.let(T.unsafe(nil), Array) -# source://rubocop-factory_bot//lib/rubocop/cop/factory_bot/association_style.rb#76 +# source://rubocop-factory_bot//lib/rubocop/cop/factory_bot/association_style.rb#77 RuboCop::Cop::FactoryBot::AssociationStyle::KEYWORDS = T.let(T.unsafe(nil), Array) -# source://rubocop-factory_bot//lib/rubocop/cop/factory_bot/association_style.rb#75 +# source://rubocop-factory_bot//lib/rubocop/cop/factory_bot/association_style.rb#76 RuboCop::Cop::FactoryBot::AssociationStyle::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array) # Always declare attribute values as blocks. diff --git a/sorbet/rbi/gems/rubocop-rspec@2.30.0.rbi b/sorbet/rbi/gems/rubocop-rspec@2.31.0.rbi similarity index 100% rename from sorbet/rbi/gems/rubocop-rspec@2.30.0.rbi rename to sorbet/rbi/gems/rubocop-rspec@2.31.0.rbi diff --git a/sorbet/rbi/gems/rubocop-rspec_rails@2.28.3.rbi b/sorbet/rbi/gems/rubocop-rspec_rails@2.29.0.rbi similarity index 92% rename from sorbet/rbi/gems/rubocop-rspec_rails@2.28.3.rbi rename to sorbet/rbi/gems/rubocop-rspec_rails@2.29.0.rbi index 74087433e..d72f639dd 100644 --- a/sorbet/rbi/gems/rubocop-rspec_rails@2.28.3.rbi +++ b/sorbet/rbi/gems/rubocop-rspec_rails@2.29.0.rbi @@ -768,133 +768,133 @@ RuboCop::Cop::RSpecRails::TravelAround::TRAVEL_METHOD_NAMES = T.let(T.unsafe(nil # source://rubocop-rspec_rails//lib/rubocop-rspec_rails.rb#24 class RuboCop::Cop::Registry - # source://rubocop/1.63.4/lib/rubocop/cop/registry.rb#51 + # source://rubocop/1.64.1/lib/rubocop/cop/registry.rb#51 def initialize(cops = T.unsafe(nil), options = T.unsafe(nil)); end - # source://rubocop/1.63.4/lib/rubocop/cop/registry.rb#232 + # source://rubocop/1.64.1/lib/rubocop/cop/registry.rb#232 def ==(other); end - # source://rubocop/1.63.4/lib/rubocop/cop/registry.rb#97 + # source://rubocop/1.64.1/lib/rubocop/cop/registry.rb#97 def contains_cop_matching?(names); end - # source://rubocop/1.63.4/lib/rubocop/cop/registry.rb#179 + # source://rubocop/1.64.1/lib/rubocop/cop/registry.rb#179 def cops; end - # source://rubocop/1.63.4/lib/rubocop/cop/registry.rb#224 + # source://rubocop/1.64.1/lib/rubocop/cop/registry.rb#224 def cops_for_department(department); end - # source://rubocop/1.63.4/lib/rubocop/cop/registry.rb#93 + # source://rubocop/1.64.1/lib/rubocop/cop/registry.rb#93 def department?(name); end - # source://rubocop/1.63.4/lib/rubocop/cop/registry.rb#147 + # source://rubocop/1.64.1/lib/rubocop/cop/registry.rb#147 def department_missing?(badge, name); end - # source://rubocop/1.63.4/lib/rubocop/cop/registry.rb#72 + # source://rubocop/1.64.1/lib/rubocop/cop/registry.rb#72 def departments; end - # source://rubocop/1.63.4/lib/rubocop/cop/registry.rb#193 + # source://rubocop/1.64.1/lib/rubocop/cop/registry.rb#193 def disabled(config); end - # source://rubocop/1.63.4/lib/rubocop/cop/registry.rb#67 + # source://rubocop/1.64.1/lib/rubocop/cop/registry.rb#67 def dismiss(cop); end - # source://rubocop/1.63.4/lib/rubocop/cop/registry.rb#247 + # source://rubocop/1.64.1/lib/rubocop/cop/registry.rb#247 def each(&block); end - # source://rubocop/1.63.4/lib/rubocop/cop/registry.rb#189 + # source://rubocop/1.64.1/lib/rubocop/cop/registry.rb#189 def enabled(config); end - # source://rubocop/1.63.4/lib/rubocop/cop/registry.rb#197 + # source://rubocop/1.64.1/lib/rubocop/cop/registry.rb#197 def enabled?(cop, config); end - # source://rubocop/1.63.4/lib/rubocop/cop/registry.rb#213 + # source://rubocop/1.64.1/lib/rubocop/cop/registry.rb#213 def enabled_pending_cop?(cop_cfg, config); end - # source://rubocop/1.63.4/lib/rubocop/cop/registry.rb#63 + # source://rubocop/1.64.1/lib/rubocop/cop/registry.rb#63 def enlist(cop); end - # source://rubocop/1.63.4/lib/rubocop/cop/registry.rb#253 + # source://rubocop/1.64.1/lib/rubocop/cop/registry.rb#253 def find_by_cop_name(cop_name); end - # source://rubocop/1.63.4/lib/rubocop/cop/registry.rb#260 + # source://rubocop/1.64.1/lib/rubocop/cop/registry.rb#260 def find_cops_by_directive(directive); end - # source://rubocop/1.63.4/lib/rubocop/cop/registry.rb#265 + # source://rubocop/1.64.1/lib/rubocop/cop/registry.rb#265 def freeze; end - # source://rubocop/1.63.4/lib/rubocop/cop/registry.rb#184 + # source://rubocop/1.64.1/lib/rubocop/cop/registry.rb#184 def length; end - # source://rubocop/1.63.4/lib/rubocop/cop/registry.rb#220 + # source://rubocop/1.64.1/lib/rubocop/cop/registry.rb#220 def names; end - # source://rubocop/1.63.4/lib/rubocop/cop/registry.rb#228 + # source://rubocop/1.64.1/lib/rubocop/cop/registry.rb#228 def names_for_department(department); end - # source://rubocop/1.63.4/lib/rubocop/cop/registry.rb#49 + # source://rubocop/1.64.1/lib/rubocop/cop/registry.rb#49 def options; end - # source://rubocop/1.63.4/lib/rubocop/cop/registry.rb#151 + # source://rubocop/1.64.1/lib/rubocop/cop/registry.rb#151 def print_warning(name, path); end # source://rubocop-rspec_rails//lib/rubocop-rspec_rails.rb#26 def qualified_cop_name(name, path, warn: T.unsafe(nil)); end - # source://rubocop/1.63.4/lib/rubocop/cop/registry.rb#166 + # source://rubocop/1.64.1/lib/rubocop/cop/registry.rb#166 def qualify_badge(badge); end - # source://rubocop/1.63.4/lib/rubocop/cop/registry.rb#243 + # source://rubocop/1.64.1/lib/rubocop/cop/registry.rb#243 def select(&block); end - # source://rubocop/1.63.4/lib/rubocop/cop/registry.rb#236 + # source://rubocop/1.64.1/lib/rubocop/cop/registry.rb#236 def sort!; end - # source://rubocop/1.63.4/lib/rubocop/cop/registry.rb#174 + # source://rubocop/1.64.1/lib/rubocop/cop/registry.rb#174 def to_h; end - # source://rubocop/1.63.4/lib/rubocop/cop/registry.rb#159 + # source://rubocop/1.64.1/lib/rubocop/cop/registry.rb#159 def unqualified_cop_names; end - # source://rubocop/1.63.4/lib/rubocop/cop/registry.rb#78 + # source://rubocop/1.64.1/lib/rubocop/cop/registry.rb#78 def with_department(department); end - # source://rubocop/1.63.4/lib/rubocop/cop/registry.rb#84 + # source://rubocop/1.64.1/lib/rubocop/cop/registry.rb#84 def without_department(department); end private - # source://rubocop/1.63.4/lib/rubocop/cop/registry.rb#283 + # source://rubocop/1.64.1/lib/rubocop/cop/registry.rb#283 def clear_enrollment_queue; end - # source://rubocop/1.63.4/lib/rubocop/cop/registry.rb#279 + # source://rubocop/1.64.1/lib/rubocop/cop/registry.rb#279 def initialize_copy(reg); end - # source://rubocop/1.63.4/lib/rubocop/cop/registry.rb#309 + # source://rubocop/1.64.1/lib/rubocop/cop/registry.rb#309 def registered?(badge); end - # source://rubocop/1.63.4/lib/rubocop/cop/registry.rb#299 + # source://rubocop/1.64.1/lib/rubocop/cop/registry.rb#299 def resolve_badge(given_badge, real_badge, source_path); end - # source://rubocop/1.63.4/lib/rubocop/cop/registry.rb#295 + # source://rubocop/1.64.1/lib/rubocop/cop/registry.rb#295 def with(cops); end class << self - # source://rubocop/1.63.4/lib/rubocop/cop/registry.rb#22 + # source://rubocop/1.64.1/lib/rubocop/cop/registry.rb#22 def all; end - # source://rubocop/1.63.4/lib/rubocop/cop/registry.rb#274 + # source://rubocop/1.64.1/lib/rubocop/cop/registry.rb#274 def global; end - # source://rubocop/1.63.4/lib/rubocop/cop/registry.rb#44 + # source://rubocop/1.64.1/lib/rubocop/cop/registry.rb#44 def qualified_cop?(name); end - # source://rubocop/1.63.4/lib/rubocop/cop/registry.rb#26 + # source://rubocop/1.64.1/lib/rubocop/cop/registry.rb#26 def qualified_cop_name(name, origin); end - # source://rubocop/1.63.4/lib/rubocop/cop/registry.rb#40 + # source://rubocop/1.64.1/lib/rubocop/cop/registry.rb#40 def reset!; end - # source://rubocop/1.63.4/lib/rubocop/cop/registry.rb#32 + # source://rubocop/1.64.1/lib/rubocop/cop/registry.rb#32 def with_temporary_global(temp_global = T.unsafe(nil)); end end end From 4319ed64c8bdb50f146a05ce506f65dae3f0e679 Mon Sep 17 00:00:00 2001 From: Kaan Ozkan Date: Mon, 10 Jun 2024 17:57:10 -0400 Subject: [PATCH 3/3] Update test expectations due to prism bump --- spec/tapioca/cli/annotations_spec.rb | 2 +- spec/tapioca/cli/check_shims_spec.rb | 2 +- spec/tapioca/cli/gem_spec.rb | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/spec/tapioca/cli/annotations_spec.rb b/spec/tapioca/cli/annotations_spec.rb index 4a6b64d8f..26bd57de1 100644 --- a/spec/tapioca/cli/annotations_spec.rb +++ b/spec/tapioca/cli/annotations_spec.rb @@ -148,7 +148,7 @@ class AnnotationForSpoom assert_stderr_includes(result, <<~ERR) Can't import RBI file for `spoom` as it contains errors: - Error: unexpected end of file, assuming it is closing the parent top level context. expected an `end` to close the `class` statement. (-:4:0) + Error: unexpected end-of-input, assuming it is closing the parent top level context. expected an `end` to close the `class` statement. (-:4:0) ERR refute_includes(result.out, "create sorbet/rbi/annotations/spoom.rbi") diff --git a/spec/tapioca/cli/check_shims_spec.rb b/spec/tapioca/cli/check_shims_spec.rb index 0f0ee171b..91ea1518c 100644 --- a/spec/tapioca/cli/check_shims_spec.rb +++ b/spec/tapioca/cli/check_shims_spec.rb @@ -522,7 +522,7 @@ def foo; end assert_stderr_equals(<<~ERR, result) - Warning: unexpected end of file, assuming it is closing the parent top level context. expected an `end` to close the `class` statement. (sorbet/rbi/shims/foo.rbi:2:0) + Warning: unexpected end-of-input, assuming it is closing the parent top level context. expected an `end` to close the `class` statement. (sorbet/rbi/shims/foo.rbi:2:0) Duplicated RBI for ::Foo#foo: * sorbet/rbi/shims/bar.rbi:2:2-2:14 diff --git a/spec/tapioca/cli/gem_spec.rb b/spec/tapioca/cli/gem_spec.rb index 5a0622351..ce0fbc58f 100644 --- a/spec/tapioca/cli/gem_spec.rb +++ b/spec/tapioca/cli/gem_spec.rb @@ -430,8 +430,8 @@ module Foo # Syntax error assert_stderr_includes(result, "RBIs exported by `foo` contain errors and can't be used:") assert_stderr_includes( result, - "unexpected end of file, assuming it is closing the parent top level context. expected an `end` to close " \ - "the `module` statement.", + "unexpected end-of-input, assuming it is closing the parent top level context. expected an `end` to " \ + "close the `module` statement.", ) assert_stderr_includes(result, "foo/rbi/foo.rbi:2:0")