Skip to content

Commit

Permalink
Remove EOL rails versions
Browse files Browse the repository at this point in the history
  • Loading branch information
elct9620 committed Nov 7, 2023
1 parent e8d72d5 commit 2839a3d
Show file tree
Hide file tree
Showing 10 changed files with 46 additions and 278 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,11 @@ jobs:
- '3.1'
- '3.2'
gemfile:
- rails_5
- rails_6
- rails_7
- rails6
- rails7
exclude:
- ruby: '2.6'
gemfile: rails_7
gemfile: rails7
env:
BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/${{ matrix.gemfile }}.gemfile
steps:
Expand Down
30 changes: 10 additions & 20 deletions Appraisals
Original file line number Diff line number Diff line change
@@ -1,31 +1,21 @@
# frozen_string_literal: true

appraise 'rails-5' do
gem "railties", "~> 5"
gem "actionmailer", "~> 5"
gem "actionpack", "~> 5"
gem "actionview", "~> 5"
gem "activemodel", "~> 5"
gem "activerecord", "~> 5"
gem "activesupport", "~> 5"
appraise 'rails6' do
gem "railties", "~> 6.1"
gem "actionmailer", "~> 6.1"
gem "actionpack", "~> 6.1"
gem "actionview", "~> 6.1"
gem "activemodel", "~> 6.1"
gem "activerecord", "~> 6.1"
gem "activesupport", "~> 6.1"
end

appraise 'rails-6' do
gem "railties", "~> 6"
gem "actionmailer", "~> 6"
gem "actionpack", "~> 6"
gem "actionview", "~> 6"
gem "activemodel", "~> 6"
gem "activerecord", "~> 6"
gem "activesupport", "~> 6"
end

appraise 'rails-7' do
appraise 'rails7' do
gem "railties", "~> 7"
gem "actionmailer", "~> 7"
gem "actionpack", "~> 7"
gem "actionview", "~> 7"
gem "activemodel", "~> 7"
gem "activerecord", "~> 7"
gem "activesupport", "~> 7"
end
end
14 changes: 14 additions & 0 deletions gemfiles/rails6.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# This file was generated by Appraisal

source "https://rubygems.org"

gem "sqlite3"
gem "railties", "~> 6.1"
gem "actionmailer", "~> 6.1"
gem "actionpack", "~> 6.1"
gem "actionview", "~> 6.1"
gem "activemodel", "~> 6.1"
gem "activerecord", "~> 6.1"
gem "activesupport", "~> 6.1"

gemspec path: "../"
33 changes: 11 additions & 22 deletions gemfiles/rails_6.gemfile.lock → gemfiles/rails6.gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@ GEM
net-smtp
method_source (1.0.0)
mini_mime (1.1.5)
mini_portile2 (2.8.5)
minitest (5.20.0)
net-imap (0.4.4)
date
Expand All @@ -99,12 +98,7 @@ GEM
timeout
net-smtp (0.4.0)
net-protocol
nokogiri (1.15.4)
mini_portile2 (~> 2.8.2)
racc (~> 1.4)
nokogiri (1.15.4-arm64-darwin)
racc (~> 1.4)
nokogiri (1.15.4-x86_64-linux)
nokogiri (1.15.4-x86_64-darwin)
racc (~> 1.4)
racc (1.7.3)
rack (2.2.8)
Expand Down Expand Up @@ -151,34 +145,29 @@ GEM
json (>= 1.8, < 3)
simplecov-html (~> 0.10.0)
simplecov-html (0.10.2)
sqlite3 (1.6.8)
mini_portile2 (~> 2.8.0)
sqlite3 (1.6.8-arm64-darwin)
sqlite3 (1.6.8-x86_64-linux)
sqlite3 (1.6.8-x86_64-darwin)
thor (1.3.0)
timeout (0.4.0)
tzinfo (2.0.6)
concurrent-ruby (~> 1.0)
zeitwerk (2.6.12)

PLATFORMS
arm64-darwin-21
ruby
x86_64-linux
x86_64-darwin-22

DEPENDENCIES
actionmailer (~> 6)
actionpack (~> 6)
actionview (~> 6)
activemodel (~> 6)
activerecord (~> 6)
activesupport (~> 6)
actionmailer (~> 6.1)
actionpack (~> 6.1)
actionview (~> 6.1)
activemodel (~> 6.1)
activerecord (~> 6.1)
activesupport (~> 6.1)
appraisal
rails-letsencrypt!
railties (~> 6)
railties (~> 6.1)
rspec-rails
simplecov (~> 0.16.1)
sqlite3

BUNDLED WITH
2.3.11
2.4.13
File renamed without changes.
21 changes: 5 additions & 16 deletions gemfiles/rails_7.gemfile.lock → gemfiles/rails7.gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,8 @@ GEM
net-pop
net-smtp
mini_mime (1.1.5)
mini_portile2 (2.8.5)
minitest (5.20.0)
mutex_m (0.1.2)
mutex_m (0.2.0)
net-imap (0.4.4)
date
net-protocol
Expand All @@ -116,12 +115,7 @@ GEM
timeout
net-smtp (0.4.0)
net-protocol
nokogiri (1.15.4)
mini_portile2 (~> 2.8.2)
racc (~> 1.4)
nokogiri (1.15.4-arm64-darwin)
racc (~> 1.4)
nokogiri (1.15.4-x86_64-linux)
nokogiri (1.15.4-x86_64-darwin)
racc (~> 1.4)
psych (5.1.1.1)
stringio
Expand Down Expand Up @@ -181,10 +175,7 @@ GEM
json (>= 1.8, < 3)
simplecov-html (~> 0.10.0)
simplecov-html (0.10.2)
sqlite3 (1.6.8)
mini_portile2 (~> 2.8.0)
sqlite3 (1.6.8-arm64-darwin)
sqlite3 (1.6.8-x86_64-linux)
sqlite3 (1.6.8-x86_64-darwin)
stringio (3.0.8)
thor (1.3.0)
timeout (0.4.0)
Expand All @@ -194,9 +185,7 @@ GEM
zeitwerk (2.6.12)

PLATFORMS
arm64-darwin-21
ruby
x86_64-linux
x86_64-darwin-22

DEPENDENCIES
actionmailer (~> 7)
Expand All @@ -213,4 +202,4 @@ DEPENDENCIES
sqlite3

BUNDLED WITH
2.3.11
2.4.13
14 changes: 0 additions & 14 deletions gemfiles/rails_5.gemfile

This file was deleted.

184 changes: 0 additions & 184 deletions gemfiles/rails_5.gemfile.lock

This file was deleted.

Loading

0 comments on commit 2839a3d

Please sign in to comment.