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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7f15ce7ffae7a10a9854890ad2426498e5e5b7a1
4
- data.tar.gz: 6f1144b430f96dd7b24971d6e9ff3a96298a68e7
3
+ metadata.gz: 459e80daa645cbe5ea103ee01d598f4a968ce620
4
+ data.tar.gz: 363907ead734456b7302916936bacebce66b33e3
5
5
  SHA512:
6
- metadata.gz: 843b77423157d081309099f04fac17a5970ed724dca623f613804a1de878ef9fd649945b03f47867483583d624572b1d362c52ef098c3fa58f40c972f5a6c829
7
- data.tar.gz: c28f8a3a392d8d5ceccb68bac52b489aca33c3e4fd7f56777dc6093ba438739975fd4236e5f5dd2a3a5bf223fee555844c894ac5739a835b5c15dbdd4dd12631
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 +5 lib/platinum/deployer/version.rb
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 * 23 + 25) / 50)
38
- exe 'vert 1resize ' . ((&columns * 52 + 69) / 138)
39
- exe '2resize ' . ((&lines * 23 + 25) / 50)
40
- exe 'vert 2resize ' . ((&columns * 85 + 69) / 138)
41
- exe '3resize ' . ((&lines * 24 + 25) / 50)
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) + 11) / 23)
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) + 11) / 23)
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 = 580 - ((21 * winheight(0) + 12) / 24)
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
- 580
93
- normal! 011|
92
+ 530
93
+ normal! 048|
94
94
  wincmd w
95
- 3wincmd w
96
- exe '1resize ' . ((&lines * 23 + 25) / 50)
97
- exe 'vert 1resize ' . ((&columns * 52 + 69) / 138)
98
- exe '2resize ' . ((&lines * 23 + 25) / 50)
99
- exe 'vert 2resize ' . ((&columns * 85 + 69) / 138)
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
@@ -1,5 +1,5 @@
1
1
  module Platinum
2
2
  module Deployer
3
- VERSION = "0.3.0"
3
+ VERSION = "0.3.1"
4
4
  end
5
5
  end
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.0
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-14 00:00:00.000000000 Z
11
+ date: 2015-08-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler