nuget_helper 0.0.1 → 0.0.2
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 +2 -1
- data/lib/nuget_helper/version.rb +1 -1
- data/spec/nuget_exec_spec.rb +1 -1
- 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: 80d51af1ba2cb89c64ac73388d741dfd3f0e60d1
|
4
|
+
data.tar.gz: f782295edf9b74529e49c97ed52324428298c3b8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4763fe4b4d018a0274679947e7b2db4528d83610c33b79a72d6fca74d3dc0d44063cdb97880ceb36df9e113d9e009265584f55317d14d2bee091752e9dd07e03
|
7
|
+
data.tar.gz: 5e7df9842fc3dfef68f5bb636295b54d56b2c11e51672f60715f4a3e31df1e86761b3b6ae9480cf31de8db4df3d6acaf15f5a846d67d655ba431bdeab88a03ae
|
data/lib/nuget_helper.rb
CHANGED
@@ -28,7 +28,8 @@ module NugetHelper
|
|
28
28
|
def self.command_path(library, exe)
|
29
29
|
cmds = Dir.glob(File.join("**","packages","#{library}.*","tools",exe))
|
30
30
|
if cmds.any?
|
31
|
-
command = cmds.first
|
31
|
+
command = File.expand_path cmds.first
|
32
|
+
return command
|
32
33
|
else
|
33
34
|
raise "Could not find #{exe} at the packages/#{library}.*/tools/ path!"
|
34
35
|
end
|
data/lib/nuget_helper/version.rb
CHANGED
data/spec/nuget_exec_spec.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
require_relative 'spec_helper'
|
2
2
|
$vs_2013_solution = File.join(File.dirname(__FILE__), "Vs2013Solution", "Vs2013Solution.sln")
|
3
3
|
|
4
|
-
describe NugetHelper do
|
4
|
+
describe "NugetHelper" do
|
5
5
|
describe "execute system nuget" do
|
6
6
|
it "can restore packages" do
|
7
7
|
NugetHelper.exec("restore #{$vs_2013_solution}")
|