typus 3.0.12 → 3.1.0.rc1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (339) hide show
  1. data/Gemfile +10 -16
  2. data/README.md +7 -10
  3. data/app/assets/{vendor/typus/vendor/jquery.fancybox-1.3.4/fancybox → images/typus}/blank.gif +0 -0
  4. data/app/assets/{vendor/typus/vendor/jquery.fancybox-1.3.4/fancybox → images/typus}/fancy_close.png +0 -0
  5. data/app/assets/{vendor/typus/vendor/jquery.fancybox-1.3.4/fancybox → images/typus}/fancy_loading.png +0 -0
  6. data/app/assets/{vendor/typus/vendor/jquery.fancybox-1.3.4/fancybox → images/typus}/fancy_nav_left.png +0 -0
  7. data/app/assets/{vendor/typus/vendor/jquery.fancybox-1.3.4/fancybox → images/typus}/fancy_nav_right.png +0 -0
  8. data/app/assets/{vendor/typus/vendor/jquery.fancybox-1.3.4/fancybox → images/typus}/fancy_shadow_e.png +0 -0
  9. data/app/assets/{vendor/typus/vendor/jquery.fancybox-1.3.4/fancybox → images/typus}/fancy_shadow_n.png +0 -0
  10. data/app/assets/{vendor/typus/vendor/jquery.fancybox-1.3.4/fancybox → images/typus}/fancy_shadow_ne.png +0 -0
  11. data/app/assets/{vendor/typus/vendor/jquery.fancybox-1.3.4/fancybox → images/typus}/fancy_shadow_nw.png +0 -0
  12. data/app/assets/{vendor/typus/vendor/jquery.fancybox-1.3.4/fancybox → images/typus}/fancy_shadow_s.png +0 -0
  13. data/app/assets/{vendor/typus/vendor/jquery.fancybox-1.3.4/fancybox → images/typus}/fancy_shadow_se.png +0 -0
  14. data/app/assets/{vendor/typus/vendor/jquery.fancybox-1.3.4/fancybox → images/typus}/fancy_shadow_sw.png +0 -0
  15. data/app/assets/{vendor/typus/vendor/jquery.fancybox-1.3.4/fancybox → images/typus}/fancy_shadow_w.png +0 -0
  16. data/app/assets/{vendor/typus/vendor/jquery.fancybox-1.3.4/fancybox → images/typus}/fancy_title_left.png +0 -0
  17. data/app/assets/{vendor/typus/vendor/jquery.fancybox-1.3.4/fancybox → images/typus}/fancy_title_main.png +0 -0
  18. data/app/assets/{vendor/typus/vendor/jquery.fancybox-1.3.4/fancybox → images/typus}/fancy_title_over.png +0 -0
  19. data/app/assets/{vendor/typus/vendor/jquery.fancybox-1.3.4/fancybox → images/typus}/fancy_title_right.png +0 -0
  20. data/app/assets/{vendor/typus/vendor/jquery.fancybox-1.3.4/fancybox → images/typus}/fancybox-x.png +0 -0
  21. data/app/assets/{vendor/typus/vendor/jquery.fancybox-1.3.4/fancybox → images/typus}/fancybox-y.png +0 -0
  22. data/app/assets/{vendor/typus/vendor/jquery.fancybox-1.3.4/fancybox → images/typus}/fancybox.png +0 -0
  23. data/app/assets/javascripts/typus/application.js +7 -0
  24. data/app/assets/{vendor/typus/javascripts/application.js → javascripts/typus/custom.js} +0 -0
  25. data/app/assets/{vendor/typus/javascripts → javascripts/typus}/jquery.application.js +6 -8
  26. data/app/assets/{vendor/typus/javascripts → javascripts/typus}/jquery.rails.autocomplete.js +0 -0
  27. data/app/assets/{vendor/typus/javascripts → javascripts/typus}/jquery.searchField.js +0 -0
  28. data/app/assets/stylesheets/typus/application.css +7 -0
  29. data/app/assets/{vendor/typus/stylesheets/application.css → stylesheets/typus/custom.css} +0 -0
  30. data/app/assets/stylesheets/typus/pagination.css +17 -0
  31. data/app/assets/{vendor/typus/stylesheets → stylesheets/typus}/reset.css +0 -0
  32. data/app/assets/{vendor/typus/stylesheets → stylesheets/typus}/screen.css +2 -27
  33. data/app/assets/vendor/{typus/vendor/jquery-tokeninput → jquery-tokeninput}/css/token-input-facebook.css +0 -0
  34. data/app/assets/vendor/{typus/vendor/jquery-tokeninput → jquery-tokeninput}/css/token-input-mac.css +0 -0
  35. data/app/assets/vendor/{typus/vendor/jquery-tokeninput → jquery-tokeninput}/css/token-input.css +0 -0
  36. data/app/assets/vendor/{typus/vendor/jquery-tokeninput → jquery-tokeninput}/js/jquery.tokeninput.js +0 -0
  37. data/app/assets/vendor/{typus/vendor/jquery-ui-1.8.12.custom → jquery-ui-1.8.12.custom}/css/ui-lightness/images/ui-bg_diagonals-thick_18_b81900_40x40.png +0 -0
  38. data/app/assets/vendor/{typus/vendor/jquery-ui-1.8.12.custom → jquery-ui-1.8.12.custom}/css/ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png +0 -0
  39. data/app/assets/vendor/{typus/vendor/jquery-ui-1.8.12.custom → jquery-ui-1.8.12.custom}/css/ui-lightness/images/ui-bg_flat_10_000000_40x100.png +0 -0
  40. data/app/assets/vendor/{typus/vendor/jquery-ui-1.8.12.custom → jquery-ui-1.8.12.custom}/css/ui-lightness/images/ui-bg_glass_100_f6f6f6_1x400.png +0 -0
  41. data/app/assets/vendor/{typus/vendor/jquery-ui-1.8.12.custom → jquery-ui-1.8.12.custom}/css/ui-lightness/images/ui-bg_glass_100_fdf5ce_1x400.png +0 -0
  42. data/app/assets/vendor/{typus/vendor/jquery-ui-1.8.12.custom → jquery-ui-1.8.12.custom}/css/ui-lightness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  43. data/app/assets/vendor/{typus/vendor/jquery-ui-1.8.12.custom → jquery-ui-1.8.12.custom}/css/ui-lightness/images/ui-bg_gloss-wave_35_f6a828_500x100.png +0 -0
  44. data/app/assets/vendor/{typus/vendor/jquery-ui-1.8.12.custom → jquery-ui-1.8.12.custom}/css/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png +0 -0
  45. data/app/assets/vendor/{typus/vendor/jquery-ui-1.8.12.custom → jquery-ui-1.8.12.custom}/css/ui-lightness/images/ui-bg_highlight-soft_75_ffe45c_1x100.png +0 -0
  46. data/app/assets/vendor/{typus/vendor/jquery-ui-1.8.12.custom → jquery-ui-1.8.12.custom}/css/ui-lightness/images/ui-icons_222222_256x240.png +0 -0
  47. data/app/assets/vendor/{typus/vendor/jquery-ui-1.8.12.custom → jquery-ui-1.8.12.custom}/css/ui-lightness/images/ui-icons_228ef1_256x240.png +0 -0
  48. data/app/assets/vendor/{typus/vendor/jquery-ui-1.8.12.custom → jquery-ui-1.8.12.custom}/css/ui-lightness/images/ui-icons_ef8c08_256x240.png +0 -0
  49. data/app/assets/vendor/{typus/vendor/jquery-ui-1.8.12.custom → jquery-ui-1.8.12.custom}/css/ui-lightness/images/ui-icons_ffd27a_256x240.png +0 -0
  50. data/app/assets/vendor/{typus/vendor/jquery-ui-1.8.12.custom → jquery-ui-1.8.12.custom}/css/ui-lightness/images/ui-icons_ffffff_256x240.png +0 -0
  51. data/app/assets/vendor/{typus/vendor/jquery-ui-1.8.12.custom → jquery-ui-1.8.12.custom}/css/ui-lightness/jquery-ui-1.8.12.custom.css +0 -0
  52. data/app/assets/vendor/{typus/vendor/jquery-ui-1.8.12.custom → jquery-ui-1.8.12.custom}/index.html +0 -0
  53. data/app/assets/vendor/{typus/vendor/jquery-ui-1.8.12.custom → jquery-ui-1.8.12.custom}/js/jquery-ui-1.8.12.custom.min.js +0 -0
  54. data/app/assets/vendor/jquery.fancybox-1.3.4/fancybox/blank.gif +0 -0
  55. data/app/assets/vendor/jquery.fancybox-1.3.4/fancybox/fancy_close.png +0 -0
  56. data/app/assets/vendor/jquery.fancybox-1.3.4/fancybox/fancy_loading.png +0 -0
  57. data/app/assets/vendor/jquery.fancybox-1.3.4/fancybox/fancy_nav_left.png +0 -0
  58. data/app/assets/vendor/jquery.fancybox-1.3.4/fancybox/fancy_nav_right.png +0 -0
  59. data/app/assets/vendor/jquery.fancybox-1.3.4/fancybox/fancy_shadow_e.png +0 -0
  60. data/app/assets/vendor/jquery.fancybox-1.3.4/fancybox/fancy_shadow_n.png +0 -0
  61. data/app/assets/vendor/jquery.fancybox-1.3.4/fancybox/fancy_shadow_ne.png +0 -0
  62. data/app/assets/vendor/jquery.fancybox-1.3.4/fancybox/fancy_shadow_nw.png +0 -0
  63. data/app/assets/vendor/jquery.fancybox-1.3.4/fancybox/fancy_shadow_s.png +0 -0
  64. data/app/assets/vendor/jquery.fancybox-1.3.4/fancybox/fancy_shadow_se.png +0 -0
  65. data/app/assets/vendor/jquery.fancybox-1.3.4/fancybox/fancy_shadow_sw.png +0 -0
  66. data/app/assets/vendor/jquery.fancybox-1.3.4/fancybox/fancy_shadow_w.png +0 -0
  67. data/app/assets/vendor/jquery.fancybox-1.3.4/fancybox/fancy_title_left.png +0 -0
  68. data/app/assets/vendor/jquery.fancybox-1.3.4/fancybox/fancy_title_main.png +0 -0
  69. data/app/assets/vendor/jquery.fancybox-1.3.4/fancybox/fancy_title_over.png +0 -0
  70. data/app/assets/vendor/jquery.fancybox-1.3.4/fancybox/fancy_title_right.png +0 -0
  71. data/app/assets/vendor/jquery.fancybox-1.3.4/fancybox/fancybox-x.png +0 -0
  72. data/app/assets/vendor/jquery.fancybox-1.3.4/fancybox/fancybox-y.png +0 -0
  73. data/app/assets/vendor/jquery.fancybox-1.3.4/fancybox/fancybox.png +0 -0
  74. data/app/assets/vendor/{typus/vendor/jquery.fancybox-1.3.4 → jquery.fancybox-1.3.4}/fancybox/jquery.easing-1.3.pack.js +0 -0
  75. data/app/assets/vendor/{typus/vendor/jquery.fancybox-1.3.4 → jquery.fancybox-1.3.4}/fancybox/jquery.fancybox-1.3.4.css +0 -0
  76. data/app/assets/vendor/{typus/vendor/jquery.fancybox-1.3.4 → jquery.fancybox-1.3.4}/fancybox/jquery.fancybox-1.3.4.js +0 -0
  77. data/app/assets/vendor/{typus/vendor/jquery.fancybox-1.3.4 → jquery.fancybox-1.3.4}/fancybox/jquery.fancybox-1.3.4.pack.js +0 -0
  78. data/app/assets/vendor/{typus/vendor/jquery.fancybox-1.3.4 → jquery.fancybox-1.3.4}/fancybox/jquery.mousewheel-3.0.4.pack.js +0 -0
  79. data/app/controllers/admin/base_controller.rb +5 -3
  80. data/app/controllers/admin/resources_controller.rb +3 -7
  81. data/app/controllers/admin/session_controller.rb +2 -5
  82. data/app/helpers/admin/base_helper.rb +1 -1
  83. data/app/helpers/admin/display_helper.rb +0 -2
  84. data/app/helpers/admin/file_preview_helper.rb +10 -10
  85. data/app/helpers/admin/filters_helper.rb +1 -1
  86. data/app/helpers/admin/relationships_helper.rb +20 -21
  87. data/app/helpers/admin/sidebar_helper.rb +1 -8
  88. data/app/helpers/admin/table_helper.rb +8 -8
  89. data/app/views/admin/dashboard/_applications.html.erb +1 -1
  90. data/app/views/admin/helpers/base/_apps.html.erb +2 -7
  91. data/app/views/admin/helpers/base/_header.html.erb +1 -1
  92. data/app/views/admin/helpers/resources/_errors.html.erb +1 -1
  93. data/app/views/admin/helpers/sidebar/_sidebar.html.erb +1 -1
  94. data/app/views/admin/resources/index.html.erb +4 -4
  95. data/app/views/admin/shared/_head.html.erb +2 -17
  96. data/app/views/admin/templates/_belongs_to_with_autocomplete.html.erb +1 -1
  97. data/app/views/admin/templates/_has_n.html.erb +3 -3
  98. data/app/views/admin/templates/_has_one.html.erb +2 -2
  99. data/app/views/admin/templates/_selector.html.erb +7 -2
  100. data/config/locales/typus.ca.yml +1 -1
  101. data/config/locales/typus.de.models.yml +5 -6
  102. data/config/locales/typus.de.yml +36 -39
  103. data/config/locales/typus.el.yml +1 -1
  104. data/config/locales/typus.es.yml +1 -1
  105. data/config/locales/typus.fr.yml +1 -2
  106. data/config/locales/typus.hu.yml +1 -1
  107. data/config/locales/typus.locale.yml.template +1 -1
  108. data/config/locales/typus.pt-BR.yml +1 -1
  109. data/config/locales/typus.ru.yml +1 -1
  110. data/config/locales/typus.zh-CN.yml +1 -1
  111. data/config/routes.rb +2 -2
  112. data/lib/generators/templates/config/initializers/typus.rb +1 -3
  113. data/lib/generators/templates/config/typus/README +0 -1
  114. data/lib/generators/typus/migration_generator.rb +0 -3
  115. data/lib/support/active_record.rb +7 -9
  116. data/lib/typus.rb +7 -8
  117. data/lib/typus/authentication/session.rb +3 -2
  118. data/lib/typus/controller/associations.rb +2 -2
  119. data/lib/typus/controller/format.rb +3 -3
  120. data/lib/typus/engine.rb +2 -6
  121. data/lib/typus/i18n.rb +4 -0
  122. data/lib/typus/orm/active_record/admin_user_v1.rb +13 -12
  123. data/lib/typus/orm/active_record/admin_user_v2.rb +31 -1
  124. data/lib/typus/orm/active_record/class_methods.rb +1 -0
  125. data/lib/typus/orm/base.rb +0 -4
  126. data/lib/typus/regex.rb +2 -0
  127. data/lib/typus/version.rb +1 -1
  128. data/test/app/controllers/admin/account_controller_test.rb +94 -0
  129. data/test/app/controllers/admin/assets_controller_test.rb +156 -0
  130. data/test/app/controllers/admin/base_controller_test.rb +25 -0
  131. data/test/app/controllers/admin/birds_controller_test.rb +33 -0
  132. data/test/app/controllers/admin/cases_controller_test.rb +20 -0
  133. data/test/app/controllers/admin/categories_controller_test.rb +134 -0
  134. data/test/app/controllers/admin/comments_controller_test.rb +71 -0
  135. data/test/app/controllers/admin/dashboard_controller_test.rb +150 -0
  136. data/test/app/controllers/admin/image_holders_controller_test.rb +74 -0
  137. data/test/app/controllers/admin/invoices_controller_test.rb +77 -0
  138. data/test/app/controllers/admin/orders_controller_test.rb +17 -0
  139. data/test/app/controllers/admin/pages_controller_test.rb +33 -0
  140. data/test/app/controllers/admin/posts_controller_test.rb +764 -0
  141. data/test/app/controllers/admin/projects_controller_test.rb +48 -0
  142. data/test/app/controllers/admin/session_controller_test.rb +91 -0
  143. data/test/app/controllers/admin/status_controller_test.rb +33 -0
  144. data/test/app/controllers/admin/typus_users_controller_test.rb +154 -0
  145. data/test/app/controllers/admin/users_controller_test.rb +101 -0
  146. data/test/app/controllers/admin/views_controller_test.rb +36 -0
  147. data/test/app/helpers/admin/base_helper_test.rb +75 -0
  148. data/test/app/helpers/admin/dashboard_helper_test.rb +28 -0
  149. data/test/app/helpers/admin/file_preview_helper_test.rb +90 -0
  150. data/test/app/helpers/admin/filters_helper_test.rb +166 -0
  151. data/test/app/helpers/admin/form_helper_test.rb +126 -0
  152. data/test/app/helpers/admin/list_helper_test.rb +76 -0
  153. data/test/app/helpers/admin/relationships_helper_test.rb +19 -0
  154. data/test/app/helpers/admin/resources_helper_test.rb +46 -0
  155. data/test/app/helpers/admin/search_helper_test.rb +56 -0
  156. data/test/app/helpers/admin/sidebar_helper_test.rb +20 -0
  157. data/test/app/helpers/admin/table_helper_test.rb +245 -0
  158. data/test/app/mailers/admin/mailer_test.rb +20 -0
  159. data/test/app/models/admin_user_test.rb +22 -0
  160. data/test/app/models/typus_user_roles_test.rb +125 -0
  161. data/test/app/models/typus_user_test.rb +145 -0
  162. data/test/app/models/user_test.rb +38 -0
  163. data/test/config/routes_test.rb +30 -0
  164. data/test/factories.rb +134 -0
  165. data/test/fixtures/config/broken/application.yml +68 -0
  166. data/test/fixtures/config/broken/application_roles.yml +20 -0
  167. data/test/fixtures/config/broken/empty.yml +0 -0
  168. data/test/fixtures/config/broken/empty_roles.yml +0 -0
  169. data/test/fixtures/config/broken/undefined.yml +3 -0
  170. data/test/fixtures/config/broken/undefined_roles.yml +6 -0
  171. data/test/fixtures/config/default/typus.yml +13 -0
  172. data/test/fixtures/config/default/typus_roles.yml +2 -0
  173. data/test/fixtures/config/empty/empty_01.yml +0 -0
  174. data/test/fixtures/config/empty/empty_01_roles.yml +0 -0
  175. data/test/fixtures/config/empty/empty_02.yml +0 -0
  176. data/test/fixtures/config/empty/empty_02_roles.yml +0 -0
  177. data/test/fixtures/config/locales/es.yml +10 -0
  178. data/test/fixtures/config/namespaced/application.yml +5 -0
  179. data/test/fixtures/config/namespaced/application_roles.yml +2 -0
  180. data/test/fixtures/config/ordered/001_roles.yml +2 -0
  181. data/test/fixtures/config/ordered/002_roles.yml +2 -0
  182. data/test/fixtures/config/unordered/app_one_roles.yml +2 -0
  183. data/test/fixtures/config/unordered/app_two_roles.yml +2 -0
  184. data/test/fixtures/rails_app/.gitignore +4 -0
  185. data/test/fixtures/rails_app/Capfile +7 -0
  186. data/test/fixtures/rails_app/README +256 -0
  187. data/test/fixtures/rails_app/Rakefile +7 -0
  188. data/test/fixtures/rails_app/app/controllers/admin/admin_users_controller.rb +2 -0
  189. data/test/fixtures/rails_app/app/controllers/admin/animals_controller.rb +2 -0
  190. data/test/fixtures/rails_app/app/controllers/admin/article/entries_controller.rb +2 -0
  191. data/test/fixtures/rails_app/app/controllers/admin/assets_controller.rb +51 -0
  192. data/test/fixtures/rails_app/app/controllers/admin/birds_controller.rb +2 -0
  193. data/test/fixtures/rails_app/app/controllers/admin/cases_controller.rb +2 -0
  194. data/test/fixtures/rails_app/app/controllers/admin/categories_controller.rb +2 -0
  195. data/test/fixtures/rails_app/app/controllers/admin/comments_controller.rb +2 -0
  196. data/test/fixtures/rails_app/app/controllers/admin/dogs_controller.rb +2 -0
  197. data/test/fixtures/rails_app/app/controllers/admin/entries_controller.rb +2 -0
  198. data/test/fixtures/rails_app/app/controllers/admin/hits_controller.rb +37 -0
  199. data/test/fixtures/rails_app/app/controllers/admin/image_holders_controller.rb +2 -0
  200. data/test/fixtures/rails_app/app/controllers/admin/invoices_controller.rb +2 -0
  201. data/test/fixtures/rails_app/app/controllers/admin/orders_controller.rb +2 -0
  202. data/test/fixtures/rails_app/app/controllers/admin/pages_controller.rb +7 -0
  203. data/test/fixtures/rails_app/app/controllers/admin/posts_controller.rb +2 -0
  204. data/test/fixtures/rails_app/app/controllers/admin/project_collaborators_controller.rb +2 -0
  205. data/test/fixtures/rails_app/app/controllers/admin/projects_controller.rb +2 -0
  206. data/test/fixtures/rails_app/app/controllers/admin/status_controller.rb +2 -0
  207. data/test/fixtures/rails_app/app/controllers/admin/typus_users_controller.rb +2 -0
  208. data/test/fixtures/rails_app/app/controllers/admin/users_controller.rb +2 -0
  209. data/test/fixtures/rails_app/app/controllers/admin/views_controller.rb +8 -0
  210. data/test/fixtures/rails_app/app/controllers/admin/watch_dog_controller.rb +2 -0
  211. data/test/fixtures/rails_app/app/controllers/application_controller.rb +3 -0
  212. data/test/fixtures/rails_app/app/helpers/application_helper.rb +2 -0
  213. data/test/fixtures/rails_app/app/helpers/form_helper.rb +3 -0
  214. data/test/fixtures/rails_app/app/models/admin_user.rb +7 -0
  215. data/test/fixtures/rails_app/app/models/animal.rb +21 -0
  216. data/test/fixtures/rails_app/app/models/article.rb +10 -0
  217. data/test/fixtures/rails_app/app/models/article/entry.rb +2 -0
  218. data/test/fixtures/rails_app/app/models/asset.rb +45 -0
  219. data/test/fixtures/rails_app/app/models/bird.rb +2 -0
  220. data/test/fixtures/rails_app/app/models/case.rb +2 -0
  221. data/test/fixtures/rails_app/app/models/category.rb +31 -0
  222. data/test/fixtures/rails_app/app/models/comment.rb +17 -0
  223. data/test/fixtures/rails_app/app/models/delayed/task.rb +5 -0
  224. data/test/fixtures/rails_app/app/models/dog.rb +2 -0
  225. data/test/fixtures/rails_app/app/models/entry.rb +23 -0
  226. data/test/fixtures/rails_app/app/models/hit.rb +27 -0
  227. data/test/fixtures/rails_app/app/models/image_holder.rb +21 -0
  228. data/test/fixtures/rails_app/app/models/invoice.rb +10 -0
  229. data/test/fixtures/rails_app/app/models/order.rb +9 -0
  230. data/test/fixtures/rails_app/app/models/page.rb +24 -0
  231. data/test/fixtures/rails_app/app/models/post.rb +32 -0
  232. data/test/fixtures/rails_app/app/models/project.rb +17 -0
  233. data/test/fixtures/rails_app/app/models/project_collaborator.rb +16 -0
  234. data/test/fixtures/rails_app/app/models/site.rb +16 -0
  235. data/test/fixtures/rails_app/app/models/typus_user.rb +15 -0
  236. data/test/fixtures/rails_app/app/models/user.rb +16 -0
  237. data/test/fixtures/rails_app/app/models/view.rb +19 -0
  238. data/test/fixtures/rails_app/app/views/admin/assets/_index.html.erb +3 -0
  239. data/test/fixtures/rails_app/app/views/admin/cases/_index.html.erb +3 -0
  240. data/test/fixtures/rails_app/app/views/admin/categories/_index.html.erb +3 -0
  241. data/test/fixtures/rails_app/app/views/admin/dashboard/_sidebar.html.erb +11 -0
  242. data/test/fixtures/rails_app/app/views/admin/entries/_index.html.erb +3 -0
  243. data/test/fixtures/rails_app/app/views/admin/hits/_edit.html.erb +7 -0
  244. data/test/fixtures/rails_app/app/views/admin/hits/_index.html.erb +3 -0
  245. data/test/fixtures/rails_app/app/views/admin/hits/index.html.erb +28 -0
  246. data/test/fixtures/rails_app/app/views/admin/pages/_index.html.erb +3 -0
  247. data/test/fixtures/rails_app/app/views/admin/posts/_edit.html.erb +1 -0
  248. data/test/fixtures/rails_app/app/views/admin/posts/_index.html.erb +5 -0
  249. data/test/fixtures/rails_app/app/views/admin/posts/_new.html.erb +1 -0
  250. data/test/fixtures/rails_app/app/views/admin/posts/_show.html.erb +1 -0
  251. data/test/fixtures/rails_app/app/views/admin/resources/_sidebar.html.erb +1 -0
  252. data/test/fixtures/rails_app/app/views/admin/status/index.html.erb +9 -0
  253. data/test/fixtures/rails_app/app/views/admin/templates/_datepicker.html.erb +1 -0
  254. data/test/fixtures/rails_app/app/views/admin/watch_dog/index.html.erb +9 -0
  255. data/test/fixtures/rails_app/config.ru +4 -0
  256. data/test/fixtures/rails_app/config/application.rb +55 -0
  257. data/test/fixtures/rails_app/config/boot.rb +6 -0
  258. data/test/fixtures/rails_app/config/database.yml +42 -0
  259. data/test/fixtures/rails_app/config/deploy.rb +36 -0
  260. data/test/fixtures/rails_app/config/environment.rb +5 -0
  261. data/test/fixtures/rails_app/config/environments/development.rb +38 -0
  262. data/test/fixtures/rails_app/config/environments/production.rb +57 -0
  263. data/test/fixtures/rails_app/config/environments/test.rb +44 -0
  264. data/test/fixtures/rails_app/config/initializers/backtrace_silencers.rb +7 -0
  265. data/test/fixtures/rails_app/config/initializers/dragonfly.rb +1 -0
  266. data/test/fixtures/rails_app/config/initializers/inflections.rb +11 -0
  267. data/test/fixtures/rails_app/config/initializers/mime_types.rb +5 -0
  268. data/test/fixtures/rails_app/config/initializers/secret_token.rb +7 -0
  269. data/test/fixtures/rails_app/config/initializers/session_store.rb +8 -0
  270. data/test/fixtures/rails_app/config/initializers/wrap_parameters.rb +12 -0
  271. data/test/fixtures/rails_app/config/locales/en.yml +5 -0
  272. data/test/fixtures/rails_app/config/mongoid.yml +20 -0
  273. data/test/fixtures/rails_app/config/routes.rb +61 -0
  274. data/test/fixtures/rails_app/config/typus/README +68 -0
  275. data/test/fixtures/rails_app/config/typus/admin.yml +16 -0
  276. data/test/fixtures/rails_app/config/typus/admin_roles.yml +3 -0
  277. data/test/fixtures/rails_app/config/typus/crud_basic.yml +10 -0
  278. data/test/fixtures/rails_app/config/typus/crud_basic_roles.yml +2 -0
  279. data/test/fixtures/rails_app/config/typus/crud_extended.yml +66 -0
  280. data/test/fixtures/rails_app/config/typus/crud_extended_roles.yml +18 -0
  281. data/test/fixtures/rails_app/config/typus/crud_namespaced.yml +10 -0
  282. data/test/fixtures/rails_app/config/typus/crud_namespaced_roles.yml +2 -0
  283. data/test/fixtures/rails_app/config/typus/has_many.yml +0 -0
  284. data/test/fixtures/rails_app/config/typus/has_many_roles.yml +0 -0
  285. data/test/fixtures/rails_app/config/typus/has_many_through.yml +23 -0
  286. data/test/fixtures/rails_app/config/typus/has_many_through_roles.yml +4 -0
  287. data/test/fixtures/rails_app/config/typus/has_one.yml +12 -0
  288. data/test/fixtures/rails_app/config/typus/has_one_roles.yml +3 -0
  289. data/test/fixtures/rails_app/config/typus/mongo_db.yml +4 -0
  290. data/test/fixtures/rails_app/config/typus/mongo_db_roles.yml +2 -0
  291. data/test/fixtures/rails_app/config/typus/polymorphic.yml +17 -0
  292. data/test/fixtures/rails_app/config/typus/polymorphic_roles.yml +5 -0
  293. data/test/fixtures/rails_app/config/typus/resource_roles.yml +7 -0
  294. data/test/fixtures/rails_app/config/typus/sti.yml +5 -0
  295. data/test/fixtures/rails_app/config/typus/sti_roles.yml +2 -0
  296. data/test/fixtures/rails_app/config/typus/unknown.yml +3 -0
  297. data/test/fixtures/rails_app/config/typus/unknown_roles.yml +5 -0
  298. data/test/fixtures/rails_app/db/.gitkeep +0 -0
  299. data/test/fixtures/rails_app/db/schema.rb +209 -0
  300. data/test/fixtures/rails_app/db/seeds.rb +58 -0
  301. data/test/fixtures/rails_app/db/seeds/assets/000.jpg +0 -0
  302. data/test/fixtures/rails_app/db/seeds/assets/001.jpg +0 -0
  303. data/test/fixtures/rails_app/db/seeds/assets/002.jpg +0 -0
  304. data/test/fixtures/rails_app/db/seeds/assets/003.jpg +0 -0
  305. data/test/fixtures/rails_app/db/seeds/assets/004.jpg +0 -0
  306. data/test/fixtures/rails_app/public/404.html +26 -0
  307. data/test/fixtures/rails_app/public/422.html +26 -0
  308. data/test/fixtures/rails_app/public/500.html +26 -0
  309. data/test/fixtures/rails_app/public/favicon.ico +0 -0
  310. data/test/fixtures/rails_app/public/images/rails.png +0 -0
  311. data/test/fixtures/rails_app/public/robots.txt +5 -0
  312. data/test/fixtures/rails_app/public/stylesheets/.gitkeep +0 -0
  313. data/test/fixtures/rails_app/script/rails +6 -0
  314. data/test/lib/support/active_record_test.rb +139 -0
  315. data/test/lib/support/fake_user_test.rb +63 -0
  316. data/test/lib/support/hash_test.rb +25 -0
  317. data/test/lib/support/object_test.rb +10 -0
  318. data/test/lib/support/string_test.rb +80 -0
  319. data/test/lib/typus/configuration_test.rb +48 -0
  320. data/test/lib/typus/controller/actions_test.rb +141 -0
  321. data/test/lib/typus/controller/associations_test.rb +7 -0
  322. data/test/lib/typus/controller/autocomplete_test.rb +7 -0
  323. data/test/lib/typus/controller/filters_test.rb +73 -0
  324. data/test/lib/typus/controller/format_test.rb +7 -0
  325. data/test/lib/typus/i18n_test.rb +13 -0
  326. data/test/lib/typus/orm/active_record/class_methods_test.rb +381 -0
  327. data/test/lib/typus/orm/active_record/search_test.rb +328 -0
  328. data/test/lib/typus/regex_test.rb +62 -0
  329. data/test/lib/typus/resources_test.rb +41 -0
  330. data/test/lib/typus_test.rb +132 -0
  331. data/test/test_helper.rb +41 -0
  332. data/typus.gemspec +3 -10
  333. metadata +525 -137
  334. data/.gitmodules +0 -3
  335. data/app/assets/vendor/typus/javascripts/jquery.rails.js +0 -158
  336. data/app/assets/vendor/typus/vendor/jquery-ui-1.8.12.custom/js/jquery-1.5.1.min.js +0 -16
  337. data/app/views/admin/templates/_text_with_ckeditor.html.erb +0 -13
  338. data/config/locales/typus.pt-PT.models.yml +0 -17
  339. data/config/locales/typus.pt-PT.yml +0 -83
@@ -0,0 +1,41 @@
1
+ ENV["RAILS_ENV"] = "test"
2
+
3
+ ##
4
+ # Boot rails_app and load the schema.
5
+ ##
6
+
7
+ require "fixtures/rails_app/config/environment"
8
+ require "fixtures/rails_app/db/schema"
9
+
10
+ require "rails/test_help"
11
+ require "factories"
12
+
13
+ class ActiveSupport::TestCase
14
+
15
+ self.use_transactional_fixtures = true
16
+ self.use_instantiated_fixtures = false
17
+
18
+ def admin_sign_in
19
+ @typus_user = Factory(:typus_user)
20
+ set_session
21
+ end
22
+
23
+ def editor_sign_in
24
+ @typus_user = Factory(:typus_user, :email => "editor@example.com", :role => "editor")
25
+ set_session
26
+ end
27
+
28
+ def designer_sign_in
29
+ @typus_user = Factory(:typus_user, :email => "designer@example.com", :role => "designer")
30
+ set_session
31
+ end
32
+
33
+ def set_session
34
+ @request.session[:typus_user_id] = @typus_user.id
35
+ end
36
+
37
+ def reset_session
38
+ @request.session[:typus_user_id] = nil
39
+ end
40
+
41
+ end
@@ -2,9 +2,6 @@
2
2
  $:.push File.expand_path("../lib", __FILE__)
3
3
  require "typus/version"
4
4
 
5
- files = `git ls-files`.split("\n") + Dir["config/locales/*.yml"]
6
- test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
7
-
8
5
  Gem::Specification.new do |s|
9
6
  s.name = "typus"
10
7
  s.version = Typus::VERSION
@@ -17,13 +14,9 @@ Gem::Specification.new do |s|
17
14
 
18
15
  s.rubyforge_project = "typus"
19
16
 
20
- s.files = files - test_files
21
- s.test_files = []
17
+ s.files = `git ls-files`.split("\n")
18
+ s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
22
19
  s.require_paths = ["lib"]
23
20
 
24
- s.add_dependency "bcrypt-ruby"
25
- s.add_dependency "fastercsv", "~> 1.5"
26
- s.add_dependency "rails", "~> 3.0.9"
27
- s.add_dependency "render_inheritable"
28
- s.add_dependency "will_paginate", "~> 3.0.0"
21
+ s.add_dependency "kaminari"
29
22
  end
metadata CHANGED
@@ -1,140 +1,119 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: typus
3
- version: !ruby/object:Gem::Version
4
- version: 3.0.12
5
- prerelease:
3
+ version: !ruby/object:Gem::Version
4
+ prerelease: 6
5
+ version: 3.1.0.rc1
6
6
  platform: ruby
7
- authors:
7
+ authors:
8
8
  - Francesc Esplugas
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-08-12 00:00:00.000000000Z
13
- dependencies:
14
- - !ruby/object:Gem::Dependency
15
- name: bcrypt-ruby
16
- requirement: &70126650078560 !ruby/object:Gem::Requirement
17
- none: false
18
- requirements:
19
- - - ! '>='
20
- - !ruby/object:Gem::Version
21
- version: '0'
22
- type: :runtime
23
- prerelease: false
24
- version_requirements: *70126650078560
25
- - !ruby/object:Gem::Dependency
26
- name: fastercsv
27
- requirement: &70126650078060 !ruby/object:Gem::Requirement
28
- none: false
29
- requirements:
30
- - - ~>
31
- - !ruby/object:Gem::Version
32
- version: '1.5'
33
- type: :runtime
34
- prerelease: false
35
- version_requirements: *70126650078060
36
- - !ruby/object:Gem::Dependency
37
- name: rails
38
- requirement: &70126650077560 !ruby/object:Gem::Requirement
39
- none: false
40
- requirements:
41
- - - ~>
42
- - !ruby/object:Gem::Version
43
- version: 3.0.9
44
- type: :runtime
45
- prerelease: false
46
- version_requirements: *70126650077560
47
- - !ruby/object:Gem::Dependency
48
- name: render_inheritable
49
- requirement: &70126650077160 !ruby/object:Gem::Requirement
50
- none: false
51
- requirements:
52
- - - ! '>='
53
- - !ruby/object:Gem::Version
54
- version: '0'
55
- type: :runtime
12
+
13
+ date: 2011-06-08 00:00:00 Z
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
16
+ name: kaminari
56
17
  prerelease: false
57
- version_requirements: *70126650077160
58
- - !ruby/object:Gem::Dependency
59
- name: will_paginate
60
- requirement: &70126650076620 !ruby/object:Gem::Requirement
18
+ requirement: &id001 !ruby/object:Gem::Requirement
61
19
  none: false
62
- requirements:
63
- - - ~>
64
- - !ruby/object:Gem::Version
65
- version: 3.0.0
20
+ requirements:
21
+ - - ">="
22
+ - !ruby/object:Gem::Version
23
+ version: "0"
66
24
  type: :runtime
67
- prerelease: false
68
- version_requirements: *70126650076620
69
- description: Ruby on Rails Admin Panel (Engine) to allow trusted users edit structured
70
- content.
71
- email:
25
+ version_requirements: *id001
26
+ description: Ruby on Rails Admin Panel (Engine) to allow trusted users edit structured content.
27
+ email:
72
28
  - core@typuscms.com
73
29
  executables: []
30
+
74
31
  extensions: []
32
+
75
33
  extra_rdoc_files: []
76
- files:
34
+
35
+ files:
77
36
  - .gitignore
78
- - .gitmodules
79
37
  - Gemfile
80
38
  - MIT-LICENSE
81
39
  - README.md
82
40
  - Rakefile
83
- - app/assets/vendor/typus/javascripts/application.js
84
- - app/assets/vendor/typus/javascripts/jquery.application.js
85
- - app/assets/vendor/typus/javascripts/jquery.rails.autocomplete.js
86
- - app/assets/vendor/typus/javascripts/jquery.rails.js
87
- - app/assets/vendor/typus/javascripts/jquery.searchField.js
88
- - app/assets/vendor/typus/stylesheets/application.css
89
- - app/assets/vendor/typus/stylesheets/reset.css
90
- - app/assets/vendor/typus/stylesheets/screen.css
91
- - app/assets/vendor/typus/vendor/jquery-tokeninput/css/token-input-facebook.css
92
- - app/assets/vendor/typus/vendor/jquery-tokeninput/css/token-input-mac.css
93
- - app/assets/vendor/typus/vendor/jquery-tokeninput/css/token-input.css
94
- - app/assets/vendor/typus/vendor/jquery-tokeninput/js/jquery.tokeninput.js
95
- - app/assets/vendor/typus/vendor/jquery-ui-1.8.12.custom/css/ui-lightness/images/ui-bg_diagonals-thick_18_b81900_40x40.png
96
- - app/assets/vendor/typus/vendor/jquery-ui-1.8.12.custom/css/ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png
97
- - app/assets/vendor/typus/vendor/jquery-ui-1.8.12.custom/css/ui-lightness/images/ui-bg_flat_10_000000_40x100.png
98
- - app/assets/vendor/typus/vendor/jquery-ui-1.8.12.custom/css/ui-lightness/images/ui-bg_glass_100_f6f6f6_1x400.png
99
- - app/assets/vendor/typus/vendor/jquery-ui-1.8.12.custom/css/ui-lightness/images/ui-bg_glass_100_fdf5ce_1x400.png
100
- - app/assets/vendor/typus/vendor/jquery-ui-1.8.12.custom/css/ui-lightness/images/ui-bg_glass_65_ffffff_1x400.png
101
- - app/assets/vendor/typus/vendor/jquery-ui-1.8.12.custom/css/ui-lightness/images/ui-bg_gloss-wave_35_f6a828_500x100.png
102
- - app/assets/vendor/typus/vendor/jquery-ui-1.8.12.custom/css/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png
103
- - app/assets/vendor/typus/vendor/jquery-ui-1.8.12.custom/css/ui-lightness/images/ui-bg_highlight-soft_75_ffe45c_1x100.png
104
- - app/assets/vendor/typus/vendor/jquery-ui-1.8.12.custom/css/ui-lightness/images/ui-icons_222222_256x240.png
105
- - app/assets/vendor/typus/vendor/jquery-ui-1.8.12.custom/css/ui-lightness/images/ui-icons_228ef1_256x240.png
106
- - app/assets/vendor/typus/vendor/jquery-ui-1.8.12.custom/css/ui-lightness/images/ui-icons_ef8c08_256x240.png
107
- - app/assets/vendor/typus/vendor/jquery-ui-1.8.12.custom/css/ui-lightness/images/ui-icons_ffd27a_256x240.png
108
- - app/assets/vendor/typus/vendor/jquery-ui-1.8.12.custom/css/ui-lightness/images/ui-icons_ffffff_256x240.png
109
- - app/assets/vendor/typus/vendor/jquery-ui-1.8.12.custom/css/ui-lightness/jquery-ui-1.8.12.custom.css
110
- - app/assets/vendor/typus/vendor/jquery-ui-1.8.12.custom/index.html
111
- - app/assets/vendor/typus/vendor/jquery-ui-1.8.12.custom/js/jquery-1.5.1.min.js
112
- - app/assets/vendor/typus/vendor/jquery-ui-1.8.12.custom/js/jquery-ui-1.8.12.custom.min.js
113
- - app/assets/vendor/typus/vendor/jquery.fancybox-1.3.4/fancybox/blank.gif
114
- - app/assets/vendor/typus/vendor/jquery.fancybox-1.3.4/fancybox/fancy_close.png
115
- - app/assets/vendor/typus/vendor/jquery.fancybox-1.3.4/fancybox/fancy_loading.png
116
- - app/assets/vendor/typus/vendor/jquery.fancybox-1.3.4/fancybox/fancy_nav_left.png
117
- - app/assets/vendor/typus/vendor/jquery.fancybox-1.3.4/fancybox/fancy_nav_right.png
118
- - app/assets/vendor/typus/vendor/jquery.fancybox-1.3.4/fancybox/fancy_shadow_e.png
119
- - app/assets/vendor/typus/vendor/jquery.fancybox-1.3.4/fancybox/fancy_shadow_n.png
120
- - app/assets/vendor/typus/vendor/jquery.fancybox-1.3.4/fancybox/fancy_shadow_ne.png
121
- - app/assets/vendor/typus/vendor/jquery.fancybox-1.3.4/fancybox/fancy_shadow_nw.png
122
- - app/assets/vendor/typus/vendor/jquery.fancybox-1.3.4/fancybox/fancy_shadow_s.png
123
- - app/assets/vendor/typus/vendor/jquery.fancybox-1.3.4/fancybox/fancy_shadow_se.png
124
- - app/assets/vendor/typus/vendor/jquery.fancybox-1.3.4/fancybox/fancy_shadow_sw.png
125
- - app/assets/vendor/typus/vendor/jquery.fancybox-1.3.4/fancybox/fancy_shadow_w.png
126
- - app/assets/vendor/typus/vendor/jquery.fancybox-1.3.4/fancybox/fancy_title_left.png
127
- - app/assets/vendor/typus/vendor/jquery.fancybox-1.3.4/fancybox/fancy_title_main.png
128
- - app/assets/vendor/typus/vendor/jquery.fancybox-1.3.4/fancybox/fancy_title_over.png
129
- - app/assets/vendor/typus/vendor/jquery.fancybox-1.3.4/fancybox/fancy_title_right.png
130
- - app/assets/vendor/typus/vendor/jquery.fancybox-1.3.4/fancybox/fancybox-x.png
131
- - app/assets/vendor/typus/vendor/jquery.fancybox-1.3.4/fancybox/fancybox-y.png
132
- - app/assets/vendor/typus/vendor/jquery.fancybox-1.3.4/fancybox/fancybox.png
133
- - app/assets/vendor/typus/vendor/jquery.fancybox-1.3.4/fancybox/jquery.easing-1.3.pack.js
134
- - app/assets/vendor/typus/vendor/jquery.fancybox-1.3.4/fancybox/jquery.fancybox-1.3.4.css
135
- - app/assets/vendor/typus/vendor/jquery.fancybox-1.3.4/fancybox/jquery.fancybox-1.3.4.js
136
- - app/assets/vendor/typus/vendor/jquery.fancybox-1.3.4/fancybox/jquery.fancybox-1.3.4.pack.js
137
- - app/assets/vendor/typus/vendor/jquery.fancybox-1.3.4/fancybox/jquery.mousewheel-3.0.4.pack.js
41
+ - app/assets/images/typus/blank.gif
42
+ - app/assets/images/typus/fancy_close.png
43
+ - app/assets/images/typus/fancy_loading.png
44
+ - app/assets/images/typus/fancy_nav_left.png
45
+ - app/assets/images/typus/fancy_nav_right.png
46
+ - app/assets/images/typus/fancy_shadow_e.png
47
+ - app/assets/images/typus/fancy_shadow_n.png
48
+ - app/assets/images/typus/fancy_shadow_ne.png
49
+ - app/assets/images/typus/fancy_shadow_nw.png
50
+ - app/assets/images/typus/fancy_shadow_s.png
51
+ - app/assets/images/typus/fancy_shadow_se.png
52
+ - app/assets/images/typus/fancy_shadow_sw.png
53
+ - app/assets/images/typus/fancy_shadow_w.png
54
+ - app/assets/images/typus/fancy_title_left.png
55
+ - app/assets/images/typus/fancy_title_main.png
56
+ - app/assets/images/typus/fancy_title_over.png
57
+ - app/assets/images/typus/fancy_title_right.png
58
+ - app/assets/images/typus/fancybox-x.png
59
+ - app/assets/images/typus/fancybox-y.png
60
+ - app/assets/images/typus/fancybox.png
61
+ - app/assets/javascripts/typus/application.js
62
+ - app/assets/javascripts/typus/custom.js
63
+ - app/assets/javascripts/typus/jquery.application.js
64
+ - app/assets/javascripts/typus/jquery.rails.autocomplete.js
65
+ - app/assets/javascripts/typus/jquery.searchField.js
66
+ - app/assets/stylesheets/typus/application.css
67
+ - app/assets/stylesheets/typus/custom.css
68
+ - app/assets/stylesheets/typus/pagination.css
69
+ - app/assets/stylesheets/typus/reset.css
70
+ - app/assets/stylesheets/typus/screen.css
71
+ - app/assets/vendor/jquery-tokeninput/css/token-input-facebook.css
72
+ - app/assets/vendor/jquery-tokeninput/css/token-input-mac.css
73
+ - app/assets/vendor/jquery-tokeninput/css/token-input.css
74
+ - app/assets/vendor/jquery-tokeninput/js/jquery.tokeninput.js
75
+ - app/assets/vendor/jquery-ui-1.8.12.custom/css/ui-lightness/images/ui-bg_diagonals-thick_18_b81900_40x40.png
76
+ - app/assets/vendor/jquery-ui-1.8.12.custom/css/ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png
77
+ - app/assets/vendor/jquery-ui-1.8.12.custom/css/ui-lightness/images/ui-bg_flat_10_000000_40x100.png
78
+ - app/assets/vendor/jquery-ui-1.8.12.custom/css/ui-lightness/images/ui-bg_glass_100_f6f6f6_1x400.png
79
+ - app/assets/vendor/jquery-ui-1.8.12.custom/css/ui-lightness/images/ui-bg_glass_100_fdf5ce_1x400.png
80
+ - app/assets/vendor/jquery-ui-1.8.12.custom/css/ui-lightness/images/ui-bg_glass_65_ffffff_1x400.png
81
+ - app/assets/vendor/jquery-ui-1.8.12.custom/css/ui-lightness/images/ui-bg_gloss-wave_35_f6a828_500x100.png
82
+ - app/assets/vendor/jquery-ui-1.8.12.custom/css/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png
83
+ - app/assets/vendor/jquery-ui-1.8.12.custom/css/ui-lightness/images/ui-bg_highlight-soft_75_ffe45c_1x100.png
84
+ - app/assets/vendor/jquery-ui-1.8.12.custom/css/ui-lightness/images/ui-icons_222222_256x240.png
85
+ - app/assets/vendor/jquery-ui-1.8.12.custom/css/ui-lightness/images/ui-icons_228ef1_256x240.png
86
+ - app/assets/vendor/jquery-ui-1.8.12.custom/css/ui-lightness/images/ui-icons_ef8c08_256x240.png
87
+ - app/assets/vendor/jquery-ui-1.8.12.custom/css/ui-lightness/images/ui-icons_ffd27a_256x240.png
88
+ - app/assets/vendor/jquery-ui-1.8.12.custom/css/ui-lightness/images/ui-icons_ffffff_256x240.png
89
+ - app/assets/vendor/jquery-ui-1.8.12.custom/css/ui-lightness/jquery-ui-1.8.12.custom.css
90
+ - app/assets/vendor/jquery-ui-1.8.12.custom/index.html
91
+ - app/assets/vendor/jquery-ui-1.8.12.custom/js/jquery-ui-1.8.12.custom.min.js
92
+ - app/assets/vendor/jquery.fancybox-1.3.4/fancybox/blank.gif
93
+ - app/assets/vendor/jquery.fancybox-1.3.4/fancybox/fancy_close.png
94
+ - app/assets/vendor/jquery.fancybox-1.3.4/fancybox/fancy_loading.png
95
+ - app/assets/vendor/jquery.fancybox-1.3.4/fancybox/fancy_nav_left.png
96
+ - app/assets/vendor/jquery.fancybox-1.3.4/fancybox/fancy_nav_right.png
97
+ - app/assets/vendor/jquery.fancybox-1.3.4/fancybox/fancy_shadow_e.png
98
+ - app/assets/vendor/jquery.fancybox-1.3.4/fancybox/fancy_shadow_n.png
99
+ - app/assets/vendor/jquery.fancybox-1.3.4/fancybox/fancy_shadow_ne.png
100
+ - app/assets/vendor/jquery.fancybox-1.3.4/fancybox/fancy_shadow_nw.png
101
+ - app/assets/vendor/jquery.fancybox-1.3.4/fancybox/fancy_shadow_s.png
102
+ - app/assets/vendor/jquery.fancybox-1.3.4/fancybox/fancy_shadow_se.png
103
+ - app/assets/vendor/jquery.fancybox-1.3.4/fancybox/fancy_shadow_sw.png
104
+ - app/assets/vendor/jquery.fancybox-1.3.4/fancybox/fancy_shadow_w.png
105
+ - app/assets/vendor/jquery.fancybox-1.3.4/fancybox/fancy_title_left.png
106
+ - app/assets/vendor/jquery.fancybox-1.3.4/fancybox/fancy_title_main.png
107
+ - app/assets/vendor/jquery.fancybox-1.3.4/fancybox/fancy_title_over.png
108
+ - app/assets/vendor/jquery.fancybox-1.3.4/fancybox/fancy_title_right.png
109
+ - app/assets/vendor/jquery.fancybox-1.3.4/fancybox/fancybox-x.png
110
+ - app/assets/vendor/jquery.fancybox-1.3.4/fancybox/fancybox-y.png
111
+ - app/assets/vendor/jquery.fancybox-1.3.4/fancybox/fancybox.png
112
+ - app/assets/vendor/jquery.fancybox-1.3.4/fancybox/jquery.easing-1.3.pack.js
113
+ - app/assets/vendor/jquery.fancybox-1.3.4/fancybox/jquery.fancybox-1.3.4.css
114
+ - app/assets/vendor/jquery.fancybox-1.3.4/fancybox/jquery.fancybox-1.3.4.js
115
+ - app/assets/vendor/jquery.fancybox-1.3.4/fancybox/jquery.fancybox-1.3.4.pack.js
116
+ - app/assets/vendor/jquery.fancybox-1.3.4/fancybox/jquery.mousewheel-3.0.4.pack.js
138
117
  - app/controllers/admin/account_controller.rb
139
118
  - app/controllers/admin/base_controller.rb
140
119
  - app/controllers/admin/dashboard_controller.rb
@@ -200,7 +179,6 @@ files:
200
179
  - app/views/admin/templates/_selector.html.erb
201
180
  - app/views/admin/templates/_string.html.erb
202
181
  - app/views/admin/templates/_text.html.erb
203
- - app/views/admin/templates/_text_with_ckeditor.html.erb
204
182
  - app/views/admin/templates/_time.html.erb
205
183
  - app/views/admin/templates/_tree.html.erb
206
184
  - app/views/layouts/admin/base.html.erb
@@ -224,8 +202,6 @@ files:
224
202
  - config/locales/typus.locale.yml.template
225
203
  - config/locales/typus.pt-BR.models.yml
226
204
  - config/locales/typus.pt-BR.yml
227
- - config/locales/typus.pt-PT.models.yml
228
- - config/locales/typus.pt-PT.yml
229
205
  - config/locales/typus.ru.models.yml
230
206
  - config/locales/typus.ru.yml
231
207
  - config/locales/typus.zh-CN.models.yml
@@ -280,30 +256,442 @@ files:
280
256
  - lib/typus/regex.rb
281
257
  - lib/typus/resources.rb
282
258
  - lib/typus/version.rb
259
+ - test/app/controllers/admin/account_controller_test.rb
260
+ - test/app/controllers/admin/assets_controller_test.rb
261
+ - test/app/controllers/admin/base_controller_test.rb
262
+ - test/app/controllers/admin/birds_controller_test.rb
263
+ - test/app/controllers/admin/cases_controller_test.rb
264
+ - test/app/controllers/admin/categories_controller_test.rb
265
+ - test/app/controllers/admin/comments_controller_test.rb
266
+ - test/app/controllers/admin/dashboard_controller_test.rb
267
+ - test/app/controllers/admin/image_holders_controller_test.rb
268
+ - test/app/controllers/admin/invoices_controller_test.rb
269
+ - test/app/controllers/admin/orders_controller_test.rb
270
+ - test/app/controllers/admin/pages_controller_test.rb
271
+ - test/app/controllers/admin/posts_controller_test.rb
272
+ - test/app/controllers/admin/projects_controller_test.rb
273
+ - test/app/controllers/admin/session_controller_test.rb
274
+ - test/app/controllers/admin/status_controller_test.rb
275
+ - test/app/controllers/admin/typus_users_controller_test.rb
276
+ - test/app/controllers/admin/users_controller_test.rb
277
+ - test/app/controllers/admin/views_controller_test.rb
278
+ - test/app/helpers/admin/base_helper_test.rb
279
+ - test/app/helpers/admin/dashboard_helper_test.rb
280
+ - test/app/helpers/admin/file_preview_helper_test.rb
281
+ - test/app/helpers/admin/filters_helper_test.rb
282
+ - test/app/helpers/admin/form_helper_test.rb
283
+ - test/app/helpers/admin/list_helper_test.rb
284
+ - test/app/helpers/admin/relationships_helper_test.rb
285
+ - test/app/helpers/admin/resources_helper_test.rb
286
+ - test/app/helpers/admin/search_helper_test.rb
287
+ - test/app/helpers/admin/sidebar_helper_test.rb
288
+ - test/app/helpers/admin/table_helper_test.rb
289
+ - test/app/mailers/admin/mailer_test.rb
290
+ - test/app/models/admin_user_test.rb
291
+ - test/app/models/typus_user_roles_test.rb
292
+ - test/app/models/typus_user_test.rb
293
+ - test/app/models/user_test.rb
294
+ - test/config/routes_test.rb
295
+ - test/factories.rb
296
+ - test/fixtures/config/broken/application.yml
297
+ - test/fixtures/config/broken/application_roles.yml
298
+ - test/fixtures/config/broken/empty.yml
299
+ - test/fixtures/config/broken/empty_roles.yml
300
+ - test/fixtures/config/broken/undefined.yml
301
+ - test/fixtures/config/broken/undefined_roles.yml
302
+ - test/fixtures/config/default/typus.yml
303
+ - test/fixtures/config/default/typus_roles.yml
304
+ - test/fixtures/config/empty/empty_01.yml
305
+ - test/fixtures/config/empty/empty_01_roles.yml
306
+ - test/fixtures/config/empty/empty_02.yml
307
+ - test/fixtures/config/empty/empty_02_roles.yml
308
+ - test/fixtures/config/locales/es.yml
309
+ - test/fixtures/config/namespaced/application.yml
310
+ - test/fixtures/config/namespaced/application_roles.yml
311
+ - test/fixtures/config/ordered/001_roles.yml
312
+ - test/fixtures/config/ordered/002_roles.yml
313
+ - test/fixtures/config/unordered/app_one_roles.yml
314
+ - test/fixtures/config/unordered/app_two_roles.yml
315
+ - test/fixtures/rails_app/.gitignore
316
+ - test/fixtures/rails_app/Capfile
317
+ - test/fixtures/rails_app/README
318
+ - test/fixtures/rails_app/Rakefile
319
+ - test/fixtures/rails_app/app/controllers/admin/admin_users_controller.rb
320
+ - test/fixtures/rails_app/app/controllers/admin/animals_controller.rb
321
+ - test/fixtures/rails_app/app/controllers/admin/article/entries_controller.rb
322
+ - test/fixtures/rails_app/app/controllers/admin/assets_controller.rb
323
+ - test/fixtures/rails_app/app/controllers/admin/birds_controller.rb
324
+ - test/fixtures/rails_app/app/controllers/admin/cases_controller.rb
325
+ - test/fixtures/rails_app/app/controllers/admin/categories_controller.rb
326
+ - test/fixtures/rails_app/app/controllers/admin/comments_controller.rb
327
+ - test/fixtures/rails_app/app/controllers/admin/dogs_controller.rb
328
+ - test/fixtures/rails_app/app/controllers/admin/entries_controller.rb
329
+ - test/fixtures/rails_app/app/controllers/admin/hits_controller.rb
330
+ - test/fixtures/rails_app/app/controllers/admin/image_holders_controller.rb
331
+ - test/fixtures/rails_app/app/controllers/admin/invoices_controller.rb
332
+ - test/fixtures/rails_app/app/controllers/admin/orders_controller.rb
333
+ - test/fixtures/rails_app/app/controllers/admin/pages_controller.rb
334
+ - test/fixtures/rails_app/app/controllers/admin/posts_controller.rb
335
+ - test/fixtures/rails_app/app/controllers/admin/project_collaborators_controller.rb
336
+ - test/fixtures/rails_app/app/controllers/admin/projects_controller.rb
337
+ - test/fixtures/rails_app/app/controllers/admin/status_controller.rb
338
+ - test/fixtures/rails_app/app/controllers/admin/typus_users_controller.rb
339
+ - test/fixtures/rails_app/app/controllers/admin/users_controller.rb
340
+ - test/fixtures/rails_app/app/controllers/admin/views_controller.rb
341
+ - test/fixtures/rails_app/app/controllers/admin/watch_dog_controller.rb
342
+ - test/fixtures/rails_app/app/controllers/application_controller.rb
343
+ - test/fixtures/rails_app/app/helpers/application_helper.rb
344
+ - test/fixtures/rails_app/app/helpers/form_helper.rb
345
+ - test/fixtures/rails_app/app/models/admin_user.rb
346
+ - test/fixtures/rails_app/app/models/animal.rb
347
+ - test/fixtures/rails_app/app/models/article.rb
348
+ - test/fixtures/rails_app/app/models/article/entry.rb
349
+ - test/fixtures/rails_app/app/models/asset.rb
350
+ - test/fixtures/rails_app/app/models/bird.rb
351
+ - test/fixtures/rails_app/app/models/case.rb
352
+ - test/fixtures/rails_app/app/models/category.rb
353
+ - test/fixtures/rails_app/app/models/comment.rb
354
+ - test/fixtures/rails_app/app/models/delayed/task.rb
355
+ - test/fixtures/rails_app/app/models/dog.rb
356
+ - test/fixtures/rails_app/app/models/entry.rb
357
+ - test/fixtures/rails_app/app/models/hit.rb
358
+ - test/fixtures/rails_app/app/models/image_holder.rb
359
+ - test/fixtures/rails_app/app/models/invoice.rb
360
+ - test/fixtures/rails_app/app/models/order.rb
361
+ - test/fixtures/rails_app/app/models/page.rb
362
+ - test/fixtures/rails_app/app/models/post.rb
363
+ - test/fixtures/rails_app/app/models/project.rb
364
+ - test/fixtures/rails_app/app/models/project_collaborator.rb
365
+ - test/fixtures/rails_app/app/models/site.rb
366
+ - test/fixtures/rails_app/app/models/typus_user.rb
367
+ - test/fixtures/rails_app/app/models/user.rb
368
+ - test/fixtures/rails_app/app/models/view.rb
369
+ - test/fixtures/rails_app/app/views/admin/assets/_index.html.erb
370
+ - test/fixtures/rails_app/app/views/admin/cases/_index.html.erb
371
+ - test/fixtures/rails_app/app/views/admin/categories/_index.html.erb
372
+ - test/fixtures/rails_app/app/views/admin/dashboard/_sidebar.html.erb
373
+ - test/fixtures/rails_app/app/views/admin/entries/_index.html.erb
374
+ - test/fixtures/rails_app/app/views/admin/hits/_edit.html.erb
375
+ - test/fixtures/rails_app/app/views/admin/hits/_index.html.erb
376
+ - test/fixtures/rails_app/app/views/admin/hits/index.html.erb
377
+ - test/fixtures/rails_app/app/views/admin/pages/_index.html.erb
378
+ - test/fixtures/rails_app/app/views/admin/posts/_edit.html.erb
379
+ - test/fixtures/rails_app/app/views/admin/posts/_index.html.erb
380
+ - test/fixtures/rails_app/app/views/admin/posts/_new.html.erb
381
+ - test/fixtures/rails_app/app/views/admin/posts/_show.html.erb
382
+ - test/fixtures/rails_app/app/views/admin/resources/_sidebar.html.erb
383
+ - test/fixtures/rails_app/app/views/admin/status/index.html.erb
384
+ - test/fixtures/rails_app/app/views/admin/templates/_datepicker.html.erb
385
+ - test/fixtures/rails_app/app/views/admin/watch_dog/index.html.erb
386
+ - test/fixtures/rails_app/config.ru
387
+ - test/fixtures/rails_app/config/application.rb
388
+ - test/fixtures/rails_app/config/boot.rb
389
+ - test/fixtures/rails_app/config/database.yml
390
+ - test/fixtures/rails_app/config/deploy.rb
391
+ - test/fixtures/rails_app/config/environment.rb
392
+ - test/fixtures/rails_app/config/environments/development.rb
393
+ - test/fixtures/rails_app/config/environments/production.rb
394
+ - test/fixtures/rails_app/config/environments/test.rb
395
+ - test/fixtures/rails_app/config/initializers/backtrace_silencers.rb
396
+ - test/fixtures/rails_app/config/initializers/dragonfly.rb
397
+ - test/fixtures/rails_app/config/initializers/inflections.rb
398
+ - test/fixtures/rails_app/config/initializers/mime_types.rb
399
+ - test/fixtures/rails_app/config/initializers/secret_token.rb
400
+ - test/fixtures/rails_app/config/initializers/session_store.rb
401
+ - test/fixtures/rails_app/config/initializers/wrap_parameters.rb
402
+ - test/fixtures/rails_app/config/locales/en.yml
403
+ - test/fixtures/rails_app/config/mongoid.yml
404
+ - test/fixtures/rails_app/config/routes.rb
405
+ - test/fixtures/rails_app/config/typus/README
406
+ - test/fixtures/rails_app/config/typus/admin.yml
407
+ - test/fixtures/rails_app/config/typus/admin_roles.yml
408
+ - test/fixtures/rails_app/config/typus/crud_basic.yml
409
+ - test/fixtures/rails_app/config/typus/crud_basic_roles.yml
410
+ - test/fixtures/rails_app/config/typus/crud_extended.yml
411
+ - test/fixtures/rails_app/config/typus/crud_extended_roles.yml
412
+ - test/fixtures/rails_app/config/typus/crud_namespaced.yml
413
+ - test/fixtures/rails_app/config/typus/crud_namespaced_roles.yml
414
+ - test/fixtures/rails_app/config/typus/has_many.yml
415
+ - test/fixtures/rails_app/config/typus/has_many_roles.yml
416
+ - test/fixtures/rails_app/config/typus/has_many_through.yml
417
+ - test/fixtures/rails_app/config/typus/has_many_through_roles.yml
418
+ - test/fixtures/rails_app/config/typus/has_one.yml
419
+ - test/fixtures/rails_app/config/typus/has_one_roles.yml
420
+ - test/fixtures/rails_app/config/typus/mongo_db.yml
421
+ - test/fixtures/rails_app/config/typus/mongo_db_roles.yml
422
+ - test/fixtures/rails_app/config/typus/polymorphic.yml
423
+ - test/fixtures/rails_app/config/typus/polymorphic_roles.yml
424
+ - test/fixtures/rails_app/config/typus/resource_roles.yml
425
+ - test/fixtures/rails_app/config/typus/sti.yml
426
+ - test/fixtures/rails_app/config/typus/sti_roles.yml
427
+ - test/fixtures/rails_app/config/typus/unknown.yml
428
+ - test/fixtures/rails_app/config/typus/unknown_roles.yml
429
+ - test/fixtures/rails_app/db/.gitkeep
430
+ - test/fixtures/rails_app/db/schema.rb
431
+ - test/fixtures/rails_app/db/seeds.rb
432
+ - test/fixtures/rails_app/db/seeds/assets/000.jpg
433
+ - test/fixtures/rails_app/db/seeds/assets/001.jpg
434
+ - test/fixtures/rails_app/db/seeds/assets/002.jpg
435
+ - test/fixtures/rails_app/db/seeds/assets/003.jpg
436
+ - test/fixtures/rails_app/db/seeds/assets/004.jpg
437
+ - test/fixtures/rails_app/public/404.html
438
+ - test/fixtures/rails_app/public/422.html
439
+ - test/fixtures/rails_app/public/500.html
440
+ - test/fixtures/rails_app/public/favicon.ico
441
+ - test/fixtures/rails_app/public/images/rails.png
442
+ - test/fixtures/rails_app/public/robots.txt
443
+ - test/fixtures/rails_app/public/stylesheets/.gitkeep
444
+ - test/fixtures/rails_app/script/rails
445
+ - test/fixtures/rails_app/tmp/.gitkeep
446
+ - test/lib/support/active_record_test.rb
447
+ - test/lib/support/fake_user_test.rb
448
+ - test/lib/support/hash_test.rb
449
+ - test/lib/support/object_test.rb
450
+ - test/lib/support/string_test.rb
451
+ - test/lib/typus/configuration_test.rb
452
+ - test/lib/typus/controller/actions_test.rb
453
+ - test/lib/typus/controller/associations_test.rb
454
+ - test/lib/typus/controller/autocomplete_test.rb
455
+ - test/lib/typus/controller/filters_test.rb
456
+ - test/lib/typus/controller/format_test.rb
457
+ - test/lib/typus/i18n_test.rb
458
+ - test/lib/typus/orm/active_record/class_methods_test.rb
459
+ - test/lib/typus/orm/active_record/search_test.rb
460
+ - test/lib/typus/regex_test.rb
461
+ - test/lib/typus/resources_test.rb
462
+ - test/lib/typus_test.rb
463
+ - test/test_helper.rb
283
464
  - typus.gemspec
284
465
  homepage: http://core.typuscms.com/
285
466
  licenses: []
467
+
286
468
  post_install_message:
287
469
  rdoc_options: []
288
- require_paths:
470
+
471
+ require_paths:
289
472
  - lib
290
- required_ruby_version: !ruby/object:Gem::Requirement
473
+ required_ruby_version: !ruby/object:Gem::Requirement
291
474
  none: false
292
- requirements:
293
- - - ! '>='
294
- - !ruby/object:Gem::Version
295
- version: '0'
296
- required_rubygems_version: !ruby/object:Gem::Requirement
475
+ requirements:
476
+ - - ">="
477
+ - !ruby/object:Gem::Version
478
+ version: "0"
479
+ required_rubygems_version: !ruby/object:Gem::Requirement
297
480
  none: false
298
- requirements:
299
- - - ! '>='
300
- - !ruby/object:Gem::Version
301
- version: '0'
481
+ requirements:
482
+ - - ">"
483
+ - !ruby/object:Gem::Version
484
+ version: 1.3.1
302
485
  requirements: []
486
+
303
487
  rubyforge_project: typus
304
- rubygems_version: 1.8.7
488
+ rubygems_version: 1.8.5
305
489
  signing_key:
306
490
  specification_version: 3
307
- summary: Effortless backend interface for Ruby on Rails applications. (Admin scaffold
308
- generator)
309
- test_files: []
491
+ summary: Effortless backend interface for Ruby on Rails applications. (Admin scaffold generator)
492
+ test_files:
493
+ - test/app/controllers/admin/account_controller_test.rb
494
+ - test/app/controllers/admin/assets_controller_test.rb
495
+ - test/app/controllers/admin/base_controller_test.rb
496
+ - test/app/controllers/admin/birds_controller_test.rb
497
+ - test/app/controllers/admin/cases_controller_test.rb
498
+ - test/app/controllers/admin/categories_controller_test.rb
499
+ - test/app/controllers/admin/comments_controller_test.rb
500
+ - test/app/controllers/admin/dashboard_controller_test.rb
501
+ - test/app/controllers/admin/image_holders_controller_test.rb
502
+ - test/app/controllers/admin/invoices_controller_test.rb
503
+ - test/app/controllers/admin/orders_controller_test.rb
504
+ - test/app/controllers/admin/pages_controller_test.rb
505
+ - test/app/controllers/admin/posts_controller_test.rb
506
+ - test/app/controllers/admin/projects_controller_test.rb
507
+ - test/app/controllers/admin/session_controller_test.rb
508
+ - test/app/controllers/admin/status_controller_test.rb
509
+ - test/app/controllers/admin/typus_users_controller_test.rb
510
+ - test/app/controllers/admin/users_controller_test.rb
511
+ - test/app/controllers/admin/views_controller_test.rb
512
+ - test/app/helpers/admin/base_helper_test.rb
513
+ - test/app/helpers/admin/dashboard_helper_test.rb
514
+ - test/app/helpers/admin/file_preview_helper_test.rb
515
+ - test/app/helpers/admin/filters_helper_test.rb
516
+ - test/app/helpers/admin/form_helper_test.rb
517
+ - test/app/helpers/admin/list_helper_test.rb
518
+ - test/app/helpers/admin/relationships_helper_test.rb
519
+ - test/app/helpers/admin/resources_helper_test.rb
520
+ - test/app/helpers/admin/search_helper_test.rb
521
+ - test/app/helpers/admin/sidebar_helper_test.rb
522
+ - test/app/helpers/admin/table_helper_test.rb
523
+ - test/app/mailers/admin/mailer_test.rb
524
+ - test/app/models/admin_user_test.rb
525
+ - test/app/models/typus_user_roles_test.rb
526
+ - test/app/models/typus_user_test.rb
527
+ - test/app/models/user_test.rb
528
+ - test/config/routes_test.rb
529
+ - test/factories.rb
530
+ - test/fixtures/config/broken/application.yml
531
+ - test/fixtures/config/broken/application_roles.yml
532
+ - test/fixtures/config/broken/empty.yml
533
+ - test/fixtures/config/broken/empty_roles.yml
534
+ - test/fixtures/config/broken/undefined.yml
535
+ - test/fixtures/config/broken/undefined_roles.yml
536
+ - test/fixtures/config/default/typus.yml
537
+ - test/fixtures/config/default/typus_roles.yml
538
+ - test/fixtures/config/empty/empty_01.yml
539
+ - test/fixtures/config/empty/empty_01_roles.yml
540
+ - test/fixtures/config/empty/empty_02.yml
541
+ - test/fixtures/config/empty/empty_02_roles.yml
542
+ - test/fixtures/config/locales/es.yml
543
+ - test/fixtures/config/namespaced/application.yml
544
+ - test/fixtures/config/namespaced/application_roles.yml
545
+ - test/fixtures/config/ordered/001_roles.yml
546
+ - test/fixtures/config/ordered/002_roles.yml
547
+ - test/fixtures/config/unordered/app_one_roles.yml
548
+ - test/fixtures/config/unordered/app_two_roles.yml
549
+ - test/fixtures/rails_app/.gitignore
550
+ - test/fixtures/rails_app/Capfile
551
+ - test/fixtures/rails_app/README
552
+ - test/fixtures/rails_app/Rakefile
553
+ - test/fixtures/rails_app/app/controllers/admin/admin_users_controller.rb
554
+ - test/fixtures/rails_app/app/controllers/admin/animals_controller.rb
555
+ - test/fixtures/rails_app/app/controllers/admin/article/entries_controller.rb
556
+ - test/fixtures/rails_app/app/controllers/admin/assets_controller.rb
557
+ - test/fixtures/rails_app/app/controllers/admin/birds_controller.rb
558
+ - test/fixtures/rails_app/app/controllers/admin/cases_controller.rb
559
+ - test/fixtures/rails_app/app/controllers/admin/categories_controller.rb
560
+ - test/fixtures/rails_app/app/controllers/admin/comments_controller.rb
561
+ - test/fixtures/rails_app/app/controllers/admin/dogs_controller.rb
562
+ - test/fixtures/rails_app/app/controllers/admin/entries_controller.rb
563
+ - test/fixtures/rails_app/app/controllers/admin/hits_controller.rb
564
+ - test/fixtures/rails_app/app/controllers/admin/image_holders_controller.rb
565
+ - test/fixtures/rails_app/app/controllers/admin/invoices_controller.rb
566
+ - test/fixtures/rails_app/app/controllers/admin/orders_controller.rb
567
+ - test/fixtures/rails_app/app/controllers/admin/pages_controller.rb
568
+ - test/fixtures/rails_app/app/controllers/admin/posts_controller.rb
569
+ - test/fixtures/rails_app/app/controllers/admin/project_collaborators_controller.rb
570
+ - test/fixtures/rails_app/app/controllers/admin/projects_controller.rb
571
+ - test/fixtures/rails_app/app/controllers/admin/status_controller.rb
572
+ - test/fixtures/rails_app/app/controllers/admin/typus_users_controller.rb
573
+ - test/fixtures/rails_app/app/controllers/admin/users_controller.rb
574
+ - test/fixtures/rails_app/app/controllers/admin/views_controller.rb
575
+ - test/fixtures/rails_app/app/controllers/admin/watch_dog_controller.rb
576
+ - test/fixtures/rails_app/app/controllers/application_controller.rb
577
+ - test/fixtures/rails_app/app/helpers/application_helper.rb
578
+ - test/fixtures/rails_app/app/helpers/form_helper.rb
579
+ - test/fixtures/rails_app/app/models/admin_user.rb
580
+ - test/fixtures/rails_app/app/models/animal.rb
581
+ - test/fixtures/rails_app/app/models/article.rb
582
+ - test/fixtures/rails_app/app/models/article/entry.rb
583
+ - test/fixtures/rails_app/app/models/asset.rb
584
+ - test/fixtures/rails_app/app/models/bird.rb
585
+ - test/fixtures/rails_app/app/models/case.rb
586
+ - test/fixtures/rails_app/app/models/category.rb
587
+ - test/fixtures/rails_app/app/models/comment.rb
588
+ - test/fixtures/rails_app/app/models/delayed/task.rb
589
+ - test/fixtures/rails_app/app/models/dog.rb
590
+ - test/fixtures/rails_app/app/models/entry.rb
591
+ - test/fixtures/rails_app/app/models/hit.rb
592
+ - test/fixtures/rails_app/app/models/image_holder.rb
593
+ - test/fixtures/rails_app/app/models/invoice.rb
594
+ - test/fixtures/rails_app/app/models/order.rb
595
+ - test/fixtures/rails_app/app/models/page.rb
596
+ - test/fixtures/rails_app/app/models/post.rb
597
+ - test/fixtures/rails_app/app/models/project.rb
598
+ - test/fixtures/rails_app/app/models/project_collaborator.rb
599
+ - test/fixtures/rails_app/app/models/site.rb
600
+ - test/fixtures/rails_app/app/models/typus_user.rb
601
+ - test/fixtures/rails_app/app/models/user.rb
602
+ - test/fixtures/rails_app/app/models/view.rb
603
+ - test/fixtures/rails_app/app/views/admin/assets/_index.html.erb
604
+ - test/fixtures/rails_app/app/views/admin/cases/_index.html.erb
605
+ - test/fixtures/rails_app/app/views/admin/categories/_index.html.erb
606
+ - test/fixtures/rails_app/app/views/admin/dashboard/_sidebar.html.erb
607
+ - test/fixtures/rails_app/app/views/admin/entries/_index.html.erb
608
+ - test/fixtures/rails_app/app/views/admin/hits/_edit.html.erb
609
+ - test/fixtures/rails_app/app/views/admin/hits/_index.html.erb
610
+ - test/fixtures/rails_app/app/views/admin/hits/index.html.erb
611
+ - test/fixtures/rails_app/app/views/admin/pages/_index.html.erb
612
+ - test/fixtures/rails_app/app/views/admin/posts/_edit.html.erb
613
+ - test/fixtures/rails_app/app/views/admin/posts/_index.html.erb
614
+ - test/fixtures/rails_app/app/views/admin/posts/_new.html.erb
615
+ - test/fixtures/rails_app/app/views/admin/posts/_show.html.erb
616
+ - test/fixtures/rails_app/app/views/admin/resources/_sidebar.html.erb
617
+ - test/fixtures/rails_app/app/views/admin/status/index.html.erb
618
+ - test/fixtures/rails_app/app/views/admin/templates/_datepicker.html.erb
619
+ - test/fixtures/rails_app/app/views/admin/watch_dog/index.html.erb
620
+ - test/fixtures/rails_app/config.ru
621
+ - test/fixtures/rails_app/config/application.rb
622
+ - test/fixtures/rails_app/config/boot.rb
623
+ - test/fixtures/rails_app/config/database.yml
624
+ - test/fixtures/rails_app/config/deploy.rb
625
+ - test/fixtures/rails_app/config/environment.rb
626
+ - test/fixtures/rails_app/config/environments/development.rb
627
+ - test/fixtures/rails_app/config/environments/production.rb
628
+ - test/fixtures/rails_app/config/environments/test.rb
629
+ - test/fixtures/rails_app/config/initializers/backtrace_silencers.rb
630
+ - test/fixtures/rails_app/config/initializers/dragonfly.rb
631
+ - test/fixtures/rails_app/config/initializers/inflections.rb
632
+ - test/fixtures/rails_app/config/initializers/mime_types.rb
633
+ - test/fixtures/rails_app/config/initializers/secret_token.rb
634
+ - test/fixtures/rails_app/config/initializers/session_store.rb
635
+ - test/fixtures/rails_app/config/initializers/wrap_parameters.rb
636
+ - test/fixtures/rails_app/config/locales/en.yml
637
+ - test/fixtures/rails_app/config/mongoid.yml
638
+ - test/fixtures/rails_app/config/routes.rb
639
+ - test/fixtures/rails_app/config/typus/README
640
+ - test/fixtures/rails_app/config/typus/admin.yml
641
+ - test/fixtures/rails_app/config/typus/admin_roles.yml
642
+ - test/fixtures/rails_app/config/typus/crud_basic.yml
643
+ - test/fixtures/rails_app/config/typus/crud_basic_roles.yml
644
+ - test/fixtures/rails_app/config/typus/crud_extended.yml
645
+ - test/fixtures/rails_app/config/typus/crud_extended_roles.yml
646
+ - test/fixtures/rails_app/config/typus/crud_namespaced.yml
647
+ - test/fixtures/rails_app/config/typus/crud_namespaced_roles.yml
648
+ - test/fixtures/rails_app/config/typus/has_many.yml
649
+ - test/fixtures/rails_app/config/typus/has_many_roles.yml
650
+ - test/fixtures/rails_app/config/typus/has_many_through.yml
651
+ - test/fixtures/rails_app/config/typus/has_many_through_roles.yml
652
+ - test/fixtures/rails_app/config/typus/has_one.yml
653
+ - test/fixtures/rails_app/config/typus/has_one_roles.yml
654
+ - test/fixtures/rails_app/config/typus/mongo_db.yml
655
+ - test/fixtures/rails_app/config/typus/mongo_db_roles.yml
656
+ - test/fixtures/rails_app/config/typus/polymorphic.yml
657
+ - test/fixtures/rails_app/config/typus/polymorphic_roles.yml
658
+ - test/fixtures/rails_app/config/typus/resource_roles.yml
659
+ - test/fixtures/rails_app/config/typus/sti.yml
660
+ - test/fixtures/rails_app/config/typus/sti_roles.yml
661
+ - test/fixtures/rails_app/config/typus/unknown.yml
662
+ - test/fixtures/rails_app/config/typus/unknown_roles.yml
663
+ - test/fixtures/rails_app/db/.gitkeep
664
+ - test/fixtures/rails_app/db/schema.rb
665
+ - test/fixtures/rails_app/db/seeds.rb
666
+ - test/fixtures/rails_app/db/seeds/assets/000.jpg
667
+ - test/fixtures/rails_app/db/seeds/assets/001.jpg
668
+ - test/fixtures/rails_app/db/seeds/assets/002.jpg
669
+ - test/fixtures/rails_app/db/seeds/assets/003.jpg
670
+ - test/fixtures/rails_app/db/seeds/assets/004.jpg
671
+ - test/fixtures/rails_app/public/404.html
672
+ - test/fixtures/rails_app/public/422.html
673
+ - test/fixtures/rails_app/public/500.html
674
+ - test/fixtures/rails_app/public/favicon.ico
675
+ - test/fixtures/rails_app/public/images/rails.png
676
+ - test/fixtures/rails_app/public/robots.txt
677
+ - test/fixtures/rails_app/public/stylesheets/.gitkeep
678
+ - test/fixtures/rails_app/script/rails
679
+ - test/fixtures/rails_app/tmp/.gitkeep
680
+ - test/lib/support/active_record_test.rb
681
+ - test/lib/support/fake_user_test.rb
682
+ - test/lib/support/hash_test.rb
683
+ - test/lib/support/object_test.rb
684
+ - test/lib/support/string_test.rb
685
+ - test/lib/typus/configuration_test.rb
686
+ - test/lib/typus/controller/actions_test.rb
687
+ - test/lib/typus/controller/associations_test.rb
688
+ - test/lib/typus/controller/autocomplete_test.rb
689
+ - test/lib/typus/controller/filters_test.rb
690
+ - test/lib/typus/controller/format_test.rb
691
+ - test/lib/typus/i18n_test.rb
692
+ - test/lib/typus/orm/active_record/class_methods_test.rb
693
+ - test/lib/typus/orm/active_record/search_test.rb
694
+ - test/lib/typus/regex_test.rb
695
+ - test/lib/typus/resources_test.rb
696
+ - test/lib/typus_test.rb
697
+ - test/test_helper.rb