From 95b80ba8129687b21c74026e5eff292e5a23b76c Mon Sep 17 00:00:00 2001 From: Kevin Robayna Date: Thu, 5 Oct 2023 13:10:18 +0100 Subject: [PATCH 1/4] Enable support for rails 7.1 https://rubyonrails.org/2023/10/5/Rails-7-1-0-has-been-released --- pg_party.gemspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pg_party.gemspec b/pg_party.gemspec index 5c181cf..11f40f7 100644 --- a/pg_party.gemspec +++ b/pg_party.gemspec @@ -22,7 +22,7 @@ Gem::Specification.new do |spec| spec.require_paths = ["lib"] - spec.add_runtime_dependency "activerecord", ">= 5.2", "< 7.1" + spec.add_runtime_dependency "activerecord", ">= 5.2", "< 7.2" spec.add_runtime_dependency "ruby2_keywords", "~> 0.0.2" spec.add_runtime_dependency "parallel", "~> 1.0" From f160911f9ff8f7728e0a14583aecbf3691f0db03 Mon Sep 17 00:00:00 2001 From: Kevin Robayna Date: Thu, 5 Oct 2023 13:25:52 +0100 Subject: [PATCH 2/4] update circle config to use rails 7.1 --- .circleci/config.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 22e65de..e6e941e 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -53,7 +53,7 @@ jobs: environment: CONTAINER_RUBY_VERSION: 2.7 CONTAINER_PG_VERSION: 10 - RAILS_VERSIONS: "5.2 6.0 6.1 7.0" + RAILS_VERSIONS: "5.2 6.0 6.1 7.0 7.1" build-ruby-2.7-pg-11: <<: *shared_config @@ -61,7 +61,7 @@ jobs: environment: CONTAINER_RUBY_VERSION: 2.7 CONTAINER_PG_VERSION: 11 - RAILS_VERSIONS: "5.2 6.0 6.1 7.0" + RAILS_VERSIONS: "5.2 6.0 6.1 7.0 7.1" build-ruby-2.7-pg-12: <<: *shared_config @@ -69,7 +69,7 @@ jobs: environment: CONTAINER_RUBY_VERSION: 2.7 CONTAINER_PG_VERSION: 12 - RAILS_VERSIONS: "5.2 6.0 6.1 7.0" + RAILS_VERSIONS: "5.2 6.0 6.1 7.0 7.1" build-ruby-2.7-pg-13: <<: *shared_config @@ -77,7 +77,7 @@ jobs: environment: CONTAINER_RUBY_VERSION: 2.7 CONTAINER_PG_VERSION: 13 - RAILS_VERSIONS: "5.2 6.0 6.1 7.0" + RAILS_VERSIONS: "5.2 6.0 6.1 7.0 7.1" build-ruby-2.7-pg-14: <<: *shared_config @@ -85,7 +85,7 @@ jobs: environment: CONTAINER_RUBY_VERSION: 2.7 CONTAINER_PG_VERSION: 14 - RAILS_VERSIONS: "5.2 6.0 6.1 7.0" + RAILS_VERSIONS: "5.2 6.0 6.1 7.0 7.1" UPLOAD_COVERAGE: true build-ruby-latest-pg-10: @@ -94,7 +94,7 @@ jobs: environment: CONTAINER_RUBY_VERSION: latest CONTAINER_PG_VERSION: 10 - RAILS_VERSIONS: "6.0 6.1 7.0" + RAILS_VERSIONS: "6.0 6.1 7.0 7.1" build-ruby-latest-pg-11: <<: *shared_config @@ -102,7 +102,7 @@ jobs: environment: CONTAINER_RUBY_VERSION: latest CONTAINER_PG_VERSION: 11 - RAILS_VERSIONS: "6.0 6.1 7.0" + RAILS_VERSIONS: "6.0 6.1 7.0 7.1" build-ruby-latest-pg-12: <<: *shared_config @@ -110,7 +110,7 @@ jobs: environment: CONTAINER_RUBY_VERSION: latest CONTAINER_PG_VERSION: 12 - RAILS_VERSIONS: "6.0 6.1 7.0" + RAILS_VERSIONS: "6.0 6.1 7.0 7.1" build-ruby-latest-pg-13: <<: *shared_config @@ -118,7 +118,7 @@ jobs: environment: CONTAINER_RUBY_VERSION: latest CONTAINER_PG_VERSION: 13 - RAILS_VERSIONS: "6.0 6.1 7.0" + RAILS_VERSIONS: "6.0 6.1 7.0 7.1" build-ruby-latest-pg-14: <<: *shared_config @@ -126,7 +126,7 @@ jobs: environment: CONTAINER_RUBY_VERSION: latest CONTAINER_PG_VERSION: 14 - RAILS_VERSIONS: "6.0 6.1 7.0" + RAILS_VERSIONS: "6.0 6.1 7.0 7.1" workflows: version: 2 From 72d0bbaf35fa22de308e1ae93d00f964697608fd Mon Sep 17 00:00:00 2001 From: Kevin Robayna Date: Thu, 5 Oct 2023 13:26:45 +0100 Subject: [PATCH 3/4] Create ar_7.1.gemfile --- gemfiles/ar_7.1.gemfile | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 gemfiles/ar_7.1.gemfile diff --git a/gemfiles/ar_7.1.gemfile b/gemfiles/ar_7.1.gemfile new file mode 100644 index 0000000..d877551 --- /dev/null +++ b/gemfiles/ar_7.1.gemfile @@ -0,0 +1,8 @@ +# This file was generated by Appraisal + +source "https://rubygems.org" + +gem "activerecord", "~> 7.1" +gem "pg", "~> 1.1" + +gemspec path: "../" From 749c0316dd4ab8af847db370fe839d4dce1e76d9 Mon Sep 17 00:00:00 2001 From: Kevin Robayna Date: Thu, 5 Oct 2023 13:35:20 +0100 Subject: [PATCH 4/4] update appraisals config to add 7.1 --- Appraisals | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Appraisals b/Appraisals index c68a9f6..729a3c0 100644 --- a/Appraisals +++ b/Appraisals @@ -17,3 +17,8 @@ appraise "ar-7.0" do gem "activerecord", "~> 7.0.0" gem "pg", "~> 1.1" end + +appraise "ar-7.1" do + gem "activerecord", "~> 7.1.0" + gem "pg", "~> 1.1" +end