wheels 0.1.10 → 0.1.11

Sign up to get free protection for your applications and to get access to all the features.
Files changed (298) hide show
  1. data/README +2 -0
  2. data/Rakefile +22 -22
  3. data/lib/{generators/core_extensions.rb → core_extensions.rb} +2 -2
  4. data/lib/generators/{recipes → wheels/recipes}/cancan.rb +0 -0
  5. data/lib/generators/{recipes → wheels/recipes}/cucumber.rb +0 -0
  6. data/lib/generators/{recipes → wheels/recipes}/default.rb +0 -0
  7. data/lib/generators/{recipes → wheels/recipes}/design.rb +0 -0
  8. data/lib/generators/{recipes → wheels/recipes}/devise.rb +0 -0
  9. data/lib/generators/{recipes → wheels/recipes}/factory_girl.rb +0 -0
  10. data/lib/generators/{recipes → wheels/recipes}/haml.rb +0 -0
  11. data/lib/generators/{recipes → wheels/recipes}/jquery.rb +0 -0
  12. data/lib/generators/{recipes → wheels/recipes}/mongoid.rb +0 -0
  13. data/lib/generators/{recipes → wheels/recipes}/postgresql.rb +0 -0
  14. data/lib/generators/wheels/recipes/public.rb +9 -0
  15. data/lib/generators/{recipes → wheels/recipes}/recipes.rb +0 -0
  16. data/lib/generators/{recipes → wheels/recipes}/remarkable.rb +0 -0
  17. data/lib/generators/{recipes → wheels/recipes}/rspec.rb +0 -0
  18. data/lib/generators/{recipes → wheels/recipes}/wheels.rb +0 -0
  19. data/lib/generators/{snippets → wheels/snippets}/cucumber/database_config +0 -0
  20. data/lib/generators/{templates → wheels/templates}/cancan/ability.rb +0 -0
  21. data/lib/generators/{templates → wheels/templates}/database/postgresql.yml +0 -0
  22. data/lib/generators/{templates → wheels/templates}/git/gitignore +0 -0
  23. data/lib/generators/{templates → wheels/templates}/haml/app/views/layouts/application.html.haml +0 -0
  24. data/lib/generators/{templates → wheels/templates}/mongoid/features/step_definitions/mongoid_steps.rb +0 -0
  25. data/lib/generators/{templates → wheels/templates}/mongoid/features/support/hooks.rb +0 -0
  26. data/lib/generators/wheels/wheels_generator.rb +0 -2
  27. data/lib/generators/wheels_update/core_extensions.3.rb +64 -0
  28. data/lib/generators/{recipes/wheels_update.rb → wheels_update/recipes/wheels.rb} +0 -0
  29. data/lib/generators/wheels_update/wheels_update_generator.rb +1 -1
  30. data/lib/wheels/base.rb +7 -0
  31. data/lib/wheels/routes.rb +2 -13
  32. data/test/functional/access_control_entries_controller_test.rb +49 -0
  33. data/test/functional/app_configs_controller_test.rb +49 -0
  34. data/test/functional/discussions_controller_test.rb +49 -0
  35. data/test/functional/external_links_controller_test.rb +49 -0
  36. data/test/functional/feedback_mailer_test.rb +8 -0
  37. data/test/functional/feedbacks_controller_test.rb +49 -0
  38. data/test/functional/forums_controller_test.rb +49 -0
  39. data/test/functional/layouts_controller_test.rb +49 -0
  40. data/test/functional/member_pages_controller_test.rb +49 -0
  41. data/test/functional/members_controller_test.rb +8 -0
  42. data/test/functional/menus_controller_test.rb +49 -0
  43. data/test/functional/pages_controller_test.rb +49 -0
  44. data/test/functional/product_revisions_controller_test.rb +49 -0
  45. data/test/performance/browsing_test.rb +9 -0
  46. data/test/test_helper.rb +13 -0
  47. data/test/unit/access_control_entry_test.rb +8 -0
  48. data/test/unit/app_config_test.rb +8 -0
  49. data/test/unit/attachment_test.rb +8 -0
  50. data/test/unit/discussion_test.rb +8 -0
  51. data/test/unit/external_link_test.rb +8 -0
  52. data/test/unit/feedback_test.rb +8 -0
  53. data/test/unit/forum_message_test.rb +8 -0
  54. data/test/unit/forum_test.rb +8 -0
  55. data/test/unit/helpers/access_control_entries_helper_test.rb +4 -0
  56. data/test/unit/helpers/app_configs_helper_test.rb +4 -0
  57. data/test/unit/helpers/discussions_helper_test.rb +4 -0
  58. data/test/unit/helpers/external_links_helper_test.rb +4 -0
  59. data/test/unit/helpers/feedbacks_helper_test.rb +4 -0
  60. data/test/unit/helpers/forums_helper_test.rb +4 -0
  61. data/test/unit/helpers/layouts_helper_test.rb +4 -0
  62. data/test/unit/helpers/member_pages_helper_test.rb +4 -0
  63. data/test/unit/helpers/members_helper_test.rb +4 -0
  64. data/test/unit/helpers/menus_helper_test.rb +4 -0
  65. data/test/unit/helpers/pages_helper_test.rb +4 -0
  66. data/test/unit/helpers/product_revisions_helper_test.rb +4 -0
  67. data/test/unit/layout_test.rb +8 -0
  68. data/test/unit/member_page_test.rb +8 -0
  69. data/test/unit/menu_test.rb +8 -0
  70. data/test/unit/page_revision_test.rb +8 -0
  71. data/test/unit/page_test.rb +8 -0
  72. data/test/unit/product_revision_test.rb +8 -0
  73. data/test/unit/settings_test.rb +8 -0
  74. data/test/unit/sitemap_test.rb +8 -0
  75. data/test/unit/user_test.rb +8 -0
  76. data/wheels.gemspec +122 -252
  77. metadata +124 -266
  78. data/LICENSE +0 -20
  79. data/README.rdoc +0 -17
  80. data/VERSION +0 -1
  81. data/app/controllers/access_control_entries_controller.rb +0 -20
  82. data/app/controllers/app_configs_controller.rb +0 -17
  83. data/app/controllers/application_controller.rb +0 -39
  84. data/app/controllers/attachments_controller.rb +0 -16
  85. data/app/controllers/blogs_controller.rb +0 -39
  86. data/app/controllers/discussions_controller.rb +0 -10
  87. data/app/controllers/external_links_controller.rb +0 -5
  88. data/app/controllers/feedbacks_controller.rb +0 -10
  89. data/app/controllers/forum_messages_controller.rb +0 -13
  90. data/app/controllers/forums_controller.rb +0 -2
  91. data/app/controllers/galleries_controller.rb +0 -60
  92. data/app/controllers/images_controller.rb +0 -30
  93. data/app/controllers/menus_controller.rb +0 -2
  94. data/app/controllers/pages_controller.rb +0 -71
  95. data/app/controllers/profiles_controller.rb +0 -16
  96. data/app/controllers/sitemaps_controller.rb +0 -135
  97. data/app/controllers/users_controller.rb +0 -28
  98. data/app/helpers/access_control_entries_helper.rb +0 -2
  99. data/app/helpers/app_configs_helper.rb +0 -2
  100. data/app/helpers/application_helper.rb +0 -36
  101. data/app/helpers/blogs_helper.rb +0 -10
  102. data/app/helpers/discussions_helper.rb +0 -2
  103. data/app/helpers/external_links_helper.rb +0 -2
  104. data/app/helpers/feedbacks_helper.rb +0 -2
  105. data/app/helpers/forums_helper.rb +0 -2
  106. data/app/helpers/menus_helper.rb +0 -2
  107. data/app/helpers/pages_helper.rb +0 -192
  108. data/app/helpers/sitemaps_helper.rb +0 -12
  109. data/app/mailers/feedback_mailer.rb +0 -10
  110. data/app/models/ability.rb +0 -43
  111. data/app/models/access_control_entry.rb +0 -100
  112. data/app/models/app_config.rb +0 -26
  113. data/app/models/attachment.rb +0 -10
  114. data/app/models/blog.rb +0 -10
  115. data/app/models/discussion.rb +0 -19
  116. data/app/models/external_link.rb +0 -4
  117. data/app/models/feedback.rb +0 -11
  118. data/app/models/forum.rb +0 -4
  119. data/app/models/forum_message.rb +0 -5
  120. data/app/models/gallery.rb +0 -5
  121. data/app/models/image.rb +0 -10
  122. data/app/models/menu.rb +0 -4
  123. data/app/models/page.rb +0 -7
  124. data/app/models/page_revision.rb +0 -2
  125. data/app/models/profile.rb +0 -12
  126. data/app/models/role.rb +0 -29
  127. data/app/models/s3_provider.rb +0 -84
  128. data/app/models/sitemap.rb +0 -171
  129. data/app/models/tagging.rb +0 -4
  130. data/app/models/user.rb +0 -69
  131. data/app/validators/email_validator.rb +0 -22
  132. data/app/views/access_control_entries/_form.html.haml +0 -33
  133. data/app/views/access_control_entries/_index.html.haml +0 -46
  134. data/app/views/access_control_entries/_show.html.haml +0 -12
  135. data/app/views/access_control_entries/create.js.haml +0 -3
  136. data/app/views/access_control_entries/destroy.js.haml +0 -3
  137. data/app/views/access_control_entries/edit.html.haml +0 -7
  138. data/app/views/access_control_entries/edit.js.haml +0 -3
  139. data/app/views/access_control_entries/index.html.haml +0 -2
  140. data/app/views/access_control_entries/index.js.haml +0 -3
  141. data/app/views/access_control_entries/new.html.haml +0 -5
  142. data/app/views/access_control_entries/new.js.haml +0 -3
  143. data/app/views/access_control_entries/show.html.haml +0 -2
  144. data/app/views/access_control_entries/show.js.haml +0 -4
  145. data/app/views/access_control_entries/update.js.haml +0 -3
  146. data/app/views/app_configs/_form.html.haml +0 -11
  147. data/app/views/app_configs/_index.html.haml +0 -6
  148. data/app/views/app_configs/_show.html.haml +0 -4
  149. data/app/views/app_configs/create.js.haml +0 -3
  150. data/app/views/app_configs/css.css.haml +0 -2
  151. data/app/views/app_configs/destroy.js.haml +0 -3
  152. data/app/views/app_configs/edit.html.haml +0 -2
  153. data/app/views/app_configs/edit.js.haml +0 -3
  154. data/app/views/app_configs/index.html.haml +0 -2
  155. data/app/views/app_configs/index.js.haml +0 -3
  156. data/app/views/app_configs/new.html.haml +0 -2
  157. data/app/views/app_configs/new.js.haml +0 -3
  158. data/app/views/app_configs/show.html.haml +0 -2
  159. data/app/views/app_configs/show.js.haml +0 -3
  160. data/app/views/app_configs/update.js.haml +0 -3
  161. data/app/views/attachments/_form.html.haml +0 -26
  162. data/app/views/attachments/_index.html.haml +0 -9
  163. data/app/views/attachments/_show.html.haml +0 -6
  164. data/app/views/attachments/_uploadify.html.erb +0 -12
  165. data/app/views/attachments/create.js.haml +0 -3
  166. data/app/views/attachments/destroy.js.haml +0 -3
  167. data/app/views/attachments/edit.js.haml +0 -3
  168. data/app/views/attachments/index.html.haml +0 -2
  169. data/app/views/attachments/index.js.haml +0 -3
  170. data/app/views/attachments/new.html.haml +0 -3
  171. data/app/views/attachments/new.js.haml +0 -3
  172. data/app/views/attachments/show.html.haml +0 -2
  173. data/app/views/attachments/show.js.haml +0 -3
  174. data/app/views/attachments/update.js.haml +0 -3
  175. data/app/views/blogs/_form.html.haml +0 -22
  176. data/app/views/blogs/edit.html.haml +0 -8
  177. data/app/views/blogs/index.html.haml +0 -21
  178. data/app/views/blogs/index.xml.builder +0 -27
  179. data/app/views/blogs/new.html.haml +0 -6
  180. data/app/views/blogs/show.html.haml +0 -25
  181. data/app/views/discussions/_form.html.haml +0 -16
  182. data/app/views/discussions/edit.html.haml +0 -7
  183. data/app/views/discussions/index.html.haml +0 -10
  184. data/app/views/discussions/new.html.haml +0 -25
  185. data/app/views/discussions/show.html.haml +0 -16
  186. data/app/views/external_links/_fields_for.html.haml +0 -2
  187. data/app/views/external_links/_form.html.haml +0 -18
  188. data/app/views/external_links/_show.html.haml +0 -7
  189. data/app/views/external_links/create.js.haml +0 -3
  190. data/app/views/external_links/destroy.js.haml +0 -3
  191. data/app/views/external_links/edit.html.haml +0 -7
  192. data/app/views/external_links/edit.js.haml +0 -3
  193. data/app/views/external_links/index.html.haml +0 -23
  194. data/app/views/external_links/index.js.haml +0 -3
  195. data/app/views/external_links/new.html.haml +0 -5
  196. data/app/views/external_links/new.js.haml +0 -3
  197. data/app/views/external_links/show.html.haml +0 -2
  198. data/app/views/external_links/show.js.haml +0 -3
  199. data/app/views/external_links/update.js.haml +0 -3
  200. data/app/views/feedback_mailer/submit_feedback.html.haml +0 -22
  201. data/app/views/feedbacks/_form.html.haml +0 -37
  202. data/app/views/feedbacks/index.html.haml +0 -27
  203. data/app/views/feedbacks/new.html.haml +0 -6
  204. data/app/views/feedbacks/show.html.haml +0 -19
  205. data/app/views/forum_messages/_form.html.haml +0 -6
  206. data/app/views/forum_messages/index.html.haml +0 -11
  207. data/app/views/forum_messages/new.html.haml +0 -5
  208. data/app/views/forums/_form.html.haml +0 -13
  209. data/app/views/forums/edit.html.haml +0 -7
  210. data/app/views/forums/index.html.haml +0 -23
  211. data/app/views/forums/new.html.haml +0 -5
  212. data/app/views/forums/show.html.haml +0 -20
  213. data/app/views/galleries/_form.html.haml +0 -30
  214. data/app/views/galleries/_show.html.haml +0 -21
  215. data/app/views/galleries/edit.html.haml +0 -7
  216. data/app/views/galleries/index.html.haml +0 -15
  217. data/app/views/galleries/new.html.haml +0 -5
  218. data/app/views/galleries/show.html.haml +0 -4
  219. data/app/views/images/_form.html.haml +0 -10
  220. data/app/views/images/create.js.haml +0 -3
  221. data/app/views/images/destroy.js.haml +0 -3
  222. data/app/views/images/edit.html.haml +0 -7
  223. data/app/views/images/edit.js.haml +0 -3
  224. data/app/views/images/index.html.haml +0 -17
  225. data/app/views/images/index.js.haml +0 -3
  226. data/app/views/images/new.html.haml +0 -5
  227. data/app/views/images/new.js.haml +0 -3
  228. data/app/views/images/show.html.haml +0 -5
  229. data/app/views/images/show.js.haml +0 -3
  230. data/app/views/images/update.js.haml +0 -3
  231. data/app/views/layouts/application.html.haml +0 -59
  232. data/app/views/layouts/bare.html.haml +0 -2
  233. data/app/views/layouts/image_dialog.html.haml +0 -18
  234. data/app/views/loadbehind/_destroy.js.haml +0 -3
  235. data/app/views/loadbehind/_edit.js.haml +0 -4
  236. data/app/views/loadbehind/_errors.html.haml +0 -5
  237. data/app/views/loadbehind/_growl_template.html.haml +0 -65
  238. data/app/views/loadbehind/_show_box.html.haml +0 -9
  239. data/app/views/loadbehind/_view.js.haml +0 -4
  240. data/app/views/loadbehind/growl.js.haml +0 -4
  241. data/app/views/loadbehind/index.js.haml +0 -4
  242. data/app/views/menus/_form.html.haml +0 -13
  243. data/app/views/menus/edit.html.haml +0 -7
  244. data/app/views/menus/index.html.haml +0 -19
  245. data/app/views/menus/new.html.haml +0 -5
  246. data/app/views/menus/show.html.haml +0 -7
  247. data/app/views/pages/_child_pages_links.html.haml +0 -5
  248. data/app/views/pages/_control_panel.html.haml +0 -15
  249. data/app/views/pages/_form.html.haml +0 -27
  250. data/app/views/pages/_form_fields.html.haml +0 -23
  251. data/app/views/pages/_show.html.haml +0 -4
  252. data/app/views/pages/_show_attachment.html.haml +0 -6
  253. data/app/views/pages/_show_small.html.haml +0 -2
  254. data/app/views/pages/create.js.haml +0 -3
  255. data/app/views/pages/destroy.js.haml +0 -3
  256. data/app/views/pages/edit.html.haml +0 -16
  257. data/app/views/pages/edit.js.haml +0 -4
  258. data/app/views/pages/index.html.haml +0 -19
  259. data/app/views/pages/index.js.haml +0 -3
  260. data/app/views/pages/new.html.haml +0 -5
  261. data/app/views/pages/new.js.haml +0 -3
  262. data/app/views/pages/show.html.haml +0 -20
  263. data/app/views/pages/show.js.haml +0 -3
  264. data/app/views/pages/update.js.haml +0 -3
  265. data/app/views/profiles/_form.html.haml +0 -26
  266. data/app/views/profiles/edit.html.haml +0 -7
  267. data/app/views/profiles/index.html.haml +0 -25
  268. data/app/views/profiles/new.html.haml +0 -5
  269. data/app/views/profiles/show.html.haml +0 -21
  270. data/app/views/sitemaps/edit.html.haml +0 -12
  271. data/app/views/sitemaps/edit.js.erb +0 -0
  272. data/app/views/sitemaps/index.html.haml +0 -83
  273. data/app/views/sitemaps/index.json.erb +0 -23
  274. data/app/views/sitemaps/new.html.haml +0 -8
  275. data/app/views/sitemaps/new.js.erb +0 -0
  276. data/app/views/users/edit.html.haml +0 -45
  277. data/app/views/users/index.html.haml +0 -19
  278. data/config/amazon_s3.yml +0 -15
  279. data/db/migrate/0000_devise_create_users.rb +0 -26
  280. data/db/migrate/0010_add_fields_to_users.rb +0 -28
  281. data/db/migrate/0020_create_blogs.rb +0 -16
  282. data/db/migrate/0030_create_galleries.rb +0 -15
  283. data/db/migrate/0040_create_images.rb +0 -17
  284. data/db/migrate/0050_create_profiles.rb +0 -24
  285. data/db/migrate/0060_insert_admin_user_and_roles.rb +0 -24
  286. data/db/migrate/0070_create_pages.rb +0 -16
  287. data/db/migrate/0080_create_forums.rb +0 -13
  288. data/db/migrate/0090_create_discussions.rb +0 -14
  289. data/db/migrate/0100_create_forum_messages.rb +0 -15
  290. data/db/migrate/0110_create_access_control_entries.rb +0 -23
  291. data/db/migrate/0120_create_attachments.rb +0 -17
  292. data/db/migrate/0130_create_roles.rb +0 -13
  293. data/db/migrate/0140_create_feedbacks.rb +0 -20
  294. data/db/migrate/0150_create_external_links.rb +0 -14
  295. data/db/migrate/0160_create_sitemaps.rb +0 -17
  296. data/db/migrate/0170_create_menus.rb +0 -14
  297. data/db/migrate/0180_acts_as_taggable_on_migration.rb +0 -28
  298. data/init.rb +0 -2
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 1
8
- - 10
9
- version: 0.1.10
8
+ - 11
9
+ version: 0.1.11
10
10
  platform: ruby
11
11
  authors:
12
12
  - Tyler Gannon
@@ -16,282 +16,50 @@ cert_chain: []
16
16
 
17
17
  date: 2010-09-13 00:00:00 -07:00
18
18
  default_executable:
19
- dependencies:
20
- - !ruby/object:Gem::Dependency
21
- name: thoughtbot-shoulda
22
- prerelease: false
23
- requirement: &id001 !ruby/object:Gem::Requirement
24
- none: false
25
- requirements:
26
- - - ">="
27
- - !ruby/object:Gem::Version
28
- segments:
29
- - 0
30
- version: "0"
31
- type: :development
32
- version_requirements: *id001
33
- description: Call rails generate wheels.
34
- email: tgannon@gmail.com
19
+ dependencies: []
20
+
21
+ description: some extra stuff for rails apps
22
+ email: t--g__a--nnon@gmail.com
35
23
  executables: []
36
24
 
37
25
  extensions: []
38
26
 
39
27
  extra_rdoc_files:
40
- - README.rdoc
28
+ - README
41
29
  files:
42
30
  - Gemfile
43
- - LICENSE
44
- - README.rdoc
31
+ - README
45
32
  - Rakefile
46
- - VERSION
47
- - app/controllers/access_control_entries_controller.rb
48
- - app/controllers/app_configs_controller.rb
49
- - app/controllers/application_controller.rb
50
- - app/controllers/attachments_controller.rb
51
- - app/controllers/blogs_controller.rb
52
- - app/controllers/discussions_controller.rb
53
- - app/controllers/external_links_controller.rb
54
- - app/controllers/feedbacks_controller.rb
55
- - app/controllers/forum_messages_controller.rb
56
- - app/controllers/forums_controller.rb
57
- - app/controllers/galleries_controller.rb
58
- - app/controllers/images_controller.rb
59
- - app/controllers/menus_controller.rb
60
- - app/controllers/pages_controller.rb
61
- - app/controllers/profiles_controller.rb
62
- - app/controllers/sitemaps_controller.rb
63
- - app/controllers/users_controller.rb
64
- - app/helpers/access_control_entries_helper.rb
65
- - app/helpers/app_configs_helper.rb
66
- - app/helpers/application_helper.rb
67
- - app/helpers/blogs_helper.rb
68
- - app/helpers/discussions_helper.rb
69
- - app/helpers/external_links_helper.rb
70
- - app/helpers/feedbacks_helper.rb
71
- - app/helpers/forums_helper.rb
72
- - app/helpers/menus_helper.rb
73
- - app/helpers/pages_helper.rb
74
- - app/helpers/sitemaps_helper.rb
75
- - app/mailers/feedback_mailer.rb
76
- - app/models/ability.rb
77
- - app/models/access_control_entry.rb
78
- - app/models/app_config.rb
79
- - app/models/attachment.rb
80
- - app/models/blog.rb
81
- - app/models/discussion.rb
82
- - app/models/external_link.rb
83
- - app/models/feedback.rb
84
- - app/models/forum.rb
85
- - app/models/forum_message.rb
86
- - app/models/gallery.rb
87
- - app/models/image.rb
88
- - app/models/menu.rb
89
- - app/models/page.rb
90
- - app/models/page_revision.rb
91
- - app/models/profile.rb
92
- - app/models/role.rb
93
- - app/models/s3_provider.rb
94
- - app/models/sitemap.rb
95
- - app/models/tagging.rb
96
- - app/models/user.rb
97
- - app/validators/email_validator.rb
98
- - app/views/access_control_entries/_form.html.haml
99
- - app/views/access_control_entries/_index.html.haml
100
- - app/views/access_control_entries/_show.html.haml
101
- - app/views/access_control_entries/create.js.haml
102
- - app/views/access_control_entries/destroy.js.haml
103
- - app/views/access_control_entries/edit.html.haml
104
- - app/views/access_control_entries/edit.js.haml
105
- - app/views/access_control_entries/index.html.haml
106
- - app/views/access_control_entries/index.js.haml
107
- - app/views/access_control_entries/new.html.haml
108
- - app/views/access_control_entries/new.js.haml
109
- - app/views/access_control_entries/show.html.haml
110
- - app/views/access_control_entries/show.js.haml
111
- - app/views/access_control_entries/update.js.haml
112
- - app/views/app_configs/_form.html.haml
113
- - app/views/app_configs/_index.html.haml
114
- - app/views/app_configs/_show.html.haml
115
- - app/views/app_configs/create.js.haml
116
- - app/views/app_configs/css.css.haml
117
- - app/views/app_configs/destroy.js.haml
118
- - app/views/app_configs/edit.html.haml
119
- - app/views/app_configs/edit.js.haml
120
- - app/views/app_configs/index.html.haml
121
- - app/views/app_configs/index.js.haml
122
- - app/views/app_configs/new.html.haml
123
- - app/views/app_configs/new.js.haml
124
- - app/views/app_configs/show.html.haml
125
- - app/views/app_configs/show.js.haml
126
- - app/views/app_configs/update.js.haml
127
- - app/views/attachments/_form.html.haml
128
- - app/views/attachments/_index.html.haml
129
- - app/views/attachments/_show.html.haml
130
- - app/views/attachments/_uploadify.html.erb
131
- - app/views/attachments/create.js.haml
132
- - app/views/attachments/destroy.js.haml
133
- - app/views/attachments/edit.js.haml
134
- - app/views/attachments/index.html.haml
135
- - app/views/attachments/index.js.haml
136
- - app/views/attachments/new.html.haml
137
- - app/views/attachments/new.js.haml
138
- - app/views/attachments/show.html.haml
139
- - app/views/attachments/show.js.haml
140
- - app/views/attachments/update.js.haml
141
- - app/views/blogs/_form.html.haml
142
- - app/views/blogs/edit.html.haml
143
- - app/views/blogs/index.html.haml
144
- - app/views/blogs/index.xml.builder
145
- - app/views/blogs/new.html.haml
146
- - app/views/blogs/show.html.haml
147
- - app/views/discussions/_form.html.haml
148
- - app/views/discussions/edit.html.haml
149
- - app/views/discussions/index.html.haml
150
- - app/views/discussions/new.html.haml
151
- - app/views/discussions/show.html.haml
152
- - app/views/external_links/_fields_for.html.haml
153
- - app/views/external_links/_form.html.haml
154
- - app/views/external_links/_show.html.haml
155
- - app/views/external_links/create.js.haml
156
- - app/views/external_links/destroy.js.haml
157
- - app/views/external_links/edit.html.haml
158
- - app/views/external_links/edit.js.haml
159
- - app/views/external_links/index.html.haml
160
- - app/views/external_links/index.js.haml
161
- - app/views/external_links/new.html.haml
162
- - app/views/external_links/new.js.haml
163
- - app/views/external_links/show.html.haml
164
- - app/views/external_links/show.js.haml
165
- - app/views/external_links/update.js.haml
166
- - app/views/feedback_mailer/submit_feedback.html.haml
167
- - app/views/feedbacks/_form.html.haml
168
- - app/views/feedbacks/index.html.haml
169
- - app/views/feedbacks/new.html.haml
170
- - app/views/feedbacks/show.html.haml
171
- - app/views/forum_messages/_form.html.haml
172
- - app/views/forum_messages/index.html.haml
173
- - app/views/forum_messages/new.html.haml
174
- - app/views/forums/_form.html.haml
175
- - app/views/forums/edit.html.haml
176
- - app/views/forums/index.html.haml
177
- - app/views/forums/new.html.haml
178
- - app/views/forums/show.html.haml
179
- - app/views/galleries/_form.html.haml
180
- - app/views/galleries/_show.html.haml
181
- - app/views/galleries/edit.html.haml
182
- - app/views/galleries/index.html.haml
183
- - app/views/galleries/new.html.haml
184
- - app/views/galleries/show.html.haml
185
- - app/views/images/_form.html.haml
186
- - app/views/images/create.js.haml
187
- - app/views/images/destroy.js.haml
188
- - app/views/images/edit.html.haml
189
- - app/views/images/edit.js.haml
190
- - app/views/images/index.html.haml
191
- - app/views/images/index.js.haml
192
- - app/views/images/new.html.haml
193
- - app/views/images/new.js.haml
194
- - app/views/images/show.html.haml
195
- - app/views/images/show.js.haml
196
- - app/views/images/update.js.haml
197
- - app/views/layouts/application.html.haml
198
- - app/views/layouts/bare.html.haml
199
- - app/views/layouts/image_dialog.html.haml
200
- - app/views/loadbehind/_destroy.js.haml
201
- - app/views/loadbehind/_edit.js.haml
202
- - app/views/loadbehind/_errors.html.haml
203
- - app/views/loadbehind/_growl_template.html.haml
204
- - app/views/loadbehind/_show_box.html.haml
205
- - app/views/loadbehind/_view.js.haml
206
- - app/views/loadbehind/growl.js.haml
207
- - app/views/loadbehind/index.js.haml
208
- - app/views/menus/_form.html.haml
209
- - app/views/menus/edit.html.haml
210
- - app/views/menus/index.html.haml
211
- - app/views/menus/new.html.haml
212
- - app/views/menus/show.html.haml
213
- - app/views/pages/_child_pages_links.html.haml
214
- - app/views/pages/_control_panel.html.haml
215
- - app/views/pages/_form.html.haml
216
- - app/views/pages/_form_fields.html.haml
217
- - app/views/pages/_show.html.haml
218
- - app/views/pages/_show_attachment.html.haml
219
- - app/views/pages/_show_small.html.haml
220
- - app/views/pages/create.js.haml
221
- - app/views/pages/destroy.js.haml
222
- - app/views/pages/edit.html.haml
223
- - app/views/pages/edit.js.haml
224
- - app/views/pages/index.html.haml
225
- - app/views/pages/index.js.haml
226
- - app/views/pages/new.html.haml
227
- - app/views/pages/new.js.haml
228
- - app/views/pages/show.html.haml
229
- - app/views/pages/show.js.haml
230
- - app/views/pages/update.js.haml
231
- - app/views/profiles/_form.html.haml
232
- - app/views/profiles/edit.html.haml
233
- - app/views/profiles/index.html.haml
234
- - app/views/profiles/new.html.haml
235
- - app/views/profiles/show.html.haml
236
- - app/views/sitemaps/edit.html.haml
237
- - app/views/sitemaps/edit.js.erb
238
- - app/views/sitemaps/index.html.haml
239
- - app/views/sitemaps/index.json.erb
240
- - app/views/sitemaps/new.html.haml
241
- - app/views/sitemaps/new.js.erb
242
- - app/views/users/edit.html.haml
243
- - app/views/users/index.html.haml
244
- - config/amazon_s3.yml
245
- - db/migrate/0000_devise_create_users.rb
246
- - db/migrate/0010_add_fields_to_users.rb
247
- - db/migrate/0020_create_blogs.rb
248
- - db/migrate/0030_create_galleries.rb
249
- - db/migrate/0040_create_images.rb
250
- - db/migrate/0050_create_profiles.rb
251
- - db/migrate/0060_insert_admin_user_and_roles.rb
252
- - db/migrate/0070_create_pages.rb
253
- - db/migrate/0080_create_forums.rb
254
- - db/migrate/0090_create_discussions.rb
255
- - db/migrate/0100_create_forum_messages.rb
256
- - db/migrate/0110_create_access_control_entries.rb
257
- - db/migrate/0120_create_attachments.rb
258
- - db/migrate/0130_create_roles.rb
259
- - db/migrate/0140_create_feedbacks.rb
260
- - db/migrate/0150_create_external_links.rb
261
- - db/migrate/0160_create_sitemaps.rb
262
- - db/migrate/0170_create_menus.rb
263
- - db/migrate/0180_acts_as_taggable_on_migration.rb
264
- - init.rb
33
+ - lib/core_extensions.rb
265
34
  - lib/development_mail_interceptor.rb
266
35
  - lib/generators/app_layout/LICENCE
267
36
  - lib/generators/app_layout/USAGE
268
37
  - lib/generators/app_layout/app_layout_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
292
38
  - lib/generators/wheels/LICENCE
293
39
  - lib/generators/wheels/USAGE
40
+ - lib/generators/wheels/recipes/cancan.rb
41
+ - lib/generators/wheels/recipes/cucumber.rb
42
+ - lib/generators/wheels/recipes/default.rb
43
+ - lib/generators/wheels/recipes/design.rb
44
+ - lib/generators/wheels/recipes/devise.rb
45
+ - lib/generators/wheels/recipes/factory_girl.rb
46
+ - lib/generators/wheels/recipes/haml.rb
47
+ - lib/generators/wheels/recipes/jquery.rb
48
+ - lib/generators/wheels/recipes/mongoid.rb
49
+ - lib/generators/wheels/recipes/postgresql.rb
50
+ - lib/generators/wheels/recipes/public.rb
51
+ - lib/generators/wheels/recipes/recipes.rb
52
+ - lib/generators/wheels/recipes/remarkable.rb
53
+ - lib/generators/wheels/recipes/rspec.rb
54
+ - lib/generators/wheels/recipes/wheels.rb
55
+ - lib/generators/wheels/snippets/cucumber/database_config
294
56
  - lib/generators/wheels/templater.rb
57
+ - lib/generators/wheels/templates/cancan/ability.rb
58
+ - lib/generators/wheels/templates/database/postgresql.yml
59
+ - lib/generators/wheels/templates/git/gitignore
60
+ - lib/generators/wheels/templates/haml/app/views/layouts/application.html.haml
61
+ - lib/generators/wheels/templates/mongoid/features/step_definitions/mongoid_steps.rb
62
+ - lib/generators/wheels/templates/mongoid/features/support/hooks.rb
295
63
  - lib/generators/wheels/wheels_generator.rb
296
64
  - lib/generators/wheels_checkout_assets/USAGE
297
65
  - lib/generators/wheels_checkout_assets/wheels_checkout_assets_generator.rb
@@ -303,6 +71,8 @@ files:
303
71
  - lib/generators/wheels_model/wheels_model_generator.rb
304
72
  - lib/generators/wheels_update/LICENCE
305
73
  - lib/generators/wheels_update/USAGE
74
+ - lib/generators/wheels_update/core_extensions.3.rb
75
+ - lib/generators/wheels_update/recipes/wheels.rb
306
76
  - lib/generators/wheels_update/wheels_update_generator.rb
307
77
  - lib/generators/wheels_view/USAGE
308
78
  - lib/generators/wheels_view/wheels_view_generator.rb
@@ -311,6 +81,7 @@ files:
311
81
  - lib/wheels/action_view_helper_extensions.rb
312
82
  - lib/wheels/active_record_extensions.rb
313
83
  - lib/wheels/active_record_user_extensions.rb
84
+ - lib/wheels/base.rb
314
85
  - lib/wheels/flash_session_cookie_middleware.rb
315
86
  - lib/wheels/paperclip_interpolations.rb
316
87
  - lib/wheels/password_validators.rb
@@ -318,6 +89,50 @@ files:
318
89
  - lib/wheels/s3login_provider.rb
319
90
  - lib/wheels/user.rb
320
91
  - lib/wheels/wheels_engine.rb
92
+ - test/functional/access_control_entries_controller_test.rb
93
+ - test/functional/app_configs_controller_test.rb
94
+ - test/functional/discussions_controller_test.rb
95
+ - test/functional/external_links_controller_test.rb
96
+ - test/functional/feedback_mailer_test.rb
97
+ - test/functional/feedbacks_controller_test.rb
98
+ - test/functional/forums_controller_test.rb
99
+ - test/functional/layouts_controller_test.rb
100
+ - test/functional/member_pages_controller_test.rb
101
+ - test/functional/members_controller_test.rb
102
+ - test/functional/menus_controller_test.rb
103
+ - test/functional/pages_controller_test.rb
104
+ - test/functional/product_revisions_controller_test.rb
105
+ - test/performance/browsing_test.rb
106
+ - test/test_helper.rb
107
+ - test/unit/access_control_entry_test.rb
108
+ - test/unit/app_config_test.rb
109
+ - test/unit/attachment_test.rb
110
+ - test/unit/discussion_test.rb
111
+ - test/unit/external_link_test.rb
112
+ - test/unit/feedback_test.rb
113
+ - test/unit/forum_message_test.rb
114
+ - test/unit/forum_test.rb
115
+ - test/unit/helpers/access_control_entries_helper_test.rb
116
+ - test/unit/helpers/app_configs_helper_test.rb
117
+ - test/unit/helpers/discussions_helper_test.rb
118
+ - test/unit/helpers/external_links_helper_test.rb
119
+ - test/unit/helpers/feedbacks_helper_test.rb
120
+ - test/unit/helpers/forums_helper_test.rb
121
+ - test/unit/helpers/layouts_helper_test.rb
122
+ - test/unit/helpers/member_pages_helper_test.rb
123
+ - test/unit/helpers/members_helper_test.rb
124
+ - test/unit/helpers/menus_helper_test.rb
125
+ - test/unit/helpers/pages_helper_test.rb
126
+ - test/unit/helpers/product_revisions_helper_test.rb
127
+ - test/unit/layout_test.rb
128
+ - test/unit/member_page_test.rb
129
+ - test/unit/menu_test.rb
130
+ - test/unit/page_revision_test.rb
131
+ - test/unit/page_test.rb
132
+ - test/unit/product_revision_test.rb
133
+ - test/unit/settings_test.rb
134
+ - test/unit/sitemap_test.rb
135
+ - test/unit/user_test.rb
321
136
  - wheels.gemspec
322
137
  has_rdoc: true
323
138
  homepage: http://github.com/tylergannon/wheels
@@ -350,6 +165,49 @@ rubyforge_project:
350
165
  rubygems_version: 1.3.7
351
166
  signing_key:
352
167
  specification_version: 3
353
- summary: Generator builds a web site with blog, user profile, etc.
354
- test_files: []
355
-
168
+ summary: My favorite rails goodies all in one
169
+ test_files:
170
+ - test/performance/browsing_test.rb
171
+ - test/unit/product_revision_test.rb
172
+ - test/unit/helpers/pages_helper_test.rb
173
+ - test/unit/helpers/layouts_helper_test.rb
174
+ - test/unit/helpers/feedbacks_helper_test.rb
175
+ - test/unit/helpers/member_pages_helper_test.rb
176
+ - test/unit/helpers/product_revisions_helper_test.rb
177
+ - test/unit/helpers/menus_helper_test.rb
178
+ - test/unit/helpers/app_configs_helper_test.rb
179
+ - test/unit/helpers/external_links_helper_test.rb
180
+ - test/unit/helpers/access_control_entries_helper_test.rb
181
+ - test/unit/helpers/members_helper_test.rb
182
+ - test/unit/helpers/forums_helper_test.rb
183
+ - test/unit/helpers/discussions_helper_test.rb
184
+ - test/unit/sitemap_test.rb
185
+ - test/unit/page_revision_test.rb
186
+ - test/unit/discussion_test.rb
187
+ - test/unit/feedback_test.rb
188
+ - test/unit/access_control_entry_test.rb
189
+ - test/unit/layout_test.rb
190
+ - test/unit/page_test.rb
191
+ - test/unit/user_test.rb
192
+ - test/unit/menu_test.rb
193
+ - test/unit/external_link_test.rb
194
+ - test/unit/app_config_test.rb
195
+ - test/unit/forum_message_test.rb
196
+ - test/unit/settings_test.rb
197
+ - test/unit/forum_test.rb
198
+ - test/unit/attachment_test.rb
199
+ - test/unit/member_page_test.rb
200
+ - test/functional/forums_controller_test.rb
201
+ - test/functional/pages_controller_test.rb
202
+ - test/functional/member_pages_controller_test.rb
203
+ - test/functional/menus_controller_test.rb
204
+ - test/functional/external_links_controller_test.rb
205
+ - test/functional/feedbacks_controller_test.rb
206
+ - test/functional/product_revisions_controller_test.rb
207
+ - test/functional/feedback_mailer_test.rb
208
+ - test/functional/layouts_controller_test.rb
209
+ - test/functional/discussions_controller_test.rb
210
+ - test/functional/access_control_entries_controller_test.rb
211
+ - test/functional/members_controller_test.rb
212
+ - test/functional/app_configs_controller_test.rb
213
+ - test/test_helper.rb
data/LICENSE DELETED
@@ -1,20 +0,0 @@
1
- Copyright (c) 2009 Tyler Gannon
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.
data/README.rdoc DELETED
@@ -1,17 +0,0 @@
1
- = wheels
2
-
3
- Description goes here.
4
-
5
- == Note on Patches/Pull Requests
6
-
7
- * Fork the project.
8
- * Make your feature addition or bug fix.
9
- * Add tests for it. This is important so I don't break it in a
10
- future version unintentionally.
11
- * Commit, do not mess with rakefile, version, or history.
12
- (if you want to have your own version, that is fine but bump version in a commit by itself I can ignore when I pull)
13
- * Send me a pull request. Bonus points for topic branches.
14
-
15
- == Copyright
16
-
17
- Copyright (c) 2010 Tyler Gannon. See LICENSE for details.
data/VERSION DELETED
@@ -1 +0,0 @@
1
- 0.1.10
@@ -1,20 +0,0 @@
1
- class AccessControlEntriesController < InheritedResources::Base
2
- ajax_loading
3
- before_filter :authenticate_user!
4
- belongs_to :page, :forum, :user, :role, :polymorphic => true
5
- has_scope :by_role, :using=>[:role_id]
6
- has_scope :by_class, :using=>[:class]
7
- respond_to :html, :js
8
-
9
- def new_ace
10
- a = AccessControlEntry.new
11
- a.user_id = params[:user_id]
12
- a.role_id = params[:role_id]
13
- a.resource_type = params[:page_id] ? "Page" : (params[:forum_id] ? "Forum" : nil)
14
- a.options[:id] = params[:page_id] || params[:forum_id]
15
- return a
16
- end
17
-
18
- helper_method :new_ace
19
- end
20
-
@@ -1,17 +0,0 @@
1
- class AppConfigsController < InheritedResources::Base
2
- respond_to :html, :js
3
- respond_to :css, :only=>:css
4
- ajax_loading
5
-
6
- def css
7
- @stylesheet = AppConfig["stylesheet"]
8
- if params[:page_id]
9
- page = Page.find(params[:page_id])
10
- @stylesheet += '\n/* Page-level styles' + page.stylesheet
11
- end
12
- respond_with @stylesheet do |format|
13
- format.css{render :layout=>'bare'}
14
- end
15
- end
16
- end
17
-
@@ -1,39 +0,0 @@
1
- class ApplicationController < ActionController::Base
2
- protect_from_forgery
3
- def include_jqueryui
4
- content_for :head do
5
- stylesheet_link_tag("ui-lightness/jquery-ui-1.8.4.custom")
6
- javascript_include_tag("jquery-ui")
7
- end
8
- end
9
-
10
- load_main_menu
11
-
12
-
13
- def self.resource_attributes(*parameters)
14
- for action in [:show, :new, :edit, :create]
15
- a = "def #{action};" + ([:new, :create].include?(action) ?
16
- "@#{resource_class.name.underscore} = resource_class.new;" : ""
17
- ) +
18
- parameters.map{|p|
19
- if p.class == Hash
20
- meth, prm = [p.to_a.flatten[0], p.to_a.flatten[1]]
21
- else
22
- meth, prm = [p, p]
23
- end
24
- meth = meth.to_s + "="
25
-
26
- if prm == :current_user
27
- val = "current_user"
28
- else
29
- val = "params[:#{prm}]"
30
- end
31
- "resource.send(\"#{meth}\", #{val})"
32
- }.join(";") +
33
- ";#{action}!;end;"
34
- class_eval a
35
- puts a
36
- end
37
- end
38
- end
39
-
@@ -1,16 +0,0 @@
1
- class AttachmentsController < InheritedResources::Base
2
- respond_to :html, :js
3
- belongs_to :page
4
- before_filter :authenticate_user!
5
- ajax_loading
6
-
7
- def index
8
- index! do |format|
9
- @attachment = @page.attachments.build
10
- end
11
- end
12
- def create
13
- create! {collection_url}
14
- end
15
- end
16
-
@@ -1,39 +0,0 @@
1
- class BlogsController < InheritedResources::Base
2
- before_filter :load_maybe
3
- belongs_to :user, :optional => true
4
- has_scope :tagged_with, :as => :tag
5
- helper_method :tags
6
- respond_to :html, :xml
7
-
8
-
9
- def load_maybe
10
- unless params[:user_id]
11
- @user = (current_user || User.root)
12
- end
13
- end
14
-
15
- def parent
16
- @user ||= User.find(params[:user_id])
17
- end
18
-
19
- def tags
20
- @tags ||= Blog.where(:user_id=>parent.id).tag_counts.sort{|t, u| t.count <=> u.count}
21
- end
22
-
23
- def collection
24
- @blogs ||= Blog.where(:user_id=>parent.id).
25
- paginate(:page => params[:page], :order => 'created_at DESC' )
26
- end
27
-
28
- before_filter :authenticate_user!, :except=>[:show, :index]
29
- # before_filter :maybe_authenticate, :only=>[:show, :index]
30
- before_filter :resource, :only=>[:update, :show, :destroy, :edit]
31
- authorize_resource
32
-
33
- def maybe_authenticate
34
- unless user_signed_in?
35
- authenticate_user! unless current_ability.can? :read, resource
36
- end
37
- end
38
- end
39
-
@@ -1,10 +0,0 @@
1
- class DiscussionsController < InheritedResources::Base
2
- belongs_to :forum
3
-
4
- def new
5
- new! do |format|
6
- @new_message = ForumMessage.new(:discussion=>resource, :author=>current_user)
7
- end
8
- end
9
- end
10
-
@@ -1,5 +0,0 @@
1
- class ExternalLinksController < InheritedResources::Base
2
- respond_to :html, :js
3
- ajax_loading
4
- end
5
-
@@ -1,10 +0,0 @@
1
- class FeedbacksController < InheritedResources::Base
2
- def create
3
- create! do |format|
4
- FeedbackMailer.submit_feedback(@feedback).deliver
5
- flash[:notice] = "Thanks for your feedback!"
6
- format.html { redirect_to "/" }
7
- end
8
- end
9
- end
10
-
@@ -1,13 +0,0 @@
1
- class ForumMessagesController < InheritedResources::Base
2
- belongs_to :forum, :discussion
3
-
4
- resource_attributes({:author => :current_user})
5
-
6
- def create
7
- create! {forum_discussion_path(@discussion.forum, @discussion)}
8
- end
9
- def update
10
- update! {forum_discussion_path(@discussion.forum, @discussion)}
11
- end
12
- end
13
-
@@ -1,2 +0,0 @@
1
- class ForumsController < InheritedResources::Base
2
- end