platinum-deployer 0.1.2 → 0.1.3
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/Session.vim +6 -6
- data/exe/platinum +4 -1
- data/lib/platinum/deployer/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5f7683fb0c75c6507083f65a8e4e994c8776624b
|
|
4
|
+
data.tar.gz: c116899f2c3edffcc7ee256502fdcda995cbb978
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 056b5589ce52208ccc01cb3d0c3146e3ba15f114d8450d634e18d8099a966f4ffc97e843f5816bd80b212677c49e3606f80f95e63482b60226859057c1fb526b
|
|
7
|
+
data.tar.gz: 50495150080bdcdcd14242f297d68352a706425b328919968338c328387348076bc0f97b76b274886950ff0b7fbc0f25d855d1c6b6eadc534e77c523b4927c47
|
data/Session.vim
CHANGED
|
@@ -53,12 +53,12 @@ setlocal fml=1
|
|
|
53
53
|
setlocal fdn=20
|
|
54
54
|
setlocal fen
|
|
55
55
|
silent! normal! zE
|
|
56
|
-
let s:l =
|
|
56
|
+
let s:l = 2 - ((1 * winheight(0) + 9) / 19)
|
|
57
57
|
if s:l < 1 | let s:l = 1 | endif
|
|
58
58
|
exe s:l
|
|
59
59
|
normal! zt
|
|
60
|
-
|
|
61
|
-
normal!
|
|
60
|
+
2
|
|
61
|
+
normal! 017|
|
|
62
62
|
wincmd w
|
|
63
63
|
argglobal
|
|
64
64
|
edit bin/setup
|
|
@@ -107,12 +107,12 @@ setlocal fml=1
|
|
|
107
107
|
setlocal fdn=20
|
|
108
108
|
setlocal fen
|
|
109
109
|
silent! normal! zE
|
|
110
|
-
let s:l =
|
|
110
|
+
let s:l = 494 - ((8 * winheight(0) + 9) / 19)
|
|
111
111
|
if s:l < 1 | let s:l = 1 | endif
|
|
112
112
|
exe s:l
|
|
113
113
|
normal! zt
|
|
114
|
-
|
|
115
|
-
normal!
|
|
114
|
+
494
|
|
115
|
+
normal! 010|
|
|
116
116
|
wincmd w
|
|
117
117
|
4wincmd w
|
|
118
118
|
exe '1resize ' . ((&lines * 19 + 30) / 60)
|
data/exe/platinum
CHANGED
|
@@ -490,11 +490,14 @@ def update_satellite!
|
|
|
490
490
|
end
|
|
491
491
|
log_info 'Updating satellite installation...'; puts
|
|
492
492
|
|
|
493
|
+
log_info 'Unmounting current app_src...', 1
|
|
493
494
|
app_src_fullpath = File.expand_path File.join(Dir.pwd, 'app_src')
|
|
494
|
-
system
|
|
495
|
+
system %[diskutil unmount "#{app_src_fullpath}"]
|
|
496
|
+
log_info 'Pulling changes from Git...', 1
|
|
495
497
|
git = Git.open '.'
|
|
496
498
|
git.reset_hard
|
|
497
499
|
git.pull
|
|
500
|
+
log_info 'Remounting app_src to remote source...', 1
|
|
498
501
|
FileUtils.rm_rf File.join(Dir.pwd, 'app_src', '*')
|
|
499
502
|
system "sudo sshfs #{satellite_opts[:app_src_source]} app_src -oallow_other"
|
|
500
503
|
|