platinum-deployer 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3e4c251f627b925b7a3a2c56d9f3975f20378882
4
- data.tar.gz: fe98de9575d56a6241e7177479ee0a3322d0fa10
3
+ metadata.gz: 5f7683fb0c75c6507083f65a8e4e994c8776624b
4
+ data.tar.gz: c116899f2c3edffcc7ee256502fdcda995cbb978
5
5
  SHA512:
6
- metadata.gz: deb36024af05e097111f3cac3fbee96afada405b00f87ef68d8ebbbf77c30791609e569a07fd87e3dcdc135dfbfa4e10084cad99ec3c04d976fee4bee2d6b63b
7
- data.tar.gz: 4fdbe6ee0c125f84211c2bece6f69e25071a23885b43719cf11a5a07e281cd3a672b716a1a6145cbf1e6ba9bff219a8a0d5cdca4225dafe11cd8630e0efef1db
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 = 3 - ((2 * winheight(0) + 9) / 19)
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
- 3
61
- normal! 020|
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 = 474 - ((12 * winheight(0) + 9) / 19)
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
- 474
115
- normal! 016|
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 "diskutil unmount \"#{app_src_fullpath}\""
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
 
@@ -1,5 +1,5 @@
1
1
  module Platinum
2
2
  module Deployer
3
- VERSION = "0.1.2"
3
+ VERSION = "0.1.3"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: platinum-deployer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - MacKinley Smith