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 +4 -4
- data/lib/nuget_helper.rb +6 -6
- data/lib/nuget_helper/version.rb +1 -1
- data/spec/Vs2013Solution/.nuget/packages.config +1 -0
- data/spec/nuget_exec_spec.rb +9 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d7ae5cefd31f7979fde44ca15e8bf6637863dd51
|
4
|
+
data.tar.gz: 708654145eced290c414b4c8035a150db968e323
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
41
|
+
self.command_path('xunit.runners', 'xunit.console.clr4.exe')
|
42
42
|
end
|
43
43
|
|
44
44
|
def self.xunit_path
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
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
|
data/lib/nuget_helper/version.rb
CHANGED
@@ -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>
|
data/spec/nuget_exec_spec.rb
CHANGED
@@ -19,13 +19,20 @@ describe "NugetHelper" do
|
|
19
19
|
expect($?.success?).to be true
|
20
20
|
end
|
21
21
|
|
22
|
-
it "can run
|
23
|
-
cmd = NugetHelper.
|
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
|