Sha256: 62be8660086d5c534ad1c237a1ea28312c97752e204218aa6d3b8292e3ceb983

Contents?: true

Size: 386 Bytes

Versions: 19

Compression:

Stored size: 386 Bytes

Contents

module Adminix
  module LogWatchHandler
    def file_modified
      #puts "#{path} modified"
      unless Service.instance.syncing_logs
        Service.instance.new_logs = true
      end
    end

    def file_moved
      #puts "#{path} moved"
    end

    def file_deleted
      #puts "#{path} deleted"
    end

    def unbind
      #puts "#{path} monitoring ceased"
    end
  end
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
adminix-0.1.49 lib/adminix/log_watch_handler.rb
adminix-0.1.48 lib/adminix/log_watch_handler.rb
adminix-0.1.47 lib/adminix/log_watch_handler.rb
adminix-0.1.46 lib/adminix/log_watch_handler.rb
adminix-0.1.45 lib/adminix/log_watch_handler.rb
adminix-0.1.44 lib/adminix/log_watch_handler.rb
adminix-0.1.43 lib/adminix/log_watch_handler.rb
adminix-0.1.41 lib/adminix/log_watch_handler.rb
adminix-0.1.40 lib/adminix/log_watch_handler.rb
adminix-0.1.39 lib/adminix/log_watch_handler.rb
adminix-0.1.38 lib/adminix/log_watch_handler.rb
adminix-0.1.37 lib/adminix/log_watch_handler.rb
adminix-0.1.36 lib/adminix/log_watch_handler.rb
adminix-0.1.35 lib/adminix/log_watch_handler.rb
adminix-0.1.31 lib/adminix/log_watch_handler.rb
adminix-0.1.29 lib/adminix/log_watch_handler.rb
adminix-0.1.27 lib/adminix/log_watch_handler.rb
adminix-0.1.26 lib/adminix/log_watch_handler.rb
adminix-0.1.25 lib/adminix/log_watch_handler.rb