diff --git a/.github/workflows/specs.yml b/.github/workflows/specs.yml index 6f5d4a89..6a109a15 100644 --- a/.github/workflows/specs.yml +++ b/.github/workflows/specs.yml @@ -17,16 +17,37 @@ jobs: strategy: fail-fast: false matrix: - ruby: [ jruby-9.3.10.0, jruby-9.4.2.0, ruby-3.1.4, ruby-3.2.2 ] - neo4j: [ 3.5.35, 4.0.12, 4.1.12, 4.2.19, 4.3.23, 4.4.19, 5.6.0 ] + ruby: [ jruby-9.3.11.0, jruby-9.4.4.0, ruby-3.1.4, ruby-3.2.2 ] + neo4j: [ 3.5.35, 4.0.12, 4.1.12, 4.2.19, 4.3.23, 4.4.26, 5.12.0 ] include: - neo4j: 3.5.35 java-version: 8 - - neo4j: 5.6.0 + - neo4j: 5.12.0 java-version: 17 options: "-t ~causal" + active_support: 7.1.1 + - active_support: 7.0.0 + - active_support: 6.1.0 + - active_support: 6.0.0 + - active_support: 5.2.0 + - active_support: 5.1.0 + - active_support: 5.0.0 + - active_support: 4.2.0 + - active_support: 4.1.0 + - active_support: 4.0.0 + - active_support: 3.2.0 + - active_support: 3.1.0 + - active_support: 3.0.0 + - active_support: 2.3.0 + - active_support: 2.2.0 + - active_support: 2.1.0 + - active_support: 2.0.0 + - active_support: 1.2.0 + - active_support: 1.1.0 + - active_support: 1.0.0 env: NEO4J_VERSION: ${{ matrix.neo4j }} + ACTIVE_SUPPORT_VERSION: ${{ matrix.active_support }} steps: - name: Start neo4j run: docker run --name neo4j --env NEO4J_AUTH=neo4j/pass --env NEO4J_ACCEPT_LICENSE_AGREEMENT=yes --env NEO4J_dbms_security_auth__minimum__password__length=4 -p7687:7687 -p7474:7474 -v `pwd`/tmp:/var/lib/neo4j/import --rm neo4j:${{ matrix.neo4j }}-enterprise & diff --git a/Rakefile b/Rakefile index 0aef1eec..17545254 100644 --- a/Rakefile +++ b/Rakefile @@ -19,7 +19,8 @@ HOE = Class.new(Hoe) do end.spec 'neo4j-ruby-driver' do developer 'Heinrich Klobuczek', 'heinrich@mail.com' - dependency 'activesupport', '>= 0' + active_support_version = ENV['ACTIVE_SUPPORT_VERSION'] + gem 'activesupport', active_support_version&.length&.positive? ? "~> #{active_support_version}" : '>= 0' # dependency 'async-rspec', '>= 0', :dev dependency 'ffaker', '>= 0', :dev dependency 'hoe', '>= 0', :dev