Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test against Active Support 8.0 #625

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,19 +23,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
5 changes: 1 addition & 4 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,8 @@ group :rubocop do
end

group :rails do
gem 'rails', '~> 7.2.0'
gem 'rails', '~> 8.0.0.rc1'
gem 'rspec-rails'
gem 'combustion'
gem 'capybara'

# FIXME: relax this dependency when Ruby 3.1 support will be dropped
gem "zeitwerk", "~> 2.6.18"
end
124 changes: 63 additions & 61 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7,67 +7,67 @@ PATH
GEM
remote: http://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 @@ -77,10 +77,12 @@ GEM
minitest (>= 5.1)
securerandom (>= 0.3)
tzinfo (~> 2.0, >= 2.0.5)
uri (>= 0.13.1)
addressable (2.8.7)
public_suffix (>= 2.0.2, < 7.0)
ast (2.4.2)
base64 (0.2.0)
benchmark (0.3.0)
bigdecimal (3.1.8)
builder (3.3.0)
capybara (3.40.0)
Expand Down Expand Up @@ -130,7 +132,7 @@ GEM
mini_mime (1.1.5)
mini_portile2 (2.8.7)
minitest (5.25.1)
net-imap (0.4.17)
net-imap (0.5.0)
date
net-protocol
net-pop (0.1.2)
Expand Down Expand Up @@ -170,30 +172,30 @@ 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-dom-testing (2.2.0)
activesupport (>= 5.0.0)
minitest
nokogiri (>= 1.6)
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 All @@ -211,7 +213,7 @@ GEM
rspec-core (~> 3.13.0)
rspec-expectations (~> 3.13.0)
rspec-mocks (~> 3.13.0)
rspec-core (3.13.1)
rspec-core (3.13.2)
rspec-support (~> 3.13.0)
rspec-expectations (3.13.3)
diff-lcs (>= 1.2.0, < 2.0)
Expand Down Expand Up @@ -266,14 +268,15 @@ GEM
tzinfo (2.0.6)
concurrent-ruby (~> 1.0)
unicode-display_width (2.6.0)
uri (0.13.1)
useragent (0.16.10)
webrick (1.8.2)
websocket-driver (0.7.6)
websocket-extensions (>= 0.1.0)
websocket-extensions (0.1.5)
xpath (3.2.0)
nokogiri (~> 1.8)
zeitwerk (2.6.18)
zeitwerk (2.7.1)

PLATFORMS
aarch64-linux
Expand All @@ -287,7 +290,7 @@ DEPENDENCIES
capybara
combustion
pry
rails (~> 7.2.0)
rails (~> 8.0.0.rc1)
rake
rspec
rspec-rails
Expand All @@ -298,7 +301,6 @@ DEPENDENCIES
rubocop-rspec
simplecov
simplecov-cobertura
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 @@ -16,6 +16,9 @@ group :rails do
gem 'combustion'
gem 'capybara'

# 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
Expand Down
5 changes: 3 additions & 2 deletions gemfiles/rails_61/Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ GEM
rspec-core (~> 3.13.0)
rspec-expectations (~> 3.13.0)
rspec-mocks (~> 3.13.0)
rspec-core (3.13.1)
rspec-core (3.13.2)
rspec-support (~> 3.13.0)
rspec-expectations (3.13.3)
diff-lcs (>= 1.2.0, < 2.0)
Expand Down Expand Up @@ -226,6 +226,7 @@ DEPENDENCIES
arbre!
capybara
combustion
net-imap (~> 0.4.17)
pry
rails (~> 6.1.0)
rake
Expand All @@ -236,4 +237,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 @@ -16,6 +16,9 @@ group :rails do
gem 'combustion'
gem 'capybara'

# 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
Expand Down
5 changes: 3 additions & 2 deletions gemfiles/rails_70/Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ GEM
rspec-core (~> 3.13.0)
rspec-expectations (~> 3.13.0)
rspec-mocks (~> 3.13.0)
rspec-core (3.13.1)
rspec-core (3.13.2)
rspec-support (~> 3.13.0)
rspec-expectations (3.13.3)
diff-lcs (>= 1.2.0, < 2.0)
Expand Down Expand Up @@ -225,6 +225,7 @@ DEPENDENCIES
arbre!
capybara
combustion
net-imap (~> 0.4.17)
pry
rails (~> 7.0.8)
rake
Expand All @@ -235,4 +236,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 @@ -16,6 +16,9 @@ group :rails do
gem 'combustion'
gem 'capybara'

# 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
Expand Down
5 changes: 3 additions & 2 deletions gemfiles/rails_71/Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ GEM
rspec-core (~> 3.13.0)
rspec-expectations (~> 3.13.0)
rspec-mocks (~> 3.13.0)
rspec-core (3.13.1)
rspec-core (3.13.2)
rspec-support (~> 3.13.0)
rspec-expectations (3.13.3)
diff-lcs (>= 1.2.0, < 2.0)
Expand Down Expand Up @@ -257,6 +257,7 @@ DEPENDENCIES
arbre!
capybara
combustion
net-imap (~> 0.4.17)
pry
rails (~> 7.1.0)
rake
Expand All @@ -267,4 +268,4 @@ DEPENDENCIES
zeitwerk (~> 2.6.18)

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

gem 'rake'

group :test do
gem 'rspec'
gem 'simplecov', require: false
gem 'simplecov-cobertura'
gem 'pry'
end

group :rails do
gem 'rails', '~> 7.2.0'
gem 'rspec-rails'
gem 'combustion'
gem 'capybara'

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

gemspec path: "../.."
Loading