From 3481191840bcf8e0ff9748915949e221b64fb12d Mon Sep 17 00:00:00 2001 From: Nymuxyzo <1729839+Nymuxyzo@users.noreply.github.com> Date: Sat, 30 May 2026 19:43:16 +0200 Subject: [PATCH 1/3] Update Ruby versions in GitHub Actions workflow --- .github/workflows/tests.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index e679c5c9..32b1c422 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -15,7 +15,7 @@ jobs: strategy: fail-fast: false matrix: - ruby-version: ['3.1', '3.2', '3.3'] + ruby-version: ['3.3', '3.4', '4.0'] name: integration-tests (ruby ${{ matrix.ruby-version }}) runs-on: ubuntu-latest steps: @@ -44,7 +44,7 @@ jobs: - name: Set up Ruby uses: ruby/setup-ruby@v1 with: - ruby-version: 3.0 + ruby-version: 3.3 - name: Install ruby dependencies run: bundle install --with test - name: Run linter From 34d03f7ecb23255cb2bc7b818b87f97192c95282 Mon Sep 17 00:00:00 2001 From: Nymuxyzo <1729839+Nymuxyzo@users.noreply.github.com> Date: Sat, 30 May 2026 20:10:16 +0200 Subject: [PATCH 2/3] Conditional bundle install for Ruby version 4.0 Modify Ruby dependency installation based on version. --- .github/workflows/tests.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 32b1c422..a71538b4 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -25,7 +25,12 @@ jobs: with: ruby-version: ${{ matrix.ruby-version }} - name: Install ruby dependencies - run: bundle install --with test + run: | + if [ "${{ matrix.ruby-version }}" == "4.0" ]; then + bundle install + else + bundle install --with test + fi - name: Meilisearch (latest) setup with Docker run: docker run -d -p 7700:7700 getmeili/meilisearch-enterprise:latest meilisearch --master-key=masterKey --no-analytics - name: Run test suite From 6f74ad2b0965b8d18bc3280725be62e299f362b7 Mon Sep 17 00:00:00 2001 From: Nymuxyzo <1729839+Nymuxyzo@users.noreply.github.com> Date: Sat, 30 May 2026 20:15:04 +0200 Subject: [PATCH 3/3] Add logger as a dependency in meilisearch.gemspec --- meilisearch.gemspec | 1 + 1 file changed, 1 insertion(+) diff --git a/meilisearch.gemspec b/meilisearch.gemspec index 2323df52..2b18a980 100644 --- a/meilisearch.gemspec +++ b/meilisearch.gemspec @@ -16,6 +16,7 @@ Gem::Specification.new do |s| s.required_ruby_version = '>= 3.0.0' s.add_dependency 'httparty', '~> 0.24' + s.add_dependency 'logger' s.metadata['rubygems_mfa_required'] = 'true' s.metadata['source_code_uri'] = 'https://github.com/meilisearch/meilisearch-ruby'