File tree Expand file tree Collapse file tree 3 files changed +8
-2
lines changed Expand file tree Collapse file tree 3 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 3030# Used for head (nightly) releases of ruby, truffleruby, and jruby.
3131# Split into discrete appraisals if one of them needs a dependency locked discretely.
3232appraise "head" do
33+ # Why is gem "cgi" here? See: https://github.com/vcr/vcr/issues/1057
34+ gem "cgi" , ">= 0.5"
3335 gem "benchmark" , "~> 0.4" , ">= 0.4.1"
3436 eval_gemfile "modular/runtime_heads.gemfile"
3537end
Original file line number Diff line number Diff line change 22
33source "https://rubygems.org"
44
5+ gem "cgi", ">= 0.5"
56gem "benchmark", "~> 0.4", ">= 0.4.1"
67
78gemspec path: "../"
Original file line number Diff line number Diff line change @@ -198,6 +198,9 @@ Thanks, @pboling / @galtzo
198198 # | # ./spec/spec_helper.rb:8:in `<top (required)>'
199199 # So that's why we need backports.
200200 spec . add_development_dependency ( "backports" , "~> 3.25" , ">= 3.25.1" ) # ruby >= 0
201- spec . add_development_dependency ( "vcr" , ">= 4" ) # 6.0 claims to support ruby >= 2.3, but fails on ruby 2.4
202- spec . add_development_dependency ( "webmock" , ">= 3" ) # Last version to support ruby >= 2.3
201+ # In Ruby 3.5 (HEAD) the CGI library has been pared down, so we also need to depend on gem "cgi" for ruby@head
202+ # This is done in the "head" appraisal.
203+ # See: https://github.com/vcr/vcr/issues/1057
204+ spec . add_development_dependency ( "vcr" , ">= 4" ) # 6.0 claims to support ruby >= 2.3, but fails on ruby 2.4
205+ spec . add_development_dependency ( "webmock" , ">= 3" ) # Last version to support ruby >= 2.3
203206end
You can’t perform that action at this time.
0 commit comments