candle 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -1,4 +1,55 @@
1
1
  candle
2
2
  ======
3
3
 
4
- Candle is a rubygem for wax iOS framework which writes iOS application in lua.
4
+ Candle is a rubygem for wax iOS framework which writes iOS application in lua.
5
+
6
+ Prerequisites
7
+ =======
8
+ Ruby
9
+ -------
10
+ Candle require ruby installed on your mac machine. Since now all Mac OSX system preinstalled ruby enviroment, that's not a big issue.
11
+
12
+ Rubygem(latest)
13
+ -------
14
+ Candle has an dependency on "thor" gem , which require latest rubygem installed, so you need to update your rubygem to latest version, run command below to update your rubygem to the latest one.
15
+
16
+ $ sudo gem update --system # double dash option
17
+
18
+ Installation
19
+ =======
20
+ $ sudo gem install candle
21
+
22
+ Usage
23
+ =======
24
+ Usage 1: candle help
25
+ -------
26
+ $ candle help
27
+
28
+ ![candle usage](http://eiffelqiu.github.com/candle/images/candle1.png)
29
+
30
+ Usage 2: generate wax iOS blank xcode application project
31
+ -------
32
+ $ candle blank demo
33
+ $ cd demo
34
+ $ open demo.xcodeproj
35
+
36
+ ![candle usage](http://eiffelqiu.github.com/candle/images/candle2.png)
37
+
38
+ ![candle usage](http://eiffelqiu.github.com/candle/images/candle3.png)
39
+
40
+ Xcode build and run
41
+
42
+ Contributing to candle
43
+ =======
44
+ * Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet
45
+ * Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it
46
+ * Fork the project
47
+ * Start a feature/bugfix branch
48
+ * Commit and push until you are happy with your contribution
49
+ * Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.
50
+ * Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.
51
+
52
+ Copyright
53
+ =======
54
+ Copyright (c) 2011 Eiffel Q. See LICENSE.txt for
55
+ further details.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.2
1
+ 0.0.3
@@ -106,11 +106,11 @@ aFile.close
106
106
  aString.gsub!('WaxApplication', "#{@project_name}")
107
107
  File.open(fileName, "w") { |file| file << aString }
108
108
 
109
- system "mv #{options[:root]}/#{@project_name}/#{@project_name}.xcodeproj/project.xcworkspace/xcuserdata/eiffel.xcuserdatad #{options[:root]}/#{@project_name}/#{@project_name}.xcodeproj/project.xcworkspace/xcuserdata/#{`whoami`.strip}.xcuserdatad" unless #{`whoami`.strip} != 'eiffel'
109
+ system "mv #{options[:root]}/#{@project_name}/#{@project_name}.xcodeproj/project.xcworkspace/xcuserdata/eiffel.xcuserdatad #{options[:root]}/#{@project_name}/#{@project_name}.xcodeproj/project.xcworkspace/xcuserdata/#{`whoami`.strip}.xcuserdatad" if `whoami`.strip != 'eiffel'
110
110
 
111
- system "mv #{options[:root]}/#{@project_name}/#{@project_name}.xcodeproj/xcuserdata/eiffel.xcuserdatad #{options[:root]}/#{@project_name}/#{@project_name}.xcodeproj/xcuserdata/#{`whoami`.strip}.xcuserdatad" unless #{`whoami`.strip} != 'eiffel'
111
+ system "mv #{options[:root]}/#{@project_name}/#{@project_name}.xcodeproj/xcuserdata/eiffel.xcuserdatad #{options[:root]}/#{@project_name}/#{@project_name}.xcodeproj/xcuserdata/#{`whoami`.strip}.xcuserdatad" if `whoami`.strip != 'eiffel'
112
112
 
113
- system "mv #{options[:root]}/#{@project_name}/#{@project_name}.xcodeproj/project.xcworkspace/xcuserdata/eiffel.xcuserdatad/UserInterfaceState.xcuserstate #{options[:root]}/#{@project_name}/#{@project_name}.xcodeproj/project.xcworkspace/xcuserdata/#{`whoami`.strip}.xcuserdatad/UserInterfaceState.xcuserstate" unless #{`whoami`.strip} != 'eiffel'
113
+ system "mv #{options[:root]}/#{@project_name}/#{@project_name}.xcodeproj/xcuserdata/#{`whoami`.strip}.xcuserdatad/xcschemes/WaxApplication.xcscheme #{options[:root]}/#{@project_name}/#{@project_name}.xcodeproj/xcuserdata/#{`whoami`.strip}.xcuserdatad/xcschemes/#{@project_name}.xcscheme" if `whoami`.strip != 'eiffel'
114
114
 
115
115
  template "templates/blank/WaxApplication/main.m.tt", "#{@project_name}/#{@project_name}/main.m"
116
116
  template "templates/blank/WaxApplication/ProtocolLoader.h", "#{@project_name}/#{@project_name}/ProtocolLoader.h"
@@ -2,7 +2,7 @@ module Candle
2
2
  module Version
3
3
  MAJOR = 0
4
4
  MINOR = 0
5
- PATCH = 2
5
+ PATCH = 3
6
6
 
7
7
  STRING = [MAJOR, MINOR, PATCH].compact.join('.').chomp('.')
8
8
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: candle
3
3
  version: !ruby/object:Gem::Version
4
- hash: 27
4
+ hash: 25
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 2
10
- version: 0.0.2
9
+ - 3
10
+ version: 0.0.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Eiffel Qiu