mgmt 0.2.2 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/mgmt +5 -5
- 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: 98b9605516f043d635ab59fc35694f64f35d7a7d
|
4
|
+
data.tar.gz: c90386008a03d40235869436d283c2f18b80705b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e5c083285af32c6418089cfd6721921a0f9a8d95251d34a214f05b36ea2dbd32e2baf1da54629f5464da933c5a626c38db42e433b4e60c1d9935405f9419738b
|
7
|
+
data.tar.gz: ebeb914bee8dc7d00c299f1ba6d51351dd46f78a6dc931fbc813c53896504b3b023bf52a87e6bd229c0aa29709e358f9b1e5bf98c2eae1c7d9e87082f3ea0654
|
data/bin/mgmt
CHANGED
@@ -9,7 +9,7 @@ module MGMT
|
|
9
9
|
DEPSFILE = "Gopherfile"
|
10
10
|
LOCKFILE = "Gopherfile.lock"
|
11
11
|
VENDOR = ".vendor"
|
12
|
-
VERSION = "0.2.
|
12
|
+
VERSION = "0.2.3"
|
13
13
|
|
14
14
|
def xputs(code, msg)
|
15
15
|
code = nil if ENV['TERM'] != "xterm"
|
@@ -134,14 +134,14 @@ module MGMT
|
|
134
134
|
def pull!
|
135
135
|
skip = false
|
136
136
|
if File.directory?(target)
|
137
|
-
skip = @tag && @tag == `cd #{target} && git log -n 1 --pretty=format:'%h'`.strip
|
138
|
-
MGMT.sh "cd #{target} && git pull -q origin master" unless skip
|
137
|
+
skip = @tag && @tag == `cd #{target} && git --git-dir=.git log -n 1 --pretty=format:'%h'`.strip
|
138
|
+
MGMT.sh "cd #{target} && git --git-dir=.git pull -q origin master" unless skip
|
139
139
|
else
|
140
140
|
MGMT.sh "git clone -q #{@repo} #{target}"
|
141
141
|
end
|
142
142
|
|
143
|
-
@tag ||= `cd #{target} && git log -n 1 --pretty=format:'%h'`.strip
|
144
|
-
MGMT.sh "cd #{target} && git reset -q --hard #{@tag}" unless skip
|
143
|
+
@tag ||= `cd #{target} && git --git-dir=.git log -n 1 --pretty=format:'%h'`.strip
|
144
|
+
MGMT.sh "cd #{target} && git --git-dir=.git reset -q --hard #{@tag}" unless skip
|
145
145
|
!skip
|
146
146
|
end
|
147
147
|
|
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.2.
|
4
|
+
version: 0.2.3
|
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-02-
|
11
|
+
date: 2015-02-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|