rake-dotnet 0.1.14 → 0.1.15

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 (4) hide show
  1. data/History.txt +4 -0
  2. data/Rakefile.rb +1 -1
  3. data/lib/rake_dotnet.rb +7 -1
  4. metadata +2 -2
@@ -1,3 +1,7 @@
1
+ === 0.1.15 / 2009-09-23
2
+
3
+ CHANGE: Xunit.NET - cope with v1.5 release which packages an x86 console runner as well as x64 one, in combination with wanting to run x86 one if it exists because of WatiN seeming to not be happy running under x64.
4
+
1
5
  === 0.1.14 / 2009-09-08
2
6
 
3
7
  FIX: Versioner: Replace the RDNVERSION constant with calls to Versioner.new.get
@@ -5,7 +5,7 @@ require 'hoe'
5
5
  require 'Pathname'
6
6
  require 'rake/clean'
7
7
 
8
- Hoe.new('rake-dotnet', '0.1.14') do |p|
8
+ Hoe.new('rake-dotnet', '0.1.15') do |p|
9
9
  p.author = 'Peter Mounce'
10
10
  p.description = 'Making a .NET build-automation dev\'s life easier, one angle-bracket at a time'
11
11
  p.email = 'pete@neverrunwithscissors.com'
@@ -1021,7 +1021,13 @@ class XUnit
1021
1021
  attr_accessor :xunit, :test_dll, :reports_dir, :options
1022
1022
 
1023
1023
  def initialize(test_dll, reports_dir, xunit=nil, options={})
1024
- @xunit = xunit || File.join(TOOLS_DIR, 'xunit', 'xunit.console.exe')
1024
+ x86exe = File.join(TOOLS_DIR, 'xunit', 'xunit.console.x86.exe')
1025
+ x64exe = File.join(TOOLS_DIR, 'xunit', 'xunit.console.exe')
1026
+ path_to_xunit = x64exe
1027
+ if File.exist? x86exe
1028
+ path_to_xunit = x86exe
1029
+ end
1030
+ @xunit = xunit || path_to_xunit
1025
1031
  @xunit = File.expand_path(@xunit)
1026
1032
  @test_dll = File.expand_path(test_dll)
1027
1033
  @reports_dir = File.expand_path(reports_dir)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rake-dotnet
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.14
4
+ version: 0.1.15
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter MouncePeter Mounce
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-09-08 00:00:00 +01:00
12
+ date: 2009-09-23 00:00:00 +01:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency