Skip to content

Comments

Bump latest version of net-sftp#1

Open
facundofarias wants to merge 80 commits intowildbit:masterfrom
facundofarias:master
Open

Bump latest version of net-sftp#1
facundofarias wants to merge 80 commits intowildbit:masterfrom
facundofarias:master

Conversation

@facundofarias
Copy link

No description provided.

voxik and others added 30 commits July 16, 2014 15:14
add missing `end` in example
Use `File#exist?` to silence deprecation warnings.
Fix Ruby 2.4 compatibility.
Fix Session inline documentation with password
Ruby's IO class defines the #gets method as having an optional limit
argument. This can either be passed in as an integer for the first
argument or passed in addition to the delimiter. This makes argument
handling a little awkward unfortunately.
The previous commit added a limit argument to #gets as defined by Ruby's
IO class. This does the same for readline since it also accepts a limit
argument in the IO class. Fortunately we simply forward these params to
gets.
Add a sentence documenting the new limit argument. Took this sentence
from Ruby's IO documentation.

https://ruby-doc.org/core-2.5.1/IO.html#method-i-gets
A separator string could be provided that was not found in the stream.
In that scenario, we were ignoring the limit argument. This change
respects the limit argument even when the separator isn't found.
Ruby's IO documentation says that if nil is passed as the separator
argument, the IO object should read to the end of the file or until the
limit argument is reached.
This is another method an IO-like object should provide. It resets the
beginning state of the file.
Update to net-ssh 5.0.2 improves performance; fix tests
Add #size and #rewind to Net::SFTP::Operations::File
thbar and others added 30 commits April 26, 2020 16:03
Allow to set protocol version via Net::SFTP.start
Test with modern rubies incl. jruby and truffleruby.

Jruby doesn't seem to pass so far.
... which fixes OpenSSL 3 compat.

Closes net-ssh#136
# Conflicts:
#	lib/net/sftp.rb
#	net-sftp.gemspec
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.