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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/bin/central +1 -1
  3. data/lib/central.rb +2 -2
  4. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2c48d4b6cb13b63e3ba6896942008ae004fad3af
4
- data.tar.gz: 37dc1ea33c1ed5e8521972c46c3d09df02c3aed6
3
+ metadata.gz: 2c7c6eb1c4333daf4ee604010033b355478fb24a
4
+ data.tar.gz: 58c97710c8336a5b88a6365519142a061c879b99
5
5
  SHA512:
6
- metadata.gz: 69a3728b2832dc452ed34d8b88141efe9ea17287fe2555ac5b985e6c89b34122fa0a4037b49701563639fad3442d4894d9a3be671ae449bbded21b78d636dbc9
7
- data.tar.gz: 3773b38f6bc059f9cddfa576017fd67b1628ed7dbf90702618988b2537f59e31e691e57d0c9134689737e17eb918520cc00728f567ceb9da655ba3ab43714deb
6
+ metadata.gz: 962163fac50d3d75242f9f2d1795c2fa78821217bfb33591ddcacb058ddc154beab2a20b1ddaf64b3f486fd7c0cd89baaca3eae2dc24f2333b3a21f84d8c94d8
7
+ data.tar.gz: 23b8b04c1a7f392860bc884a2c764ea96dcbf5eb4dbb4ae9cd502f980d49f78c889b5ad7c2c8403b32bcff2e46a6fe1020304812dfd08d77da8250a883fb39ce
@@ -10,7 +10,7 @@ require 'central'
10
10
 
11
11
  unless ARGV.empty?
12
12
  if ARGV[0] == '-v' || ARGV[0] == '--version' || ARGV[0] == '-version'
13
- puts 'central v0.2.5'
13
+ puts 'central v0.2.7'
14
14
  exit 0
15
15
  end
16
16
  if ARGV[0] == '-h' || ARGV[0] == '--help' || ARGV[0] == '-help'
@@ -183,7 +183,7 @@ end
183
183
 
184
184
  # get full path of symlink
185
185
  def symlink_path(symlink)
186
- _, out, = shell("readlink -f \"#{abs(symlink)}\" 2>&1")
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-to-date'
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.5
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-25 00:00:00.000000000 Z
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.0'
34
+ version: '2.3'
35
35
  required_rubygems_version: !ruby/object:Gem::Requirement
36
36
  requirements:
37
37
  - - ">="