From 4889d99e34eedf988a41bff17520b4d86f472daa Mon Sep 17 00:00:00 2001 From: Heinrich Klobuczek Date: Fri, 20 Oct 2023 17:58:40 +0200 Subject: [PATCH] more test versions --- .github/workflows/test.yml | 30 +++++++++++++++++++++++++++++- activegraph.gemspec | 5 ++--- 2 files changed, 31 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index fcbb7a6f1..395ee2a8e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -17,9 +17,37 @@ jobs: strategy: fail-fast: false matrix: - ruby: [ jruby-9.4.3.0, ruby-3.1.4, ruby-3.2.2 ] + ruby: [ jruby-9.4.3.0, ruby-3.1.4 ] neo4j: [ 3.5.35, 4.0.12, 4.1.12, 4.2.19, 4.3.23, 4.4.26, 5.12.0 ] active_model: [ 7.0.0, 7.1.0 ] + include: + - ruby: ruby-3.1.4 + neo4j: 5.12.0 + active_model: 6.1.0 + - ruby: ruby-3.1.4 + neo4j: 5.12.0 + active_model: 6.0.0 + - ruby: ruby-3.1.4 + neo4j: 5.12.0 + active_model: 5.2.0 + - ruby: ruby-3.1.4 + neo4j: 5.12.0 + active_model: 5.1.0 + - ruby: ruby-3.1.4 + neo4j: 5.12.0 + active_model: 5.0.0 + - ruby: ruby-3.1.4 + neo4j: 5.12.0 + active_model: 4.2.0 + - ruby: ruby-3.1.4 + neo4j: 5.12.0 + active_model: 4.1.0 + - ruby: ruby-3.1.4 + neo4j: 5.12.0 + active_model: 4.0.0 + - ruby: ruby-3.2.2 + neo4j: 5.12.0 + active_model: 7.1.1 env: NEO4J_VERSION: ${{ matrix.neo4j }} ACTIVE_MODEL_VERSION: ${{ matrix.active_model }} diff --git a/activegraph.gemspec b/activegraph.gemspec index 6885d5bc0..cdcbce5e7 100644 --- a/activegraph.gemspec +++ b/activegraph.gemspec @@ -30,8 +30,7 @@ DESCRIPTION 'bug_tracker_uri' => 'https://github.com/neo4jrb/activegraph/issues' } - s.add_dependency('activemodel', '>= 4.0') - s.add_dependency('activesupport', '>= 4.0') + s.add_dependency('activemodel', '>= 4') s.add_dependency('i18n', '!= 1.8.8') # https://github.com/jruby/jruby/issues/6547 s.add_dependency('neo4j-ruby-driver', '>= 4.4.1', '< 5') s.add_dependency('orm_adapter', '>= 0.5.0') @@ -42,7 +41,7 @@ DESCRIPTION s.add_development_dependency('neo4j-rake_tasks', '>= 0.3.0') s.add_development_dependency('os') s.add_development_dependency('pry') - s.add_development_dependency('railties', '>= 4.0') + s.add_development_dependency('railties', '>= 4') s.add_development_dependency('rake') s.add_development_dependency('rubocop', '>= 0.56.0') s.add_development_dependency('yard')