Sha256: dc15e45ea257fde4b6c490577d584e6211ce8e74e71b1d8f3353cca7747d9a0d

Contents?: true

Size: 307 Bytes

Versions: 22

Compression:

Stored size: 307 Bytes

Contents

module DockerSync
  module Dependencies
    module Rsync
      def self.available?
        return @available if defined? @available
        @available = find_executable0('rsync')
      end

      def self.ensure!
        PackageManager.install_package('rsync') unless available?
      end
    end
  end
end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
docker-sync-0.5.14 lib/docker-sync/dependencies/rsync.rb
docker-sync-0.5.13 lib/docker-sync/dependencies/rsync.rb
docker-sync-0.5.11 lib/docker-sync/dependencies/rsync.rb
docker-sync-0.5.11.pre.beta3 lib/docker-sync/dependencies/rsync.rb
docker-sync-0.5.11.pre.beta2 lib/docker-sync/dependencies/rsync.rb
docker-sync-0.5.11.pre.beta1 lib/docker-sync/dependencies/rsync.rb
docker-sync-0.5.10 lib/docker-sync/dependencies/rsync.rb
docker-sync-0.5.10.pre.beta1 lib/docker-sync/dependencies/rsync.rb
docker-sync-0.5.9 lib/docker-sync/dependencies/rsync.rb
docker-sync-0.5.8 lib/docker-sync/dependencies/rsync.rb
docker-sync-0.5.7 lib/docker-sync/dependencies/rsync.rb
docker-sync-0.5.6 lib/docker-sync/dependencies/rsync.rb
docker-sync-0.5.5 lib/docker-sync/dependencies/rsync.rb
docker-sync-0.5.4 lib/docker-sync/dependencies/rsync.rb
docker-sync-0.5.3 lib/docker-sync/dependencies/rsync.rb
docker-sync-0.5.2 lib/docker-sync/dependencies/rsync.rb
docker-sync-0.5.1 lib/docker-sync/dependencies/rsync.rb
docker-sync-0.5.0 lib/docker-sync/dependencies/rsync.rb
docker-sync-0.5.0.pre.rc1 lib/docker-sync/dependencies/rsync.rb
docker-sync-0.5.0.pre.beta3 lib/docker-sync/dependencies/rsync.rb