Skip to content

Commit

Permalink
build: update default AR version to 7.1
Browse files Browse the repository at this point in the history
  • Loading branch information
olavloite committed Oct 18, 2024
1 parent 1c4d08d commit 1ea0a02
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/acceptance-tests-on-production.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
strategy:
max-parallel: 4
matrix:
ruby: [3.0]
ruby: [3.3]
steps:
- uses: actions/checkout@v4
- name: Set up Ruby
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
strategy:
max-parallel: 4
matrix:
ruby: [3.0]
ruby: [3.3]
steps:
- uses: actions/checkout@v4
- name: Set up Ruby
Expand Down
4 changes: 2 additions & 2 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ source "https://rubygems.org"
# Specify your gem's dependencies in activerecord-spanner.gemspec
gemspec

gem "activerecord", ENV.fetch("AR_VERSION", "~> 6.1.6.1")
gem "activerecord", ENV.fetch("AR_VERSION", "~> 7.1.4.1")
gem "ostruct"
gem "minitest", "~> 5.25.0"
gem "minitest-rg", "~> 5.3.0"
Expand All @@ -13,7 +13,7 @@ gem "pry-byebug", "~> 3.9.0"
gem 'sqlite3', '~> 1.4'

# Required for samples and testing.
install_if -> { ENV.fetch("AR_VERSION", "~> 6.1.6.1").dup.to_s.sub("~>", "").strip < "7.1.0" && !ENV["SKIP_COMPOSITE_PK"] } do
install_if -> { ENV.fetch("AR_VERSION", "~> 7.1.4.1").dup.to_s.sub("~>", "").strip < "7.1.0" && !ENV["SKIP_COMPOSITE_PK"] } do
gem "composite_primary_keys"
end

Expand Down
2 changes: 1 addition & 1 deletion activerecord-spanner-adapter.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Gem::Specification.new do |spec|
spec.add_dependency "google-cloud-spanner", "~> 2.18"
# Pin gRPC to 1.64.3, as 1.65 and 1.66 cause test runs to hang randomly.
spec.add_dependency "grpc", "1.64.3"
spec.add_runtime_dependency "activerecord", [">= 6.0.0", "< 7.2"]
spec.add_runtime_dependency "activerecord", [">= 6.1", "< 7.3"]

spec.add_development_dependency "autotest-suffix", "~> 1.1"
spec.add_development_dependency "bundler", "~> 2.0"
Expand Down

0 comments on commit 1ea0a02

Please sign in to comment.