mgmt 0.3.1 → 0.3.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/bin/mgmt +3 -3
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5c6cf9d464638ba78da01af66d7d4959b873c334
4
- data.tar.gz: 266429d2c96b8984ac542f8227427ec0496e0de9
3
+ metadata.gz: f1d505b316ae93b3a91cb96a094a35a43d2b6419
4
+ data.tar.gz: caed222c4fa0469aa4e912fec3548829daf36e1c
5
5
  SHA512:
6
- metadata.gz: b5fcd884d9bc32cec893b832caa24765ed8120b5e1a5927613b725c2557e9553d7d237cce189285a2e1ef029dee9be90ab79625aacedf35415684e8db25b775e
7
- data.tar.gz: 932a0fe8d4be17b7cb39d14139b1ecc46ea9d93946ae9636f1033804120ebcdc74f0caceaa711a03f14dd722872078bec0d32962f84d37a529050c1c54a4e03f
6
+ metadata.gz: 6662c3e9a261b4016b3b2b24e78555d1e3bda4bf685553bd93814f9d0cd89533499da2b7ccbb151d4d1d798b07d71f0f7ffc8e709288cbe653bf4c5e300256d4
7
+ data.tar.gz: 19632c07a9085231191ad4244c54795630e3d8daab3ddcfcac0028a0e3b74e67c89dfe6928d3583b31e7a8a8e363fce2fb90b305cc711ec61a12a8db873b77b0
data/bin/mgmt CHANGED
@@ -10,7 +10,7 @@ module MGMT
10
10
  DEPSFILE = "Gopherfile"
11
11
  LOCKFILE = "Gopherfile.lock"
12
12
  VENDOR = ".vendor"
13
- VERSION = "0.3.1"
13
+ VERSION = "0.3.2"
14
14
 
15
15
  def xputs(code, msg)
16
16
  code = nil if ENV['TERM'] != "xterm"
@@ -71,14 +71,14 @@ module MGMT
71
71
  end
72
72
 
73
73
  def exec(*c)
74
- ENV['GOPATH'] = [find_vendor, ENV['GOPATH']].join(':')
74
+ ENV['GOPATH'] = [find_vendor, ENV['GOPATH']].compact.join(':')
75
75
  Kernel.exec(*c)
76
76
  end
77
77
 
78
78
  def find_vendor
79
79
  Pathname.pwd.ascend do |dir|
80
80
  vendor = dir.join(VENDOR)
81
- return vendor if vendor.directory?
81
+ return vendor if vendor.realpath.directory?
82
82
  end
83
83
  end
84
84
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mgmt
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dimitrij Denissenko
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-08-26 00:00:00.000000000 Z
11
+ date: 2015-09-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake