Skip to content

Commit

Permalink
Add appraisals for action_pack
Browse files Browse the repository at this point in the history
Rails router changed it's internals in 7.1 and it makes sense to test
our integration against multiple ActionPack versions.
  • Loading branch information
y9v committed Aug 21, 2024
1 parent 253ae66 commit a053c22
Show file tree
Hide file tree
Showing 41 changed files with 4,801 additions and 6 deletions.
5 changes: 4 additions & 1 deletion Matrixfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,10 @@
'opentelemetry' => '❌ 2.5 / ✅ 2.6 / ✅ 2.7 / ✅ 3.0 / ✅ 3.1 / ✅ 3.2 / ✅ 3.3 / ✅ 3.4 / ❌ jruby'
},
'action_pack' => {
'activesupport' => '✅ 2.5 / ✅ 2.6 / ✅ 2.7 / ✅ 3.0 / ✅ 3.1 / ✅ 3.2 / ✅ 3.3 / ✅ 3.4 / ✅ jruby',
'actionpack-5.0' => '✅ 2.5 / ✅ 2.6 / ❌ 2.7 / ❌ 3.0 / ❌ 3.1 / ❌ 3.2 / ❌ 3.3 / ❌ 3.4 / ✅ jruby',
'actionpack-6.0' => '❌ 2.5 / ❌ 2.6 / ✅ 2.7 / ❌ 3.0 / ❌ 3.1 / ❌ 3.2 / ❌ 3.3 / ❌ 3.4 / ✅ jruby',
'actionpack-7.0' => '❌ 2.5 / ❌ 2.6 / ❌ 2.7 / ✅ 3.0 / ✅ 3.1 / ✅ 3.2 / ✅ 3.3 / ✅ 3.4 / ❌ jruby',
'actionpack-7.1' => '❌ 2.5 / ❌ 2.6 / ❌ 2.7 / ✅ 3.0 / ✅ 3.1 / ✅ 3.2 / ✅ 3.3 / ✅ 3.4 / ❌ jruby',
},
'action_view' => {
'activesupport' => '✅ 2.5 / ✅ 2.6 / ✅ 2.7 / ✅ 3.0 / ✅ 3.1 / ✅ 3.2 / ✅ 3.3 / ✅ 3.4 / ✅ jruby',
Expand Down
4 changes: 4 additions & 0 deletions appraisal/jruby-9.2.rb
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,10 @@
gem 'ruby-kafka', '>= 0.7.10'
end

appraise 'actionpack-5.0' do
gem 'rails', '~> 5.0'
end

appraise 'contrib' do
gem 'concurrent-ruby'
gem 'dalli', '>= 3.0.0'
Expand Down
4 changes: 4 additions & 0 deletions appraisal/jruby-9.3.rb
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,10 @@
gem 'ruby-kafka', '>= 0.7.10'
end

appraise 'actionpack-5.0' do
gem 'rails', '~> 6.0'
end

appraise 'contrib' do
gem 'concurrent-ruby'
gem 'dalli', '>= 3.0.0'
Expand Down
4 changes: 4 additions & 0 deletions appraisal/jruby-9.4.rb
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,10 @@
gem 'ruby-kafka', '>= 0.7.10'
end

appraise 'actionpack-6.0' do
gem 'rails', '~> 6.0'
end

appraise 'contrib' do
gem 'concurrent-ruby'
gem 'dalli', '>= 3.0.0'
Expand Down
4 changes: 4 additions & 0 deletions appraisal/ruby-2.5.rb
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,10 @@
gem 'ruby-kafka', '>= 0.7.10'
end

appraise 'actionpack-5.0' do
gem 'rails', '~> 5.0'
end

appraise 'contrib' do
gem 'concurrent-ruby'
gem 'dalli', '>= 3.0.0'
Expand Down
4 changes: 4 additions & 0 deletions appraisal/ruby-2.6.rb
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,10 @@
gem 'ruby-kafka', '>= 0.7.10'
end

appraise 'actionpack-5.0' do
gem 'rails', '~> 5.0'
end

appraise 'contrib' do
gem 'concurrent-ruby'
gem 'dalli', '>= 3.0.0'
Expand Down
4 changes: 4 additions & 0 deletions appraisal/ruby-2.7.rb
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,10 @@
gem 'ruby-kafka', '>= 0.7.10'
end

appraise 'actionpack-6.0' do
gem 'rails', '~> 6.0'
end

appraise 'contrib' do
gem 'concurrent-ruby'
gem 'dalli', '>= 3.0.0'
Expand Down
9 changes: 9 additions & 0 deletions appraisal/ruby-3.0.rb
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,15 @@
gem 'ruby-kafka', '>= 0.7.10'
end

[
'7.0',
'7.1',
].each do |v|
appraise "actionpack-#{v}" do
gem 'rails', "~> #{v}.0"
end
end

appraise 'contrib' do
gem 'concurrent-ruby'
gem 'dalli', '>= 3.0.0'
Expand Down
9 changes: 9 additions & 0 deletions appraisal/ruby-3.1.rb
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,15 @@
gem 'ruby-kafka', '>= 0.7.10'
end

[
'7.0',
'7.1',
].each do |v|
appraise "actionpack-#{v}" do
gem 'rails', "~> #{v}.0"
end
end

appraise 'contrib' do
gem 'concurrent-ruby'
gem 'dalli', '>= 3.0.0'
Expand Down
9 changes: 9 additions & 0 deletions appraisal/ruby-3.2.rb
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,15 @@
gem 'ruby-kafka', '>= 0.7.10'
end

[
'7.0',
'7.1',
].each do |v|
appraise "actionpack-#{v}" do
gem 'rails', "~> #{v}.0"
end
end

appraise 'contrib' do
gem 'concurrent-ruby'
gem 'dalli', '>= 3.0.0'
Expand Down
9 changes: 9 additions & 0 deletions appraisal/ruby-3.3.rb
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,15 @@
gem 'ruby-kafka', '>= 0.7.10'
end

[
'7.0',
'7.1',
].each do |v|
appraise "actionpack-#{v}" do
gem 'rails', "~> #{v}.0"
end
end

appraise 'contrib' do
gem 'concurrent-ruby'
gem 'dalli', '>= 3.0.0'
Expand Down
9 changes: 9 additions & 0 deletions appraisal/ruby-3.4.rb
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,15 @@
gem 'ruby-kafka', '>= 0.7.10'
end

[
'7.0',
'7.1',
].each do |v|
appraise "actionpack-#{v}" do
gem 'rails', "~> #{v}.0"
end
end

appraise 'contrib' do
gem 'concurrent-ruby'
gem 'dalli', '>= 3.0.0'
Expand Down
41 changes: 41 additions & 0 deletions gemfiles/jruby_9.2_actionpack_5.0.gemfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit a053c22

Please sign in to comment.