Sha256: 00441ba1f57a151855014252812af4df4d199cb623a2a79e6d2aa3ea9e420ad3

Contents?: true

Size: 313 Bytes

Versions: 16

Compression:

Stored size: 313 Bytes

Contents

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

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

Version data entries

16 entries across 16 versions & 1 rubygems

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