Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecate Ruby 2.6 & Rails 5.2 officially #275

Merged
merged 1 commit into from
Aug 17, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/pre-release-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
strategy:
fail-fast: false
matrix:
rails-version: [5.2, 6.1]
rails-version: [6.1, 7.0]
env:
RAILS_VERSION: ${{ matrix.rails-version }}
name: integration-tests-against-rc (Rails ${{ matrix.rails-version }})
Expand All @@ -25,7 +25,7 @@ jobs:
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.6
ruby-version: 3.0
- name: Install dependencies
run: bundle install
- name: Get the latest Meilisearch RC
Expand Down
11 changes: 2 additions & 9 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,8 @@ jobs:
strategy:
fail-fast: false
matrix:
ruby-version: ["2.6", "2.7", "3.0", "3.1"]
rails-version: [5.2, 6.1, 7.0]
exclude:
- ruby-version: "3.0"
rails-version: 5.2
- ruby-version: "3.1"
rails-version: 5.2
- ruby-version: "2.6"
rails-version: 7.0
ruby-version: ["2.7", "3.0", "3.1"]
rails-version: [6.1, 7.0]
env:
RAILS_VERSION: ${{ matrix.rails-version }}
name: integration-tests (Rails ${{ matrix.rails-version }} with Ruby ${{ matrix.ruby-version }})
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
FROM ruby:2.6
FROM ruby:2.7

RUN apt-get update -y && apt-get install -y nodejs
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ group :development do
end

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

gem 'active_model_serializers'
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ This package guarantees compatibility with [version v1.x of Meilisearch](https:/

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

This package requires Ruby version 2.6.0 or later and Rails 5.2 or later.
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.

With `gem` in command line:
```bash
Expand Down
3 changes: 0 additions & 3 deletions bors.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
status = [
'integration-tests (Rails 5.2 with Ruby 2.6)',
'integration-tests (Rails 5.2 with Ruby 2.7)',
'integration-tests (Rails 6.1 with Ruby 3.1)',
'integration-tests (Rails 6.1 with Ruby 2.6)',
'integration-tests (Rails 6.1 with Ruby 3.0)',
'integration-tests (Rails 6.1 with Ruby 2.7)',
'integration-tests (Rails 7 with Ruby 2.7)',
Expand Down