From 9d32fa443e28bc647200c1cee0a21406c2178b4e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 1 Nov 2024 04:04:46 +0000 Subject: [PATCH 1/2] Bump rubocop from 1.65.1 to 1.68.0 Bumps [rubocop](https://github.com/rubocop/rubocop) from 1.65.1 to 1.68.0. - [Release notes](https://github.com/rubocop/rubocop/releases) - [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md) - [Commits](https://github.com/rubocop/rubocop/compare/v1.65.1...v1.68.0) --- updated-dependencies: - dependency-name: rubocop dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- Gemfile.lock | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index 261e377b..f04fa7e5 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -105,7 +105,7 @@ GEM rake rdoc semver2 - json (2.7.2) + json (2.7.5) jwt (2.7.1) kramdown (2.4.0) rexml @@ -138,7 +138,7 @@ GEM parser rainbow (~> 3.0) sorbet-runtime (>= 0.5) - parser (3.3.4.0) + parser (3.3.5.1) ast (~> 2.4.1) racc pg (1.5.7) @@ -185,8 +185,7 @@ GEM regexp_parser (2.9.2) reline (0.5.0) io-console (~> 0.5) - rexml (3.3.4) - strscan + rexml (3.3.9) rspec (3.13.0) rspec-core (~> 3.13.0) rspec-expectations (~> 3.13.0) @@ -200,18 +199,17 @@ GEM diff-lcs (>= 1.2.0, < 2.0) rspec-support (~> 3.13.0) rspec-support (3.13.1) - rubocop (1.65.1) + rubocop (1.68.0) json (~> 2.3) language_server-protocol (>= 3.17.0) parallel (~> 1.10) parser (>= 3.3.0.2) rainbow (>= 2.2.2, < 4.0) regexp_parser (>= 2.4, < 3.0) - rexml (>= 3.2.5, < 4.0) - rubocop-ast (>= 1.31.1, < 2.0) + rubocop-ast (>= 1.32.2, < 2.0) ruby-progressbar (~> 1.7) unicode-display_width (>= 2.4.0, < 3.0) - rubocop-ast (1.31.3) + rubocop-ast (1.33.0) parser (>= 3.3.1.0) rubocop-sorbet (0.8.5) rubocop (>= 1) @@ -256,7 +254,6 @@ GEM sqlite3 (1.7.3-x86_64-darwin) sqlite3 (1.7.3-x86_64-linux) stringio (3.1.0) - strscan (3.1.0) sync (0.5.0) term-ansicolor (1.7.1) tins (~> 1.0) @@ -268,7 +265,7 @@ GEM sync tzinfo (2.0.6) concurrent-ruby (~> 1.0) - unicode-display_width (2.5.0) + unicode-display_width (2.6.0) unparser (0.6.15) diff-lcs (~> 1.3) parser (>= 3.3.0) From c76aab7877ff74a0179d5bb6a5f2f2c4882656a4 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" Date: Fri, 1 Nov 2024 04:05:12 +0000 Subject: [PATCH 2/2] Update RBIs [dependabot skip] --- sorbet/rbi/gems/{json@2.7.2.rbi => json@2.7.5.rbi} | 13 +++++++++++-- .../gems/{parser@3.3.4.0.rbi => parser@3.3.5.1.rbi} | 1 + .../rbi/gems/{rexml@3.3.4.rbi => rexml@3.3.9.rbi} | 13 +++++++++++-- ...ubocop-ast@1.31.3.rbi => rubocop-ast@1.33.0.rbi} | 1 + sorbet/rbi/gems/strscan@3.1.0.rbi | 8 -------- ...th@2.5.0.rbi => unicode-display_width@2.6.0.rbi} | 1 + 6 files changed, 25 insertions(+), 12 deletions(-) rename sorbet/rbi/gems/{json@2.7.2.rbi => json@2.7.5.rbi} (93%) rename sorbet/rbi/gems/{parser@3.3.4.0.rbi => parser@3.3.5.1.rbi} (99%) rename sorbet/rbi/gems/{rexml@3.3.4.rbi => rexml@3.3.9.rbi} (88%) rename sorbet/rbi/gems/{rubocop-ast@1.31.3.rbi => rubocop-ast@1.33.0.rbi} (99%) delete mode 100644 sorbet/rbi/gems/strscan@3.1.0.rbi rename sorbet/rbi/gems/{unicode-display_width@2.5.0.rbi => unicode-display_width@2.6.0.rbi} (99%) diff --git a/sorbet/rbi/gems/json@2.7.2.rbi b/sorbet/rbi/gems/json@2.7.5.rbi similarity index 93% rename from sorbet/rbi/gems/json@2.7.2.rbi rename to sorbet/rbi/gems/json@2.7.5.rbi index c86dc6b1..434ee64f 100644 --- a/sorbet/rbi/gems/json@2.7.2.rbi +++ b/sorbet/rbi/gems/json@2.7.5.rbi @@ -4,6 +4,7 @@ # This is an autogenerated file for types exported from the `json` gem. # Please instead update this file by running `bin/tapioca gem json`. + class Class < ::Module def json_creatable?; end end @@ -66,8 +67,16 @@ module JSON end end -JSON::CREATE_ID_TLS_KEY = T.let(T.unsafe(nil), String) -JSON::DEFAULT_CREATE_ID = T.let(T.unsafe(nil), String) +class JSON::Ext::Generator::State + def initialize(opts = T.unsafe(nil)); end + + def [](name); end + def []=(name, value); end + def configure(opts); end + def merge(opts); end + def to_h; end + def to_hash; end +end class JSON::GenericObject < ::OpenStruct def as_json(*_arg0); end diff --git a/sorbet/rbi/gems/parser@3.3.4.0.rbi b/sorbet/rbi/gems/parser@3.3.5.1.rbi similarity index 99% rename from sorbet/rbi/gems/parser@3.3.4.0.rbi rename to sorbet/rbi/gems/parser@3.3.5.1.rbi index 146c72eb..4dfd295f 100644 --- a/sorbet/rbi/gems/parser@3.3.4.0.rbi +++ b/sorbet/rbi/gems/parser@3.3.5.1.rbi @@ -4,6 +4,7 @@ # This is an autogenerated file for types exported from the `parser` gem. # Please instead update this file by running `bin/tapioca gem parser`. + module Parser class << self private diff --git a/sorbet/rbi/gems/rexml@3.3.4.rbi b/sorbet/rbi/gems/rexml@3.3.9.rbi similarity index 88% rename from sorbet/rbi/gems/rexml@3.3.4.rbi rename to sorbet/rbi/gems/rexml@3.3.9.rbi index a29e098a..5612f833 100644 --- a/sorbet/rbi/gems/rexml@3.3.4.rbi +++ b/sorbet/rbi/gems/rexml@3.3.9.rbi @@ -4,6 +4,7 @@ # This is an autogenerated file for types exported from the `rexml` gem. # Please instead update this file by running `bin/tapioca gem rexml`. + module REXML::Encoding def decode(string); end def encode(string); end @@ -53,6 +54,8 @@ class REXML::Parsers::BaseParser def empty?; end def entity(reference, entities); end def entity_expansion_count; end + def entity_expansion_limit=(_arg0); end + def entity_expansion_text_limit=(_arg0); end def has_next?; end def normalize(input, entities = T.unsafe(nil), entity_filter = T.unsafe(nil)); end def peek(depth = T.unsafe(nil)); end @@ -65,14 +68,17 @@ class REXML::Parsers::BaseParser private + def add_namespace(prefix, uri); end def need_source_encoding_update?(xml_declaration_encoding); end - def parse_attributes(prefixes, curr_ns); end + def parse_attributes(prefixes); end def parse_id(base_error_message, accept_external_id:, accept_public_id:); end def parse_id_invalid_details(accept_external_id:, accept_public_id:); end def parse_name(base_error_message); end + def pop_namespaces_restore; end def process_instruction; end def pull_event; end - def record_entity_expansion; end + def push_namespaces_restore; end + def record_entity_expansion(delta = T.unsafe(nil)); end end REXML::Parsers::BaseParser::EXTERNAL_ID_PUBLIC = T.let(T.unsafe(nil), Regexp) @@ -88,9 +94,12 @@ REXML::Parsers::BaseParser::Private::ENTITYDECL_PATTERN = T.let(T.unsafe(nil), R REXML::Parsers::BaseParser::Private::GEDECL_PATTERN = T.let(T.unsafe(nil), String) REXML::Parsers::BaseParser::Private::NAME_PATTERN = T.let(T.unsafe(nil), Regexp) REXML::Parsers::BaseParser::Private::PEDECL_PATTERN = T.let(T.unsafe(nil), String) +REXML::Parsers::BaseParser::Private::PEREFERENCE_PATTERN = T.let(T.unsafe(nil), Regexp) REXML::Parsers::BaseParser::Private::TAG_PATTERN = T.let(T.unsafe(nil), Regexp) +REXML::Parsers::BaseParser::Private::XML_PREFIXED_NAMESPACE = T.let(T.unsafe(nil), String) REXML::Parsers::BaseParser::QNAME = T.let(T.unsafe(nil), Regexp) REXML::Parsers::BaseParser::QNAME_STR = T.let(T.unsafe(nil), String) +module REXML::Parsers::StringScannerCaptures; end class REXML::Source include ::REXML::Encoding diff --git a/sorbet/rbi/gems/rubocop-ast@1.31.3.rbi b/sorbet/rbi/gems/rubocop-ast@1.33.0.rbi similarity index 99% rename from sorbet/rbi/gems/rubocop-ast@1.31.3.rbi rename to sorbet/rbi/gems/rubocop-ast@1.33.0.rbi index 2340f180..1fa51138 100644 --- a/sorbet/rbi/gems/rubocop-ast@1.31.3.rbi +++ b/sorbet/rbi/gems/rubocop-ast@1.33.0.rbi @@ -4,5 +4,6 @@ # This is an autogenerated file for types exported from the `rubocop-ast` gem. # Please instead update this file by running `bin/tapioca gem rubocop-ast`. + # THIS IS AN EMPTY RBI FILE. # see https://github.com/Shopify/tapioca#manually-requiring-parts-of-a-gem diff --git a/sorbet/rbi/gems/strscan@3.1.0.rbi b/sorbet/rbi/gems/strscan@3.1.0.rbi deleted file mode 100644 index e74659c9..00000000 --- a/sorbet/rbi/gems/strscan@3.1.0.rbi +++ /dev/null @@ -1,8 +0,0 @@ -# typed: true - -# DO NOT EDIT MANUALLY -# This is an autogenerated file for types exported from the `strscan` gem. -# Please instead update this file by running `bin/tapioca gem strscan`. - -# THIS IS AN EMPTY RBI FILE. -# see https://github.com/Shopify/tapioca#manually-requiring-parts-of-a-gem diff --git a/sorbet/rbi/gems/unicode-display_width@2.5.0.rbi b/sorbet/rbi/gems/unicode-display_width@2.6.0.rbi similarity index 99% rename from sorbet/rbi/gems/unicode-display_width@2.5.0.rbi rename to sorbet/rbi/gems/unicode-display_width@2.6.0.rbi index bd501a82..66f95dff 100644 --- a/sorbet/rbi/gems/unicode-display_width@2.5.0.rbi +++ b/sorbet/rbi/gems/unicode-display_width@2.6.0.rbi @@ -4,5 +4,6 @@ # This is an autogenerated file for types exported from the `unicode-display_width` gem. # Please instead update this file by running `bin/tapioca gem unicode-display_width`. + # THIS IS AN EMPTY RBI FILE. # see https://github.com/Shopify/tapioca#manually-requiring-parts-of-a-gem