Sha256: e95e5022865965e67b098c6f61e2155bb9c6ad36d0cff5fa2b190f92eafd3a72

Contents?: true

Size: 766 Bytes

Versions: 16

Compression:

Stored size: 766 Bytes

Contents

require 'thor/shell'
require 'docker-sync/execution'

module Docker_Sync
  module WatchStrategy
    class Dummy
      include Thor::Shell
      include Execution

      @options
      @sync_name
      @watch_fork
      @watch_thread

      def initialize(sync_name, options)
        @options = options
        @sync_name = sync_name
        @watch_fork = nil
        @watch_thread = nil
      end

      def run
        say_status 'success', 'Watcher disabled by configuration' if @options['verbose']
      end

      def stop
      end

      def clean
      end

      def watch
      end

      def watch_options
      end

      def watch_fork
        return @watch_fork
      end

      def watch_thread
        return @watch_thread
      end
    end
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
docker-sync-0.4.6 lib/docker-sync/watch_strategy/dummy.rb
docker-sync-0.4.5 lib/docker-sync/watch_strategy/dummy.rb
docker-sync-0.4.5.beta1 lib/docker-sync/watch_strategy/dummy.rb
docker-sync-0.4.4 lib/docker-sync/watch_strategy/dummy.rb
docker-sync-0.4.4.beta2 lib/docker-sync/watch_strategy/dummy.rb
docker-sync-0.4.4.beta1 lib/docker-sync/watch_strategy/dummy.rb
docker-sync-0.4.3 lib/docker-sync/watch_strategy/dummy.rb
docker-sync-0.4.3.pre.beta1 lib/docker-sync/watch_strategy/dummy.rb
docker-sync-0.4.2 lib/docker-sync/watch_strategy/dummy.rb
docker-sync-0.4.1 lib/docker-sync/watch_strategy/dummy.rb
docker-sync-0.4.1.pre.beta2 lib/docker-sync/watch_strategy/dummy.rb
docker-sync-0.4.1.pre.beta1 lib/docker-sync/watch_strategy/dummy.rb
docker-sync-0.4.0 lib/docker-sync/watch_strategy/dummy.rb
docker-sync-0.4.0.pre.beta2 lib/docker-sync/watch_strategy/dummy.rb
docker-sync-0.4.0.pre.beta1 lib/docker-sync/watch_strategy/dummy.rb
docker-sync-0.3.6 lib/docker-sync/watch_strategy/dummy.rb