From 1414c5afec9a1c0f28f577eadfc6815be1fb4cbe Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 31 Jan 2025 14:08:39 +0000 Subject: [PATCH 1/3] Gemfile.lock: Bump the minor-patch group across 1 directory with 16 updates Bumps the minor-patch group with 7 updates in the / directory: | Package | From | To | | --- | --- | --- | | [puma](https://github.com/puma/puma) | `6.5.0` | `6.6.0` | | [sorbet-runtime](https://github.com/sorbet/sorbet) | `0.5.11742` | `0.5.11796` | | [rubocop](https://github.com/rubocop/rubocop) | `1.69.2` | `1.71.1` | | [tapioca](https://github.com/Shopify/tapioca) | `0.16.6` | `0.16.8` | | [logger](https://github.com/ruby/logger) | `1.6.4` | `1.6.5` | | [rack](https://github.com/rack/rack) | `3.1.8` | `3.1.9` | | [tilt](https://github.com/jeremyevans/tilt) | `2.5.0` | `2.6.0` | Updates `puma` from 6.5.0 to 6.6.0 - [Release notes](https://github.com/puma/puma/releases) - [Changelog](https://github.com/puma/puma/blob/master/History.md) - [Commits](https://github.com/puma/puma/compare/v6.5.0...v6.6.0) Updates `sorbet-runtime` from 0.5.11742 to 0.5.11796 - [Release notes](https://github.com/sorbet/sorbet/releases) - [Commits](https://github.com/sorbet/sorbet/commits) Updates `rubocop` from 1.69.2 to 1.71.1 - [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.69.2...v1.71.1) Updates `sorbet-static-and-runtime` from 0.5.11742 to 0.5.11796 - [Release notes](https://github.com/sorbet/sorbet/releases) - [Commits](https://github.com/sorbet/sorbet/commits) Updates `tapioca` from 0.16.6 to 0.16.8 - [Release notes](https://github.com/Shopify/tapioca/releases) - [Commits](https://github.com/Shopify/tapioca/compare/v0.16.6...v0.16.8) Updates `language_server-protocol` from 3.17.0.3 to 3.17.0.4 - [Changelog](https://github.com/mtsmfm/language_server-protocol-ruby/blob/main/CHANGELOG.md) - [Commits](https://github.com/mtsmfm/language_server-protocol-ruby/compare/v3.17.0.3...v3.17.0.4) Updates `logger` from 1.6.4 to 1.6.5 - [Release notes](https://github.com/ruby/logger/releases) - [Commits](https://github.com/ruby/logger/compare/v1.6.4...v1.6.5) Updates `parser` from 3.3.6.0 to 3.3.7.0 - [Changelog](https://github.com/whitequark/parser/blob/master/CHANGELOG.md) - [Commits](https://github.com/whitequark/parser/compare/v3.3.6.0...v3.3.7.0) Updates `rack` from 3.1.8 to 3.1.9 - [Release notes](https://github.com/rack/rack/releases) - [Changelog](https://github.com/rack/rack/blob/main/CHANGELOG.md) - [Commits](https://github.com/rack/rack/compare/v3.1.8...v3.1.9) Updates `rbi` from 0.2.2 to 0.2.4 - [Release notes](https://github.com/Shopify/rbi/releases) - [Commits](https://github.com/Shopify/rbi/compare/v0.2.2...v0.2.4) Updates `rubocop-ast` from 1.37.0 to 1.38.0 - [Release notes](https://github.com/rubocop/rubocop-ast/releases) - [Changelog](https://github.com/rubocop/rubocop-ast/blob/master/CHANGELOG.md) - [Commits](https://github.com/rubocop/rubocop-ast/compare/v1.37.0...v1.38.0) Updates `sorbet` from 0.5.11742 to 0.5.11796 - [Release notes](https://github.com/sorbet/sorbet/releases) - [Commits](https://github.com/sorbet/sorbet/commits) Updates `sorbet-static` from 0.5.11742 to 0.5.11796 - [Release notes](https://github.com/sorbet/sorbet/releases) - [Commits](https://github.com/sorbet/sorbet/commits) Updates `spoom` from 1.5.0 to 1.5.3 - [Release notes](https://github.com/Shopify/spoom/releases) - [Commits](https://github.com/Shopify/spoom/compare/v1.5.0...v1.5.3) Updates `tilt` from 2.5.0 to 2.6.0 - [Changelog](https://github.com/jeremyevans/tilt/blob/master/CHANGELOG.md) - [Commits](https://github.com/jeremyevans/tilt/compare/v2.5.0...v2.6.0) Updates `unicode-display_width` from 3.1.3 to 3.1.4 - [Changelog](https://github.com/janlelis/unicode-display_width/blob/main/CHANGELOG.md) - [Commits](https://github.com/janlelis/unicode-display_width/compare/v3.1.3...v3.1.4) --- updated-dependencies: - dependency-name: puma dependency-type: direct:production update-type: version-update:semver-minor dependency-group: minor-patch - dependency-name: sorbet-runtime dependency-type: direct:production update-type: version-update:semver-patch dependency-group: minor-patch - dependency-name: rubocop dependency-type: direct:development update-type: version-update:semver-minor dependency-group: minor-patch - dependency-name: sorbet-static-and-runtime dependency-type: direct:development update-type: version-update:semver-patch dependency-group: minor-patch - dependency-name: tapioca dependency-type: direct:development update-type: version-update:semver-patch dependency-group: minor-patch - dependency-name: language_server-protocol dependency-type: indirect update-type: version-update:semver-patch dependency-group: minor-patch - dependency-name: logger dependency-type: indirect update-type: version-update:semver-patch dependency-group: minor-patch - dependency-name: parser dependency-type: indirect update-type: version-update:semver-patch dependency-group: minor-patch - dependency-name: rack dependency-type: indirect update-type: version-update:semver-patch dependency-group: minor-patch - dependency-name: rbi dependency-type: indirect update-type: version-update:semver-patch dependency-group: minor-patch - dependency-name: rubocop-ast dependency-type: indirect update-type: version-update:semver-minor dependency-group: minor-patch - dependency-name: sorbet dependency-type: indirect update-type: version-update:semver-patch dependency-group: minor-patch - dependency-name: sorbet-static dependency-type: indirect update-type: version-update:semver-patch dependency-group: minor-patch - dependency-name: spoom dependency-type: indirect update-type: version-update:semver-patch dependency-group: minor-patch - dependency-name: tilt dependency-type: indirect update-type: version-update:semver-minor dependency-group: minor-patch - dependency-name: unicode-display_width dependency-type: indirect update-type: version-update:semver-patch dependency-group: minor-patch ... Signed-off-by: dependabot[bot] --- Gemfile.lock | 47 +++++++++++++++++++++++++---------------------- 1 file changed, 25 insertions(+), 22 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index e454d02..87fa999 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -13,6 +13,7 @@ GEM public_suffix (>= 2.0.2, < 7.0) ast (2.4.2) base64 (0.2.0) + benchmark (0.4.0) erubi (1.13.1) faraday (2.12.2) faraday-net_http (>= 2.0, < 3.5) @@ -27,8 +28,8 @@ GEM json (2.9.1) jwt (2.10.1) base64 - language_server-protocol (3.17.0.3) - logger (1.6.4) + language_server-protocol (3.17.0.4) + logger (1.6.5) multipart-post (2.4.1) mustermann (3.0.3) ruby2_keywords (~> 0.0.1) @@ -40,15 +41,15 @@ GEM faraday (>= 1, < 3) sawyer (~> 0.9) parallel (1.26.3) - parser (3.3.6.0) + parser (3.3.7.0) ast (~> 2.4.1) racc prism (1.3.0) public_suffix (6.0.1) - puma (6.5.0) + puma (6.6.0) nio4r (~> 2.0) racc (1.8.1) - rack (3.1.8) + rack (3.1.9) rack-protection (4.1.1) base64 (>= 0.1.0) logger (>= 1.6.0) @@ -59,21 +60,21 @@ GEM rackup (2.2.1) rack (>= 3) rainbow (3.1.1) - rbi (0.2.2) + rbi (0.2.4) prism (~> 1.0) sorbet-runtime (>= 0.5.9204) regexp_parser (2.10.0) - rubocop (1.69.2) + rubocop (1.71.1) 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.9.3, < 3.0) - rubocop-ast (>= 1.36.2, < 2.0) + rubocop-ast (>= 1.38.0, < 2.0) ruby-progressbar (~> 1.7) unicode-display_width (>= 2.4.0, < 4.0) - rubocop-ast (1.37.0) + rubocop-ast (1.38.0) parser (>= 3.3.1.0) rubocop-performance (1.23.1) rubocop (>= 1.48.1, < 2.0) @@ -92,21 +93,23 @@ GEM rack-protection (= 4.1.1) rack-session (>= 2.0.0, < 3) tilt (~> 2.0) - sorbet (0.5.11742) - sorbet-static (= 0.5.11742) - sorbet-runtime (0.5.11742) - sorbet-static (0.5.11742-aarch64-linux) - sorbet-static (0.5.11742-universal-darwin) - sorbet-static (0.5.11742-x86_64-linux) - sorbet-static-and-runtime (0.5.11742) - sorbet (= 0.5.11742) - sorbet-runtime (= 0.5.11742) - spoom (1.5.0) + sorbet (0.5.11796) + sorbet-static (= 0.5.11796) + sorbet-runtime (0.5.11796) + sorbet-static (0.5.11796-aarch64-linux) + sorbet-static (0.5.11796-universal-darwin) + sorbet-static (0.5.11796-x86_64-linux) + sorbet-static-and-runtime (0.5.11796) + sorbet (= 0.5.11796) + sorbet-runtime (= 0.5.11796) + spoom (1.5.3) erubi (>= 1.10.0) prism (>= 0.28.0) + rbi (>= 0.2.3) sorbet-static-and-runtime (>= 0.5.10187) thor (>= 0.19.2) - tapioca (0.16.6) + tapioca (0.16.8) + benchmark bundler (>= 2.2.25) netrc (>= 0.11.0) parallel (>= 1.21.0) @@ -116,8 +119,8 @@ GEM thor (>= 1.2.0) yard-sorbet thor (1.3.2) - tilt (2.5.0) - unicode-display_width (3.1.3) + tilt (2.6.0) + unicode-display_width (3.1.4) unicode-emoji (~> 4.0, >= 4.0.4) unicode-emoji (4.0.4) uri (1.0.2) From e2c97f0725bc9818f4050b81df3c8e4f5e3d7eb1 Mon Sep 17 00:00:00 2001 From: Bo Anderson Date: Mon, 3 Feb 2025 03:31:12 +0100 Subject: [PATCH 2/3] sorbet/tapioca/config: exclude benchmark --- sorbet/tapioca/config.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/sorbet/tapioca/config.yml b/sorbet/tapioca/config.yml index ad30c79..c3485d6 100644 --- a/sorbet/tapioca/config.yml +++ b/sorbet/tapioca/config.yml @@ -2,6 +2,7 @@ gem: exclude: - ast - base64 + - benchmark - erubi - faraday-multipart - faraday-net_http From 5c2a462e6336f4c57c67ee4fadef9f777e1c2372 Mon Sep 17 00:00:00 2001 From: Bo Anderson Date: Mon, 3 Feb 2025 03:42:47 +0100 Subject: [PATCH 3/3] sorbet/rbi/orka_api_client: tweak attr_predicate translations --- sorbet/rbi/orka_api_client.rbi | 40 +++++++++++++++++----------------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/sorbet/rbi/orka_api_client.rbi b/sorbet/rbi/orka_api_client.rbi index d401da0..da45bbd 100644 --- a/sorbet/rbi/orka_api_client.rbi +++ b/sorbet/rbi/orka_api_client.rbi @@ -486,11 +486,11 @@ module OrkaAPI # _@return_ — True if the tokeb is valid for authentication. sig { returns(T::Boolean) } - attr_reader :authenticated? + def authenticated?; end # _@return_ — True if the token has been revoked. sig { returns(T::Boolean) } - attr_reader :token_revoked? + def token_revoked?; end # _@return_ — The user associated with the token. sig { returns(User) } @@ -740,15 +740,15 @@ module OrkaAPI # _@return_ — True if IO boost is enabled for this VM. sig { returns(T::Boolean) } - attr_reader :io_boost? + def io_boost?; end # _@return_ — True if network boost is enabled for this VM. sig { returns(T::Boolean) } - attr_reader :net_boost? + def net_boost?; end # _@return_ — True if this VM is using a prior saved state rather than a clean base image. sig { returns(T::Boolean) } - attr_reader :use_saved_state? + def use_saved_state?; end # _@return_ — The port mappings established for this VM. sig { returns(T::Array[ProtocolPortMapping]) } @@ -764,7 +764,7 @@ module OrkaAPI # _@return_ — Whether it was mandatory that this VM was deployed to the requested tag. sig { returns(T::Boolean) } - attr_reader :tag_required? + def tag_required?; end end # A general representation of {VMConfiguration VM configurations} and the {VMInstance VMs} deployed from those @@ -964,7 +964,7 @@ module OrkaAPI # _@return_ — True if there are associated deployed VM instances. sig { returns(T::Boolean) } - attr_reader :deployed? + def deployed?; end # _@return_ — The list of deployed VM instances. sig { returns(T::Array[VMInstance]) } @@ -996,22 +996,22 @@ module OrkaAPI # _@return_ — True if IO boost is enabled, specified by the associated VM configuration. This is # +nil+ if {#deployed?} is +true+. sig { returns(T.nilable(T::Boolean)) } - attr_reader :io_boost? + def io_boost?; end # _@return_ — True if network boost is enabled, specified by the associated VM configuration. This is # +nil+ if {#deployed?} is +true+. sig { returns(T.nilable(T::Boolean)) } - attr_reader :net_boost? + def net_boost?; end # _@return_ — True if the saved state should be used rather than cleanly from the base image, # specified by the associated VM configuration. This is +nil+ if {#deployed?} is +true+. sig { returns(T.nilable(T::Boolean)) } - attr_reader :use_saved_state? + def use_saved_state?; end # _@return_ — True if GPU passthrough is enabled, specified by the associated VM configuration. This # is +nil+ if {#deployed?} is +true+. sig { returns(T.nilable(T::Boolean)) } - attr_reader :gpu_passthrough? + def gpu_passthrough?; end sig { returns(T.nilable(String)) } attr_reader :configuration_template @@ -1221,24 +1221,24 @@ module OrkaAPI # _@return_ — True if the VNC console should be enabled for deployed VMs of this configuration. sig { returns(T::Boolean) } - attr_reader :vnc_console? + def vnc_console?; end # _@return_ — True if IO boost should be enabled for deployed VMs of this configuration. sig { returns(T::Boolean) } - attr_reader :io_boost? + def io_boost?; end # _@return_ — True if network boost should be enabled for deployed VMs of this configuration. sig { returns(T::Boolean) } - attr_reader :net_boost? + def net_boost?; end # _@return_ — True if deployed VMs of this configuration should use a prior saved state (created via # {VMInstance#save_state}) rather than a clean base image. sig { returns(T::Boolean) } - attr_reader :use_saved_state? + def use_saved_state?; end # _@return_ — True if GPU passthrough should be enabled for deployed VMs of this configuration. sig { returns(T::Boolean) } - attr_reader :gpu_passthrough? + def gpu_passthrough?; end # _@return_ — The custom system serial number, if set. sig { returns(T.nilable(String)) } @@ -1250,7 +1250,7 @@ module OrkaAPI # _@return_ — Whether it is mandatory that VMs are deployed to the requested tag. sig { returns(T::Boolean) } - attr_reader :tag_required? + def tag_required?; end # _@return_ — The scheduler mode chosen for VM deployment. Can be either +:default+ or +:most_allocated+. sig { returns(Symbol) } @@ -1304,15 +1304,15 @@ module OrkaAPI # _@return_ — True if network boost is enabled for this VM. sig { returns(T::Boolean) } - attr_reader :io_boost? + def io_boost?; end # _@return_ — True if this VM is using a prior saved state rather than a clean base image. sig { returns(T::Boolean) } - attr_reader :use_saved_state? + def use_saved_state?; end # _@return_ — True if GPU passthrough is enabled for this VM. sig { returns(T::Boolean) } - attr_reader :gpu_passthrough? + def gpu_passthrough?; end # _@return_ — The port used to connect to the VM via VNC, if enabled. sig { returns(T.nilable(Integer)) }