Skip to content

Commit 65d59fe

Browse files
committed
Support Rails 7, Ruby 3.1
1 parent 26147da commit 65d59fe

4 files changed

Lines changed: 26 additions & 5 deletions

File tree

.github/workflows/test.yml

Lines changed: 20 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,30 @@ jobs:
77
strategy:
88
matrix:
99
ruby-version:
10-
- 2.6
11-
- 2.7
12-
- 3.0
10+
- '2.6'
11+
- '2.7'
12+
- '3.0'
13+
- '3.1'
1314
gemfile:
1415
- gemfiles/Gemfile.rails52
1516
- gemfiles/Gemfile.rails60
1617
- gemfiles/Gemfile.rails61
18+
- gemfiles/Gemfile.rails70
19+
exclude:
20+
# rails 5.2 requires ruby < 3.0
21+
# https://github.com/rails/rails/issues/40938
22+
- ruby-version: '3.0'
23+
gemfile: 'gemfiles/Gemfile.rails52'
24+
- ruby-version: '3.1'
25+
gemfile: 'gemfiles/Gemfile.rails52'
26+
# rails 6.0 requires ruby < 3.1
27+
# https://www.fastruby.io/blog/ruby/rails/versions/compatibility-table.html
28+
- ruby-version: '3.1'
29+
gemfile: 'gemfiles/Gemfile.rails60'
30+
# rails 7.0 requires ruby >= 2.7
31+
# https://www.fastruby.io/blog/ruby/rails/versions/compatibility-table.html
32+
- ruby-version: '2.6'
33+
gemfile: 'gemfiles/Gemfile.rails70'
1734

1835
name: Ruby ${{ matrix.ruby-version }} / Bundle ${{ matrix.gemfile }}
1936

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
## [Unreleased]
2-
*no unreleased changes*
2+
* Support Rails 7, Ruby 3.1
33

44
## 6.0.1 / 2021-07-09
55
### Fixed

gemfiles/Gemfile.rails70

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
source 'https://rubygems.org'
2+
gemspec path: '..'
3+
4+
gem 'activesupport', '~> 7.0.0'

ndr_dev_support.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ Gem::Specification.new do |spec|
4242
spec.add_dependency 'webdrivers', '>= 3.9'
4343

4444
# CI server dependencies:
45-
spec.add_dependency 'activesupport', '< 7'
45+
spec.add_dependency 'activesupport', '< 7.1'
4646
spec.add_dependency 'brakeman', '>= 4.7.1'
4747
spec.add_dependency 'bundler-audit'
4848
spec.add_dependency 'github-linguist'

0 commit comments

Comments
 (0)