Skip to content

Commit

Permalink
Update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
TonyCTHsu committed Apr 22, 2024
1 parent d15e835 commit ebc5a9f
Show file tree
Hide file tree
Showing 83 changed files with 2,783 additions and 3,945 deletions.
10 changes: 7 additions & 3 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ TEST_METADATA = {
},
'autoinstrument' => {
# The testcase depends on a sinatra app
'sinatra' => '✅ 2.5 / ✅ 2.6 / ✅ 2.7 / ✅ 3.0 / ✅ 3.1 / ✅ 3.2 / ✅ 3.3 / ✅ jruby'
'sinatra-2' => '✅ 2.5 / ✅ 2.6 / ✅ 2.7 / ✅ 3.0 / ✅ 3.1 / ✅ 3.2 / ✅ 3.3 / ✅ jruby'
},
'aws' => {
'aws' => '✅ 2.5 / ✅ 2.6 / ✅ 2.7 / ✅ 3.0 / ✅ 3.1 / ✅ 3.2 / ✅ 3.3 / ✅ jruby'
Expand Down Expand Up @@ -236,7 +236,9 @@ TEST_METADATA = {
'hanami-1' => '✅ 2.5 / ✅ 2.6 / ✅ 2.7 / ❌ 3.0 / ❌ 3.1 / ❌ 3.2 / ❌ 3.3 / ❌ jruby'
},
'sinatra' => {
'sinatra' => '✅ 2.5 / ✅ 2.6 / ✅ 2.7 / ✅ 3.0 / ✅ 3.1 / ✅ 3.2 / ✅ 3.3 / ✅ jruby'
'sinatra-2' => '✅ 2.5 / ✅ 2.6 / ✅ 2.7 / ✅ 3.0 / ✅ 3.1 / ✅ 3.2 / ✅ 3.3 / ✅ jruby',
'sinatra-3' => '❌ 2.5 / ✅ 2.6 / ✅ 2.7 / ✅ 3.0 / ✅ 3.1 / ✅ 3.2 / ✅ 3.3 / ✅ jruby',
'sinatra-4' => '❌ 2.5 / ❌ 2.6 / ❌ 2.7 / ✅ 3.0 / ✅ 3.1 / ✅ 3.2 / ✅ 3.3 / ✅ jruby',
},
'redis' => {
'redis-3' => '✅ 2.5 / ✅ 2.6 / ✅ 2.7 / ✅ 3.0 / ✅ 3.1 / ✅ 3.2 / ✅ 3.3 / ✅ jruby',
Expand All @@ -250,7 +252,9 @@ TEST_METADATA = {
'rack-3' => '✅ 2.5 / ✅ 2.6 / ✅ 2.7 / ✅ 3.0 / ✅ 3.1 / ✅ 3.2 / ✅ 3.3 / ✅ jruby',
},
'appsec:sinatra' => {
'sinatra' => '✅ 2.5 / ✅ 2.6 / ✅ 2.7 / ✅ 3.0 / ✅ 3.1 / ✅ 3.2 / ✅ 3.3 / ✅ jruby'
'sinatra-2' => '✅ 2.5 / ✅ 2.6 / ✅ 2.7 / ✅ 3.0 / ✅ 3.1 / ✅ 3.2 / ✅ 3.3 / ✅ jruby',
'sinatra-3' => '❌ 2.5 / ✅ 2.6 / ✅ 2.7 / ✅ 3.0 / ✅ 3.1 / ✅ 3.2 / ✅ 3.3 / ✅ jruby',
'sinatra-4' => '❌ 2.5 / ❌ 2.6 / ❌ 2.7 / ✅ 3.0 / ✅ 3.1 / ✅ 3.2 / ✅ 3.3 / ✅ jruby',
},
'appsec:devise' => {
'' => '✅ 2.5 / ✅ 2.6 / ✅ 2.7 / ✅ 3.0 / ✅ 3.1 / ✅ 3.2 / ✅ 3.3 / ✅ jruby'
Expand Down
21 changes: 6 additions & 15 deletions appraisal/jruby-9.2.rb
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
appraise 'hanami-1' do
gem 'rack'
gem 'rack-test' # Dev dependencies for testing rack-based code
gem 'hanami', '~> 1'
end

appraise 'rails5-mysql2' do
gem 'rails', '~> 5.2.1'
gem 'activerecord-jdbcmysql-adapter', platform: :jruby
Expand Down Expand Up @@ -245,7 +239,6 @@

[
'2.0',
'1.13',
].each do |v|
appraise "graphql-#{v}" do
gem 'graphql', "~> #{v}.0"
Expand All @@ -260,14 +253,12 @@
end
end

appraise 'sinatra' do
gem 'sinatra'
gem 'rack-contrib'
gem 'rack-test' # Dev dependencies for testing rack-based code
end

appraise 'opentracing' do
gem 'opentracing', '>= 0.4.1'
[2].each do |n|
appraise "sinatra-#{n}" do
gem 'sinatra', "~> #{n}"
gem 'rack-contrib'
gem 'rack-test' # Dev dependencies for testing rack-based code
end
end

[3, 4, 5].each do |n|
Expand Down
20 changes: 6 additions & 14 deletions appraisal/jruby-9.3.rb
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
appraise 'hanami-1' do
gem 'rack'
gem 'rack-test' # Dev dependencies for testing rack-based code
gem 'hanami', '~> 1'
end

appraise 'rails5-mysql2' do
gem 'rails', '~> 5.2.1'
gem 'activerecord-jdbcmysql-adapter', platform: :jruby
Expand Down Expand Up @@ -231,14 +225,12 @@
end
end

appraise 'sinatra' do
gem 'sinatra', '>= 3'
gem 'rack-contrib'
gem 'rack-test' # Dev dependencies for testing rack-based code
end

appraise 'opentracing' do
gem 'opentracing', '>= 0.4.1'
[2, 3].each do |n|
appraise "sinatra-#{n}" do
gem 'sinatra', "~> #{n}"
gem 'rack-contrib'
gem 'rack-test' # Dev dependencies for testing rack-based code
end
end

[3, 4, 5].each do |n|
Expand Down
14 changes: 6 additions & 8 deletions appraisal/jruby-9.4.rb
Original file line number Diff line number Diff line change
Expand Up @@ -144,14 +144,12 @@
end
end

appraise 'sinatra' do
gem 'sinatra', '>= 3'
gem 'rack-contrib'
gem 'rack-test' # Dev dependencies for testing rack-based code
end

appraise 'opentracing' do
gem 'opentracing', '>= 0.4.1'
[2, 3, 4].each do |n|
appraise "sinatra-#{n}" do
gem 'sinatra', "~> #{n}"
gem 'rack-contrib'
gem 'rack-test' # Dev dependencies for testing rack-based code
end
end

appraise 'contrib-old' do
Expand Down
15 changes: 6 additions & 9 deletions appraisal/ruby-2.5.rb
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,6 @@

[
'2.0',
'1.13',
].each do |v|
appraise "graphql-#{v}" do
gem 'graphql', "~> #{v}.0"
Expand All @@ -279,14 +278,12 @@
end
end

appraise 'sinatra' do
gem 'sinatra'
gem 'rack-contrib'
gem 'rack-test' # Dev dependencies for testing rack-based code
end

appraise 'opentracing' do
gem 'opentracing', '>= 0.4.1'
[2].each do |n|
appraise "sinatra-#{n}" do
gem 'sinatra', "~> #{n}"
gem 'rack-contrib'
gem 'rack-test' # Dev dependencies for testing rack-based code
end
end

[3, 4, 5].each do |n|
Expand Down
14 changes: 6 additions & 8 deletions appraisal/ruby-2.6.rb
Original file line number Diff line number Diff line change
Expand Up @@ -232,20 +232,18 @@
end
end

appraise 'sinatra' do
gem 'sinatra', '>= 3'
gem 'rack-contrib'
gem 'rack-test' # Dev dependencies for testing rack-based code
[2, 3].each do |n|
appraise "sinatra-#{n}" do
gem 'sinatra', "~> #{n}"
gem 'rack-contrib'
gem 'rack-test' # Dev dependencies for testing rack-based code
end
end

appraise 'opentelemetry' do
gem 'opentelemetry-sdk', '~> 1.1'
end

appraise 'opentracing' do
gem 'opentracing', '>= 0.4.1'
end

[3, 4, 5].each do |n|
appraise "redis-#{n}" do
gem 'redis', "~> #{n}"
Expand Down
15 changes: 7 additions & 8 deletions appraisal/ruby-2.7.rb
Original file line number Diff line number Diff line change
Expand Up @@ -233,20 +233,19 @@
end
end

appraise 'sinatra' do
gem 'sinatra', '>= 3'
gem 'rack-contrib'
gem 'rack-test' # Dev dependencies for testing rack-based code
# Sinatra 4 requires Ruby (>= 2.7.8), but current image with Ruby 2.7.6
[2, 3].each do |n|
appraise "sinatra-#{n}" do
gem 'sinatra', "~> #{n}"
gem 'rack-contrib'
gem 'rack-test' # Dev dependencies for testing rack-based code
end
end

appraise 'opentelemetry' do
gem 'opentelemetry-sdk', '~> 1.1'
end

appraise 'opentracing' do
gem 'opentracing', '>= 0.4.1'
end

[3, 4, 5].each do |n|
appraise "redis-#{n}" do
gem 'redis', "~> #{n}"
Expand Down
14 changes: 6 additions & 8 deletions appraisal/ruby-3.0.rb
Original file line number Diff line number Diff line change
Expand Up @@ -153,20 +153,18 @@
end
end

appraise 'sinatra' do
gem 'sinatra', '>= 3'
gem 'rack-contrib'
gem 'rack-test' # Dev dependencies for testing rack-based code
[2, 3, 4].each do |n|
appraise "sinatra-#{n}" do
gem 'sinatra', "~> #{n}"
gem 'rack-contrib'
gem 'rack-test' # Dev dependencies for testing rack-based code
end
end

appraise 'opentelemetry' do
gem 'opentelemetry-sdk', '~> 1.1'
end

appraise 'opentracing' do
gem 'opentracing', '>= 0.4.1'
end

appraise 'contrib-old' do
gem 'dalli', '< 3.0.0'
gem 'presto-client', '>= 0.5.14' # Renamed to trino-client in >= 1.0
Expand Down
14 changes: 6 additions & 8 deletions appraisal/ruby-3.1.rb
Original file line number Diff line number Diff line change
Expand Up @@ -153,20 +153,18 @@
end
end

appraise 'sinatra' do
gem 'sinatra', '>= 3'
gem 'rack-contrib'
gem 'rack-test' # Dev dependencies for testing rack-based code
[2, 3, 4].each do |n|
appraise "sinatra-#{n}" do
gem 'sinatra', "~> #{n}"
gem 'rack-contrib'
gem 'rack-test' # Dev dependencies for testing rack-based code
end
end

appraise 'opentelemetry' do
gem 'opentelemetry-sdk', '~> 1.1'
end

appraise 'opentracing' do
gem 'opentracing', '>= 0.4.1'
end

appraise 'contrib-old' do
gem 'dalli', '< 3.0.0'
gem 'presto-client', '>= 0.5.14' # Renamed to trino-client in >= 1.0
Expand Down
14 changes: 6 additions & 8 deletions appraisal/ruby-3.2.rb
Original file line number Diff line number Diff line change
Expand Up @@ -153,20 +153,18 @@
end
end

appraise 'sinatra' do
gem 'sinatra', '>= 3'
gem 'rack-contrib'
gem 'rack-test' # Dev dependencies for testing rack-based code
[2, 3, 4].each do |n|
appraise "sinatra-#{n}" do
gem 'sinatra', "~> #{n}"
gem 'rack-contrib'
gem 'rack-test' # Dev dependencies for testing rack-based code
end
end

appraise 'opentelemetry' do
gem 'opentelemetry-sdk', '~> 1.1'
end

appraise 'opentracing' do
gem 'opentracing', '>= 0.4.1'
end

appraise 'contrib-old' do
gem 'dalli', '< 3.0.0'
gem 'presto-client', '>= 0.5.14' # Renamed to trino-client in >= 1.0
Expand Down
17 changes: 7 additions & 10 deletions appraisal/ruby-3.3.rb
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,6 @@
'2.1',
'2.0',
'1.13',
'1.12',
].each do |v|
appraise "graphql-#{v}" do
gem 'graphql', "~> #{v}.0"
Expand All @@ -157,28 +156,26 @@
end
end

[1, 2, 3].each do |n|
[2, 3].each do |n|
appraise "rack-#{n}" do
gem 'rack', "~> #{n}"
gem 'rack-contrib'
gem 'rack-test' # Dev dependencies for testing rack-based code
end
end

appraise 'sinatra' do
gem 'sinatra', '>= 3'
gem 'rack-contrib'
gem 'rack-test' # Dev dependencies for testing rack-based code
[2, 3, 4].each do |n|
appraise "sinatra-#{n}" do
gem 'sinatra', "~> #{n}"
gem 'rack-contrib'
gem 'rack-test' # Dev dependencies for testing rack-based code
end
end

appraise 'opentelemetry' do
gem 'opentelemetry-sdk', '~> 1.1'
end

appraise 'opentracing' do
gem 'opentracing', '>= 0.4.1'
end

appraise 'contrib-old' do
gem 'dalli', '< 3.0.0'
gem 'presto-client', '>= 0.5.14' # Renamed to trino-client in >= 1.0
Expand Down
36 changes: 0 additions & 36 deletions gemfiles/jruby_9.2_graphql_1.13.gemfile

This file was deleted.

Loading

0 comments on commit ebc5a9f

Please sign in to comment.