platinum-deployer 0.1.4 → 0.1.5

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: fcb530232b417cf73b8efbc1c9252bb5f98b3529
4
- data.tar.gz: fa438a504591022031114bfd124b171bde408dda
3
+ metadata.gz: f493af74533210868dba8aa47f7c3d1d2a496720
4
+ data.tar.gz: 1af9b5f9eaf4575c7d7df8469eb9b46d6b25183f
5
5
  SHA512:
6
- metadata.gz: 37c1e5a4824257018221cb3811fd0fce06565a746b7ea378b043f9eb8038f665b5a989ebcc88c3d8548e98250ea81f224d32611fe3b22ef5706d47698417b592
7
- data.tar.gz: 1763aeb1191d2ad36154541c31f44f5360947438f4ab44619bb9f10b3464af06a7da673a822029a2297cca5099a6a8017ff2599309abfd613b41d5c9bfd83a42
6
+ metadata.gz: 91b2fada827f69ebbdf08c25e07b2fe1c1739fb8d518f29ea811aceb64ec378d7e180b5929b3e50e8933e53bcaaa6c59f330eb4b628d60d77162f3ddc7ab2c8a
7
+ data.tar.gz: 29dbcc3e09f1703f1710e39d540edeef8544c2cbfbc339e7d5f11125922118d0b63741accb7360a599cd4b70bb4b3fc614a3183889bb94b37ed844bcffdfc26e
data/Session.vim CHANGED
@@ -38,9 +38,9 @@ set nosplitright
38
38
  wincmd t
39
39
  set winheight=1 winwidth=1
40
40
  exe '1resize ' . ((&lines * 19 + 30) / 60)
41
- exe 'vert 1resize ' . ((&columns * 67 + 67) / 135)
41
+ exe 'vert 1resize ' . ((&columns * 67 + 92) / 185)
42
42
  exe '2resize ' . ((&lines * 19 + 30) / 60)
43
- exe 'vert 2resize ' . ((&columns * 67 + 67) / 135)
43
+ exe 'vert 2resize ' . ((&columns * 117 + 92) / 185)
44
44
  exe '3resize ' . ((&lines * 18 + 30) / 60)
45
45
  exe '4resize ' . ((&lines * 19 + 30) / 60)
46
46
  argglobal
@@ -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 = 2 - ((1 * winheight(0) + 9) / 19)
56
+ let s:l = 3 - ((2 * 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
- 2
61
- normal! 017|
60
+ 3
61
+ normal! 020|
62
62
  wincmd w
63
63
  argglobal
64
64
  edit bin/setup
@@ -89,12 +89,12 @@ setlocal fml=1
89
89
  setlocal fdn=20
90
90
  setlocal fen
91
91
  silent! normal! zE
92
- let s:l = 13 - ((12 * winheight(0) + 9) / 18)
92
+ let s:l = 39 - ((11 * winheight(0) + 9) / 18)
93
93
  if s:l < 1 | let s:l = 1 | endif
94
94
  exe s:l
95
95
  normal! zt
96
- 13
97
- normal! 043|
96
+ 39
97
+ normal! 031|
98
98
  wincmd w
99
99
  argglobal
100
100
  edit exe/platinum
@@ -107,17 +107,18 @@ setlocal fml=1
107
107
  setlocal fdn=20
108
108
  setlocal fen
109
109
  silent! normal! zE
110
- let s:l = 504 - ((15 * winheight(0) + 9) / 19)
110
+ let s:l = 485 - ((7 * 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
- 504
115
- normal! 08|
114
+ 485
115
+ normal! 026|
116
116
  wincmd w
117
+ 4wincmd w
117
118
  exe '1resize ' . ((&lines * 19 + 30) / 60)
118
- exe 'vert 1resize ' . ((&columns * 67 + 67) / 135)
119
+ exe 'vert 1resize ' . ((&columns * 67 + 92) / 185)
119
120
  exe '2resize ' . ((&lines * 19 + 30) / 60)
120
- exe 'vert 2resize ' . ((&columns * 67 + 67) / 135)
121
+ exe 'vert 2resize ' . ((&columns * 117 + 92) / 185)
121
122
  exe '3resize ' . ((&lines * 18 + 30) / 60)
122
123
  exe '4resize ' . ((&lines * 19 + 30) / 60)
123
124
  tabnext 1
data/exe/platinum CHANGED
@@ -49,7 +49,8 @@ DEFAULT_OPTIONS = {
49
49
  :titanium_command => {
50
50
  :target => 'device',
51
51
  :platform => 'android',
52
- :output_dir => './dist'
52
+ :output_dir => './dist',
53
+ :log_level => 'warn'
53
54
  },
54
55
  :ios_credentials => {
55
56
  :development => {
@@ -199,8 +200,7 @@ OptionParser.new do |opts|
199
200
  end
200
201
 
201
202
  # target_opts = DEPLOYMENT_TARGETS.join '|'
202
- opts.on("-T", "--target=target",
203
- 'Deployment Target') do |v|
203
+ opts.on("-T", "--target=target", 'Titanium Deployment Target') do |v|
204
204
  if DEPLOYMENT_TARGETS.include? v
205
205
  platform = parsed_options[:titanium_command][:platform]
206
206
  if v == 'emulator' && platform == 'ios' then v = 'simulator'
@@ -209,10 +209,14 @@ OptionParser.new do |opts|
209
209
  else fatal "Target \"#{v}\" not recognized." end
210
210
  end
211
211
 
212
- opts.on('-O', '--output-dir=dir', 'Output Directory') do |v|
212
+ opts.on('-O', '--output-dir=dir', 'Titanium Output Directory') do |v|
213
213
  parsed_options[:titanium_command][:output_dir] = v
214
214
  end
215
215
 
216
+ opts.on('-L', '--log-level=level', 'Titanium Log Level') do |v|
217
+ parsed_options[:titanium_command][:log_level] = v
218
+ end
219
+
216
220
  opts.on('-V', '--developer-certificate=certificate',
217
221
  'iOS Developer Certificate') do |v|
218
222
  parsed_options[:ios_credentials][:development][:developer_certificate] = v
@@ -337,7 +341,7 @@ def build_for_production!
337
341
  end
338
342
  def build_cmd_opts; @options[:titanium_command]; end
339
343
  def base_build_cmd
340
- 'titanium build --build-only --log-level warn' +
344
+ "titanium build --build-only --log-level #{build_cmd_opts[:log_level]}" +
341
345
  " --platform #{build_cmd_opts[:platform]}"
342
346
  end
343
347
 
@@ -35,6 +35,8 @@ if (command == 'list') {
35
35
  console.log('Simulator has launched');
36
36
  }).on('appStarted', function (msg) {
37
37
  console.log('App has started');
38
+ }).on('appQuit', function (msg) {
39
+ console.log('App has quit');
38
40
  }).on('log', function (msg) {
39
41
  console.log('[LOG] ' + msg);
40
42
  }).on('error', function (err) {
@@ -1,5 +1,5 @@
1
1
  module Platinum
2
2
  module Deployer
3
- VERSION = "0.1.4"
3
+ VERSION = "0.1.5"
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.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - MacKinley Smith