Skip to content

Commit

Permalink
Drop support of Ruby 3.0 and Rails 6.1
Browse files Browse the repository at this point in the history
  • Loading branch information
n-rodriguez committed Aug 15, 2024
1 parent caa22af commit 3edd384
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 188 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,10 @@ jobs:
- '3.3'
- '3.2'
- '3.1'
- '3.0'
- 'head'
rails:
- activerecord_7.1.3
- activerecord_7.0.8
- activerecord_6.1.7

env: # $BUNDLE_GEMFILE must be set at the job level, so it is set for all steps
BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/${{ matrix.rails }}.gemfile
Expand Down
11 changes: 0 additions & 11 deletions Appraisals
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# frozen_string_literal: true

RAILS_VERSIONS = %w[
6.1.7
7.0.8
7.1.3
].freeze
Expand All @@ -11,16 +10,6 @@ RAILS_VERSIONS.each do |version|
gem 'activerecord', version

case version
when "6.1.7"
# Fix: LoadError: cannot load such file -- base64
install_if '-> { Gem::Version.new(RUBY_VERSION) >= Gem::Version.new("3.3.0") }' do
gem "base64"
gem "bigdecimal"
gem "mutex_m"
gem "drb"
gem "logger"
end

when "7.0.8"
# Fix: LoadError: cannot load such file -- base64
install_if '-> { Gem::Version.new(RUBY_VERSION) >= Gem::Version.new("3.3.0") }' do
Expand Down
20 changes: 0 additions & 20 deletions gemfiles/activerecord_6.1.7.gemfile

This file was deleted.

153 changes: 0 additions & 153 deletions lib/store_base_sti_class_for_6_1.rb

This file was deleted.

4 changes: 2 additions & 2 deletions store_base_sti_class.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ Gem::Specification.new do |s|

s.license = 'MIT'

s.required_ruby_version = '>= 3.0.0'
s.required_ruby_version = '>= 3.1.0'

s.files = `git ls-files`.split("\n")

s.add_dependency('activerecord', ['>= 6.1', '< 7.2'])
s.add_dependency('activerecord', ['>= 7.0', '< 7.2'])
end

0 comments on commit 3edd384

Please sign in to comment.