From bdac99c323ba1a5d011ff36373073b723e4ac64e Mon Sep 17 00:00:00 2001 From: Jeremy Evans Date: Sun, 24 Sep 2023 17:22:53 -0700 Subject: [PATCH] Limit Sequel or bigdecimal versions in CI on older Ruby --- .ci.gemfile | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.ci.gemfile b/.ci.gemfile index 72849ef7..42e017ae 100644 --- a/.ci.gemfile +++ b/.ci.gemfile @@ -116,9 +116,18 @@ if RUBY_VERSION >= '3.1.0' gem 'net-smtp' end +if RUBY_VERSION < '2.1' || (RUBY_ENGINE == 'jruby' && RUBY_VERSION < '2.5') + # Avoid bigdecimal requirement + gem 'sequel', '<5.72' +elsif RUBY_VERSION < '2.4' + gem 'sequel' + gem 'bigdecimal', '<1.3' +else + gem 'sequel' +end + gem 'rack_csrf' gem 'xpath' -gem 'sequel' gem 'roda' gem 'tilt' gem 'bcrypt'