Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

address net-ftp warnings #106

Merged
merged 2 commits into from May 31, 2021
Merged

address net-ftp warnings #106

merged 2 commits into from May 31, 2021

Conversation

flavorjones
Copy link
Owner

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.

and let users know what's wrong if they try to use it with a version
of Ruby that doesn't provide it by default.
@flavorjones flavorjones force-pushed the 105-address-net-ftp-warnings branch from 912a907 to 90a7ea4 Compare May 31, 2021 14:37
@flavorjones flavorjones changed the base branch from main to v2.5.x May 31, 2021 14:37
@flavorjones flavorjones merged commit dd5e3dd into v2.5.x May 31, 2021
@flavorjones flavorjones deleted the 105-address-net-ftp-warnings branch May 31, 2021 15:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant