wheels 0.1.8 → 0.1.9

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 (243) hide show
  1. data/Gemfile +20 -0
  2. data/VERSION +1 -1
  3. data/app/controllers/app_configs_controller.rb +12 -0
  4. data/app/controllers/application_controller.rb +39 -0
  5. data/app/helpers/application_helper.rb +24 -2
  6. data/app/models/sitemap.rb +7 -0
  7. data/app/views/app_configs/css.css.haml +2 -0
  8. data/app/views/layouts/application.html.haml +21 -15
  9. data/app/views/pages/_form_fields.html.haml +2 -0
  10. data/app/views/sitemaps/index.html.haml +68 -76
  11. data/db/migrate/0000_devise_create_users.rb +26 -0
  12. data/db/migrate/0180_acts_as_taggable_on_migration.rb +28 -0
  13. data/lib/generators/app_layout/app_layout_generator.rb +1 -1
  14. data/lib/generators/{wheels/core_extensions.rb → core_extensions.rb} +42 -1
  15. data/lib/generators/recipes/wheels.rb +46 -0
  16. data/lib/generators/recipes/wheels_update.rb +18 -0
  17. data/lib/generators/wheels/wheels_generator.rb +3 -1
  18. data/lib/generators/wheels_checkout_assets/USAGE +8 -0
  19. data/lib/generators/wheels_checkout_assets/wheels_checkout_assets_generator.rb +9 -0
  20. data/lib/generators/wheels_checkout_assets_readonly/USAGE +8 -0
  21. data/lib/generators/wheels_checkout_assets_readonly/wheels_checkout_assets_readonly_generator.rb +10 -0
  22. data/lib/generators/wheels_controller/USAGE +8 -0
  23. data/lib/generators/wheels_controller/wheels_controller_generator.rb +14 -0
  24. data/lib/generators/{wheels_views → wheels_model}/USAGE +1 -1
  25. data/lib/generators/wheels_model/wheels_model_generator.rb +14 -0
  26. data/lib/generators/{update_wheels/update_wheels_generator.rb → wheels_update/wheels_update_generator.rb} +7 -13
  27. data/lib/generators/wheels_view/USAGE +8 -0
  28. data/lib/generators/wheels_view/wheels_view_generator.rb +14 -0
  29. data/lib/wheels/routes.rb +7 -1
  30. data/wheels.gemspec +44 -218
  31. metadata +44 -218
  32. data/lib/generators/app_layout/core_extensions.rb +0 -51
  33. data/lib/generators/update_wheels/core_extensions.rb +0 -51
  34. data/lib/generators/update_wheels/recipes/wheels.rb +0 -11
  35. data/lib/generators/update_wheels/templates/haml/app/views/layouts/application.html.haml +0 -9
  36. data/lib/generators/wheels/install_generator.rb +0 -25
  37. data/lib/generators/wheels/recipes/wheels.rb +0 -66
  38. data/lib/generators/wheels/templates/cancan/ability.rb +0 -13
  39. data/lib/generators/wheels/templates/database/postgresql.yml +0 -19
  40. data/lib/generators/wheels/templates/git/gitignore +0 -8
  41. data/lib/generators/wheels/templates/mongoid/features/step_definitions/mongoid_steps.rb +0 -4
  42. data/lib/generators/wheels/templates/mongoid/features/support/hooks.rb +0 -3
  43. data/lib/generators/wheels/views_generator.rb +0 -15
  44. data/lib/generators/wheels_views/LICENCE +0 -20
  45. data/lib/generators/wheels_views/wheels_views_generator.rb +0 -15
  46. data/lib/wheels/base.rb +0 -7
  47. data/public/404.html +0 -26
  48. data/public/422.html +0 -26
  49. data/public/500.html +0 -26
  50. data/public/favicon.ico +0 -0
  51. data/public/images/dreamy/Thumbs.db +0 -0
  52. data/public/images/dreamy/bg-ad-top.png +0 -0
  53. data/public/images/dreamy/bg-body.png +0 -0
  54. data/public/images/dreamy/bg-feed.gif +0 -0
  55. data/public/images/dreamy/bg-footer.jpg +0 -0
  56. data/public/images/dreamy/bg-header.jpg +0 -0
  57. data/public/images/dreamy/bg-menu-hover.png +0 -0
  58. data/public/images/dreamy/bg-menu.png +0 -0
  59. data/public/images/dreamy/bg-sidebar-bottom.gif +0 -0
  60. data/public/images/dreamy/button-feed.png +0 -0
  61. data/public/images/dreamy/icon-comment.png +0 -0
  62. data/public/images/growl/error.png +0 -0
  63. data/public/images/growl/growl_bottom.png +0 -0
  64. data/public/images/growl/growl_repeat.png +0 -0
  65. data/public/images/growl/growl_top.png +0 -0
  66. data/public/images/growl/info.png +0 -0
  67. data/public/images/menu/item-pointer-mover.gif +0 -0
  68. data/public/images/menu/item-pointer.gif +0 -0
  69. data/public/images/menu/lava.gif +0 -0
  70. data/public/images/menu/lava.png +0 -0
  71. data/public/images/menu/main-bg.png +0 -0
  72. data/public/images/menu/main-delimiter.png +0 -0
  73. data/public/javascripts/galleries/configure_ckeditor.js +0 -8
  74. data/public/javascripts/jqUrl.js +0 -28
  75. data/public/javascripts/jquery-validate/additional-methods.js +0 -259
  76. data/public/javascripts/jquery-validate/changelog.txt +0 -239
  77. data/public/javascripts/jquery-validate/jquery.validate.js +0 -1146
  78. data/public/javascripts/jquery-validate/jquery.validate.min.js +0 -16
  79. data/public/javascripts/jquery-validate/jquery.validate.pack.js +0 -15
  80. data/public/javascripts/jquery-validate/lib/jquery-1.4.2.js +0 -6240
  81. data/public/javascripts/jquery-validate/lib/jquery.form.js +0 -660
  82. data/public/javascripts/jquery-validate/lib/jquery.js +0 -4376
  83. data/public/javascripts/jquery-validate/lib/jquery.metadata.js +0 -122
  84. data/public/javascripts/jquery-validate/localization/messages_ar.js +0 -24
  85. data/public/javascripts/jquery-validate/localization/messages_bg.js +0 -23
  86. data/public/javascripts/jquery-validate/localization/messages_cn.js +0 -23
  87. data/public/javascripts/jquery-validate/localization/messages_cs.js +0 -23
  88. data/public/javascripts/jquery-validate/localization/messages_da.js +0 -20
  89. data/public/javascripts/jquery-validate/localization/messages_de.js +0 -20
  90. data/public/javascripts/jquery-validate/localization/messages_el.js +0 -24
  91. data/public/javascripts/jquery-validate/localization/messages_es.js +0 -23
  92. data/public/javascripts/jquery-validate/localization/messages_fa.js +0 -23
  93. data/public/javascripts/jquery-validate/localization/messages_fi.js +0 -21
  94. data/public/javascripts/jquery-validate/localization/messages_fr.js +0 -23
  95. data/public/javascripts/jquery-validate/localization/messages_he.js +0 -23
  96. data/public/javascripts/jquery-validate/localization/messages_hu.js +0 -20
  97. data/public/javascripts/jquery-validate/localization/messages_it.js +0 -23
  98. data/public/javascripts/jquery-validate/localization/messages_kk.js +0 -23
  99. data/public/javascripts/jquery-validate/localization/messages_lt.js +0 -23
  100. data/public/javascripts/jquery-validate/localization/messages_lv.js +0 -23
  101. data/public/javascripts/jquery-validate/localization/messages_nl.js +0 -23
  102. data/public/javascripts/jquery-validate/localization/messages_no.js +0 -23
  103. data/public/javascripts/jquery-validate/localization/messages_pl.js +0 -23
  104. data/public/javascripts/jquery-validate/localization/messages_ptbr.js +0 -23
  105. data/public/javascripts/jquery-validate/localization/messages_ptpt.js +0 -23
  106. data/public/javascripts/jquery-validate/localization/messages_ro.js +0 -23
  107. data/public/javascripts/jquery-validate/localization/messages_ru.js +0 -23
  108. data/public/javascripts/jquery-validate/localization/messages_se.js +0 -21
  109. data/public/javascripts/jquery-validate/localization/messages_sk.js +0 -20
  110. data/public/javascripts/jquery-validate/localization/messages_tr.js +0 -23
  111. data/public/javascripts/jquery-validate/localization/messages_tw.js +0 -23
  112. data/public/javascripts/jquery-validate/localization/messages_ua.js +0 -23
  113. data/public/javascripts/jquery-validate/localization/methods_de.js +0 -12
  114. data/public/javascripts/jquery-validate/localization/methods_nl.js +0 -9
  115. data/public/javascripts/jquery-validate/localization/methods_pt.js +0 -9
  116. data/public/javascripts/jquery-validate/todo +0 -172
  117. data/public/javascripts/jquery.cookie.js +0 -96
  118. data/public/javascripts/jquery.filedrop.js +0 -253
  119. data/public/javascripts/jquery.growl.js +0 -143
  120. data/public/javascripts/jquery.hotkeys.js +0 -99
  121. data/public/javascripts/jquery.js +0 -6240
  122. data/public/javascripts/jquery.jstree.js +0 -3510
  123. data/public/javascripts/jquery.uploadify.js +0 -26
  124. data/public/javascripts/jquery.validate.js +0 -1147
  125. data/public/javascripts/loadbehind.js +0 -0
  126. data/public/javascripts/menu.js +0 -247
  127. data/public/javascripts/sitemap_jstree.js +0 -329
  128. data/public/javascripts/swfobject.js +0 -4
  129. data/public/jstree/_demo/_dump.sql +0 -20
  130. data/public/jstree/_demo/_inc/__mysql_errors.log +0 -0
  131. data/public/jstree/_demo/_inc/class._database.php +0 -146
  132. data/public/jstree/_demo/_inc/class._database_i.php +0 -152
  133. data/public/jstree/_demo/_inc/class.tree.php +0 -602
  134. data/public/jstree/_demo/_install.txt +0 -6
  135. data/public/jstree/_demo/config.php +0 -14
  136. data/public/jstree/_demo/index.html +0 -262
  137. data/public/jstree/_demo/server.php +0 -69
  138. data/public/jstree/_docs/!style.css +0 -37
  139. data/public/jstree/_docs/_drive.png +0 -0
  140. data/public/jstree/_docs/_html_data.html +0 -2
  141. data/public/jstree/_docs/_json_data.json +0 -4
  142. data/public/jstree/_docs/_search_data.json +0 -6
  143. data/public/jstree/_docs/_search_result.json +0 -1
  144. data/public/jstree/_docs/_xml_flat.xml +0 -12
  145. data/public/jstree/_docs/_xml_nest.xml +0 -18
  146. data/public/jstree/_docs/checkbox.html +0 -148
  147. data/public/jstree/_docs/contextmenu.html +0 -120
  148. data/public/jstree/_docs/cookies.html +0 -96
  149. data/public/jstree/_docs/core.html +0 -622
  150. data/public/jstree/_docs/crrm.html +0 -315
  151. data/public/jstree/_docs/dnd.html +0 -197
  152. data/public/jstree/_docs/hotkeys.html +0 -81
  153. data/public/jstree/_docs/html_data.html +0 -174
  154. data/public/jstree/_docs/index.html +0 -75
  155. data/public/jstree/_docs/json_data.html +0 -240
  156. data/public/jstree/_docs/languages.html +0 -138
  157. data/public/jstree/_docs/search.html +0 -114
  158. data/public/jstree/_docs/sort.html +0 -84
  159. data/public/jstree/_docs/syntax/!script.js +0 -2232
  160. data/public/jstree/_docs/syntax/!style.css +0 -511
  161. data/public/jstree/_docs/syntax/clipboard.swf +0 -0
  162. data/public/jstree/_docs/syntax/help.png +0 -0
  163. data/public/jstree/_docs/syntax/magnifier.png +0 -0
  164. data/public/jstree/_docs/syntax/page_white_code.png +0 -0
  165. data/public/jstree/_docs/syntax/page_white_copy.png +0 -0
  166. data/public/jstree/_docs/syntax/printer.png +0 -0
  167. data/public/jstree/_docs/syntax/wrapping.png +0 -0
  168. data/public/jstree/_docs/themeroller.html +0 -98
  169. data/public/jstree/_docs/themes.html +0 -126
  170. data/public/jstree/_docs/types.html +0 -173
  171. data/public/jstree/_docs/ui.html +0 -188
  172. data/public/jstree/_docs/unique.html +0 -70
  173. data/public/jstree/_docs/xml_data.html +0 -214
  174. data/public/jstree/_lib/jquery.cookie.js +0 -96
  175. data/public/jstree/_lib/jquery.hotkeys.js +0 -99
  176. data/public/jstree/_lib/jquery.js +0 -6240
  177. data/public/jstree/jquery.jstree.js +0 -3510
  178. data/public/jstree/jstree.html +0 -237
  179. data/public/jstree/themes/apple/bg.jpg +0 -0
  180. data/public/jstree/themes/apple/d.png +0 -0
  181. data/public/jstree/themes/apple/dot_for_ie.gif +0 -0
  182. data/public/jstree/themes/apple/style.css +0 -60
  183. data/public/jstree/themes/apple/throbber.gif +0 -0
  184. data/public/jstree/themes/classic/d.png +0 -0
  185. data/public/jstree/themes/classic/dot_for_ie.gif +0 -0
  186. data/public/jstree/themes/classic/style.css +0 -59
  187. data/public/jstree/themes/classic/throbber.gif +0 -0
  188. data/public/jstree/themes/default/d.gif +0 -0
  189. data/public/jstree/themes/default/d.png +0 -0
  190. data/public/jstree/themes/default/style.css +0 -73
  191. data/public/jstree/themes/default/throbber.gif +0 -0
  192. data/public/jstree/themes/default-rtl/d.gif +0 -0
  193. data/public/jstree/themes/default-rtl/d.png +0 -0
  194. data/public/jstree/themes/default-rtl/dots.gif +0 -0
  195. data/public/jstree/themes/default-rtl/style.css +0 -83
  196. data/public/jstree/themes/default-rtl/throbber.gif +0 -0
  197. data/public/stylesheets/dreamy.css +0 -183
  198. data/public/stylesheets/menu.css +0 -101
  199. data/public/stylesheets/sass/dreamy.sass +0 -165
  200. data/public/stylesheets/sass/menu.sass +0 -139
  201. data/public/stylesheets/sass/uploadify.sass +0 -52
  202. data/public/stylesheets/sass/wheels.sass +0 -25
  203. data/public/stylesheets/scaffold.css +0 -56
  204. data/public/stylesheets/ui-lightness/images/ui-anim_basic_16x16.gif +0 -0
  205. data/public/stylesheets/ui-lightness/images/ui-bg_diagonals-thick_18_b81900_40x40.png +0 -0
  206. data/public/stylesheets/ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png +0 -0
  207. data/public/stylesheets/ui-lightness/images/ui-bg_flat_10_000000_40x100.png +0 -0
  208. data/public/stylesheets/ui-lightness/images/ui-bg_glass_100_f6f6f6_1x400.png +0 -0
  209. data/public/stylesheets/ui-lightness/images/ui-bg_glass_100_fdf5ce_1x400.png +0 -0
  210. data/public/stylesheets/ui-lightness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  211. data/public/stylesheets/ui-lightness/images/ui-bg_gloss-wave_35_f6a828_500x100.png +0 -0
  212. data/public/stylesheets/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png +0 -0
  213. data/public/stylesheets/ui-lightness/images/ui-bg_highlight-soft_75_ffe45c_1x100.png +0 -0
  214. data/public/stylesheets/ui-lightness/images/ui-icons_222222_256x240.png +0 -0
  215. data/public/stylesheets/ui-lightness/images/ui-icons_228ef1_256x240.png +0 -0
  216. data/public/stylesheets/ui-lightness/images/ui-icons_ef8c08_256x240.png +0 -0
  217. data/public/stylesheets/ui-lightness/images/ui-icons_ffd27a_256x240.png +0 -0
  218. data/public/stylesheets/ui-lightness/images/ui-icons_ffffff_256x240.png +0 -0
  219. data/public/stylesheets/ui-lightness/jquery-ui-1.8.2.custom.css +0 -359
  220. data/public/stylesheets/ui-lightness/jquery-ui-1.8.4.custom.css +0 -549
  221. data/public/test.html +0 -18
  222. /data/lib/generators/{wheels/recipes → recipes}/cancan.rb +0 -0
  223. /data/lib/generators/{wheels/recipes → recipes}/cucumber.rb +0 -0
  224. /data/lib/generators/{wheels/recipes → recipes}/default.rb +0 -0
  225. /data/lib/generators/{wheels/recipes → recipes}/design.rb +0 -0
  226. /data/lib/generators/{wheels/recipes → recipes}/devise.rb +0 -0
  227. /data/lib/generators/{wheels/recipes → recipes}/factory_girl.rb +0 -0
  228. /data/lib/generators/{wheels/recipes → recipes}/haml.rb +0 -0
  229. /data/lib/generators/{wheels/recipes → recipes}/jquery.rb +0 -0
  230. /data/lib/generators/{wheels/recipes → recipes}/mongoid.rb +0 -0
  231. /data/lib/generators/{wheels/recipes → recipes}/postgresql.rb +0 -0
  232. /data/lib/generators/{wheels/recipes → recipes}/recipes.rb +0 -0
  233. /data/lib/generators/{wheels/recipes → recipes}/remarkable.rb +0 -0
  234. /data/lib/generators/{wheels/recipes → recipes}/rspec.rb +0 -0
  235. /data/lib/generators/{wheels/snippets → snippets}/cucumber/database_config +0 -0
  236. /data/lib/generators/{update_wheels/templates → templates}/cancan/ability.rb +0 -0
  237. /data/lib/generators/{update_wheels/templates → templates}/database/postgresql.yml +0 -0
  238. /data/lib/generators/{update_wheels/templates → templates}/git/gitignore +0 -0
  239. /data/lib/generators/{wheels/templates → templates}/haml/app/views/layouts/application.html.haml +0 -0
  240. /data/lib/generators/{update_wheels/templates → templates}/mongoid/features/step_definitions/mongoid_steps.rb +0 -0
  241. /data/lib/generators/{update_wheels/templates → templates}/mongoid/features/support/hooks.rb +0 -0
  242. /data/lib/generators/{update_wheels → wheels_update}/LICENCE +0 -0
  243. /data/lib/generators/{update_wheels → wheels_update}/USAGE +0 -0
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 1
8
- - 8
9
- version: 0.1.8
8
+ - 9
9
+ version: 0.1.9
10
10
  platform: ruby
11
11
  authors:
12
12
  - Tyler Gannon
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-09-09 00:00:00 -07:00
17
+ date: 2010-09-12 00:00:00 -07:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
@@ -39,12 +39,14 @@ extensions: []
39
39
  extra_rdoc_files:
40
40
  - README.rdoc
41
41
  files:
42
+ - Gemfile
42
43
  - LICENSE
43
44
  - README.rdoc
44
45
  - Rakefile
45
46
  - VERSION
46
47
  - app/controllers/access_control_entries_controller.rb
47
48
  - app/controllers/app_configs_controller.rb
49
+ - app/controllers/application_controller.rb
48
50
  - app/controllers/attachments_controller.rb
49
51
  - app/controllers/blogs_controller.rb
50
52
  - app/controllers/discussions_controller.rb
@@ -111,6 +113,7 @@ files:
111
113
  - app/views/app_configs/_index.html.haml
112
114
  - app/views/app_configs/_show.html.haml
113
115
  - app/views/app_configs/create.js.haml
116
+ - app/views/app_configs/css.css.haml
114
117
  - app/views/app_configs/destroy.js.haml
115
118
  - app/views/app_configs/edit.html.haml
116
119
  - app/views/app_configs/edit.js.haml
@@ -239,6 +242,7 @@ files:
239
242
  - app/views/users/edit.html.haml
240
243
  - app/views/users/index.html.haml
241
244
  - config/amazon_s3.yml
245
+ - db/migrate/0000_devise_create_users.rb
242
246
  - db/migrate/0010_add_fields_to_users.rb
243
247
  - db/migrate/0020_create_blogs.rb
244
248
  - db/migrate/0030_create_galleries.rb
@@ -256,60 +260,57 @@ files:
256
260
  - db/migrate/0150_create_external_links.rb
257
261
  - db/migrate/0160_create_sitemaps.rb
258
262
  - db/migrate/0170_create_menus.rb
263
+ - db/migrate/0180_acts_as_taggable_on_migration.rb
259
264
  - init.rb
260
265
  - lib/development_mail_interceptor.rb
261
266
  - lib/generators/app_layout/LICENCE
262
267
  - lib/generators/app_layout/USAGE
263
268
  - lib/generators/app_layout/app_layout_generator.rb
264
- - lib/generators/app_layout/core_extensions.rb
265
- - lib/generators/update_wheels/LICENCE
266
- - lib/generators/update_wheels/USAGE
267
- - lib/generators/update_wheels/core_extensions.rb
268
- - lib/generators/update_wheels/recipes/wheels.rb
269
- - lib/generators/update_wheels/templates/cancan/ability.rb
270
- - lib/generators/update_wheels/templates/database/postgresql.yml
271
- - lib/generators/update_wheels/templates/git/gitignore
272
- - lib/generators/update_wheels/templates/haml/app/views/layouts/application.html.haml
273
- - lib/generators/update_wheels/templates/mongoid/features/step_definitions/mongoid_steps.rb
274
- - lib/generators/update_wheels/templates/mongoid/features/support/hooks.rb
275
- - lib/generators/update_wheels/update_wheels_generator.rb
269
+ - lib/generators/core_extensions.rb
270
+ - lib/generators/recipes/cancan.rb
271
+ - lib/generators/recipes/cucumber.rb
272
+ - lib/generators/recipes/default.rb
273
+ - lib/generators/recipes/design.rb
274
+ - lib/generators/recipes/devise.rb
275
+ - lib/generators/recipes/factory_girl.rb
276
+ - lib/generators/recipes/haml.rb
277
+ - lib/generators/recipes/jquery.rb
278
+ - lib/generators/recipes/mongoid.rb
279
+ - lib/generators/recipes/postgresql.rb
280
+ - lib/generators/recipes/recipes.rb
281
+ - lib/generators/recipes/remarkable.rb
282
+ - lib/generators/recipes/rspec.rb
283
+ - lib/generators/recipes/wheels.rb
284
+ - lib/generators/recipes/wheels_update.rb
285
+ - lib/generators/snippets/cucumber/database_config
286
+ - lib/generators/templates/cancan/ability.rb
287
+ - lib/generators/templates/database/postgresql.yml
288
+ - lib/generators/templates/git/gitignore
289
+ - lib/generators/templates/haml/app/views/layouts/application.html.haml
290
+ - lib/generators/templates/mongoid/features/step_definitions/mongoid_steps.rb
291
+ - lib/generators/templates/mongoid/features/support/hooks.rb
276
292
  - lib/generators/wheels/LICENCE
277
293
  - lib/generators/wheels/USAGE
278
- - lib/generators/wheels/core_extensions.rb
279
- - lib/generators/wheels/install_generator.rb
280
- - lib/generators/wheels/recipes/cancan.rb
281
- - lib/generators/wheels/recipes/cucumber.rb
282
- - lib/generators/wheels/recipes/default.rb
283
- - lib/generators/wheels/recipes/design.rb
284
- - lib/generators/wheels/recipes/devise.rb
285
- - lib/generators/wheels/recipes/factory_girl.rb
286
- - lib/generators/wheels/recipes/haml.rb
287
- - lib/generators/wheels/recipes/jquery.rb
288
- - lib/generators/wheels/recipes/mongoid.rb
289
- - lib/generators/wheels/recipes/postgresql.rb
290
- - lib/generators/wheels/recipes/recipes.rb
291
- - lib/generators/wheels/recipes/remarkable.rb
292
- - lib/generators/wheels/recipes/rspec.rb
293
- - lib/generators/wheels/recipes/wheels.rb
294
- - lib/generators/wheels/snippets/cucumber/database_config
295
294
  - lib/generators/wheels/templater.rb
296
- - lib/generators/wheels/templates/cancan/ability.rb
297
- - lib/generators/wheels/templates/database/postgresql.yml
298
- - lib/generators/wheels/templates/git/gitignore
299
- - lib/generators/wheels/templates/haml/app/views/layouts/application.html.haml
300
- - lib/generators/wheels/templates/mongoid/features/step_definitions/mongoid_steps.rb
301
- - lib/generators/wheels/templates/mongoid/features/support/hooks.rb
302
- - lib/generators/wheels/views_generator.rb
303
295
  - lib/generators/wheels/wheels_generator.rb
304
- - lib/generators/wheels_views/LICENCE
305
- - lib/generators/wheels_views/USAGE
306
- - lib/generators/wheels_views/wheels_views_generator.rb
296
+ - lib/generators/wheels_checkout_assets/USAGE
297
+ - lib/generators/wheels_checkout_assets/wheels_checkout_assets_generator.rb
298
+ - lib/generators/wheels_checkout_assets_readonly/USAGE
299
+ - lib/generators/wheels_checkout_assets_readonly/wheels_checkout_assets_readonly_generator.rb
300
+ - lib/generators/wheels_controller/USAGE
301
+ - lib/generators/wheels_controller/wheels_controller_generator.rb
302
+ - lib/generators/wheels_model/USAGE
303
+ - lib/generators/wheels_model/wheels_model_generator.rb
304
+ - lib/generators/wheels_update/LICENCE
305
+ - lib/generators/wheels_update/USAGE
306
+ - lib/generators/wheels_update/wheels_update_generator.rb
307
+ - lib/generators/wheels_view/USAGE
308
+ - lib/generators/wheels_view/wheels_view_generator.rb
307
309
  - lib/wheels.rb
308
310
  - lib/wheels/action_controller_extensions.rb
309
311
  - lib/wheels/action_view_helper_extensions.rb
310
312
  - lib/wheels/active_record_extensions.rb
311
313
  - lib/wheels/active_record_user_extensions.rb
312
- - lib/wheels/base.rb
313
314
  - lib/wheels/flash_session_cookie_middleware.rb
314
315
  - lib/wheels/paperclip_interpolations.rb
315
316
  - lib/wheels/password_validators.rb
@@ -317,181 +318,6 @@ files:
317
318
  - lib/wheels/s3login_provider.rb
318
319
  - lib/wheels/user.rb
319
320
  - lib/wheels/wheels_engine.rb
320
- - public/404.html
321
- - public/422.html
322
- - public/500.html
323
- - public/favicon.ico
324
- - public/images/dreamy/Thumbs.db
325
- - public/images/dreamy/bg-ad-top.png
326
- - public/images/dreamy/bg-body.png
327
- - public/images/dreamy/bg-feed.gif
328
- - public/images/dreamy/bg-footer.jpg
329
- - public/images/dreamy/bg-header.jpg
330
- - public/images/dreamy/bg-menu-hover.png
331
- - public/images/dreamy/bg-menu.png
332
- - public/images/dreamy/bg-sidebar-bottom.gif
333
- - public/images/dreamy/button-feed.png
334
- - public/images/dreamy/icon-comment.png
335
- - public/images/growl/error.png
336
- - public/images/growl/growl_bottom.png
337
- - public/images/growl/growl_repeat.png
338
- - public/images/growl/growl_top.png
339
- - public/images/growl/info.png
340
- - public/images/menu/item-pointer-mover.gif
341
- - public/images/menu/item-pointer.gif
342
- - public/images/menu/lava.gif
343
- - public/images/menu/lava.png
344
- - public/images/menu/main-bg.png
345
- - public/images/menu/main-delimiter.png
346
- - public/javascripts/galleries/configure_ckeditor.js
347
- - public/javascripts/jqUrl.js
348
- - public/javascripts/jquery-validate/additional-methods.js
349
- - public/javascripts/jquery-validate/changelog.txt
350
- - public/javascripts/jquery-validate/jquery.validate.js
351
- - public/javascripts/jquery-validate/jquery.validate.min.js
352
- - public/javascripts/jquery-validate/jquery.validate.pack.js
353
- - public/javascripts/jquery-validate/lib/jquery-1.4.2.js
354
- - public/javascripts/jquery-validate/lib/jquery.form.js
355
- - public/javascripts/jquery-validate/lib/jquery.js
356
- - public/javascripts/jquery-validate/lib/jquery.metadata.js
357
- - public/javascripts/jquery-validate/localization/messages_ar.js
358
- - public/javascripts/jquery-validate/localization/messages_bg.js
359
- - public/javascripts/jquery-validate/localization/messages_cn.js
360
- - public/javascripts/jquery-validate/localization/messages_cs.js
361
- - public/javascripts/jquery-validate/localization/messages_da.js
362
- - public/javascripts/jquery-validate/localization/messages_de.js
363
- - public/javascripts/jquery-validate/localization/messages_el.js
364
- - public/javascripts/jquery-validate/localization/messages_es.js
365
- - public/javascripts/jquery-validate/localization/messages_fa.js
366
- - public/javascripts/jquery-validate/localization/messages_fi.js
367
- - public/javascripts/jquery-validate/localization/messages_fr.js
368
- - public/javascripts/jquery-validate/localization/messages_he.js
369
- - public/javascripts/jquery-validate/localization/messages_hu.js
370
- - public/javascripts/jquery-validate/localization/messages_it.js
371
- - public/javascripts/jquery-validate/localization/messages_kk.js
372
- - public/javascripts/jquery-validate/localization/messages_lt.js
373
- - public/javascripts/jquery-validate/localization/messages_lv.js
374
- - public/javascripts/jquery-validate/localization/messages_nl.js
375
- - public/javascripts/jquery-validate/localization/messages_no.js
376
- - public/javascripts/jquery-validate/localization/messages_pl.js
377
- - public/javascripts/jquery-validate/localization/messages_ptbr.js
378
- - public/javascripts/jquery-validate/localization/messages_ptpt.js
379
- - public/javascripts/jquery-validate/localization/messages_ro.js
380
- - public/javascripts/jquery-validate/localization/messages_ru.js
381
- - public/javascripts/jquery-validate/localization/messages_se.js
382
- - public/javascripts/jquery-validate/localization/messages_sk.js
383
- - public/javascripts/jquery-validate/localization/messages_tr.js
384
- - public/javascripts/jquery-validate/localization/messages_tw.js
385
- - public/javascripts/jquery-validate/localization/messages_ua.js
386
- - public/javascripts/jquery-validate/localization/methods_de.js
387
- - public/javascripts/jquery-validate/localization/methods_nl.js
388
- - public/javascripts/jquery-validate/localization/methods_pt.js
389
- - public/javascripts/jquery-validate/todo
390
- - public/javascripts/jquery.cookie.js
391
- - public/javascripts/jquery.filedrop.js
392
- - public/javascripts/jquery.growl.js
393
- - public/javascripts/jquery.hotkeys.js
394
- - public/javascripts/jquery.js
395
- - public/javascripts/jquery.jstree.js
396
- - public/javascripts/jquery.uploadify.js
397
- - public/javascripts/jquery.validate.js
398
- - public/javascripts/loadbehind.js
399
- - public/javascripts/menu.js
400
- - public/javascripts/sitemap_jstree.js
401
- - public/javascripts/swfobject.js
402
- - public/jstree/_demo/_dump.sql
403
- - public/jstree/_demo/_inc/__mysql_errors.log
404
- - public/jstree/_demo/_inc/class._database.php
405
- - public/jstree/_demo/_inc/class._database_i.php
406
- - public/jstree/_demo/_inc/class.tree.php
407
- - public/jstree/_demo/_install.txt
408
- - public/jstree/_demo/config.php
409
- - public/jstree/_demo/index.html
410
- - public/jstree/_demo/server.php
411
- - public/jstree/_docs/!style.css
412
- - public/jstree/_docs/_drive.png
413
- - public/jstree/_docs/_html_data.html
414
- - public/jstree/_docs/_json_data.json
415
- - public/jstree/_docs/_search_data.json
416
- - public/jstree/_docs/_search_result.json
417
- - public/jstree/_docs/_xml_flat.xml
418
- - public/jstree/_docs/_xml_nest.xml
419
- - public/jstree/_docs/checkbox.html
420
- - public/jstree/_docs/contextmenu.html
421
- - public/jstree/_docs/cookies.html
422
- - public/jstree/_docs/core.html
423
- - public/jstree/_docs/crrm.html
424
- - public/jstree/_docs/dnd.html
425
- - public/jstree/_docs/hotkeys.html
426
- - public/jstree/_docs/html_data.html
427
- - public/jstree/_docs/index.html
428
- - public/jstree/_docs/json_data.html
429
- - public/jstree/_docs/languages.html
430
- - public/jstree/_docs/search.html
431
- - public/jstree/_docs/sort.html
432
- - public/jstree/_docs/syntax/!script.js
433
- - public/jstree/_docs/syntax/!style.css
434
- - public/jstree/_docs/syntax/clipboard.swf
435
- - public/jstree/_docs/syntax/help.png
436
- - public/jstree/_docs/syntax/magnifier.png
437
- - public/jstree/_docs/syntax/page_white_code.png
438
- - public/jstree/_docs/syntax/page_white_copy.png
439
- - public/jstree/_docs/syntax/printer.png
440
- - public/jstree/_docs/syntax/wrapping.png
441
- - public/jstree/_docs/themeroller.html
442
- - public/jstree/_docs/themes.html
443
- - public/jstree/_docs/types.html
444
- - public/jstree/_docs/ui.html
445
- - public/jstree/_docs/unique.html
446
- - public/jstree/_docs/xml_data.html
447
- - public/jstree/_lib/jquery.cookie.js
448
- - public/jstree/_lib/jquery.hotkeys.js
449
- - public/jstree/_lib/jquery.js
450
- - public/jstree/jquery.jstree.js
451
- - public/jstree/jstree.html
452
- - public/jstree/themes/apple/bg.jpg
453
- - public/jstree/themes/apple/d.png
454
- - public/jstree/themes/apple/dot_for_ie.gif
455
- - public/jstree/themes/apple/style.css
456
- - public/jstree/themes/apple/throbber.gif
457
- - public/jstree/themes/classic/d.png
458
- - public/jstree/themes/classic/dot_for_ie.gif
459
- - public/jstree/themes/classic/style.css
460
- - public/jstree/themes/classic/throbber.gif
461
- - public/jstree/themes/default-rtl/d.gif
462
- - public/jstree/themes/default-rtl/d.png
463
- - public/jstree/themes/default-rtl/dots.gif
464
- - public/jstree/themes/default-rtl/style.css
465
- - public/jstree/themes/default-rtl/throbber.gif
466
- - public/jstree/themes/default/d.gif
467
- - public/jstree/themes/default/d.png
468
- - public/jstree/themes/default/style.css
469
- - public/jstree/themes/default/throbber.gif
470
- - public/stylesheets/dreamy.css
471
- - public/stylesheets/menu.css
472
- - public/stylesheets/sass/dreamy.sass
473
- - public/stylesheets/sass/menu.sass
474
- - public/stylesheets/sass/uploadify.sass
475
- - public/stylesheets/sass/wheels.sass
476
- - public/stylesheets/scaffold.css
477
- - public/stylesheets/ui-lightness/images/ui-anim_basic_16x16.gif
478
- - public/stylesheets/ui-lightness/images/ui-bg_diagonals-thick_18_b81900_40x40.png
479
- - public/stylesheets/ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png
480
- - public/stylesheets/ui-lightness/images/ui-bg_flat_10_000000_40x100.png
481
- - public/stylesheets/ui-lightness/images/ui-bg_glass_100_f6f6f6_1x400.png
482
- - public/stylesheets/ui-lightness/images/ui-bg_glass_100_fdf5ce_1x400.png
483
- - public/stylesheets/ui-lightness/images/ui-bg_glass_65_ffffff_1x400.png
484
- - public/stylesheets/ui-lightness/images/ui-bg_gloss-wave_35_f6a828_500x100.png
485
- - public/stylesheets/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png
486
- - public/stylesheets/ui-lightness/images/ui-bg_highlight-soft_75_ffe45c_1x100.png
487
- - public/stylesheets/ui-lightness/images/ui-icons_222222_256x240.png
488
- - public/stylesheets/ui-lightness/images/ui-icons_228ef1_256x240.png
489
- - public/stylesheets/ui-lightness/images/ui-icons_ef8c08_256x240.png
490
- - public/stylesheets/ui-lightness/images/ui-icons_ffd27a_256x240.png
491
- - public/stylesheets/ui-lightness/images/ui-icons_ffffff_256x240.png
492
- - public/stylesheets/ui-lightness/jquery-ui-1.8.2.custom.css
493
- - public/stylesheets/ui-lightness/jquery-ui-1.8.4.custom.css
494
- - public/test.html
495
321
  - wheels.gemspec
496
322
  has_rdoc: true
497
323
  homepage: http://github.com/tylergannon/wheels
@@ -1,51 +0,0 @@
1
- module Rails
2
- module Generators
3
- module Actions
4
-
5
- attr_accessor :stategies
6
- attr_accessor :recipes
7
- attr_reader :template_options
8
-
9
- def initialize_templater
10
- self.recipes = []
11
- @stategies = []
12
- @template_options = {}
13
- end
14
-
15
- def execute_stategies
16
- stategies.each {|stategy| stategy.call }
17
- end
18
-
19
- def recipe(name)
20
- recipes << name
21
- File.join File.dirname(__FILE__), 'recipes', "#{name}.rb"
22
- end
23
-
24
- # TODO: Refactor loading of files
25
-
26
- def load_snippet(name, group)
27
- path = File.expand_path name, snippet_path(group)
28
- File.read path
29
- end
30
-
31
- def load_template(name, group, match={})
32
- path = File.expand_path name, template_path(group)
33
- contents = File.read path
34
- match.each do |key, value|
35
- contents.gsub! "\%#{key.to_s}\%", value
36
- end
37
- contents
38
- end
39
-
40
- def snippet_path(name)
41
- File.join(File.dirname(__FILE__), 'snippets', name)
42
- end
43
-
44
- def template_path(name)
45
- File.join(File.dirname(__FILE__), 'templates', name)
46
- end
47
-
48
- end
49
- end
50
- end
51
-
@@ -1,51 +0,0 @@
1
- module Rails
2
- module Generators
3
- module Actions
4
-
5
- attr_accessor :stategies
6
- attr_accessor :recipes
7
- attr_reader :template_options
8
-
9
- def initialize_templater
10
- self.recipes = []
11
- @stategies = []
12
- @template_options = {}
13
- end
14
-
15
- def execute_stategies
16
- stategies.each {|stategy| stategy.call }
17
- end
18
-
19
- def recipe(name)
20
- recipes << name
21
- File.join File.dirname(__FILE__), 'recipes', "#{name}.rb"
22
- end
23
-
24
- # TODO: Refactor loading of files
25
-
26
- def load_snippet(name, group)
27
- path = File.expand_path name, snippet_path(group)
28
- File.read path
29
- end
30
-
31
- def load_template(name, group, match={})
32
- path = File.expand_path name, template_path(group)
33
- contents = File.read path
34
- match.each do |key, value|
35
- contents.gsub! "\%#{key.to_s}\%", value
36
- end
37
- contents
38
- end
39
-
40
- def snippet_path(name)
41
- File.join(File.dirname(__FILE__), 'snippets', name)
42
- end
43
-
44
- def template_path(name)
45
- File.join(File.dirname(__FILE__), 'templates', name)
46
- end
47
-
48
- end
49
- end
50
- end
51
-
@@ -1,11 +0,0 @@
1
-
2
- stategies << lambda do
3
- # migration_template 'db/migrate/add_fields_to_users.rb', 'db/migrate/add_fields_to_users'
4
- # sleep 1
5
-
6
- directory 'public', 'public'
7
- unless no? "Update views as well?"
8
- directory 'app/views', 'app/views'
9
- end
10
- end
11
-
@@ -1,9 +0,0 @@
1
- !!! 5
2
- %html
3
- %head
4
- = csrf_meta_tag
5
- /[if lt IE 9]
6
- = javascript_include_tag 'html5'
7
- %body
8
- = yield
9
- = javascript_include_tag :defaults
@@ -1,25 +0,0 @@
1
- class InstallGenerator < Rails::Generators::Base
2
- source_root File.expand_path('../../../../', __FILE__)
3
- desc "Installs files needed for App Template gem."
4
-
5
- # argument :scope, :required => false, :default => nil,
6
- # :desc => "The scope to copy views to"
7
-
8
- # class_option :template_engine, :type => :string, :aliases => "-t",
9
- # :desc => "Template engine for the views. Available options are 'erb' and 'haml'."
10
-
11
- def rule
12
- generate "devise:install"
13
- ["add_fields_to_users.rb",
14
- "create_blogs.rb",
15
- "create_galleries.rb",
16
- "create_images.rb",
17
- "create_profiles.rb",
18
- "create_roles.rb"
19
- ].each {|file| migration_template File.expand(file, 'db/migrate'), "db/migrate/#{file.split('.').first}"}
20
-
21
-
22
-
23
- end
24
- end
25
-
@@ -1,66 +0,0 @@
1
- gem 'acts-as-taggable-on'
2
- gem 'aws-s3'
3
- gem 'casey_jones'
4
- gem 'da_huangs_ruby_extensions'
5
- gem 'devise', '1.1.rc2'
6
- gem 'has_scope'
7
- gem 'inherited_resources', '1.1.2'
8
- gem 'paperclip'
9
- gem 'rails3-generators'
10
- gem 'RedCloth'
11
- gem 'will_paginate', "~> 3.0.pre2"
12
-
13
- route "root :to => \"blogs#index\""
14
-
15
-
16
- user_attr = %w(user_email user_password user_first_name user_last_name user_blog_title user_alias)
17
- for attrib in user_attr
18
- class_eval "attr_accessor :#{attrib}"
19
- send "#{attrib}=", ask("Please enter #{attrib}...")
20
- end
21
-
22
- class_eval do
23
- attr_accessor :bucket, :access_key_id, :secret_access_key
24
- end
25
- say ("If you have your S3 info handy, put it in now.")
26
- for attribute in %w(bucket access_key_id secret_access_key)
27
- self.send "#{attribute}=", ask("What's the #{attribute}?")
28
- end
29
-
30
-
31
- template 'config/amazon_s3.yml', 'config/amazon_s3.yml'
32
- run "git submodule add git://github.com/tylergannon/ckeditor.git public/ckeditor"
33
-
34
- directory 'public', 'public'
35
- run "git submodule add -b rails3 http://github.com/mislav/will_paginate.git vendor/plugins/will_paginate"
36
-
37
- stategies << lambda do
38
- generate "devise:install"
39
- generate "devise User"; sleep 1
40
- migration_template 'db/migrate/0010_add_fields_to_users.rb', 'db/migrate/add_fields_to_users'
41
- generate "acts_as_taggable_on:migration"; sleep 1
42
- migration_template 'db/migrate/0020_create_blogs.rb', 'db/migrate/create_blogs'; sleep 1
43
- migration_template 'db/migrate/0030_create_galleries.rb', 'db/migrate/create_galleries'; sleep 1
44
- migration_template 'db/migrate/0040_create_images.rb', 'db/migrate/create_images'; sleep 1
45
- migration_template 'db/migrate/0050_create_profiles.rb', 'db/migrate/create_profiles'; sleep 1
46
- migration_template 'db/migrate/0060_insert_admin_user_and_roles.rb', 'db/migrate/insert_admin_user_and_roles'; sleep 1
47
- migration_template "db/migrate/0070_create_pages.rb", "db/migrate/create_pages"; sleep 1
48
- migration_template "db/migrate/0080_create_forums.rb", "db/migrate/create_forums"; sleep 1
49
- migration_template "db/migrate/0090_create_discussions.rb", "db/migrate/create_discussions"; sleep 1
50
- migration_template "db/migrate/0100_create_forum_messages.rb", "db/migrate/create_forum_messages"; sleep 1
51
- migration_template "db/migrate/0110_create_access_control_entries.rb", "db/migrate/create_access_control_entries"; sleep 1
52
- migration_template "db/migrate/0120_create_attachments.rb", "db/migrate/create_attachments"; sleep 1
53
- migration_template 'db/migrate/0130_create_roles.rb', 'db/migrate/create_roles'; sleep 1
54
- migration_template "db/migrate/0140_create_feedbacks.rb", "db/migrate/create_feedbacks"; sleep 1
55
- migration_template "db/migrate/0150_create_external_links.rb", "db/migrate/create_external_links"; sleep 1
56
- migration_template "db/migrate/0160_create_sitemaps.rb", "db/migrate/create_sitemaps"; sleep 1
57
- migration_template "db/migrate/0170_create_menus.rb", "db/migrate/create_menus"; sleep 1
58
-
59
-
60
- plugin 'hassle', :git=>"http://github.com/pedro/hassle.git"
61
-
62
- # create wheels_resources first so that devise_for :users will appear first in routes.rb
63
- route "wheels_resources"
64
- route "devise_for :users"
65
- end
66
-
@@ -1,13 +0,0 @@
1
- class Ability
2
- include CanCan::Ability
3
-
4
- def initialize(user)
5
- can :manage, :all
6
- # if user.admin?
7
- # can :manage, :all
8
- # else
9
- # can :read, :all
10
- # end
11
- end
12
- end
13
-
@@ -1,19 +0,0 @@
1
- development:
2
- adapter: postgresql
3
- encoding: unicode
4
- database: %database_name%
5
- pool: 5
6
- username: %database_username%
7
- password: %database_password%
8
- host: localhost
9
- port: 5432
10
-
11
- # Warning: The database defined as "test" will be erased and
12
- # re-generated from your development database when you run "rake".
13
- # Do not set this db to the same as development or production.
14
- test:
15
- adapter: sqlite3
16
- database: db/test.sqlite3
17
- pool: 5
18
- timeout: 5000
19
-
@@ -1,8 +0,0 @@
1
- .ackrc
2
- .rvmrc
3
- config/database.yml
4
- config/mongoid.yml
5
- public/cache/
6
- public/stylesheets/compiled/
7
- public/system/*
8
- tmp/restart.txt
@@ -1,4 +0,0 @@
1
- Given /^an? (.+) exists with an? (.+) of "([^"]*)"$/ do |model, field, value|
2
- factory_name = model.gsub(' ', '_')
3
- Factory factory_name, field => value
4
- end
@@ -1,3 +0,0 @@
1
- Before do |scenario|
2
- Mongoid.master.collections.select {|c| c.name !~ /system/ }.each(&:drop)
3
- end
@@ -1,15 +0,0 @@
1
- require 'rails/generators'
2
- require 'rails/generators/migration'
3
- require 'rails/generators/generated_attribute'
4
- require 'rails/generators/active_record'
5
-
6
- class ViewsGenerator < Rails::Generators::Base
7
- include Rails::Generators::Migration
8
- source_root File.expand_path('../../../../', __FILE__)
9
- desc "Installs files needed for App Template gem."
10
-
11
- def copy_files
12
- directory 'app/views', 'app/views'
13
- end
14
- end
15
-
@@ -1,20 +0,0 @@
1
- Copyright (c) 2010 Kevin Faustino
2
-
3
- Permission is hereby granted, free of charge, to any person obtaining
4
- a copy of this software and associated documentation files (the
5
- "Software"), to deal in the Software without restriction, including
6
- without limitation the rights to use, copy, modify, merge, publish,
7
- distribute, sublicense, and/or sell copies of the Software, and to
8
- permit persons to whom the Software is furnished to do so, subject to
9
- the following conditions:
10
-
11
- The above copyright notice and this permission notice shall be
12
- included in all copies or substantial portions of the Software.
13
-
14
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
- NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
- LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
- OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
- WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -1,15 +0,0 @@
1
- require 'rails/generators'
2
- require 'rails/generators/migration'
3
- require 'rails/generators/generated_attribute'
4
- require 'rails/generators/active_record'
5
-
6
- class WheelsViewsGenerator < Rails::Generators::Base
7
- include Rails::Generators::Migration
8
- source_root File.expand_path('../../../../', __FILE__)
9
- desc "Installs files needed for App Template gem."
10
-
11
- def copy_files
12
- directory 'app/views', 'app/views'
13
- end
14
- end
15
-
data/lib/wheels/base.rb DELETED
@@ -1,7 +0,0 @@
1
- module InheritedResources
2
- class Base
3
-
4
- end
5
-
6
- end
7
-