Skip to content

Commit

Permalink
Avoid transitively pulling in bigdecimal dependency in CI via sequel_…
Browse files Browse the repository at this point in the history
…pg->sequel on Ruby <2.1
  • Loading branch information
jeremyevans committed Sep 19, 2023
1 parent 9588e06 commit 56534ac
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .ci.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,8 @@ platforms :ruby do
end

# Test current sequel_pg on half of the MRIs, and pure-ruby on the other half
if sequel_pg
# Avoid pulling in bigdecimal gem on Ruby < 2.1
if sequel_pg && RUBY_VERSION >= '2.1'
gem 'sequel_pg', git: 'https://github.com/jeremyevans/sequel_pg', require: 'sequel'
end
end
Expand Down

0 comments on commit 56534ac

Please sign in to comment.