From 58f7750f304998e4b94fbb293cf33d88076138c1 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 22 Sep 2026 21:05:28 +0000 Subject: [PATCH 1/2] Bump ruby/setup-ruby from 1.321.0 to 1.324.0 Bumps [ruby/setup-ruby](https://github.com/ruby/setup-ruby) from 1.321.0 to 1.324.0. - [Release notes](https://github.com/ruby/setup-ruby/releases) - [Changelog](https://github.com/ruby/setup-ruby/blob/master/release.rb) - [Commits](https://github.com/ruby/setup-ruby/compare/v1.321.0...v1.324.0) --- updated-dependencies: - dependency-name: ruby/setup-ruby dependency-version: 1.324.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- .github/workflows/rubocop.yml | 2 +- .github/workflows/ruby.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/rubocop.yml b/.github/workflows/rubocop.yml index aec71de..a546aad 100644 --- a/.github/workflows/rubocop.yml +++ b/.github/workflows/rubocop.yml @@ -17,7 +17,7 @@ jobs: steps: - uses: actions/checkout@v7.0.1 - name: Set up Ruby - uses: ruby/setup-ruby@v1.321.0 + uses: ruby/setup-ruby@v1.324.0 with: ruby-version: '4.0' rubygems: latest diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml index a34f8c4..82e9494 100644 --- a/.github/workflows/ruby.yml +++ b/.github/workflows/ruby.yml @@ -39,7 +39,7 @@ jobs: steps: - uses: actions/checkout@v7.0.1 - name: Set up Ruby - uses: ruby/setup-ruby@v1.321.0 + uses: ruby/setup-ruby@v1.324.0 with: ruby-version: ${{ matrix.ruby-version }} bundler-cache: true From ab1cb4eb506b89978136040580f3267f111fc93e Mon Sep 17 00:00:00 2001 From: Geremia Taglialatela Date: Wed, 23 Sep 2026 10:00:55 +0200 Subject: [PATCH 2/2] Fix rubocop disable directive for Style/DirectiveScope --- lib/sharepoint/client.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/sharepoint/client.rb b/lib/sharepoint/client.rb index c78b63f..e026aee 100644 --- a/lib/sharepoint/client.rb +++ b/lib/sharepoint/client.rb @@ -1200,13 +1200,12 @@ def uri_unescape(uri) end # TODO: Try to remove `eval` from this method. Otherwise, fix offenses - # rubocop:disable Security/Eval, Style/DocumentDynamicEvalDefinition, Style/EvalWithLocation, Style/PercentLiteralDelimiters + # rubocop:disable-next Security/Eval, Style/DocumentDynamicEvalDefinition, Style/EvalWithLocation, Style/PercentLiteralDelimiters def string_unescape(s) s.gsub!(/\\(?:[abfnrtv])/, '') # remove control chars s.gsub!('"', '\"') # escape double quotes eval %Q{"#{s}"} end - # rubocop:enable Security/Eval, Style/DocumentDynamicEvalDefinition, Style/EvalWithLocation, Style/PercentLiteralDelimiters def utf8_encode(s) s.force_encoding('UTF-8') unless s.nil?