diff --git a/Appraisals b/Appraisals index 697e735..a82c5d6 100644 --- a/Appraisals +++ b/Appraisals @@ -1,11 +1,3 @@ -appraise "activerecord-7.0" do - gem "activerecord", "~> 7.0.0" - gem "concurrent-ruby", "1.3.4" - # Active Record 7.0's SQLite adapter only supports sqlite3 1.x - gem "sqlite3", "~> 1.4" -end - -appraise "activerecord-7.1" do - gem "activerecord", "~> 7.1.0" - gem "concurrent-ruby" +appraise "activerecord-8.1" do + gem "activerecord", "~> 8.1.0" end diff --git a/Gemfile b/Gemfile index 55a20e1..72b8dca 100644 --- a/Gemfile +++ b/Gemfile @@ -9,7 +9,7 @@ ar = case ar_version when "master" { github: "rails/rails" } when "default" - ">= 6.0" + ">= 8.1" else "~> #{ar_version}" end diff --git a/README.md b/README.md index 4eb543a..6b54895 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ The problem with this approach is that `type` is a string (and by default it is ## Installation -_Current versions of this gem (>= v0.2.3) only support Ruby 3+ and ActiveRecord >= 7.0. For ActiveRecord 6.1, use v0.2.2. For Ruby <= v2.7 or ActiveRecord <= 6.0, use v0.1.3._ +_Current versions of this gem (>= v0.3.0) only support ActiveRecord >= 8.1. For ActiveRecord 6.1 through 8.0, use v0.2.2. For Ruby <= v2.7 or ActiveRecord <= 6.0, use v0.1.3._ Add this line to your application's Gemfile: diff --git a/inheritance_integer_type.gemspec b/inheritance_integer_type.gemspec index fa75771..5d3d7b1 100644 --- a/inheritance_integer_type.gemspec +++ b/inheritance_integer_type.gemspec @@ -21,6 +21,6 @@ Gem::Specification.new do |spec| spec.add_development_dependency "bundler" spec.add_development_dependency "rake" spec.add_development_dependency "rspec" - spec.add_development_dependency "activerecord", ">= 7.0" + spec.add_dependency "activerecord", ">= 8.1" spec.add_development_dependency "pry" end diff --git a/lib/inheritance_integer_type/version.rb b/lib/inheritance_integer_type/version.rb index 071b91a..d913f15 100644 --- a/lib/inheritance_integer_type/version.rb +++ b/lib/inheritance_integer_type/version.rb @@ -1,3 +1,3 @@ module InheritanceIntegerType - VERSION = "0.2.3" + VERSION = "0.3.0" end diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index b003f0e..307170d 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -9,7 +9,7 @@ RSpec.configure do |config| config.before(:suite) do - ActiveRecord::MigrationContext.new("#{File.dirname(__FILE__)}/support/migrations", ::ActiveRecord::SchemaMigration).migrate + ActiveRecord::MigrationContext.new("#{File.dirname(__FILE__)}/support/migrations").migrate end # No need to return the run the down migration after the test