Skip to content

Commit

Permalink
fix deferred_instrumentation and padrino
Browse files Browse the repository at this point in the history
  • Loading branch information
tannalynn committed Jan 19, 2024
1 parent 5cd4468 commit d00c832
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions test/multiverse/suites/deferred_instrumentation/Envfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ instrumentation_methods :chain, :prepend

SINATRA_VERSIONS = [
[nil, 2.4],
['3.2.0', 2.4],
['2.1.0', 2.4],
['1.4.8']
]
Expand All @@ -14,9 +15,11 @@ def gem_list(sinatra_version = nil)
<<~RB
gem 'sinatra'#{sinatra_version}, :require => false
gem 'rack-test', '>= 0.8.0', :require => 'rack/test'
#{"gem 'rackup'" if sinatra_version.nil? || sinatra_version > '2.1.0'}

RB
end


create_gemfiles(SINATRA_VERSIONS)

2 changes: 1 addition & 1 deletion test/multiverse/suites/padrino/Envfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ gemfile <<~RB
gem 'activesupport'
gem 'padrino'
gem 'rack-test'
gem 'sinatra'
gem 'sinatra', '< 4'
RB

# Sinatra <3
Expand Down
1 change: 1 addition & 0 deletions test/multiverse/suites/sinatra/Envfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ instrumentation_methods :chain, :prepend

SINATRA_VERSIONS = [
[nil, 2.4],
['3.2.0', 2.4],
['2.0.0', 2.4]
]

Expand Down

0 comments on commit d00c832

Please sign in to comment.