diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 2ae0358..a110245 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -15,10 +15,8 @@ jobs: fail-fast: false matrix: ruby-version: - - "3.0" - - "3.1" - - "3.2" - "3.3" + - "3.4" steps: - uses: actions/checkout@v4 - uses: ruby/setup-ruby@v1 diff --git a/.github/workflows/gem-push.yaml b/.github/workflows/gem-push.yaml index 5841769..c276be6 100644 --- a/.github/workflows/gem-push.yaml +++ b/.github/workflows/gem-push.yaml @@ -13,10 +13,10 @@ jobs: steps: - uses: actions/checkout@v3 - - name: Set up Ruby 3.3 + - name: Set up Ruby 3.4 uses: ruby/setup-ruby@v1 with: - ruby-version: 3.3 + ruby-version: 3.4 - name: Publish to RubyGems env: diff --git a/.ruby-version b/.ruby-version index 37d02a6..7bcbb38 100644 --- a/.ruby-version +++ b/.ruby-version @@ -1 +1 @@ -3.3.8 +3.4.9 diff --git a/Appraisals b/Appraisals index 7a82df6..63e9331 100644 --- a/Appraisals +++ b/Appraisals @@ -1,8 +1,3 @@ -appraise "activerecord-6.1" do - gem "activerecord", "~> 6.1.0" - gem "concurrent-ruby", "1.3.4" -end - appraise "activerecord-7.0" do gem "activerecord", "~> 7.0.0" gem "concurrent-ruby", "1.3.4" diff --git a/README.md b/README.md index 7837c3b..4eb543a 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.0) only support Ruby 3+ and ActiveRecord >= v6.1. For Ruby <= v2.7 or ActiveRecord <= 6.0, use v0.1.3._ +_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._ Add this line to your application's Gemfile: diff --git a/dev.yml b/dev.yml index 7884d6a..18c75d9 100644 --- a/dev.yml +++ b/dev.yml @@ -2,7 +2,7 @@ version: "2.0" setup: - ruby: 3.3.8 + ruby: infer bundler: true commands: test: diff --git a/inheritance_integer_type.gemspec b/inheritance_integer_type.gemspec index 06fc8d9..65e6be3 100644 --- a/inheritance_integer_type.gemspec +++ b/inheritance_integer_type.gemspec @@ -21,7 +21,7 @@ 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", ">= 5.2" + spec.add_development_dependency "activerecord", ">= 7.0" spec.add_development_dependency "sqlite3", "~> 1.4" spec.add_development_dependency "pry" end diff --git a/lib/inheritance_integer_type/version.rb b/lib/inheritance_integer_type/version.rb index b9d033f..071b91a 100644 --- a/lib/inheritance_integer_type/version.rb +++ b/lib/inheritance_integer_type/version.rb @@ -1,3 +1,3 @@ module InheritanceIntegerType - VERSION = "0.2.2" + VERSION = "0.2.3" end