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,20 @@
1
+ //
2
+ // main.m
3
+ // WaxApplication
4
+ //
5
+ // Created by eiffel on 3/5/13.
6
+ // Copyright (c) 2013 likenote. All rights reserved.
7
+ //
8
+
9
+ #import <UIKit/UIKit.h>
10
+ #import "wax.h"
11
+ #import "wax_http.h"
12
+ #import "wax_json.h"
13
+ #import "wax_filesystem.h"
14
+ int main(int argc, char *argv[]) {
15
+ NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
16
+ wax_start("AppDelegate.lua", luaopen_wax_http, luaopen_wax_json, luaopen_wax_filesystem, nil);
17
+ int retVal = UIApplicationMain(argc, argv, nil, @"AppDelegate");
18
+ [pool release];
19
+ return retVal;
20
+ }