From b330279a26ba03a069e7ed7593b5958ceec78434 Mon Sep 17 00:00:00 2001 From: Adrien Siami Date: Sun, 24 Nov 2024 13:22:05 +0100 Subject: [PATCH] Test against ActiveSupport 8 --- .github/workflows/build.yml | 9 +++++++++ README.md | 2 +- gemfiles/Gemfile.activesupport-8.x | 5 +++++ 3 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 gemfiles/Gemfile.activesupport-8.x diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c4edd11..86b7ace 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -18,11 +18,20 @@ jobs: - gemfiles/Gemfile.activesupport-6.x - gemfiles/Gemfile.activesupport-7.1.x - gemfiles/Gemfile.activesupport-7.2.x + - gemfiles/Gemfile.activesupport-8.x exclude: - gemfile: gemfiles/Gemfile.activesupport-7.2.x ruby_version: 2.7.8 - gemfile: gemfiles/Gemfile.activesupport-7.2.x ruby_version: 3.0.7 + - gemfile: gemfiles/Gemfile.activesupport-8.x + ruby_version: 2.7.8 + - gemfile: gemfiles/Gemfile.activesupport-8.x + ruby_version: 3.0.7 + - gemfile: gemfiles/Gemfile.activesupport-8.x + ruby_version: 3.1.6 + - gemfile: gemfiles/Gemfile.activesupport-8.x + ruby_version: jruby-9.4.9.0 env: BUNDLE_GEMFILE: ${{ matrix.gemfile }} steps: diff --git a/README.md b/README.md index e046397..873691d 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ A modern ruby gem allowing to do time calculation with working hours. Compatible and tested with: - Ruby `2.7`, `3.0`, `3.1`, `3.2`, `3.3`, JRuby `9.4` -- ActiveSupport `5.x`, `6.x`, `7.x` +- ActiveSupport `5.x`, `6.x`, `7.x`, `8.x` ## Installation diff --git a/gemfiles/Gemfile.activesupport-8.x b/gemfiles/Gemfile.activesupport-8.x new file mode 100644 index 0000000..82ce184 --- /dev/null +++ b/gemfiles/Gemfile.activesupport-8.x @@ -0,0 +1,5 @@ +source 'https://rubygems.org' + +gemspec :path => '..' + +gem 'activesupport', '~> 8.0'