Skip to content

Lock net-protocol version to match the monkey patch

Igor Drozdov requested to merge id-introcuce-net-protocol-gem into master

What does this MR do and why?

Ruby extracted net-protocol (and some other net-* related functionality) into separate gems. GitLab has BufferedIO patch that may rely on a different version of the gem/functionality. Let's lock the version and use 0.1.x version, the one that contains the current BufferedIO patch implementation:


Some more context: Rails 7 now explicitly adds net-imap, net-pop, net-smtp along with net-protocol and since the version is not locked, the newest one (0.2.1) is included with different BufferedIO implementation.

It seems that Ruby has a different version of net/protocol implementation

Locking the gem version to 0.1.x will allow us to postpone patching the new version of the method until we upgrade to Ruby 3.1.3

Edited by Igor Drozdov

Merge request reports

Loading