Skip to content

Commit 6f9bcc6

Browse files
authored
Merge pull request #275 from meilisearch/deprecate-rb
Deprecate Ruby 2.6 & Rails 5.2 officially
2 parents 7ac720c + 450dc36 commit 6f9bcc6

File tree

6 files changed

+7
-17
lines changed

6 files changed

+7
-17
lines changed

.github/workflows/pre-release-tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
strategy:
1717
fail-fast: false
1818
matrix:
19-
rails-version: [5.2, 6.1]
19+
rails-version: [6.1, 7.0]
2020
env:
2121
RAILS_VERSION: ${{ matrix.rails-version }}
2222
name: integration-tests-against-rc (Rails ${{ matrix.rails-version }})
@@ -25,7 +25,7 @@ jobs:
2525
- name: Set up Ruby
2626
uses: ruby/setup-ruby@v1
2727
with:
28-
ruby-version: 2.6
28+
ruby-version: 3.0
2929
- name: Install dependencies
3030
run: bundle install
3131
- name: Get the latest Meilisearch RC

.github/workflows/tests.yml

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,8 @@ jobs:
1818
strategy:
1919
fail-fast: false
2020
matrix:
21-
ruby-version: ["2.6", "2.7", "3.0", "3.1"]
22-
rails-version: [5.2, 6.1, 7.0]
23-
exclude:
24-
- ruby-version: "3.0"
25-
rails-version: 5.2
26-
- ruby-version: "3.1"
27-
rails-version: 5.2
28-
- ruby-version: "2.6"
29-
rails-version: 7.0
21+
ruby-version: ["2.7", "3.0", "3.1"]
22+
rails-version: [6.1, 7.0]
3023
env:
3124
RAILS_VERSION: ${{ matrix.rails-version }}
3225
name: integration-tests (Rails ${{ matrix.rails-version }} with Ruby ${{ matrix.ruby-version }})

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
FROM ruby:2.6
1+
FROM ruby:2.7
22

33
RUN apt-get update -y && apt-get install -y nodejs

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ group :development do
1313
end
1414

1515
group :test do
16-
rails_version = ENV['RAILS_VERSION'] || '5.2'
16+
rails_version = ENV['RAILS_VERSION'] || '6.1'
1717
sequel_version = ENV['SEQUEL_VERSION'] ? "~> #{ENV['SEQUEL_VERSION']}" : '>= 4.0'
1818

1919
gem 'active_model_serializers'

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ This package guarantees compatibility with [version v1.x of Meilisearch](https:/
7575

7676
## 🔧 Installation <!-- omit in toc -->
7777

78-
This package requires Ruby version 2.6.0 or later and Rails 5.2 or later.
78+
This package requires Ruby version 2.7.0 or later and Rails 6.1 or later. It may work in older versions but it is not officially supported.
7979

8080
With `gem` in command line:
8181
```bash

bors.toml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
status = [
2-
'integration-tests (Rails 5.2 with Ruby 2.6)',
3-
'integration-tests (Rails 5.2 with Ruby 2.7)',
42
'integration-tests (Rails 6.1 with Ruby 3.1)',
5-
'integration-tests (Rails 6.1 with Ruby 2.6)',
63
'integration-tests (Rails 6.1 with Ruby 3.0)',
74
'integration-tests (Rails 6.1 with Ruby 2.7)',
85
'integration-tests (Rails 7 with Ruby 2.7)',

0 commit comments

Comments
 (0)