mail_room icon indicating copy to clipboard operation
mail_room copied to clipboard

Specify Redis gems as required dependencies

Open stanhu opened this issue 2 years ago • 4 comments

We recently came across a Ruby 3 compatibility issue with redis-namespace and MailRoom that required updating to redis-namespace v1.8.x (https://github.com/resque/redis-namespace/blob/master/CHANGELOG.md). Since the gemspec did not specify a version, we have to install the required Redis gems by hand and missed the need for updating.

Adjust tests to support both Redis v4 and v5 gems. Redis v4 may still be needed for Rails 6 compatibility.

stanhu avatar May 12 '23 16:05 stanhu

It looks like the specs need to be updated for Redis 5: https://github.com/tpitale/mail_room/actions/runs/4961109521/jobs/8877471798

stanhu avatar May 12 '23 16:05 stanhu

@tpitale Curious what you think about this pull request. In general, I think we should move move of the development gems into required gems so we can be sure that the code here works against the specific gem versions, but I can understand that C extensions might be a concern.

stanhu avatar May 12 '23 19:05 stanhu

@tpitale What do you think of this pull request and https://github.com/tpitale/mail_room/pull/161?

stanhu avatar Dec 08 '23 18:12 stanhu

I think I worried about this because not everyone uses this delivery method. But I'll have to look on a computer the next chance I get.

If you don't hear from me by Monday, don't hesitate to ping me again.

tpitale avatar Dec 08 '23 19:12 tpitale