rucola 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/ChangeLog +301 -0
- data/History.txt +51 -0
- data/Manifest.txt +12 -0
- data/README.txt +6 -7
- data/TODO +13 -8
- data/app_generators/rucola/rucola_generator.rb +1 -1
- data/app_generators/rucola/templates/app/controllers/application_controller.rb +2 -2
- data/app_generators/rucola/templates/test/controllers/test_application_controller.rb +22 -5
- data/app_generators/rucola/templates/test/test_helper.rb +3 -2
- data/config/hoe.rb +2 -2
- data/lib/autotest/discover.rb +9 -0
- data/lib/autotest/fail.png +0 -0
- data/lib/autotest/growl_images.rb +39 -0
- data/lib/autotest/pass.png +0 -0
- data/lib/autotest/rucola.rb +36 -0
- data/lib/autotest/sound.rb +52 -0
- data/lib/rucola/info_plist.rb +5 -0
- data/lib/rucola/initializer.rb +65 -113
- data/lib/rucola/nib.rb +2 -2
- data/lib/rucola/plugin.rb +57 -0
- data/lib/rucola/rucola_support/initialize_hooks.rb +7 -0
- data/lib/rucola/rucola_support/notifications/notifications.rb +67 -27
- data/lib/rucola/rucola_support/rc_app.rb +9 -0
- data/lib/rucola/tasks/main.rake +8 -4
- data/lib/rucola/tasks/xcode.rake +10 -6
- data/lib/rucola/test_helper.rb +14 -0
- data/lib/rucola/version.rb +1 -1
- data/lib/rucola/xcode.rb +11 -6
- data/rucola_generators/controller/controller_generator.rb +1 -1
- data/rucola_generators/controller/templates/test_controller_template.rb.erb +14 -5
- data/rucola_generators/document_model/document_model_generator.rb +3 -3
- data/rucola_generators/document_model/templates/test_document_model_template.rb.erb +18 -5
- data/rucola_generators/rucola_plugin/USAGE +6 -0
- data/rucola_generators/rucola_plugin/rucola_plugin_generator.rb +63 -0
- data/rucola_generators/rucola_plugin/templates/init.rb.erb +25 -0
- data/rucola_generators/window_controller/templates/test_window_controller_template.rb.erb +21 -5
- data/rucola_generators/window_controller/window_controller_generator.rb +1 -1
- data/test/test_document_model_generator.rb +8 -2
- data/test/test_info_plist.rb +4 -0
- data/test/test_initializer.rb +80 -0
- data/test/test_nib.rb +9 -0
- data/test/test_notifications.rb +38 -19
- data/test/test_plugin.rb +48 -0
- data/test/test_rc_app.rb +5 -0
- data/test/test_rucola_plugin_generator.rb +65 -0
- data/test/test_xcode.rb +3 -3
- data/website/index.html +49 -7
- data/website/index.txt +34 -4
- metadata +37 -2
data/ChangeLog
CHANGED
@@ -1,3 +1,304 @@
|
|
1
|
+
2007-11-21 Eloy Duran <e.duran@superalloy.nl>
|
2
|
+
|
3
|
+
* lib/rucola/initializer.rb,
|
4
|
+
test/test_initializer.rb:
|
5
|
+
|
6
|
+
- Spec'd the class methods of Initializer.
|
7
|
+
- Changed the way plugins are loaded.
|
8
|
+
- Refactored some minor stuff.
|
9
|
+
|
10
|
+
2007-11-21 Eloy Duran <e.duran@superalloy.nl>
|
11
|
+
|
12
|
+
* TODO,
|
13
|
+
lib/rucola/rucola_support/notifications/notifications.rb,
|
14
|
+
test/test_notifications.rb:
|
15
|
+
|
16
|
+
Reverted the deprecation of Notifications #notify_on and replaced #when with #once.
|
17
|
+
|
18
|
+
2007-11-19 Eloy Duran <e.duran@superalloy.nl>
|
19
|
+
|
20
|
+
* rucola_generators/rucola_plugin/templates/init.rb.erb:
|
21
|
+
|
22
|
+
- Use the updated #before_boot & #after_boot methods.
|
23
|
+
- Added the new #after_launch method.
|
24
|
+
|
25
|
+
2007-11-19 Eloy Duran <e.duran@superalloy.nl>
|
26
|
+
|
27
|
+
* TODO,
|
28
|
+
lib/rucola/initializer.rb,
|
29
|
+
lib/rucola/plugin.rb,
|
30
|
+
lib/rucola/rucola_support/notifications/notifications.rb,
|
31
|
+
test/test_notifications.rb,
|
32
|
+
test/test_plugin.rb:
|
33
|
+
|
34
|
+
- Added Plugin#after_launch which uses a PluginRunner class that uses NSNotifications
|
35
|
+
to run plugin hooks after the application has started.
|
36
|
+
- Cleaned the test_notifications file.
|
37
|
+
- Added TODO, which is to revert r116.
|
38
|
+
|
39
|
+
2007-11-19 Eloy Duran <e.duran@superalloy.nl>
|
40
|
+
|
41
|
+
* lib/rucola/initializer.rb,
|
42
|
+
lib/rucola/plugin.rb,
|
43
|
+
test/test_initializer.rb,
|
44
|
+
test/test_plugin.rb:
|
45
|
+
|
46
|
+
- Fixed Plugin#before_boot and Plugin#after_boot, they can't take a initializer parameter.
|
47
|
+
- Refactored the plugin calls.
|
48
|
+
- Made initializer use the refactored methods.
|
49
|
+
|
50
|
+
2007-11-19 Eloy Duran <e.duran@superalloy.nl>
|
51
|
+
|
52
|
+
* TODO,
|
53
|
+
lib/rucola/rucola_support/notifications/notifications.rb,
|
54
|
+
test/test_notifications.rb:
|
55
|
+
|
56
|
+
Deprecated Notifications#notify_on in favor of Notifications#when.
|
57
|
+
|
58
|
+
2007-11-18 Chris McGrath <chris@octopod.info>
|
59
|
+
|
60
|
+
* TODO,
|
61
|
+
lib/rucola/initializer.rb:
|
62
|
+
|
63
|
+
- Add some TODOs re plugins and testing
|
64
|
+
- Change initializer to check if environment is release rather than
|
65
|
+
debug so that we can have the same setup for debug and test. Fixes
|
66
|
+
problem when AR plugin installed in app.
|
67
|
+
|
68
|
+
2007-11-18 Chris McGrath <chris@octopod.info>
|
69
|
+
|
70
|
+
* Manifest.txt,
|
71
|
+
rucola_generators/rucola_plugin/USAGE,
|
72
|
+
rucola_generators/rucola_plugin/rucola_plugin_generator.rb,
|
73
|
+
rucola_generators/rucola_plugin/templates/init.rb.erb,
|
74
|
+
test/test_rucola_plugin_generator.rb:
|
75
|
+
|
76
|
+
- Add script/generate rucola_plugin for rucola apps
|
77
|
+
|
78
|
+
2007-11-18 Chris McGrath <chris@octopod.info>
|
79
|
+
|
80
|
+
* test/test_plugin.rb:
|
81
|
+
|
82
|
+
- Fix failing plugin test
|
83
|
+
|
84
|
+
2007-11-16 Eloy Duran <e.duran@superalloy.nl>
|
85
|
+
|
86
|
+
* lib/rucola/nib.rb,
|
87
|
+
test/test_nib.rb:
|
88
|
+
|
89
|
+
Nib#add_class now takes an optional superclass.
|
90
|
+
|
91
|
+
2007-11-15 Chris McGrath <chris@octopod.info>
|
92
|
+
|
93
|
+
* Manifest.txt,
|
94
|
+
lib/rucola/initializer.rb,
|
95
|
+
lib/rucola/plugin.rb,
|
96
|
+
lib/rucola/tasks/main.rake,
|
97
|
+
test/test_plugin.rb:
|
98
|
+
|
99
|
+
- Add the initial plugin code and hook it into the initializer
|
100
|
+
- Make main.rake load tasks from vendor/plugins/*/tasks/*.rake
|
101
|
+
|
102
|
+
2007-11-14 Chris McGrath <chris@octopod.info>
|
103
|
+
|
104
|
+
* Manifest.txt,
|
105
|
+
TODO,
|
106
|
+
lib/rucola/initializer.rb,
|
107
|
+
lib/rucola/tasks/databases.rake,
|
108
|
+
rucola_generators/activerecord_model/USAGE,
|
109
|
+
rucola_generators/activerecord_model/activerecord_model_generator.rb,
|
110
|
+
rucola_generators/activerecord_model/templates/database.yml.erb,
|
111
|
+
rucola_generators/activerecord_model/templates/model_create_migration.rb.erb,
|
112
|
+
rucola_generators/activerecord_model/templates/model_proxy_template.rb.erb,
|
113
|
+
rucola_generators/activerecord_model/templates/model_template.rb.erb,
|
114
|
+
test/test_activerecord_model_generator.rb:
|
115
|
+
|
116
|
+
- Remove AR stuff as it's moving to a plugin
|
117
|
+
|
118
|
+
2007-11-14 Chris McGrath <chris@octopod.info>
|
119
|
+
|
120
|
+
* Manifest.txt,
|
121
|
+
TODO:
|
122
|
+
|
123
|
+
- Remove .rake_tasks from Manifest.txt
|
124
|
+
- Remove some completed TODOs
|
125
|
+
|
126
|
+
2007-11-13 Eloy Duran <e.duran@superalloy.nl>
|
127
|
+
|
128
|
+
* lib/rucola/initializer.rb:
|
129
|
+
|
130
|
+
Required the RCApp module, like Chris mentioned in r101.
|
131
|
+
|
132
|
+
2007-11-12 Justin Palmer <justin@activereload.net>
|
133
|
+
|
134
|
+
* TODO,
|
135
|
+
lib/rucola/rucola_support/notifications/notifications.rb,
|
136
|
+
test/test_notifications.rb:
|
137
|
+
|
138
|
+
Add helper for firing notifications. Move notification name resolution to
|
139
|
+
a separate method, and don't raise NameErrors when the constant doesn't exist.
|
140
|
+
|
141
|
+
2007-11-12 Chris McGrath <chris@octopod.info>
|
142
|
+
|
143
|
+
* Manifest.txt,
|
144
|
+
TODO,
|
145
|
+
lib/rucola/initializer.rb,
|
146
|
+
lib/rucola/rucola_support/rc_app.rb,
|
147
|
+
lib/rucola/tasks/databases.rake,
|
148
|
+
lib/rucola/tasks/main.rake:
|
149
|
+
|
150
|
+
- Add support for migrations and other AR tasks
|
151
|
+
- main.rake now just sets environment variables and requires the initializer
|
152
|
+
to set the RUBYCOCOA_ENV and RUBYCOCOA_ROOT constants
|
153
|
+
- fix how RCApp.app_name finds Info.plist
|
154
|
+
- Make the initializer get the app name using RCApp.app_name
|
155
|
+
NB: This means requiring rucola/rucola_support/rc_app.rb from the
|
156
|
+
initializer
|
157
|
+
- Add TODO to move the AR stuff to a plugin
|
158
|
+
|
159
|
+
2007-11-12 Eloy Duran <e.duran@superalloy.nl>
|
160
|
+
|
161
|
+
For the love of Beer Driven Development, the big r100!
|
162
|
+
|
163
|
+
2007-11-12 Eloy Duran <e.duran@superalloy.nl>
|
164
|
+
|
165
|
+
* lib/rucola/info_plist.rb,
|
166
|
+
lib/rucola/rucola_support/rc_app.rb,
|
167
|
+
test/test_info_plist.rb,
|
168
|
+
test/test_rc_app.rb:
|
169
|
+
|
170
|
+
Added Rucola::InfoPlist#app_name & Rucola::RCApp#app_name which return
|
171
|
+
the CFBundleExecutable value from the Info.plist file.
|
172
|
+
|
173
|
+
2007-11-12 Eloy Duran <e.duran@superalloy.nl>
|
174
|
+
|
175
|
+
* TODO,
|
176
|
+
rucola_generators/document_model/document_model_generator.rb,
|
177
|
+
test/test_document_model_generator.rb:
|
178
|
+
|
179
|
+
- The document_model_generator will not longer run if no extension is specified,
|
180
|
+
but rather display the usage banner.
|
181
|
+
- Updated TODO.
|
182
|
+
|
183
|
+
2007-11-12 Eloy Duran <e.duran@superalloy.nl>
|
184
|
+
|
185
|
+
* TODO,
|
186
|
+
lib/rucola/rucola_support/notifications/notifications.rb,
|
187
|
+
test/test_notifications.rb:
|
188
|
+
|
189
|
+
- Aliased Notifications #notify_on to #when.
|
190
|
+
- Cleaned TODO.
|
191
|
+
|
192
|
+
2007-11-11 Chris McGrath <chris@octopod.info>
|
193
|
+
|
194
|
+
* Manifest.txt,
|
195
|
+
rucola_generators/activerecord_model/activerecord_model_generator.rb,
|
196
|
+
rucola_generators/activerecord_model/templates/database.yml.erb,
|
197
|
+
test/test_activerecord_model_generator.rb:
|
198
|
+
|
199
|
+
- Add a config/database.yml when generating a model if it doesn't exists
|
200
|
+
|
201
|
+
2007-11-11 Chris McGrath <chris@octopod.info>
|
202
|
+
|
203
|
+
* .gitignore,
|
204
|
+
Manifest.txt,
|
205
|
+
rucola_generators/activerecord_model/USAGE,
|
206
|
+
rucola_generators/activerecord_model/activerecord_model_generator.rb,
|
207
|
+
rucola_generators/activerecord_model/templates/model_create_migration.rb.erb,
|
208
|
+
rucola_generators/activerecord_model/templates/model_proxy_template.rb.erb,
|
209
|
+
rucola_generators/activerecord_model/templates/model_template.rb.erb,
|
210
|
+
test/test_activerecord_model_generator.rb:
|
211
|
+
|
212
|
+
- Add basic ActiveRecord model, proxy and migration generator
|
213
|
+
- Add .gitignore as I'm using git-svn
|
214
|
+
|
215
|
+
2007-11-11 Chris McGrath <chris@octopod.info>
|
216
|
+
|
217
|
+
* lib/rucola/initializer.rb:
|
218
|
+
|
219
|
+
- Fix incorrect require when using ActiveRecord
|
220
|
+
|
221
|
+
2007-11-11 Eloy Duran <e.duran@superalloy.nl>
|
222
|
+
|
223
|
+
* TODO,
|
224
|
+
lib/rucola/info_plist.rb,
|
225
|
+
lib/rucola/xcode.rb,
|
226
|
+
test/test_document_model_generator.rb,
|
227
|
+
test/test_xcode.rb:
|
228
|
+
|
229
|
+
- Fixed bugs where destructive methods were called on immutable objects.
|
230
|
+
- Added a few more TODOs.
|
231
|
+
|
232
|
+
2007-11-9 Eloy Duran <e.duran@superalloy.nl>
|
233
|
+
|
234
|
+
* app_generators/rucola/templates/app/controllers/application_controller.rb,
|
235
|
+
app_generators/rucola/templates/test/controllers/test_application_controller.rb,
|
236
|
+
app_generators/rucola/templates/test/test_helper.rb,
|
237
|
+
config/hoe.rb,
|
238
|
+
lib/rucola/tasks/main.rake,
|
239
|
+
lib/rucola/test_helper.rb,
|
240
|
+
rucola_generators/controller/templates/test_controller_template.rb.erb,
|
241
|
+
rucola_generators/document_model/templates/test_document_model_template.rb.erb,
|
242
|
+
rucola_generators/window_controller/templates/test_window_controller_template.rb.erb:
|
243
|
+
|
244
|
+
- Added useful skeleton tests using test/spec and mocha.
|
245
|
+
- Added a few more test helpers which provide a shortcut for getting ivars (ib_outlets).
|
246
|
+
- The rake test task will now print with the -rr pretty test/spec output.
|
247
|
+
|
248
|
+
2007-11-9 Eloy Duran <e.duran@superalloy.nl>
|
249
|
+
|
250
|
+
* Manifest.txt,
|
251
|
+
lib/autotest/fail.png,
|
252
|
+
lib/autotest/growl_images.rb,
|
253
|
+
lib/autotest/pass.png,
|
254
|
+
lib/autotest/sound.rb:
|
255
|
+
|
256
|
+
- Added autotest sound plugin, original idea from: Jeremy Seitz.
|
257
|
+
- Added autotest images plugin, copyright: John Nunemaker.
|
258
|
+
|
259
|
+
2007-11-8 Eloy Duran <e.duran@superalloy.nl>
|
260
|
+
|
261
|
+
* Manifest.txt,
|
262
|
+
TODO,
|
263
|
+
lib/autotest,
|
264
|
+
lib/autotest/discover.rb,
|
265
|
+
lib/autotest/rucola.rb,
|
266
|
+
lib/rucola/rucola_support/initialize_hooks.rb:
|
267
|
+
|
268
|
+
- Added the code to make autotest play nice with a rucola app.
|
269
|
+
- The initialize_hooks will now call #after_init on an instance if it exists.
|
270
|
+
This is so that #init doesn't have to be overriden to setup defaults etc.
|
271
|
+
- Updated TODO.
|
272
|
+
|
273
|
+
2007-11-5 Eloy Duran <e.duran@superalloy.nl>
|
274
|
+
|
275
|
+
* lib/rucola/tasks/xcode.rake,
|
276
|
+
app_generators/rucola/rucola_generator.rb,
|
277
|
+
rucola_generators/controller/controller_generator.rb,
|
278
|
+
rucola_generators/document_model/document_model_generator.rb,
|
279
|
+
rucola_generators/window_controller/window_controller_generator.rb,
|
280
|
+
test/test_document_model_generator.rb:
|
281
|
+
|
282
|
+
- Modified xcode:build rake task to do xcodebuild everytime.
|
283
|
+
Otherwise changes in the nibs will not be reflected in the app bundle.
|
284
|
+
- Updated the generators with better banners.
|
285
|
+
|
286
|
+
2007-11-5 Eloy Duran <e.duran@superalloy.nl>
|
287
|
+
|
288
|
+
* TODO,
|
289
|
+
lib/rucola/tasks/xcode.rake:
|
290
|
+
|
291
|
+
- Fixed a bug where the local var 'executable' was not passed explicitly into the
|
292
|
+
thread. Which could result in the var being GC'ed.
|
293
|
+
- Added TODO about possible renaming from Notifications#notify_on to Notifications#when.
|
294
|
+
|
295
|
+
2007-11-4 Eloy Duran <e.duran@superalloy.nl>
|
296
|
+
|
297
|
+
* website/index.html,
|
298
|
+
website/index.txt:
|
299
|
+
|
300
|
+
Updated the website with extra info on installing and info about the "extras".
|
301
|
+
|
1
302
|
2007-11-3 Eloy Duran <e.duran@superalloy.nl>
|
2
303
|
|
3
304
|
* License.txt,
|
data/History.txt
CHANGED
@@ -1,3 +1,54 @@
|
|
1
|
+
== 0.0.2 2007-11-26
|
2
|
+
|
3
|
+
=== RUCOLA Core:
|
4
|
+
* Initializer: Spec'd the class methods of Initializer.
|
5
|
+
* Initializer: Change initializer to check if environment is release rather than debug so that we can have the same setup for debug and test. Fixes problem when AR plugin installed in app.
|
6
|
+
|
7
|
+
* Plugin: Added script/generate rucola_plugin for rucola apps
|
8
|
+
* Plugin: Add the initial Plugin code and hook it into the initializer
|
9
|
+
* Plugin: Added Plugin#after_launch which uses a PluginRunner class that uses NSNotifications to run plugin hooks after the application has started.
|
10
|
+
|
11
|
+
* Notifications: Added a helper for firing notifications.
|
12
|
+
* Notifications: Moved notification name resolution to a separate method, and don't raise NameErrors when the constant doesn't exist.
|
13
|
+
|
14
|
+
* Support: Added Rucola::InfoPlist#app_name & Rucola::RCApp#app_name which return the CFBundleExecutable value from the Info.plist file.
|
15
|
+
|
16
|
+
* Testing: Added the code to make autotest play nice with a rucola app!!
|
17
|
+
* Testing: Added autotest sound plugin, original idea from: Jeremy Seitz.
|
18
|
+
* Testing: Added autotest images plugin, copyright: John Nunemaker.
|
19
|
+
* Testing: Added useful skeleton tests using test/spec and mocha.
|
20
|
+
* Testing: Added a few more test helpers which provide a shortcut for getting ivars (ib_outlets).
|
21
|
+
|
22
|
+
* InitializeHooks: The initialize_hooks will now call #after_init on an instance if it exists. This is so that #init doesn't have to be overriden to setup defaults etc.
|
23
|
+
|
24
|
+
* Generator: Updated the generators with better banners.
|
25
|
+
* Generator: The document_model_generator will not longer run if no extension is specified, but rather display the usage banner.
|
26
|
+
|
27
|
+
* Nib: Fixed bugs where destructive methods were called on immutable objects. This was a change in RubyCocoa.
|
28
|
+
* Nib: Nib#add_class now takes an optional superclass.
|
29
|
+
|
30
|
+
* Rake: Fixed a bug in the xcode rake task where the local var 'executable' was not passed explicitly into the thread. So the app would sometimes not come to the front.
|
31
|
+
* Rake: The rake test task will now print with the *rr pretty test/spec output.
|
32
|
+
* Rake: Modified xcode:build rake task to do xcodebuild everytime. Otherwise changes in the nibs will not be reflected in the app bundle.
|
33
|
+
* Rake: Make main.rake load tasks from vendor/plugins/*/tasks/*.rake
|
34
|
+
|
35
|
+
=== EXTRAS:
|
36
|
+
* AR: Add basic ActiveRecord model, proxy and migration generator.
|
37
|
+
* AR: The AR generator also adds the proxy and ActiveRecordSetController to the specified nibs.
|
38
|
+
* AR: Move the ActiveRecord code into a rucola_activerecord plugin
|
39
|
+
* AR: Added support for migrations and other AR tasks
|
40
|
+
|
41
|
+
* Samples: Added another simple sample app (Leecher) which simply downloads files and displays the progress.
|
42
|
+
|
43
|
+
* SACrashReporter: Fixed bug if ~/Library/Logs/CrashReporter doesn't exist.
|
44
|
+
* SACrashReporter: Fixed bug in the crash log naming style on 10.5.
|
45
|
+
* SACrashReporter: The crash reporter will never be ran if it's the very first time.
|
46
|
+
* SACrashReporter: Replaced the http posting with the cocoa equivalent and display message while the reporter is doing the post.
|
47
|
+
* SACrashReporter: On Leopard every crash is logged in an individual file, now reads and writes those too.
|
48
|
+
* SACrashReporter: SACrashReporter/init.rb now uses the new Plugin system to alter Initializer.do_boot and run SACrashReporter.submit after the application has started.
|
49
|
+
|
50
|
+
* Rucola TM Bundle: Going to the view from the application controller will now open the MainMenu.nib in IB.
|
51
|
+
|
1
52
|
== 0.0.1 2007-10-18
|
2
53
|
|
3
54
|
* 1 major enhancement:
|
data/Manifest.txt
CHANGED
@@ -30,10 +30,17 @@ app_generators/rucola/templates/test/test_helper.rb
|
|
30
30
|
bin/rucola
|
31
31
|
config/hoe.rb
|
32
32
|
config/requirements.rb
|
33
|
+
lib/autotest/discover.rb
|
34
|
+
lib/autotest/fail.png
|
35
|
+
lib/autotest/growl_images.rb
|
36
|
+
lib/autotest/pass.png
|
37
|
+
lib/autotest/rucola.rb
|
38
|
+
lib/autotest/sound.rb
|
33
39
|
lib/rucola.rb
|
34
40
|
lib/rucola/info_plist.rb
|
35
41
|
lib/rucola/initializer.rb
|
36
42
|
lib/rucola/nib.rb
|
43
|
+
lib/rucola/plugin.rb
|
37
44
|
lib/rucola/rucola_support.rb
|
38
45
|
lib/rucola/rucola_support/controllers.rb
|
39
46
|
lib/rucola/rucola_support/controllers/rc_controller.rb
|
@@ -65,6 +72,9 @@ rucola_generators/document_model/USAGE
|
|
65
72
|
rucola_generators/document_model/document_model_generator.rb
|
66
73
|
rucola_generators/document_model/templates/document_model_template.rb.erb
|
67
74
|
rucola_generators/document_model/templates/test_document_model_template.rb.erb
|
75
|
+
rucola_generators/rucola_plugin/USAGE
|
76
|
+
rucola_generators/rucola_plugin/rucola_plugin_generator.rb
|
77
|
+
rucola_generators/rucola_plugin/templates/init.rb.erb
|
68
78
|
rucola_generators/window_controller/USAGE
|
69
79
|
rucola_generators/window_controller/templates/Window.nib/classes.nib.erb
|
70
80
|
rucola_generators/window_controller/templates/Window.nib/info.nib
|
@@ -92,11 +102,13 @@ test/test_info_plist.rb
|
|
92
102
|
test/test_nib.rb
|
93
103
|
test/test_notifications.rb
|
94
104
|
test/test_objc_core_ext.rb
|
105
|
+
test/test_plugin.rb
|
95
106
|
test/test_rc_app.rb
|
96
107
|
test/test_rc_document.rb
|
97
108
|
test/test_rc_window_controller.rb
|
98
109
|
test/test_rucola.rb
|
99
110
|
test/test_rucola_generator.rb
|
111
|
+
test/test_rucola_plugin_generator.rb
|
100
112
|
test/test_window_controller_generator.rb
|
101
113
|
test/test_xcode.rb
|
102
114
|
website/index.html
|
data/README.txt
CHANGED
@@ -99,7 +99,8 @@ config.use_active_record = true
|
|
99
99
|
To build your application, Rucola provides a simple rake command. (You can also build your application in XCode)
|
100
100
|
|
101
101
|
rake xcode:build
|
102
|
-
|
102
|
+
|
103
|
+
(Or simply use `rake` since xcode:build is the default task.)
|
103
104
|
This will compile and run your application. At the moment we don't bundle Ruby or the gems that you are using
|
104
105
|
in your application, we have plans to support this in order to make it really easy to distribute your application.
|
105
106
|
|
@@ -111,16 +112,14 @@ The latest version can be checked out with:
|
|
111
112
|
|
112
113
|
$ svn co svn://rubyforge.org/var/svn/rucola/trunk rucola
|
113
114
|
|
114
|
-
|
115
|
+
Sample apps can be found at:
|
115
116
|
|
116
|
-
$ svn co svn://rubyforge.org/var/svn/rucola/extras/examples/
|
117
|
+
$ svn co svn://rubyforge.org/var/svn/rucola/extras/examples/
|
117
118
|
|
118
119
|
There's a basic TextMate bundle which contains only 4 commands which are the equivalent of the "go to file" commands in the rails bundle. With these going from a controller to it's test/model/view file is only a shortcut away. To get it:
|
119
120
|
|
120
121
|
$ cd ~/Library/Application\ Support/TextMate/Bundles/
|
121
122
|
$ svn co svn://rubyforge.org/var/svn/rucola/extras/Rucola.tmbundle
|
122
123
|
|
123
|
-
There's a crash reporter plugin available, which you can install with script/plugin
|
124
|
-
|
125
|
-
$ cd MyApp
|
126
|
-
$ script/plugin install SACrashReporter
|
124
|
+
There's a crash reporter plugin and a ActiveRecord plugin available, which you can install with script/plugin install. Use script/plugin list to see the ones available.
|
125
|
+
|
data/TODO
CHANGED
@@ -1,16 +1,19 @@
|
|
1
|
+
* Choose between Notifications #notify_on and #once.
|
2
|
+
|
3
|
+
* add caching to notification name lookup
|
4
|
+
|
5
|
+
* rake ib:update doesn't yet update from model files. The question is, should we allow that,
|
6
|
+
or should people handle interaction with the view in the controller anyways...?
|
7
|
+
|
1
8
|
* Did some restructuring of the dir layout with regards to controllers and initialize_hooks (rev 42).
|
2
9
|
Should probably look if the require structure is still ok... Justin knows about this.
|
3
10
|
|
4
11
|
* Create tests for initializer.rb.
|
5
12
|
|
6
|
-
* Make sure autotest works with the application generated directory structure.
|
7
|
-
|
8
13
|
* Create templates for testing in either TestUnit, TestSpec or rSpec.
|
9
14
|
I don't use rSpec anymore atm, so I (Eloy) will first focus on TestUnit & TestSpec.
|
10
15
|
Actually I will just move it to test/spec.
|
11
16
|
|
12
|
-
* Create README & simple website and release first version!
|
13
|
-
|
14
17
|
* No need to continuously rebuild your application when just changing a few lines of Ruby.
|
15
18
|
Still does xcodebuild for the build task, so add a check if the xcode project was updated,
|
16
19
|
if not then simply run the existing build.
|
@@ -19,10 +22,12 @@
|
|
19
22
|
and basic configuration not the innards of packaging and releasing.
|
20
23
|
|
21
24
|
config.objc_frameworks << ['Webkit', 'Quartz']
|
22
|
-
config.active_record = true
|
23
25
|
config.include_dirs << %w(models controllers lib)
|
24
26
|
|
25
|
-
*
|
26
|
-
|
27
|
+
* Create rspec testing plugin
|
28
|
+
|
29
|
+
* Create test/spec testing plugin
|
30
|
+
|
31
|
+
* Create test/unit testing plugin
|
27
32
|
|
28
|
-
*
|
33
|
+
* Allow plugins to be installed as gems with a config/dependencies.rb like merb
|