mgmt 0.3.1 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/mgmt +3 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f1d505b316ae93b3a91cb96a094a35a43d2b6419
|
4
|
+
data.tar.gz: caed222c4fa0469aa4e912fec3548829daf36e1c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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.
|
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-
|
11
|
+
date: 2015-09-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|