candle 0.0.4 → 0.0.6

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.
Files changed (46) hide show
  1. data/README.md +27 -2
  2. data/VERSION +1 -1
  3. data/lib/candle/generators/blank.rb +3 -2
  4. data/lib/candle/generators/help.rb +3 -1
  5. data/lib/candle/generators/table.rb +129 -0
  6. data/lib/candle/generators/{lua → templates/blank}/scripts/AppDelegate.lua +0 -0
  7. data/lib/candle/generators/{lua → templates/blank}/scripts/tests/init.lua +0 -0
  8. data/lib/candle/generators/{lua → templates/blank}/scripts/tests/someTest.lua +0 -0
  9. data/lib/candle/generators/templates/project.rake +158 -0
  10. data/lib/candle/generators/templates/table/WaxApplication/ProtocolLoader.h +12 -0
  11. data/lib/candle/generators/templates/table/WaxApplication/WaxApplication-Info.plist.tt +36 -0
  12. data/lib/candle/generators/templates/table/WaxApplication/WaxApplication-Prefix.pch.tt +14 -0
  13. data/lib/candle/generators/templates/table/WaxApplication/en.lproj/InfoPlist.strings +2 -0
  14. data/lib/candle/generators/templates/table/WaxApplication/main.m.tt +20 -0
  15. data/lib/candle/generators/templates/table/WaxApplication.xcodeproj/project.pbxproj +851 -0
  16. data/lib/candle/generators/templates/table/WaxApplication.xcodeproj/project.xcworkspace/contents.xcworkspacedata +7 -0
  17. data/lib/candle/generators/templates/table/WaxApplication.xcodeproj/project.xcworkspace/xcuserdata/eiffel.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
  18. data/lib/candle/generators/templates/table/WaxApplication.xcodeproj/xcuserdata/eiffel.xcuserdatad/xcschemes/WaxApplication.xcscheme +86 -0
  19. data/lib/candle/generators/templates/table/WaxApplication.xcodeproj/xcuserdata/eiffel.xcuserdatad/xcschemes/xcschememanagement.plist +22 -0
  20. data/lib/candle/generators/templates/table/scripts/AppDelegate.lua +33 -0
  21. data/lib/candle/generators/templates/table/scripts/CapitalsTable.lua +36 -0
  22. data/lib/candle/generators/templates/table/scripts/StatesTable.lua +50 -0
  23. data/lib/candle/generators/templates/table/scripts/states.plist +606 -0
  24. data/lib/candle/generators/templates/table/scripts/tests/init.lua +6 -0
  25. data/lib/candle/generators/templates/table/scripts/tests/someTest.lua +12 -0
  26. data/lib/candle/generators/templates/xib/WaxApplication/ProtocolLoader.h +12 -0
  27. data/lib/candle/generators/templates/xib/WaxApplication/WaxApplication-Info.plist.tt +36 -0
  28. data/lib/candle/generators/templates/xib/WaxApplication/WaxApplication-Prefix.pch.tt +14 -0
  29. data/lib/candle/generators/templates/xib/WaxApplication/en.lproj/InfoPlist.strings +2 -0
  30. data/lib/candle/generators/templates/xib/WaxApplication/main.m.tt +20 -0
  31. data/lib/candle/generators/templates/xib/WaxApplication.xcodeproj/project.pbxproj +855 -0
  32. data/lib/candle/generators/templates/xib/WaxApplication.xcodeproj/project.xcworkspace/contents.xcworkspacedata +7 -0
  33. data/lib/candle/generators/templates/xib/WaxApplication.xcodeproj/project.xcworkspace/xcuserdata/eiffel.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
  34. data/lib/candle/generators/templates/xib/WaxApplication.xcodeproj/xcuserdata/eiffel.xcuserdatad/xcschemes/WaxApplication.xcscheme +86 -0
  35. data/lib/candle/generators/templates/xib/WaxApplication.xcodeproj/xcuserdata/eiffel.xcuserdatad/xcschemes/xcschememanagement.plist +22 -0
  36. data/lib/candle/generators/templates/xib/scripts/AppDelegate.lua +32 -0
  37. data/lib/candle/generators/templates/xib/scripts/BlueViewController.lua +23 -0
  38. data/lib/candle/generators/templates/xib/scripts/BlueViewController.xib +176 -0
  39. data/lib/candle/generators/templates/xib/scripts/OrangeViewController.lua +24 -0
  40. data/lib/candle/generators/templates/xib/scripts/OrangeViewController.xib +177 -0
  41. data/lib/candle/generators/templates/xib/scripts/tests/init.lua +6 -0
  42. data/lib/candle/generators/templates/xib/scripts/tests/someTest.lua +12 -0
  43. data/lib/candle/generators/xib.rb +128 -0
  44. data/lib/candle/version.rb +2 -4
  45. data/lib/candle.rb +1 -1
  46. metadata +365 -307
@@ -0,0 +1,606 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
+ <plist version="1.0">
4
+ <array>
5
+ <dict>
6
+ <key>capital</key>
7
+ <string>Montgomery</string>
8
+ <key>capitalhood</key>
9
+ <integer>1846</integer>
10
+ <key>name</key>
11
+ <string>Alabama</string>
12
+ <key>population</key>
13
+ <string>200,127</string>
14
+ <key>statehood</key>
15
+ <integer>1818</integer>
16
+ </dict>
17
+ <dict>
18
+ <key>capital</key>
19
+ <string>Juneau</string>
20
+ <key>capitalhood</key>
21
+ <integer>1906</integer>
22
+ <key>name</key>
23
+ <string>Alaska</string>
24
+ <key>population</key>
25
+ <string>30,987</string>
26
+ <key>statehood</key>
27
+ <integer>1959</integer>
28
+ </dict>
29
+ <dict>
30
+ <key>capital</key>
31
+ <string>Phoenix</string>
32
+ <key>capitalhood</key>
33
+ <integer>1889</integer>
34
+ <key>name</key>
35
+ <string>Arizona</string>
36
+ <key>population</key>
37
+ <string>1,512,986</string>
38
+ <key>statehood</key>
39
+ <integer>1912</integer>
40
+ </dict>
41
+ <dict>
42
+ <key>capital</key>
43
+ <string>Little Rock</string>
44
+ <key>capitalhood</key>
45
+ <integer>1821</integer>
46
+ <key>name</key>
47
+ <string>Arkansas</string>
48
+ <key>population</key>
49
+ <string>204,370</string>
50
+ <key>statehood</key>
51
+ <integer>1836</integer>
52
+ </dict>
53
+ <dict>
54
+ <key>capital</key>
55
+ <string>Sacramento</string>
56
+ <key>capitalhood</key>
57
+ <integer>1854</integer>
58
+ <key>name</key>
59
+ <string>California</string>
60
+ <key>population</key>
61
+ <string>467,343</string>
62
+ <key>statehood</key>
63
+ <integer>1850</integer>
64
+ </dict>
65
+ <dict>
66
+ <key>capital</key>
67
+ <string>Denver</string>
68
+ <key>capitalhood</key>
69
+ <integer>1867</integer>
70
+ <key>name</key>
71
+ <string>Colorado</string>
72
+ <key>population</key>
73
+ <string>566,974</string>
74
+ <key>statehood</key>
75
+ <integer>1876</integer>
76
+ </dict>
77
+ <dict>
78
+ <key>capital</key>
79
+ <string>Hartford</string>
80
+ <key>capitalhood</key>
81
+ <integer>1875</integer>
82
+ <key>name</key>
83
+ <string>Connecticut</string>
84
+ <key>population</key>
85
+ <string>124,397</string>
86
+ <key>statehood</key>
87
+ <integer>1788</integer>
88
+ </dict>
89
+ <dict>
90
+ <key>capital</key>
91
+ <string>Dover</string>
92
+ <key>capitalhood</key>
93
+ <integer>1777</integer>
94
+ <key>name</key>
95
+ <string>Delaware</string>
96
+ <key>population</key>
97
+ <string>32,135</string>
98
+ <key>statehood</key>
99
+ <integer>1787</integer>
100
+ </dict>
101
+ <dict>
102
+ <key>capital</key>
103
+ <string>Tallahassee</string>
104
+ <key>capitalhood</key>
105
+ <integer>1824</integer>
106
+ <key>name</key>
107
+ <string>Florida</string>
108
+ <key>population</key>
109
+ <string>168,979</string>
110
+ <key>statehood</key>
111
+ <integer>1845</integer>
112
+ </dict>
113
+ <dict>
114
+ <key>capital</key>
115
+ <string>Atlanta</string>
116
+ <key>capitalhood</key>
117
+ <integer>1868</integer>
118
+ <key>name</key>
119
+ <string>Georgia</string>
120
+ <key>population</key>
121
+ <string>486,411</string>
122
+ <key>statehood</key>
123
+ <integer>1788</integer>
124
+ </dict>
125
+ <dict>
126
+ <key>capital</key>
127
+ <string>Honolulu</string>
128
+ <key>capitalhood</key>
129
+ <integer>1845</integer>
130
+ <key>name</key>
131
+ <string>Hawaii</string>
132
+ <key>population</key>
133
+ <string>377,357</string>
134
+ <key>statehood</key>
135
+ <integer>1959</integer>
136
+ </dict>
137
+ <dict>
138
+ <key>capital</key>
139
+ <string>Boise</string>
140
+ <key>capitalhood</key>
141
+ <integer>1865</integer>
142
+ <key>name</key>
143
+ <string>Idaho</string>
144
+ <key>population</key>
145
+ <string>201,287</string>
146
+ <key>statehood</key>
147
+ <integer>1890</integer>
148
+ </dict>
149
+ <dict>
150
+ <key>capital</key>
151
+ <string>Springfield</string>
152
+ <key>capitalhood</key>
153
+ <integer>1837</integer>
154
+ <key>name</key>
155
+ <string>Illinois</string>
156
+ <key>population</key>
157
+ <string>116,482</string>
158
+ <key>statehood</key>
159
+ <integer>1818</integer>
160
+ </dict>
161
+ <dict>
162
+ <key>capital</key>
163
+ <string>Indianapolis</string>
164
+ <key>capitalhood</key>
165
+ <integer>1825</integer>
166
+ <key>name</key>
167
+ <string>Indiana</string>
168
+ <key>population</key>
169
+ <string>791,926</string>
170
+ <key>statehood</key>
171
+ <integer>1816</integer>
172
+ </dict>
173
+ <dict>
174
+ <key>capital</key>
175
+ <string>Des Moines</string>
176
+ <key>capitalhood</key>
177
+ <integer>1857</integer>
178
+ <key>name</key>
179
+ <string>Iowa</string>
180
+ <key>population</key>
181
+ <string>209,124</string>
182
+ <key>statehood</key>
183
+ <integer>1846</integer>
184
+ </dict>
185
+ <dict>
186
+ <key>capital</key>
187
+ <string>Topeka</string>
188
+ <key>capitalhood</key>
189
+ <integer>1856</integer>
190
+ <key>name</key>
191
+ <string>Kansas</string>
192
+ <key>population</key>
193
+ <string>122,327</string>
194
+ <key>statehood</key>
195
+ <integer>1861</integer>
196
+ </dict>
197
+ <dict>
198
+ <key>capital</key>
199
+ <string>Frankfort</string>
200
+ <key>capitalhood</key>
201
+ <integer>1792</integer>
202
+ <key>name</key>
203
+ <string>Kentucky</string>
204
+ <key>population</key>
205
+ <string>27,741</string>
206
+ <key>statehood</key>
207
+ <integer>1792</integer>
208
+ </dict>
209
+ <dict>
210
+ <key>capital</key>
211
+ <string>Baton Rouge</string>
212
+ <key>capitalhood</key>
213
+ <integer>1880</integer>
214
+ <key>name</key>
215
+ <string>Louisiana</string>
216
+ <key>population</key>
217
+ <string>224,097</string>
218
+ <key>statehood</key>
219
+ <integer>1812</integer>
220
+ </dict>
221
+ <dict>
222
+ <key>capital</key>
223
+ <string>Augusta</string>
224
+ <key>capitalhood</key>
225
+ <integer>1832</integer>
226
+ <key>name</key>
227
+ <string>Maine</string>
228
+ <key>population</key>
229
+ <string>18,560</string>
230
+ <key>statehood</key>
231
+ <integer>1820</integer>
232
+ </dict>
233
+ <dict>
234
+ <key>capital</key>
235
+ <string>Annapolis</string>
236
+ <key>capitalhood</key>
237
+ <integer>1694</integer>
238
+ <key>name</key>
239
+ <string>Maryland</string>
240
+ <key>population</key>
241
+ <string>36,217</string>
242
+ <key>statehood</key>
243
+ <integer>1788</integer>
244
+ </dict>
245
+ <dict>
246
+ <key>capital</key>
247
+ <string>Boston</string>
248
+ <key>capitalhood</key>
249
+ <integer>1630</integer>
250
+ <key>name</key>
251
+ <string>Massachusetts</string>
252
+ <key>population</key>
253
+ <string>590,763</string>
254
+ <key>statehood</key>
255
+ <integer>1788</integer>
256
+ </dict>
257
+ <dict>
258
+ <key>capital</key>
259
+ <string>Lansing</string>
260
+ <key>capitalhood</key>
261
+ <integer>1847</integer>
262
+ <key>name</key>
263
+ <string>Michigan</string>
264
+ <key>population</key>
265
+ <string>119,128</string>
266
+ <key>statehood</key>
267
+ <integer>1837</integer>
268
+ </dict>
269
+ <dict>
270
+ <key>capital</key>
271
+ <string>Saint Paul</string>
272
+ <key>capitalhood</key>
273
+ <integer>1849</integer>
274
+ <key>name</key>
275
+ <string>Minnesota</string>
276
+ <key>population</key>
277
+ <string>287,151</string>
278
+ <key>statehood</key>
279
+ <integer>1858</integer>
280
+ </dict>
281
+ <dict>
282
+ <key>capital</key>
283
+ <string>Jackson</string>
284
+ <key>capitalhood</key>
285
+ <integer>1821</integer>
286
+ <key>name</key>
287
+ <string>Mississippi</string>
288
+ <key>population</key>
289
+ <string>184,256</string>
290
+ <key>statehood</key>
291
+ <integer>1817</integer>
292
+ </dict>
293
+ <dict>
294
+ <key>capital</key>
295
+ <string>Jefferson City</string>
296
+ <key>capitalhood</key>
297
+ <integer>1826</integer>
298
+ <key>name</key>
299
+ <string>Missouri</string>
300
+ <key>population</key>
301
+ <string>39,636</string>
302
+ <key>statehood</key>
303
+ <integer>1821</integer>
304
+ </dict>
305
+ <dict>
306
+ <key>capital</key>
307
+ <string>Helena</string>
308
+ <key>capitalhood</key>
309
+ <integer>1875</integer>
310
+ <key>name</key>
311
+ <string>Montana</string>
312
+ <key>population</key>
313
+ <string>25,780</string>
314
+ <key>statehood</key>
315
+ <integer>1889</integer>
316
+ </dict>
317
+ <dict>
318
+ <key>capital</key>
319
+ <string>Lincoln</string>
320
+ <key>capitalhood</key>
321
+ <integer>1867</integer>
322
+ <key>name</key>
323
+ <string>Nebraska</string>
324
+ <key>population</key>
325
+ <string>225,581</string>
326
+ <key>statehood</key>
327
+ <integer>1867</integer>
328
+ </dict>
329
+ <dict>
330
+ <key>capital</key>
331
+ <string>Carson City</string>
332
+ <key>capitalhood</key>
333
+ <integer>1861</integer>
334
+ <key>name</key>
335
+ <string>Nevada</string>
336
+ <key>population</key>
337
+ <string>57,701</string>
338
+ <key>statehood</key>
339
+ <integer>1864</integer>
340
+ </dict>
341
+ <dict>
342
+ <key>capital</key>
343
+ <string>Concord</string>
344
+ <key>capitalhood</key>
345
+ <integer>1808</integer>
346
+ <key>name</key>
347
+ <string>New Hampshire</string>
348
+ <key>population</key>
349
+ <string>42,221</string>
350
+ <key>statehood</key>
351
+ <integer>1788</integer>
352
+ </dict>
353
+ <dict>
354
+ <key>capital</key>
355
+ <string>Trenton</string>
356
+ <key>capitalhood</key>
357
+ <integer>1784</integer>
358
+ <key>name</key>
359
+ <string>New Jersey</string>
360
+ <key>population</key>
361
+ <string>84,639</string>
362
+ <key>statehood</key>
363
+ <integer>1787</integer>
364
+ </dict>
365
+ <dict>
366
+ <key>capital</key>
367
+ <string>Santa Fe</string>
368
+ <key>capitalhood</key>
369
+ <integer>1610</integer>
370
+ <key>name</key>
371
+ <string>New Mexico</string>
372
+ <key>population</key>
373
+ <string>70,631</string>
374
+ <key>statehood</key>
375
+ <integer>1912</integer>
376
+ </dict>
377
+ <dict>
378
+ <key>capital</key>
379
+ <string>Albany</string>
380
+ <key>capitalhood</key>
381
+ <integer>1797</integer>
382
+ <key>name</key>
383
+ <string>New York</string>
384
+ <key>population</key>
385
+ <string>95,993</string>
386
+ <key>statehood</key>
387
+ <integer>1788</integer>
388
+ </dict>
389
+ <dict>
390
+ <key>capital</key>
391
+ <string>Raleigh</string>
392
+ <key>capitalhood</key>
393
+ <integer>1794</integer>
394
+ <key>name</key>
395
+ <string>North Carolina</string>
396
+ <key>population</key>
397
+ <string>380,173</string>
398
+ <key>statehood</key>
399
+ <integer>1789</integer>
400
+ </dict>
401
+ <dict>
402
+ <key>capital</key>
403
+ <string>Bismarck</string>
404
+ <key>capitalhood</key>
405
+ <integer>1883</integer>
406
+ <key>name</key>
407
+ <string>North Dakota</string>
408
+ <key>population</key>
409
+ <string>55,533</string>
410
+ <key>statehood</key>
411
+ <integer>1889</integer>
412
+ </dict>
413
+ <dict>
414
+ <key>capital</key>
415
+ <string>Columbus</string>
416
+ <key>capitalhood</key>
417
+ <integer>1816</integer>
418
+ <key>name</key>
419
+ <string>Ohio</string>
420
+ <key>population</key>
421
+ <string>733,203</string>
422
+ <key>statehood</key>
423
+ <integer>1803</integer>
424
+ </dict>
425
+ <dict>
426
+ <key>capital</key>
427
+ <string>Oklahoma City</string>
428
+ <key>capitalhood</key>
429
+ <integer>1910</integer>
430
+ <key>name</key>
431
+ <string>Oklahoma</string>
432
+ <key>population</key>
433
+ <string>541,500</string>
434
+ <key>statehood</key>
435
+ <integer>1907</integer>
436
+ </dict>
437
+ <dict>
438
+ <key>capital</key>
439
+ <string>Salem</string>
440
+ <key>capitalhood</key>
441
+ <integer>1855</integer>
442
+ <key>name</key>
443
+ <string>Oregon</string>
444
+ <key>population</key>
445
+ <string>149,305</string>
446
+ <key>statehood</key>
447
+ <integer>1859</integer>
448
+ </dict>
449
+ <dict>
450
+ <key>capital</key>
451
+ <string>Harrisburg</string>
452
+ <key>capitalhood</key>
453
+ <integer>1812</integer>
454
+ <key>name</key>
455
+ <string>Pennsylvania</string>
456
+ <key>population</key>
457
+ <string>48,950</string>
458
+ <key>statehood</key>
459
+ <integer>1787</integer>
460
+ </dict>
461
+ <dict>
462
+ <key>capital</key>
463
+ <string>Providence</string>
464
+ <key>capitalhood</key>
465
+ <integer>1900</integer>
466
+ <key>name</key>
467
+ <string>Rhode Island</string>
468
+ <key>population</key>
469
+ <string>176,862</string>
470
+ <key>statehood</key>
471
+ <integer>1790</integer>
472
+ </dict>
473
+ <dict>
474
+ <key>capital</key>
475
+ <string>Columbia</string>
476
+ <key>capitalhood</key>
477
+ <integer>1786</integer>
478
+ <key>name</key>
479
+ <string>South Carolina</string>
480
+ <key>population</key>
481
+ <string>122,819</string>
482
+ <key>statehood</key>
483
+ <integer>1788</integer>
484
+ </dict>
485
+ <dict>
486
+ <key>capital</key>
487
+ <string>Pierre</string>
488
+ <key>capitalhood</key>
489
+ <integer>1889</integer>
490
+ <key>name</key>
491
+ <string>South Dakota</string>
492
+ <key>population</key>
493
+ <string>13,876</string>
494
+ <key>statehood</key>
495
+ <integer>1889</integer>
496
+ </dict>
497
+ <dict>
498
+ <key>capital</key>
499
+ <string>Nashville</string>
500
+ <key>capitalhood</key>
501
+ <integer>1826</integer>
502
+ <key>name</key>
503
+ <string>Tennessee</string>
504
+ <key>population</key>
505
+ <string>607,413</string>
506
+ <key>statehood</key>
507
+ <integer>1796</integer>
508
+ </dict>
509
+ <dict>
510
+ <key>capital</key>
511
+ <string>Austin</string>
512
+ <key>capitalhood</key>
513
+ <integer>1839</integer>
514
+ <key>name</key>
515
+ <string>Texas</string>
516
+ <key>population</key>
517
+ <string>709,893</string>
518
+ <key>statehood</key>
519
+ <integer>1845</integer>
520
+ </dict>
521
+ <dict>
522
+ <key>capital</key>
523
+ <string>Salt Lake City</string>
524
+ <key>capitalhood</key>
525
+ <integer>1858</integer>
526
+ <key>name</key>
527
+ <string>Utah</string>
528
+ <key>population</key>
529
+ <string>181,743</string>
530
+ <key>statehood</key>
531
+ <integer>1896</integer>
532
+ </dict>
533
+ <dict>
534
+ <key>capital</key>
535
+ <string>Montpelier</string>
536
+ <key>capitalhood</key>
537
+ <integer>1805</integer>
538
+ <key>name</key>
539
+ <string>Vermont</string>
540
+ <key>population</key>
541
+ <string>8,035</string>
542
+ <key>statehood</key>
543
+ <integer>1791</integer>
544
+ </dict>
545
+ <dict>
546
+ <key>capital</key>
547
+ <string>Richmond</string>
548
+ <key>capitalhood</key>
549
+ <integer>1780</integer>
550
+ <key>name</key>
551
+ <string>Virginia</string>
552
+ <key>population</key>
553
+ <string>195,251</string>
554
+ <key>statehood</key>
555
+ <integer>1788</integer>
556
+ </dict>
557
+ <dict>
558
+ <key>capital</key>
559
+ <string>Olympia</string>
560
+ <key>capitalhood</key>
561
+ <integer>1853</integer>
562
+ <key>name</key>
563
+ <string>Washington</string>
564
+ <key>population</key>
565
+ <string>42,514</string>
566
+ <key>statehood</key>
567
+ <integer>1889</integer>
568
+ </dict>
569
+ <dict>
570
+ <key>capital</key>
571
+ <string>Charleston</string>
572
+ <key>capitalhood</key>
573
+ <integer>1885</integer>
574
+ <key>name</key>
575
+ <string>West Virginia</string>
576
+ <key>population</key>
577
+ <string>52,700</string>
578
+ <key>statehood</key>
579
+ <integer>1863</integer>
580
+ </dict>
581
+ <dict>
582
+ <key>capital</key>
583
+ <string>Madison</string>
584
+ <key>capitalhood</key>
585
+ <integer>1838</integer>
586
+ <key>name</key>
587
+ <string>Wisconsin</string>
588
+ <key>population</key>
589
+ <string>221,551</string>
590
+ <key>statehood</key>
591
+ <integer>1848</integer>
592
+ </dict>
593
+ <dict>
594
+ <key>capital</key>
595
+ <string>Cheyenne</string>
596
+ <key>capitalhood</key>
597
+ <integer>1869</integer>
598
+ <key>name</key>
599
+ <string>Wyoming</string>
600
+ <key>population</key>
601
+ <string>55,362</string>
602
+ <key>statehood</key>
603
+ <integer>1890</integer>
604
+ </dict>
605
+ </array>
606
+ </plist>
@@ -0,0 +1,6 @@
1
+ require "wax.luaspec"
2
+
3
+ require "tests.someTest"
4
+
5
+ print("\nResults\n-------")
6
+ spec:report()
@@ -0,0 +1,12 @@
1
+ describe["Some Test"] = function()
2
+ it["can test!"] = function()
3
+ expect(1).should_be(1)
4
+ expect(1).should_not_be(2)
5
+ expect("hi mystery person123").should_match("person%d+")
6
+ expect(string.match).should_exist()
7
+ expect(string.crazy).should_not_exist()
8
+
9
+ local func = function() empty.nothing() end
10
+ expect(func).should_error()
11
+ end
12
+ end
@@ -0,0 +1,12 @@
1
+ // Many protocols will work from wax out of the box. But some need to be preloaded.
2
+ // If the protocol you are using isn't found, just add the protocol to this object
3
+ //
4
+ // This seems to be a bug, or there is a runtime method I'm unaware of
5
+
6
+ #import <UIKit/UIKit.h>
7
+
8
+ @interface ProtocolLoader : NSObject <UIApplicationDelegate, UIWebViewDelegate, UIActionSheetDelegate, UIAlertViewDelegate, UISearchBarDelegate, UITextViewDelegate, UITabBarControllerDelegate, UISearchDisplayDelegate> {}
9
+ @end
10
+
11
+ @implementation ProtocolLoader
12
+ @end
@@ -0,0 +1,36 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
+ <plist version="1.0">
4
+ <dict>
5
+ <key>CFBundleDevelopmentRegion</key>
6
+ <string>en</string>
7
+ <key>CFBundleDisplayName</key>
8
+ <string>${PRODUCT_NAME}</string>
9
+ <key>CFBundleExecutable</key>
10
+ <string>${EXECUTABLE_NAME}</string>
11
+ <key>CFBundleIdentifier</key>
12
+ <string>com.likenote.ios.${PRODUCT_NAME:rfc1034identifier}</string>
13
+ <key>CFBundleInfoDictionaryVersion</key>
14
+ <string>6.0</string>
15
+ <key>CFBundleName</key>
16
+ <string>${PRODUCT_NAME}</string>
17
+ <key>CFBundlePackageType</key>
18
+ <string>APPL</string>
19
+ <key>CFBundleShortVersionString</key>
20
+ <string>1.0</string>
21
+ <key>CFBundleSignature</key>
22
+ <string>????</string>
23
+ <key>CFBundleVersion</key>
24
+ <string>1.0</string>
25
+ <key>LSRequiresIPhoneOS</key>
26
+ <true/>
27
+ <key>UIRequiredDeviceCapabilities</key>
28
+ <array>
29
+ <string>armv7</string>
30
+ </array>
31
+ <key>UISupportedInterfaceOrientations</key>
32
+ <array>
33
+ <string>UIInterfaceOrientationPortrait</string>
34
+ </array>
35
+ </dict>
36
+ </plist>
@@ -0,0 +1,14 @@
1
+ //
2
+ // Prefix header for all source files of the 'WaxApplication' target in the 'WaxApplication' project
3
+ //
4
+
5
+ #import <Availability.h>
6
+
7
+ #ifndef __IPHONE_3_0
8
+ #warning "This project uses features only available in iOS SDK 3.0 and later."
9
+ #endif
10
+
11
+ #ifdef __OBJC__
12
+ #import <UIKit/UIKit.h>
13
+ #import <Foundation/Foundation.h>
14
+ #endif
@@ -0,0 +1,2 @@
1
+ /* Localized versions of Info.plist keys */
2
+