skroutz / rspecq

Distribute and run RSpec suites among parallel workers; for faster CI builds
https://rubygems.org/gems/rspecq
MIT License
161 stars 24 forks source link

Fixes deprecation warning: #75

Closed Nerian closed 2 years ago

Nerian commented 2 years ago

This PR fixes this deprecation warning:

(called from /Users/Nerian/.rvm/gems/ruby-3.1.0/gems/rspecq-0.7.2/lib/rspecq/queue.rb:235:in `exhausted?'}
Pipelining commands on a Redis instance is deprecated and will be removed in Redis 5.0.0.

redis.multi do
  redis.get("key")
end

should be replaced by

redis.multi do |pipeline|
  pipeline.get("key")
end