candle 0.0.6 → 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (24) hide show
  1. data/README.md +13 -1
  2. data/VERSION +1 -1
  3. data/lib/candle.rb +1 -1
  4. data/lib/candle/generators/help.rb +3 -1
  5. data/lib/candle/generators/map.rb +128 -0
  6. data/lib/candle/generators/table.rb +1 -1
  7. data/lib/candle/generators/templates/map/WaxApplication.xcodeproj/project.pbxproj +851 -0
  8. data/lib/candle/generators/templates/map/WaxApplication.xcodeproj/project.xcworkspace/contents.xcworkspacedata +7 -0
  9. data/lib/candle/generators/templates/map/WaxApplication.xcodeproj/project.xcworkspace/xcuserdata/eiffel.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
  10. data/lib/candle/generators/templates/map/WaxApplication.xcodeproj/xcuserdata/eiffel.xcuserdatad/xcschemes/WaxApplication.xcscheme +86 -0
  11. data/lib/candle/generators/templates/map/WaxApplication.xcodeproj/xcuserdata/eiffel.xcuserdatad/xcschemes/xcschememanagement.plist +22 -0
  12. data/lib/candle/generators/templates/map/WaxApplication/ProtocolLoader.h +12 -0
  13. data/lib/candle/generators/templates/map/WaxApplication/Rakefile +158 -0
  14. data/lib/candle/generators/templates/map/WaxApplication/WaxApplication-Info.plist.tt +36 -0
  15. data/lib/candle/generators/templates/map/WaxApplication/WaxApplication-Prefix.pch.tt +14 -0
  16. data/lib/candle/generators/templates/map/WaxApplication/en.lproj/InfoPlist.strings +2 -0
  17. data/lib/candle/generators/templates/map/WaxApplication/main.m.tt +20 -0
  18. data/lib/candle/generators/templates/map/scripts/AppDelegate.lua +14 -0
  19. data/lib/candle/generators/templates/map/scripts/SimpleAnnotation.lua +35 -0
  20. data/lib/candle/generators/templates/map/scripts/SimpleMapController.lua +28 -0
  21. data/lib/candle/generators/templates/map/scripts/tests/init.lua +6 -0
  22. data/lib/candle/generators/templates/map/scripts/tests/someTest.lua +12 -0
  23. data/lib/candle/generators/xib.rb +1 -1
  24. metadata +20 -3
@@ -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
@@ -21,7 +21,7 @@ module Candle
21
21
 
22
22
  init_generator
23
23
 
24
- desc "Description:\n\n\tcandle will generates an new wax iOS application"
24
+ desc "Description:\n\n\tcandle will generate a wax iOS project using xib and core animation"
25
25
 
26
26
  argument :name, :desc => "The name of your wax application"
27
27
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: candle
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-03-07 00:00:00.000000000 Z
12
+ date: 2013-03-12 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: thor
@@ -530,6 +530,7 @@ files:
530
530
  - lib/candle/generators/lua/wax/lib/wax_stdlib.h
531
531
  - lib/candle/generators/lua/wax/lib/wax_struct.h
532
532
  - lib/candle/generators/lua/wax/lib/wax_struct.m
533
+ - lib/candle/generators/map.rb
533
534
  - lib/candle/generators/table.rb
534
535
  - lib/candle/generators/templates/blank/WaxApplication.xcodeproj/project.pbxproj
535
536
  - lib/candle/generators/templates/blank/WaxApplication.xcodeproj/project.xcworkspace/contents.xcworkspacedata
@@ -544,6 +545,22 @@ files:
544
545
  - lib/candle/generators/templates/blank/scripts/AppDelegate.lua
545
546
  - lib/candle/generators/templates/blank/scripts/tests/init.lua
546
547
  - lib/candle/generators/templates/blank/scripts/tests/someTest.lua
548
+ - lib/candle/generators/templates/map/WaxApplication.xcodeproj/project.pbxproj
549
+ - lib/candle/generators/templates/map/WaxApplication.xcodeproj/project.xcworkspace/contents.xcworkspacedata
550
+ - lib/candle/generators/templates/map/WaxApplication.xcodeproj/project.xcworkspace/xcuserdata/eiffel.xcuserdatad/UserInterfaceState.xcuserstate
551
+ - lib/candle/generators/templates/map/WaxApplication.xcodeproj/xcuserdata/eiffel.xcuserdatad/xcschemes/WaxApplication.xcscheme
552
+ - lib/candle/generators/templates/map/WaxApplication.xcodeproj/xcuserdata/eiffel.xcuserdatad/xcschemes/xcschememanagement.plist
553
+ - lib/candle/generators/templates/map/WaxApplication/ProtocolLoader.h
554
+ - lib/candle/generators/templates/map/WaxApplication/Rakefile
555
+ - lib/candle/generators/templates/map/WaxApplication/WaxApplication-Info.plist.tt
556
+ - lib/candle/generators/templates/map/WaxApplication/WaxApplication-Prefix.pch.tt
557
+ - lib/candle/generators/templates/map/WaxApplication/en.lproj/InfoPlist.strings
558
+ - lib/candle/generators/templates/map/WaxApplication/main.m.tt
559
+ - lib/candle/generators/templates/map/scripts/AppDelegate.lua
560
+ - lib/candle/generators/templates/map/scripts/SimpleAnnotation.lua
561
+ - lib/candle/generators/templates/map/scripts/SimpleMapController.lua
562
+ - lib/candle/generators/templates/map/scripts/tests/init.lua
563
+ - lib/candle/generators/templates/map/scripts/tests/someTest.lua
547
564
  - lib/candle/generators/templates/project.rake
548
565
  - lib/candle/generators/templates/resources/Default-568h@2x.png
549
566
  - lib/candle/generators/templates/resources/Default.png
@@ -602,7 +619,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
602
619
  version: '0'
603
620
  segments:
604
621
  - 0
605
- hash: 3746245412356830506
622
+ hash: -110753061487560374
606
623
  required_rubygems_version: !ruby/object:Gem::Requirement
607
624
  none: false
608
625
  requirements: