rucola 0.0.3 → 0.5.0

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 (77) hide show
  1. data/ChangeLog +468 -0
  2. data/History.txt +25 -0
  3. data/License.txt +1 -1
  4. data/Manifest.txt +32 -0
  5. data/README.txt +9 -67
  6. data/Rakefile +39 -31
  7. data/TODO +10 -18
  8. data/app_generators/rucola/rucola_generator.rb +15 -8
  9. data/app_generators/rucola/templates/Rakefile.erb +35 -7
  10. data/app_generators/rucola/templates/config/boot.rb +0 -1
  11. data/app_generators/rucola/templates/config/dependencies.rb +31 -0
  12. data/app_generators/rucola/templates/config/environment.rb +0 -1
  13. data/app_generators/rucola/templates/config/environments/debug.rb +13 -1
  14. data/app_generators/rucola/templates/config/environments/release.rb +15 -1
  15. data/app_generators/rucola/templates/config/environments/test.rb +7 -1
  16. data/app_generators/rucola/templates/misc/rb_main.rb.erb +12 -1
  17. data/app_generators/rucola/templates/project.pbxproj.erb +4 -0
  18. data/app_generators/rucola/templates/script/console +10 -0
  19. data/app_generators/rucola/templates/test/controllers/test_application_controller.rb +22 -10
  20. data/app_generators/rucola/templates/test/test_helper.rb +1 -0
  21. data/bin/rucola +4 -2
  22. data/lib/rucola/dependencies.rb +241 -0
  23. data/lib/rucola/dependencies/exclusions.rb +20 -0
  24. data/lib/rucola/dependencies/override_require_and_gem.rb +30 -0
  25. data/lib/rucola/dependencies/resolver.rb +68 -0
  26. data/lib/rucola/fsevents.rb +108 -0
  27. data/lib/rucola/initializer.rb +149 -117
  28. data/lib/rucola/log.rb +61 -0
  29. data/lib/rucola/nib.rb +3 -3
  30. data/lib/rucola/reloader.rb +39 -0
  31. data/lib/rucola/ruby_debug.rb +27 -0
  32. data/lib/rucola/rucola_support.rb +1 -2
  33. data/lib/rucola/rucola_support/core_ext.rb +4 -2
  34. data/lib/rucola/rucola_support/core_ext/objc.rb +9 -4
  35. data/lib/rucola/rucola_support/core_ext/objc/nsimage.rb +22 -0
  36. data/lib/rucola/rucola_support/core_ext/ruby.rb +11 -4
  37. data/lib/rucola/rucola_support/core_ext/ruby/file.rb +11 -0
  38. data/lib/rucola/rucola_support/core_ext/ruby/kernel.rb +16 -0
  39. data/lib/rucola/rucola_support/core_ext/ruby/object.rb +47 -0
  40. data/lib/rucola/rucola_support/core_ext/ruby/string.rb +8 -0
  41. data/lib/rucola/rucola_support/notifications/notifications.rb +26 -28
  42. data/lib/rucola/rucola_support/rc_app.rb +18 -0
  43. data/lib/rucola/tasks/dependencies.rake +49 -0
  44. data/lib/rucola/tasks/deploy.rake +131 -0
  45. data/lib/rucola/tasks/main.rake +39 -6
  46. data/lib/rucola/tasks/xcode.rake +54 -11
  47. data/lib/rucola/test_case.rb +138 -0
  48. data/lib/rucola/test_helper.rb +11 -5
  49. data/lib/rucola/version.rb +2 -2
  50. data/lib/rucola/xcode.rb +39 -9
  51. data/rucola_generators/controller/templates/test_controller_template.rb.erb +19 -7
  52. data/rucola_generators/simple_model/USAGE +5 -0
  53. data/rucola_generators/simple_model/simple_model_generator.rb +54 -0
  54. data/rucola_generators/simple_model/templates/simple_model.rb.erb +2 -0
  55. data/rucola_generators/simple_model/templates/test_simple_model.rb.erb +11 -0
  56. data/rucola_generators/window_controller/templates/test_window_controller_template.rb.erb +24 -13
  57. data/test/fixtures/dependencies/foo.rb +2 -0
  58. data/test/fixtures/dependencies/foo/bar.rb +0 -0
  59. data/test/fixtures/dependencies/foo/baz.rb +0 -0
  60. data/test/fixtures/dependencies/requires_fileutils.rb +1 -0
  61. data/test/fixtures/some_reloadable_class.rb +4 -0
  62. data/test/test_core_ext.rb +80 -0
  63. data/test/test_dependencies.rb +205 -0
  64. data/test/test_fsevents.rb +152 -0
  65. data/test/test_helper.rb +30 -1
  66. data/test/test_initializer.rb +56 -23
  67. data/test/test_log.rb +44 -0
  68. data/test/test_objc_core_ext.rb +23 -0
  69. data/test/test_rc_app.rb +5 -0
  70. data/test/test_reloader.rb +28 -0
  71. data/test/test_rucola_generator.rb +7 -0
  72. data/test/test_simple_model_generator.rb +48 -0
  73. data/test/test_xcode.rb +85 -5
  74. data/website/index.html +17 -91
  75. data/website/index.txt +14 -81
  76. data/website/template.rhtml +1 -1
  77. metadata +120 -76
@@ -37,7 +37,7 @@
37
37
  </div>
38
38
  <%= body %>
39
39
  <p class="coda">
40
- <a href="http://groups.google.com/group/rucola">Eloy Duran, Justin Palmer</a>, <%= modified.pretty %><br>
40
+ <a href="http://groups.google.com/group/rucola">Eloy Duran</a>, <%= modified.pretty %><br>
41
41
  Theme extended from <a href="http://rb2js.rubyforge.org/">Paul Battley</a>
42
42
  </p>
43
43
  </div>
metadata CHANGED
@@ -1,36 +1,68 @@
1
1
  --- !ruby/object:Gem::Specification
2
- rubygems_version: 0.9.4
3
- specification_version: 1
4
2
  name: rucola
5
3
  version: !ruby/object:Gem::Version
6
- version: 0.0.3
7
- date: 2007-12-08 00:00:00 +01:00
8
- summary: Rucola is an extension for RubyCocoa. It has a application skeleton generator and builds an "opinionated" application layout, like the one known from rails. And comes with RubyCocoa specific rake tasks.
9
- require_paths:
10
- - lib
11
- email: e.duran@superalloy.nl
12
- homepage: http://rucola.rubyforge.org
13
- rubyforge_project: rucola
14
- description: Rucola is an extension for RubyCocoa. It has a application skeleton generator and builds an "opinionated" application layout, like the one known from rails. And comes with RubyCocoa specific rake tasks.
15
- autorequire:
16
- default_executable:
17
- bindir: bin
18
- has_rdoc: true
19
- required_ruby_version: !ruby/object:Gem::Version::Requirement
20
- requirements:
21
- - - ">"
22
- - !ruby/object:Gem::Version
23
- version: 0.0.0
24
- version:
4
+ version: 0.5.0
25
5
  platform: ruby
26
- signing_key:
27
- cert_chain:
28
- post_install_message:
29
6
  authors:
30
7
  - Eloy Duran
31
8
  - Justin Palmer
32
9
  - Chris McGrath
33
10
  - Satoshi Nagakawa
11
+ autorequire:
12
+ bindir: bin
13
+ cert_chain: []
14
+
15
+ date: 2008-07-11 00:00:00 +02:00
16
+ default_executable:
17
+ dependencies:
18
+ - !ruby/object:Gem::Dependency
19
+ name: rubigen
20
+ version_requirement:
21
+ version_requirements: !ruby/object:Gem::Requirement
22
+ requirements:
23
+ - - ">="
24
+ - !ruby/object:Gem::Version
25
+ version: "0"
26
+ version:
27
+ - !ruby/object:Gem::Dependency
28
+ name: rubynode
29
+ version_requirement:
30
+ version_requirements: !ruby/object:Gem::Requirement
31
+ requirements:
32
+ - - ">="
33
+ - !ruby/object:Gem::Version
34
+ version: "0"
35
+ version:
36
+ - !ruby/object:Gem::Dependency
37
+ name: test-spec
38
+ version_requirement:
39
+ version_requirements: !ruby/object:Gem::Requirement
40
+ requirements:
41
+ - - ">="
42
+ - !ruby/object:Gem::Version
43
+ version: "0"
44
+ version:
45
+ - !ruby/object:Gem::Dependency
46
+ name: mocha
47
+ version_requirement:
48
+ version_requirements: !ruby/object:Gem::Requirement
49
+ requirements:
50
+ - - ">="
51
+ - !ruby/object:Gem::Version
52
+ version: "0"
53
+ version:
54
+ description: Rucola is an extension for RubyCocoa. It has a application skeleton generator and builds an "opinionated" application layout, like the one known from rails. And comes with RubyCocoa specific rake tasks.
55
+ email: e.duran@superalloy.nl
56
+ executables:
57
+ - rucola
58
+ extensions: []
59
+
60
+ extra_rdoc_files:
61
+ - History.txt
62
+ - License.txt
63
+ - Manifest.txt
64
+ - README.txt
65
+ - website/index.txt
34
66
  files:
35
67
  - ChangeLog
36
68
  - History.txt
@@ -46,6 +78,7 @@ files:
46
78
  - app_generators/rucola/templates/app/controllers/application_controller.rb
47
79
  - app_generators/rucola/templates/config/Info.plist.erb
48
80
  - app_generators/rucola/templates/config/boot.rb
81
+ - app_generators/rucola/templates/config/dependencies.rb
49
82
  - app_generators/rucola/templates/config/environment.rb
50
83
  - app_generators/rucola/templates/config/environments/debug.rb
51
84
  - app_generators/rucola/templates/config/environments/release.rb
@@ -58,6 +91,7 @@ files:
58
91
  - app_generators/rucola/templates/misc/main.m.erb
59
92
  - app_generators/rucola/templates/misc/rb_main.rb.erb
60
93
  - app_generators/rucola/templates/project.pbxproj.erb
94
+ - app_generators/rucola/templates/script/console
61
95
  - app_generators/rucola/templates/script/plugin
62
96
  - app_generators/rucola/templates/test/controllers/test_application_controller.rb
63
97
  - app_generators/rucola/templates/test/test_helper.rb
@@ -71,18 +105,30 @@ files:
71
105
  - lib/autotest/rucola.rb
72
106
  - lib/autotest/sound.rb
73
107
  - lib/rucola.rb
108
+ - lib/rucola/dependencies.rb
109
+ - lib/rucola/dependencies/exclusions.rb
110
+ - lib/rucola/dependencies/override_require_and_gem.rb
111
+ - lib/rucola/dependencies/resolver.rb
112
+ - lib/rucola/fsevents.rb
74
113
  - lib/rucola/info_plist.rb
75
114
  - lib/rucola/initializer.rb
115
+ - lib/rucola/log.rb
76
116
  - lib/rucola/nib.rb
77
117
  - lib/rucola/plugin.rb
118
+ - lib/rucola/reloader.rb
119
+ - lib/rucola/ruby_debug.rb
78
120
  - lib/rucola/rucola_support.rb
79
121
  - lib/rucola/rucola_support/controllers.rb
80
122
  - lib/rucola/rucola_support/controllers/rc_controller.rb
81
123
  - lib/rucola/rucola_support/controllers/rc_window_controller.rb
82
124
  - lib/rucola/rucola_support/core_ext.rb
83
125
  - lib/rucola/rucola_support/core_ext/objc.rb
126
+ - lib/rucola/rucola_support/core_ext/objc/nsimage.rb
84
127
  - lib/rucola/rucola_support/core_ext/objc/nsobject.rb
85
128
  - lib/rucola/rucola_support/core_ext/ruby.rb
129
+ - lib/rucola/rucola_support/core_ext/ruby/file.rb
130
+ - lib/rucola/rucola_support/core_ext/ruby/kernel.rb
131
+ - lib/rucola/rucola_support/core_ext/ruby/object.rb
86
132
  - lib/rucola/rucola_support/core_ext/ruby/string.rb
87
133
  - lib/rucola/rucola_support/initialize_hooks.rb
88
134
  - lib/rucola/rucola_support/models.rb
@@ -90,10 +136,13 @@ files:
90
136
  - lib/rucola/rucola_support/notifications.rb
91
137
  - lib/rucola/rucola_support/notifications/notifications.rb
92
138
  - lib/rucola/rucola_support/rc_app.rb
139
+ - lib/rucola/tasks/dependencies.rake
140
+ - lib/rucola/tasks/deploy.rake
93
141
  - lib/rucola/tasks/freeze.rake
94
142
  - lib/rucola/tasks/interface_builder.rake
95
143
  - lib/rucola/tasks/main.rake
96
144
  - lib/rucola/tasks/xcode.rake
145
+ - lib/rucola/test_case.rb
97
146
  - lib/rucola/test_helper.rb
98
147
  - lib/rucola/version.rb
99
148
  - lib/rucola/xcode.rb
@@ -109,6 +158,10 @@ files:
109
158
  - rucola_generators/rucola_plugin/USAGE
110
159
  - rucola_generators/rucola_plugin/rucola_plugin_generator.rb
111
160
  - rucola_generators/rucola_plugin/templates/init.rb.erb
161
+ - rucola_generators/simple_model/USAGE
162
+ - rucola_generators/simple_model/simple_model_generator.rb
163
+ - rucola_generators/simple_model/templates/simple_model.rb.erb
164
+ - rucola_generators/simple_model/templates/test_simple_model.rb.erb
112
165
  - rucola_generators/window_controller/USAGE
113
166
  - rucola_generators/window_controller/templates/Window.nib/classes.nib.erb
114
167
  - rucola_generators/window_controller/templates/Window.nib/info.nib
@@ -127,12 +180,21 @@ files:
127
180
  - test/fixtures/MainMenu.nib/classes.nib
128
181
  - test/fixtures/MainMenu.nib/info.nib
129
182
  - test/fixtures/MainMenu.nib/keyedobjects.nib
183
+ - test/fixtures/dependencies/foo.rb
184
+ - test/fixtures/dependencies/foo/bar.rb
185
+ - test/fixtures/dependencies/foo/baz.rb
186
+ - test/fixtures/dependencies/requires_fileutils.rb
187
+ - test/fixtures/some_reloadable_class.rb
130
188
  - test/test_controller_generator.rb
131
189
  - test/test_core_ext.rb
190
+ - test/test_dependencies.rb
132
191
  - test/test_document_model_generator.rb
192
+ - test/test_fsevents.rb
133
193
  - test/test_generator_helper.rb
134
194
  - test/test_helper.rb
135
195
  - test/test_info_plist.rb
196
+ - test/test_initializer.rb
197
+ - test/test_log.rb
136
198
  - test/test_nib.rb
137
199
  - test/test_notifications.rb
138
200
  - test/test_objc_core_ext.rb
@@ -140,9 +202,11 @@ files:
140
202
  - test/test_rc_app.rb
141
203
  - test/test_rc_document.rb
142
204
  - test/test_rc_window_controller.rb
205
+ - test/test_reloader.rb
143
206
  - test/test_rucola.rb
144
207
  - test/test_rucola_generator.rb
145
208
  - test/test_rucola_plugin_generator.rb
209
+ - test/test_simple_model_generator.rb
146
210
  - test/test_window_controller_generator.rb
147
211
  - test/test_xcode.rb
148
212
  - website/index.html
@@ -150,14 +214,44 @@ files:
150
214
  - website/javascripts/rounded_corners_lite.inc.js
151
215
  - website/stylesheets/screen.css
152
216
  - website/template.rhtml
217
+ has_rdoc: true
218
+ homepage: http://rucola.rubyforge.org
219
+ post_install_message:
220
+ rdoc_options:
221
+ - --main
222
+ - README.txt
223
+ require_paths:
224
+ - lib
225
+ required_ruby_version: !ruby/object:Gem::Requirement
226
+ requirements:
227
+ - - ">="
228
+ - !ruby/object:Gem::Version
229
+ version: "0"
230
+ version:
231
+ required_rubygems_version: !ruby/object:Gem::Requirement
232
+ requirements:
233
+ - - ">="
234
+ - !ruby/object:Gem::Version
235
+ version: "0"
236
+ version:
237
+ requirements: []
238
+
239
+ rubyforge_project: rucola
240
+ rubygems_version: 1.0.1
241
+ signing_key:
242
+ specification_version: 2
243
+ summary: Rucola is an extension for RubyCocoa. It has a application skeleton generator and builds an "opinionated" application layout, like the one known from rails. And comes with RubyCocoa specific rake tasks.
153
244
  test_files:
154
245
  - test/test_controller_generator.rb
155
246
  - test/test_core_ext.rb
247
+ - test/test_dependencies.rb
156
248
  - test/test_document_model_generator.rb
249
+ - test/test_fsevents.rb
157
250
  - test/test_generator_helper.rb
158
251
  - test/test_helper.rb
159
252
  - test/test_info_plist.rb
160
253
  - test/test_initializer.rb
254
+ - test/test_log.rb
161
255
  - test/test_nib.rb
162
256
  - test/test_notifications.rb
163
257
  - test/test_objc_core_ext.rb
@@ -165,60 +259,10 @@ test_files:
165
259
  - test/test_rc_app.rb
166
260
  - test/test_rc_document.rb
167
261
  - test/test_rc_window_controller.rb
262
+ - test/test_reloader.rb
168
263
  - test/test_rucola.rb
169
264
  - test/test_rucola_generator.rb
170
265
  - test/test_rucola_plugin_generator.rb
266
+ - test/test_simple_model_generator.rb
171
267
  - test/test_window_controller_generator.rb
172
268
  - test/test_xcode.rb
173
- rdoc_options:
174
- - --main
175
- - README.txt
176
- extra_rdoc_files:
177
- - History.txt
178
- - License.txt
179
- - Manifest.txt
180
- - README.txt
181
- - website/index.txt
182
- executables:
183
- - rucola
184
- extensions: []
185
-
186
- requirements: []
187
-
188
- dependencies:
189
- - !ruby/object:Gem::Dependency
190
- name: rubigen
191
- version_requirement:
192
- version_requirements: !ruby/object:Gem::Version::Requirement
193
- requirements:
194
- - - ">"
195
- - !ruby/object:Gem::Version
196
- version: 0.0.0
197
- version:
198
- - !ruby/object:Gem::Dependency
199
- name: rubynode
200
- version_requirement:
201
- version_requirements: !ruby/object:Gem::Version::Requirement
202
- requirements:
203
- - - ">"
204
- - !ruby/object:Gem::Version
205
- version: 0.0.0
206
- version:
207
- - !ruby/object:Gem::Dependency
208
- name: test-spec
209
- version_requirement:
210
- version_requirements: !ruby/object:Gem::Version::Requirement
211
- requirements:
212
- - - ">"
213
- - !ruby/object:Gem::Version
214
- version: 0.0.0
215
- version:
216
- - !ruby/object:Gem::Dependency
217
- name: mocha
218
- version_requirement:
219
- version_requirements: !ruby/object:Gem::Version::Requirement
220
- requirements:
221
- - - ">"
222
- - !ruby/object:Gem::Version
223
- version: 0.0.0
224
- version: