Skip to content

Commit 6245db6

Browse files
committed
Add support and testing for new versions
- Add support for activerecord 7.2 and 8.0 - Add Ruby 3.1-3.4 and activerrecord 7.2 and 8.0 to test matrix
1 parent 6f16480 commit 6245db6

4 files changed

Lines changed: 56 additions & 2 deletions

File tree

.github/workflows/prs.yml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,22 +19,62 @@ jobs:
1919
- '2.5'
2020
- '2.7'
2121
- '3.0'
22+
- '3.1'
23+
- '3.2'
24+
- '3.3'
25+
- '3.4'
2226
activerecord:
2327
- '5.1'
2428
- '5.2'
2529
- '6.0'
2630
- '6.1'
2731
- '7.0'
2832
- '7.1'
33+
- '7.2'
34+
- '8.0'
2935
exclude:
3036
- ruby: '2.5'
3137
activerecord: '7.0'
3238
- ruby: '2.5'
3339
activerecord: '7.1'
40+
- ruby: '2.5'
41+
activerecord: '7.2'
42+
- ruby: '2.5'
43+
activerecord: '8.0'
44+
- ruby: '2.7'
45+
activerecord: '8.0'
3446
- ruby: '3.0'
3547
activerecord: '5.1'
3648
- ruby: '3.0'
3749
activerecord: '5.2'
50+
- ruby: '3.1'
51+
activerecord: '5.1'
52+
- ruby: '3.1'
53+
activerecord: '5.2'
54+
- ruby: '3.2'
55+
activerecord: '5.1'
56+
- ruby: '3.2'
57+
activerecord: '5.2'
58+
- ruby: '3.3'
59+
activerecord: '5.1'
60+
- ruby: '3.3'
61+
activerecord: '5.2'
62+
- ruby: '3.3'
63+
activerecord: '6.0'
64+
- ruby: '3.3'
65+
activerecord: '6.1'
66+
- ruby: '3.3'
67+
activerecord: '7.0'
68+
- ruby: '3.4'
69+
activerecord: '5.1'
70+
- ruby: '3.4'
71+
activerecord: '5.2'
72+
- ruby: '3.4'
73+
activerecord: '6.0'
74+
- ruby: '3.4'
75+
activerecord: '6.1'
76+
- ruby: '3.4'
77+
activerecord: '7.0'
3878
env:
3979
BUNDLE_GEMFILE: "${{ github.workspace }}/gemfiles/activerecord-${{ matrix.activerecord }}.gemfile"
4080
steps:

ar-multidb.gemspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ Gem::Specification.new do |s|
2222

2323
s.required_ruby_version = '>= 2.5.0'
2424

25-
s.add_runtime_dependency 'activerecord', '>= 5.1', '< 7.2'
26-
s.add_runtime_dependency 'activesupport', '>= 5.1', '< 7.2'
25+
s.add_runtime_dependency 'activerecord', '>= 5.1', '< 8.1'
26+
s.add_runtime_dependency 'activesupport', '>= 5.1', '< 8.1'
2727

2828
s.add_development_dependency 'rake', '~> 13.0'
2929
s.add_development_dependency 'rspec', '~> 3.8'

gemfiles/activerecord-7.2.gemfile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# frozen_string_literal: true
2+
3+
source 'https://rubygems.org'
4+
5+
gem 'activerecord', '~> 7.2.0'
6+
7+
gemspec path: '..'

gemfiles/activerecord-8.0.gemfile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# frozen_string_literal: true
2+
3+
source 'https://rubygems.org'
4+
5+
gem 'activerecord', '~> 8.0.0'
6+
7+
gemspec path: '..'

0 commit comments

Comments
 (0)