rake-dotnet 0.1.18 → 0.1.19

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.
@@ -770,8 +770,7 @@ class NCoverTask < Rake::TaskLib
770
770
  @report_dir = params[:report_dir] || File.join(OUT_DIR, 'reports', 'ncover')
771
771
  @deps = params[:deps] || []
772
772
  tool_defaults = {:arch => ENV['PROCESSOR_ARCHITECTURE']}
773
- puts ENV['PROCESSOR_ARCHITECTURE']
774
- puts 'NCOVER TD: ' + tool_defaults.to_s
773
+ @allow_iis_profiling = params[:allow_iis_profiling] || false
775
774
  @profile_options = tool_defaults.merge(params[:profile_options] || {})
776
775
  @reporting_options = tool_defaults.merge(params[:reporting_options] || {})
777
776
 
@@ -790,7 +789,7 @@ class NCoverTask < Rake::TaskLib
790
789
  rule(/#{reports_dir_regex}\/.*\.coverage\.xml/) do |r|
791
790
  dll_to_execute = r.name.sub(/#{@report_dir}\/(.*)\.coverage\.xml/, "#{@bin_dir}/\\1.dll")
792
791
  if (shouldProfileIis(dll_to_execute))
793
- @profile_options[:profile_iis] = true
792
+ @profile_options[:profile_iis] = @allow_iis_profiling
794
793
  end
795
794
  nc = NCoverConsoleCmd.new(@report_dir, dll_to_execute, @profile_options)
796
795
  nc.run
@@ -908,7 +907,6 @@ class NCoverReportingCmd
908
907
  params ||= {}
909
908
  arch = params[:arch] || ENV['PROCESSOR_ARCHITECTURE']
910
909
  @exe = params[:ncover_reporting_exe] || File.join(TOOLS_DIR, 'ncover', arch, 'ncover.reporting.exe')
911
- puts 'NR: ' + params[:arch].to_s + ' ' + arch
912
910
 
913
911
  @is_complete_version = `#{@exe}`.include?('NCover Reporting Complete v')
914
912
  # 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.1.18
4
+ version: 0.1.19
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter MouncePeter Mounce