rake-dotnet 0.0.10 → 0.0.11

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/History.txt +4 -0
  2. data/Rakefile +1 -1
  3. data/lib/rake_dotnet.rb +3 -3
  4. metadata +1 -1
data/History.txt CHANGED
@@ -1,3 +1,7 @@
1
+ === 0.0.11 / 2009-04-30
2
+
3
+ * FIX: Detect processor architecture from environment variable rather than require user to figure it out and pass it in.
4
+
1
5
  === 0.0.10 / 2009-04-30
2
6
 
3
7
  * SLAP: Forgot to update release notes before releasing.
data/Rakefile CHANGED
@@ -5,7 +5,7 @@ require 'hoe'
5
5
  require 'Pathname'
6
6
  require 'rake/clean'
7
7
 
8
- Hoe.new('rake-dotnet', '0.0.10') do |p|
8
+ Hoe.new('rake-dotnet', '0.0.11') 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'
data/lib/rake_dotnet.rb CHANGED
@@ -523,7 +523,7 @@ module Rake
523
523
  @bin_dir = params[:bin_dir] || File.join(OUT_DIR, 'bin')
524
524
  @report_dir = params[:report_dir] || File.join(OUT_DIR, 'reports', 'ncover')
525
525
  @deps = params[:deps] || []
526
- tool_defaults = {:arch => 'x86'}
526
+ tool_defaults = {:arch => ENV['PROCESSOR_ARCHITECTURE']}
527
527
  @ncover_options = tool_defaults.merge(params[:ncover_options] || {})
528
528
  @ncover_reporting_options = tool_defaults.merge(params[:ncover_reporting_options] || {})
529
529
 
@@ -586,7 +586,7 @@ end
586
586
  class NCover
587
587
  def initialize(report_dir, dll_to_execute, params)
588
588
  params ||= {}
589
- arch = params[:arch] || 'x86'
589
+ arch = params[:arch] || ENV['PROCESSOR_ARCHITECTURE']
590
590
  @exe = params[:ncover_exe] || File.join(TOOLS_DIR, 'ncover', arch, 'ncover.console.exe')
591
591
  @dll_to_execute = dll_to_execute
592
592
  ofname = File.split(dll_to_execute)[1].sub(/(\.dll)/, '') + '.coverage.xml'
@@ -629,7 +629,7 @@ class NCoverReporting
629
629
  @coverage_files = coverage_files || []
630
630
 
631
631
  params ||= {}
632
- arch = params[:arch] || 'x86'
632
+ arch = params[:arch] || ENV['PROCESSOR_ARCHITECTURE']
633
633
  @exe = params[:ncover_reporting_exe] || File.join(TOOLS_DIR, 'ncover', arch, 'ncover.reporting.exe')
634
634
 
635
635
  # required
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.0.10
4
+ version: 0.0.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter MouncePeter Mounce