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 11, 2024
1 parent 19496e0 commit e22f3e2
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 52 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:
- rails_7.1.3
- rails_7.0.8
- rails_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
13 changes: 0 additions & 13 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,18 +10,6 @@ RAILS_VERSIONS.each do |version|
gem 'rails', 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"
gem "pstore"
gem "ostruct"
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
35 changes: 0 additions & 35 deletions gemfiles/rails_6.1.7.gemfile

This file was deleted.

4 changes: 2 additions & 2 deletions health_monitor.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ Gem::Specification.new do |s|
s.summary = 'Health monitoring Rails plug-in, which checks various services (db, cache, sidekiq, redis, etc.)'
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 'rails', '>= 6.1'
s.add_dependency 'rails', '>= 7.0'
s.add_dependency 'zeitwerk'
end

0 comments on commit e22f3e2

Please sign in to comment.