v2.5.2 added net-ftp as a gem dependency to try to anticipate Ruby 3.1 changes.
However, for users of Ruby 2.7 and earlier, this resulted in warnings as demonstrated at #105.
This change makes net-ftp an optional (or "soft") dependency, so that if it's loaded the FTP functionality works; but if it's not loaded then an exception is raised informing the user what's wrong.
v2.5.2 added
net-ftp
as a gem dependency to try to anticipate Ruby 3.1 changes.However, for users of Ruby 2.7 and earlier, this resulted in warnings as demonstrated at #105.
This change makes
net-ftp
an optional (or "soft") dependency, so that if it's loaded the FTP functionality works; but if it's not loaded then an exception is raised informing the user what's wrong.