Sha256: 83fa07d8e098fa479126dc36918e3e4a9a09cd7f55981f5b66922e4d76275376

Contents?: true

Size: 558 Bytes

Versions: 26

Compression:

Stored size: 558 Bytes

Contents

require 'stringio'
require 'test/unit'
require File.dirname(__FILE__) + '/../lib/screwcap'

require 'rubygems'
require 'mocha'
require 'ruby-debug' rescue nil
require 'net/ssh'

class SSHObject < OpenStruct
  attr_accessor :options

  def initialize(options = {})
  end

  def on_data
    yield SSHObject.new, ""
  end

  def on_extended_data
    yield SSHObject.new, "", ""
  end

  def read_long
    ""
  end

  def upload!(from, to)
    nil
  end

  def scp
    SSHObject.new
  end

  def on_request(item)
    yield SSHObject.new, SSHObject.new
  end
end

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
screwcap-0.8.3 spec/spec_helper.rb
screwcap-0.8.2 spec/spec_helper.rb
screwcap-0.8.1 spec/spec_helper.rb
screwcap-0.8 spec/spec_helper.rb
screwcap-0.7.4 spec/spec_helper.rb
screwcap-0.7.3 spec/spec_helper.rb
screwcap-0.7.2 spec/spec_helper.rb
screwcap-0.7.1 spec/spec_helper.rb
screwcap-0.7 spec/spec_helper.rb
screwcap-0.6.3 spec/spec_helper.rb
screwcap-0.6.2 spec/spec_helper.rb
screwcap-0.6.1 spec/spec_helper.rb
screwcap-0.6 spec/spec_helper.rb
screwcap-0.6.pre6 spec/spec_helper.rb
screwcap-0.6.pre5 spec/spec_helper.rb
screwcap-0.6.pre4 spec/spec_helper.rb
screwcap-0.6.pre3 spec/spec_helper.rb
screwcap-0.6.pre2 spec/spec_helper.rb
screwcap-0.6.pre spec/spec_helper.rb
screwcap-0.5 spec/spec_helper.rb