dev_commands 0.0.32 → 0.0.33

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/test.rb +6 -2
  2. metadata +1 -1
data/lib/test.rb CHANGED
@@ -29,7 +29,9 @@ class Test < Array
29
29
  @@nunit_console=''
30
30
  def self.nunit_console
31
31
  if(!File.exists?(@@nunit_console))
32
- @@nunit_console = NUNIT_CONSOLE if(defined?(NUNIT_CONSOLE))
32
+ if(defined?(NUNIT_CONSOLE))
33
+ @@nunit_console = NUNIT_CONSOLE
34
+ end
33
35
  @@nunit_console = "C:\\Program Files (x86)\\NUnit 2.6.4\\bin\\nunit-console.exe" if(!File.exists?(@@nunit_console))
34
36
  @@nunit_console = "C:\\Program Files (x86)\\NUnit 2.6.3\\bin\\nunit-console.exe" if(!File.exists?(@@nunit_console))
35
37
  end
@@ -42,7 +44,9 @@ class Test < Array
42
44
  @@nunit_console_x86=''
43
45
  def self.nunit_console_x86
44
46
  if(!File.exists?(@@nunit_console_x86))
45
- @@nunit_console_x86 = NUNIT_CONSOLE_X86 if(defined?(NUNIT_CONSOLE_X86))
47
+ if(defined?(NUNIT_CONSOLE_X86))
48
+ @@nunit_console_x86 = NUNIT_CONSOLE_X86
49
+ end
46
50
  @@nunit_console_x86 = "C:\\Program Files (x86)\\NUnit 2.6.4\\bin\\nunit-console-x86.exe" if(!File.exists?(@@nunit_console_x86))
47
51
  @@nunit_console_x86 = "C:\\Program Files (x86)\\NUnit 2.6.3\\bin\\nunit-console-x86.exe" if(!File.exists?(@@nunit_console_x86))
48
52
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dev_commands
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.32
4
+ version: 0.0.33
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: