Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,28 @@ on: [push]
jobs:
test:
strategy:
fail-fast: false
matrix:
ruby-version:
- '3.0'
- '3.1'
- '3.2'
- '3.3'
- '3.4'
gemfile:
- gemfiles/Gemfile.rails61
- gemfiles/Gemfile.rails70
- gemfiles/Gemfile.rails71
- gemfiles/Gemfile.rails72
- gemfiles/Gemfile.rails80
exclude:
# rails 6.1 requires ruby < 3.4
- ruby-version: '3.4'
gemfile: 'gemfiles/Gemfile.rails61'
# rails 7.0 requires ruby >= 2.7, < 3.4
# https://www.fastruby.io/blog/ruby/rails/versions/compatibility-table.html
- ruby-version: '3.4'
gemfile: 'gemfiles/Gemfile.rails70'
# rails 7.2 requires ruby >= 3.1
# https://www.fastruby.io/blog/ruby/rails/versions/compatibility-table.html
- ruby-version: '3.0'
Expand Down
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
## [Unreleased]
* no unreleased changes *
### Fixed
* Support Ruby 3.4, Rails 8.0

## 5.0.3 / 2025-03-07
### Fixed
Expand Down
6 changes: 3 additions & 3 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ end
# rdoc.rdoc_files.include('lib/**/*.rb')
# end

load 'rails/tasks/statistics.rake'

APP_RAKEFILE = File.expand_path('../test/dummy/Rakefile', __FILE__)
APP_RAKEFILE = File.expand_path('test/dummy/Rakefile', __dir__)
load 'rails/tasks/engine.rake'

load 'rails/tasks/statistics.rake'

Bundler::GemHelper.install_tasks

require 'rake/testtask'
Expand Down
5 changes: 5 additions & 0 deletions gemfiles/Gemfile.rails80
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
source 'https://rubygems.org'

gemspec path: '..'

gem 'rails', '~> 8.0.0'
2 changes: 1 addition & 1 deletion ndr_ui.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Gem::Specification.new do |spec|
spec.add_dependency 'bootstrap', '~> 5.3.3'
spec.add_dependency 'dartsass-sprockets'
spec.add_dependency 'jquery-rails', '~> 4.6'
spec.add_dependency 'rails', '>= 6.1', '< 7.3'
spec.add_dependency 'rails', '>= 6.1', '< 8.1'
spec.add_dependency 'sprockets', '>= 4.0'
spec.add_dependency 'sprockets-rails', '>= 3.0.0'

Expand Down