platinum-deployer 0.3.0 → 0.3.1
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 +16 -17
- data/exe/platinum +2 -0
- data/lib/platinum/deployer/version.rb +1 -1
- 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: 459e80daa645cbe5ea103ee01d598f4a968ce620
|
|
4
|
+
data.tar.gz: 363907ead734456b7302916936bacebce66b33e3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 10a1451aafad54604a41090cba63ff57fc9d714a0b76eb5417e24035f9c3cc81566b9d96295ce3d6085203ce6dab91ccdcc652d9efb819ff9f06c416166e1d7a
|
|
7
|
+
data.tar.gz: d0bf82dbb11d1b55833f8aee4a65229e967bc674a87793971038ef489ff5172951c400a4556a296987709afb8c495597458ebe950804a9a9f73e34c0d3f4ef06
|
data/Session.vim
CHANGED
|
@@ -9,7 +9,7 @@ if expand('%') == '' && !&modified && line('$') <= 1 && getline(1) == ''
|
|
|
9
9
|
endif
|
|
10
10
|
set shortmess=aoO
|
|
11
11
|
badd +46 platinum-deployer.gemspec
|
|
12
|
-
badd +
|
|
12
|
+
badd +1 lib/platinum/deployer/version.rb
|
|
13
13
|
badd +11 bin/setup
|
|
14
14
|
badd +1 \'/Users/smit1625/Sites/platinum-deployer/exe/platinum\'
|
|
15
15
|
badd +358 exe/platinum
|
|
@@ -34,11 +34,11 @@ set nosplitbelow
|
|
|
34
34
|
set nosplitright
|
|
35
35
|
wincmd t
|
|
36
36
|
set winheight=1 winwidth=1
|
|
37
|
-
exe '1resize ' . ((&lines *
|
|
38
|
-
exe 'vert 1resize ' . ((&columns *
|
|
39
|
-
exe '2resize ' . ((&lines *
|
|
40
|
-
exe 'vert 2resize ' . ((&columns *
|
|
41
|
-
exe '3resize ' . ((&lines *
|
|
37
|
+
exe '1resize ' . ((&lines * 24 + 31) / 62)
|
|
38
|
+
exe 'vert 1resize ' . ((&columns * 139 + 136) / 272)
|
|
39
|
+
exe '2resize ' . ((&lines * 24 + 31) / 62)
|
|
40
|
+
exe 'vert 2resize ' . ((&columns * 132 + 136) / 272)
|
|
41
|
+
exe '3resize ' . ((&lines * 35 + 31) / 62)
|
|
42
42
|
argglobal
|
|
43
43
|
setlocal fdm=manual
|
|
44
44
|
setlocal fde=0
|
|
@@ -49,7 +49,7 @@ setlocal fml=1
|
|
|
49
49
|
setlocal fdn=20
|
|
50
50
|
setlocal fen
|
|
51
51
|
silent! normal! zE
|
|
52
|
-
let s:l = 3 - ((2 * winheight(0) +
|
|
52
|
+
let s:l = 3 - ((2 * winheight(0) + 12) / 24)
|
|
53
53
|
if s:l < 1 | let s:l = 1 | endif
|
|
54
54
|
exe s:l
|
|
55
55
|
normal! zt
|
|
@@ -67,7 +67,7 @@ setlocal fml=1
|
|
|
67
67
|
setlocal fdn=20
|
|
68
68
|
setlocal fen
|
|
69
69
|
silent! normal! zE
|
|
70
|
-
let s:l = 9 - ((5 * winheight(0) +
|
|
70
|
+
let s:l = 9 - ((5 * winheight(0) + 12) / 24)
|
|
71
71
|
if s:l < 1 | let s:l = 1 | endif
|
|
72
72
|
exe s:l
|
|
73
73
|
normal! zt
|
|
@@ -85,19 +85,18 @@ setlocal fml=1
|
|
|
85
85
|
setlocal fdn=20
|
|
86
86
|
setlocal fen
|
|
87
87
|
silent! normal! zE
|
|
88
|
-
let s:l =
|
|
88
|
+
let s:l = 530 - ((10 * winheight(0) + 17) / 35)
|
|
89
89
|
if s:l < 1 | let s:l = 1 | endif
|
|
90
90
|
exe s:l
|
|
91
91
|
normal! zt
|
|
92
|
-
|
|
93
|
-
normal!
|
|
92
|
+
530
|
|
93
|
+
normal! 048|
|
|
94
94
|
wincmd w
|
|
95
|
-
|
|
96
|
-
exe '1resize ' . ((&
|
|
97
|
-
exe '
|
|
98
|
-
exe '2resize ' . ((&
|
|
99
|
-
exe '
|
|
100
|
-
exe '3resize ' . ((&lines * 24 + 25) / 50)
|
|
95
|
+
exe '1resize ' . ((&lines * 24 + 31) / 62)
|
|
96
|
+
exe 'vert 1resize ' . ((&columns * 139 + 136) / 272)
|
|
97
|
+
exe '2resize ' . ((&lines * 24 + 31) / 62)
|
|
98
|
+
exe 'vert 2resize ' . ((&columns * 132 + 136) / 272)
|
|
99
|
+
exe '3resize ' . ((&lines * 35 + 31) / 62)
|
|
101
100
|
tabnext 1
|
|
102
101
|
if exists('s:wipebuf')
|
|
103
102
|
silent exe 'bwipe ' . s:wipebuf
|
data/exe/platinum
CHANGED
|
@@ -526,6 +526,8 @@ def update_satellite!
|
|
|
526
526
|
app_src_fullpath = File.expand_path File.join(Dir.pwd, 'app_src')
|
|
527
527
|
system %[diskutil unmount "#{app_src_fullpath}"] if mounted_as_satellite?
|
|
528
528
|
log_info 'Pulling changes from Git...'
|
|
529
|
+
# Delete local app dir contents before pulling to avoid conflicts with new files.
|
|
530
|
+
FileUtils.rm_rf File.join(Dir.pwd, 'app', '*')
|
|
529
531
|
git = Git.open '.'
|
|
530
532
|
git.reset_hard
|
|
531
533
|
git.pull
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: platinum-deployer
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.3.
|
|
4
|
+
version: 0.3.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- MacKinley Smith
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-08-
|
|
11
|
+
date: 2015-08-23 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|