qbrick 2.5.0.pre → 2.5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (341) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +69 -379
  3. data/Rakefile +4 -4
  4. data/app/assets/images/logo.png +0 -0
  5. data/app/assets/javascripts/{kuhsaft → qbrick}/application.js.coffee +1 -1
  6. data/app/assets/javascripts/{kuhsaft → qbrick}/cms/application.js.coffee.erb +40 -17
  7. data/app/assets/javascripts/{kuhsaft → qbrick}/views/read_more_view.js.coffee +0 -0
  8. data/app/assets/stylesheets/{kuhsaft → qbrick}/application.css.sass +0 -0
  9. data/app/assets/stylesheets/{kuhsaft → qbrick}/cms/application.css.sass +38 -1
  10. data/app/assets/stylesheets/{kuhsaft → qbrick}/modules/_text_brick.css.sass +1 -1
  11. data/app/controllers/{kuhsaft → qbrick}/api/pages_controller.rb +2 -2
  12. data/app/controllers/qbrick/cms/accounts_controller.rb +28 -0
  13. data/app/controllers/qbrick/cms/admins_controller.rb +79 -0
  14. data/app/controllers/{kuhsaft → qbrick}/cms/assets_controller.rb +9 -9
  15. data/app/controllers/qbrick/cms/backend_controller.rb +25 -0
  16. data/app/controllers/{kuhsaft → qbrick}/cms/bricks_controller.rb +16 -13
  17. data/app/controllers/{kuhsaft → qbrick}/cms/ckimages_controller.rb +6 -6
  18. data/app/controllers/qbrick/cms/pages_controller.rb +87 -0
  19. data/app/controllers/qbrick/cms/settings_collections_controller.rb +26 -0
  20. data/app/controllers/{kuhsaft → qbrick}/pages_controller.rb +10 -5
  21. data/app/controllers/{kuhsaft → qbrick}/sitemaps_controller.rb +3 -3
  22. data/app/helpers/cms_helper.rb +4 -4
  23. data/app/helpers/pages_helper.rb +18 -10
  24. data/app/helpers/{kuhsaft → qbrick}/admin_helper.rb +2 -2
  25. data/app/helpers/qbrick/cms/admin_helper.rb +73 -0
  26. data/app/helpers/{kuhsaft → qbrick}/cms/pages_helper.rb +2 -2
  27. data/app/models/{kuhsaft → qbrick}/accordion_brick.rb +2 -2
  28. data/app/models/{kuhsaft → qbrick}/accordion_item_brick.rb +1 -1
  29. data/app/models/qbrick/admin.rb +8 -0
  30. data/app/models/{kuhsaft → qbrick}/anchor_brick.rb +1 -1
  31. data/app/models/{kuhsaft → qbrick}/asset.rb +2 -2
  32. data/app/models/{kuhsaft → qbrick}/asset_brick.rb +2 -2
  33. data/app/models/{kuhsaft → qbrick}/brick.rb +11 -8
  34. data/app/models/{kuhsaft → qbrick}/brick_type.rb +1 -1
  35. data/app/models/{kuhsaft → qbrick}/brick_type_filter.rb +4 -4
  36. data/app/models/{kuhsaft → qbrick}/ckimage.rb +1 -1
  37. data/app/models/{kuhsaft → qbrick}/cms.rb +2 -2
  38. data/app/models/qbrick/cms_model.rb +25 -0
  39. data/app/models/{kuhsaft → qbrick}/column_brick.rb +2 -2
  40. data/app/models/{kuhsaft → qbrick}/image_brick.rb +2 -2
  41. data/app/models/{kuhsaft → qbrick}/image_size.rb +3 -3
  42. data/app/models/{kuhsaft → qbrick}/link_brick.rb +1 -1
  43. data/app/models/{kuhsaft → qbrick}/page.rb +78 -17
  44. data/app/models/{kuhsaft → qbrick}/page_type.rb +3 -2
  45. data/app/models/{kuhsaft → qbrick}/partition.rb +1 -1
  46. data/app/models/{kuhsaft → qbrick}/placeholder_brick.rb +4 -4
  47. data/app/models/{kuhsaft → qbrick}/publish_state.rb +1 -1
  48. data/app/models/qbrick/setting.rb +13 -0
  49. data/app/models/qbrick/settings_collection.rb +10 -0
  50. data/app/models/{kuhsaft → qbrick}/slider_brick.rb +3 -3
  51. data/app/models/{kuhsaft → qbrick}/text_brick.rb +1 -1
  52. data/app/models/{kuhsaft → qbrick}/two_column_brick.rb +2 -2
  53. data/app/models/{kuhsaft → qbrick}/video_brick.rb +1 -1
  54. data/app/uploaders/qbrick/asset_brick_asset_uploader.rb +26 -0
  55. data/app/uploaders/{kuhsaft → qbrick}/asset_uploader.rb +3 -2
  56. data/app/uploaders/{kuhsaft → qbrick}/ckimage_uploader.rb +1 -1
  57. data/app/uploaders/{kuhsaft → qbrick}/image_brick_image_uploader.rb +4 -4
  58. data/app/views/devise/confirmations/new.html.haml +10 -0
  59. data/app/views/devise/mailer/confirmation_instructions.html.haml +4 -0
  60. data/app/views/devise/mailer/reset_password_instructions.html.haml +6 -0
  61. data/app/views/devise/mailer/unlock_instructions.html.haml +5 -0
  62. data/app/views/devise/passwords/edit.html.haml +10 -0
  63. data/app/views/devise/passwords/new.html.haml +8 -0
  64. data/app/views/devise/registrations/edit.html.haml +9 -0
  65. data/app/views/devise/registrations/new.html.haml +21 -0
  66. data/app/views/devise/sessions/new.html.haml +12 -0
  67. data/app/views/devise/shared/_links.html.haml +19 -0
  68. data/app/views/devise/unlocks/new.html.haml +10 -0
  69. data/app/views/layouts/devise.html.haml +16 -0
  70. data/app/views/layouts/{kuhsaft → qbrick}/cms/application.html.haml +4 -5
  71. data/app/views/layouts/qbrick/cms/ckimages.html.haml +18 -0
  72. data/app/views/{kuhsaft → qbrick}/accordion_bricks/_accordion_brick.html.haml +0 -0
  73. data/app/views/{kuhsaft → qbrick}/accordion_bricks/accordion_brick/_edit.html.haml +0 -0
  74. data/app/views/{kuhsaft → qbrick}/accordion_item_bricks/_accordion_item_brick.html.haml +0 -0
  75. data/app/views/{kuhsaft → qbrick}/accordion_item_bricks/accordion_item_brick/_edit.html.haml +0 -0
  76. data/app/views/{kuhsaft → qbrick}/anchor_bricks/_anchor_brick.html.haml +0 -0
  77. data/app/views/{kuhsaft → qbrick}/anchor_bricks/anchor_brick/_edit.html.haml +0 -0
  78. data/app/views/{kuhsaft → qbrick}/asset_bricks/_asset_brick.html.haml +0 -0
  79. data/app/views/{kuhsaft → qbrick}/asset_bricks/asset_brick/_edit.html.haml +1 -1
  80. data/app/views/qbrick/cms/accounts/edit.html.haml +12 -0
  81. data/app/views/qbrick/cms/admins/_form.html.haml +10 -0
  82. data/app/views/qbrick/cms/admins/edit.html.haml +5 -0
  83. data/app/views/qbrick/cms/admins/index.html.haml +26 -0
  84. data/app/views/qbrick/cms/admins/new.html.haml +5 -0
  85. data/app/views/{kuhsaft → qbrick}/cms/assets/_form.html.haml +0 -0
  86. data/app/views/{kuhsaft → qbrick}/cms/assets/_list.html.haml +0 -0
  87. data/app/views/{kuhsaft → qbrick}/cms/assets/edit.html.haml +0 -0
  88. data/app/views/qbrick/cms/assets/index.html.haml +3 -0
  89. data/app/views/{kuhsaft → qbrick}/cms/assets/new.html.haml +0 -0
  90. data/app/views/qbrick/cms/backend/_brick_clone_menu.html.haml +16 -0
  91. data/app/views/qbrick/cms/backend/_brick_type_dropdown.html.haml +15 -0
  92. data/app/views/{kuhsaft/cms/admin → qbrick/cms/backend}/_empty_state.html.haml +0 -0
  93. data/app/views/{kuhsaft/cms/admin → qbrick/cms/backend}/_flash.html.haml +0 -0
  94. data/app/views/qbrick/cms/backend/_main_navigation.html.haml +20 -0
  95. data/app/views/{kuhsaft → qbrick}/cms/bricks/_brick_header.html.haml +4 -4
  96. data/app/views/{kuhsaft → qbrick}/cms/bricks/_brick_item.html.haml +6 -5
  97. data/app/views/{kuhsaft → qbrick}/cms/bricks/_brick_list.html.haml +1 -1
  98. data/app/views/{kuhsaft → qbrick}/cms/bricks/_new.html.haml +3 -3
  99. data/app/views/{kuhsaft → qbrick}/cms/bricks/_sort_form.html.haml +0 -0
  100. data/app/views/{kuhsaft → qbrick}/cms/bricks/create.js.erb +1 -1
  101. data/app/views/{kuhsaft → qbrick}/cms/bricks/destroy.js.erb +0 -0
  102. data/app/views/{kuhsaft → qbrick}/cms/bricks/new.js.erb +1 -1
  103. data/app/views/{kuhsaft → qbrick}/cms/bricks/update.js.erb +1 -1
  104. data/app/views/{kuhsaft → qbrick}/cms/ckimages/create.html.haml +0 -0
  105. data/app/views/{kuhsaft → qbrick}/cms/ckimages/destroy.js.erb +0 -0
  106. data/app/views/{kuhsaft → qbrick}/cms/ckimages/index.html.haml +1 -1
  107. data/app/views/{kuhsaft → qbrick}/cms/pages/_branch.html.haml +4 -4
  108. data/app/views/{kuhsaft → qbrick}/cms/pages/_form.html.haml +15 -6
  109. data/app/views/qbrick/cms/pages/_mirror_modal.html.haml +52 -0
  110. data/app/views/qbrick/cms/pages/edit.html.haml +16 -0
  111. data/app/views/{kuhsaft → qbrick}/cms/pages/index.html.haml +1 -1
  112. data/app/views/qbrick/cms/pages/mirror.js.haml +5 -0
  113. data/app/views/qbrick/cms/pages/new.html.haml +1 -0
  114. data/app/views/{kuhsaft → qbrick}/cms/pages/show.html.haml +0 -0
  115. data/app/views/{kuhsaft → qbrick}/cms/pages/sort.js.erb +0 -0
  116. data/app/views/qbrick/cms/settings_collections/_form.html.haml +8 -0
  117. data/app/views/qbrick/cms/settings_collections/index.html.haml +6 -0
  118. data/app/views/{kuhsaft → qbrick}/column_bricks/_column_brick.html.haml +0 -0
  119. data/app/views/{kuhsaft → qbrick}/column_bricks/column_brick/_edit.html.haml +0 -0
  120. data/app/views/{kuhsaft → qbrick}/image_bricks/_image_brick.html.haml +0 -0
  121. data/app/views/{kuhsaft → qbrick}/image_bricks/image_brick/_edit.html.haml +1 -1
  122. data/app/views/{kuhsaft → qbrick}/link_bricks/_link_brick.html.haml +0 -0
  123. data/app/views/{kuhsaft → qbrick}/link_bricks/link_brick/_edit.html.haml +1 -1
  124. data/app/views/{kuhsaft → qbrick}/pages/index.html.haml +2 -2
  125. data/app/views/{kuhsaft → qbrick}/pages/show.html.haml +2 -0
  126. data/app/views/{kuhsaft → qbrick}/placeholder_bricks/_placeholder_brick.html.haml +0 -0
  127. data/app/views/qbrick/placeholder_bricks/placeholder_brick/_edit.html.haml +1 -0
  128. data/app/views/{kuhsaft → qbrick}/search/_form.html.haml +0 -0
  129. data/app/views/{kuhsaft → qbrick}/search/_results.html.haml +2 -2
  130. data/app/views/{kuhsaft → qbrick}/search/_results_entry.html.haml +1 -1
  131. data/app/views/{kuhsaft → qbrick}/sitemaps/index.xml.haml +0 -0
  132. data/app/views/{kuhsaft → qbrick}/slider_bricks/_slider_brick.html.haml +0 -0
  133. data/app/views/{kuhsaft → qbrick}/slider_bricks/slider_brick/_edit.html.haml +0 -0
  134. data/app/views/{kuhsaft → qbrick}/text_bricks/_text_brick.html.haml +0 -0
  135. data/app/views/{kuhsaft → qbrick}/text_bricks/text_brick/_edit.html.haml +0 -0
  136. data/app/views/{kuhsaft → qbrick}/two_column_bricks/_two_column_brick.html.haml +1 -1
  137. data/app/views/qbrick/two_column_bricks/two_column_brick/_childs.html.haml +5 -0
  138. data/app/views/qbrick/two_column_bricks/two_column_brick/_edit.html.haml +1 -0
  139. data/app/views/{kuhsaft → qbrick}/video_bricks/_video_brick.html.haml +2 -2
  140. data/app/views/{kuhsaft → qbrick}/video_bricks/video_brick/_edit.html.haml +1 -1
  141. data/config/initializers/devise.rb +259 -0
  142. data/config/locales/cms.de.yml +11 -0
  143. data/config/locales/cms.en.yml +11 -0
  144. data/config/locales/devise.en.yml +60 -0
  145. data/config/locales/models/qbrick/accordion_brick/de.yml +4 -0
  146. data/config/locales/models/qbrick/accordion_brick/en.yml +4 -0
  147. data/config/locales/models/qbrick/accordion_item_brick/de.yml +7 -0
  148. data/config/locales/models/qbrick/accordion_item_brick/en.yml +7 -0
  149. data/config/locales/models/qbrick/admin/de.yml +13 -0
  150. data/config/locales/models/qbrick/admin/en.yml +13 -0
  151. data/config/locales/models/{kuhsaft → qbrick}/anchor_brick/de.yml +2 -2
  152. data/config/locales/models/{kuhsaft → qbrick}/anchor_brick/en.yml +2 -2
  153. data/config/locales/models/{kuhsaft → qbrick}/asset_brick/de.yml +2 -2
  154. data/config/locales/models/{kuhsaft → qbrick}/asset_brick/en.yml +2 -2
  155. data/config/locales/models/{kuhsaft → qbrick}/brick/de.yml +1 -1
  156. data/config/locales/models/{kuhsaft → qbrick}/brick/en.yml +1 -1
  157. data/config/locales/models/qbrick/column_brick/de.yml +4 -0
  158. data/config/locales/models/qbrick/column_brick/en.yml +4 -0
  159. data/config/locales/models/{kuhsaft → qbrick}/image_brick/de.yml +2 -2
  160. data/config/locales/models/{kuhsaft → qbrick}/image_brick/en.yml +2 -2
  161. data/config/locales/models/{kuhsaft → qbrick}/image_size/de.yml +2 -2
  162. data/config/locales/models/{kuhsaft → qbrick}/image_size/en.yml +2 -2
  163. data/config/locales/models/{kuhsaft → qbrick}/link_brick/de.yml +2 -2
  164. data/config/locales/models/{kuhsaft → qbrick}/link_brick/en.yml +2 -2
  165. data/config/locales/models/{kuhsaft → qbrick}/page/de.yml +2 -2
  166. data/config/locales/models/{kuhsaft → qbrick}/page/en.yml +3 -2
  167. data/config/locales/models/{kuhsaft → qbrick}/placeholder_brick/de.yml +2 -2
  168. data/config/locales/models/{kuhsaft → qbrick}/placeholder_brick/en.yml +2 -2
  169. data/config/locales/models/qbrick/slider_brick/de.yml +4 -0
  170. data/config/locales/models/qbrick/slider_brick/en.yml +4 -0
  171. data/config/locales/models/{kuhsaft → qbrick}/text_brick/de.yml +2 -2
  172. data/config/locales/models/{kuhsaft → qbrick}/text_brick/en.yml +2 -2
  173. data/config/locales/models/qbrick/two_column_brick/de.yml +7 -0
  174. data/config/locales/models/qbrick/two_column_brick/en.yml +7 -0
  175. data/config/locales/models/{kuhsaft → qbrick}/video_brick/de.yml +2 -2
  176. data/config/locales/models/{kuhsaft → qbrick}/video_brick/en.yml +2 -2
  177. data/config/locales/views/qbrick/cms/admin/de.yml +36 -0
  178. data/config/locales/views/{kuhsaft → qbrick}/cms/admin/en.yml +1 -1
  179. data/config/locales/views/{kuhsaft → qbrick}/cms/bricks/de.yml +1 -1
  180. data/config/locales/views/{kuhsaft → qbrick}/cms/bricks/en.yml +1 -1
  181. data/config/locales/views/qbrick/cms/navigation.yml +8 -0
  182. data/config/locales/views/{kuhsaft → qbrick}/cms/pages/de.yml +14 -1
  183. data/config/locales/views/{kuhsaft → qbrick}/cms/pages/en.yml +1 -1
  184. data/config/locales/views/qbrick/cms/settings_collection/de.yml +14 -0
  185. data/config/locales/views/qbrick/cms/settings_collection/en.yml +14 -0
  186. data/config/locales/views/{kuhsaft → qbrick}/image_brick/de.yml +1 -1
  187. data/config/locales/views/{kuhsaft → qbrick}/image_brick/en.yml +1 -1
  188. data/config/locales/views/{kuhsaft → qbrick}/search/de.yml +1 -1
  189. data/config/locales/views/{kuhsaft → qbrick}/search/en.yml +1 -1
  190. data/config/locales/views/{kuhsaft → qbrick}/text_brick/de.yml +1 -1
  191. data/config/locales/views/{kuhsaft → qbrick}/text_brick/en.yml +1 -1
  192. data/config/locales/views/{kuhsaft → qbrick}/video_brick/de.yml +1 -1
  193. data/config/locales/views/{kuhsaft → qbrick}/video_brick/en.yml +1 -1
  194. data/config/routes.rb +14 -2
  195. data/db/migrate/{01_create_kuhsaft_pages.rb → 01_create_qbrick_pages.rb} +5 -5
  196. data/db/migrate/{02_create_kuhsaft_bricks.rb → 02_create_qbrick_bricks.rb} +3 -3
  197. data/db/migrate/03_create_qbrick_brick_types.rb +12 -0
  198. data/db/migrate/04_create_qbrick_assets.rb +10 -0
  199. data/db/migrate/05_remove_cms_admin.rb +3 -3
  200. data/db/migrate/06_add_template_name_to_qbrick_bricks.rb +7 -0
  201. data/db/migrate/07_add_default_value_to_brick_type_enabled.rb +2 -2
  202. data/db/migrate/08_add_display_styles_to_bricks.rb +1 -1
  203. data/db/migrate/09_add_additional_fields_to_qbrick_bricks.rb +6 -0
  204. data/db/migrate/10_add_redirect_url_to_qbrick_pages.rb +7 -0
  205. data/db/migrate/11_update_url_and_redirect_url_value.rb +2 -2
  206. data/db/migrate/12_regenerate_fulltext.rb +1 -1
  207. data/db/migrate/13_add_page_title_to_pages.rb +1 -1
  208. data/db/migrate/14_move_qbrick_assets.rb +22 -0
  209. data/db/migrate/15_add_alt_text_to_bricks.rb +1 -1
  210. data/db/migrate/16_update_default_value_for_page_type.rb +2 -2
  211. data/db/migrate/17_set_page_type_to_content_for_empty_fields.rb +2 -2
  212. data/db/migrate/18_add_identifier_to_qbrick_pages.rb +6 -0
  213. data/db/migrate/19_add_col_count_to_bricks.rb +1 -1
  214. data/db/migrate/20_create_qbrick_ckimages.rb +9 -0
  215. data/db/migrate/21_add_google_verification_key_to_qbrick_pages.rb +5 -0
  216. data/db/migrate/22_create_settings.rb +15 -0
  217. data/db/migrate/22_create_settings_collections.rb +11 -0
  218. data/db/migrate/23_add_metadata_to_asset.rb +6 -0
  219. data/db/migrate/23_devise_create_qbrick_admins.rb +42 -0
  220. data/db/seeds.rb +36 -13
  221. data/lib/generators/{kuhsaft → qbrick}/assets/install_generator.rb +5 -5
  222. data/lib/generators/qbrick/custom_model_generator.rb +117 -0
  223. data/lib/generators/{kuhsaft → qbrick}/translations/add_generator.rb +4 -4
  224. data/lib/qbrick.rb +24 -0
  225. data/lib/{kuhsaft → qbrick}/brick_list.rb +3 -3
  226. data/lib/{kuhsaft → qbrick}/engine.rb +5 -5
  227. data/lib/{kuhsaft → qbrick}/gridded.rb +1 -1
  228. data/lib/{kuhsaft → qbrick}/image_uploader_mounting.rb +2 -2
  229. data/lib/{kuhsaft → qbrick}/orderable.rb +1 -1
  230. data/lib/{kuhsaft → qbrick}/page_tree.rb +1 -1
  231. data/lib/{kuhsaft → qbrick}/partial_extractor.rb +1 -1
  232. data/lib/{kuhsaft → qbrick}/searchable.rb +5 -3
  233. data/lib/{kuhsaft → qbrick}/touch_placeholders.rb +4 -4
  234. data/lib/{kuhsaft → qbrick}/translatable.rb +1 -1
  235. data/lib/qbrick/version.rb +3 -0
  236. data/lib/tasks/{kuhsaft_tasks.rake → qbrick_tasks.rake} +5 -5
  237. data/lib/templates/{kuhsaft → qbrick}/assets/ck-config.js.coffee +0 -0
  238. data/lib/templates/{kuhsaft → qbrick}/assets/customizations.css.sass +0 -0
  239. data/lib/templates/{kuhsaft → qbrick}/assets/customizations.js.coffee +0 -0
  240. data/lib/templates/qbrick/custom_model_generator/base_controller.rb +17 -0
  241. data/lib/templates/qbrick/custom_model_generator/inherited_views/base/_form.html.haml +12 -0
  242. data/lib/templates/qbrick/custom_model_generator/inherited_views/base/edit.html.haml +5 -0
  243. data/lib/templates/qbrick/custom_model_generator/inherited_views/base/index.html.haml +28 -0
  244. data/lib/templates/qbrick/custom_model_generator/inherited_views/base/new.html.haml +5 -0
  245. data/lib/templates/qbrick/custom_model_generator/translations/qbrick_base.yml +11 -0
  246. data/lib/templates/qbrick/custom_model_generator/translations/resource.yml.erb +14 -0
  247. data/lib/templates/qbrick/translations/add_translation.erb +8 -0
  248. data/spec/command_wrapper_helper.rb +21 -0
  249. data/spec/controllers/{kuhsaft → qbrick}/api/pages_controller_spec.rb +5 -5
  250. data/spec/controllers/qbrick/cms/pages_controller_spec.rb +61 -0
  251. data/spec/controllers/{kuhsaft → qbrick}/pages_controller_spec.rb +11 -13
  252. data/spec/controllers/{kuhsaft → qbrick}/sitemaps_controller_spec.rb +2 -2
  253. data/spec/dummy/app/assets/javascripts/{kuhsaft → qbrick}/cms/ck-config.js.coffee +0 -0
  254. data/spec/dummy/app/assets/javascripts/{kuhsaft → qbrick}/cms/customizations.js.coffee +0 -0
  255. data/spec/dummy/app/assets/stylesheets/{kuhsaft → qbrick}/cms/customizations.css.sass +0 -0
  256. data/spec/dummy/app/controllers/application_controller.rb +1 -1
  257. data/spec/dummy/config/application.rb +3 -2
  258. data/spec/dummy/config/database.yml +2 -2
  259. data/spec/dummy/config/environments/production.rb +2 -2
  260. data/spec/dummy/config/environments/test.rb +1 -1
  261. data/spec/dummy/config/initializers/{kuhsaft.rb → qbrick.rb} +1 -1
  262. data/spec/dummy/config/routes.rb +4 -1
  263. data/spec/factories.rb +24 -9
  264. data/spec/features/administrator_management_spec.rb +70 -0
  265. data/spec/features/cms_pages_spec.rb +15 -11
  266. data/spec/features/search_spec.rb +15 -15
  267. data/spec/features_helper.rb +36 -0
  268. data/spec/generators/custom_model_generator_spec.rb +83 -0
  269. data/spec/helpers/{kuhsaft → qbrick}/cms/admin_helper_spec.rb +5 -5
  270. data/spec/helpers/{kuhsaft → qbrick}/cms/pages_helper_spec.rb +6 -6
  271. data/spec/helpers/{kuhsaft → qbrick}/pages_helper_spec.rb +4 -5
  272. data/spec/lib/brick_list_spec.rb +12 -11
  273. data/spec/lib/engine_spec.rb +5 -9
  274. data/spec/lib/gridded_spec.rb +4 -5
  275. data/spec/lib/image_uploader_mounting_spec.rb +3 -4
  276. data/spec/lib/page_tree_spec.rb +5 -5
  277. data/spec/lib/searchable_spec.rb +7 -8
  278. data/spec/lib/touch_placeholders_spec.rb +4 -5
  279. data/spec/lib/translatable_spec.rb +20 -20
  280. data/spec/models/accordion_brick_spec.rb +7 -8
  281. data/spec/models/accordion_item_brick_spec.rb +8 -9
  282. data/spec/models/anchor_brick_spec.rb +5 -6
  283. data/spec/models/asset_brick_spec.rb +8 -9
  284. data/spec/models/asset_spec.rb +9 -11
  285. data/spec/models/brick_spec.rb +34 -34
  286. data/spec/models/brick_type_filter_spec.rb +14 -14
  287. data/spec/models/column_brick_spec.rb +6 -7
  288. data/spec/models/image_brick_spec.rb +9 -10
  289. data/spec/models/image_size_spec.rb +8 -8
  290. data/spec/models/link_brick_spec.rb +9 -10
  291. data/spec/models/page_spec.rb +113 -73
  292. data/spec/models/placeholder_brick_spec.rb +12 -13
  293. data/spec/models/publish_state_spec.rb +7 -7
  294. data/spec/models/setting_spec.rb +28 -0
  295. data/spec/models/slider_brick_spec.rb +5 -6
  296. data/spec/models/text_brick_spec.rb +5 -5
  297. data/spec/models/two_column_brick_spec.rb +14 -15
  298. data/spec/models/video_brick_spec.rb +5 -6
  299. data/spec/postgres_helper.rb +66 -0
  300. data/spec/{kuhsaft_spec.rb → qbrick_spec.rb} +2 -2
  301. data/spec/spec_helper.rb +23 -10
  302. data/spec/support/{kuhsaft_spec_helper.rb → qbrick_spec_helper.rb} +1 -1
  303. data/spec/support/write_expectation.rb +2 -2
  304. data/spec/views/{kuhsaft → qbrick}/sitemaps/index.xml.haml_spec.rb +3 -3
  305. metadata +451 -330
  306. data/app/controllers/kuhsaft/cms/admin_controller.rb +0 -18
  307. data/app/controllers/kuhsaft/cms/pages_controller.rb +0 -71
  308. data/app/helpers/kuhsaft/cms/admin_helper.rb +0 -21
  309. data/app/uploaders/kuhsaft/asset_brick_asset_uploader.rb +0 -43
  310. data/app/views/kuhsaft/cms/admin/_brick_type_dropdown.html.haml +0 -14
  311. data/app/views/kuhsaft/cms/admin/_content_language_switch.html.haml +0 -7
  312. data/app/views/kuhsaft/cms/admin/_main_navigation.html.haml +0 -6
  313. data/app/views/kuhsaft/cms/assets/index.html.haml +0 -3
  314. data/app/views/kuhsaft/cms/pages/edit.html.haml +0 -16
  315. data/app/views/kuhsaft/cms/pages/new.html.haml +0 -1
  316. data/app/views/kuhsaft/placeholder_bricks/placeholder_brick/_edit.html.haml +0 -1
  317. data/app/views/kuhsaft/two_column_bricks/two_column_brick/_childs.html.haml +0 -5
  318. data/app/views/kuhsaft/two_column_bricks/two_column_brick/_edit.html.haml +0 -1
  319. data/app/views/layouts/kuhsaft/cms/ckimages.html.haml +0 -18
  320. data/config/locales/models/kuhsaft/accordion_brick/de.yml +0 -4
  321. data/config/locales/models/kuhsaft/accordion_brick/en.yml +0 -4
  322. data/config/locales/models/kuhsaft/accordion_item_brick/de.yml +0 -7
  323. data/config/locales/models/kuhsaft/accordion_item_brick/en.yml +0 -7
  324. data/config/locales/models/kuhsaft/column_brick/de.yml +0 -4
  325. data/config/locales/models/kuhsaft/column_brick/en.yml +0 -4
  326. data/config/locales/models/kuhsaft/slider_brick/de.yml +0 -4
  327. data/config/locales/models/kuhsaft/slider_brick/en.yml +0 -4
  328. data/config/locales/models/kuhsaft/two_column_brick/de.yml +0 -7
  329. data/config/locales/models/kuhsaft/two_column_brick/en.yml +0 -7
  330. data/config/locales/views/kuhsaft/cms/admin/de.yml +0 -13
  331. data/db/migrate/03_create_kuhsaft_brick_types.rb +0 -12
  332. data/db/migrate/04_create_kuhsaft_assets.rb +0 -10
  333. data/db/migrate/06_add_template_name_to_kuhsaft_bricks.rb +0 -7
  334. data/db/migrate/09_add_additional_fields_to_kuhsaft_bricks.rb +0 -6
  335. data/db/migrate/10_add_redirect_url_to_kuhsaft_pages.rb +0 -7
  336. data/db/migrate/14_move_kuhsaft_assets.rb +0 -22
  337. data/db/migrate/18_add_identifier_to_kuhsaft_pages.rb +0 -6
  338. data/db/migrate/20_create_kuhsaft_ckimages.rb +0 -9
  339. data/lib/kuhsaft.rb +0 -22
  340. data/lib/kuhsaft/version.rb +0 -3
  341. data/lib/templates/kuhsaft/translations/add_translation.erb +0 -8
@@ -1,4 +1,4 @@
1
- module KuhsaftSpecHelper
1
+ module QbrickSpecHelper
2
2
  def create_page_tree
3
3
  page1 = create(:page)
4
4
  page2 = create(:page, parent: page1)
@@ -17,11 +17,11 @@ RSpec::Matchers.define :write do |message|
17
17
  "write \"#{message}\" #{io_name}"
18
18
  end
19
19
 
20
- failure_message_for_should do
20
+ failure_message do
21
21
  "expected to #{description}"
22
22
  end
23
23
 
24
- failure_message_for_should_not do
24
+ failure_message_when_negated do
25
25
  "expected to not #{description}"
26
26
  end
27
27
 
@@ -1,7 +1,7 @@
1
1
  require 'spec_helper'
2
2
  include SitemapsHelper
3
3
 
4
- describe 'kuhsaft/sitemaps/index.xml.haml' do
4
+ describe 'qbrick/sitemaps/index.xml.haml', :type => :view do
5
5
  describe 'structure' do
6
6
  before :each do
7
7
  @page = create(:page)
@@ -36,7 +36,7 @@ describe 'kuhsaft/sitemaps/index.xml.haml' do
36
36
 
37
37
  describe 'count of records'do
38
38
  before do
39
- I18n.stub(:available_locales).and_return([:de, :en])
39
+ allow(I18n).to receive(:available_locales).and_return([:de, :en])
40
40
 
41
41
  I18n.with_locale(:de) do
42
42
  @page = create(:page, title: 'Dummy Page 1 DE')
@@ -53,7 +53,7 @@ describe 'kuhsaft/sitemaps/index.xml.haml' do
53
53
  end
54
54
 
55
55
  it 'has the same count of entry as pages are there' do
56
- response.body.should have_xpath('//url', count: 4)
56
+ expect(response.body).to have_xpath('//url', count: 4)
57
57
  end
58
58
 
59
59
  it 'has a record for the german url' do
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: qbrick
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.5.0.pre
4
+ version: 2.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Immanuel Häussermann
@@ -12,230 +12,314 @@ authors:
12
12
  autorequire:
13
13
  bindir: bin
14
14
  cert_chain: []
15
- date: 2014-07-21 00:00:00.000000000 Z
15
+ date: 2015-04-23 00:00:00.000000000 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
- name: rspec
18
+ name: rspec-rails
19
19
  requirement: !ruby/object:Gem::Requirement
20
20
  requirements:
21
- - - ">="
21
+ - - ~>
22
22
  - !ruby/object:Gem::Version
23
- version: '0'
23
+ version: 3.0.1
24
24
  type: :development
25
25
  prerelease: false
26
26
  version_requirements: !ruby/object:Gem::Requirement
27
27
  requirements:
28
- - - ">="
28
+ - - ~>
29
29
  - !ruby/object:Gem::Version
30
- version: '0'
30
+ version: 3.0.1
31
31
  - !ruby/object:Gem::Dependency
32
- name: rspec-rails
32
+ name: rspec-activemodel-mocks
33
33
  requirement: !ruby/object:Gem::Requirement
34
34
  requirements:
35
- - - "~>"
35
+ - - '>='
36
36
  - !ruby/object:Gem::Version
37
- version: 2.14.2
37
+ version: '0'
38
38
  type: :development
39
39
  prerelease: false
40
40
  version_requirements: !ruby/object:Gem::Requirement
41
41
  requirements:
42
- - - "~>"
42
+ - - '>='
43
43
  - !ruby/object:Gem::Version
44
- version: 2.14.2
44
+ version: '0'
45
45
  - !ruby/object:Gem::Dependency
46
46
  name: factory_girl_rails
47
47
  requirement: !ruby/object:Gem::Requirement
48
48
  requirements:
49
- - - ">="
49
+ - - '>='
50
50
  - !ruby/object:Gem::Version
51
51
  version: '0'
52
52
  type: :development
53
53
  prerelease: false
54
54
  version_requirements: !ruby/object:Gem::Requirement
55
55
  requirements:
56
- - - ">="
56
+ - - '>='
57
57
  - !ruby/object:Gem::Version
58
58
  version: '0'
59
59
  - !ruby/object:Gem::Dependency
60
60
  name: capybara
61
61
  requirement: !ruby/object:Gem::Requirement
62
62
  requirements:
63
- - - ">="
63
+ - - ~>
64
64
  - !ruby/object:Gem::Version
65
- version: '2.0'
65
+ version: '2.3'
66
66
  type: :development
67
67
  prerelease: false
68
68
  version_requirements: !ruby/object:Gem::Requirement
69
69
  requirements:
70
- - - ">="
70
+ - - ~>
71
71
  - !ruby/object:Gem::Version
72
- version: '2.0'
72
+ version: '2.3'
73
73
  - !ruby/object:Gem::Dependency
74
74
  name: pg
75
75
  requirement: !ruby/object:Gem::Requirement
76
76
  requirements:
77
- - - ">="
77
+ - - '>='
78
78
  - !ruby/object:Gem::Version
79
79
  version: '0'
80
80
  type: :development
81
81
  prerelease: false
82
82
  version_requirements: !ruby/object:Gem::Requirement
83
83
  requirements:
84
- - - ">="
84
+ - - '>='
85
85
  - !ruby/object:Gem::Version
86
86
  version: '0'
87
87
  - !ruby/object:Gem::Dependency
88
88
  name: launchy
89
89
  requirement: !ruby/object:Gem::Requirement
90
90
  requirements:
91
- - - ">="
91
+ - - '>='
92
92
  - !ruby/object:Gem::Version
93
93
  version: '0'
94
94
  type: :development
95
95
  prerelease: false
96
96
  version_requirements: !ruby/object:Gem::Requirement
97
97
  requirements:
98
- - - ">="
98
+ - - '>='
99
99
  - !ruby/object:Gem::Version
100
100
  version: '0'
101
101
  - !ruby/object:Gem::Dependency
102
102
  name: i18n-tasks
103
103
  requirement: !ruby/object:Gem::Requirement
104
104
  requirements:
105
- - - ">="
105
+ - - '>='
106
106
  - !ruby/object:Gem::Version
107
107
  version: '0'
108
108
  type: :development
109
109
  prerelease: false
110
110
  version_requirements: !ruby/object:Gem::Requirement
111
111
  requirements:
112
- - - ">="
112
+ - - '>='
113
113
  - !ruby/object:Gem::Version
114
114
  version: '0'
115
115
  - !ruby/object:Gem::Dependency
116
116
  name: rake
117
117
  requirement: !ruby/object:Gem::Requirement
118
118
  requirements:
119
- - - ">="
119
+ - - '>='
120
120
  - !ruby/object:Gem::Version
121
121
  version: '0'
122
122
  type: :development
123
123
  prerelease: false
124
124
  version_requirements: !ruby/object:Gem::Requirement
125
125
  requirements:
126
- - - ">="
126
+ - - '>='
127
127
  - !ruby/object:Gem::Version
128
128
  version: '0'
129
129
  - !ruby/object:Gem::Dependency
130
- name: nyan-cat-formatter
130
+ name: database_cleaner
131
131
  requirement: !ruby/object:Gem::Requirement
132
132
  requirements:
133
- - - ">="
133
+ - - '>='
134
134
  - !ruby/object:Gem::Version
135
135
  version: '0'
136
136
  type: :development
137
137
  prerelease: false
138
138
  version_requirements: !ruby/object:Gem::Requirement
139
139
  requirements:
140
- - - ">="
140
+ - - '>='
141
+ - !ruby/object:Gem::Version
142
+ version: '0'
143
+ - !ruby/object:Gem::Dependency
144
+ name: pry-rails
145
+ requirement: !ruby/object:Gem::Requirement
146
+ requirements:
147
+ - - '>='
148
+ - !ruby/object:Gem::Version
149
+ version: '0'
150
+ type: :development
151
+ prerelease: false
152
+ version_requirements: !ruby/object:Gem::Requirement
153
+ requirements:
154
+ - - '>='
155
+ - !ruby/object:Gem::Version
156
+ version: '0'
157
+ - !ruby/object:Gem::Dependency
158
+ name: pry-byebug
159
+ requirement: !ruby/object:Gem::Requirement
160
+ requirements:
161
+ - - '>='
162
+ - !ruby/object:Gem::Version
163
+ version: '0'
164
+ type: :development
165
+ prerelease: false
166
+ version_requirements: !ruby/object:Gem::Requirement
167
+ requirements:
168
+ - - '>='
169
+ - !ruby/object:Gem::Version
170
+ version: '0'
171
+ - !ruby/object:Gem::Dependency
172
+ name: better_errors
173
+ requirement: !ruby/object:Gem::Requirement
174
+ requirements:
175
+ - - '>='
176
+ - !ruby/object:Gem::Version
177
+ version: '0'
178
+ type: :development
179
+ prerelease: false
180
+ version_requirements: !ruby/object:Gem::Requirement
181
+ requirements:
182
+ - - '>='
183
+ - !ruby/object:Gem::Version
184
+ version: '0'
185
+ - !ruby/object:Gem::Dependency
186
+ name: binding_of_caller
187
+ requirement: !ruby/object:Gem::Requirement
188
+ requirements:
189
+ - - '>='
190
+ - !ruby/object:Gem::Version
191
+ version: '0'
192
+ type: :development
193
+ prerelease: false
194
+ version_requirements: !ruby/object:Gem::Requirement
195
+ requirements:
196
+ - - '>='
197
+ - !ruby/object:Gem::Version
198
+ version: '0'
199
+ - !ruby/object:Gem::Dependency
200
+ name: rubocop
201
+ requirement: !ruby/object:Gem::Requirement
202
+ requirements:
203
+ - - '='
204
+ - !ruby/object:Gem::Version
205
+ version: 0.30.0
206
+ type: :development
207
+ prerelease: false
208
+ version_requirements: !ruby/object:Gem::Requirement
209
+ requirements:
210
+ - - '='
211
+ - !ruby/object:Gem::Version
212
+ version: 0.30.0
213
+ - !ruby/object:Gem::Dependency
214
+ name: poltergeist
215
+ requirement: !ruby/object:Gem::Requirement
216
+ requirements:
217
+ - - '>='
218
+ - !ruby/object:Gem::Version
219
+ version: '0'
220
+ type: :development
221
+ prerelease: false
222
+ version_requirements: !ruby/object:Gem::Requirement
223
+ requirements:
224
+ - - '>='
141
225
  - !ruby/object:Gem::Version
142
226
  version: '0'
143
227
  - !ruby/object:Gem::Dependency
144
228
  name: coffee-rails
145
229
  requirement: !ruby/object:Gem::Requirement
146
230
  requirements:
147
- - - ">="
231
+ - - '>='
148
232
  - !ruby/object:Gem::Version
149
233
  version: '0'
150
234
  type: :runtime
151
235
  prerelease: false
152
236
  version_requirements: !ruby/object:Gem::Requirement
153
237
  requirements:
154
- - - ">="
238
+ - - '>='
155
239
  - !ruby/object:Gem::Version
156
240
  version: '0'
157
241
  - !ruby/object:Gem::Dependency
158
242
  name: remotipart
159
243
  requirement: !ruby/object:Gem::Requirement
160
244
  requirements:
161
- - - ">="
245
+ - - '>='
162
246
  - !ruby/object:Gem::Version
163
247
  version: '0'
164
248
  type: :runtime
165
249
  prerelease: false
166
250
  version_requirements: !ruby/object:Gem::Requirement
167
251
  requirements:
168
- - - ">="
252
+ - - '>='
169
253
  - !ruby/object:Gem::Version
170
254
  version: '0'
171
255
  - !ruby/object:Gem::Dependency
172
256
  name: haml
173
257
  requirement: !ruby/object:Gem::Requirement
174
258
  requirements:
175
- - - ">="
259
+ - - '>='
176
260
  - !ruby/object:Gem::Version
177
261
  version: 4.0.3
178
262
  type: :runtime
179
263
  prerelease: false
180
264
  version_requirements: !ruby/object:Gem::Requirement
181
265
  requirements:
182
- - - ">="
266
+ - - '>='
183
267
  - !ruby/object:Gem::Version
184
268
  version: 4.0.3
185
269
  - !ruby/object:Gem::Dependency
186
270
  name: carrierwave
187
271
  requirement: !ruby/object:Gem::Requirement
188
272
  requirements:
189
- - - ">="
273
+ - - '>='
190
274
  - !ruby/object:Gem::Version
191
275
  version: '0'
192
276
  type: :runtime
193
277
  prerelease: false
194
278
  version_requirements: !ruby/object:Gem::Requirement
195
279
  requirements:
196
- - - ">="
280
+ - - '>='
197
281
  - !ruby/object:Gem::Version
198
282
  version: '0'
199
283
  - !ruby/object:Gem::Dependency
200
284
  name: mini_magick
201
285
  requirement: !ruby/object:Gem::Requirement
202
286
  requirements:
203
- - - ">="
287
+ - - '>='
204
288
  - !ruby/object:Gem::Version
205
289
  version: '0'
206
290
  type: :runtime
207
291
  prerelease: false
208
292
  version_requirements: !ruby/object:Gem::Requirement
209
293
  requirements:
210
- - - ">="
294
+ - - '>='
211
295
  - !ruby/object:Gem::Version
212
296
  version: '0'
213
297
  - !ruby/object:Gem::Dependency
214
298
  name: rdiscount
215
299
  requirement: !ruby/object:Gem::Requirement
216
300
  requirements:
217
- - - ">="
301
+ - - '>='
218
302
  - !ruby/object:Gem::Version
219
303
  version: '0'
220
304
  type: :runtime
221
305
  prerelease: false
222
306
  version_requirements: !ruby/object:Gem::Requirement
223
307
  requirements:
224
- - - ">="
308
+ - - '>='
225
309
  - !ruby/object:Gem::Version
226
310
  version: '0'
227
311
  - !ruby/object:Gem::Dependency
228
312
  name: ancestry
229
313
  requirement: !ruby/object:Gem::Requirement
230
314
  requirements:
231
- - - ">="
315
+ - - '>='
232
316
  - !ruby/object:Gem::Version
233
317
  version: '0'
234
318
  type: :runtime
235
319
  prerelease: false
236
320
  version_requirements: !ruby/object:Gem::Requirement
237
321
  requirements:
238
- - - ">="
322
+ - - '>='
239
323
  - !ruby/object:Gem::Version
240
324
  version: '0'
241
325
  - !ruby/object:Gem::Dependency
@@ -270,204 +354,177 @@ dependencies:
270
354
  name: pg_search
271
355
  requirement: !ruby/object:Gem::Requirement
272
356
  requirements:
273
- - - ">="
357
+ - - '='
274
358
  - !ruby/object:Gem::Version
275
- version: '0'
359
+ version: 0.7.9
276
360
  type: :runtime
277
361
  prerelease: false
278
362
  version_requirements: !ruby/object:Gem::Requirement
279
363
  requirements:
280
- - - ">="
364
+ - - '='
281
365
  - !ruby/object:Gem::Version
282
- version: '0'
366
+ version: 0.7.9
283
367
  - !ruby/object:Gem::Dependency
284
368
  name: htmlentities
285
369
  requirement: !ruby/object:Gem::Requirement
286
370
  requirements:
287
- - - ">="
371
+ - - '>='
288
372
  - !ruby/object:Gem::Version
289
373
  version: '0'
290
374
  type: :runtime
291
375
  prerelease: false
292
376
  version_requirements: !ruby/object:Gem::Requirement
293
377
  requirements:
294
- - - ">="
378
+ - - '>='
295
379
  - !ruby/object:Gem::Version
296
380
  version: '0'
297
381
  - !ruby/object:Gem::Dependency
298
382
  name: jquery-rails
299
383
  requirement: !ruby/object:Gem::Requirement
300
384
  requirements:
301
- - - ">="
385
+ - - '>='
302
386
  - !ruby/object:Gem::Version
303
387
  version: '0'
304
388
  type: :runtime
305
389
  prerelease: false
306
390
  version_requirements: !ruby/object:Gem::Requirement
307
391
  requirements:
308
- - - ">="
392
+ - - '>='
309
393
  - !ruby/object:Gem::Version
310
394
  version: '0'
311
395
  - !ruby/object:Gem::Dependency
312
- name: database_cleaner
396
+ name: sass-rails
313
397
  requirement: !ruby/object:Gem::Requirement
314
398
  requirements:
315
- - - ">="
399
+ - - '>='
316
400
  - !ruby/object:Gem::Version
317
401
  version: '0'
318
- type: :development
402
+ type: :runtime
319
403
  prerelease: false
320
404
  version_requirements: !ruby/object:Gem::Requirement
321
405
  requirements:
322
- - - ">="
406
+ - - '>='
323
407
  - !ruby/object:Gem::Version
324
408
  version: '0'
325
409
  - !ruby/object:Gem::Dependency
326
- name: pry-rails
410
+ name: rails
327
411
  requirement: !ruby/object:Gem::Requirement
328
412
  requirements:
329
- - - ">="
413
+ - - ~>
330
414
  - !ruby/object:Gem::Version
331
- version: '0'
332
- type: :development
415
+ version: 4.2.0
416
+ type: :runtime
333
417
  prerelease: false
334
418
  version_requirements: !ruby/object:Gem::Requirement
335
419
  requirements:
336
- - - ">="
420
+ - - ~>
337
421
  - !ruby/object:Gem::Version
338
- version: '0'
422
+ version: 4.2.0
339
423
  - !ruby/object:Gem::Dependency
340
- name: pry-debugger
424
+ name: simple_form
341
425
  requirement: !ruby/object:Gem::Requirement
342
426
  requirements:
343
- - - ">="
427
+ - - ~>
344
428
  - !ruby/object:Gem::Version
345
- version: '0'
346
- type: :development
429
+ version: 3.1.0
430
+ type: :runtime
347
431
  prerelease: false
348
432
  version_requirements: !ruby/object:Gem::Requirement
349
433
  requirements:
350
- - - ">="
434
+ - - ~>
351
435
  - !ruby/object:Gem::Version
352
- version: '0'
436
+ version: 3.1.0
353
437
  - !ruby/object:Gem::Dependency
354
- name: better_errors
438
+ name: jquery-ui-rails
355
439
  requirement: !ruby/object:Gem::Requirement
356
440
  requirements:
357
- - - ">="
441
+ - - '>='
358
442
  - !ruby/object:Gem::Version
359
443
  version: '0'
360
- type: :development
444
+ type: :runtime
361
445
  prerelease: false
362
446
  version_requirements: !ruby/object:Gem::Requirement
363
447
  requirements:
364
- - - ">="
448
+ - - '>='
365
449
  - !ruby/object:Gem::Version
366
450
  version: '0'
367
451
  - !ruby/object:Gem::Dependency
368
- name: binding_of_caller
452
+ name: bourbon
369
453
  requirement: !ruby/object:Gem::Requirement
370
454
  requirements:
371
- - - ">="
455
+ - - '>='
372
456
  - !ruby/object:Gem::Version
373
457
  version: '0'
374
- type: :development
458
+ type: :runtime
375
459
  prerelease: false
376
460
  version_requirements: !ruby/object:Gem::Requirement
377
461
  requirements:
378
- - - ">="
462
+ - - '>='
379
463
  - !ruby/object:Gem::Version
380
464
  version: '0'
381
465
  - !ruby/object:Gem::Dependency
382
- name: rubocop
466
+ name: inherited_resources
383
467
  requirement: !ruby/object:Gem::Requirement
384
468
  requirements:
385
- - - ">="
469
+ - - '>='
386
470
  - !ruby/object:Gem::Version
387
471
  version: '0'
388
- type: :development
389
- prerelease: false
390
- version_requirements: !ruby/object:Gem::Requirement
391
- requirements:
392
- - - ">="
393
- - !ruby/object:Gem::Version
394
- version: '0'
395
- - !ruby/object:Gem::Dependency
396
- name: sass-rails
397
- requirement: !ruby/object:Gem::Requirement
398
- requirements:
399
- - - "~>"
400
- - !ruby/object:Gem::Version
401
- version: 4.0.2
402
- type: :runtime
403
- prerelease: false
404
- version_requirements: !ruby/object:Gem::Requirement
405
- requirements:
406
- - - "~>"
407
- - !ruby/object:Gem::Version
408
- version: 4.0.2
409
- - !ruby/object:Gem::Dependency
410
- name: rails
411
- requirement: !ruby/object:Gem::Requirement
412
- requirements:
413
- - - "~>"
414
- - !ruby/object:Gem::Version
415
- version: 4.0.2
416
472
  type: :runtime
417
473
  prerelease: false
418
474
  version_requirements: !ruby/object:Gem::Requirement
419
475
  requirements:
420
- - - "~>"
476
+ - - '>='
421
477
  - !ruby/object:Gem::Version
422
- version: 4.0.2
478
+ version: '0'
423
479
  - !ruby/object:Gem::Dependency
424
- name: simple_form
480
+ name: devise
425
481
  requirement: !ruby/object:Gem::Requirement
426
482
  requirements:
427
- - - "~>"
483
+ - - '>='
428
484
  - !ruby/object:Gem::Version
429
- version: 3.0.1
485
+ version: '0'
430
486
  type: :runtime
431
487
  prerelease: false
432
488
  version_requirements: !ruby/object:Gem::Requirement
433
489
  requirements:
434
- - - "~>"
490
+ - - '>='
435
491
  - !ruby/object:Gem::Version
436
- version: 3.0.1
492
+ version: '0'
437
493
  - !ruby/object:Gem::Dependency
438
- name: jquery-ui-rails
494
+ name: devise
439
495
  requirement: !ruby/object:Gem::Requirement
440
496
  requirements:
441
- - - ">="
497
+ - - '>='
442
498
  - !ruby/object:Gem::Version
443
499
  version: '0'
444
500
  type: :runtime
445
501
  prerelease: false
446
502
  version_requirements: !ruby/object:Gem::Requirement
447
503
  requirements:
448
- - - ">="
504
+ - - '>='
449
505
  - !ruby/object:Gem::Version
450
506
  version: '0'
451
507
  - !ruby/object:Gem::Dependency
452
- name: bourbon
508
+ name: devise-i18n
453
509
  requirement: !ruby/object:Gem::Requirement
454
510
  requirements:
455
- - - ">="
511
+ - - '>='
456
512
  - !ruby/object:Gem::Version
457
513
  version: '0'
458
514
  type: :runtime
459
515
  prerelease: false
460
516
  version_requirements: !ruby/object:Gem::Requirement
461
517
  requirements:
462
- - - ">="
518
+ - - '>='
463
519
  - !ruby/object:Gem::Version
464
520
  version: '0'
465
- description: Kuhsaft is a Rails engine that offers a simple CMS.
521
+ description: Qbrick is a Rails engine that offers a simple CMS.
466
522
  email: developers@screenconcept.ch
467
523
  executables: []
468
524
  extensions: []
469
525
  extra_rdoc_files: []
470
526
  files:
527
+ - app/assets/images/logo.png
471
528
  - app/assets/javascripts/ckeditor/plugins/adv_link/dialogs/anchor.js.coffee
472
529
  - app/assets/javascripts/ckeditor/plugins/adv_link/dialogs/link.js.coffee
473
530
  - app/assets/javascripts/ckeditor/plugins/adv_link/images/anchor.png
@@ -477,205 +534,255 @@ files:
477
534
  - app/assets/javascripts/ckeditor/plugins/adv_link/LICENSE.txt
478
535
  - app/assets/javascripts/ckeditor/plugins/adv_link/plugin.js.coffee
479
536
  - app/assets/javascripts/ckeditor/plugins/adv_link/README.md
480
- - app/assets/javascripts/kuhsaft/application.js.coffee
481
- - app/assets/javascripts/kuhsaft/cms/application.js.coffee.erb
482
- - app/assets/javascripts/kuhsaft/views/read_more_view.js.coffee
483
- - app/assets/stylesheets/kuhsaft/application.css.sass
484
- - app/assets/stylesheets/kuhsaft/cms/application.css.sass
485
- - app/assets/stylesheets/kuhsaft/modules/_text_brick.css.sass
486
- - app/controllers/kuhsaft/api/pages_controller.rb
487
- - app/controllers/kuhsaft/cms/admin_controller.rb
488
- - app/controllers/kuhsaft/cms/assets_controller.rb
489
- - app/controllers/kuhsaft/cms/bricks_controller.rb
490
- - app/controllers/kuhsaft/cms/ckimages_controller.rb
491
- - app/controllers/kuhsaft/cms/pages_controller.rb
492
- - app/controllers/kuhsaft/pages_controller.rb
493
- - app/controllers/kuhsaft/sitemaps_controller.rb
537
+ - app/assets/javascripts/qbrick/application.js.coffee
538
+ - app/assets/javascripts/qbrick/cms/application.js.coffee.erb
539
+ - app/assets/javascripts/qbrick/views/read_more_view.js.coffee
540
+ - app/assets/stylesheets/qbrick/application.css.sass
541
+ - app/assets/stylesheets/qbrick/cms/application.css.sass
542
+ - app/assets/stylesheets/qbrick/modules/_text_brick.css.sass
543
+ - app/controllers/qbrick/api/pages_controller.rb
544
+ - app/controllers/qbrick/cms/accounts_controller.rb
545
+ - app/controllers/qbrick/cms/admins_controller.rb
546
+ - app/controllers/qbrick/cms/assets_controller.rb
547
+ - app/controllers/qbrick/cms/backend_controller.rb
548
+ - app/controllers/qbrick/cms/bricks_controller.rb
549
+ - app/controllers/qbrick/cms/ckimages_controller.rb
550
+ - app/controllers/qbrick/cms/pages_controller.rb
551
+ - app/controllers/qbrick/cms/settings_collections_controller.rb
552
+ - app/controllers/qbrick/pages_controller.rb
553
+ - app/controllers/qbrick/sitemaps_controller.rb
494
554
  - app/helpers/cms_helper.rb
495
- - app/helpers/kuhsaft/admin_helper.rb
496
- - app/helpers/kuhsaft/cms/admin_helper.rb
497
- - app/helpers/kuhsaft/cms/pages_helper.rb
498
555
  - app/helpers/pages_helper.rb
556
+ - app/helpers/qbrick/admin_helper.rb
557
+ - app/helpers/qbrick/cms/admin_helper.rb
558
+ - app/helpers/qbrick/cms/pages_helper.rb
499
559
  - app/helpers/sitemaps_helper.rb
500
- - app/models/kuhsaft/accordion_brick.rb
501
- - app/models/kuhsaft/accordion_item_brick.rb
502
- - app/models/kuhsaft/anchor_brick.rb
503
- - app/models/kuhsaft/asset.rb
504
- - app/models/kuhsaft/asset_brick.rb
505
- - app/models/kuhsaft/brick.rb
506
- - app/models/kuhsaft/brick_type.rb
507
- - app/models/kuhsaft/brick_type_filter.rb
508
- - app/models/kuhsaft/ckimage.rb
509
- - app/models/kuhsaft/cms.rb
510
- - app/models/kuhsaft/column_brick.rb
511
- - app/models/kuhsaft/image_brick.rb
512
- - app/models/kuhsaft/image_size.rb
513
- - app/models/kuhsaft/link_brick.rb
514
- - app/models/kuhsaft/page.rb
515
- - app/models/kuhsaft/page_type.rb
516
- - app/models/kuhsaft/partition.rb
517
- - app/models/kuhsaft/placeholder_brick.rb
518
- - app/models/kuhsaft/publish_state.rb
519
- - app/models/kuhsaft/slider_brick.rb
520
- - app/models/kuhsaft/text_brick.rb
521
- - app/models/kuhsaft/two_column_brick.rb
522
- - app/models/kuhsaft/video_brick.rb
523
- - app/uploaders/kuhsaft/asset_brick_asset_uploader.rb
524
- - app/uploaders/kuhsaft/asset_uploader.rb
525
- - app/uploaders/kuhsaft/ckimage_uploader.rb
526
- - app/uploaders/kuhsaft/image_brick_image_uploader.rb
527
- - app/views/kuhsaft/accordion_bricks/_accordion_brick.html.haml
528
- - app/views/kuhsaft/accordion_bricks/accordion_brick/_edit.html.haml
529
- - app/views/kuhsaft/accordion_item_bricks/_accordion_item_brick.html.haml
530
- - app/views/kuhsaft/accordion_item_bricks/accordion_item_brick/_edit.html.haml
531
- - app/views/kuhsaft/anchor_bricks/_anchor_brick.html.haml
532
- - app/views/kuhsaft/anchor_bricks/anchor_brick/_edit.html.haml
533
- - app/views/kuhsaft/asset_bricks/_asset_brick.html.haml
534
- - app/views/kuhsaft/asset_bricks/asset_brick/_edit.html.haml
535
- - app/views/kuhsaft/cms/admin/_brick_type_dropdown.html.haml
536
- - app/views/kuhsaft/cms/admin/_content_language_switch.html.haml
537
- - app/views/kuhsaft/cms/admin/_empty_state.html.haml
538
- - app/views/kuhsaft/cms/admin/_flash.html.haml
539
- - app/views/kuhsaft/cms/admin/_main_navigation.html.haml
540
- - app/views/kuhsaft/cms/assets/_form.html.haml
541
- - app/views/kuhsaft/cms/assets/_list.html.haml
542
- - app/views/kuhsaft/cms/assets/edit.html.haml
543
- - app/views/kuhsaft/cms/assets/index.html.haml
544
- - app/views/kuhsaft/cms/assets/new.html.haml
545
- - app/views/kuhsaft/cms/bricks/_brick_header.html.haml
546
- - app/views/kuhsaft/cms/bricks/_brick_item.html.haml
547
- - app/views/kuhsaft/cms/bricks/_brick_list.html.haml
548
- - app/views/kuhsaft/cms/bricks/_new.html.haml
549
- - app/views/kuhsaft/cms/bricks/_sort_form.html.haml
550
- - app/views/kuhsaft/cms/bricks/create.js.erb
551
- - app/views/kuhsaft/cms/bricks/destroy.js.erb
552
- - app/views/kuhsaft/cms/bricks/new.js.erb
553
- - app/views/kuhsaft/cms/bricks/update.js.erb
554
- - app/views/kuhsaft/cms/ckimages/create.html.haml
555
- - app/views/kuhsaft/cms/ckimages/destroy.js.erb
556
- - app/views/kuhsaft/cms/ckimages/index.html.haml
557
- - app/views/kuhsaft/cms/pages/_branch.html.haml
558
- - app/views/kuhsaft/cms/pages/_form.html.haml
559
- - app/views/kuhsaft/cms/pages/edit.html.haml
560
- - app/views/kuhsaft/cms/pages/index.html.haml
561
- - app/views/kuhsaft/cms/pages/new.html.haml
562
- - app/views/kuhsaft/cms/pages/show.html.haml
563
- - app/views/kuhsaft/cms/pages/sort.js.erb
564
- - app/views/kuhsaft/column_bricks/_column_brick.html.haml
565
- - app/views/kuhsaft/column_bricks/column_brick/_edit.html.haml
566
- - app/views/kuhsaft/image_bricks/_image_brick.html.haml
567
- - app/views/kuhsaft/image_bricks/image_brick/_edit.html.haml
568
- - app/views/kuhsaft/link_bricks/_link_brick.html.haml
569
- - app/views/kuhsaft/link_bricks/link_brick/_edit.html.haml
570
- - app/views/kuhsaft/pages/index.html.haml
571
- - app/views/kuhsaft/pages/show.html.haml
572
- - app/views/kuhsaft/placeholder_bricks/_placeholder_brick.html.haml
573
- - app/views/kuhsaft/placeholder_bricks/placeholder_brick/_edit.html.haml
574
- - app/views/kuhsaft/search/_form.html.haml
575
- - app/views/kuhsaft/search/_results.html.haml
576
- - app/views/kuhsaft/search/_results_entry.html.haml
577
- - app/views/kuhsaft/sitemaps/index.xml.haml
578
- - app/views/kuhsaft/slider_bricks/_slider_brick.html.haml
579
- - app/views/kuhsaft/slider_bricks/slider_brick/_edit.html.haml
580
- - app/views/kuhsaft/text_bricks/_text_brick.html.haml
581
- - app/views/kuhsaft/text_bricks/text_brick/_edit.html.haml
582
- - app/views/kuhsaft/two_column_bricks/_two_column_brick.html.haml
583
- - app/views/kuhsaft/two_column_bricks/two_column_brick/_childs.html.haml
584
- - app/views/kuhsaft/two_column_bricks/two_column_brick/_edit.html.haml
585
- - app/views/kuhsaft/video_bricks/_video_brick.html.haml
586
- - app/views/kuhsaft/video_bricks/video_brick/_edit.html.haml
587
- - app/views/layouts/kuhsaft/cms/application.html.haml
588
- - app/views/layouts/kuhsaft/cms/ckimages.html.haml
560
+ - app/models/qbrick/accordion_brick.rb
561
+ - app/models/qbrick/accordion_item_brick.rb
562
+ - app/models/qbrick/admin.rb
563
+ - app/models/qbrick/anchor_brick.rb
564
+ - app/models/qbrick/asset.rb
565
+ - app/models/qbrick/asset_brick.rb
566
+ - app/models/qbrick/brick.rb
567
+ - app/models/qbrick/brick_type.rb
568
+ - app/models/qbrick/brick_type_filter.rb
569
+ - app/models/qbrick/ckimage.rb
570
+ - app/models/qbrick/cms.rb
571
+ - app/models/qbrick/cms_model.rb
572
+ - app/models/qbrick/column_brick.rb
573
+ - app/models/qbrick/image_brick.rb
574
+ - app/models/qbrick/image_size.rb
575
+ - app/models/qbrick/link_brick.rb
576
+ - app/models/qbrick/page.rb
577
+ - app/models/qbrick/page_type.rb
578
+ - app/models/qbrick/partition.rb
579
+ - app/models/qbrick/placeholder_brick.rb
580
+ - app/models/qbrick/publish_state.rb
581
+ - app/models/qbrick/setting.rb
582
+ - app/models/qbrick/settings_collection.rb
583
+ - app/models/qbrick/slider_brick.rb
584
+ - app/models/qbrick/text_brick.rb
585
+ - app/models/qbrick/two_column_brick.rb
586
+ - app/models/qbrick/video_brick.rb
587
+ - app/uploaders/qbrick/asset_brick_asset_uploader.rb
588
+ - app/uploaders/qbrick/asset_uploader.rb
589
+ - app/uploaders/qbrick/ckimage_uploader.rb
590
+ - app/uploaders/qbrick/image_brick_image_uploader.rb
591
+ - app/views/devise/confirmations/new.html.haml
592
+ - app/views/devise/mailer/confirmation_instructions.html.haml
593
+ - app/views/devise/mailer/reset_password_instructions.html.haml
594
+ - app/views/devise/mailer/unlock_instructions.html.haml
595
+ - app/views/devise/passwords/edit.html.haml
596
+ - app/views/devise/passwords/new.html.haml
597
+ - app/views/devise/registrations/edit.html.haml
598
+ - app/views/devise/registrations/new.html.haml
599
+ - app/views/devise/sessions/new.html.haml
600
+ - app/views/devise/shared/_links.html.haml
601
+ - app/views/devise/unlocks/new.html.haml
602
+ - app/views/layouts/devise.html.haml
603
+ - app/views/layouts/qbrick/cms/application.html.haml
604
+ - app/views/layouts/qbrick/cms/ckimages.html.haml
605
+ - app/views/qbrick/accordion_bricks/_accordion_brick.html.haml
606
+ - app/views/qbrick/accordion_bricks/accordion_brick/_edit.html.haml
607
+ - app/views/qbrick/accordion_item_bricks/_accordion_item_brick.html.haml
608
+ - app/views/qbrick/accordion_item_bricks/accordion_item_brick/_edit.html.haml
609
+ - app/views/qbrick/anchor_bricks/_anchor_brick.html.haml
610
+ - app/views/qbrick/anchor_bricks/anchor_brick/_edit.html.haml
611
+ - app/views/qbrick/asset_bricks/_asset_brick.html.haml
612
+ - app/views/qbrick/asset_bricks/asset_brick/_edit.html.haml
613
+ - app/views/qbrick/cms/accounts/edit.html.haml
614
+ - app/views/qbrick/cms/admins/_form.html.haml
615
+ - app/views/qbrick/cms/admins/edit.html.haml
616
+ - app/views/qbrick/cms/admins/index.html.haml
617
+ - app/views/qbrick/cms/admins/new.html.haml
618
+ - app/views/qbrick/cms/assets/_form.html.haml
619
+ - app/views/qbrick/cms/assets/_list.html.haml
620
+ - app/views/qbrick/cms/assets/edit.html.haml
621
+ - app/views/qbrick/cms/assets/index.html.haml
622
+ - app/views/qbrick/cms/assets/new.html.haml
623
+ - app/views/qbrick/cms/backend/_brick_clone_menu.html.haml
624
+ - app/views/qbrick/cms/backend/_brick_type_dropdown.html.haml
625
+ - app/views/qbrick/cms/backend/_empty_state.html.haml
626
+ - app/views/qbrick/cms/backend/_flash.html.haml
627
+ - app/views/qbrick/cms/backend/_main_navigation.html.haml
628
+ - app/views/qbrick/cms/bricks/_brick_header.html.haml
629
+ - app/views/qbrick/cms/bricks/_brick_item.html.haml
630
+ - app/views/qbrick/cms/bricks/_brick_list.html.haml
631
+ - app/views/qbrick/cms/bricks/_new.html.haml
632
+ - app/views/qbrick/cms/bricks/_sort_form.html.haml
633
+ - app/views/qbrick/cms/bricks/create.js.erb
634
+ - app/views/qbrick/cms/bricks/destroy.js.erb
635
+ - app/views/qbrick/cms/bricks/new.js.erb
636
+ - app/views/qbrick/cms/bricks/update.js.erb
637
+ - app/views/qbrick/cms/ckimages/create.html.haml
638
+ - app/views/qbrick/cms/ckimages/destroy.js.erb
639
+ - app/views/qbrick/cms/ckimages/index.html.haml
640
+ - app/views/qbrick/cms/pages/_branch.html.haml
641
+ - app/views/qbrick/cms/pages/_form.html.haml
642
+ - app/views/qbrick/cms/pages/_mirror_modal.html.haml
643
+ - app/views/qbrick/cms/pages/edit.html.haml
644
+ - app/views/qbrick/cms/pages/index.html.haml
645
+ - app/views/qbrick/cms/pages/mirror.js.haml
646
+ - app/views/qbrick/cms/pages/new.html.haml
647
+ - app/views/qbrick/cms/pages/show.html.haml
648
+ - app/views/qbrick/cms/pages/sort.js.erb
649
+ - app/views/qbrick/cms/settings_collections/_form.html.haml
650
+ - app/views/qbrick/cms/settings_collections/index.html.haml
651
+ - app/views/qbrick/column_bricks/_column_brick.html.haml
652
+ - app/views/qbrick/column_bricks/column_brick/_edit.html.haml
653
+ - app/views/qbrick/image_bricks/_image_brick.html.haml
654
+ - app/views/qbrick/image_bricks/image_brick/_edit.html.haml
655
+ - app/views/qbrick/link_bricks/_link_brick.html.haml
656
+ - app/views/qbrick/link_bricks/link_brick/_edit.html.haml
657
+ - app/views/qbrick/pages/index.html.haml
658
+ - app/views/qbrick/pages/show.html.haml
659
+ - app/views/qbrick/placeholder_bricks/_placeholder_brick.html.haml
660
+ - app/views/qbrick/placeholder_bricks/placeholder_brick/_edit.html.haml
661
+ - app/views/qbrick/search/_form.html.haml
662
+ - app/views/qbrick/search/_results.html.haml
663
+ - app/views/qbrick/search/_results_entry.html.haml
664
+ - app/views/qbrick/sitemaps/index.xml.haml
665
+ - app/views/qbrick/slider_bricks/_slider_brick.html.haml
666
+ - app/views/qbrick/slider_bricks/slider_brick/_edit.html.haml
667
+ - app/views/qbrick/text_bricks/_text_brick.html.haml
668
+ - app/views/qbrick/text_bricks/text_brick/_edit.html.haml
669
+ - app/views/qbrick/two_column_bricks/_two_column_brick.html.haml
670
+ - app/views/qbrick/two_column_bricks/two_column_brick/_childs.html.haml
671
+ - app/views/qbrick/two_column_bricks/two_column_brick/_edit.html.haml
672
+ - app/views/qbrick/video_bricks/_video_brick.html.haml
673
+ - app/views/qbrick/video_bricks/video_brick/_edit.html.haml
674
+ - config/initializers/devise.rb
589
675
  - config/initializers/simple_form.rb
590
676
  - config/initializers/simple_form_bootstrap.rb
677
+ - config/locales/cms.de.yml
678
+ - config/locales/cms.en.yml
591
679
  - config/locales/de.yml
680
+ - config/locales/devise.en.yml
592
681
  - config/locales/en.yml
593
- - config/locales/models/kuhsaft/accordion_brick/de.yml
594
- - config/locales/models/kuhsaft/accordion_brick/en.yml
595
- - config/locales/models/kuhsaft/accordion_item_brick/de.yml
596
- - config/locales/models/kuhsaft/accordion_item_brick/en.yml
597
- - config/locales/models/kuhsaft/anchor_brick/de.yml
598
- - config/locales/models/kuhsaft/anchor_brick/en.yml
599
- - config/locales/models/kuhsaft/asset_brick/de.yml
600
- - config/locales/models/kuhsaft/asset_brick/en.yml
601
- - config/locales/models/kuhsaft/brick/de.yml
602
- - config/locales/models/kuhsaft/brick/en.yml
603
- - config/locales/models/kuhsaft/column_brick/de.yml
604
- - config/locales/models/kuhsaft/column_brick/en.yml
605
- - config/locales/models/kuhsaft/image_brick/de.yml
606
- - config/locales/models/kuhsaft/image_brick/en.yml
607
- - config/locales/models/kuhsaft/image_size/de.yml
608
- - config/locales/models/kuhsaft/image_size/en.yml
609
- - config/locales/models/kuhsaft/link_brick/de.yml
610
- - config/locales/models/kuhsaft/link_brick/en.yml
611
- - config/locales/models/kuhsaft/page/de.yml
612
- - config/locales/models/kuhsaft/page/en.yml
613
- - config/locales/models/kuhsaft/placeholder_brick/de.yml
614
- - config/locales/models/kuhsaft/placeholder_brick/en.yml
615
- - config/locales/models/kuhsaft/slider_brick/de.yml
616
- - config/locales/models/kuhsaft/slider_brick/en.yml
617
- - config/locales/models/kuhsaft/text_brick/de.yml
618
- - config/locales/models/kuhsaft/text_brick/en.yml
619
- - config/locales/models/kuhsaft/two_column_brick/de.yml
620
- - config/locales/models/kuhsaft/two_column_brick/en.yml
621
- - config/locales/models/kuhsaft/video_brick/de.yml
622
- - config/locales/models/kuhsaft/video_brick/en.yml
682
+ - config/locales/models/qbrick/accordion_brick/de.yml
683
+ - config/locales/models/qbrick/accordion_brick/en.yml
684
+ - config/locales/models/qbrick/accordion_item_brick/de.yml
685
+ - config/locales/models/qbrick/accordion_item_brick/en.yml
686
+ - config/locales/models/qbrick/admin/de.yml
687
+ - config/locales/models/qbrick/admin/en.yml
688
+ - config/locales/models/qbrick/anchor_brick/de.yml
689
+ - config/locales/models/qbrick/anchor_brick/en.yml
690
+ - config/locales/models/qbrick/asset_brick/de.yml
691
+ - config/locales/models/qbrick/asset_brick/en.yml
692
+ - config/locales/models/qbrick/brick/de.yml
693
+ - config/locales/models/qbrick/brick/en.yml
694
+ - config/locales/models/qbrick/column_brick/de.yml
695
+ - config/locales/models/qbrick/column_brick/en.yml
696
+ - config/locales/models/qbrick/image_brick/de.yml
697
+ - config/locales/models/qbrick/image_brick/en.yml
698
+ - config/locales/models/qbrick/image_size/de.yml
699
+ - config/locales/models/qbrick/image_size/en.yml
700
+ - config/locales/models/qbrick/link_brick/de.yml
701
+ - config/locales/models/qbrick/link_brick/en.yml
702
+ - config/locales/models/qbrick/page/de.yml
703
+ - config/locales/models/qbrick/page/en.yml
704
+ - config/locales/models/qbrick/placeholder_brick/de.yml
705
+ - config/locales/models/qbrick/placeholder_brick/en.yml
706
+ - config/locales/models/qbrick/slider_brick/de.yml
707
+ - config/locales/models/qbrick/slider_brick/en.yml
708
+ - config/locales/models/qbrick/text_brick/de.yml
709
+ - config/locales/models/qbrick/text_brick/en.yml
710
+ - config/locales/models/qbrick/two_column_brick/de.yml
711
+ - config/locales/models/qbrick/two_column_brick/en.yml
712
+ - config/locales/models/qbrick/video_brick/de.yml
713
+ - config/locales/models/qbrick/video_brick/en.yml
623
714
  - config/locales/simple_form.en.yml
624
- - config/locales/views/kuhsaft/cms/admin/de.yml
625
- - config/locales/views/kuhsaft/cms/admin/en.yml
626
- - config/locales/views/kuhsaft/cms/bricks/de.yml
627
- - config/locales/views/kuhsaft/cms/bricks/en.yml
628
- - config/locales/views/kuhsaft/cms/pages/de.yml
629
- - config/locales/views/kuhsaft/cms/pages/en.yml
630
- - config/locales/views/kuhsaft/image_brick/de.yml
631
- - config/locales/views/kuhsaft/image_brick/en.yml
632
- - config/locales/views/kuhsaft/search/de.yml
633
- - config/locales/views/kuhsaft/search/en.yml
634
- - config/locales/views/kuhsaft/text_brick/de.yml
635
- - config/locales/views/kuhsaft/text_brick/en.yml
636
- - config/locales/views/kuhsaft/video_brick/de.yml
637
- - config/locales/views/kuhsaft/video_brick/en.yml
715
+ - config/locales/views/qbrick/cms/admin/de.yml
716
+ - config/locales/views/qbrick/cms/admin/en.yml
717
+ - config/locales/views/qbrick/cms/bricks/de.yml
718
+ - config/locales/views/qbrick/cms/bricks/en.yml
719
+ - config/locales/views/qbrick/cms/navigation.yml
720
+ - config/locales/views/qbrick/cms/pages/de.yml
721
+ - config/locales/views/qbrick/cms/pages/en.yml
722
+ - config/locales/views/qbrick/cms/settings_collection/de.yml
723
+ - config/locales/views/qbrick/cms/settings_collection/en.yml
724
+ - config/locales/views/qbrick/image_brick/de.yml
725
+ - config/locales/views/qbrick/image_brick/en.yml
726
+ - config/locales/views/qbrick/search/de.yml
727
+ - config/locales/views/qbrick/search/en.yml
728
+ - config/locales/views/qbrick/text_brick/de.yml
729
+ - config/locales/views/qbrick/text_brick/en.yml
730
+ - config/locales/views/qbrick/video_brick/de.yml
731
+ - config/locales/views/qbrick/video_brick/en.yml
638
732
  - config/routes.rb
639
- - db/migrate/01_create_kuhsaft_pages.rb
640
- - db/migrate/02_create_kuhsaft_bricks.rb
641
- - db/migrate/03_create_kuhsaft_brick_types.rb
642
- - db/migrate/04_create_kuhsaft_assets.rb
733
+ - db/migrate/01_create_qbrick_pages.rb
734
+ - db/migrate/02_create_qbrick_bricks.rb
735
+ - db/migrate/03_create_qbrick_brick_types.rb
736
+ - db/migrate/04_create_qbrick_assets.rb
643
737
  - db/migrate/05_remove_cms_admin.rb
644
- - db/migrate/06_add_template_name_to_kuhsaft_bricks.rb
738
+ - db/migrate/06_add_template_name_to_qbrick_bricks.rb
645
739
  - db/migrate/07_add_default_value_to_brick_type_enabled.rb
646
740
  - db/migrate/08_add_display_styles_to_bricks.rb
647
- - db/migrate/09_add_additional_fields_to_kuhsaft_bricks.rb
648
- - db/migrate/10_add_redirect_url_to_kuhsaft_pages.rb
741
+ - db/migrate/09_add_additional_fields_to_qbrick_bricks.rb
742
+ - db/migrate/10_add_redirect_url_to_qbrick_pages.rb
649
743
  - db/migrate/11_update_url_and_redirect_url_value.rb
650
744
  - db/migrate/12_regenerate_fulltext.rb
651
745
  - db/migrate/13_add_page_title_to_pages.rb
652
- - db/migrate/14_move_kuhsaft_assets.rb
746
+ - db/migrate/14_move_qbrick_assets.rb
653
747
  - db/migrate/15_add_alt_text_to_bricks.rb
654
748
  - db/migrate/16_update_default_value_for_page_type.rb
655
749
  - db/migrate/17_set_page_type_to_content_for_empty_fields.rb
656
- - db/migrate/18_add_identifier_to_kuhsaft_pages.rb
750
+ - db/migrate/18_add_identifier_to_qbrick_pages.rb
657
751
  - db/migrate/19_add_col_count_to_bricks.rb
658
- - db/migrate/20_create_kuhsaft_ckimages.rb
752
+ - db/migrate/20_create_qbrick_ckimages.rb
753
+ - db/migrate/21_add_google_verification_key_to_qbrick_pages.rb
754
+ - db/migrate/22_create_settings.rb
755
+ - db/migrate/22_create_settings_collections.rb
756
+ - db/migrate/23_add_metadata_to_asset.rb
757
+ - db/migrate/23_devise_create_qbrick_admins.rb
659
758
  - db/seeds.rb
660
- - lib/generators/kuhsaft/assets/install_generator.rb
661
- - lib/generators/kuhsaft/translations/add_generator.rb
662
- - lib/kuhsaft/brick_list.rb
663
- - lib/kuhsaft/engine.rb
664
- - lib/kuhsaft/gridded.rb
665
- - lib/kuhsaft/image_uploader_mounting.rb
666
- - lib/kuhsaft/orderable.rb
667
- - lib/kuhsaft/page_tree.rb
668
- - lib/kuhsaft/partial_extractor.rb
669
- - lib/kuhsaft/searchable.rb
670
- - lib/kuhsaft/touch_placeholders.rb
671
- - lib/kuhsaft/translatable.rb
672
- - lib/kuhsaft/version.rb
673
- - lib/kuhsaft.rb
674
- - lib/tasks/kuhsaft_tasks.rake
675
- - lib/templates/kuhsaft/assets/ck-config.js.coffee
676
- - lib/templates/kuhsaft/assets/customizations.css.sass
677
- - lib/templates/kuhsaft/assets/customizations.js.coffee
678
- - lib/templates/kuhsaft/translations/add_translation.erb
759
+ - lib/generators/qbrick/assets/install_generator.rb
760
+ - lib/generators/qbrick/custom_model_generator.rb
761
+ - lib/generators/qbrick/translations/add_generator.rb
762
+ - lib/qbrick/brick_list.rb
763
+ - lib/qbrick/engine.rb
764
+ - lib/qbrick/gridded.rb
765
+ - lib/qbrick/image_uploader_mounting.rb
766
+ - lib/qbrick/orderable.rb
767
+ - lib/qbrick/page_tree.rb
768
+ - lib/qbrick/partial_extractor.rb
769
+ - lib/qbrick/searchable.rb
770
+ - lib/qbrick/touch_placeholders.rb
771
+ - lib/qbrick/translatable.rb
772
+ - lib/qbrick/version.rb
773
+ - lib/qbrick.rb
774
+ - lib/tasks/qbrick_tasks.rake
775
+ - lib/templates/qbrick/assets/ck-config.js.coffee
776
+ - lib/templates/qbrick/assets/customizations.css.sass
777
+ - lib/templates/qbrick/assets/customizations.js.coffee
778
+ - lib/templates/qbrick/custom_model_generator/base_controller.rb
779
+ - lib/templates/qbrick/custom_model_generator/inherited_views/base/_form.html.haml
780
+ - lib/templates/qbrick/custom_model_generator/inherited_views/base/edit.html.haml
781
+ - lib/templates/qbrick/custom_model_generator/inherited_views/base/index.html.haml
782
+ - lib/templates/qbrick/custom_model_generator/inherited_views/base/new.html.haml
783
+ - lib/templates/qbrick/custom_model_generator/translations/qbrick_base.yml
784
+ - lib/templates/qbrick/custom_model_generator/translations/resource.yml.erb
785
+ - lib/templates/qbrick/translations/add_translation.erb
679
786
  - vendor/assets/javascripts/bootstrap-modal-v2.js
680
787
  - vendor/assets/javascripts/bootstrap-modalmanager.js
681
788
  - vendor/assets/javascripts/jquery.nestable.js
@@ -683,16 +790,18 @@ files:
683
790
  - vendor/assets/stylesheets/nestable.css
684
791
  - Rakefile
685
792
  - README.md
686
- - spec/controllers/kuhsaft/api/pages_controller_spec.rb
687
- - spec/controllers/kuhsaft/pages_controller_spec.rb
688
- - spec/controllers/kuhsaft/sitemaps_controller_spec.rb
793
+ - spec/command_wrapper_helper.rb
794
+ - spec/controllers/qbrick/api/pages_controller_spec.rb
795
+ - spec/controllers/qbrick/cms/pages_controller_spec.rb
796
+ - spec/controllers/qbrick/pages_controller_spec.rb
797
+ - spec/controllers/qbrick/sitemaps_controller_spec.rb
689
798
  - spec/dummy/Rakefile
690
799
  - spec/dummy/app/assets/images/spec-image.png
691
800
  - spec/dummy/app/assets/javascripts/application.js
692
- - spec/dummy/app/assets/javascripts/kuhsaft/cms/ck-config.js.coffee
693
- - spec/dummy/app/assets/javascripts/kuhsaft/cms/customizations.js.coffee
801
+ - spec/dummy/app/assets/javascripts/qbrick/cms/ck-config.js.coffee
802
+ - spec/dummy/app/assets/javascripts/qbrick/cms/customizations.js.coffee
694
803
  - spec/dummy/app/assets/stylesheets/application.css
695
- - spec/dummy/app/assets/stylesheets/kuhsaft/cms/customizations.css.sass
804
+ - spec/dummy/app/assets/stylesheets/qbrick/cms/customizations.css.sass
696
805
  - spec/dummy/app/controllers/application_controller.rb
697
806
  - spec/dummy/app/helpers/application_helper.rb
698
807
  - spec/dummy/app/views/layouts/application.html.erb
@@ -710,8 +819,8 @@ files:
710
819
  - spec/dummy/config/initializers/backtrace_silencers.rb
711
820
  - spec/dummy/config/initializers/filter_parameter_logging.rb
712
821
  - spec/dummy/config/initializers/inflections.rb
713
- - spec/dummy/config/initializers/kuhsaft.rb
714
822
  - spec/dummy/config/initializers/mime_types.rb
823
+ - spec/dummy/config/initializers/qbrick.rb
715
824
  - spec/dummy/config/initializers/secret_token.rb
716
825
  - spec/dummy/config/initializers/session_store.rb
717
826
  - spec/dummy/config/initializers/wrap_parameters.rb
@@ -727,12 +836,14 @@ files:
727
836
  - spec/dummy/public/stylesheets/.gitkeep
728
837
  - spec/dummy/script/rails
729
838
  - spec/factories.rb
839
+ - spec/features/administrator_management_spec.rb
730
840
  - spec/features/cms_pages_spec.rb
731
841
  - spec/features/search_spec.rb
732
- - spec/helpers/kuhsaft/cms/admin_helper_spec.rb
733
- - spec/helpers/kuhsaft/cms/pages_helper_spec.rb
734
- - spec/helpers/kuhsaft/pages_helper_spec.rb
735
- - spec/kuhsaft_spec.rb
842
+ - spec/features_helper.rb
843
+ - spec/generators/custom_model_generator_spec.rb
844
+ - spec/helpers/qbrick/cms/admin_helper_spec.rb
845
+ - spec/helpers/qbrick/cms/pages_helper_spec.rb
846
+ - spec/helpers/qbrick/pages_helper_spec.rb
736
847
  - spec/lib/brick_list_spec.rb
737
848
  - spec/lib/engine_spec.rb
738
849
  - spec/lib/gridded_spec.rb
@@ -755,15 +866,18 @@ files:
755
866
  - spec/models/page_spec.rb
756
867
  - spec/models/placeholder_brick_spec.rb
757
868
  - spec/models/publish_state_spec.rb
869
+ - spec/models/setting_spec.rb
758
870
  - spec/models/slider_brick_spec.rb
759
871
  - spec/models/text_brick_spec.rb
760
872
  - spec/models/two_column_brick_spec.rb
761
873
  - spec/models/video_brick_spec.rb
874
+ - spec/postgres_helper.rb
875
+ - spec/qbrick_spec.rb
762
876
  - spec/spec_helper.rb
763
- - spec/support/kuhsaft_spec_helper.rb
877
+ - spec/support/qbrick_spec_helper.rb
764
878
  - spec/support/write_expectation.rb
765
- - spec/views/kuhsaft/sitemaps/index.xml.haml_spec.rb
766
- homepage: http://github.com/screenconcept/kuhsaft
879
+ - spec/views/qbrick/sitemaps/index.xml.haml_spec.rb
880
+ homepage: http://github.com/screenconcept/qbrick
767
881
  licenses:
768
882
  - MIT
769
883
  metadata: {}
@@ -773,31 +887,33 @@ require_paths:
773
887
  - lib
774
888
  required_ruby_version: !ruby/object:Gem::Requirement
775
889
  requirements:
776
- - - ">="
890
+ - - '>='
777
891
  - !ruby/object:Gem::Version
778
892
  version: '0'
779
893
  required_rubygems_version: !ruby/object:Gem::Requirement
780
894
  requirements:
781
- - - ">"
895
+ - - '>='
782
896
  - !ruby/object:Gem::Version
783
- version: 1.3.1
897
+ version: '0'
784
898
  requirements: []
785
- rubyforge_project: kuhsaft
786
- rubygems_version: 2.1.10
899
+ rubyforge_project: qbrick
900
+ rubygems_version: 2.0.14
787
901
  signing_key:
788
902
  specification_version: 4
789
903
  summary: A tool that helps you to manage your content within your app.
790
904
  test_files:
791
- - spec/controllers/kuhsaft/api/pages_controller_spec.rb
792
- - spec/controllers/kuhsaft/pages_controller_spec.rb
793
- - spec/controllers/kuhsaft/sitemaps_controller_spec.rb
905
+ - spec/command_wrapper_helper.rb
906
+ - spec/controllers/qbrick/api/pages_controller_spec.rb
907
+ - spec/controllers/qbrick/cms/pages_controller_spec.rb
908
+ - spec/controllers/qbrick/pages_controller_spec.rb
909
+ - spec/controllers/qbrick/sitemaps_controller_spec.rb
794
910
  - spec/dummy/Rakefile
795
911
  - spec/dummy/app/assets/images/spec-image.png
796
912
  - spec/dummy/app/assets/javascripts/application.js
797
- - spec/dummy/app/assets/javascripts/kuhsaft/cms/ck-config.js.coffee
798
- - spec/dummy/app/assets/javascripts/kuhsaft/cms/customizations.js.coffee
913
+ - spec/dummy/app/assets/javascripts/qbrick/cms/ck-config.js.coffee
914
+ - spec/dummy/app/assets/javascripts/qbrick/cms/customizations.js.coffee
799
915
  - spec/dummy/app/assets/stylesheets/application.css
800
- - spec/dummy/app/assets/stylesheets/kuhsaft/cms/customizations.css.sass
916
+ - spec/dummy/app/assets/stylesheets/qbrick/cms/customizations.css.sass
801
917
  - spec/dummy/app/controllers/application_controller.rb
802
918
  - spec/dummy/app/helpers/application_helper.rb
803
919
  - spec/dummy/app/views/layouts/application.html.erb
@@ -815,8 +931,8 @@ test_files:
815
931
  - spec/dummy/config/initializers/backtrace_silencers.rb
816
932
  - spec/dummy/config/initializers/filter_parameter_logging.rb
817
933
  - spec/dummy/config/initializers/inflections.rb
818
- - spec/dummy/config/initializers/kuhsaft.rb
819
934
  - spec/dummy/config/initializers/mime_types.rb
935
+ - spec/dummy/config/initializers/qbrick.rb
820
936
  - spec/dummy/config/initializers/secret_token.rb
821
937
  - spec/dummy/config/initializers/session_store.rb
822
938
  - spec/dummy/config/initializers/wrap_parameters.rb
@@ -832,12 +948,14 @@ test_files:
832
948
  - spec/dummy/public/stylesheets/.gitkeep
833
949
  - spec/dummy/script/rails
834
950
  - spec/factories.rb
951
+ - spec/features/administrator_management_spec.rb
835
952
  - spec/features/cms_pages_spec.rb
836
953
  - spec/features/search_spec.rb
837
- - spec/helpers/kuhsaft/cms/admin_helper_spec.rb
838
- - spec/helpers/kuhsaft/cms/pages_helper_spec.rb
839
- - spec/helpers/kuhsaft/pages_helper_spec.rb
840
- - spec/kuhsaft_spec.rb
954
+ - spec/features_helper.rb
955
+ - spec/generators/custom_model_generator_spec.rb
956
+ - spec/helpers/qbrick/cms/admin_helper_spec.rb
957
+ - spec/helpers/qbrick/cms/pages_helper_spec.rb
958
+ - spec/helpers/qbrick/pages_helper_spec.rb
841
959
  - spec/lib/brick_list_spec.rb
842
960
  - spec/lib/engine_spec.rb
843
961
  - spec/lib/gridded_spec.rb
@@ -860,11 +978,14 @@ test_files:
860
978
  - spec/models/page_spec.rb
861
979
  - spec/models/placeholder_brick_spec.rb
862
980
  - spec/models/publish_state_spec.rb
981
+ - spec/models/setting_spec.rb
863
982
  - spec/models/slider_brick_spec.rb
864
983
  - spec/models/text_brick_spec.rb
865
984
  - spec/models/two_column_brick_spec.rb
866
985
  - spec/models/video_brick_spec.rb
986
+ - spec/postgres_helper.rb
987
+ - spec/qbrick_spec.rb
867
988
  - spec/spec_helper.rb
868
- - spec/support/kuhsaft_spec_helper.rb
989
+ - spec/support/qbrick_spec_helper.rb
869
990
  - spec/support/write_expectation.rb
870
- - spec/views/kuhsaft/sitemaps/index.xml.haml_spec.rb
991
+ - spec/views/qbrick/sitemaps/index.xml.haml_spec.rb