Skip to content

Commit c85a5d0

Browse files
authored
Support Ruby 3.4, Rails 8.0 (#74)
1 parent 3597e60 commit c85a5d0

File tree

5 files changed

+21
-5
lines changed

5 files changed

+21
-5
lines changed

.github/workflows/test.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,28 @@ on: [push]
55
jobs:
66
test:
77
strategy:
8+
fail-fast: false
89
matrix:
910
ruby-version:
1011
- '3.0'
1112
- '3.1'
1213
- '3.2'
1314
- '3.3'
15+
- '3.4'
1416
gemfile:
1517
- gemfiles/Gemfile.rails61
1618
- gemfiles/Gemfile.rails70
1719
- gemfiles/Gemfile.rails71
1820
- gemfiles/Gemfile.rails72
21+
- gemfiles/Gemfile.rails80
1922
exclude:
23+
# rails 6.1 requires ruby < 3.4
24+
- ruby-version: '3.4'
25+
gemfile: 'gemfiles/Gemfile.rails61'
26+
# rails 7.0 requires ruby >= 2.7, < 3.4
27+
# https://www.fastruby.io/blog/ruby/rails/versions/compatibility-table.html
28+
- ruby-version: '3.4'
29+
gemfile: 'gemfiles/Gemfile.rails70'
2030
# rails 7.2 requires ruby >= 3.1
2131
# https://www.fastruby.io/blog/ruby/rails/versions/compatibility-table.html
2232
- ruby-version: '3.0'

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 Ruby 3.4, Rails 8.0
34

45
## 5.0.3 / 2025-03-07
56
### Fixed

Rakefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ end
1414
# rdoc.rdoc_files.include('lib/**/*.rb')
1515
# end
1616

17-
load 'rails/tasks/statistics.rake'
18-
19-
APP_RAKEFILE = File.expand_path('../test/dummy/Rakefile', __FILE__)
17+
APP_RAKEFILE = File.expand_path('test/dummy/Rakefile', __dir__)
2018
load 'rails/tasks/engine.rake'
2119

20+
load 'rails/tasks/statistics.rake'
21+
2222
Bundler::GemHelper.install_tasks
2323

2424
require 'rake/testtask'

gemfiles/Gemfile.rails80

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 'rails', '~> 8.0.0'

ndr_ui.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Gem::Specification.new do |spec|
2828
spec.add_dependency 'bootstrap', '~> 5.3.3'
2929
spec.add_dependency 'dartsass-sprockets'
3030
spec.add_dependency 'jquery-rails', '~> 4.6'
31-
spec.add_dependency 'rails', '>= 6.1', '< 7.3'
31+
spec.add_dependency 'rails', '>= 6.1', '< 8.1'
3232
spec.add_dependency 'sprockets', '>= 4.0'
3333
spec.add_dependency 'sprockets-rails', '>= 3.0.0'
3434

0 commit comments

Comments
 (0)