dev 1.0.188 → 1.0.189

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/dev/Paths.rb +2 -1
  2. metadata +1 -1
data/lib/dev/Paths.rb CHANGED
@@ -26,7 +26,7 @@ class Paths < Hash
26
26
  nunit="#{nunit_bin}/bin/nunit-console.exe" if nunit_bin.length > 3
27
27
  nunitx86="#{nunit_bin}/bin/nunit-console-x86.exe" if nunit_bin.length > 3
28
28
 
29
- if nunit.length==0
29
+ if nunit.length==0 || !File.exists?(nunit)
30
30
  ["2.6.0.12051","2.5.10.11092"].each{ |v|
31
31
  Dir.glob("#{Dev::Environment.dev_root}/dep/*/NUnit/#{v}/bin/nunit-console.exe").each{|f|
32
32
  nunit=f if File.exists?(f) && self[:nunit].nil?
@@ -48,6 +48,7 @@ class Paths < Hash
48
48
  }
49
49
  end
50
50
 
51
+ self[:nunit_bin]=nunit_bin
51
52
  self[:nunit]=nunit
52
53
  self[:nunitx86]=nunitx86
53
54
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dev
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.188
4
+ version: 1.0.189
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: