Skip to content

Commit

Permalink
Test against Action Pack 8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
tagliala committed Oct 23, 2024
1 parent a9b2983 commit f03d2a9
Show file tree
Hide file tree
Showing 11 changed files with 351 additions and 68 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,19 +24,24 @@ jobs:
- rails_70
- rails_71
- rails_72
- rails_80
exclude:
- ruby: "3.0"
rails: rails_72
- ruby: "3.0"
rails: rails_80
- ruby: "3.1"
rails: rails_80
steps:
- uses: actions/checkout@v4
- name: Configure bundler (default)
run: |
echo "BUNDLE_GEMFILE=Gemfile" >> "$GITHUB_ENV"
if: matrix.rails == 'rails_72'
if: matrix.rails == 'rails_80'
- name: Configure bundler (alternative)
run: |
echo "BUNDLE_GEMFILE=gemfiles/${{ matrix.rails }}/Gemfile" >> "$GITHUB_ENV"
if: matrix.rails != 'rails_72'
if: matrix.rails != 'rails_80'
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
Expand Down
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ source 'https://rubygems.org'
gemspec path: '.'

group :development do
gem 'rails', '~> 7.2.0'
gem 'rails', '~> 8.0.0.rc1'

gem 'mocha'
gem 'minitest'
Expand Down
121 changes: 62 additions & 59 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -10,67 +10,67 @@ PATH
GEM
remote: https://rubygems.org/
specs:
actioncable (7.2.1.1)
actionpack (= 7.2.1.1)
activesupport (= 7.2.1.1)
actioncable (8.0.0.rc1)
actionpack (= 8.0.0.rc1)
activesupport (= 8.0.0.rc1)
nio4r (~> 2.0)
websocket-driver (>= 0.6.1)
zeitwerk (~> 2.6)
actionmailbox (7.2.1.1)
actionpack (= 7.2.1.1)
activejob (= 7.2.1.1)
activerecord (= 7.2.1.1)
activestorage (= 7.2.1.1)
activesupport (= 7.2.1.1)
actionmailbox (8.0.0.rc1)
actionpack (= 8.0.0.rc1)
activejob (= 8.0.0.rc1)
activerecord (= 8.0.0.rc1)
activestorage (= 8.0.0.rc1)
activesupport (= 8.0.0.rc1)
mail (>= 2.8.0)
actionmailer (7.2.1.1)
actionpack (= 7.2.1.1)
actionview (= 7.2.1.1)
activejob (= 7.2.1.1)
activesupport (= 7.2.1.1)
actionmailer (8.0.0.rc1)
actionpack (= 8.0.0.rc1)
actionview (= 8.0.0.rc1)
activejob (= 8.0.0.rc1)
activesupport (= 8.0.0.rc1)
mail (>= 2.8.0)
rails-dom-testing (~> 2.2)
actionpack (7.2.1.1)
actionview (= 7.2.1.1)
activesupport (= 7.2.1.1)
actionpack (8.0.0.rc1)
actionview (= 8.0.0.rc1)
activesupport (= 8.0.0.rc1)
nokogiri (>= 1.8.5)
racc
rack (>= 2.2.4, < 3.2)
rack (>= 2.2.4)
rack-session (>= 1.0.1)
rack-test (>= 0.6.3)
rails-dom-testing (~> 2.2)
rails-html-sanitizer (~> 1.6)
useragent (~> 0.16)
actiontext (7.2.1.1)
actionpack (= 7.2.1.1)
activerecord (= 7.2.1.1)
activestorage (= 7.2.1.1)
activesupport (= 7.2.1.1)
actiontext (8.0.0.rc1)
actionpack (= 8.0.0.rc1)
activerecord (= 8.0.0.rc1)
activestorage (= 8.0.0.rc1)
activesupport (= 8.0.0.rc1)
globalid (>= 0.6.0)
nokogiri (>= 1.8.5)
actionview (7.2.1.1)
activesupport (= 7.2.1.1)
actionview (8.0.0.rc1)
activesupport (= 8.0.0.rc1)
builder (~> 3.1)
erubi (~> 1.11)
rails-dom-testing (~> 2.2)
rails-html-sanitizer (~> 1.6)
activejob (7.2.1.1)
activesupport (= 7.2.1.1)
activejob (8.0.0.rc1)
activesupport (= 8.0.0.rc1)
globalid (>= 0.3.6)
activemodel (7.2.1.1)
activesupport (= 7.2.1.1)
activerecord (7.2.1.1)
activemodel (= 7.2.1.1)
activesupport (= 7.2.1.1)
activemodel (8.0.0.rc1)
activesupport (= 8.0.0.rc1)
activerecord (8.0.0.rc1)
activemodel (= 8.0.0.rc1)
activesupport (= 8.0.0.rc1)
timeout (>= 0.4.0)
activestorage (7.2.1.1)
actionpack (= 7.2.1.1)
activejob (= 7.2.1.1)
activerecord (= 7.2.1.1)
activesupport (= 7.2.1.1)
activestorage (8.0.0.rc1)
actionpack (= 8.0.0.rc1)
activejob (= 8.0.0.rc1)
activerecord (= 8.0.0.rc1)
activesupport (= 8.0.0.rc1)
marcel (~> 1.0)
activesupport (7.2.1.1)
activesupport (8.0.0.rc1)
base64
benchmark (>= 0.3)
bigdecimal
concurrent-ruby (~> 1.0, >= 1.3.1)
connection_pool (>= 2.2.5)
Expand All @@ -80,9 +80,11 @@ GEM
minitest (>= 5.1)
securerandom (>= 0.3)
tzinfo (~> 2.0, >= 2.0.5)
uri (>= 0.13.1)
ansi (1.5.0)
ast (2.4.2)
base64 (0.2.0)
benchmark (0.3.0)
bigdecimal (3.1.8)
builder (3.3.0)
concurrent-ruby (1.3.4)
Expand Down Expand Up @@ -123,9 +125,9 @@ GEM
builder
minitest (>= 5.0)
ruby-progressbar
mocha (2.4.5)
mocha (2.5.0)
ruby2_keywords (>= 0.0.5)
net-imap (0.4.17)
net-imap (0.5.0)
date
net-protocol
net-pop (0.1.2)
Expand Down Expand Up @@ -161,20 +163,20 @@ GEM
rackup (2.1.0)
rack (>= 3)
webrick (~> 1.8)
rails (7.2.1.1)
actioncable (= 7.2.1.1)
actionmailbox (= 7.2.1.1)
actionmailer (= 7.2.1.1)
actionpack (= 7.2.1.1)
actiontext (= 7.2.1.1)
actionview (= 7.2.1.1)
activejob (= 7.2.1.1)
activemodel (= 7.2.1.1)
activerecord (= 7.2.1.1)
activestorage (= 7.2.1.1)
activesupport (= 7.2.1.1)
rails (8.0.0.rc1)
actioncable (= 8.0.0.rc1)
actionmailbox (= 8.0.0.rc1)
actionmailer (= 8.0.0.rc1)
actionpack (= 8.0.0.rc1)
actiontext (= 8.0.0.rc1)
actionview (= 8.0.0.rc1)
activejob (= 8.0.0.rc1)
activemodel (= 8.0.0.rc1)
activerecord (= 8.0.0.rc1)
activestorage (= 8.0.0.rc1)
activesupport (= 8.0.0.rc1)
bundler (>= 1.15.0)
railties (= 7.2.1.1)
railties (= 8.0.0.rc1)
rails-controller-testing (1.0.5)
actionpack (>= 5.0.1.rc1)
actionview (>= 5.0.1.rc1)
Expand All @@ -186,9 +188,9 @@ GEM
rails-html-sanitizer (1.6.0)
loofah (~> 2.21)
nokogiri (~> 1.14)
railties (7.2.1.1)
actionpack (= 7.2.1.1)
activesupport (= 7.2.1.1)
railties (8.0.0.rc1)
actionpack (= 8.0.0.rc1)
activesupport (= 8.0.0.rc1)
irb (~> 1.13)
rackup (>= 1.0.0)
rake (>= 12.2)
Expand Down Expand Up @@ -243,6 +245,7 @@ GEM
tzinfo (2.0.6)
concurrent-ruby (~> 1.0)
unicode-display_width (2.6.0)
uri (0.13.1)
useragent (0.16.10)
warning (1.4.0)
webrick (1.8.2)
Expand All @@ -263,7 +266,7 @@ DEPENDENCIES
minitest
minitest-reporters
mocha
rails (~> 7.2.0)
rails (~> 8.0.0.rc1)
rails-controller-testing
rubocop
rubocop-minitest
Expand All @@ -275,4 +278,4 @@ DEPENDENCIES
zeitwerk (~> 2.6.18)

BUNDLED WITH
2.5.21
2.5.22
3 changes: 3 additions & 0 deletions gemfiles/rails_61/Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ group :development do
gem 'simplecov-cobertura'
gem 'warning'

# FIXME: relax this dependency when Ruby 3.0 support will be dropped
gem 'net-imap', '~> 0.4.17'

# FIXME: relax this dependency when Ruby 3.1 support will be dropped
gem "zeitwerk", "~> 2.6.18"
end
5 changes: 3 additions & 2 deletions gemfiles/rails_61/Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ GEM
builder
minitest (>= 5.0)
ruby-progressbar
mocha (2.4.5)
mocha (2.5.0)
ruby2_keywords (>= 0.0.5)
net-imap (0.4.17)
date
Expand Down Expand Up @@ -205,6 +205,7 @@ DEPENDENCIES
minitest
minitest-reporters
mocha
net-imap (~> 0.4.17)
rails (~> 6.1.0)
rails-controller-testing
simplecov
Expand All @@ -213,4 +214,4 @@ DEPENDENCIES
zeitwerk (~> 2.6.18)

BUNDLED WITH
2.5.21
2.5.22
3 changes: 3 additions & 0 deletions gemfiles/rails_70/Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ group :development do
gem 'simplecov-cobertura'
gem 'warning'

# FIXME: relax this dependency when Ruby 3.0 support will be dropped
gem 'net-imap', '~> 0.4.17'

# FIXME: relax this dependency when Ruby 3.1 support will be dropped
gem "zeitwerk", "~> 2.6.18"
end
5 changes: 3 additions & 2 deletions gemfiles/rails_70/Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ GEM
builder
minitest (>= 5.0)
ruby-progressbar
mocha (2.4.5)
mocha (2.5.0)
ruby2_keywords (>= 0.0.5)
net-imap (0.4.17)
date
Expand Down Expand Up @@ -204,6 +204,7 @@ DEPENDENCIES
minitest
minitest-reporters
mocha
net-imap (~> 0.4.17)
rails (~> 7.0.0)
rails-controller-testing
simplecov
Expand All @@ -212,4 +213,4 @@ DEPENDENCIES
zeitwerk (~> 2.6.18)

BUNDLED WITH
2.5.21
2.5.22
3 changes: 3 additions & 0 deletions gemfiles/rails_71/Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ group :development do
gem 'simplecov-cobertura'
gem 'warning'

# FIXME: relax this dependency when Ruby 3.0 support will be dropped
gem 'net-imap', '~> 0.4.17'

# FIXME: relax this dependency when Ruby 3.1 support will be dropped
gem "zeitwerk", "~> 2.6.18"
end
5 changes: 3 additions & 2 deletions gemfiles/rails_71/Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ GEM
builder
minitest (>= 5.0)
ruby-progressbar
mocha (2.4.5)
mocha (2.5.0)
ruby2_keywords (>= 0.0.5)
mutex_m (0.2.0)
net-imap (0.4.17)
Expand Down Expand Up @@ -235,6 +235,7 @@ DEPENDENCIES
minitest
minitest-reporters
mocha
net-imap (~> 0.4.17)
rails (~> 7.1.0)
rails-controller-testing
simplecov
Expand All @@ -243,4 +244,4 @@ DEPENDENCIES
zeitwerk (~> 2.6.18)

BUNDLED WITH
2.5.21
2.5.22
19 changes: 19 additions & 0 deletions gemfiles/rails_72/Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# frozen_string_literal: true
source 'https://rubygems.org'

gemspec path: '../..'

group :development do
gem 'rails', '~> 7.2.0'

gem 'mocha'
gem 'minitest'
gem 'minitest-reporters'
gem 'rails-controller-testing'
gem 'simplecov', require: false
gem 'simplecov-cobertura'
gem 'warning'

# FIXME: relax this dependency when Ruby 3.1 support will be dropped
gem "zeitwerk", "~> 2.6.18"
end
Loading

0 comments on commit f03d2a9

Please sign in to comment.