central 0.2.5 → 0.2.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/bin/central +1 -1
- data/lib/central.rb +2 -2
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2c7c6eb1c4333daf4ee604010033b355478fb24a
|
|
4
|
+
data.tar.gz: 58c97710c8336a5b88a6365519142a061c879b99
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 962163fac50d3d75242f9f2d1795c2fa78821217bfb33591ddcacb058ddc154beab2a20b1ddaf64b3f486fd7c0cd89baaca3eae2dc24f2333b3a21f84d8c94d8
|
|
7
|
+
data.tar.gz: 23b8b04c1a7f392860bc884a2c764ea96dcbf5eb4dbb4ae9cd502f980d49f78c889b5ad7c2c8403b32bcff2e46a6fe1020304812dfd08d77da8250a883fb39ce
|
data/bin/central
CHANGED
data/lib/central.rb
CHANGED
|
@@ -183,7 +183,7 @@ end
|
|
|
183
183
|
|
|
184
184
|
# get full path of symlink
|
|
185
185
|
def symlink_path(symlink)
|
|
186
|
-
_, out, = shell("readlink
|
|
186
|
+
_, out, = shell("readlink \"#{abs(symlink)}\" 2>&1")
|
|
187
187
|
out.strip
|
|
188
188
|
end
|
|
189
189
|
|
|
@@ -286,7 +286,7 @@ def git(url, path, branch: nil, silent: true, depth: nil)
|
|
|
286
286
|
else
|
|
287
287
|
_, out, = shell('git pull 2>&1', silent: silent)
|
|
288
288
|
end
|
|
289
|
-
unless out.downcase.include? 'already up
|
|
289
|
+
unless out.downcase.include? 'already up'
|
|
290
290
|
puts out if silent
|
|
291
291
|
info 'Git repository pulled', "#{url} → #{path}"
|
|
292
292
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: central
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.7
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Dmitry Geurkov
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-05-
|
|
11
|
+
date: 2019-05-26 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description: central dotfile management system
|
|
14
14
|
email: d.geurkov@gmail.com
|
|
@@ -31,7 +31,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
31
31
|
requirements:
|
|
32
32
|
- - ">="
|
|
33
33
|
- !ruby/object:Gem::Version
|
|
34
|
-
version: '2.
|
|
34
|
+
version: '2.3'
|
|
35
35
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
36
36
|
requirements:
|
|
37
37
|
- - ">="
|