nuget_helper 0.0.7 → 0.0.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/nuget_helper.rb +4 -0
- data/lib/nuget_helper/version.rb +1 -1
- data/spec/nuget_exec_spec.rb +7 -0
- 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: 03bd3266b4c73775cf10cb0dd48fecf72120acd0
|
4
|
+
data.tar.gz: 319533792d005cb2270afdabe22cdcf426eb39bd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ba80d175ee8ea48122679be65821ffdf50dfc356bebb4cc4d46ef5674ddd513706b74124365d82f034886aeb3554f10d631543ba356094a58d8b14bdbb414d4f
|
7
|
+
data.tar.gz: 004d7620c2f6766b5ab8be0c8d6aeecb738179b5485a62799c40623604eada16eb4f2ee66e2115c3a88392e410b524ae58edcbe17bbe4791c77ece4e86c41b77
|
data/lib/nuget_helper.rb
CHANGED
@@ -49,6 +49,10 @@ module NugetHelper
|
|
49
49
|
self.command_path('Machine.Specifications', 'mspec.exe')
|
50
50
|
end
|
51
51
|
|
52
|
+
def self.mspec_clr4_path
|
53
|
+
self.command_path('Machine.Specifications', 'mspec-clr4.exe')
|
54
|
+
end
|
55
|
+
|
52
56
|
def self.run_tool(command, parameters=nil)
|
53
57
|
parameters = '' if parameters.nil?
|
54
58
|
if self.os == :windows
|
data/lib/nuget_helper/version.rb
CHANGED
data/spec/nuget_exec_spec.rb
CHANGED
@@ -32,6 +32,13 @@ describe "NugetHelper" do
|
|
32
32
|
expect(c).to be false
|
33
33
|
expect($?.exitstatus).to be 1
|
34
34
|
end
|
35
|
+
|
36
|
+
it "can run mspec clr4 runner" do
|
37
|
+
cmd = NugetHelper.mspec_clr4_path
|
38
|
+
c = NugetHelper.run_tool cmd
|
39
|
+
expect(c).to be false
|
40
|
+
expect($?.exitstatus).to be 1
|
41
|
+
end
|
35
42
|
end
|
36
43
|
end
|
37
44
|
end
|