ensime_bridge 0.0.8 → 0.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/ensime_bridge.rb +0 -4
- metadata +1 -1
    
        data/lib/ensime_bridge.rb
    CHANGED
    
    | @@ -30,7 +30,6 @@ class EnsimeBridge | |
| 30 30 | 
             
                        @no_ensime_config = true
         | 
| 31 31 | 
             
                        return
         | 
| 32 32 | 
             
                    end
         | 
| 33 | 
            -
                    @ensime = Ensime.new(path)
         | 
| 34 33 | 
             
                    @queue = Queue.new
         | 
| 35 34 | 
             
                    Dir.mkdir @cache if not File.exists?(@cache)
         | 
| 36 35 | 
             
                    @logger = Logger.new(@cache+"bridge.log", 2, 100000)
         | 
| @@ -43,7 +42,6 @@ class EnsimeBridge | |
| 43 42 | 
             
                    end
         | 
| 44 43 | 
             
                end
         | 
| 45 44 | 
             
                def stop
         | 
| 46 | 
            -
                    @ensime.stop
         | 
| 47 45 | 
             
                    File.delete @bridge_file if File.exists?  @bridge_file
         | 
| 48 46 | 
             
                    exit
         | 
| 49 47 | 
             
                end
         | 
| @@ -126,8 +124,6 @@ class EnsimeBridge | |
| 126 124 | 
             
                end
         | 
| 127 125 | 
             
                def run
         | 
| 128 126 | 
             
                    return if @no_ensime_config
         | 
| 129 | 
            -
                    @ensime.quiet = quiet
         | 
| 130 | 
            -
                    @ensime.run
         | 
| 131 127 | 
             
                    if is_running?
         | 
| 132 128 | 
             
                        @logger.info "bridge is already running"
         | 
| 133 129 | 
             
                        return
         |