Skip to content

Commit a79ec10

Browse files
committed
CI: use async-io 1.36.1 in Ruby 2.6 builds
Due to socketry/async-io#72 released in async-io 1.37.0 We will need this fix as long as we want to test Falcon in Ruby 2.6, as the "fix" in async-io will be to raise the min Ruby version: socketry/async-io#74
1 parent f238dab commit a79ec10

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Gemfile

+4
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,10 @@ gem 'sinatra-contrib', path: 'sinatra-contrib'
3737
# https://github.com/socketry/async-http/pull/124/files#r1237988899
3838
gem 'traces', '< 0.10.0' if RUBY_VERSION >= '2.6.0' && RUBY_VERSION < '2.7.0'
3939

40+
# async-io started to use Ruby 2.7 syntax without specifying required Ruby version
41+
# https://github.com/socketry/async-io/issues/74
42+
gem 'async-io', '< 1.37.0' if RUBY_VERSION >= '2.6.0' && RUBY_VERSION < '2.7.0'
43+
4044
gem 'asciidoctor'
4145
gem 'builder'
4246
gem 'commonmarker', '~> 0.23.4', platforms: [:ruby]

0 commit comments

Comments
 (0)