From acb632f2154f9e564dd6b770e463e7b420b5c90e Mon Sep 17 00:00:00 2001 From: Aidan Haran Date: Tue, 13 Aug 2024 12:23:56 +0100 Subject: [PATCH] Rails 8 --- Dockerfile.ci | 2 +- README.md | 3 ++- VERSION | 2 +- activerecord-sqlserver-adapter.gemspec | 2 +- docker-compose.ci.yml | 1 + 5 files changed, 6 insertions(+), 4 deletions(-) diff --git a/Dockerfile.ci b/Dockerfile.ci index 0ded95afd..74f636508 100644 --- a/Dockerfile.ci +++ b/Dockerfile.ci @@ -9,6 +9,6 @@ WORKDIR $WORKDIR COPY . $WORKDIR -RUN bundle install --jobs `expr $(cat /proc/cpuinfo | grep -c "cpu cores") - 1` --retry 3 +RUN RAILS_BRANCH=main bundle install --jobs `expr $(cat /proc/cpuinfo | grep -c "cpu cores") - 1` --retry 3 CMD ["sh"] diff --git a/README.md b/README.md index 2b8baf293..5fd887d25 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,8 @@ their stable branches. | Adapter Version | Rails Version | Support | Branch | |-----------------|---------------|----------------|-------------------------------------------------------------------------------------------------| -| `7.2.x` | `7.2.x` | Active | [main](https://github.com/rails-sqlserver/activerecord-sqlserver-adapter/tree/main) | +| Unreleased | `8.0.x` | In Development | [main](https://github.com/rails-sqlserver/activerecord-sqlserver-adapter/tree/main) | +| `7.2.x` | `7.2.x` | Active | [7-2-stable](https://github.com/rails-sqlserver/activerecord-sqlserver-adapter/tree/7-2-stable) | | `7.1.x` | `7.1.x` | Active | [7-1-stable](https://github.com/rails-sqlserver/activerecord-sqlserver-adapter/tree/7-1-stable) | | `7.0.x` | `7.0.x` | Active | [7-0-stable](https://github.com/rails-sqlserver/activerecord-sqlserver-adapter/tree/7-0-stable) | | `6.1.x` | `6.1.x` | Active | [6-1-stable](https://github.com/rails-sqlserver/activerecord-sqlserver-adapter/tree/6-1-stable) | diff --git a/VERSION b/VERSION index 0ee843cc6..60145e843 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -7.2.0 +8.0.0.alpha1 diff --git a/activerecord-sqlserver-adapter.gemspec b/activerecord-sqlserver-adapter.gemspec index 47d6f0f13..4348bed4a 100644 --- a/activerecord-sqlserver-adapter.gemspec +++ b/activerecord-sqlserver-adapter.gemspec @@ -27,6 +27,6 @@ Gem::Specification.new do |spec| spec.test_files = spec.files.grep(%r{^(test|spec|features)/}) spec.require_paths = ["lib"] - spec.add_dependency "activerecord", "~> 7.2.0" + spec.add_dependency "activerecord", "~> 8.0.0" spec.add_dependency "tiny_tds" end diff --git a/docker-compose.ci.yml b/docker-compose.ci.yml index cbc842619..f339681e7 100644 --- a/docker-compose.ci.yml +++ b/docker-compose.ci.yml @@ -5,6 +5,7 @@ services: ci: environment: - ACTIVERECORD_UNITTEST_HOST=sqlserver + - RAILS_BRANCH=main build: context: . dockerfile: Dockerfile.ci