jrmvnrunner 0.1.4 → 0.1.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -22,7 +22,7 @@ module Jrmvnrunner
22
22
  def execute!
23
23
  log "Current directory: #{Dir.pwd}"
24
24
 
25
- if cached_dir.nil?
25
+ if cached_dir.nil? || !File.exists?(cached_dir)
26
26
  ensure_jruby!
27
27
  ensure_mvn!
28
28
  write_gem!
data/lib/jrmvnrunner.rb CHANGED
@@ -1,7 +1,7 @@
1
1
  require 'pathname'
2
2
 
3
3
  module Jrmvnrunner
4
- VERSION="0.1.4"
4
+ VERSION="0.1.6"
5
5
  MYDIR = Pathname.new(File.dirname(File.expand_path(__FILE__)))
6
6
  autoload :Runner, MYDIR.join('jrmvnrunner/runner')
7
7
  autoload :Dsl, MYDIR.join('jrmvnrunner/dsl')
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: jrmvnrunner
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.1.4
5
+ version: 0.1.6
6
6
  platform: ruby
7
7
  authors:
8
8
  - Ilya Sadykov