diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0b32458..b117236 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -37,7 +37,7 @@ jobs: strategy: fail-fast: false matrix: - activerecord: [ '6.1', '7.0', '7.1', '7.2', '8.0' ] + activerecord: [ '6.1', '7.0', '7.1', '7.2', '8.0', '8.1' ] ruby: [ '3.2', '3.3', '3.4' ] exclude: - activerecord: '6.1' diff --git a/Appraisals b/Appraisals index 27219e5..02b5237 100644 --- a/Appraisals +++ b/Appraisals @@ -21,3 +21,7 @@ end appraise "activerecord_8.0" do gem "activerecord", ">= 8.0.0", "< 8.1" end + +appraise "activerecord_8.1" do + gem "activerecord", ">= 8.1.0", "< 8.2" +end diff --git a/CHANGELOG.md b/CHANGELOG.md index 9cef534..96a1ecb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ # activerecord-postgres_pub_sub +## v3.4.0 +- Add support for ActiveRecord 8.1 + ## v3.3.0 - Remove support for Ruby 3.0 and 3.1 - Switch to using RubyGems trusted publishing instead of manual releases diff --git a/activerecord-postgres_pub_sub.gemspec b/activerecord-postgres_pub_sub.gemspec index 76efbaa..3a31101 100644 --- a/activerecord-postgres_pub_sub.gemspec +++ b/activerecord-postgres_pub_sub.gemspec @@ -36,7 +36,7 @@ Gem::Specification.new do |spec| spec.require_paths = ["lib"] spec.required_ruby_version = ">= 3.2.0" - spec.add_runtime_dependency "activerecord", "> 6.0", "< 8.1" + spec.add_runtime_dependency "activerecord", "> 6.0", "< 8.2" spec.add_runtime_dependency "pg", "~> 1.1" spec.add_runtime_dependency "private_attr" spec.add_runtime_dependency "with_advisory_lock" diff --git a/gemfiles/activerecord_8.1.gemfile b/gemfiles/activerecord_8.1.gemfile new file mode 100644 index 0000000..6ad4e24 --- /dev/null +++ b/gemfiles/activerecord_8.1.gemfile @@ -0,0 +1,7 @@ +# This file was generated by Appraisal + +source "https://rubygems.org" + +gem "activerecord", ">= 8.1.0", "< 8.2" + +gemspec path: "../" diff --git a/lib/activerecord/postgres_pub_sub/version.rb b/lib/activerecord/postgres_pub_sub/version.rb index 72b61b7..3537a5b 100644 --- a/lib/activerecord/postgres_pub_sub/version.rb +++ b/lib/activerecord/postgres_pub_sub/version.rb @@ -2,6 +2,6 @@ module ActiveRecord module PostgresPubSub - VERSION = "3.3.0" + VERSION = "3.4.0" end end