-
Notifications
You must be signed in to change notification settings - Fork 255
call #to_s on remote so Pathnames don't go 💥 #410
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
Conversation
|
Sorry, I didn't realise those methods accepted Pathname :-( Perhaps we should also add a test to make sure this doesn't break again? |
|
I can put together a test for this, but I don't have Vagrant installed and I don't really want to install it 😔 |
|
I added tests, the local one passes, I can't run the netssh one without vagrant. Let me know if this is good and if you want me to squash and update then CHANGELOG |
|
I've got it all set up, let me give it a quick go. |
👍 |
|
(I just realised Travis also runs these and they all passed anyway.) (Oh, no, not the functional tests... but they do pass locally.) |
|
Thanks for the quick turnaround on this! Could you add a CHANGELOG entry? |
73b7297 to
e58cd09
Compare
|
Updated the changelog and squashed commits. Not sure why Danger is blowing up. |
|
Danger is blowing up because:
Could you take care of that? Thanks! |
e58cd09 to
5ee1c93
Compare
|
Ah Mondays... Danger is happy again. |
|
Thanks for your help! |
## [1.16.0][] (2018-02-03) * [#417](capistrano/sshkit#417): Cache key generation for connections becomes slow when `known_hosts` is a valid `net/ssh` options and `known_hosts` file is big. This changes the cache key generation and fixes performance issue - [@ElvinEfendi](https://github.com/ElvinEfendi). ## [1.15.1][] (2017-11-18) This is a small bug-fix release that fixes problems with `upload!` and `download!` that were inadvertently introduced in 1.15.0. ### Breaking changes * None ### Bug fixes * [#410](capistrano/sshkit#410): fix NoMethodError when using upload!/download! with Pathnames - [@UnderpantsGnome](https://github.com/UnderpantsGnome) * [#411](capistrano/sshkit#410): fix upload!/download! when using relative paths outside of `within` blocks - [@Fjan](https://github.com/Fjan) ## [1.15.0][] (2017-11-03) ### New features * [#408](capistrano/sshkit#408): upload! and download! now respect `within` - [@sj26](https://github.com/sj26) ### Potentially breaking changes * `upload!` and `download!` now support remote paths which are relative to the `within` working directory. They were previously documented as only supporting absolute paths, but relative paths still worked relative to the remote working directory. If you rely on the previous behaviour you may need to adjust your code.
This fixes #409