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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9c410dd8beda5fe166e5cb2ea67eafc61ad5fa84
4
- data.tar.gz: b0447b6cff311952e5bf625cc29e263ba51fc0fb
3
+ metadata.gz: 80d51af1ba2cb89c64ac73388d741dfd3f0e60d1
4
+ data.tar.gz: f782295edf9b74529e49c97ed52324428298c3b8
5
5
  SHA512:
6
- metadata.gz: 916ec3738ff1223a5e9f4413be410040605141974128bc7bd143283ff828fb922ce641da481d1aae1cd102750f7712e9350255207cd29f8f9c22690374592da8
7
- data.tar.gz: 9dbfddd81af42e49ee3c8ad34de760c6d4078fdbb264edc4795837ab866f3c017db8b277f2f0ba46246ac0ef5a5506bab9f8866612172b14fa0fadc3437a5b29
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
@@ -1,3 +1,3 @@
1
1
  module NugetHelper
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
@@ -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}")
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.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Oskar Gewalli