Skip to content

Commit 54d342f

Browse files
authored
Support Rails 8.1, Ruby 4.0. Drop support for Ruby 3.2 (#160)
1 parent af300e7 commit 54d342f

5 files changed

Lines changed: 12 additions & 5 deletions

File tree

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- name: Set up Ruby
1616
uses: ruby/setup-ruby@4c56a21280b36d862b5fc31348f463d60bdc55d5 # ruby/setup-ruby@v1 see https://github.com/ruby/setup-ruby/tree/v1
1717
with:
18-
ruby-version: 3.3
18+
ruby-version: 4.0
1919
- name: Install dependencies
2020
run: bundle install
2121
- name: Run RuboCop against BASE..HEAD changes

.github/workflows/test.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,14 @@ jobs:
1515
fail-fast: false
1616
matrix:
1717
ruby-version:
18-
- '3.2'
1918
- '3.3'
2019
- '3.4'
20+
- '4.0'
2121
gemfile:
2222
- gemfiles/Gemfile.rails71
2323
- gemfiles/Gemfile.rails72
2424
- gemfiles/Gemfile.rails80
25+
- gemfiles/Gemfile.rails81
2526
exclude:
2627
# rails 8.0 requires ruby >= 3.2
2728
# https://www.fastruby.io/blog/ruby/rails/versions/compatibility-table.html

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
## [Unreleased]
2-
*no unreleased changes*
2+
### Fixed
3+
* Support Rails 8.1, Ruby 4.0. Drop support for Ruby 3.2
34

45
## 11.4.1 / 2025-11-05
56
### Fixed

gemfiles/Gemfile.rails81

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

ndr_import.gemspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Gem::Specification.new do |spec|
2121
spec.require_paths = ['lib']
2222

2323
spec.add_dependency 'activemodel'
24-
spec.add_dependency 'activesupport', '>= 7.1', '< 8.1'
24+
spec.add_dependency 'activesupport', '>= 7.1', '< 8.2'
2525
spec.add_dependency 'ndr_support', '>= 5.3.2', '< 6'
2626

2727
spec.add_dependency 'rubyzip', '~> 2.0'
@@ -39,7 +39,7 @@ Gem::Specification.new do |spec|
3939
spec.add_dependency 'seven-zip', '~> 1.4'
4040
spec.add_dependency 'spreadsheet', '1.2.6'
4141

42-
spec.required_ruby_version = '>= 3.2'
42+
spec.required_ruby_version = '>= 3.3'
4343

4444
spec.add_development_dependency 'bundler'
4545
spec.add_development_dependency 'rake', '>= 12.3.3'

0 commit comments

Comments
 (0)