minad-imaginator 0.1.2 → 0.1.3

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.
Files changed (2) hide show
  1. data/lib/imaginator.rb +4 -1
  2. metadata +1 -1
data/lib/imaginator.rb CHANGED
@@ -5,7 +5,7 @@ require 'monitor'
5
5
  require 'drb'
6
6
 
7
7
  class Imaginator
8
- VERSION = "0.1.2"
8
+ VERSION = '0.1.3'
9
9
 
10
10
  class LaTeX
11
11
  def initialize(opts = {})
@@ -140,6 +140,9 @@ END
140
140
  def run
141
141
  if !running?
142
142
  raise(ArgumentError, "No target directory given") if !@dir
143
+ if @uri =~ %r{^drbunix://(.+)$}
144
+ File.unlink($1) rescue nil
145
+ end
143
146
  @server = Imaginator.new(@dir)
144
147
  yield(@server) if block_given?
145
148
  DRb.start_service(@uri, @server)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: minad-imaginator
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Mendler