Skip to content

Commit

Permalink
Drop support for ruby 2 and add ruby 3.2 to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
ellnix committed Jan 17, 2024
1 parent 40f80cb commit c254396
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pre-release-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
strategy:
fail-fast: false
matrix:
ruby-version: ['2.6', '2.7', '3.0', '3.1']
ruby-version: ['3.0', '3.1', '3.2']
name: integration-tests-against-rc (ruby ${{ matrix.ruby-version }})
runs-on: ubuntu-22.04
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
strategy:
fail-fast: false
matrix:
ruby-version: ['2.6', '2.7', '3.0', '3.1']
ruby-version: ['3.0', '3.1', '3.2']
name: integration-tests (ruby ${{ matrix.ruby-version }})
runs-on: ubuntu-22.04
steps:
Expand Down
2 changes: 1 addition & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ inherit_from: .rubocop_todo.yml

AllCops:
NewCops: enable
TargetRubyVersion: 2.6
TargetRubyVersion: 3.0

Style/SymbolArray:
EnforcedStyle: brackets
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ Say goodbye to server deployment and manual updates with [Meilisearch Cloud](htt

## 🔧 Installation

This package requires Ruby version 2.6.0 or later.
This package requires Ruby version 3.0.0 or later.

With `gem` in command line:
```bash
Expand Down
3 changes: 1 addition & 2 deletions bors.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
status = [
'integration-tests (ruby 2.6)',
'integration-tests (ruby 2.7)',
'integration-tests (ruby 3.0)',
'integration-tests (ruby 3.1)',
'integration-tests (ruby 3.2)',
'linter-check'
]
# 1 hour timeout
Expand Down
2 changes: 1 addition & 1 deletion meilisearch.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ Gem::Specification.new do |s|

s.files = Dir['{lib}/**/*', 'LICENSE', 'README.md']

s.required_ruby_version = '>= 2.6.0'
s.required_ruby_version = '>= 3.0.0'
s.add_dependency 'httparty', '>= 0.17.1', '< 0.22.0'
end

0 comments on commit c254396

Please sign in to comment.