Package: ruby-net-ssh-multi / 1.2.1-8

Metadata

Package Version Patches format
ruby-net-ssh-multi 1.2.1-8 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
fix test for mocha 2.patch | (download)

test/common.rb | 3 2 + 1 - 0 !
1 file changed, 2 insertions(+), 1 deletion(-)

 fix ftbfs with ruby-mocha 2
require timeout.patch | (download)

lib/net/ssh/multi/server.rb | 1 1 + 0 - 0 !
1 file changed, 1 insertion(+)

 explicitly require timeout
failing_tests_mocha_1.2.patch | (download)

test/session_actions_test.rb | 8 4 + 4 - 0 !
1 file changed, 4 insertions(+), 4 deletions(-)

 disable failing tests with mocha 1.2.1
 due to visibility issues of created methods
 (exec is private)
mocha 3.patch | (download)

test/channel_test.rb | 4 2 + 2 - 0 !
test/session_test.rb | 2 1 + 1 - 0 !
2 files changed, 3 insertions(+), 3 deletions(-)

 tests: fix mocha 3+ strict keyword-argument matching in expectations
 With Mocha >= 3.0 (and Ruby 3+ keyword separation) an expectation written as
 `.with(foo: bar)` is now treated as a keyword argument, while the real code
 passes a positional Hash `{foo: bar}`.