zen 0.2.8 → 0.3b

Sign up to get free protection for your applications and to get access to all the features.
Files changed (422) hide show
  1. data/.gems +20 -0
  2. data/.mailmap +3 -2
  3. data/.rvmrc +1 -1
  4. data/.travis.yml +13 -2
  5. data/.yardopts +13 -0
  6. data/AUTHORS +1 -1
  7. data/README.md +115 -77
  8. data/Rakefile +6 -7
  9. data/bin/zen +12 -5
  10. data/guide/_static/categories/categories.png +0 -0
  11. data/guide/_static/categories/category_groups.png +0 -0
  12. data/guide/_static/categories/new_category.png +0 -0
  13. data/guide/_static/categories/new_category_group.png +0 -0
  14. data/guide/_static/comments/comments.png +0 -0
  15. data/guide/_static/comments/edit_comment.png +0 -0
  16. data/guide/_static/custom_fields/custom_field_groups.png +0 -0
  17. data/guide/_static/custom_fields/custom_field_types.png +0 -0
  18. data/guide/_static/custom_fields/custom_fields.png +0 -0
  19. data/guide/_static/custom_fields/edit_custom_field_general.png +0 -0
  20. data/guide/_static/custom_fields/edit_custom_field_group.png +0 -0
  21. data/guide/_static/custom_fields/edit_custom_field_settings.png +0 -0
  22. data/guide/_static/custom_fields/edit_custom_field_type.png +0 -0
  23. data/guide/_static/menus/edit_menu.png +0 -0
  24. data/guide/_static/menus/edit_menu_item.png +0 -0
  25. data/guide/_static/menus/menu_items.png +0 -0
  26. data/guide/_static/menus/menus.png +0 -0
  27. data/guide/_static/sections/edit_entry.png +0 -0
  28. data/guide/_static/sections/edit_entry_categories.png +0 -0
  29. data/guide/_static/sections/edit_entry_general.png +0 -0
  30. data/guide/_static/sections/edit_entry_meta.png +0 -0
  31. data/guide/_static/sections/edit_section_comments.png +0 -0
  32. data/guide/_static/sections/edit_section_general.png +0 -0
  33. data/guide/_static/sections/edit_section_groups.png +0 -0
  34. data/guide/_static/sections/entries.png +0 -0
  35. data/guide/_static/sections/sections.png +0 -0
  36. data/guide/_static/settings/overview_general.png +0 -0
  37. data/guide/_static/settings/overview_security.png +0 -0
  38. data/guide/_static/settings/overview_user.png +0 -0
  39. data/guide/_static/users/edit_user.png +0 -0
  40. data/guide/_static/users/edit_user_group.png +0 -0
  41. data/guide/_static/users/edit_user_group_permissions.png +0 -0
  42. data/guide/_static/users/edit_user_permissions.png +0 -0
  43. data/guide/_static/users/overview.png +0 -0
  44. data/guide/_static/users/user_groups_overview.png +0 -0
  45. data/guide/asset_management.md +117 -0
  46. data/{CHANGELOG.md → guide/changelog.md} +42 -0
  47. data/guide/css/common.css +20 -0
  48. data/guide/getting_started.md +61 -0
  49. data/guide/hacking.md +52 -0
  50. data/guide/installation.md +44 -0
  51. data/guide/javascript.md +352 -0
  52. data/lib/vendor/sequel_sluggable.rb +137 -0
  53. data/lib/yard/tags.rb +13 -0
  54. data/lib/zen.rb +148 -78
  55. data/lib/zen/asset_groups.rb +85 -0
  56. data/lib/zen/bin/create.rb +267 -56
  57. data/lib/zen/bin/default.rb +84 -0
  58. data/lib/zen/controller/admin_controller.rb +1 -82
  59. data/lib/zen/controller/base_controller.rb +9 -5
  60. data/lib/zen/controller/frontend_controller.rb +0 -1
  61. data/lib/zen/controller/main_controller.rb +30 -42
  62. data/lib/zen/controller/preview.rb +9 -8
  63. data/lib/zen/controller/translations.rb +49 -0
  64. data/lib/zen/error.rb +17 -0
  65. data/lib/zen/event.rb +118 -0
  66. data/lib/zen/helper/asset.rb +63 -0
  67. data/lib/zen/helper/breadcrumb.rb +1 -4
  68. data/lib/zen/helper/controller.rb +73 -0
  69. data/lib/zen/helper/locale.rb +42 -0
  70. data/lib/zen/helper/message.rb +0 -3
  71. data/lib/zen/helper/search.rb +54 -0
  72. data/lib/zen/helper/stacked_aspect.rb +249 -0
  73. data/lib/zen/helper/theme.rb +3 -10
  74. data/lib/zen/language.rb +356 -181
  75. data/lib/zen/language/en/zen_general.rb +52 -0
  76. data/lib/zen/language/en/zen_models.rb +19 -0
  77. data/lib/zen/language/nl/zen_general.rb +57 -0
  78. data/lib/zen/language/nl/zen_models.rb +22 -0
  79. data/lib/zen/language/translation.rb +132 -0
  80. data/lib/zen/languages.rb +9 -0
  81. data/lib/zen/layout/admin.xhtml +3 -3
  82. data/lib/zen/layout/login.xhtml +1 -1
  83. data/lib/zen/markup.rb +189 -0
  84. data/lib/zen/model/helper.rb +65 -0
  85. data/lib/zen/model/init.rb +62 -0
  86. data/lib/zen/model/methods.rb +6 -7
  87. data/lib/zen/package.rb +312 -201
  88. data/lib/zen/package/all.rb +4 -3
  89. data/lib/zen/package/categories/lib/categories.rb +29 -41
  90. data/lib/zen/package/categories/lib/categories/controller/categories.rb +185 -130
  91. data/lib/zen/package/categories/lib/categories/controller/category_groups.rb +172 -102
  92. data/lib/zen/package/categories/lib/categories/helper/category.rb +4 -9
  93. data/lib/zen/package/categories/lib/categories/helper/category_frontend.rb +86 -0
  94. data/lib/zen/package/categories/lib/categories/language/en/categories.rb +40 -0
  95. data/lib/zen/package/categories/lib/categories/language/en/category_groups.rb +39 -0
  96. data/lib/zen/package/categories/lib/categories/language/nl/categories.rb +42 -0
  97. data/lib/zen/package/categories/lib/categories/language/nl/category_groups.rb +42 -0
  98. data/lib/zen/package/categories/lib/categories/model/category.rb +21 -25
  99. data/lib/zen/package/categories/lib/categories/model/category_group.rb +21 -15
  100. data/lib/zen/package/categories/lib/categories/view/admin/categories/form.xhtml +25 -26
  101. data/lib/zen/package/categories/lib/categories/view/admin/categories/index.xhtml +24 -24
  102. data/lib/zen/package/categories/lib/categories/view/admin/category-groups/form.xhtml +18 -20
  103. data/lib/zen/package/categories/lib/categories/view/admin/category-groups/index.xhtml +21 -18
  104. data/lib/zen/package/comments/lib/comments.rb +30 -50
  105. data/lib/zen/package/comments/lib/comments/anti_spam.rb +138 -0
  106. data/lib/zen/package/comments/lib/comments/controller/comments.rb +159 -92
  107. data/lib/zen/package/comments/lib/comments/controller/comments_form.rb +122 -34
  108. data/lib/zen/package/comments/lib/comments/helper/comment.rb +0 -3
  109. data/lib/zen/package/comments/lib/comments/helper/comment_frontend.rb +90 -0
  110. data/lib/zen/package/comments/lib/comments/language/en/comments.rb +57 -0
  111. data/lib/zen/package/comments/lib/comments/language/nl/comments.rb +61 -0
  112. data/lib/zen/package/comments/lib/comments/model/comment.rb +147 -49
  113. data/lib/zen/package/comments/lib/comments/model/comment_status.rb +0 -2
  114. data/lib/zen/package/comments/lib/comments/view/admin/comments/form.xhtml +37 -40
  115. data/lib/zen/package/comments/lib/comments/view/admin/comments/index.xhtml +23 -42
  116. data/lib/zen/package/comments/migrations/1308774099_comment_status.rb +12 -4
  117. data/lib/zen/package/comments/migrations/1313851786_remove_defensio_signature.rb +11 -0
  118. data/lib/zen/package/custom_fields/lib/custom_fields.rb +40 -43
  119. data/lib/zen/package/custom_fields/lib/custom_fields/blue_form_parameters.rb +72 -17
  120. data/lib/zen/package/custom_fields/lib/custom_fields/controller/custom_field_groups.rb +154 -118
  121. data/lib/zen/package/custom_fields/lib/custom_fields/controller/custom_field_types.rb +147 -90
  122. data/lib/zen/package/custom_fields/lib/custom_fields/controller/custom_fields.rb +161 -131
  123. data/lib/zen/package/custom_fields/lib/custom_fields/helper/custom_field.rb +4 -9
  124. data/lib/zen/package/custom_fields/lib/custom_fields/language/en/custom_field_groups.rb +42 -0
  125. data/lib/zen/package/custom_fields/lib/custom_fields/language/en/custom_field_types.rb +51 -0
  126. data/lib/zen/package/custom_fields/lib/custom_fields/language/en/custom_fields.rb +60 -0
  127. data/lib/zen/package/custom_fields/lib/custom_fields/language/nl/custom_field_groups.rb +41 -0
  128. data/lib/zen/package/custom_fields/lib/custom_fields/language/nl/custom_field_types.rb +49 -0
  129. data/lib/zen/package/custom_fields/lib/custom_fields/language/nl/custom_fields.rb +61 -0
  130. data/lib/zen/package/custom_fields/lib/custom_fields/model/custom_field.rb +18 -23
  131. data/lib/zen/package/custom_fields/lib/custom_fields/model/custom_field_group.rb +20 -19
  132. data/lib/zen/package/custom_fields/lib/custom_fields/model/custom_field_method.rb +1 -3
  133. data/lib/zen/package/custom_fields/lib/custom_fields/model/custom_field_type.rb +19 -9
  134. data/lib/zen/package/custom_fields/lib/custom_fields/model/custom_field_value.rb +18 -15
  135. data/lib/zen/package/custom_fields/lib/custom_fields/view/admin/custom-field-groups/form.xhtml +18 -18
  136. data/lib/zen/package/custom_fields/lib/custom_fields/view/admin/custom-field-groups/index.xhtml +30 -24
  137. data/lib/zen/package/custom_fields/lib/custom_fields/view/admin/custom-field-types/form.xhtml +15 -10
  138. data/lib/zen/package/custom_fields/lib/custom_fields/view/admin/custom-field-types/index.xhtml +24 -19
  139. data/lib/zen/package/custom_fields/lib/custom_fields/view/admin/custom-fields/form.xhtml +18 -13
  140. data/lib/zen/package/custom_fields/lib/custom_fields/view/admin/custom-fields/index.xhtml +30 -20
  141. data/lib/zen/package/extensions/lib/extensions.rb +20 -0
  142. data/lib/zen/package/extensions/lib/extensions/controller/extensions.rb +41 -0
  143. data/lib/zen/package/extensions/lib/extensions/language/en/extensions.rb +23 -0
  144. data/lib/zen/package/extensions/lib/extensions/language/nl/extensions.rb +25 -0
  145. data/lib/zen/package/extensions/lib/extensions/view/admin/extensions/index.xhtml +86 -0
  146. data/lib/zen/package/menu.rb +109 -0
  147. data/lib/zen/package/menus/lib/menus.rb +25 -34
  148. data/lib/zen/package/menus/lib/menus/controller/menu_items.rb +143 -107
  149. data/lib/zen/package/menus/lib/menus/controller/menus.rb +166 -115
  150. data/lib/zen/package/menus/lib/menus/helper/menu.rb +2 -8
  151. data/lib/zen/package/menus/lib/menus/helper/menu_frontend.rb +114 -0
  152. data/lib/zen/package/menus/lib/menus/language/en/menu_items.rb +48 -0
  153. data/lib/zen/package/menus/lib/menus/language/en/menus.rb +48 -0
  154. data/lib/zen/package/menus/lib/menus/language/nl/menu_items.rb +48 -0
  155. data/lib/zen/package/menus/lib/menus/language/nl/menus.rb +50 -0
  156. data/lib/zen/package/menus/lib/menus/model/menu.rb +24 -17
  157. data/lib/zen/package/menus/lib/menus/model/menu_item.rb +37 -13
  158. data/lib/zen/package/menus/lib/menus/view/admin/menu-items/form.xhtml +32 -25
  159. data/lib/zen/package/menus/lib/menus/view/admin/menu-items/index.xhtml +23 -17
  160. data/lib/zen/package/menus/lib/menus/view/admin/menus/form.xhtml +31 -26
  161. data/lib/zen/package/menus/lib/menus/view/admin/menus/index.xhtml +20 -22
  162. data/lib/zen/package/sections/lib/sections.rb +25 -68
  163. data/lib/zen/package/sections/lib/sections/controller/section_entries.rb +178 -138
  164. data/lib/zen/package/sections/lib/sections/controller/sections.rb +173 -140
  165. data/lib/zen/package/sections/lib/sections/helper/section.rb +3 -6
  166. data/lib/zen/package/sections/lib/sections/helper/section_frontend.rb +146 -0
  167. data/lib/zen/package/sections/lib/sections/language/en/section_entries.rb +50 -0
  168. data/lib/zen/package/sections/lib/sections/language/en/sections.rb +55 -0
  169. data/lib/zen/package/sections/lib/sections/language/nl/section_entries.rb +50 -0
  170. data/lib/zen/package/sections/lib/sections/language/nl/sections.rb +55 -0
  171. data/lib/zen/package/sections/lib/sections/model/section.rb +36 -36
  172. data/lib/zen/package/sections/lib/sections/model/section_entry.rb +52 -59
  173. data/lib/zen/package/sections/lib/sections/model/section_entry_status.rb +2 -2
  174. data/lib/zen/package/sections/lib/sections/view/admin/form.xhtml +24 -21
  175. data/lib/zen/package/sections/lib/sections/view/admin/index.xhtml +24 -26
  176. data/lib/zen/package/sections/lib/sections/view/admin/section-entries/form.xhtml +33 -31
  177. data/lib/zen/package/sections/lib/sections/view/admin/section-entries/index.xhtml +24 -25
  178. data/lib/zen/package/sections/migrations/1308672298_use_id_for_default_section.rb +14 -10
  179. data/lib/zen/package/sections/migrations/1308813320_section_entry_statuses.rb +12 -6
  180. data/lib/zen/package/settings/lib/settings.rb +25 -120
  181. data/lib/zen/package/settings/lib/settings/blue_form_parameters.rb +157 -0
  182. data/lib/zen/package/settings/lib/settings/controller/settings.rb +94 -69
  183. data/lib/zen/package/settings/lib/settings/language/en/settings.rb +41 -0
  184. data/lib/zen/package/settings/lib/settings/language/nl/settings.rb +41 -0
  185. data/lib/zen/package/settings/lib/settings/model/setting.rb +0 -2
  186. data/lib/zen/package/settings/lib/settings/setting.rb +379 -0
  187. data/lib/zen/package/settings/lib/settings/setting_groups.rb +11 -0
  188. data/lib/zen/package/settings/lib/settings/settings.rb +83 -0
  189. data/lib/zen/package/settings/lib/settings/settings_group.rb +84 -0
  190. data/lib/zen/package/settings/lib/settings/singleton_methods.rb +35 -0
  191. data/lib/zen/package/settings/lib/settings/view/admin/settings/index.xhtml +15 -57
  192. data/lib/zen/package/settings/migrations/1321197919_remove_unused_columns.rb +17 -0
  193. data/lib/zen/package/users/lib/users.rb +51 -36
  194. data/lib/zen/package/users/lib/users/controller/user_groups.rb +133 -98
  195. data/lib/zen/package/users/lib/users/controller/users.rb +253 -136
  196. data/lib/zen/package/users/lib/users/helper/access.rb +102 -0
  197. data/lib/zen/package/users/lib/users/helper/acl.rb +113 -0
  198. data/lib/zen/package/users/lib/users/helper/users.rb +41 -24
  199. data/lib/zen/package/users/lib/users/language/en/permissions.rb +16 -0
  200. data/lib/zen/package/users/lib/users/language/en/user_groups.rb +39 -0
  201. data/lib/zen/package/users/lib/users/language/en/users.rb +73 -0
  202. data/lib/zen/package/users/lib/users/language/nl/permissions.rb +16 -0
  203. data/lib/zen/package/users/lib/users/language/nl/user_groups.rb +41 -0
  204. data/lib/zen/package/users/lib/users/language/nl/users.rb +74 -0
  205. data/lib/zen/package/users/lib/users/model/permission.rb +28 -0
  206. data/lib/zen/package/users/lib/users/model/user.rb +104 -65
  207. data/lib/zen/package/users/lib/users/model/user_group.rb +28 -24
  208. data/lib/zen/package/users/lib/users/model/user_status.rb +27 -0
  209. data/lib/zen/package/users/lib/users/public/admin/css/users/permissions.css +22 -0
  210. data/lib/zen/package/users/lib/users/public/admin/js/users/permissions.js +33 -0
  211. data/lib/zen/package/users/lib/users/settings.rb +19 -0
  212. data/lib/zen/package/users/lib/users/view/admin/user-groups/form.xhtml +58 -28
  213. data/lib/zen/package/users/lib/users/view/admin/user-groups/index.xhtml +19 -15
  214. data/lib/zen/package/users/lib/users/view/admin/users/form.xhtml +93 -62
  215. data/lib/zen/package/users/lib/users/view/admin/users/index.xhtml +23 -36
  216. data/lib/zen/package/users/lib/users/view/admin/users/login.xhtml +13 -6
  217. data/lib/zen/package/users/lib/users/view/admin/users/permissions.xhtml +33 -0
  218. data/lib/zen/package/users/lib/users/view/admin/users/register.xhtml +52 -0
  219. data/lib/zen/package/users/migrations/1313786058_update_default_date.rb +41 -0
  220. data/lib/zen/package/users/migrations/1316432327_permissions.rb +36 -0
  221. data/lib/zen/package/users/migrations/1320272365_status_ids.rb +67 -0
  222. data/lib/zen/public/admin/css/zen/buttons.css +3 -11
  223. data/lib/zen/public/admin/css/zen/datepicker.css +23 -13
  224. data/lib/zen/public/admin/css/zen/editor.css +6 -14
  225. data/lib/zen/public/admin/css/zen/forms.css +19 -12
  226. data/lib/zen/public/admin/css/zen/general.css +22 -18
  227. data/lib/zen/public/admin/css/zen/grid.css +1 -20
  228. data/lib/zen/public/admin/css/zen/layout.css +26 -11
  229. data/lib/zen/public/admin/css/zen/messages.css +3 -10
  230. data/lib/zen/public/admin/css/zen/reset.css +13 -15
  231. data/lib/zen/public/admin/css/zen/tables.css +8 -10
  232. data/lib/zen/public/admin/css/zen/tabs.css +2 -10
  233. data/lib/zen/public/admin/css/zen/window.css +2 -8
  234. data/lib/zen/public/admin/js/vendor/datepicker.js +540 -240
  235. data/lib/zen/public/admin/js/vendor/mootools/core.js +273 -283
  236. data/lib/zen/public/admin/js/vendor/mootools/more.js +131 -136
  237. data/lib/zen/public/admin/js/zen/index.js +8 -14
  238. data/lib/zen/public/admin/js/zen/lib/editor.js +36 -33
  239. data/lib/zen/public/admin/js/zen/lib/editor/markdown.js +0 -6
  240. data/lib/zen/public/admin/js/zen/lib/editor/textile.js +0 -6
  241. data/lib/zen/public/admin/js/zen/lib/html_table.js +0 -5
  242. data/lib/zen/public/admin/js/zen/lib/tabs.js +22 -79
  243. data/lib/zen/public/admin/js/zen/lib/window.js +12 -22
  244. data/lib/zen/spec/bacon/color_output.rb +1 -1
  245. data/lib/zen/spec/helper.rb +6 -11
  246. data/lib/zen/spec/simplecov.rb +3 -3
  247. data/lib/zen/task.rb +0 -1
  248. data/lib/zen/task/build.rake +46 -26
  249. data/lib/zen/task/clean.rake +14 -7
  250. data/lib/zen/task/db.rake +31 -29
  251. data/lib/zen/task/package.rake +19 -23
  252. data/lib/zen/task/proto.rake +3 -5
  253. data/lib/zen/task/setup.rake +4 -0
  254. data/lib/zen/task/test.rake +31 -6
  255. data/lib/zen/task/theme.rake +13 -19
  256. data/lib/zen/theme.rb +377 -52
  257. data/lib/zen/validation.rb +22 -30
  258. data/lib/zen/version.rb +1 -2
  259. data/lib/zen/view/bottom.xhtml +9 -1
  260. data/lib/zen/view/head.xhtml +1 -1
  261. data/lib/zen/view/main.xhtml +1 -1
  262. data/lib/zen/view/search.xhtml +9 -0
  263. data/proto/app/Rakefile +0 -1
  264. data/proto/app/app.rb +21 -16
  265. data/proto/app/config/config.rb.erb +41 -0
  266. data/proto/app/config/{database.rb → database.rb.erb} +17 -14
  267. data/proto/app/config/middlewares.rb +1 -1
  268. data/proto/app/theme/default/index.xhtml +25 -0
  269. data/proto/app/theme/theme.rb +19 -0
  270. data/proto/app/{log/database/dev → tmp}/.gitkeep +0 -0
  271. data/proto/migration.rb +3 -5
  272. data/proto/rack/thin.yml +41 -0
  273. data/proto/rack/unicorn.rb +38 -0
  274. data/spec/Rakefile +15 -11
  275. data/spec/fixtures/zen/helper/controller.rb +13 -0
  276. data/spec/fixtures/zen/helper/locale.rb +7 -0
  277. data/spec/fixtures/zen/helper/message.rb +0 -4
  278. data/spec/fixtures/zen/language.rb +31 -0
  279. data/spec/fixtures/zen/language/en/spec.rb +11 -0
  280. data/spec/fixtures/zen/language/nl/spec.rb +11 -0
  281. data/spec/fixtures/zen/package.rb +0 -10
  282. data/spec/fixtures/zen/package/categories/helper/category_frontend.rb +16 -0
  283. data/spec/fixtures/zen/package/comments/helper/comment_frontend.rb +16 -0
  284. data/spec/fixtures/zen/package/sections/helper/section_frontend.rb +16 -0
  285. data/spec/fixtures/zen/package/settings/controller/settings.rb +17 -0
  286. data/spec/fixtures/zen/package/users/helper/access.rb +18 -0
  287. data/spec/fixtures/zen/package/users/helper/acl.rb +23 -0
  288. data/spec/fixtures/zen/theme/{default-section → default}/index.xhtml +0 -0
  289. data/spec/helper.rb +12 -27
  290. data/{proto/app/log/database/live → spec/public}/.gitkeep +0 -0
  291. data/spec/zen/controller/admin_controller.rb +5 -6
  292. data/spec/zen/controller/main_controller.rb +29 -35
  293. data/spec/zen/controller/preview.rb +9 -10
  294. data/spec/zen/event.rb +44 -0
  295. data/spec/zen/helper/breadcrumb.rb +4 -5
  296. data/spec/zen/helper/controller.rb +21 -0
  297. data/spec/zen/helper/locale.rb +25 -0
  298. data/spec/zen/helper/message.rb +4 -11
  299. data/spec/zen/helper/theme.rb +11 -14
  300. data/spec/zen/language.rb +48 -22
  301. data/spec/zen/markup.rb +39 -0
  302. data/spec/zen/package.rb +48 -11
  303. data/spec/zen/package/categories/controller/categories.rb +99 -45
  304. data/spec/zen/package/categories/controller/category_groups.rb +109 -33
  305. data/spec/zen/package/categories/helper/category.rb +19 -32
  306. data/spec/zen/package/categories/helper/category_frontend.rb +61 -0
  307. data/spec/zen/package/comments/anti_spam.rb +50 -0
  308. data/spec/zen/package/comments/controller/comments.rb +121 -61
  309. data/spec/zen/package/comments/controller/comments_form.rb +120 -94
  310. data/spec/zen/package/comments/helper/comment.rb +13 -13
  311. data/spec/zen/package/comments/helper/comment_frontend.rb +92 -0
  312. data/spec/zen/package/custom_fields/blue_form_parameters.rb +50 -50
  313. data/spec/zen/package/custom_fields/controller/custom_field_groups.rb +135 -43
  314. data/spec/zen/package/custom_fields/controller/custom_field_types.rb +153 -48
  315. data/spec/zen/package/custom_fields/controller/custom_fields.rb +130 -51
  316. data/spec/zen/package/custom_fields/helper/custom_field.rb +8 -8
  317. data/spec/zen/package/extensions/controller/extensions.rb +38 -0
  318. data/spec/zen/package/menus/controller/menu_items.rb +121 -42
  319. data/spec/zen/package/menus/controller/menus.rb +125 -38
  320. data/spec/zen/package/menus/helper/menu.rb +26 -26
  321. data/spec/zen/package/menus/helper/menu_frontend.rb +104 -0
  322. data/spec/zen/package/sections/controller/section_entries.rb +145 -89
  323. data/spec/zen/package/sections/controller/sections.rb +130 -35
  324. data/spec/zen/package/sections/helper/section.rb +27 -38
  325. data/spec/zen/package/sections/helper/section_frontend.rb +160 -0
  326. data/spec/zen/package/settings/controller/settings.rb +73 -8
  327. data/spec/zen/package/settings/settings.rb +119 -0
  328. data/spec/zen/package/users/controller/user_groups.rb +134 -34
  329. data/spec/zen/package/users/controller/users.rb +189 -44
  330. data/spec/zen/package/users/helper/access.rb +29 -0
  331. data/spec/zen/package/users/helper/acl.rb +46 -0
  332. data/spec/zen/package/users/helper/users.rb +20 -64
  333. data/spec/zen/theme.rb +7 -9
  334. data/spec/zen/validation.rb +1 -2
  335. data/zen.gemspec +25 -22
  336. metadata +303 -222
  337. data/lib/zen/asset.rb +0 -292
  338. data/lib/zen/bin/runner.rb +0 -118
  339. data/lib/zen/error/language_error.rb +0 -10
  340. data/lib/zen/error/package_error.rb +0 -10
  341. data/lib/zen/error/plugin_error.rb +0 -10
  342. data/lib/zen/error/theme_error.rb +0 -10
  343. data/lib/zen/error/validation_error.rb +0 -10
  344. data/lib/zen/helper/acl.rb +0 -182
  345. data/lib/zen/helper/blue_form_vendor.rb +0 -689
  346. data/lib/zen/language/en/zen_general.yml +0 -25
  347. data/lib/zen/language/en/zen_models.yml +0 -13
  348. data/lib/zen/language/nl/zen_general.yml +0 -25
  349. data/lib/zen/language/nl/zen_models.yml +0 -13
  350. data/lib/zen/model/settings.rb +0 -78
  351. data/lib/zen/package/base.rb +0 -62
  352. data/lib/zen/package/categories/lib/categories/language/en/categories.yml +0 -36
  353. data/lib/zen/package/categories/lib/categories/language/en/category_groups.yml +0 -34
  354. data/lib/zen/package/categories/lib/categories/language/nl/categories.yml +0 -40
  355. data/lib/zen/package/categories/lib/categories/language/nl/category_groups.yml +0 -34
  356. data/lib/zen/package/categories/lib/categories/plugin/categories.rb +0 -141
  357. data/lib/zen/package/comments/lib/comments/language/en/comments.yml +0 -48
  358. data/lib/zen/package/comments/lib/comments/language/nl/comments.yml +0 -50
  359. data/lib/zen/package/comments/lib/comments/plugin/anti_spam.rb +0 -156
  360. data/lib/zen/package/comments/lib/comments/plugin/comments.rb +0 -115
  361. data/lib/zen/package/custom_fields/lib/custom_fields/language/en/custom_field_groups.yml +0 -33
  362. data/lib/zen/package/custom_fields/lib/custom_fields/language/en/custom_field_types.yml +0 -40
  363. data/lib/zen/package/custom_fields/lib/custom_fields/language/en/custom_fields.yml +0 -54
  364. data/lib/zen/package/custom_fields/lib/custom_fields/language/nl/custom_field_groups.yml +0 -33
  365. data/lib/zen/package/custom_fields/lib/custom_fields/language/nl/custom_field_types.yml +0 -40
  366. data/lib/zen/package/custom_fields/lib/custom_fields/language/nl/custom_fields.yml +0 -54
  367. data/lib/zen/package/menus/lib/menus/language/en/menu_items.yml +0 -41
  368. data/lib/zen/package/menus/lib/menus/language/en/menus.yml +0 -40
  369. data/lib/zen/package/menus/lib/menus/language/nl/menu_items.yml +0 -41
  370. data/lib/zen/package/menus/lib/menus/language/nl/menus.yml +0 -40
  371. data/lib/zen/package/menus/lib/menus/plugin/menus.rb +0 -152
  372. data/lib/zen/package/sections/lib/sections/language/en/section_entries.yml +0 -44
  373. data/lib/zen/package/sections/lib/sections/language/en/sections.yml +0 -48
  374. data/lib/zen/package/sections/lib/sections/language/nl/section_entries.yml +0 -44
  375. data/lib/zen/package/sections/lib/sections/language/nl/sections.yml +0 -48
  376. data/lib/zen/package/sections/lib/sections/plugin/section_entries.rb +0 -244
  377. data/lib/zen/package/sections/lib/sections/plugin/sections.rb +0 -87
  378. data/lib/zen/package/settings/lib/settings/language/en/settings.yml +0 -36
  379. data/lib/zen/package/settings/lib/settings/language/nl/settings.yml +0 -37
  380. data/lib/zen/package/settings/lib/settings/plugin/group_base.rb +0 -39
  381. data/lib/zen/package/settings/lib/settings/plugin/setting_base.rb +0 -133
  382. data/lib/zen/package/settings/lib/settings/plugin/settings.rb +0 -251
  383. data/lib/zen/package/users/lib/users/controller/access_rules.rb +0 -284
  384. data/lib/zen/package/users/lib/users/language/en/access_rules.yml +0 -38
  385. data/lib/zen/package/users/lib/users/language/en/user_groups.yml +0 -32
  386. data/lib/zen/package/users/lib/users/language/en/users.yml +0 -57
  387. data/lib/zen/package/users/lib/users/language/nl/access_rules.yml +0 -38
  388. data/lib/zen/package/users/lib/users/language/nl/user_groups.yml +0 -32
  389. data/lib/zen/package/users/lib/users/language/nl/users.yml +0 -57
  390. data/lib/zen/package/users/lib/users/model/access_rule.rb +0 -42
  391. data/lib/zen/package/users/lib/users/public/admin/js/users/access_rules.js +0 -65
  392. data/lib/zen/package/users/lib/users/public/admin/js/users/lib/access_rules.js +0 -49
  393. data/lib/zen/package/users/lib/users/view/admin/access-rules/form.xhtml +0 -120
  394. data/lib/zen/package/users/lib/users/view/admin/access-rules/index.xhtml +0 -102
  395. data/lib/zen/plugin.rb +0 -182
  396. data/lib/zen/plugin/base.rb +0 -46
  397. data/lib/zen/plugin/helper.rb +0 -47
  398. data/lib/zen/plugin/markup/lib/markup.rb +0 -14
  399. data/lib/zen/plugin/markup/lib/markup/language/en/markup.yml +0 -6
  400. data/lib/zen/plugin/markup/lib/markup/markup.rb +0 -165
  401. data/lib/zen/public/admin/js/zen/lib/asset.js +0 -111
  402. data/lib/zen/task/plugin.rake +0 -18
  403. data/lib/zen/theme/base.rb +0 -65
  404. data/proto/app/config/config.rb +0 -18
  405. data/spec/fixtures/zen/language/en/spec.yml +0 -10
  406. data/spec/fixtures/zen/language/nl/spec.yml +0 -7
  407. data/spec/fixtures/zen/package/settings/plugin/settings.rb +0 -20
  408. data/spec/zen/asset.rb +0 -97
  409. data/spec/zen/bin/create.rb +0 -89
  410. data/spec/zen/bin/runner.rb +0 -47
  411. data/spec/zen/helper/acl.rb +0 -149
  412. data/spec/zen/package/categories/plugin/categories.rb +0 -92
  413. data/spec/zen/package/comments/plugin/anti_spam.rb +0 -59
  414. data/spec/zen/package/comments/plugin/comments.rb +0 -107
  415. data/spec/zen/package/menus/plugin/menus.rb +0 -120
  416. data/spec/zen/package/sections/plugin/section_entries.rb +0 -161
  417. data/spec/zen/package/sections/plugin/sections.rb +0 -75
  418. data/spec/zen/package/settings/plugin/settings.rb +0 -33
  419. data/spec/zen/package/users/controller/access_rules.rb +0 -90
  420. data/spec/zen/plugin.rb +0 -64
  421. data/spec/zen/plugin/helper.rb +0 -11
  422. data/spec/zen/plugin/markup.rb +0 -44
data/spec/zen/theme.rb CHANGED
@@ -2,11 +2,11 @@ require File.expand_path('../../helper', __FILE__)
2
2
 
3
3
  describe("Zen::Theme") do
4
4
 
5
- it("No themes should exist") do
5
+ it('Error when retrieving a theme when no themes exist') do
6
6
  should.raise?(Zen::ThemeError) { Zen::Theme[:spec] }
7
7
  end
8
8
 
9
- it("Add a new theme") do
9
+ it('Add a new theme') do
10
10
  Zen::Theme.add do |t|
11
11
  t.name = 'spec'
12
12
  t.author = 'Yorick Peterse'
@@ -18,7 +18,7 @@ describe("Zen::Theme") do
18
18
  should.not.raise?(Zen::ThemeError) { Zen::Theme[:spec] }
19
19
  end
20
20
 
21
- it('Add an existing theme') do
21
+ it('Add an already existing theme') do
22
22
  should.raise?(Zen::ValidationError) do
23
23
  Zen::Theme.add do |t|
24
24
  t.name = 'spec'
@@ -29,13 +29,11 @@ describe("Zen::Theme") do
29
29
  end
30
30
  end
31
31
 
32
- it("Retrieve our theme") do
32
+ it('Retrieve a theme using Zen::Theme') do
33
33
  theme = Zen::Theme[:spec]
34
34
 
35
- theme.name.should === :spec
36
- theme.author.should === 'Yorick Peterse'
37
- theme.template_dir.should === __DIR__
35
+ theme.name.should == :spec
36
+ theme.author.should == 'Yorick Peterse'
37
+ theme.template_dir.should == __DIR__
38
38
  end
39
-
40
39
  end
41
-
@@ -1,5 +1,5 @@
1
1
  require File.expand_path('../../helper', __FILE__)
2
- require File.join(Zen::Fixtures, 'validation')
2
+ require File.join(Zen::FIXTURES, 'validation')
3
3
  require 'fileutils'
4
4
 
5
5
  describe('Zen::Validation') do
@@ -59,5 +59,4 @@ describe('Zen::Validation') do
59
59
 
60
60
  File.unlink('/tmp/zen_validation')
61
61
  end
62
-
63
62
  end
data/zen.gemspec CHANGED
@@ -1,36 +1,39 @@
1
1
  require File.expand_path('../lib/zen/version', __FILE__)
2
2
 
3
- # Get all the files from the manifest
4
3
  path = File.expand_path('../', __FILE__)
5
4
 
6
5
  Gem::Specification.new do |s|
7
6
  s.name = 'zen'
8
- s.version = Zen::Version
9
- s.date = '03-08-2011'
7
+ s.version = Zen::VERSION
8
+ s.date = '2011-11-23'
10
9
  s.authors = ['Yorick Peterse']
11
10
  s.email = 'info@yorickpeterse.com'
12
11
  s.summary = 'Zen is a modular CMS written using Ramaze.'
13
12
  s.homepage = 'http://zen-cms.com/'
14
- s.description = 'Zen is a modular CMS written using Ramaze. Unlike traditional
15
- CMS\' you are completely free to build whatever you want.'
13
+ s.description = 'Zen is a modular CMS written using Ramaze. ' \
14
+ 'Zen gives you complete freedom to build whatever you want in whatever ' \
15
+ 'way you might want to build it.'
16
16
 
17
- s.files = `cd #{path}; git ls-files`.split("\n").sort
18
- s.has_rdoc = 'yard'
19
- s.executables = ['zen']
17
+ s.files = `cd #{path}; git ls-files`.split("\n").sort
18
+ s.has_rdoc = 'yard'
19
+ s.executables = ['zen']
20
+ s.required_ruby_version = '>= 1.9.2'
20
21
 
21
- s.add_dependency('sequel' , ['~> 3.26'])
22
- s.add_dependency('ramaze' , ['~> 2011.07.25'])
23
- s.add_dependency('bcrypt-ruby' , ['~> 2.1.4'])
24
- s.add_dependency('sequel_sluggable', ['~> 0.0.6'])
25
- s.add_dependency('rake' , ['~> 0.9.2'])
26
- s.add_dependency('loofah' , ['~> 1.0.0'])
22
+ s.add_dependency('sequel' , ['~> 3.28.0'])
23
+ s.add_dependency('ramaze' , ['~> 2011.10.23'])
24
+ s.add_dependency('bcrypt-ruby' , ['~> 3.0.1'])
25
+ s.add_dependency('rake' , ['~> 0.9.2'])
26
+ s.add_dependency('loofah' , ['~> 1.2.0'])
27
+ s.add_dependency('ramaze-asset', ['~> 0.2.3'])
28
+ s.add_dependency('shebang' , ['~> 0.1'])
27
29
 
28
- s.add_development_dependency('rdiscount', ['~> 1.6.8'])
29
- s.add_development_dependency('bacon' , ['~> 1.1.0'])
30
- s.add_development_dependency('yard' , ['~> 0.7.2'])
31
- s.add_development_dependency('capybara' , ['~> 1.0.0'])
32
- s.add_development_dependency('sqlite3' , ['~> 1.3.4'])
33
- s.add_development_dependency('defensio' , ['~> 0.9.1'])
34
- s.add_development_dependency('simplecov', ['~> 0.4.2'])
35
- s.add_development_dependency('webmock' , ['~> 1.6.4'])
30
+ s.add_development_dependency('rdiscount', ['>= 1.6.8'])
31
+ s.add_development_dependency('RedCloth' , ['>= 4.2.8'])
32
+ s.add_development_dependency('bacon' , ['>= 1.1.0'])
33
+ s.add_development_dependency('yard' , ['>= 0.7.2'])
34
+ s.add_development_dependency('capybara' , ['>= 1.1.1'])
35
+ s.add_development_dependency('sqlite3' , ['>= 1.3.4'])
36
+ s.add_development_dependency('defensio' , ['>= 0.9.1'])
37
+ s.add_development_dependency('simplecov', ['>= 0.4.2'])
38
+ s.add_development_dependency('webmock' , ['>= 1.6.4'])
36
39
  end
metadata CHANGED
@@ -1,235 +1,301 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: zen
3
- version: !ruby/object:Gem::Version
4
- prerelease:
5
- version: 0.2.8
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.3b
5
+ prerelease: 3
6
6
  platform: ruby
7
- authors:
7
+ authors:
8
8
  - Yorick Peterse
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
-
13
- date: 2011-08-03 00:00:00 +02:00
14
- default_executable:
15
- dependencies:
16
- - !ruby/object:Gem::Dependency
12
+ date: 2011-11-23 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
17
15
  name: sequel
18
- prerelease: false
19
- requirement: &id001 !ruby/object:Gem::Requirement
16
+ requirement: &2160155880 !ruby/object:Gem::Requirement
20
17
  none: false
21
- requirements:
18
+ requirements:
22
19
  - - ~>
23
- - !ruby/object:Gem::Version
24
- version: "3.26"
20
+ - !ruby/object:Gem::Version
21
+ version: 3.28.0
25
22
  type: :runtime
26
- version_requirements: *id001
27
- - !ruby/object:Gem::Dependency
28
- name: ramaze
29
23
  prerelease: false
30
- requirement: &id002 !ruby/object:Gem::Requirement
24
+ version_requirements: *2160155880
25
+ - !ruby/object:Gem::Dependency
26
+ name: ramaze
27
+ requirement: &2160155400 !ruby/object:Gem::Requirement
31
28
  none: false
32
- requirements:
29
+ requirements:
33
30
  - - ~>
34
- - !ruby/object:Gem::Version
35
- version: 2011.07.25
31
+ - !ruby/object:Gem::Version
32
+ version: 2011.10.23
36
33
  type: :runtime
37
- version_requirements: *id002
38
- - !ruby/object:Gem::Dependency
39
- name: bcrypt-ruby
40
34
  prerelease: false
41
- requirement: &id003 !ruby/object:Gem::Requirement
35
+ version_requirements: *2160155400
36
+ - !ruby/object:Gem::Dependency
37
+ name: bcrypt-ruby
38
+ requirement: &2160154920 !ruby/object:Gem::Requirement
42
39
  none: false
43
- requirements:
40
+ requirements:
44
41
  - - ~>
45
- - !ruby/object:Gem::Version
46
- version: 2.1.4
42
+ - !ruby/object:Gem::Version
43
+ version: 3.0.1
47
44
  type: :runtime
48
- version_requirements: *id003
49
- - !ruby/object:Gem::Dependency
50
- name: sequel_sluggable
51
45
  prerelease: false
52
- requirement: &id004 !ruby/object:Gem::Requirement
46
+ version_requirements: *2160154920
47
+ - !ruby/object:Gem::Dependency
48
+ name: rake
49
+ requirement: &2160154440 !ruby/object:Gem::Requirement
53
50
  none: false
54
- requirements:
51
+ requirements:
55
52
  - - ~>
56
- - !ruby/object:Gem::Version
57
- version: 0.0.6
53
+ - !ruby/object:Gem::Version
54
+ version: 0.9.2
58
55
  type: :runtime
59
- version_requirements: *id004
60
- - !ruby/object:Gem::Dependency
61
- name: rake
62
56
  prerelease: false
63
- requirement: &id005 !ruby/object:Gem::Requirement
57
+ version_requirements: *2160154440
58
+ - !ruby/object:Gem::Dependency
59
+ name: loofah
60
+ requirement: &2160153960 !ruby/object:Gem::Requirement
64
61
  none: false
65
- requirements:
62
+ requirements:
66
63
  - - ~>
67
- - !ruby/object:Gem::Version
68
- version: 0.9.2
64
+ - !ruby/object:Gem::Version
65
+ version: 1.2.0
69
66
  type: :runtime
70
- version_requirements: *id005
71
- - !ruby/object:Gem::Dependency
72
- name: loofah
73
67
  prerelease: false
74
- requirement: &id006 !ruby/object:Gem::Requirement
68
+ version_requirements: *2160153960
69
+ - !ruby/object:Gem::Dependency
70
+ name: ramaze-asset
71
+ requirement: &2160153480 !ruby/object:Gem::Requirement
75
72
  none: false
76
- requirements:
73
+ requirements:
77
74
  - - ~>
78
- - !ruby/object:Gem::Version
79
- version: 1.0.0
75
+ - !ruby/object:Gem::Version
76
+ version: 0.2.3
80
77
  type: :runtime
81
- version_requirements: *id006
82
- - !ruby/object:Gem::Dependency
83
- name: rdiscount
84
78
  prerelease: false
85
- requirement: &id007 !ruby/object:Gem::Requirement
79
+ version_requirements: *2160153480
80
+ - !ruby/object:Gem::Dependency
81
+ name: shebang
82
+ requirement: &2160153000 !ruby/object:Gem::Requirement
86
83
  none: false
87
- requirements:
84
+ requirements:
88
85
  - - ~>
89
- - !ruby/object:Gem::Version
86
+ - !ruby/object:Gem::Version
87
+ version: '0.1'
88
+ type: :runtime
89
+ prerelease: false
90
+ version_requirements: *2160153000
91
+ - !ruby/object:Gem::Dependency
92
+ name: rdiscount
93
+ requirement: &2152757080 !ruby/object:Gem::Requirement
94
+ none: false
95
+ requirements:
96
+ - - ! '>='
97
+ - !ruby/object:Gem::Version
90
98
  version: 1.6.8
91
99
  type: :development
92
- version_requirements: *id007
93
- - !ruby/object:Gem::Dependency
94
- name: bacon
95
100
  prerelease: false
96
- requirement: &id008 !ruby/object:Gem::Requirement
101
+ version_requirements: *2152757080
102
+ - !ruby/object:Gem::Dependency
103
+ name: RedCloth
104
+ requirement: &2152755980 !ruby/object:Gem::Requirement
97
105
  none: false
98
- requirements:
99
- - - ~>
100
- - !ruby/object:Gem::Version
106
+ requirements:
107
+ - - ! '>='
108
+ - !ruby/object:Gem::Version
109
+ version: 4.2.8
110
+ type: :development
111
+ prerelease: false
112
+ version_requirements: *2152755980
113
+ - !ruby/object:Gem::Dependency
114
+ name: bacon
115
+ requirement: &2152754480 !ruby/object:Gem::Requirement
116
+ none: false
117
+ requirements:
118
+ - - ! '>='
119
+ - !ruby/object:Gem::Version
101
120
  version: 1.1.0
102
121
  type: :development
103
- version_requirements: *id008
104
- - !ruby/object:Gem::Dependency
105
- name: yard
106
122
  prerelease: false
107
- requirement: &id009 !ruby/object:Gem::Requirement
123
+ version_requirements: *2152754480
124
+ - !ruby/object:Gem::Dependency
125
+ name: yard
126
+ requirement: &2152753060 !ruby/object:Gem::Requirement
108
127
  none: false
109
- requirements:
110
- - - ~>
111
- - !ruby/object:Gem::Version
128
+ requirements:
129
+ - - ! '>='
130
+ - !ruby/object:Gem::Version
112
131
  version: 0.7.2
113
132
  type: :development
114
- version_requirements: *id009
115
- - !ruby/object:Gem::Dependency
116
- name: capybara
117
133
  prerelease: false
118
- requirement: &id010 !ruby/object:Gem::Requirement
134
+ version_requirements: *2152753060
135
+ - !ruby/object:Gem::Dependency
136
+ name: capybara
137
+ requirement: &2160204560 !ruby/object:Gem::Requirement
119
138
  none: false
120
- requirements:
121
- - - ~>
122
- - !ruby/object:Gem::Version
123
- version: 1.0.0
139
+ requirements:
140
+ - - ! '>='
141
+ - !ruby/object:Gem::Version
142
+ version: 1.1.1
124
143
  type: :development
125
- version_requirements: *id010
126
- - !ruby/object:Gem::Dependency
127
- name: sqlite3
128
144
  prerelease: false
129
- requirement: &id011 !ruby/object:Gem::Requirement
145
+ version_requirements: *2160204560
146
+ - !ruby/object:Gem::Dependency
147
+ name: sqlite3
148
+ requirement: &2160204080 !ruby/object:Gem::Requirement
130
149
  none: false
131
- requirements:
132
- - - ~>
133
- - !ruby/object:Gem::Version
150
+ requirements:
151
+ - - ! '>='
152
+ - !ruby/object:Gem::Version
134
153
  version: 1.3.4
135
154
  type: :development
136
- version_requirements: *id011
137
- - !ruby/object:Gem::Dependency
138
- name: defensio
139
155
  prerelease: false
140
- requirement: &id012 !ruby/object:Gem::Requirement
156
+ version_requirements: *2160204080
157
+ - !ruby/object:Gem::Dependency
158
+ name: defensio
159
+ requirement: &2160203600 !ruby/object:Gem::Requirement
141
160
  none: false
142
- requirements:
143
- - - ~>
144
- - !ruby/object:Gem::Version
161
+ requirements:
162
+ - - ! '>='
163
+ - !ruby/object:Gem::Version
145
164
  version: 0.9.1
146
165
  type: :development
147
- version_requirements: *id012
148
- - !ruby/object:Gem::Dependency
149
- name: simplecov
150
166
  prerelease: false
151
- requirement: &id013 !ruby/object:Gem::Requirement
167
+ version_requirements: *2160203600
168
+ - !ruby/object:Gem::Dependency
169
+ name: simplecov
170
+ requirement: &2160203120 !ruby/object:Gem::Requirement
152
171
  none: false
153
- requirements:
154
- - - ~>
155
- - !ruby/object:Gem::Version
172
+ requirements:
173
+ - - ! '>='
174
+ - !ruby/object:Gem::Version
156
175
  version: 0.4.2
157
176
  type: :development
158
- version_requirements: *id013
159
- - !ruby/object:Gem::Dependency
160
- name: webmock
161
177
  prerelease: false
162
- requirement: &id014 !ruby/object:Gem::Requirement
178
+ version_requirements: *2160203120
179
+ - !ruby/object:Gem::Dependency
180
+ name: webmock
181
+ requirement: &2160202640 !ruby/object:Gem::Requirement
163
182
  none: false
164
- requirements:
165
- - - ~>
166
- - !ruby/object:Gem::Version
183
+ requirements:
184
+ - - ! '>='
185
+ - !ruby/object:Gem::Version
167
186
  version: 1.6.4
168
187
  type: :development
169
- version_requirements: *id014
170
- description: |-
171
- Zen is a modular CMS written using Ramaze. Unlike traditional
172
- CMS' you are completely free to build whatever you want.
188
+ prerelease: false
189
+ version_requirements: *2160202640
190
+ description: Zen is a modular CMS written using Ramaze. Zen gives you complete freedom
191
+ to build whatever you want in whatever way you might want to build it.
173
192
  email: info@yorickpeterse.com
174
- executables:
193
+ executables:
175
194
  - zen
176
195
  extensions: []
177
-
178
196
  extra_rdoc_files: []
179
-
180
- files:
197
+ files:
198
+ - .gems
181
199
  - .gitignore
182
200
  - .mailmap
183
201
  - .rvmrc
184
202
  - .travis.yml
203
+ - .yardopts
185
204
  - AUTHORS
186
- - CHANGELOG.md
187
205
  - LICENSE
188
206
  - README.md
189
207
  - Rakefile
190
208
  - bin/zen
209
+ - guide/_static/categories/categories.png
210
+ - guide/_static/categories/category_groups.png
211
+ - guide/_static/categories/new_category.png
212
+ - guide/_static/categories/new_category_group.png
213
+ - guide/_static/comments/comments.png
214
+ - guide/_static/comments/edit_comment.png
215
+ - guide/_static/custom_fields/custom_field_groups.png
216
+ - guide/_static/custom_fields/custom_field_types.png
217
+ - guide/_static/custom_fields/custom_fields.png
218
+ - guide/_static/custom_fields/edit_custom_field_general.png
219
+ - guide/_static/custom_fields/edit_custom_field_group.png
220
+ - guide/_static/custom_fields/edit_custom_field_settings.png
221
+ - guide/_static/custom_fields/edit_custom_field_type.png
222
+ - guide/_static/menus/edit_menu.png
223
+ - guide/_static/menus/edit_menu_item.png
224
+ - guide/_static/menus/menu_items.png
225
+ - guide/_static/menus/menus.png
226
+ - guide/_static/sections/edit_entry.png
227
+ - guide/_static/sections/edit_entry_categories.png
228
+ - guide/_static/sections/edit_entry_general.png
229
+ - guide/_static/sections/edit_entry_meta.png
230
+ - guide/_static/sections/edit_section_comments.png
231
+ - guide/_static/sections/edit_section_general.png
232
+ - guide/_static/sections/edit_section_groups.png
233
+ - guide/_static/sections/entries.png
234
+ - guide/_static/sections/sections.png
235
+ - guide/_static/settings/overview_general.png
236
+ - guide/_static/settings/overview_security.png
237
+ - guide/_static/settings/overview_user.png
238
+ - guide/_static/users/edit_user.png
239
+ - guide/_static/users/edit_user_group.png
240
+ - guide/_static/users/edit_user_group_permissions.png
241
+ - guide/_static/users/edit_user_permissions.png
242
+ - guide/_static/users/overview.png
243
+ - guide/_static/users/user_groups_overview.png
244
+ - guide/asset_management.md
245
+ - guide/changelog.md
246
+ - guide/css/common.css
247
+ - guide/getting_started.md
248
+ - guide/hacking.md
249
+ - guide/installation.md
250
+ - guide/javascript.md
251
+ - lib/vendor/sequel_sluggable.rb
252
+ - lib/yard/tags.rb
191
253
  - lib/zen.rb
192
- - lib/zen/asset.rb
254
+ - lib/zen/asset_groups.rb
193
255
  - lib/zen/bin/create.rb
194
- - lib/zen/bin/runner.rb
256
+ - lib/zen/bin/default.rb
195
257
  - lib/zen/controller/admin_controller.rb
196
258
  - lib/zen/controller/base_controller.rb
197
259
  - lib/zen/controller/frontend_controller.rb
198
260
  - lib/zen/controller/main_controller.rb
199
261
  - lib/zen/controller/preview.rb
200
- - lib/zen/error/language_error.rb
201
- - lib/zen/error/package_error.rb
202
- - lib/zen/error/plugin_error.rb
203
- - lib/zen/error/theme_error.rb
204
- - lib/zen/error/validation_error.rb
205
- - lib/zen/helper/acl.rb
206
- - lib/zen/helper/blue_form_vendor.rb
262
+ - lib/zen/controller/translations.rb
263
+ - lib/zen/error.rb
264
+ - lib/zen/event.rb
265
+ - lib/zen/helper/asset.rb
207
266
  - lib/zen/helper/breadcrumb.rb
267
+ - lib/zen/helper/controller.rb
268
+ - lib/zen/helper/locale.rb
208
269
  - lib/zen/helper/message.rb
270
+ - lib/zen/helper/search.rb
271
+ - lib/zen/helper/stacked_aspect.rb
209
272
  - lib/zen/helper/theme.rb
210
273
  - lib/zen/language.rb
211
- - lib/zen/language/en/zen_general.yml
212
- - lib/zen/language/en/zen_models.yml
213
- - lib/zen/language/nl/zen_general.yml
214
- - lib/zen/language/nl/zen_models.yml
274
+ - lib/zen/language/en/zen_general.rb
275
+ - lib/zen/language/en/zen_models.rb
276
+ - lib/zen/language/nl/zen_general.rb
277
+ - lib/zen/language/nl/zen_models.rb
278
+ - lib/zen/language/translation.rb
279
+ - lib/zen/languages.rb
215
280
  - lib/zen/layout/admin.xhtml
216
281
  - lib/zen/layout/login.xhtml
282
+ - lib/zen/markup.rb
283
+ - lib/zen/model/helper.rb
284
+ - lib/zen/model/init.rb
217
285
  - lib/zen/model/methods.rb
218
- - lib/zen/model/settings.rb
219
286
  - lib/zen/package.rb
220
287
  - lib/zen/package/all.rb
221
- - lib/zen/package/base.rb
222
288
  - lib/zen/package/categories/lib/categories.rb
223
289
  - lib/zen/package/categories/lib/categories/controller/categories.rb
224
290
  - lib/zen/package/categories/lib/categories/controller/category_groups.rb
225
291
  - lib/zen/package/categories/lib/categories/helper/category.rb
226
- - lib/zen/package/categories/lib/categories/language/en/categories.yml
227
- - lib/zen/package/categories/lib/categories/language/en/category_groups.yml
228
- - lib/zen/package/categories/lib/categories/language/nl/categories.yml
229
- - lib/zen/package/categories/lib/categories/language/nl/category_groups.yml
292
+ - lib/zen/package/categories/lib/categories/helper/category_frontend.rb
293
+ - lib/zen/package/categories/lib/categories/language/en/categories.rb
294
+ - lib/zen/package/categories/lib/categories/language/en/category_groups.rb
295
+ - lib/zen/package/categories/lib/categories/language/nl/categories.rb
296
+ - lib/zen/package/categories/lib/categories/language/nl/category_groups.rb
230
297
  - lib/zen/package/categories/lib/categories/model/category.rb
231
298
  - lib/zen/package/categories/lib/categories/model/category_group.rb
232
- - lib/zen/package/categories/lib/categories/plugin/categories.rb
233
299
  - lib/zen/package/categories/lib/categories/view/admin/categories/form.xhtml
234
300
  - lib/zen/package/categories/lib/categories/view/admin/categories/index.xhtml
235
301
  - lib/zen/package/categories/lib/categories/view/admin/category-groups/form.xhtml
@@ -237,32 +303,33 @@ files:
237
303
  - lib/zen/package/categories/migrations/.gitkeep
238
304
  - lib/zen/package/categories/migrations/1295282303_create_schema.rb
239
305
  - lib/zen/package/comments/lib/comments.rb
306
+ - lib/zen/package/comments/lib/comments/anti_spam.rb
240
307
  - lib/zen/package/comments/lib/comments/controller/comments.rb
241
308
  - lib/zen/package/comments/lib/comments/controller/comments_form.rb
242
309
  - lib/zen/package/comments/lib/comments/helper/comment.rb
243
- - lib/zen/package/comments/lib/comments/language/en/comments.yml
244
- - lib/zen/package/comments/lib/comments/language/nl/comments.yml
310
+ - lib/zen/package/comments/lib/comments/helper/comment_frontend.rb
311
+ - lib/zen/package/comments/lib/comments/language/en/comments.rb
312
+ - lib/zen/package/comments/lib/comments/language/nl/comments.rb
245
313
  - lib/zen/package/comments/lib/comments/model/comment.rb
246
314
  - lib/zen/package/comments/lib/comments/model/comment_status.rb
247
- - lib/zen/package/comments/lib/comments/plugin/anti_spam.rb
248
- - lib/zen/package/comments/lib/comments/plugin/comments.rb
249
315
  - lib/zen/package/comments/lib/comments/view/admin/comments/form.xhtml
250
316
  - lib/zen/package/comments/lib/comments/view/admin/comments/index.xhtml
251
317
  - lib/zen/package/comments/migrations/.gitkeep
252
318
  - lib/zen/package/comments/migrations/1295282202_create_schema.rb
253
319
  - lib/zen/package/comments/migrations/1308774099_comment_status.rb
320
+ - lib/zen/package/comments/migrations/1313851786_remove_defensio_signature.rb
254
321
  - lib/zen/package/custom_fields/lib/custom_fields.rb
255
322
  - lib/zen/package/custom_fields/lib/custom_fields/blue_form_parameters.rb
256
323
  - lib/zen/package/custom_fields/lib/custom_fields/controller/custom_field_groups.rb
257
324
  - lib/zen/package/custom_fields/lib/custom_fields/controller/custom_field_types.rb
258
325
  - lib/zen/package/custom_fields/lib/custom_fields/controller/custom_fields.rb
259
326
  - lib/zen/package/custom_fields/lib/custom_fields/helper/custom_field.rb
260
- - lib/zen/package/custom_fields/lib/custom_fields/language/en/custom_field_groups.yml
261
- - lib/zen/package/custom_fields/lib/custom_fields/language/en/custom_field_types.yml
262
- - lib/zen/package/custom_fields/lib/custom_fields/language/en/custom_fields.yml
263
- - lib/zen/package/custom_fields/lib/custom_fields/language/nl/custom_field_groups.yml
264
- - lib/zen/package/custom_fields/lib/custom_fields/language/nl/custom_field_types.yml
265
- - lib/zen/package/custom_fields/lib/custom_fields/language/nl/custom_fields.yml
327
+ - lib/zen/package/custom_fields/lib/custom_fields/language/en/custom_field_groups.rb
328
+ - lib/zen/package/custom_fields/lib/custom_fields/language/en/custom_field_types.rb
329
+ - lib/zen/package/custom_fields/lib/custom_fields/language/en/custom_fields.rb
330
+ - lib/zen/package/custom_fields/lib/custom_fields/language/nl/custom_field_groups.rb
331
+ - lib/zen/package/custom_fields/lib/custom_fields/language/nl/custom_field_types.rb
332
+ - lib/zen/package/custom_fields/lib/custom_fields/language/nl/custom_fields.rb
266
333
  - lib/zen/package/custom_fields/lib/custom_fields/model/custom_field.rb
267
334
  - lib/zen/package/custom_fields/lib/custom_fields/model/custom_field_group.rb
268
335
  - lib/zen/package/custom_fields/lib/custom_fields/model/custom_field_method.rb
@@ -278,17 +345,23 @@ files:
278
345
  - lib/zen/package/custom_fields/migrations/1295255665_create_schema.rb
279
346
  - lib/zen/package/custom_fields/migrations/1310659580_custom_field_types.rb
280
347
  - lib/zen/package/custom_fields/migrations/1311694920_rename_css_class.rb
348
+ - lib/zen/package/extensions/lib/extensions.rb
349
+ - lib/zen/package/extensions/lib/extensions/controller/extensions.rb
350
+ - lib/zen/package/extensions/lib/extensions/language/en/extensions.rb
351
+ - lib/zen/package/extensions/lib/extensions/language/nl/extensions.rb
352
+ - lib/zen/package/extensions/lib/extensions/view/admin/extensions/index.xhtml
353
+ - lib/zen/package/menu.rb
281
354
  - lib/zen/package/menus/lib/menus.rb
282
355
  - lib/zen/package/menus/lib/menus/controller/menu_items.rb
283
356
  - lib/zen/package/menus/lib/menus/controller/menus.rb
284
357
  - lib/zen/package/menus/lib/menus/helper/menu.rb
285
- - lib/zen/package/menus/lib/menus/language/en/menu_items.yml
286
- - lib/zen/package/menus/lib/menus/language/en/menus.yml
287
- - lib/zen/package/menus/lib/menus/language/nl/menu_items.yml
288
- - lib/zen/package/menus/lib/menus/language/nl/menus.yml
358
+ - lib/zen/package/menus/lib/menus/helper/menu_frontend.rb
359
+ - lib/zen/package/menus/lib/menus/language/en/menu_items.rb
360
+ - lib/zen/package/menus/lib/menus/language/en/menus.rb
361
+ - lib/zen/package/menus/lib/menus/language/nl/menu_items.rb
362
+ - lib/zen/package/menus/lib/menus/language/nl/menus.rb
289
363
  - lib/zen/package/menus/lib/menus/model/menu.rb
290
364
  - lib/zen/package/menus/lib/menus/model/menu_item.rb
291
- - lib/zen/package/menus/lib/menus/plugin/menus.rb
292
365
  - lib/zen/package/menus/lib/menus/view/admin/menu-items/form.xhtml
293
366
  - lib/zen/package/menus/lib/menus/view/admin/menu-items/index.xhtml
294
367
  - lib/zen/package/menus/lib/menus/view/admin/menus/form.xhtml
@@ -301,15 +374,14 @@ files:
301
374
  - lib/zen/package/sections/lib/sections/controller/section_entries.rb
302
375
  - lib/zen/package/sections/lib/sections/controller/sections.rb
303
376
  - lib/zen/package/sections/lib/sections/helper/section.rb
304
- - lib/zen/package/sections/lib/sections/language/en/section_entries.yml
305
- - lib/zen/package/sections/lib/sections/language/en/sections.yml
306
- - lib/zen/package/sections/lib/sections/language/nl/section_entries.yml
307
- - lib/zen/package/sections/lib/sections/language/nl/sections.yml
377
+ - lib/zen/package/sections/lib/sections/helper/section_frontend.rb
378
+ - lib/zen/package/sections/lib/sections/language/en/section_entries.rb
379
+ - lib/zen/package/sections/lib/sections/language/en/sections.rb
380
+ - lib/zen/package/sections/lib/sections/language/nl/section_entries.rb
381
+ - lib/zen/package/sections/lib/sections/language/nl/sections.rb
308
382
  - lib/zen/package/sections/lib/sections/model/section.rb
309
383
  - lib/zen/package/sections/lib/sections/model/section_entry.rb
310
384
  - lib/zen/package/sections/lib/sections/model/section_entry_status.rb
311
- - lib/zen/package/sections/lib/sections/plugin/section_entries.rb
312
- - lib/zen/package/sections/lib/sections/plugin/sections.rb
313
385
  - lib/zen/package/sections/lib/sections/view/admin/form.xhtml
314
386
  - lib/zen/package/sections/lib/sections/view/admin/index.xhtml
315
387
  - lib/zen/package/sections/lib/sections/view/admin/section-entries/form.xhtml
@@ -320,52 +392,56 @@ files:
320
392
  - lib/zen/package/sections/migrations/1308672298_use_id_for_default_section.rb
321
393
  - lib/zen/package/sections/migrations/1308813320_section_entry_statuses.rb
322
394
  - lib/zen/package/settings/lib/settings.rb
395
+ - lib/zen/package/settings/lib/settings/blue_form_parameters.rb
323
396
  - lib/zen/package/settings/lib/settings/controller/settings.rb
324
- - lib/zen/package/settings/lib/settings/language/en/settings.yml
325
- - lib/zen/package/settings/lib/settings/language/nl/settings.yml
397
+ - lib/zen/package/settings/lib/settings/language/en/settings.rb
398
+ - lib/zen/package/settings/lib/settings/language/nl/settings.rb
326
399
  - lib/zen/package/settings/lib/settings/model/setting.rb
327
- - lib/zen/package/settings/lib/settings/plugin/group_base.rb
328
- - lib/zen/package/settings/lib/settings/plugin/setting_base.rb
329
- - lib/zen/package/settings/lib/settings/plugin/settings.rb
400
+ - lib/zen/package/settings/lib/settings/setting.rb
401
+ - lib/zen/package/settings/lib/settings/setting_groups.rb
402
+ - lib/zen/package/settings/lib/settings/settings.rb
403
+ - lib/zen/package/settings/lib/settings/settings_group.rb
404
+ - lib/zen/package/settings/lib/settings/singleton_methods.rb
330
405
  - lib/zen/package/settings/lib/settings/view/admin/settings/index.xhtml
331
406
  - lib/zen/package/settings/migrations/.gitkeep
332
407
  - lib/zen/package/settings/migrations/1295597111_create_schema.rb
333
408
  - lib/zen/package/settings/migrations/1299538742_add_language_key.rb
334
409
  - lib/zen/package/settings/migrations/1303196915_settings_plugin.rb
335
410
  - lib/zen/package/settings/migrations/1307796295_remove_website_enabled.rb
411
+ - lib/zen/package/settings/migrations/1321197919_remove_unused_columns.rb
336
412
  - lib/zen/package/users/lib/users.rb
337
- - lib/zen/package/users/lib/users/controller/access_rules.rb
338
413
  - lib/zen/package/users/lib/users/controller/user_groups.rb
339
414
  - lib/zen/package/users/lib/users/controller/users.rb
415
+ - lib/zen/package/users/lib/users/helper/access.rb
416
+ - lib/zen/package/users/lib/users/helper/acl.rb
340
417
  - lib/zen/package/users/lib/users/helper/users.rb
341
- - lib/zen/package/users/lib/users/language/en/access_rules.yml
342
- - lib/zen/package/users/lib/users/language/en/user_groups.yml
343
- - lib/zen/package/users/lib/users/language/en/users.yml
344
- - lib/zen/package/users/lib/users/language/nl/access_rules.yml
345
- - lib/zen/package/users/lib/users/language/nl/user_groups.yml
346
- - lib/zen/package/users/lib/users/language/nl/users.yml
347
- - lib/zen/package/users/lib/users/model/access_rule.rb
418
+ - lib/zen/package/users/lib/users/language/en/permissions.rb
419
+ - lib/zen/package/users/lib/users/language/en/user_groups.rb
420
+ - lib/zen/package/users/lib/users/language/en/users.rb
421
+ - lib/zen/package/users/lib/users/language/nl/permissions.rb
422
+ - lib/zen/package/users/lib/users/language/nl/user_groups.rb
423
+ - lib/zen/package/users/lib/users/language/nl/users.rb
424
+ - lib/zen/package/users/lib/users/model/permission.rb
348
425
  - lib/zen/package/users/lib/users/model/user.rb
349
426
  - lib/zen/package/users/lib/users/model/user_group.rb
350
- - lib/zen/package/users/lib/users/public/admin/js/users/access_rules.js
351
- - lib/zen/package/users/lib/users/public/admin/js/users/lib/access_rules.js
352
- - lib/zen/package/users/lib/users/view/admin/access-rules/form.xhtml
353
- - lib/zen/package/users/lib/users/view/admin/access-rules/index.xhtml
427
+ - lib/zen/package/users/lib/users/model/user_status.rb
428
+ - lib/zen/package/users/lib/users/public/admin/css/users/permissions.css
429
+ - lib/zen/package/users/lib/users/public/admin/js/users/permissions.js
430
+ - lib/zen/package/users/lib/users/settings.rb
354
431
  - lib/zen/package/users/lib/users/view/admin/user-groups/form.xhtml
355
432
  - lib/zen/package/users/lib/users/view/admin/user-groups/index.xhtml
356
433
  - lib/zen/package/users/lib/users/view/admin/users/form.xhtml
357
434
  - lib/zen/package/users/lib/users/view/admin/users/index.xhtml
358
435
  - lib/zen/package/users/lib/users/view/admin/users/login.xhtml
436
+ - lib/zen/package/users/lib/users/view/admin/users/permissions.xhtml
437
+ - lib/zen/package/users/lib/users/view/admin/users/register.xhtml
359
438
  - lib/zen/package/users/migrations/.gitkeep
360
439
  - lib/zen/package/users/migrations/1295281013_create_schema.rb
361
440
  - lib/zen/package/users/migrations/1303510943_class_rules.rb
362
441
  - lib/zen/package/users/migrations/1304939855_user_settings.rb
363
- - lib/zen/plugin.rb
364
- - lib/zen/plugin/base.rb
365
- - lib/zen/plugin/helper.rb
366
- - lib/zen/plugin/markup/lib/markup.rb
367
- - lib/zen/plugin/markup/lib/markup/language/en/markup.yml
368
- - lib/zen/plugin/markup/lib/markup/markup.rb
442
+ - lib/zen/package/users/migrations/1313786058_update_default_date.rb
443
+ - lib/zen/package/users/migrations/1316432327_permissions.rb
444
+ - lib/zen/package/users/migrations/1320272365_status_ids.rb
369
445
  - lib/zen/public/admin/css/zen/buttons.css
370
446
  - lib/zen/public/admin/css/zen/datepicker.css
371
447
  - lib/zen/public/admin/css/zen/editor.css
@@ -404,7 +480,6 @@ files:
404
480
  - lib/zen/public/admin/js/vendor/mootools/core.js
405
481
  - lib/zen/public/admin/js/vendor/mootools/more.js
406
482
  - lib/zen/public/admin/js/zen/index.js
407
- - lib/zen/public/admin/js/zen/lib/asset.js
408
483
  - lib/zen/public/admin/js/zen/lib/editor.js
409
484
  - lib/zen/public/admin/js/zen/lib/editor/markdown.js
410
485
  - lib/zen/public/admin/js/zen/lib/editor/textile.js
@@ -419,44 +494,55 @@ files:
419
494
  - lib/zen/task/clean.rake
420
495
  - lib/zen/task/db.rake
421
496
  - lib/zen/task/package.rake
422
- - lib/zen/task/plugin.rake
423
497
  - lib/zen/task/proto.rake
498
+ - lib/zen/task/setup.rake
424
499
  - lib/zen/task/test.rake
425
500
  - lib/zen/task/theme.rake
426
501
  - lib/zen/theme.rb
427
- - lib/zen/theme/base.rb
428
502
  - lib/zen/validation.rb
429
503
  - lib/zen/version.rb
430
504
  - lib/zen/view/bottom.xhtml
431
505
  - lib/zen/view/head.xhtml
432
506
  - lib/zen/view/main.xhtml
507
+ - lib/zen/view/search.xhtml
433
508
  - pkg/.gitkeep
434
509
  - proto/app/Rakefile
435
510
  - proto/app/app.rb
436
511
  - proto/app/config.ru
437
- - proto/app/config/config.rb
438
- - proto/app/config/database.rb
512
+ - proto/app/config/config.rb.erb
513
+ - proto/app/config/database.rb.erb
439
514
  - proto/app/config/middlewares.rb
440
515
  - proto/app/log/.gitkeep
441
- - proto/app/log/database/dev/.gitkeep
442
- - proto/app/log/database/live/.gitkeep
443
516
  - proto/app/public/.gitkeep
444
517
  - proto/app/start.rb
445
518
  - proto/app/task/.gitkeep
446
519
  - proto/app/theme/.gitkeep
520
+ - proto/app/theme/default/index.xhtml
521
+ - proto/app/theme/theme.rb
522
+ - proto/app/tmp/.gitkeep
447
523
  - proto/migration.rb
524
+ - proto/rack/thin.yml
525
+ - proto/rack/unicorn.rb
448
526
  - spec/Rakefile
449
527
  - spec/fixtures/zen/asset.rb
450
528
  - spec/fixtures/zen/helper/acl.rb
529
+ - spec/fixtures/zen/helper/controller.rb
530
+ - spec/fixtures/zen/helper/locale.rb
451
531
  - spec/fixtures/zen/helper/message.rb
452
- - spec/fixtures/zen/language/en/spec.yml
453
- - spec/fixtures/zen/language/nl/spec.yml
532
+ - spec/fixtures/zen/language.rb
533
+ - spec/fixtures/zen/language/en/spec.rb
534
+ - spec/fixtures/zen/language/nl/spec.rb
454
535
  - spec/fixtures/zen/package.rb
536
+ - spec/fixtures/zen/package/categories/helper/category_frontend.rb
455
537
  - spec/fixtures/zen/package/comments/controller/comments_form.rb
456
- - spec/fixtures/zen/package/settings/plugin/settings.rb
538
+ - spec/fixtures/zen/package/comments/helper/comment_frontend.rb
539
+ - spec/fixtures/zen/package/sections/helper/section_frontend.rb
540
+ - spec/fixtures/zen/package/settings/controller/settings.rb
541
+ - spec/fixtures/zen/package/users/helper/access.rb
542
+ - spec/fixtures/zen/package/users/helper/acl.rb
457
543
  - spec/fixtures/zen/plugin.rb
458
544
  - spec/fixtures/zen/theme/404.xhtml
459
- - spec/fixtures/zen/theme/default-section/index.xhtml
545
+ - spec/fixtures/zen/theme/default/index.xhtml
460
546
  - spec/fixtures/zen/theme/helper/404.xhtml
461
547
  - spec/fixtures/zen/theme/helper/partial.xhtml
462
548
  - spec/fixtures/zen/theme/helper/wrong_partial.xhtml
@@ -464,81 +550,76 @@ files:
464
550
  - spec/fixtures/zen/theme/theme.rb
465
551
  - spec/fixtures/zen/validation.rb
466
552
  - spec/helper.rb
553
+ - spec/public/.gitkeep
467
554
  - spec/zen/all.rb
468
- - spec/zen/asset.rb
469
- - spec/zen/bin/create.rb
470
- - spec/zen/bin/runner.rb
471
555
  - spec/zen/controller/admin_controller.rb
472
556
  - spec/zen/controller/main_controller.rb
473
557
  - spec/zen/controller/preview.rb
474
- - spec/zen/helper/acl.rb
558
+ - spec/zen/event.rb
475
559
  - spec/zen/helper/breadcrumb.rb
560
+ - spec/zen/helper/controller.rb
561
+ - spec/zen/helper/locale.rb
476
562
  - spec/zen/helper/message.rb
477
563
  - spec/zen/helper/theme.rb
478
564
  - spec/zen/language.rb
565
+ - spec/zen/markup.rb
479
566
  - spec/zen/package.rb
480
567
  - spec/zen/package/categories/controller/categories.rb
481
568
  - spec/zen/package/categories/controller/category_groups.rb
482
569
  - spec/zen/package/categories/helper/category.rb
483
- - spec/zen/package/categories/plugin/categories.rb
570
+ - spec/zen/package/categories/helper/category_frontend.rb
571
+ - spec/zen/package/comments/anti_spam.rb
484
572
  - spec/zen/package/comments/controller/comments.rb
485
573
  - spec/zen/package/comments/controller/comments_form.rb
486
574
  - spec/zen/package/comments/helper/comment.rb
487
- - spec/zen/package/comments/plugin/anti_spam.rb
488
- - spec/zen/package/comments/plugin/comments.rb
575
+ - spec/zen/package/comments/helper/comment_frontend.rb
489
576
  - spec/zen/package/custom_fields/blue_form_parameters.rb
490
577
  - spec/zen/package/custom_fields/controller/custom_field_groups.rb
491
578
  - spec/zen/package/custom_fields/controller/custom_field_types.rb
492
579
  - spec/zen/package/custom_fields/controller/custom_fields.rb
493
580
  - spec/zen/package/custom_fields/helper/custom_field.rb
581
+ - spec/zen/package/extensions/controller/extensions.rb
494
582
  - spec/zen/package/menus/controller/menu_items.rb
495
583
  - spec/zen/package/menus/controller/menus.rb
496
584
  - spec/zen/package/menus/helper/menu.rb
497
- - spec/zen/package/menus/plugin/menus.rb
585
+ - spec/zen/package/menus/helper/menu_frontend.rb
498
586
  - spec/zen/package/sections/controller/section_entries.rb
499
587
  - spec/zen/package/sections/controller/sections.rb
500
588
  - spec/zen/package/sections/helper/section.rb
501
- - spec/zen/package/sections/plugin/section_entries.rb
502
- - spec/zen/package/sections/plugin/sections.rb
589
+ - spec/zen/package/sections/helper/section_frontend.rb
503
590
  - spec/zen/package/settings/controller/settings.rb
504
- - spec/zen/package/settings/plugin/settings.rb
505
- - spec/zen/package/users/controller/access_rules.rb
591
+ - spec/zen/package/settings/settings.rb
506
592
  - spec/zen/package/users/controller/user_groups.rb
507
593
  - spec/zen/package/users/controller/users.rb
594
+ - spec/zen/package/users/helper/access.rb
595
+ - spec/zen/package/users/helper/acl.rb
508
596
  - spec/zen/package/users/helper/users.rb
509
- - spec/zen/plugin.rb
510
- - spec/zen/plugin/helper.rb
511
- - spec/zen/plugin/markup.rb
512
597
  - spec/zen/theme.rb
513
598
  - spec/zen/validation.rb
514
599
  - zen.gemspec
515
- has_rdoc: yard
516
600
  homepage: http://zen-cms.com/
517
601
  licenses: []
518
-
519
602
  post_install_message:
520
603
  rdoc_options: []
521
-
522
- require_paths:
604
+ require_paths:
523
605
  - lib
524
- required_ruby_version: !ruby/object:Gem::Requirement
606
+ required_ruby_version: !ruby/object:Gem::Requirement
525
607
  none: false
526
- requirements:
527
- - - ">="
528
- - !ruby/object:Gem::Version
529
- version: "0"
530
- required_rubygems_version: !ruby/object:Gem::Requirement
608
+ requirements:
609
+ - - ! '>='
610
+ - !ruby/object:Gem::Version
611
+ version: 1.9.2
612
+ required_rubygems_version: !ruby/object:Gem::Requirement
531
613
  none: false
532
- requirements:
533
- - - ">="
534
- - !ruby/object:Gem::Version
535
- version: "0"
614
+ requirements:
615
+ - - ! '>'
616
+ - !ruby/object:Gem::Version
617
+ version: 1.3.1
536
618
  requirements: []
537
-
538
619
  rubyforge_project:
539
- rubygems_version: 1.6.2
620
+ rubygems_version: 1.8.10
540
621
  signing_key:
541
622
  specification_version: 3
542
623
  summary: Zen is a modular CMS written using Ramaze.
543
624
  test_files: []
544
-
625
+ has_rdoc: yard