Patch #44359 ยป 0001-Drop-support-for-Ruby-3.2.patch
| .github/workflows/linters.yml | ||
|---|---|---|
| 14 | 14 |
- name: Set up Ruby |
| 15 | 15 |
uses: ruby/setup-ruby@v1 |
| 16 | 16 |
with: |
| 17 |
ruby-version: 3.2
|
|
| 17 |
ruby-version: 3.3
|
|
| 18 | 18 |
bundler-cache: true |
| 19 | 19 | |
| 20 | 20 |
- name: Lint code for consistent style |
| ... | ... | |
| 48 | 48 |
- name: Set up Ruby |
| 49 | 49 |
uses: ruby/setup-ruby@v1 |
| 50 | 50 |
with: |
| 51 |
ruby-version: '3.2'
|
|
| 51 |
ruby-version: '3.3'
|
|
| 52 | 52 |
bundler-cache: true |
| 53 | 53 | |
| 54 | 54 |
- name: Run bundle-audit |
| .github/workflows/tests.yml | ||
|---|---|---|
| 10 | 10 | |
| 11 | 11 |
strategy: |
| 12 | 12 |
matrix: |
| 13 |
ruby: ['3.2', '3.3', '3.4', '4.0']
|
|
| 13 |
ruby: ['3.3', '3.4', '4.0'] |
|
| 14 | 14 |
db: ['postgresql', 'mysql2', 'sqlite3'] |
| 15 | 15 |
fail-fast: false |
| 16 | 16 | |
| .rubocop.yml | ||
|---|---|---|
| 1 | 1 |
inherit_from: .rubocop_todo.yml |
| 2 | 2 | |
| 3 | 3 |
AllCops: |
| 4 |
TargetRubyVersion: 3.2
|
|
| 4 |
TargetRubyVersion: 3.3
|
|
| 5 | 5 |
TargetRailsVersion: 8.1 |
| 6 | 6 | |
| 7 | 7 |
NewCops: enable |
| Gemfile | ||
|---|---|---|
| 1 | 1 |
source 'https://rubygems.org' |
| 2 | 2 | |
| 3 |
ruby '>= 3.2.0', '< 4.1.0'
|
|
| 3 |
ruby '>= 3.3.0', '< 4.1.0'
|
|
| 4 | 4 | |
| 5 | 5 |
gem 'rails', '8.1.3.1' |
| 6 | 6 |
gem 'rouge', '~> 5.0' |
| doc/INSTALL | ||
|---|---|---|
| 7 | 7 | |
| 8 | 8 |
== Requirements |
| 9 | 9 | |
| 10 |
* Ruby 3.2, 3.3, 3.4, 4.0
|
|
| 10 |
* Ruby 3.3, 3.4, 4.0 |
|
| 11 | 11 | |
| 12 | 12 |
* A database: |
| 13 | 13 |
* MySQL (tested with MySQL 8) |