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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 22afea673dd40e64c20318ffada8d9b9b850bf59
4
- data.tar.gz: 624a38baa508f68ad4307ebf53655e0ae08abf32
3
+ metadata.gz: 03bd3266b4c73775cf10cb0dd48fecf72120acd0
4
+ data.tar.gz: 319533792d005cb2270afdabe22cdcf426eb39bd
5
5
  SHA512:
6
- metadata.gz: 2da37de0f63a69e3979351eb1b8b30f3468454098613d1092362b2edf12b14c8017c21fd5c70404f21e80f1d6c6cdbf9fb799f210eb24454a36fe1e9302b15f0
7
- data.tar.gz: 32d4c830af513c656f103609f40c978e44b82a3a6b71f1c1368fcd4c20d2865ad7fc325f61345d30603406b27cba2ed334f6c939fbb21533f6ef29542b93b565
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
@@ -1,3 +1,3 @@
1
1
  module NugetHelper
2
- VERSION = "0.0.7"
2
+ VERSION = "0.0.8"
3
3
  end
@@ -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
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.7
4
+ version: 0.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Oskar Gewalli