Skip to content

Commit

Permalink
👷 Appraisal: ActiveRecord 5 is the minimum supported version
Browse files Browse the repository at this point in the history
  • Loading branch information
pboling committed Nov 14, 2024
1 parent b015ac4 commit a4a5ce2
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 21 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/ancient.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,6 @@ jobs:
- '2.3.27'
include:
# Ruby 2.4
- ruby: "2.4"
appraisal: "ar-4-2"
taskname: "spec:orm:active_record"
- ruby: "2.4"
appraisal: "ar-5-0"
taskname: "spec:orm:active_record"
Expand Down
7 changes: 0 additions & 7 deletions Appraisals
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
# frozen_string_literal: true

# Compat: Ruby >= 1.9.3
# Test Matrix:
# - Ruby 2.4
appraise "ar-4-2" do
gem "activerecord", "~> 4.2.11.3"
end

# Compat: Ruby >= 2.2.2
# Test Matrix:
# - Ruby 2.4
Expand Down
2 changes: 0 additions & 2 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ gem "rubocop-sequel"
gem "standard", ">= 1.35.1"

### ORMs
gem "activerecord", ">= 6", require: false # rails 6 requires Ruby 2.5 or later
gem "couch_potato", "~> 1.17", require: false
gem "mongoid", "~> 7", require: false
gem "mongoid-rspec", "~> 4.2", require: false
Expand All @@ -43,7 +42,6 @@ gem "rb-fsevent"
gem "kettle-soup-cover", "~> 1.0", ">= 1.0.2"

### Testing
gem "anonymous_active_record", "~> 1", require: false
gem "test-unit", ">= 3.0"

platform :mri do
Expand Down
4 changes: 2 additions & 2 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -302,8 +302,8 @@ PLATFORMS
x86_64-linux-musl

DEPENDENCIES
activerecord (>= 6)
anonymous_active_record (~> 1)
activerecord (>= 5)
anonymous_active_record (~> 1.0, >= 1.0.9)
appraisal (~> 2.5)
byebug (>= 11)
couch_potato (~> 1.17)
Expand Down
7 changes: 0 additions & 7 deletions gemfiles/ar_4_2.gemfile

This file was deleted.

2 changes: 2 additions & 0 deletions omniauth-identity.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ Gem::Specification.new do |spec|
spec.add_dependency("version_gem", "~> 1.1", ">= 1.1.4")

### Testing
spec.add_development_dependency("activerecord", ">= 5")
spec.add_development_dependency("anonymous_active_record", "~> 1.0", ">= 1.0.9")
spec.add_development_dependency("appraisal", "~> 2.5")
spec.add_development_dependency("rack-test", "~> 1")
spec.add_development_dependency("rake", "~> 13")
Expand Down

0 comments on commit a4a5ce2

Please sign in to comment.