File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -31,16 +31,16 @@ Gem::Specification.new do |spec|
31
31
spec . specification_version = 3
32
32
33
33
if Gem ::Version . new ( Gem ::VERSION ) >= Gem ::Version . new ( '1.2.0' ) then
34
- spec . add_runtime_dependency ( %q<net-ssh> , [ ">= 2.6.5" , "< 5 .0.0" ] )
34
+ spec . add_runtime_dependency ( %q<net-ssh> , [ ">= 2.6.5" , "< 6 .0.0" ] )
35
35
spec . add_development_dependency ( %q<test-unit> , [ ">= 0" ] )
36
36
spec . add_development_dependency ( %q<mocha> , [ ">= 0" ] )
37
37
else
38
- spec . add_dependency ( %q<net-ssh> , [ ">= 2.6.5" , "< 5 .0.0" ] )
38
+ spec . add_dependency ( %q<net-ssh> , [ ">= 2.6.5" , "< 6 .0.0" ] )
39
39
spec . add_dependency ( %q<test-unit> , [ ">= 0" ] )
40
40
spec . add_dependency ( %q<mocha> , [ ">= 0" ] )
41
41
end
42
42
else
43
- spec . add_dependency ( %q<net-ssh> , [ ">= 2.6.5" , "< 5 .0.0" ] )
43
+ spec . add_dependency ( %q<net-ssh> , [ ">= 2.6.5" , "< 6 .0.0" ] )
44
44
spec . add_dependency ( %q<test-unit> , [ ">= 0" ] )
45
45
spec . add_dependency ( %q<mocha> , [ ">= 0" ] )
46
46
end
Original file line number Diff line number Diff line change @@ -207,7 +207,7 @@ def prepare_directory
207
207
208
208
def expect_file ( path , data )
209
209
File . stubs ( :directory? ) . with ( path ) . returns ( false )
210
- File . stubs ( :exists ? ) . with ( path ) . returns ( true )
210
+ File . stubs ( :exist ? ) . with ( path ) . returns ( true )
211
211
file = StringIO . new ( data )
212
212
file . stubs ( :stat ) . returns ( stub ( "stat" , :size => data . length ) )
213
213
File . stubs ( :open ) . with ( path , "rb" ) . returns ( file )
You can’t perform that action at this time.
0 commit comments