Sha256: ce56c62793331db25f852d20a917eb6952a50a9b85155d1d56ee8cf13aae2ff1

Contents?: true

Size: 337 Bytes

Versions: 17

Compression:

Stored size: 337 Bytes

Contents

module SSHKit
  module Backend

    # Printer is used to implement --dry-run in Capistrano
    class Printer < Abstract

      def execute_command(cmd)
        output.log_command_start(cmd)
      end

      alias :upload! :execute
      alias :download! :execute

      def test(*)
        super
        true
      end
    end
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
sshkit-1.16.1 lib/sshkit/backends/printer.rb
sshkit-1.16.0 lib/sshkit/backends/printer.rb
sshkit-1.15.1 lib/sshkit/backends/printer.rb
sshkit-1.15.0 lib/sshkit/backends/printer.rb
sshkit-1.14.0 lib/sshkit/backends/printer.rb
sshkit-1.13.1 lib/sshkit/backends/printer.rb
sshkit-1.13.0 lib/sshkit/backends/printer.rb
sshkit-1.12.0 lib/sshkit/backends/printer.rb
sshkit-1.11.5 lib/sshkit/backends/printer.rb
sshkit-1.11.4 lib/sshkit/backends/printer.rb
sshkit-1.11.3 lib/sshkit/backends/printer.rb
sshkit-1.11.2 lib/sshkit/backends/printer.rb
sshkit-1.11.1 lib/sshkit/backends/printer.rb
sshkit-1.11.0 lib/sshkit/backends/printer.rb
sshkit-1.10.0 lib/sshkit/backends/printer.rb
sshkit-1.9.0 lib/sshkit/backends/printer.rb
sshkit-1.9.0.rc1 lib/sshkit/backends/printer.rb