nuget_helper 0.0.10 → 0.0.11

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7250a32ea55c1132e5476dcc8f94307966a4471b
4
- data.tar.gz: 447e2b522b7dbdc8c9076efc8df355883eac0c16
3
+ metadata.gz: d7ae5cefd31f7979fde44ca15e8bf6637863dd51
4
+ data.tar.gz: 708654145eced290c414b4c8035a150db968e323
5
5
  SHA512:
6
- metadata.gz: 139d751b2ee91b31999abf778963e9f0b94cde80dc9d7330385dcf92fc2464025aa61706f221cb8c6fa96af2cf1aa905b858870f048e229fbdbc6948d8f744c9
7
- data.tar.gz: 3af09b5af2ceb44ffd4b833c2dee699be360b3c60c05eddd8268467c5f50471cf2ce6f7e4dcd407b34b2edc130c081e082dbbf702cf4243766782635d079a956
6
+ metadata.gz: 2bc3d9f6f80eaf7dfcd0a43a26645cad27433aea4f16787faec76e93fcef81c2cb9d1728719ded3ba54b6146d4dad5e0c14363d5144ef5af27ed0b08d84b6c38
7
+ data.tar.gz: ecdf7a38b688c201a08948d82c245c0ef93af8ca895d6c64f9b8d1826689e4854e9fff7d673028ed9edb01047b128c36c8eb1eb6d26d437a699c6c18b4cd31a8
data/lib/nuget_helper.rb CHANGED
@@ -38,15 +38,15 @@ module NugetHelper
38
38
  end
39
39
 
40
40
  def self.xunit_clr4_path
41
- self.command_path('xunit.runners', 'xunit.console-clr4.exe')
41
+ self.command_path('xunit.runners', 'xunit.console.clr4.exe')
42
42
  end
43
43
 
44
44
  def self.xunit_path
45
- old_xunit = self.first_command_path('xunit.runners', 'xunit.console-clr4.exe')
46
- if not old_xunit.nil?
47
- return old_xunit
48
- end
49
- return self.command_path('xunit.runner.console', 'xunit.console.exe')
45
+ self.command_path('xunit.runners', 'xunit.console.exe')
46
+ end
47
+
48
+ def self.xunit2_path
49
+ self.command_path('xunit.runner.console', 'xunit.console.exe')
50
50
  end
51
51
 
52
52
  def self.mspec_path
@@ -1,3 +1,3 @@
1
1
  module NugetHelper
2
- VERSION = "0.0.10"
2
+ VERSION = "0.0.11"
3
3
  end
@@ -2,6 +2,7 @@
2
2
  <packages>
3
3
  <package id="NUnit.Runners" version="2.6.4" />
4
4
  <package id="xunit.runner.console" version="2.0.0" />
5
+ <package id="xunit.runners" version="1.9.2" />
5
6
  <package id="Machine.Specifications.Runner.Console" version="0.9.0" />
6
7
  <package id="nspec" version="0.9.68" />
7
8
  </packages>
@@ -19,13 +19,20 @@ describe "NugetHelper" do
19
19
  expect($?.success?).to be true
20
20
  end
21
21
 
22
- it "can run xunit runner" do
23
- cmd = NugetHelper.xunit_path
22
+ it "can run xunit2 runner" do
23
+ cmd = NugetHelper.xunit2_path
24
24
  c = NugetHelper.run_tool cmd
25
25
  expect(c).to be false
26
26
  expect($?.exitstatus).to be 1
27
27
  end
28
28
 
29
+ it "can run xunit clr4 runner" do
30
+ cmd = NugetHelper.xunit_clr4_path
31
+ c = NugetHelper.run_tool cmd
32
+ expect(c).to be false
33
+ #expect($?.exitstatus).to be 1
34
+ end
35
+
29
36
  it "can run mspec runner" do
30
37
  cmd = NugetHelper.mspec_path
31
38
  c = NugetHelper.run_tool cmd
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nuget_helper
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
  - Oskar Gewalli