Commit e8c7243
committed
chore: drop Ruby 2.7 support
Ruby 2.7 has been EOL since March 2023, and the CI matrix already only
covers 3.0+. The gemspec was lagging behind reality, claiming 2.7
support while CI never tested it.
- `typesense.gemspec`: bump `required_ruby_version` from `>= 2.7` to
`>= 3.0`. The `# rubocop:disable Gemspec/RequiredRubyVersion` workaround
is no longer needed once the floor matches the rubocop target.
- `.rubocop.yml`: bump `TargetRubyVersion` to 3.0.
- `spec/typesense/collections_spec.rb`: rubocop autocorrect from the
newly-enabled `Style/HashExcept` cop (`Hash#except` was added in 3.0).1 parent f33f224 commit e8c7243
3 files changed
Lines changed: 3 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
19 | | - | |
20 | | - | |
| 18 | + | |
21 | 19 | | |
22 | 20 | | |
23 | 21 | | |
| |||
0 commit comments