diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 2acc703..11a1025 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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' diff --git a/CHANGELOG.md b/CHANGELOG.md index 4b56276..1ac04c1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,10 @@ ## [Unreleased] * no unreleased changes * +## 4.1.3 / 2025-11-07 +### Fixed +* Support Ruby 3.4, Rails 8.0 + ## 4.1.2 / 2025-01-24 ### Fixed * Bump bootstrap-datepicker to 1.7.1 diff --git a/Rakefile b/Rakefile index a8c0bf6..627bdb2 100755 --- a/Rakefile +++ b/Rakefile @@ -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' diff --git a/gemfiles/Gemfile.rails80 b/gemfiles/Gemfile.rails80 new file mode 100644 index 0000000..e5a159b --- /dev/null +++ b/gemfiles/Gemfile.rails80 @@ -0,0 +1,5 @@ +source 'https://rubygems.org' + +gemspec path: '..' + +gem 'rails', '~> 8.0.0' diff --git a/lib/ndr_ui/version.rb b/lib/ndr_ui/version.rb index 2635387..f48e4c0 100644 --- a/lib/ndr_ui/version.rb +++ b/lib/ndr_ui/version.rb @@ -2,5 +2,5 @@ # This stores the current version of the NdrUi gem. Use semantic versioning http://semver.org module NdrUi - VERSION = '4.1.2' + VERSION = '4.1.3' end diff --git a/ndr_ui.gemspec b/ndr_ui.gemspec index e36c3ba..f34e74f 100644 --- a/ndr_ui.gemspec +++ b/ndr_ui.gemspec @@ -23,7 +23,7 @@ Gem::Specification.new do |spec| spec.required_ruby_version = '>= 3.0.0' - spec.add_dependency 'rails', '>= 6.1', '< 7.3' + spec.add_dependency 'rails', '>= 6.1', '< 8.1' spec.add_dependency 'bootstrap-sass', '~> 3.4.1' spec.add_dependency 'jquery-rails', '~> 4.6' spec.add_dependency 'sprockets', '>= 4.0'