diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index f75f219..01bfcf9 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -22,9 +22,9 @@ jobs: uses: actions/checkout@v4 - name: Initialize CodeQL - uses: github/codeql-action/init@v2 + uses: github/codeql-action/init@v3 with: languages: ruby - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v2 + uses: github/codeql-action/analyze@v3 diff --git a/Gemfile.lock b/Gemfile.lock index a19f993..11426e0 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -8,79 +8,80 @@ PATH GEM remote: https://rubygems.org/ specs: + abbrev (0.1.2) ast (2.4.2) - base64 (0.1.1) commander (4.6.0) highline (~> 2.0.0) - diff-lcs (1.5.0) - faraday (2.7.11) - base64 - faraday-net_http (>= 2.0, < 3.1) - ruby2_keywords (>= 0.0.4) + diff-lcs (1.5.1) + faraday (2.9.0) + faraday-net_http (>= 2.0, < 3.2) faraday-multipart (1.0.4) multipart-post (~> 2) - faraday-net_http (3.0.2) + faraday-net_http (3.1.0) + net-http highline (2.0.3) - json (2.6.3) + json (2.7.1) language_server-protocol (3.17.0.3) - multipart-post (2.3.0) - parallel (1.23.0) + multipart-post (2.4.0) + net-http (0.4.1) + uri + parallel (1.24.0) parlour (5.0.0) commander (~> 4.5) parser rainbow (~> 3.0) sorbet-runtime (>= 0.5) - parser (3.2.2.4) + parser (3.3.0.5) ast (~> 2.4.1) racc racc (1.7.3) rainbow (3.1.1) rake (13.1.0) - rbs (3.2.2) - regexp_parser (2.8.2) + rbs (3.4.4) + abbrev + regexp_parser (2.9.0) rexml (3.2.6) - rspec (3.12.0) - rspec-core (~> 3.12.0) - rspec-expectations (~> 3.12.0) - rspec-mocks (~> 3.12.0) - rspec-core (3.12.2) - rspec-support (~> 3.12.0) - rspec-expectations (3.12.3) + rspec (3.13.0) + rspec-core (~> 3.13.0) + rspec-expectations (~> 3.13.0) + rspec-mocks (~> 3.13.0) + rspec-core (3.13.0) + rspec-support (~> 3.13.0) + rspec-expectations (3.13.0) diff-lcs (>= 1.2.0, < 2.0) - rspec-support (~> 3.12.0) - rspec-mocks (3.12.6) + rspec-support (~> 3.13.0) + rspec-mocks (3.13.0) diff-lcs (>= 1.2.0, < 2.0) - rspec-support (~> 3.12.0) - rspec-support (3.12.1) - rubocop (1.57.2) + rspec-support (~> 3.13.0) + rspec-support (3.13.1) + rubocop (1.62.1) json (~> 2.3) language_server-protocol (>= 3.17.0) parallel (~> 1.10) - parser (>= 3.2.2.4) + parser (>= 3.3.0.2) rainbow (>= 2.2.2, < 4.0) regexp_parser (>= 1.8, < 3.0) rexml (>= 3.2.5, < 4.0) - rubocop-ast (>= 1.28.1, < 2.0) + rubocop-ast (>= 1.31.1, < 2.0) ruby-progressbar (~> 1.7) unicode-display_width (>= 2.4.0, < 3.0) - rubocop-ast (1.30.0) - parser (>= 3.2.1.0) - rubocop-capybara (2.19.0) + rubocop-ast (1.31.2) + parser (>= 3.3.0.4) + rubocop-capybara (2.20.0) rubocop (~> 1.41) - rubocop-factory_bot (2.24.0) - rubocop (~> 1.33) - rubocop-performance (1.19.1) - rubocop (>= 1.7.0, < 2.0) - rubocop-ast (>= 0.4.0) + rubocop-factory_bot (2.25.1) + rubocop (~> 1.41) + rubocop-performance (1.20.2) + rubocop (>= 1.48.1, < 2.0) + rubocop-ast (>= 1.30.0, < 2.0) rubocop-rake (0.6.0) rubocop (~> 1.0) - rubocop-rspec (2.25.0) + rubocop-rspec (2.27.1) rubocop (~> 1.40) rubocop-capybara (~> 2.17) rubocop-factory_bot (~> 2.22) ruby-progressbar (1.13.0) - ruby2_keywords (0.0.5) - sorbet-runtime (0.5.11116) + sorbet-runtime (0.5.11288) sord (6.0.0) commander (~> 4.5) parlour (~> 5.0) @@ -88,7 +89,8 @@ GEM sorbet-runtime yard unicode-display_width (2.5.0) - yard (0.9.34) + uri (0.13.0) + yard (0.9.36) PLATFORMS ruby diff --git a/lib/orka_api_client/models/attr_predicate.rb b/lib/orka_api_client/models/attr_predicate.rb index 3462b69..5312c9e 100644 --- a/lib/orka_api_client/models/attr_predicate.rb +++ b/lib/orka_api_client/models/attr_predicate.rb @@ -12,8 +12,8 @@ module AttrPredicate # def self.attr_predicate(*); end def attr_predicate(*attrs) attrs.each do |attr| - define_method "#{attr}?" do - instance_variable_get("@#{attr}") + define_method :"#{attr}?" do + instance_variable_get(:"@#{attr}") end end end