locomotive_cms 2.0.0.rc12 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (519) hide show
  1. data/Gemfile +35 -28
  2. data/LICENSE +1 -1
  3. data/README.textile +9 -4
  4. data/app/assets/images/locomotive/icons/flags/de.png +0 -0
  5. data/app/assets/images/locomotive/icons/flags/en.png +0 -0
  6. data/app/assets/images/locomotive/icons/flags/es.png +0 -0
  7. data/app/assets/images/locomotive/icons/flags/et.png +0 -0
  8. data/app/assets/images/locomotive/icons/flags/fr.png +0 -0
  9. data/app/assets/images/locomotive/icons/flags/it.png +0 -0
  10. data/app/assets/images/locomotive/icons/flags/nb.png +0 -0
  11. data/app/assets/images/locomotive/icons/flags/nl.png +0 -0
  12. data/app/assets/images/locomotive/icons/flags/pl.png +0 -0
  13. data/app/assets/images/locomotive/icons/flags/pt-BR.png +0 -0
  14. data/app/assets/images/locomotive/icons/flags/ru.png +0 -0
  15. data/app/assets/javascripts/aloha/plugins/custom/locomotive_media/css/image.css +1 -1
  16. data/app/assets/javascripts/aloha/plugins/custom/locomotive_media/lib/locomotive_media-plugin.js +10 -21
  17. data/app/assets/javascripts/locomotive/models/content_entry.js.coffee +1 -1
  18. data/app/assets/javascripts/locomotive/models/content_type.js.coffee +6 -0
  19. data/app/assets/javascripts/locomotive/models/translation.js.coffee +5 -0
  20. data/app/assets/javascripts/locomotive/utils/aloha_settings.js.coffee +20 -2
  21. data/app/assets/javascripts/locomotive/utils/tinymce_settings.js.coffee +6 -6
  22. data/app/assets/javascripts/locomotive/views/application_view.js.coffee +4 -4
  23. data/app/assets/javascripts/locomotive/views/content_assets/picker_item_view.js.coffee +1 -1
  24. data/app/assets/javascripts/locomotive/views/content_entries/_form_view.js.coffee +10 -3
  25. data/app/assets/javascripts/locomotive/views/content_entries/_popup_form_view.js.coffee +7 -6
  26. data/app/assets/javascripts/locomotive/views/content_entries/index_view.js.coffee +1 -1
  27. data/app/assets/javascripts/locomotive/views/content_types/_form_view.js.coffee +4 -1
  28. data/app/assets/javascripts/locomotive/views/content_types/custom_field_entry_view.js.coffee +2 -2
  29. data/app/assets/javascripts/locomotive/views/content_types/custom_fields_view.coffee +5 -0
  30. data/app/assets/javascripts/locomotive/views/content_types/edit_view.coffee +1 -1
  31. data/app/assets/javascripts/locomotive/views/content_types/select_options_view.js.coffee +6 -6
  32. data/app/assets/javascripts/locomotive/views/current_site/edit_view.js.coffee +2 -1
  33. data/app/assets/javascripts/locomotive/views/editable_elements/edit_all_view.js.coffee +1 -1
  34. data/app/assets/javascripts/locomotive/views/editable_elements/file_view.js.coffee +2 -2
  35. data/app/assets/javascripts/locomotive/views/inline_editor/application_view.js.coffee +36 -15
  36. data/app/assets/javascripts/locomotive/views/inline_editor/toolbar_view.js.coffee +30 -14
  37. data/app/assets/javascripts/locomotive/views/pages/_form_view.js.coffee +24 -11
  38. data/app/assets/javascripts/locomotive/views/pages/edit_view.js.coffee +1 -1
  39. data/app/assets/javascripts/locomotive/views/pages/list_view.js.coffee +2 -2
  40. data/app/assets/javascripts/locomotive/views/shared/fields/file_view.js.coffee +5 -4
  41. data/app/assets/javascripts/locomotive/views/shared/fields/has_many_view.js.coffee +2 -1
  42. data/app/assets/javascripts/locomotive/views/shared/fields/many_to_many_view.js.coffee +1 -1
  43. data/app/assets/javascripts/locomotive/views/shared/fields/select_view.js.coffee +6 -2
  44. data/app/assets/javascripts/locomotive/views/shared/form_view.js.coffee +17 -12
  45. data/app/assets/javascripts/locomotive/views/shared/list_item_view.js.coffee +1 -1
  46. data/app/assets/javascripts/locomotive/views/sites/membership_entry_view.js.coffee +2 -1
  47. data/app/assets/javascripts/locomotive/views/snippets/_form_view.js.coffee +19 -3
  48. data/app/assets/javascripts/locomotive/views/theme_assets/index_view.js.coffee +8 -1
  49. data/app/assets/javascripts/locomotive/views/translations/_form_view.js.coffee +20 -0
  50. data/app/assets/javascripts/locomotive/views/translations/edit_view.js.coffee +6 -0
  51. data/app/assets/javascripts/locomotive/views/translations/new_view.js.coffee +8 -0
  52. data/app/assets/javascripts/tinymce/plugins/jqueryinlinepopups/editor_plugin.js +2 -2
  53. data/app/assets/javascripts/tinymce/plugins/locomotive_media/editor_plugin.js +1 -0
  54. data/app/assets/javascripts/tinymce/plugins/locomotive_media/langs/en.js +1 -0
  55. data/app/assets/javascripts/tinymce/plugins/locomotive_media/langs/fr.js +1 -0
  56. data/app/assets/javascripts/tinymce/plugins/locomotive_media/langs/ru.js +1 -0
  57. data/app/assets/stylesheets/locomotive.css +2 -1
  58. data/app/assets/stylesheets/locomotive/backoffice/_box.css.scss +3 -13
  59. data/app/assets/stylesheets/locomotive/backoffice/_buttons.css.scss +39 -16
  60. data/app/assets/stylesheets/locomotive/backoffice/application.css.scss +45 -56
  61. data/app/assets/stylesheets/locomotive/backoffice/codemirror_changes.css.scss +2 -0
  62. data/app/assets/stylesheets/locomotive/backoffice/content_assets.css.scss +5 -8
  63. data/app/assets/stylesheets/locomotive/backoffice/datepicker.css.scss +23 -9
  64. data/app/assets/stylesheets/locomotive/backoffice/formtastic_changes.css.scss +36 -32
  65. data/app/assets/stylesheets/locomotive/backoffice/layout.css.scss +2 -1
  66. data/app/assets/stylesheets/locomotive/backoffice/menu/_colors.css.scss +2 -1
  67. data/app/assets/stylesheets/locomotive/backoffice/menu/default.css.scss +4 -39
  68. data/app/assets/stylesheets/locomotive/backoffice/menu/main.css.scss +1 -1
  69. data/app/assets/stylesheets/locomotive/backoffice/menu/sub.css.scss +28 -36
  70. data/app/assets/stylesheets/locomotive/inline_editor.css +2 -1
  71. data/app/assets/stylesheets/locomotive/inline_editor/_buttons.css.scss +1 -11
  72. data/app/assets/stylesheets/locomotive/inline_editor/toolbar.css.scss +3 -4
  73. data/app/assets/stylesheets/locomotive/not_logged_in.css +1 -0
  74. data/app/assets/stylesheets/locomotive/not_logged_in/layout.css.scss +17 -8
  75. data/app/assets/stylesheets/locomotive/shared/_helpers.css.scss +21 -41
  76. data/app/assets/stylesheets/locomotive/shared/common.css.scss +2 -1
  77. data/app/assets/stylesheets/locomotive/shared/content_locale_picker.css.scss +11 -13
  78. data/app/cells/locomotive/content_locale_picker/show.html.haml +2 -2
  79. data/app/cells/locomotive/content_locale_picker_cell.rb +6 -2
  80. data/app/cells/locomotive/global_actions_cell.rb +1 -1
  81. data/app/cells/locomotive/main_menu/show.html.haml +1 -1
  82. data/app/cells/locomotive/main_menu_cell.rb +2 -2
  83. data/app/cells/locomotive/settings_menu_cell.rb +1 -0
  84. data/app/controllers/locomotive/api/accounts_controller.rb +70 -0
  85. data/app/controllers/locomotive/api/base_controller.rb +8 -0
  86. data/app/controllers/locomotive/api/content_assets_controller.rb +7 -9
  87. data/app/controllers/locomotive/api/content_entries_controller.rb +18 -14
  88. data/app/controllers/locomotive/api/content_types_controller.rb +56 -9
  89. data/app/controllers/locomotive/api/current_site_controller.rb +47 -1
  90. data/app/controllers/locomotive/api/documentation_controller.rb +15 -0
  91. data/app/controllers/locomotive/api/memberships_controller.rb +49 -14
  92. data/app/controllers/locomotive/api/my_account_controller.rb +19 -2
  93. data/app/controllers/locomotive/api/pages_controller.rb +56 -9
  94. data/app/controllers/locomotive/api/sites_controller.rb +62 -14
  95. data/app/controllers/locomotive/api/snippets_controller.rb +56 -9
  96. data/app/controllers/locomotive/api/theme_assets_controller.rb +7 -9
  97. data/app/controllers/locomotive/api/tokens_controller.rb +32 -5
  98. data/app/controllers/locomotive/api/translations_controller.rb +33 -0
  99. data/app/controllers/locomotive/public/base_controller.rb +1 -1
  100. data/app/controllers/locomotive/public/content_entries_controller.rb +13 -12
  101. data/app/controllers/locomotive/public/pages_controller.rb +3 -1
  102. data/app/controllers/locomotive/public/robots_controller.rb +2 -2
  103. data/app/controllers/locomotive/public/sitemaps_controller.rb +2 -2
  104. data/app/controllers/locomotive/sites_controller.rb +2 -2
  105. data/app/controllers/locomotive/snippets_controller.rb +6 -1
  106. data/app/controllers/locomotive/translations_controller.rb +39 -0
  107. data/app/helpers/locomotive/accounts_helper.rb +1 -1
  108. data/app/helpers/locomotive/base_helper.rb +68 -2
  109. data/app/helpers/locomotive/content_entries_helper.rb +27 -1
  110. data/app/helpers/locomotive/custom_fields_helper.rb +2 -2
  111. data/app/helpers/locomotive/pages_helper.rb +30 -2
  112. data/app/helpers/locomotive/snippets_helper.rb +20 -0
  113. data/app/helpers/locomotive/translations_helper.rb +19 -0
  114. data/app/inputs/locomotive/code_input.rb +29 -7
  115. data/app/inputs/locomotive/file_input.rb +5 -1
  116. data/app/inputs/locomotive/locale_input.rb +3 -2
  117. data/app/inputs/locomotive/locales_input.rb +3 -2
  118. data/app/mailers/locomotive/notifications.rb +7 -1
  119. data/app/models/locomotive/ability.rb +9 -3
  120. data/app/models/locomotive/account.rb +11 -5
  121. data/app/models/locomotive/content_asset.rb +2 -7
  122. data/app/models/locomotive/content_entry.rb +26 -20
  123. data/app/models/locomotive/content_type.rb +56 -28
  124. data/app/models/locomotive/editable_control.rb +0 -4
  125. data/app/models/locomotive/editable_element.rb +15 -4
  126. data/app/models/locomotive/editable_file.rb +11 -5
  127. data/app/models/locomotive/editable_long_text.rb +1 -7
  128. data/app/models/locomotive/editable_short_text.rb +12 -3
  129. data/app/models/locomotive/extensions/content_type/default_values.rb +2 -4
  130. data/app/models/locomotive/extensions/page/editable_elements.rb +22 -3
  131. data/app/models/locomotive/extensions/page/listed.rb +1 -1
  132. data/app/models/locomotive/extensions/page/parse.rb +18 -12
  133. data/app/models/locomotive/extensions/page/redirect.rb +6 -4
  134. data/app/models/locomotive/extensions/page/render.rb +1 -1
  135. data/app/models/locomotive/extensions/page/templatized.rb +48 -19
  136. data/app/models/locomotive/extensions/page/tree.rb +14 -2
  137. data/app/models/locomotive/extensions/site/locales.rb +11 -3
  138. data/app/models/locomotive/extensions/site/subdomain_domains.rb +7 -2
  139. data/app/models/locomotive/membership.rb +0 -4
  140. data/app/models/locomotive/page.rb +5 -13
  141. data/app/models/locomotive/site.rb +16 -23
  142. data/app/models/locomotive/snippet.rb +1 -9
  143. data/app/models/locomotive/theme_asset.rb +24 -28
  144. data/app/models/locomotive/translation.rb +35 -0
  145. data/app/presenters/locomotive/account_presenter.rb +12 -4
  146. data/app/presenters/locomotive/base_presenter.rb +122 -20
  147. data/app/presenters/locomotive/content_asset_presenter.rb +22 -11
  148. data/app/presenters/locomotive/content_entry_presenter.rb +151 -36
  149. data/app/presenters/locomotive/content_field_presenter.rb +76 -0
  150. data/app/presenters/locomotive/content_type_presenter.rb +66 -8
  151. data/app/presenters/locomotive/editable_control_presenter.rb +9 -8
  152. data/app/presenters/locomotive/editable_element_presenter.rb +26 -7
  153. data/app/presenters/locomotive/editable_file_presenter.rb +26 -5
  154. data/app/presenters/locomotive/editable_short_text_presenter.rb +21 -4
  155. data/app/presenters/locomotive/membership_presenter.rb +14 -16
  156. data/app/presenters/locomotive/page_presenter.rb +60 -14
  157. data/app/presenters/locomotive/site_presenter.rb +23 -8
  158. data/app/presenters/locomotive/snippet_presenter.rb +10 -8
  159. data/app/presenters/locomotive/theme_asset_presenter.rb +32 -15
  160. data/app/presenters/locomotive/translation_presenter.rb +9 -0
  161. data/app/uploaders/locomotive/editable_file_uploader.rb +4 -0
  162. data/app/views/locomotive/content_assets/_asset.html.haml +1 -1
  163. data/app/views/locomotive/content_assets/_picker.html.haml +1 -1
  164. data/app/views/locomotive/content_entries/_form.html.haml +2 -2
  165. data/app/views/locomotive/content_entries/_list.html.haml +1 -2
  166. data/app/views/locomotive/content_entries/edit.html.haml +6 -3
  167. data/app/views/locomotive/content_entries/index.html.haml +2 -2
  168. data/app/views/locomotive/content_entries/new.html.haml +5 -2
  169. data/app/views/locomotive/content_types/edit.html.haml +2 -2
  170. data/app/views/locomotive/current_site/edit.html.haml +1 -1
  171. data/app/views/locomotive/custom_fields/_form.html.haml +4 -4
  172. data/app/views/locomotive/custom_fields/_select_templates.html.haml +2 -2
  173. data/app/views/locomotive/custom_fields/types/_has_many.html.haml +6 -34
  174. data/app/views/locomotive/custom_fields/types/_has_many_form.html.haml +31 -0
  175. data/app/views/locomotive/custom_fields/types/_many_to_many.html.haml +2 -3
  176. data/app/views/locomotive/layouts/not_logged_in.html.haml +1 -1
  177. data/app/views/locomotive/my_account/edit.html.haml +2 -2
  178. data/app/views/locomotive/pages/_form.html.haml +8 -4
  179. data/app/views/locomotive/pages/_page.html.haml +7 -1
  180. data/app/views/locomotive/pages/edit.html.haml +1 -1
  181. data/app/views/locomotive/pages/index.html.haml +1 -1
  182. data/app/views/locomotive/public/pages/show_toolbar.html.haml +2 -3
  183. data/app/views/locomotive/public/sitemaps/show.xml.builder +4 -4
  184. data/app/views/locomotive/shared/_head.html.haml +3 -2
  185. data/app/views/locomotive/shared/_locale_picker_link.html.haml +3 -4
  186. data/app/views/locomotive/shared/actions/_contents.html.haml +3 -1
  187. data/app/views/locomotive/shared/menu/_contents.html.haml +14 -3
  188. data/app/views/locomotive/sites/_domains.html.haml +1 -1
  189. data/app/views/locomotive/sites/_form.html.haml +5 -5
  190. data/app/views/locomotive/sites/_memberships.html.haml +4 -2
  191. data/app/views/locomotive/snippets/_form.html.haml +2 -2
  192. data/app/views/locomotive/snippets/_snippet.html.haml +1 -1
  193. data/app/views/locomotive/snippets/edit.html.haml +1 -1
  194. data/app/views/locomotive/theme_assets/_asset.html.haml +1 -1
  195. data/app/views/locomotive/theme_assets/_form.html.haml +6 -2
  196. data/app/views/locomotive/theme_assets/edit.html.haml +1 -1
  197. data/app/views/locomotive/theme_assets/index.html.haml +15 -11
  198. data/app/views/locomotive/translations/_form.html.haml +12 -0
  199. data/app/views/locomotive/translations/edit.html.haml +15 -0
  200. data/app/views/locomotive/translations/index.html.haml +28 -0
  201. data/app/views/locomotive/translations/new.html.haml +12 -0
  202. data/config/initializers/deny_phantomjs_ttf.rb +29 -0
  203. data/config/locales/admin_ui.de.yml +1 -0
  204. data/config/locales/admin_ui.en.yml +22 -2
  205. data/config/locales/admin_ui.es.yml +1 -0
  206. data/config/locales/admin_ui.et.yml +14 -0
  207. data/config/locales/admin_ui.fr.yml +36 -14
  208. data/config/locales/admin_ui.it.yml +1 -0
  209. data/config/locales/admin_ui.nb.yml +1 -0
  210. data/config/locales/admin_ui.pl.yml +319 -0
  211. data/config/locales/admin_ui.pt-BR.yml +38 -6
  212. data/config/locales/admin_ui.ru.yml +1 -0
  213. data/config/locales/carrierwave.pl.yml +4 -0
  214. data/config/locales/default.fr.yml +3 -1
  215. data/config/locales/default.pl.yml +317 -0
  216. data/config/locales/devise.de.yml +1 -0
  217. data/config/locales/devise.en.yml +1 -0
  218. data/config/locales/devise.es.yml +1 -0
  219. data/config/locales/devise.et.yml +1 -0
  220. data/config/locales/devise.fr.yml +3 -2
  221. data/config/locales/devise.it.yml +1 -0
  222. data/config/locales/devise.nb.yml +1 -0
  223. data/config/locales/devise.nl.yml +1 -0
  224. data/config/locales/devise.pl.yml +64 -0
  225. data/config/locales/devise.pt-BR.yml +1 -0
  226. data/config/locales/devise.ru.yml +1 -0
  227. data/config/locales/flash.en.yml +9 -0
  228. data/config/locales/flash.pl.yml +106 -0
  229. data/config/locales/formtastic.en.yml +2 -0
  230. data/config/locales/formtastic.fr.yml +3 -1
  231. data/config/locales/formtastic.pl.yml +105 -0
  232. data/config/routes.rb +46 -38
  233. data/features/api/accounts.feature +25 -0
  234. data/features/api/authentication.feature +19 -0
  235. data/features/api/authorization/accounts.feature +125 -0
  236. data/features/api/authorization/content_assets.feature +147 -0
  237. data/features/api/authorization/content_entries.feature +202 -0
  238. data/features/api/authorization/content_types.feature +237 -0
  239. data/features/api/authorization/current_site.feature +30 -0
  240. data/features/api/authorization/memberships.feature +225 -0
  241. data/features/api/authorization/pages.feature +187 -0
  242. data/features/api/authorization/sites.feature +213 -0
  243. data/features/api/authorization/snippets.feature +179 -0
  244. data/features/api/authorization/theme_assets.feature +185 -0
  245. data/features/api/authorization/translations.feature +253 -0
  246. data/features/api/content_entries.feature +169 -0
  247. data/features/api/content_types.feature +156 -0
  248. data/features/api/editable_elements.feature +190 -0
  249. data/features/api/entries_custom_fields.feature +150 -0
  250. data/features/api/pages.feature +72 -0
  251. data/features/backoffice/authorization/account_settings.feature +28 -0
  252. data/features/backoffice/authorization/content_type.feature +35 -0
  253. data/features/backoffice/authorization/current_site.feature +53 -0
  254. data/features/backoffice/authorization/inline_front_end_editing.feature +46 -0
  255. data/features/backoffice/authorization/pages.feature +95 -0
  256. data/features/backoffice/authorization/theme_assets.feature +50 -0
  257. data/features/backoffice/content_types/edit.feature +20 -0
  258. data/features/backoffice/content_types/has_many.feature +60 -0
  259. data/features/backoffice/content_types/many_to_many.feature +42 -0
  260. data/features/backoffice/contents.feature +70 -0
  261. data/features/backoffice/editable_elements.feature +22 -0
  262. data/features/backoffice/login.feature +33 -0
  263. data/features/backoffice/mounting.feature +13 -0
  264. data/features/backoffice/pages.feature +35 -0
  265. data/features/backoffice/site.feature +45 -0
  266. data/features/backoffice/snippets.feature +39 -0
  267. data/features/backoffice/theme_assets.feature +72 -0
  268. data/features/backoffice/translations.feature +44 -0
  269. data/features/public/basic.feature +30 -0
  270. data/features/public/contact_form.feature +78 -0
  271. data/features/public/content_entries.feature +56 -0
  272. data/features/public/editable_elements.feature +138 -0
  273. data/features/public/has_many.feature +8 -0
  274. data/features/public/inheritance.feature +157 -0
  275. data/features/public/inline_front_end_editing.feature +26 -0
  276. data/features/public/many_to_many.feature +64 -0
  277. data/features/public/pagination.feature +8 -0
  278. data/features/public/robots.feature +22 -0
  279. data/features/public/sitemap.feature +74 -0
  280. data/features/public/snippets.feature +21 -0
  281. data/features/public/tablerow.feature +42 -0
  282. data/features/step_definitions/api_steps.rb +176 -0
  283. data/features/step_definitions/backoffice/mounting_steps.rb +22 -0
  284. data/features/step_definitions/backoffice_steps.rb +43 -0
  285. data/features/step_definitions/content_assets_steps.rb +12 -0
  286. data/features/step_definitions/content_types_steps.rb +106 -0
  287. data/features/step_definitions/current_site_steps.rb +43 -0
  288. data/features/step_definitions/editable_elements_steps.rb +24 -0
  289. data/features/step_definitions/membership_steps.rb +19 -0
  290. data/features/step_definitions/more_web_steps.rb +96 -0
  291. data/features/step_definitions/page_steps.rb +110 -0
  292. data/features/step_definitions/pagination_steps.rb +35 -0
  293. data/features/step_definitions/pickle_steps.rb +100 -0
  294. data/features/step_definitions/relationships_steps.rb +107 -0
  295. data/features/step_definitions/site_steps.rb +100 -0
  296. data/features/step_definitions/snippet_steps.rb +37 -0
  297. data/features/step_definitions/theme_asset_steps.rb +64 -0
  298. data/features/step_definitions/translation_steps.rb +7 -0
  299. data/features/step_definitions/web_steps.rb +197 -0
  300. data/features/step_definitions/within_steps.rb +14 -0
  301. data/features/support/cleaner.rb +4 -0
  302. data/features/support/env.rb +82 -0
  303. data/features/support/factory_girl.rb +2 -0
  304. data/features/support/http.rb +22 -0
  305. data/features/support/paths.rb +62 -0
  306. data/features/support/pickle.rb +24 -0
  307. data/features/support/selectors.rb +57 -0
  308. data/lib/generators/locomotive/install/install_generator.rb +5 -0
  309. data/lib/generators/locomotive/install/templates/dragonfly.rb +2 -3
  310. data/lib/generators/locomotive/install/templates/locomotive.rb +2 -2
  311. data/lib/locomotive.rb +13 -2
  312. data/lib/locomotive/action_controller/locale_helpers.rb +1 -1
  313. data/lib/locomotive/action_controller/public_responder.rb +17 -1
  314. data/lib/locomotive/action_controller/responder.rb +3 -2
  315. data/lib/locomotive/action_controller/url_helpers.rb +1 -1
  316. data/lib/locomotive/cancan.rb +22 -0
  317. data/lib/locomotive/carrierwave.rb +2 -0
  318. data/lib/locomotive/carrierwave/asset.rb +17 -7
  319. data/lib/locomotive/configuration.rb +6 -2
  320. data/lib/locomotive/core_ext.rb +5 -4
  321. data/lib/locomotive/custom_fields.rb +11 -0
  322. data/lib/locomotive/dependencies.rb +3 -3
  323. data/lib/locomotive/dragonfly.rb +1 -1
  324. data/lib/locomotive/engine.rb +24 -8
  325. data/lib/locomotive/formtastic.rb +26 -1
  326. data/lib/locomotive/liquid/drops/current_user.rb +2 -2
  327. data/lib/locomotive/liquid/drops/page.rb +5 -1
  328. data/lib/locomotive/liquid/filters/date.rb +19 -0
  329. data/lib/locomotive/liquid/filters/html.rb +7 -7
  330. data/lib/locomotive/liquid/filters/misc.rb +5 -7
  331. data/lib/locomotive/liquid/filters/text.rb +11 -0
  332. data/lib/locomotive/liquid/filters/translate.rb +16 -0
  333. data/lib/locomotive/liquid/patches.rb +21 -0
  334. data/lib/locomotive/liquid/tags/consume.rb +13 -2
  335. data/lib/locomotive/liquid/tags/csrf.rb +3 -3
  336. data/lib/locomotive/liquid/tags/editable/base.rb +11 -4
  337. data/lib/locomotive/liquid/tags/inline_editor.rb +5 -2
  338. data/lib/locomotive/liquid/tags/locale_switcher.rb +12 -4
  339. data/lib/locomotive/liquid/tags/nav.rb +1 -1
  340. data/lib/locomotive/liquid/tags/paginate.rb +4 -1
  341. data/lib/locomotive/liquid/tags/seo.rb +2 -2
  342. data/lib/locomotive/liquid/tags/snippet.rb +10 -2
  343. data/lib/locomotive/liquid/tags/with_scope.rb +11 -0
  344. data/lib/locomotive/middlewares.rb +2 -1
  345. data/lib/locomotive/middlewares/fonts.rb +2 -2
  346. data/lib/locomotive/middlewares/permalink.rb +22 -0
  347. data/lib/locomotive/misc/api_documentation.rb +114 -0
  348. data/lib/locomotive/misc/api_documentation/bootstrap.html.haml +196 -0
  349. data/lib/locomotive/mongoid.rb +2 -1
  350. data/lib/locomotive/mongoid/document.rb +3 -2
  351. data/lib/locomotive/mongoid/liquid.rb +39 -0
  352. data/lib/locomotive/mongoid/presenter.rb +73 -0
  353. data/lib/locomotive/presentable.rb +216 -0
  354. data/lib/locomotive/render.rb +76 -24
  355. data/lib/locomotive/routing/site_dispatcher.rb +15 -4
  356. data/lib/locomotive/version.rb +1 -1
  357. data/lib/tasks/development.rake +29 -0
  358. data/lib/tasks/locomotive.rake +58 -7
  359. data/spec/cells/locomotive/global_actions_spec.rb +98 -0
  360. data/spec/cells/locomotive/main_menu_cell_spec.rb +99 -0
  361. data/spec/cells/locomotive/settings_menu_cell_spec.rb +107 -0
  362. data/spec/dummy/Rakefile +7 -0
  363. data/spec/dummy/app/assets/javascripts/application.js +9 -0
  364. data/spec/dummy/app/assets/javascripts/locomotive_misc.js.coffee +2 -0
  365. data/spec/dummy/app/assets/stylesheets/application.css +7 -0
  366. data/spec/dummy/app/cells/locomotive/main_menu_cell.rb +9 -0
  367. data/spec/dummy/app/controllers/application_controller.rb +3 -0
  368. data/spec/dummy/app/controllers/foo_controller.rb +10 -0
  369. data/spec/dummy/app/helpers/application_helper.rb +2 -0
  370. data/spec/dummy/app/models/foo.rb +7 -0
  371. data/spec/dummy/app/views/foo/index.html.haml +1 -0
  372. data/spec/dummy/app/views/layouts/application.html.erb +14 -0
  373. data/spec/dummy/app/views/locomotive/shared/_main_app_head.html.haml +1 -0
  374. data/spec/dummy/config.ru +4 -0
  375. data/spec/dummy/config/application.rb +57 -0
  376. data/spec/dummy/config/boot.rb +20 -0
  377. data/spec/dummy/config/environment.rb +5 -0
  378. data/spec/dummy/config/environments/development.rb +38 -0
  379. data/spec/dummy/config/environments/production.rb +60 -0
  380. data/spec/dummy/config/environments/test.rb +39 -0
  381. data/spec/dummy/config/initializers/carrierwave.rb +8 -0
  382. data/spec/dummy/config/initializers/devise.rb +190 -0
  383. data/spec/dummy/config/initializers/dragonfly.rb +21 -0
  384. data/spec/dummy/config/initializers/formtastic.rb +5 -0
  385. data/spec/dummy/config/initializers/haml.rb +2 -0
  386. data/spec/dummy/config/initializers/locomotive.rb +80 -0
  387. data/spec/dummy/config/initializers/secret_token.rb +7 -0
  388. data/spec/dummy/config/initializers/session_store.rb +8 -0
  389. data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
  390. data/spec/dummy/config/locales/en.yml +10 -0
  391. data/spec/dummy/config/locales/fr.yml +10 -0
  392. data/spec/dummy/config/mongoid.yml +23 -0
  393. data/spec/dummy/config/routes.rb +9 -0
  394. data/spec/dummy/public/404.html +26 -0
  395. data/spec/dummy/public/422.html +26 -0
  396. data/spec/dummy/public/500.html +26 -0
  397. data/spec/dummy/script/rails +6 -0
  398. data/spec/fixtures/assets/5k.png +0 -0
  399. data/spec/fixtures/assets/5k_2.png +0 -0
  400. data/spec/fixtures/assets/application.js +1 -0
  401. data/spec/fixtures/assets/main.css +1 -0
  402. data/spec/fixtures/assets/wrong.txt +1 -0
  403. data/spec/fixtures/images/logo1.jpg +0 -0
  404. data/spec/fixtures/images/logo2.jpg +0 -0
  405. data/spec/lib/core_ext_spec.rb +37 -0
  406. data/spec/lib/locomotive/configuration_spec.rb +26 -0
  407. data/spec/lib/locomotive/httparty/webservice_spec.rb +33 -0
  408. data/spec/lib/locomotive/liquid/drops/content_entry_spec.rb +46 -0
  409. data/spec/lib/locomotive/liquid/drops/current_user.rb +63 -0
  410. data/spec/lib/locomotive/liquid/drops/page_spec.rb +143 -0
  411. data/spec/lib/locomotive/liquid/drops/site_spec.rb +32 -0
  412. data/spec/lib/locomotive/liquid/filters/date_spec.rb +68 -0
  413. data/spec/lib/locomotive/liquid/filters/html_spec.rb +224 -0
  414. data/spec/lib/locomotive/liquid/filters/misc_spec.rb +56 -0
  415. data/spec/lib/locomotive/liquid/filters/resize_spec.rb +61 -0
  416. data/spec/lib/locomotive/liquid/filters/text_spec.rb +32 -0
  417. data/spec/lib/locomotive/liquid/filters/translate_spec.rb +50 -0
  418. data/spec/lib/locomotive/liquid/tags/consume_spec.rb +52 -0
  419. data/spec/lib/locomotive/liquid/tags/csrf_spec.rb +26 -0
  420. data/spec/lib/locomotive/liquid/tags/editable/short_text_spec.rb +46 -0
  421. data/spec/lib/locomotive/liquid/tags/extends_spec.rb +58 -0
  422. data/spec/lib/locomotive/liquid/tags/locale_switcher_spec.rb +47 -0
  423. data/spec/lib/locomotive/liquid/tags/nav_spec.rb +142 -0
  424. data/spec/lib/locomotive/liquid/tags/paginate_spec.rb +139 -0
  425. data/spec/lib/locomotive/liquid/tags/seo_spec.rb +135 -0
  426. data/spec/lib/locomotive/liquid/tags/with_scope_spec.rb +49 -0
  427. data/spec/lib/locomotive/presentable_spec.rb +184 -0
  428. data/spec/lib/locomotive/render_spec.rb +209 -0
  429. data/spec/lib/locomotive/routing/site_dispatcher_spec.rb +258 -0
  430. data/spec/mailers/locomotive/notifications_spec.rb +57 -0
  431. data/spec/models/locomotive/ability_spec.rb +132 -0
  432. data/spec/models/locomotive/account_spec.rb +87 -0
  433. data/spec/models/locomotive/content_asset_spec.rb +46 -0
  434. data/spec/models/locomotive/content_entry_spec.rb +269 -0
  435. data/spec/models/locomotive/content_type_spec.rb +391 -0
  436. data/spec/models/locomotive/editable_control_spec.rb +70 -0
  437. data/spec/models/locomotive/editable_file_spec.rb +95 -0
  438. data/spec/models/locomotive/editable_long_text_spec.rb +50 -0
  439. data/spec/models/locomotive/editable_short_text_spec.rb +174 -0
  440. data/spec/models/locomotive/extensions/page/editable_elements_spec.rb +67 -0
  441. data/spec/models/locomotive/extensions/page/redirect_spec.rb +28 -0
  442. data/spec/models/locomotive/extensions/page/render_spec.rb +88 -0
  443. data/spec/models/locomotive/extensions/site/locales_spec.rb +52 -0
  444. data/spec/models/locomotive/extensions/site/subdomain_domains_spec.rb +25 -0
  445. data/spec/models/locomotive/membership_spec.rb +61 -0
  446. data/spec/models/locomotive/page_spec.rb +427 -0
  447. data/spec/models/locomotive/site_spec.rb +176 -0
  448. data/spec/models/locomotive/snippet_spec.rb +77 -0
  449. data/spec/models/locomotive/theme_asset_spec.rb +128 -0
  450. data/spec/requests/seo_trailing_slash_spec.rb +25 -0
  451. data/spec/support/carrierwave.rb +50 -0
  452. data/spec/support/cells.rb +3 -0
  453. data/spec/support/controller.rb +32 -0
  454. data/spec/support/factories.rb +156 -0
  455. data/spec/support/locomotive.rb +37 -0
  456. data/spec/support/matchers.rb +127 -0
  457. data/spec/support/middlewares.rb +0 -0
  458. data/vendor/assets/fonts/locomotive/fontawesome-webfont.eot +0 -0
  459. data/vendor/assets/fonts/locomotive/fontawesome-webfont.svg +255 -0
  460. data/vendor/assets/fonts/locomotive/fontawesome-webfont.ttf +0 -0
  461. data/vendor/assets/fonts/locomotive/fontawesome-webfont.woff +0 -0
  462. data/vendor/assets/javascripts/locomotive/backbone.modelbinding.js +34 -9
  463. data/vendor/assets/javascripts/locomotive/backbone.sync.js +2 -2
  464. data/vendor/assets/javascripts/locomotive/form_submit_notification.js +2 -2
  465. data/vendor/assets/javascripts/locomotive/growl.js +10 -10
  466. data/vendor/assets/javascripts/locomotive/menu_toggler.js +8 -4
  467. data/vendor/assets/javascripts/locomotive/slugify.js +21 -5
  468. data/vendor/assets/stylesheets/locomotive/font-awesome.scss +329 -0
  469. data/vendor/assets/stylesheets/locomotive/jquery/{ui.css → ui.css.scss} +19 -19
  470. metadata +538 -195
  471. data/app/assets/images/locomotive/background/light.png +0 -0
  472. data/app/assets/images/locomotive/datepicker/ui-widget-left-icon.png +0 -0
  473. data/app/assets/images/locomotive/datepicker/ui-widget-right-icon.png +0 -0
  474. data/app/assets/images/locomotive/form/folded-arrow-off.png +0 -0
  475. data/app/assets/images/locomotive/form/folded-arrow-on.png +0 -0
  476. data/app/assets/images/locomotive/form/icons/drag.png +0 -0
  477. data/app/assets/images/locomotive/form/icons/edit.png +0 -0
  478. data/app/assets/images/locomotive/form/icons/error.png +0 -0
  479. data/app/assets/images/locomotive/form/icons/spinner.gif +0 -0
  480. data/app/assets/images/locomotive/form/icons/trash.png +0 -0
  481. data/app/assets/images/locomotive/form/pen.png +0 -0
  482. data/app/assets/images/locomotive/form/spinner.gif +0 -0
  483. data/app/assets/images/locomotive/icons/actions.png +0 -0
  484. data/app/assets/images/locomotive/icons/asset_add.png +0 -0
  485. data/app/assets/images/locomotive/icons/asset_switch.png +0 -0
  486. data/app/assets/images/locomotive/icons/membership_edit.png +0 -0
  487. data/app/assets/images/locomotive/icons/membership_lock.png +0 -0
  488. data/app/assets/images/locomotive/inline_editor/back.png +0 -0
  489. data/app/assets/images/locomotive/list/icons/cross.png +0 -0
  490. data/app/assets/images/locomotive/list/icons/drag.png +0 -0
  491. data/app/assets/images/locomotive/list/icons/move.png +0 -0
  492. data/app/assets/images/locomotive/list/icons/move_off.png +0 -0
  493. data/app/assets/images/locomotive/list/icons/node_closed.png +0 -0
  494. data/app/assets/images/locomotive/list/icons/node_open.png +0 -0
  495. data/app/assets/images/locomotive/list/icons/pencil.png +0 -0
  496. data/app/assets/images/locomotive/list/icons/pencil_off.png +0 -0
  497. data/app/assets/images/locomotive/list/icons/popup.png +0 -0
  498. data/app/assets/images/locomotive/list/icons/popup_off.png +0 -0
  499. data/app/assets/images/locomotive/list/icons/redirect.png +0 -0
  500. data/app/assets/images/locomotive/list/icons/states.png +0 -0
  501. data/app/assets/images/locomotive/list/icons/template.png +0 -0
  502. data/app/assets/images/locomotive/list/icons/toggle.png +0 -0
  503. data/app/assets/images/locomotive/list/icons/toggle_off.png +0 -0
  504. data/app/assets/images/locomotive/list/icons/trash.png +0 -0
  505. data/app/assets/images/locomotive/list/icons/trash_off.png +0 -0
  506. data/app/assets/images/locomotive/menu/icons.png +0 -0
  507. data/app/assets/images/locomotive/menu/popup/add.png +0 -0
  508. data/app/assets/images/locomotive/menu/popup/bottom-right-corner.png +0 -0
  509. data/app/assets/images/locomotive/menu/popup/bullet.png +0 -0
  510. data/app/assets/images/locomotive/plugins/selectmenu/arrow.png +0 -0
  511. data/app/assets/images/locomotive/plugins/selectmenu/background.png +0 -0
  512. data/app/assets/images/locomotive/plugins/sites_picker_entry_bg.png +0 -0
  513. data/app/assets/images/locomotive/simple/light_bg.png +0 -0
  514. data/app/assets/images/locomotive/simple/wrapper_bg.png +0 -0
  515. data/app/assets/stylesheets/locomotive/backoffice/menu/_icons.css.scss +0 -30
  516. data/app/uploaders/locomotive/theme_uploader.rb +0 -19
  517. data/lib/locomotive/mongoid/model_extensions.rb +0 -1
  518. data/lib/tasks/cucumber.rake +0 -66
  519. data/vendor/assets/stylesheets/locomotive/jquery.css +0 -3
@@ -50,25 +50,25 @@
50
50
  ----------------------------------*/
51
51
  .ui-widget { font-family: Verdana,Arial,sans-serif; font-size: 1.1em; }
52
52
  .ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button { font-family: Verdana,Arial,sans-serif; font-size: 1em; }
53
- .ui-widget-content { border: 1px solid #aaaaaa; background: #ffffff url(images/ui-bg_flat_75_ffffff_40x100.png) 50% 50% repeat-x; color: #222222; }
53
+ .ui-widget-content { border: 1px solid #aaaaaa; background: #ffffff image-url("locomotive/jquery/images/ui-bg_flat_75_ffffff_40x100.png") 50% 50% repeat-x; color: #222222; }
54
54
  .ui-widget-content a { color: #222222; }
55
- .ui-widget-header { border: 1px solid #aaaaaa; background: #cccccc url(images/ui-bg_highlight-soft_75_cccccc_1x100.png) 50% 50% repeat-x; color: #222222; font-weight: bold; }
55
+ .ui-widget-header { border: 1px solid #aaaaaa; background: #cccccc image-url("locomotive/jquery/images/ui-bg_highlight-soft_75_cccccc_1x100.png") 50% 50% repeat-x; color: #222222; font-weight: bold; }
56
56
  .ui-widget-header a { color: #222222; }
57
57
 
58
58
  /* Interaction states
59
59
  ----------------------------------*/
60
- .ui-state-default, .ui-widget-content .ui-state-default { border: 1px solid #d3d3d3; background: #e6e6e6 url(images/ui-bg_glass_75_e6e6e6_1x400.png) 50% 50% repeat-x; font-weight: normal; color: #555555; outline: none; }
60
+ .ui-state-default, .ui-widget-content .ui-state-default { border: 1px solid #d3d3d3; background: #e6e6e6 image-url("locomotive/jquery/images/ui-bg_glass_75_e6e6e6_1x400.png") 50% 50% repeat-x; font-weight: normal; color: #555555; outline: none; }
61
61
  .ui-state-default a, .ui-state-default a:link, .ui-state-default a:visited { color: #555555; text-decoration: none; outline: none; }
62
- .ui-state-hover, .ui-widget-content .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus { border: 1px solid #999999; background: #dadada url(images/ui-bg_glass_75_dadada_1x400.png) 50% 50% repeat-x; font-weight: normal; color: #212121; outline: none; }
62
+ .ui-state-hover, .ui-widget-content .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus { border: 1px solid #999999; background: #dadada image-url("locomotive/jquery/images/ui-bg_glass_75_dadada_1x400.png") 50% 50% repeat-x; font-weight: normal; color: #212121; outline: none; }
63
63
  .ui-state-hover a, .ui-state-hover a:hover { color: #212121; text-decoration: none; outline: none; }
64
- .ui-state-active, .ui-widget-content .ui-state-active { border: 1px solid #aaaaaa; background: #ffffff url(images/ui-bg_glass_65_ffffff_1x400.png) 50% 50% repeat-x; font-weight: normal; color: #212121; outline: none; }
64
+ .ui-state-active, .ui-widget-content .ui-state-active { border: 1px solid #aaaaaa; background: #ffffff image-url("locomotive/jquery/images/ui-bg_glass_65_ffffff_1x400.png") 50% 50% repeat-x; font-weight: normal; color: #212121; outline: none; }
65
65
  .ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited { color: #212121; outline: none; text-decoration: none; }
66
66
 
67
67
  /* Interaction Cues
68
68
  ----------------------------------*/
69
- .ui-state-highlight, .ui-widget-content .ui-state-highlight {border: 1px solid #fcefa1; background: #fbf9ee url(images/ui-bg_glass_55_fbf9ee_1x400.png) 50% 50% repeat-x; color: #363636; }
69
+ .ui-state-highlight, .ui-widget-content .ui-state-highlight {border: 1px solid #fcefa1; background: #fbf9ee image-url("locomotive/jquery/images/ui-bg_glass_55_fbf9ee_1x400.png") 50% 50% repeat-x; color: #363636; }
70
70
  .ui-state-highlight a, .ui-widget-content .ui-state-highlight a { color: #363636; }
71
- .ui-state-error, .ui-widget-content .ui-state-error {border: 1px solid #cd0a0a; background: #fef1ec url(images/ui-bg_glass_95_fef1ec_1x400.png) 50% 50% repeat-x; color: #cd0a0a; }
71
+ .ui-state-error, .ui-widget-content .ui-state-error {border: 1px solid #cd0a0a; background: #fef1ec image-url("locomotive/jquery/images/ui-bg_glass_95_fef1ec_1x400.png") 50% 50% repeat-x; color: #cd0a0a; }
72
72
  .ui-state-error a, .ui-widget-content .ui-state-error a { color: #cd0a0a; }
73
73
  .ui-state-error-text, .ui-widget-content .ui-state-error-text { color: #cd0a0a; }
74
74
  .ui-state-disabled, .ui-widget-content .ui-state-disabled { opacity: .35; filter:Alpha(Opacity=35); background-image: none; }
@@ -79,14 +79,14 @@
79
79
  ----------------------------------*/
80
80
 
81
81
  /* states and images */
82
- .ui-icon { width: 16px; height: 16px; background-image: url(images/ui-icons_222222_256x240.png); }
83
- .ui-widget-content .ui-icon {background-image: url(images/ui-icons_222222_256x240.png); }
84
- .ui-widget-header .ui-icon {background-image: url(images/ui-icons_222222_256x240.png); }
85
- .ui-state-default .ui-icon { background-image: url(images/ui-icons_888888_256x240.png); }
86
- .ui-state-hover .ui-icon, .ui-state-focus .ui-icon {background-image: url(images/ui-icons_454545_256x240.png); }
87
- .ui-state-active .ui-icon {background-image: url(images/ui-icons_454545_256x240.png); }
88
- .ui-state-highlight .ui-icon {background-image: url(images/ui-icons_2e83ff_256x240.png); }
89
- .ui-state-error .ui-icon, .ui-state-error-text .ui-icon {background-image: url(images/ui-icons_cd0a0a_256x240.png); }
82
+ .ui-icon { width: 16px; height: 16px; background-image: image-url("locomotive/jquery/images/ui-icons_222222_256x240.png"); }
83
+ .ui-widget-content .ui-icon {background-image: image-url("locomotive/jquery/images/ui-icons_222222_256x240.png"); }
84
+ .ui-widget-header .ui-icon {background-image: image-url("locomotive/jquery/images/ui-icons_222222_256x240.png"); }
85
+ .ui-state-default .ui-icon { background-image: image-url("locomotive/jquery/images/ui-icons_888888_256x240.png"); }
86
+ .ui-state-hover .ui-icon, .ui-state-focus .ui-icon {background-image: image-url("locomotive/jquery/images/ui-icons_454545_256x240.png"); }
87
+ .ui-state-active .ui-icon {background-image: image-url("locomotive/jquery/images/ui-icons_454545_256x240.png"); }
88
+ .ui-state-highlight .ui-icon {background-image: image-url("locomotive/jquery/images/ui-icons_2e83ff_256x240.png"); }
89
+ .ui-state-error .ui-icon, .ui-state-error-text .ui-icon {background-image: image-url("locomotive/jquery/images/ui-icons_cd0a0a_256x240.png"); }
90
90
 
91
91
  /* positioning */
92
92
  .ui-icon-carat-1-n { background-position: 0 0; }
@@ -279,8 +279,8 @@
279
279
  .ui-corner-all { -moz-border-radius: 4px; -webkit-border-radius: 4px; }
280
280
 
281
281
  /* Overlays */
282
- .ui-widget-overlay { background: #aaaaaa url(images/ui-bg_flat_0_aaaaaa_40x100.png) 50% 50% repeat-x; opacity: .30;filter:Alpha(Opacity=30); }
283
- .ui-widget-shadow { margin: -8px 0 0 -8px; padding: 8px; background: #aaaaaa url(images/ui-bg_flat_0_aaaaaa_40x100.png) 50% 50% repeat-x; opacity: .30;filter:Alpha(Opacity=30); -moz-border-radius: 8px; -webkit-border-radius: 8px; }/* Accordion
282
+ .ui-widget-overlay { background: #aaaaaa image-url("locomotive/jquery/images/ui-bg_flat_0_aaaaaa_40x100.png") 50% 50% repeat-x; opacity: .30;filter:Alpha(Opacity=30); }
283
+ .ui-widget-shadow { margin: -8px 0 0 -8px; padding: 8px; background: #aaaaaa image-url("locomotive/jquery/images/ui-bg_flat_0_aaaaaa_40x100.png") 50% 50% repeat-x; opacity: .30;filter:Alpha(Opacity=30); -moz-border-radius: 8px; -webkit-border-radius: 8px; }/* Accordion
284
284
  ----------------------------------*/
285
285
  .ui-accordion .ui-accordion-header { cursor: pointer; position: relative; margin-top: 1px; zoom: 1; }
286
286
  .ui-accordion .ui-accordion-li-fix { display: inline; }
@@ -302,7 +302,7 @@
302
302
  .ui-datepicker .ui-datepicker-title { margin: 0 2.3em; line-height: 1.8em; text-align: center; }
303
303
  .ui-datepicker .ui-datepicker-title select { float:left; font-size:1em; margin:1px 0; }
304
304
  .ui-datepicker select.ui-datepicker-month-year {width: 100%;}
305
- .ui-datepicker select.ui-datepicker-month,
305
+ .ui-datepicker select.ui-datepicker-month,
306
306
  .ui-datepicker select.ui-datepicker-year { width: 49%;}
307
307
  .ui-datepicker .ui-datepicker-title select.ui-datepicker-year { float: right; }
308
308
  .ui-datepicker table {width: 100%; font-size: .9em; border-collapse: collapse; margin:0 0 .4em; }
@@ -353,7 +353,7 @@
353
353
  ----------------------------------*/
354
354
  .ui-dialog { position: relative; padding: .2em; width: 300px; }
355
355
  .ui-dialog .ui-dialog-titlebar { padding: .5em .3em .3em 1em; position: relative; }
356
- .ui-dialog .ui-dialog-title { float: left; margin: .1em 0 .2em; }
356
+ .ui-dialog .ui-dialog-title { float: left; margin: .1em 0 .2em; }
357
357
  .ui-dialog .ui-dialog-titlebar-close { position: absolute; right: .3em; top: 50%; width: 19px; margin: -10px 0 0 0; padding: 1px; height: 18px; }
358
358
  .ui-dialog .ui-dialog-titlebar-close span { display: block; margin: 1px; }
359
359
  .ui-dialog .ui-dialog-titlebar-close:hover, .ui-dialog .ui-dialog-titlebar-close:focus { padding: 0; }
metadata CHANGED
@@ -1,571 +1,571 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: locomotive_cms
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0.rc12
5
- prerelease: 6
4
+ prerelease:
5
+ version: 2.0.0
6
6
  platform: ruby
7
7
  authors:
8
8
  - Didier Lafforgue
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-09-21 00:00:00.000000000 Z
12
+ date: 2013-04-03 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
+ type: :runtime
16
+ version_requirements: !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ~>
20
+ - !ruby/object:Gem::Version
21
+ version: 10.0.0
15
22
  name: rake
23
+ prerelease: false
16
24
  requirement: !ruby/object:Gem::Requirement
17
25
  none: false
18
26
  requirements:
19
27
  - - ~>
20
28
  - !ruby/object:Gem::Version
21
- version: 0.9.2
29
+ version: 10.0.0
30
+ - !ruby/object:Gem::Dependency
22
31
  type: :runtime
23
- prerelease: false
24
32
  version_requirements: !ruby/object:Gem::Requirement
25
33
  none: false
26
34
  requirements:
27
35
  - - ~>
28
36
  - !ruby/object:Gem::Version
29
- version: 0.9.2
30
- - !ruby/object:Gem::Dependency
37
+ version: 3.2.13
31
38
  name: rails
39
+ prerelease: false
32
40
  requirement: !ruby/object:Gem::Requirement
33
41
  none: false
34
42
  requirements:
35
43
  - - ~>
36
44
  - !ruby/object:Gem::Version
37
- version: 3.2.8
45
+ version: 3.2.13
46
+ - !ruby/object:Gem::Dependency
38
47
  type: :runtime
39
- prerelease: false
40
48
  version_requirements: !ruby/object:Gem::Requirement
41
49
  none: false
42
50
  requirements:
43
51
  - - ~>
44
52
  - !ruby/object:Gem::Version
45
- version: 3.2.8
46
- - !ruby/object:Gem::Dependency
47
- name: devise-encryptable
53
+ version: 2.2.3
54
+ name: devise
55
+ prerelease: false
48
56
  requirement: !ruby/object:Gem::Requirement
49
57
  none: false
50
58
  requirements:
51
59
  - - ~>
52
60
  - !ruby/object:Gem::Version
53
- version: 0.1.1
61
+ version: 2.2.3
62
+ - !ruby/object:Gem::Dependency
54
63
  type: :runtime
55
- prerelease: false
56
64
  version_requirements: !ruby/object:Gem::Requirement
57
65
  none: false
58
66
  requirements:
59
67
  - - ~>
60
68
  - !ruby/object:Gem::Version
61
69
  version: 0.1.1
62
- - !ruby/object:Gem::Dependency
63
- name: devise
70
+ name: devise-encryptable
71
+ prerelease: false
64
72
  requirement: !ruby/object:Gem::Requirement
65
73
  none: false
66
74
  requirements:
67
75
  - - ~>
68
76
  - !ruby/object:Gem::Version
69
- version: 2.1.2
77
+ version: 0.1.1
78
+ - !ruby/object:Gem::Dependency
70
79
  type: :runtime
71
- prerelease: false
72
80
  version_requirements: !ruby/object:Gem::Requirement
73
81
  none: false
74
82
  requirements:
75
- - - ~>
83
+ - - '='
76
84
  - !ruby/object:Gem::Version
77
- version: 2.1.2
78
- - !ruby/object:Gem::Dependency
85
+ version: 1.6.7
79
86
  name: cancan
87
+ prerelease: false
80
88
  requirement: !ruby/object:Gem::Requirement
81
89
  none: false
82
90
  requirements:
83
91
  - - '='
84
92
  - !ruby/object:Gem::Version
85
93
  version: 1.6.7
94
+ - !ruby/object:Gem::Dependency
86
95
  type: :runtime
87
- prerelease: false
88
96
  version_requirements: !ruby/object:Gem::Requirement
89
97
  none: false
90
98
  requirements:
91
- - - '='
99
+ - - ~>
92
100
  - !ruby/object:Gem::Version
93
- version: 1.6.7
94
- - !ruby/object:Gem::Dependency
101
+ version: 1.5.2
95
102
  name: mongo
103
+ prerelease: false
96
104
  requirement: !ruby/object:Gem::Requirement
97
105
  none: false
98
106
  requirements:
99
107
  - - ~>
100
108
  - !ruby/object:Gem::Version
101
109
  version: 1.5.2
110
+ - !ruby/object:Gem::Dependency
102
111
  type: :runtime
103
- prerelease: false
104
112
  version_requirements: !ruby/object:Gem::Requirement
105
113
  none: false
106
114
  requirements:
107
115
  - - ~>
108
116
  - !ruby/object:Gem::Version
109
117
  version: 1.5.2
110
- - !ruby/object:Gem::Dependency
111
118
  name: bson_ext
119
+ prerelease: false
112
120
  requirement: !ruby/object:Gem::Requirement
113
121
  none: false
114
122
  requirements:
115
123
  - - ~>
116
124
  - !ruby/object:Gem::Version
117
125
  version: 1.5.2
126
+ - !ruby/object:Gem::Dependency
118
127
  type: :runtime
119
- prerelease: false
120
128
  version_requirements: !ruby/object:Gem::Requirement
121
129
  none: false
122
130
  requirements:
123
131
  - - ~>
124
132
  - !ruby/object:Gem::Version
125
- version: 1.5.2
126
- - !ruby/object:Gem::Dependency
133
+ version: 2.4.12
127
134
  name: mongoid
135
+ prerelease: false
128
136
  requirement: !ruby/object:Gem::Requirement
129
137
  none: false
130
138
  requirements:
131
139
  - - ~>
132
140
  - !ruby/object:Gem::Version
133
141
  version: 2.4.12
142
+ - !ruby/object:Gem::Dependency
134
143
  type: :runtime
135
- prerelease: false
136
144
  version_requirements: !ruby/object:Gem::Requirement
137
145
  none: false
138
146
  requirements:
139
147
  - - ~>
140
148
  - !ruby/object:Gem::Version
141
- version: 2.4.12
142
- - !ruby/object:Gem::Dependency
149
+ version: 0.6.2
143
150
  name: locomotive-mongoid-tree
151
+ prerelease: false
144
152
  requirement: !ruby/object:Gem::Requirement
145
153
  none: false
146
154
  requirements:
147
155
  - - ~>
148
156
  - !ruby/object:Gem::Version
149
157
  version: 0.6.2
158
+ - !ruby/object:Gem::Dependency
150
159
  type: :runtime
160
+ version_requirements: !ruby/object:Gem::Requirement
161
+ none: false
162
+ requirements:
163
+ - - ! '>='
164
+ - !ruby/object:Gem::Version
165
+ version: '0'
166
+ name: locomotive-mongoid_migration
151
167
  prerelease: false
168
+ requirement: !ruby/object:Gem::Requirement
169
+ none: false
170
+ requirements:
171
+ - - ! '>='
172
+ - !ruby/object:Gem::Version
173
+ version: '0'
174
+ - !ruby/object:Gem::Dependency
175
+ type: :runtime
152
176
  version_requirements: !ruby/object:Gem::Requirement
153
177
  none: false
154
178
  requirements:
155
179
  - - ~>
156
180
  - !ruby/object:Gem::Version
157
- version: 0.6.2
158
- - !ruby/object:Gem::Dependency
181
+ version: 2.1.0
159
182
  name: custom_fields
183
+ prerelease: false
160
184
  requirement: !ruby/object:Gem::Requirement
161
185
  none: false
162
186
  requirements:
163
187
  - - ~>
164
188
  - !ruby/object:Gem::Version
165
- version: 2.0.0.rc13
189
+ version: 2.1.0
190
+ - !ruby/object:Gem::Dependency
166
191
  type: :runtime
167
- prerelease: false
168
192
  version_requirements: !ruby/object:Gem::Requirement
169
193
  none: false
170
194
  requirements:
171
195
  - - ~>
172
196
  - !ruby/object:Gem::Version
173
- version: 2.0.0.rc13
174
- - !ruby/object:Gem::Dependency
197
+ version: 0.13.0
175
198
  name: kaminari
199
+ prerelease: false
176
200
  requirement: !ruby/object:Gem::Requirement
177
201
  none: false
178
202
  requirements:
179
203
  - - ~>
180
204
  - !ruby/object:Gem::Version
181
205
  version: 0.13.0
206
+ - !ruby/object:Gem::Dependency
182
207
  type: :runtime
183
- prerelease: false
184
208
  version_requirements: !ruby/object:Gem::Requirement
185
209
  none: false
186
210
  requirements:
187
211
  - - ~>
188
212
  - !ruby/object:Gem::Version
189
- version: 0.13.0
190
- - !ruby/object:Gem::Dependency
213
+ version: 3.1.7
191
214
  name: haml
215
+ prerelease: false
192
216
  requirement: !ruby/object:Gem::Requirement
193
217
  none: false
194
218
  requirements:
195
219
  - - ~>
196
220
  - !ruby/object:Gem::Version
197
221
  version: 3.1.7
222
+ - !ruby/object:Gem::Dependency
198
223
  type: :runtime
199
- prerelease: false
200
224
  version_requirements: !ruby/object:Gem::Requirement
201
225
  none: false
202
226
  requirements:
203
227
  - - ~>
204
228
  - !ruby/object:Gem::Version
205
- version: 3.1.7
206
- - !ruby/object:Gem::Dependency
229
+ version: 2.1.4
207
230
  name: jquery-rails
231
+ prerelease: false
208
232
  requirement: !ruby/object:Gem::Requirement
209
233
  none: false
210
234
  requirements:
211
235
  - - ~>
212
236
  - !ruby/object:Gem::Version
213
- version: 1.0.19
237
+ version: 2.1.4
238
+ - !ruby/object:Gem::Dependency
214
239
  type: :runtime
215
- prerelease: false
216
240
  version_requirements: !ruby/object:Gem::Requirement
217
241
  none: false
218
242
  requirements:
219
243
  - - ~>
220
244
  - !ruby/object:Gem::Version
221
- version: 1.0.19
222
- - !ruby/object:Gem::Dependency
245
+ version: 0.7.2
223
246
  name: rails-backbone
247
+ prerelease: false
224
248
  requirement: !ruby/object:Gem::Requirement
225
249
  none: false
226
250
  requirements:
227
251
  - - ~>
228
252
  - !ruby/object:Gem::Version
229
- version: 0.6.1
253
+ version: 0.7.2
254
+ - !ruby/object:Gem::Dependency
230
255
  type: :runtime
231
- prerelease: false
232
256
  version_requirements: !ruby/object:Gem::Requirement
233
257
  none: false
234
258
  requirements:
235
259
  - - ~>
236
260
  - !ruby/object:Gem::Version
237
- version: 0.6.1
238
- - !ruby/object:Gem::Dependency
261
+ version: '2.21'
239
262
  name: codemirror-rails
263
+ prerelease: false
240
264
  requirement: !ruby/object:Gem::Requirement
241
265
  none: false
242
266
  requirements:
243
267
  - - ~>
244
268
  - !ruby/object:Gem::Version
245
269
  version: '2.21'
270
+ - !ruby/object:Gem::Dependency
246
271
  type: :runtime
247
- prerelease: false
248
272
  version_requirements: !ruby/object:Gem::Requirement
249
273
  none: false
250
274
  requirements:
251
275
  - - ~>
252
276
  - !ruby/object:Gem::Version
253
- version: '2.21'
254
- - !ruby/object:Gem::Dependency
277
+ version: 3.5.8.1
255
278
  name: locomotive-tinymce-rails
279
+ prerelease: false
256
280
  requirement: !ruby/object:Gem::Requirement
257
281
  none: false
258
282
  requirements:
259
283
  - - ~>
260
284
  - !ruby/object:Gem::Version
261
- version: 3.4.7.3
285
+ version: 3.5.8.1
286
+ - !ruby/object:Gem::Dependency
262
287
  type: :runtime
263
- prerelease: false
264
288
  version_requirements: !ruby/object:Gem::Requirement
265
289
  none: false
266
290
  requirements:
267
291
  - - ~>
268
292
  - !ruby/object:Gem::Version
269
- version: 3.4.7.3
270
- - !ruby/object:Gem::Dependency
293
+ version: 0.23.2.1
271
294
  name: locomotive-aloha-rails
295
+ prerelease: false
272
296
  requirement: !ruby/object:Gem::Requirement
273
297
  none: false
274
298
  requirements:
275
299
  - - ~>
276
300
  - !ruby/object:Gem::Version
277
- version: 0.20.1.4
301
+ version: 0.23.2.1
302
+ - !ruby/object:Gem::Dependency
278
303
  type: :runtime
279
- prerelease: false
280
304
  version_requirements: !ruby/object:Gem::Requirement
281
305
  none: false
282
306
  requirements:
283
307
  - - ~>
284
308
  - !ruby/object:Gem::Version
285
- version: 0.20.1.4
286
- - !ruby/object:Gem::Dependency
309
+ version: 1.1.1
287
310
  name: flash_cookie_session
311
+ prerelease: false
288
312
  requirement: !ruby/object:Gem::Requirement
289
313
  none: false
290
314
  requirements:
291
315
  - - ~>
292
316
  - !ruby/object:Gem::Version
293
317
  version: 1.1.1
318
+ - !ruby/object:Gem::Dependency
294
319
  type: :runtime
295
- prerelease: false
296
320
  version_requirements: !ruby/object:Gem::Requirement
297
321
  none: false
298
322
  requirements:
299
323
  - - ~>
300
324
  - !ruby/object:Gem::Version
301
- version: 1.1.1
302
- - !ruby/object:Gem::Dependency
325
+ version: 2.4.2
303
326
  name: locomotive_liquid
327
+ prerelease: false
304
328
  requirement: !ruby/object:Gem::Requirement
305
329
  none: false
306
330
  requirements:
307
331
  - - ~>
308
332
  - !ruby/object:Gem::Version
309
- version: 2.2.3
333
+ version: 2.4.2
334
+ - !ruby/object:Gem::Dependency
310
335
  type: :runtime
311
- prerelease: false
312
336
  version_requirements: !ruby/object:Gem::Requirement
313
337
  none: false
314
338
  requirements:
315
339
  - - ~>
316
340
  - !ruby/object:Gem::Version
317
- version: 2.2.3
318
- - !ruby/object:Gem::Dependency
341
+ version: 2.2.1
319
342
  name: formtastic
343
+ prerelease: false
320
344
  requirement: !ruby/object:Gem::Requirement
321
345
  none: false
322
346
  requirements:
323
347
  - - ~>
324
348
  - !ruby/object:Gem::Version
325
- version: 2.0.2
349
+ version: 2.2.1
350
+ - !ruby/object:Gem::Dependency
326
351
  type: :runtime
327
- prerelease: false
328
352
  version_requirements: !ruby/object:Gem::Requirement
329
353
  none: false
330
354
  requirements:
331
355
  - - ~>
332
356
  - !ruby/object:Gem::Version
333
- version: 2.0.2
334
- - !ruby/object:Gem::Dependency
357
+ version: 0.9.2
335
358
  name: responders
359
+ prerelease: false
336
360
  requirement: !ruby/object:Gem::Requirement
337
361
  none: false
338
362
  requirements:
339
363
  - - ~>
340
364
  - !ruby/object:Gem::Version
341
- version: 0.6.4
365
+ version: 0.9.2
366
+ - !ruby/object:Gem::Dependency
342
367
  type: :runtime
343
- prerelease: false
344
368
  version_requirements: !ruby/object:Gem::Requirement
345
369
  none: false
346
370
  requirements:
347
371
  - - ~>
348
372
  - !ruby/object:Gem::Version
349
- version: 0.6.4
350
- - !ruby/object:Gem::Dependency
373
+ version: 3.8.0
351
374
  name: cells
375
+ prerelease: false
352
376
  requirement: !ruby/object:Gem::Requirement
353
377
  none: false
354
378
  requirements:
355
379
  - - ~>
356
380
  - !ruby/object:Gem::Version
357
381
  version: 3.8.0
382
+ - !ruby/object:Gem::Dependency
358
383
  type: :runtime
359
- prerelease: false
360
384
  version_requirements: !ruby/object:Gem::Requirement
361
385
  none: false
362
386
  requirements:
363
387
  - - ~>
364
388
  - !ruby/object:Gem::Version
365
- version: 3.8.0
366
- - !ruby/object:Gem::Dependency
389
+ version: 4.2.8
367
390
  name: RedCloth
391
+ prerelease: false
368
392
  requirement: !ruby/object:Gem::Requirement
369
393
  none: false
370
394
  requirements:
371
395
  - - ~>
372
396
  - !ruby/object:Gem::Version
373
397
  version: 4.2.8
398
+ - !ruby/object:Gem::Dependency
374
399
  type: :runtime
375
- prerelease: false
376
400
  version_requirements: !ruby/object:Gem::Requirement
377
401
  none: false
378
402
  requirements:
379
403
  - - ~>
380
404
  - !ruby/object:Gem::Version
381
- version: 4.2.8
382
- - !ruby/object:Gem::Dependency
405
+ version: 2.0.3
383
406
  name: sanitize
407
+ prerelease: false
384
408
  requirement: !ruby/object:Gem::Requirement
385
409
  none: false
386
410
  requirements:
387
411
  - - ~>
388
412
  - !ruby/object:Gem::Version
389
413
  version: 2.0.3
414
+ - !ruby/object:Gem::Dependency
390
415
  type: :runtime
391
- prerelease: false
392
416
  version_requirements: !ruby/object:Gem::Requirement
393
- none: false
394
- requirements:
395
- - - ~>
396
- - !ruby/object:Gem::Version
397
- version: 2.0.3
398
- - !ruby/object:Gem::Dependency
399
- name: highline
400
- requirement: !ruby/object:Gem::Requirement
401
417
  none: false
402
418
  requirements:
403
419
  - - ~>
404
420
  - !ruby/object:Gem::Version
405
421
  version: 1.6.2
406
- type: :runtime
422
+ name: highline
407
423
  prerelease: false
408
- version_requirements: !ruby/object:Gem::Requirement
424
+ requirement: !ruby/object:Gem::Requirement
409
425
  none: false
410
426
  requirements:
411
427
  - - ~>
412
428
  - !ruby/object:Gem::Version
413
429
  version: 1.6.2
414
430
  - !ruby/object:Gem::Dependency
415
- name: unidecoder
416
- requirement: !ruby/object:Gem::Requirement
417
- none: false
418
- requirements:
419
- - - ~>
420
- - !ruby/object:Gem::Version
421
- version: 1.1.1
422
431
  type: :runtime
423
- prerelease: false
424
432
  version_requirements: !ruby/object:Gem::Requirement
425
433
  none: false
426
434
  requirements:
427
435
  - - ~>
428
436
  - !ruby/object:Gem::Version
429
- version: 1.1.1
430
- - !ruby/object:Gem::Dependency
431
- name: rmagick
437
+ version: 1.5.1
438
+ name: stringex
439
+ prerelease: false
432
440
  requirement: !ruby/object:Gem::Requirement
433
441
  none: false
434
442
  requirements:
435
443
  - - ~>
436
444
  - !ruby/object:Gem::Version
437
- version: 2.12.2
445
+ version: 1.5.1
446
+ - !ruby/object:Gem::Dependency
438
447
  type: :runtime
439
- prerelease: false
440
448
  version_requirements: !ruby/object:Gem::Requirement
441
449
  none: false
442
450
  requirements:
443
451
  - - ~>
444
452
  - !ruby/object:Gem::Version
445
- version: 2.12.2
446
- - !ruby/object:Gem::Dependency
453
+ version: 0.2.2
447
454
  name: carrierwave-mongoid
455
+ prerelease: false
448
456
  requirement: !ruby/object:Gem::Requirement
449
457
  none: false
450
458
  requirements:
451
459
  - - ~>
452
460
  - !ruby/object:Gem::Version
453
- version: 0.2.1
461
+ version: 0.2.2
462
+ - !ruby/object:Gem::Dependency
454
463
  type: :runtime
455
- prerelease: false
456
464
  version_requirements: !ruby/object:Gem::Requirement
457
465
  none: false
458
466
  requirements:
459
467
  - - ~>
460
468
  - !ruby/object:Gem::Version
461
- version: 0.2.1
462
- - !ruby/object:Gem::Dependency
469
+ version: 1.3.1
463
470
  name: fog
471
+ prerelease: false
464
472
  requirement: !ruby/object:Gem::Requirement
465
473
  none: false
466
474
  requirements:
467
475
  - - ~>
468
476
  - !ruby/object:Gem::Version
469
477
  version: 1.3.1
478
+ - !ruby/object:Gem::Dependency
470
479
  type: :runtime
471
- prerelease: false
472
480
  version_requirements: !ruby/object:Gem::Requirement
473
481
  none: false
474
482
  requirements:
475
483
  - - ~>
476
484
  - !ruby/object:Gem::Version
477
- version: 1.3.1
478
- - !ruby/object:Gem::Dependency
485
+ version: 0.9.8
479
486
  name: dragonfly
487
+ prerelease: false
480
488
  requirement: !ruby/object:Gem::Requirement
481
489
  none: false
482
490
  requirements:
483
491
  - - ~>
484
492
  - !ruby/object:Gem::Version
485
493
  version: 0.9.8
494
+ - !ruby/object:Gem::Dependency
486
495
  type: :runtime
487
- prerelease: false
488
496
  version_requirements: !ruby/object:Gem::Requirement
489
497
  none: false
490
498
  requirements:
491
499
  - - ~>
492
500
  - !ruby/object:Gem::Version
493
- version: 0.9.8
494
- - !ruby/object:Gem::Dependency
501
+ version: '1.1'
495
502
  name: rack-cache
503
+ prerelease: false
496
504
  requirement: !ruby/object:Gem::Requirement
497
505
  none: false
498
506
  requirements:
499
507
  - - ~>
500
508
  - !ruby/object:Gem::Version
501
509
  version: '1.1'
510
+ - !ruby/object:Gem::Dependency
502
511
  type: :runtime
503
- prerelease: false
504
512
  version_requirements: !ruby/object:Gem::Requirement
505
513
  none: false
506
514
  requirements:
507
515
  - - ~>
508
516
  - !ruby/object:Gem::Version
509
- version: '1.1'
510
- - !ruby/object:Gem::Dependency
517
+ version: 0.1.2
511
518
  name: mimetype-fu
519
+ prerelease: false
512
520
  requirement: !ruby/object:Gem::Requirement
513
521
  none: false
514
522
  requirements:
515
523
  - - ~>
516
524
  - !ruby/object:Gem::Version
517
525
  version: 0.1.2
526
+ - !ruby/object:Gem::Dependency
518
527
  type: :runtime
519
- prerelease: false
520
528
  version_requirements: !ruby/object:Gem::Requirement
521
529
  none: false
522
530
  requirements:
523
531
  - - ~>
524
532
  - !ruby/object:Gem::Version
525
- version: 0.1.2
526
- - !ruby/object:Gem::Dependency
533
+ version: 1.3.4
527
534
  name: multi_json
535
+ prerelease: false
528
536
  requirement: !ruby/object:Gem::Requirement
529
537
  none: false
530
538
  requirements:
531
539
  - - ~>
532
540
  - !ruby/object:Gem::Version
533
541
  version: 1.3.4
542
+ - !ruby/object:Gem::Dependency
534
543
  type: :runtime
535
- prerelease: false
536
544
  version_requirements: !ruby/object:Gem::Requirement
537
545
  none: false
538
546
  requirements:
539
547
  - - ~>
540
548
  - !ruby/object:Gem::Version
541
- version: 1.3.4
542
- - !ruby/object:Gem::Dependency
549
+ version: 0.8.1
543
550
  name: httparty
551
+ prerelease: false
544
552
  requirement: !ruby/object:Gem::Requirement
545
553
  none: false
546
554
  requirements:
547
555
  - - ~>
548
556
  - !ruby/object:Gem::Version
549
557
  version: 0.8.1
558
+ - !ruby/object:Gem::Dependency
550
559
  type: :runtime
551
- prerelease: false
552
560
  version_requirements: !ruby/object:Gem::Requirement
553
- none: false
554
- requirements:
555
- - - ~>
556
- - !ruby/object:Gem::Version
557
- version: 0.8.1
558
- - !ruby/object:Gem::Dependency
559
- name: actionmailer-with-request
560
- requirement: !ruby/object:Gem::Requirement
561
561
  none: false
562
562
  requirements:
563
563
  - - ~>
564
564
  - !ruby/object:Gem::Version
565
565
  version: 0.3.0
566
- type: :runtime
566
+ name: actionmailer-with-request
567
567
  prerelease: false
568
- version_requirements: !ruby/object:Gem::Requirement
568
+ requirement: !ruby/object:Gem::Requirement
569
569
  none: false
570
570
  requirements:
571
571
  - - ~>
@@ -583,24 +583,9 @@ extra_rdoc_files:
583
583
  files:
584
584
  - Gemfile
585
585
  - app/assets/images/locomotive/background/body.png
586
- - app/assets/images/locomotive/background/light.png
587
586
  - app/assets/images/locomotive/datepicker/ui-widget-content-top.png
588
- - app/assets/images/locomotive/datepicker/ui-widget-left-icon.png
589
- - app/assets/images/locomotive/datepicker/ui-widget-right-icon.png
590
587
  - app/assets/images/locomotive/form/error-arrow.png
591
- - app/assets/images/locomotive/form/folded-arrow-off.png
592
- - app/assets/images/locomotive/form/folded-arrow-on.png
593
- - app/assets/images/locomotive/form/icons/drag.png
594
- - app/assets/images/locomotive/form/icons/edit.png
595
- - app/assets/images/locomotive/form/icons/error.png
596
- - app/assets/images/locomotive/form/icons/spinner.gif
597
- - app/assets/images/locomotive/form/icons/trash.png
598
588
  - app/assets/images/locomotive/form/input-sep.png
599
- - app/assets/images/locomotive/form/pen.png
600
- - app/assets/images/locomotive/form/spinner.gif
601
- - app/assets/images/locomotive/icons/actions.png
602
- - app/assets/images/locomotive/icons/asset_add.png
603
- - app/assets/images/locomotive/icons/asset_switch.png
604
589
  - app/assets/images/locomotive/icons/flags/de.png
605
590
  - app/assets/images/locomotive/icons/flags/en.png
606
591
  - app/assets/images/locomotive/icons/flags/es.png
@@ -609,43 +594,15 @@ files:
609
594
  - app/assets/images/locomotive/icons/flags/it.png
610
595
  - app/assets/images/locomotive/icons/flags/nb.png
611
596
  - app/assets/images/locomotive/icons/flags/nl.png
597
+ - app/assets/images/locomotive/icons/flags/pl.png
612
598
  - app/assets/images/locomotive/icons/flags/pt-BR.png
613
599
  - app/assets/images/locomotive/icons/flags/ru.png
614
- - app/assets/images/locomotive/icons/membership_edit.png
615
- - app/assets/images/locomotive/icons/membership_lock.png
616
600
  - app/assets/images/locomotive/icons/start.png
617
- - app/assets/images/locomotive/inline_editor/back.png
618
601
  - app/assets/images/locomotive/list/empty.png
619
- - app/assets/images/locomotive/list/icons/cross.png
620
- - app/assets/images/locomotive/list/icons/drag.png
621
- - app/assets/images/locomotive/list/icons/move.png
622
- - app/assets/images/locomotive/list/icons/move_off.png
623
- - app/assets/images/locomotive/list/icons/node_closed.png
624
- - app/assets/images/locomotive/list/icons/node_open.png
625
- - app/assets/images/locomotive/list/icons/pencil.png
626
- - app/assets/images/locomotive/list/icons/pencil_off.png
627
- - app/assets/images/locomotive/list/icons/popup.png
628
- - app/assets/images/locomotive/list/icons/popup_off.png
629
- - app/assets/images/locomotive/list/icons/redirect.png
630
- - app/assets/images/locomotive/list/icons/states.png
631
- - app/assets/images/locomotive/list/icons/template.png
632
- - app/assets/images/locomotive/list/icons/toggle.png
633
- - app/assets/images/locomotive/list/icons/toggle_off.png
634
- - app/assets/images/locomotive/list/icons/trash.png
635
- - app/assets/images/locomotive/list/icons/trash_off.png
636
602
  - app/assets/images/locomotive/list/item-left.png
637
- - app/assets/images/locomotive/menu/icons.png
638
- - app/assets/images/locomotive/menu/popup/add.png
639
- - app/assets/images/locomotive/menu/popup/bottom-right-corner.png
640
- - app/assets/images/locomotive/menu/popup/bullet.png
641
603
  - app/assets/images/locomotive/nocoffee.png
642
- - app/assets/images/locomotive/plugins/selectmenu/arrow.png
643
- - app/assets/images/locomotive/plugins/selectmenu/background.png
644
- - app/assets/images/locomotive/plugins/sites_picker_entry_bg.png
645
604
  - app/assets/images/locomotive/plugins/sites_picker_top_arrow.png
646
605
  - app/assets/images/locomotive/rails.png
647
- - app/assets/images/locomotive/simple/light_bg.png
648
- - app/assets/images/locomotive/simple/wrapper_bg.png
649
606
  - app/assets/javascripts/aloha/plugins/custom/locomotive_media/css/image.css
650
607
  - app/assets/javascripts/aloha/plugins/custom/locomotive_media/img/image.gif
651
608
  - app/assets/javascripts/aloha/plugins/custom/locomotive_media/lib/locomotive_media-plugin.js
@@ -668,6 +625,7 @@ files:
668
625
  - app/assets/javascripts/locomotive/models/site.js.coffee
669
626
  - app/assets/javascripts/locomotive/models/snippet.js.coffee
670
627
  - app/assets/javascripts/locomotive/models/theme_asset.js.coffee
628
+ - app/assets/javascripts/locomotive/models/translation.js.coffee
671
629
  - app/assets/javascripts/locomotive/not_logged_in.js.coffee
672
630
  - app/assets/javascripts/locomotive/utils/aloha_settings.js.coffee
673
631
  - app/assets/javascripts/locomotive/utils/core_ext.js
@@ -727,9 +685,15 @@ files:
727
685
  - app/assets/javascripts/locomotive/views/theme_assets/list_item_view.js.coffee
728
686
  - app/assets/javascripts/locomotive/views/theme_assets/list_view.js.coffee
729
687
  - app/assets/javascripts/locomotive/views/theme_assets/new_view.js.coffee
688
+ - app/assets/javascripts/locomotive/views/translations/_form_view.js.coffee
689
+ - app/assets/javascripts/locomotive/views/translations/edit_view.js.coffee
690
+ - app/assets/javascripts/locomotive/views/translations/new_view.js.coffee
730
691
  - app/assets/javascripts/locomotive.js
731
692
  - app/assets/javascripts/tinymce/plugins/jqueryinlinepopups/editor_plugin.js
732
693
  - app/assets/javascripts/tinymce/plugins/locomotive_media/editor_plugin.js
694
+ - app/assets/javascripts/tinymce/plugins/locomotive_media/langs/en.js
695
+ - app/assets/javascripts/tinymce/plugins/locomotive_media/langs/fr.js
696
+ - app/assets/javascripts/tinymce/plugins/locomotive_media/langs/ru.js
733
697
  - app/assets/javascripts/tinymce/themes/advanced/skins/locomotive/content.css
734
698
  - app/assets/javascripts/tinymce/themes/advanced/skins/locomotive/dialog.css.scss
735
699
  - app/assets/javascripts/tinymce/themes/advanced/skins/locomotive/img/butt2.png
@@ -757,7 +721,6 @@ files:
757
721
  - app/assets/stylesheets/locomotive/backoffice/layout.css.scss
758
722
  - app/assets/stylesheets/locomotive/backoffice/menu/_colors.css.scss
759
723
  - app/assets/stylesheets/locomotive/backoffice/menu/_helpers.css.scss
760
- - app/assets/stylesheets/locomotive/backoffice/menu/_icons.css.scss
761
724
  - app/assets/stylesheets/locomotive/backoffice/menu/default.css.scss
762
725
  - app/assets/stylesheets/locomotive/backoffice/menu/main.css.scss
763
726
  - app/assets/stylesheets/locomotive/backoffice/menu/sub.css.scss
@@ -788,11 +751,13 @@ files:
788
751
  - app/cells/locomotive/sub_menu/show.html.haml
789
752
  - app/cells/locomotive/sub_menu_cell.rb
790
753
  - app/controllers/locomotive/accounts_controller.rb
754
+ - app/controllers/locomotive/api/accounts_controller.rb
791
755
  - app/controllers/locomotive/api/base_controller.rb
792
756
  - app/controllers/locomotive/api/content_assets_controller.rb
793
757
  - app/controllers/locomotive/api/content_entries_controller.rb
794
758
  - app/controllers/locomotive/api/content_types_controller.rb
795
759
  - app/controllers/locomotive/api/current_site_controller.rb
760
+ - app/controllers/locomotive/api/documentation_controller.rb
796
761
  - app/controllers/locomotive/api/memberships_controller.rb
797
762
  - app/controllers/locomotive/api/my_account_controller.rb
798
763
  - app/controllers/locomotive/api/pages_controller.rb
@@ -800,6 +765,7 @@ files:
800
765
  - app/controllers/locomotive/api/snippets_controller.rb
801
766
  - app/controllers/locomotive/api/theme_assets_controller.rb
802
767
  - app/controllers/locomotive/api/tokens_controller.rb
768
+ - app/controllers/locomotive/api/translations_controller.rb
803
769
  - app/controllers/locomotive/base_controller.rb
804
770
  - app/controllers/locomotive/content_assets_controller.rb
805
771
  - app/controllers/locomotive/content_entries_controller.rb
@@ -819,6 +785,7 @@ files:
819
785
  - app/controllers/locomotive/sites_controller.rb
820
786
  - app/controllers/locomotive/snippets_controller.rb
821
787
  - app/controllers/locomotive/theme_assets_controller.rb
788
+ - app/controllers/locomotive/translations_controller.rb
822
789
  - app/helpers/locomotive/accounts_helper.rb
823
790
  - app/helpers/locomotive/base_helper.rb
824
791
  - app/helpers/locomotive/content_entries_helper.rb
@@ -827,7 +794,9 @@ files:
827
794
  - app/helpers/locomotive/installation_helper.rb
828
795
  - app/helpers/locomotive/pages_helper.rb
829
796
  - app/helpers/locomotive/sites_helper.rb
797
+ - app/helpers/locomotive/snippets_helper.rb
830
798
  - app/helpers/locomotive/theme_assets_helper.rb
799
+ - app/helpers/locomotive/translations_helper.rb
831
800
  - app/inputs/locomotive/code_input.rb
832
801
  - app/inputs/locomotive/empty_input.rb
833
802
  - app/inputs/locomotive/file_input.rb
@@ -870,10 +839,12 @@ files:
870
839
  - app/models/locomotive/site.rb
871
840
  - app/models/locomotive/snippet.rb
872
841
  - app/models/locomotive/theme_asset.rb
842
+ - app/models/locomotive/translation.rb
873
843
  - app/presenters/locomotive/account_presenter.rb
874
844
  - app/presenters/locomotive/base_presenter.rb
875
845
  - app/presenters/locomotive/content_asset_presenter.rb
876
846
  - app/presenters/locomotive/content_entry_presenter.rb
847
+ - app/presenters/locomotive/content_field_presenter.rb
877
848
  - app/presenters/locomotive/content_type_presenter.rb
878
849
  - app/presenters/locomotive/editable_control_presenter.rb
879
850
  - app/presenters/locomotive/editable_element_presenter.rb
@@ -885,10 +856,10 @@ files:
885
856
  - app/presenters/locomotive/site_presenter.rb
886
857
  - app/presenters/locomotive/snippet_presenter.rb
887
858
  - app/presenters/locomotive/theme_asset_presenter.rb
859
+ - app/presenters/locomotive/translation_presenter.rb
888
860
  - app/uploaders/locomotive/content_asset_uploader.rb
889
861
  - app/uploaders/locomotive/editable_file_uploader.rb
890
862
  - app/uploaders/locomotive/theme_asset_uploader.rb
891
- - app/uploaders/locomotive/theme_uploader.rb
892
863
  - app/views/locomotive/accounts/new.html.haml
893
864
  - app/views/locomotive/content_assets/_asset.html.haml
894
865
  - app/views/locomotive/content_assets/_picker.html.haml
@@ -909,6 +880,7 @@ files:
909
880
  - app/views/locomotive/custom_fields/types/_date.html.haml
910
881
  - app/views/locomotive/custom_fields/types/_file.html.haml
911
882
  - app/views/locomotive/custom_fields/types/_has_many.html.haml
883
+ - app/views/locomotive/custom_fields/types/_has_many_form.html.haml
912
884
  - app/views/locomotive/custom_fields/types/_many_to_many.html.haml
913
885
  - app/views/locomotive/custom_fields/types/_select.html.haml
914
886
  - app/views/locomotive/custom_fields/types/_string.html.haml
@@ -961,7 +933,12 @@ files:
961
933
  - app/views/locomotive/theme_assets/edit.html.haml
962
934
  - app/views/locomotive/theme_assets/index.html.haml
963
935
  - app/views/locomotive/theme_assets/new.html.haml
936
+ - app/views/locomotive/translations/_form.html.haml
937
+ - app/views/locomotive/translations/edit.html.haml
938
+ - app/views/locomotive/translations/index.html.haml
939
+ - app/views/locomotive/translations/new.html.haml
964
940
  - config/cucumber.yml
941
+ - config/initializers/deny_phantomjs_ttf.rb
965
942
  - config/initializers/devise.rb
966
943
  - config/initializers/formtastic.rb
967
944
  - config/initializers/haml.rb
@@ -974,6 +951,7 @@ files:
974
951
  - config/locales/admin_ui.it.yml
975
952
  - config/locales/admin_ui.nb.yml
976
953
  - config/locales/admin_ui.nl.yml
954
+ - config/locales/admin_ui.pl.yml
977
955
  - config/locales/admin_ui.pt-BR.yml
978
956
  - config/locales/admin_ui.ru.yml
979
957
  - config/locales/carrierwave.de.yml
@@ -984,6 +962,7 @@ files:
984
962
  - config/locales/carrierwave.it.yml
985
963
  - config/locales/carrierwave.nb.yml
986
964
  - config/locales/carrierwave.nl.yml
965
+ - config/locales/carrierwave.pl.yml
987
966
  - config/locales/carrierwave.pt-BR.yml
988
967
  - config/locales/carrierwave.ru.yml
989
968
  - config/locales/default.de.yml
@@ -994,6 +973,7 @@ files:
994
973
  - config/locales/default.it.yml
995
974
  - config/locales/default.nb.yml
996
975
  - config/locales/default.nl.yml
976
+ - config/locales/default.pl.yml
997
977
  - config/locales/default.pt-BR.yml
998
978
  - config/locales/default.ru.yml
999
979
  - config/locales/devise.de.yml
@@ -1004,6 +984,7 @@ files:
1004
984
  - config/locales/devise.it.yml
1005
985
  - config/locales/devise.nb.yml
1006
986
  - config/locales/devise.nl.yml
987
+ - config/locales/devise.pl.yml
1007
988
  - config/locales/devise.pt-BR.yml
1008
989
  - config/locales/devise.ru.yml
1009
990
  - config/locales/flash.de.yml
@@ -1014,6 +995,7 @@ files:
1014
995
  - config/locales/flash.it.yml
1015
996
  - config/locales/flash.nb.yml
1016
997
  - config/locales/flash.nl.yml
998
+ - config/locales/flash.pl.yml
1017
999
  - config/locales/flash.pt-BR.yml
1018
1000
  - config/locales/flash.ru.yml
1019
1001
  - config/locales/formtastic.de.yml
@@ -1024,6 +1006,7 @@ files:
1024
1006
  - config/locales/formtastic.it.yml
1025
1007
  - config/locales/formtastic.nb.yml
1026
1008
  - config/locales/formtastic.nl.yml
1009
+ - config/locales/formtastic.pl.yml
1027
1010
  - config/locales/formtastic.pt-BR.yml
1028
1011
  - config/locales/formtastic.ru.yml
1029
1012
  - config/routes.rb
@@ -1039,6 +1022,7 @@ files:
1039
1022
  - lib/locomotive/action_controller/section_helpers.rb
1040
1023
  - lib/locomotive/action_controller/url_helpers.rb
1041
1024
  - lib/locomotive/action_controller.rb
1025
+ - lib/locomotive/cancan.rb
1042
1026
  - lib/locomotive/carrierwave/asset.rb
1043
1027
  - lib/locomotive/carrierwave/base.rb
1044
1028
  - lib/locomotive/carrierwave/patches.rb
@@ -1071,6 +1055,8 @@ files:
1071
1055
  - lib/locomotive/liquid/filters/misc.rb
1072
1056
  - lib/locomotive/liquid/filters/resize.rb
1073
1057
  - lib/locomotive/liquid/filters/text.rb
1058
+ - lib/locomotive/liquid/filters/translate.rb
1059
+ - lib/locomotive/liquid/patches.rb
1074
1060
  - lib/locomotive/liquid/tags/consume.rb
1075
1061
  - lib/locomotive/liquid/tags/csrf.rb
1076
1062
  - lib/locomotive/liquid/tags/editable/base.rb
@@ -1094,12 +1080,17 @@ files:
1094
1080
  - lib/locomotive/middlewares/cache.rb
1095
1081
  - lib/locomotive/middlewares/fonts.rb
1096
1082
  - lib/locomotive/middlewares/inline_editor.rb
1083
+ - lib/locomotive/middlewares/permalink.rb
1097
1084
  - lib/locomotive/middlewares/seo_trailing_slash.rb
1098
1085
  - lib/locomotive/middlewares.rb
1086
+ - lib/locomotive/misc/api_documentation/bootstrap.html.haml
1087
+ - lib/locomotive/misc/api_documentation.rb
1099
1088
  - lib/locomotive/mongoid/document.rb
1100
- - lib/locomotive/mongoid/model_extensions.rb
1089
+ - lib/locomotive/mongoid/liquid.rb
1101
1090
  - lib/locomotive/mongoid/patches.rb
1091
+ - lib/locomotive/mongoid/presenter.rb
1102
1092
  - lib/locomotive/mongoid.rb
1093
+ - lib/locomotive/presentable.rb
1103
1094
  - lib/locomotive/rails/action_view.rb
1104
1095
  - lib/locomotive/rails.rb
1105
1096
  - lib/locomotive/regexps.rb
@@ -1111,9 +1102,13 @@ files:
1111
1102
  - lib/locomotive/version.rb
1112
1103
  - lib/locomotive.rb
1113
1104
  - lib/locomotive_cms.rb
1114
- - lib/tasks/cucumber.rake
1105
+ - lib/tasks/development.rake
1115
1106
  - lib/tasks/locomotive.rake
1116
1107
  - public/favicon.ico
1108
+ - vendor/assets/fonts/locomotive/fontawesome-webfont.eot
1109
+ - vendor/assets/fonts/locomotive/fontawesome-webfont.svg
1110
+ - vendor/assets/fonts/locomotive/fontawesome-webfont.ttf
1111
+ - vendor/assets/fonts/locomotive/fontawesome-webfont.woff
1117
1112
  - vendor/assets/javascripts/locomotive/backbone.modelbinding.js
1118
1113
  - vendor/assets/javascripts/locomotive/backbone.sync.js
1119
1114
  - vendor/assets/javascripts/locomotive/cmd.js
@@ -1135,6 +1130,7 @@ files:
1135
1130
  - vendor/assets/stylesheets/locomotive/blueprint/ie.css
1136
1131
  - vendor/assets/stylesheets/locomotive/blueprint/print.css
1137
1132
  - vendor/assets/stylesheets/locomotive/blueprint/screen.css
1133
+ - vendor/assets/stylesheets/locomotive/font-awesome.scss
1138
1134
  - vendor/assets/stylesheets/locomotive/jquery/images/ui-bg_flat_0_aaaaaa_40x100.png
1139
1135
  - vendor/assets/stylesheets/locomotive/jquery/images/ui-bg_flat_75_ffffff_40x100.png
1140
1136
  - vendor/assets/stylesheets/locomotive/jquery/images/ui-bg_glass_55_fbf9ee_1x400.png
@@ -1149,12 +1145,185 @@ files:
1149
1145
  - vendor/assets/stylesheets/locomotive/jquery/images/ui-icons_888888_256x240.png
1150
1146
  - vendor/assets/stylesheets/locomotive/jquery/images/ui-icons_cd0a0a_256x240.png
1151
1147
  - vendor/assets/stylesheets/locomotive/jquery/images/ui-icons_ffffff_256x240.png
1152
- - vendor/assets/stylesheets/locomotive/jquery/ui.css
1153
- - vendor/assets/stylesheets/locomotive/jquery.css
1148
+ - vendor/assets/stylesheets/locomotive/jquery/ui.css.scss
1154
1149
  - vendor/assets/stylesheets/locomotive/liquid_mode.css
1155
1150
  - vendor/assets/stylesheets/locomotive/toggle.css.scss
1156
1151
  - LICENSE
1157
1152
  - README.textile
1153
+ - features/api/accounts.feature
1154
+ - features/api/authentication.feature
1155
+ - features/api/authorization/accounts.feature
1156
+ - features/api/authorization/content_assets.feature
1157
+ - features/api/authorization/content_entries.feature
1158
+ - features/api/authorization/content_types.feature
1159
+ - features/api/authorization/current_site.feature
1160
+ - features/api/authorization/memberships.feature
1161
+ - features/api/authorization/pages.feature
1162
+ - features/api/authorization/sites.feature
1163
+ - features/api/authorization/snippets.feature
1164
+ - features/api/authorization/theme_assets.feature
1165
+ - features/api/authorization/translations.feature
1166
+ - features/api/content_entries.feature
1167
+ - features/api/content_types.feature
1168
+ - features/api/editable_elements.feature
1169
+ - features/api/entries_custom_fields.feature
1170
+ - features/api/pages.feature
1171
+ - features/backoffice/authorization/account_settings.feature
1172
+ - features/backoffice/authorization/content_type.feature
1173
+ - features/backoffice/authorization/current_site.feature
1174
+ - features/backoffice/authorization/inline_front_end_editing.feature
1175
+ - features/backoffice/authorization/pages.feature
1176
+ - features/backoffice/authorization/theme_assets.feature
1177
+ - features/backoffice/content_types/edit.feature
1178
+ - features/backoffice/content_types/has_many.feature
1179
+ - features/backoffice/content_types/many_to_many.feature
1180
+ - features/backoffice/contents.feature
1181
+ - features/backoffice/editable_elements.feature
1182
+ - features/backoffice/login.feature
1183
+ - features/backoffice/mounting.feature
1184
+ - features/backoffice/pages.feature
1185
+ - features/backoffice/site.feature
1186
+ - features/backoffice/snippets.feature
1187
+ - features/backoffice/theme_assets.feature
1188
+ - features/backoffice/translations.feature
1189
+ - features/public/basic.feature
1190
+ - features/public/contact_form.feature
1191
+ - features/public/content_entries.feature
1192
+ - features/public/editable_elements.feature
1193
+ - features/public/has_many.feature
1194
+ - features/public/inheritance.feature
1195
+ - features/public/inline_front_end_editing.feature
1196
+ - features/public/many_to_many.feature
1197
+ - features/public/pagination.feature
1198
+ - features/public/robots.feature
1199
+ - features/public/sitemap.feature
1200
+ - features/public/snippets.feature
1201
+ - features/public/tablerow.feature
1202
+ - features/step_definitions/api_steps.rb
1203
+ - features/step_definitions/backoffice/mounting_steps.rb
1204
+ - features/step_definitions/backoffice_steps.rb
1205
+ - features/step_definitions/content_assets_steps.rb
1206
+ - features/step_definitions/content_types_steps.rb
1207
+ - features/step_definitions/current_site_steps.rb
1208
+ - features/step_definitions/editable_elements_steps.rb
1209
+ - features/step_definitions/membership_steps.rb
1210
+ - features/step_definitions/more_web_steps.rb
1211
+ - features/step_definitions/page_steps.rb
1212
+ - features/step_definitions/pagination_steps.rb
1213
+ - features/step_definitions/pickle_steps.rb
1214
+ - features/step_definitions/relationships_steps.rb
1215
+ - features/step_definitions/site_steps.rb
1216
+ - features/step_definitions/snippet_steps.rb
1217
+ - features/step_definitions/theme_asset_steps.rb
1218
+ - features/step_definitions/translation_steps.rb
1219
+ - features/step_definitions/web_steps.rb
1220
+ - features/step_definitions/within_steps.rb
1221
+ - features/support/cleaner.rb
1222
+ - features/support/env.rb
1223
+ - features/support/factory_girl.rb
1224
+ - features/support/http.rb
1225
+ - features/support/paths.rb
1226
+ - features/support/pickle.rb
1227
+ - features/support/selectors.rb
1228
+ - spec/cells/locomotive/global_actions_spec.rb
1229
+ - spec/cells/locomotive/main_menu_cell_spec.rb
1230
+ - spec/cells/locomotive/settings_menu_cell_spec.rb
1231
+ - spec/fixtures/assets/5k.png
1232
+ - spec/fixtures/assets/5k_2.png
1233
+ - spec/fixtures/assets/application.js
1234
+ - spec/fixtures/assets/main.css
1235
+ - spec/fixtures/assets/wrong.txt
1236
+ - spec/fixtures/images/logo1.jpg
1237
+ - spec/fixtures/images/logo2.jpg
1238
+ - spec/lib/core_ext_spec.rb
1239
+ - spec/lib/locomotive/configuration_spec.rb
1240
+ - spec/lib/locomotive/httparty/webservice_spec.rb
1241
+ - spec/lib/locomotive/liquid/drops/content_entry_spec.rb
1242
+ - spec/lib/locomotive/liquid/drops/current_user.rb
1243
+ - spec/lib/locomotive/liquid/drops/page_spec.rb
1244
+ - spec/lib/locomotive/liquid/drops/site_spec.rb
1245
+ - spec/lib/locomotive/liquid/filters/date_spec.rb
1246
+ - spec/lib/locomotive/liquid/filters/html_spec.rb
1247
+ - spec/lib/locomotive/liquid/filters/misc_spec.rb
1248
+ - spec/lib/locomotive/liquid/filters/resize_spec.rb
1249
+ - spec/lib/locomotive/liquid/filters/text_spec.rb
1250
+ - spec/lib/locomotive/liquid/filters/translate_spec.rb
1251
+ - spec/lib/locomotive/liquid/tags/consume_spec.rb
1252
+ - spec/lib/locomotive/liquid/tags/csrf_spec.rb
1253
+ - spec/lib/locomotive/liquid/tags/editable/short_text_spec.rb
1254
+ - spec/lib/locomotive/liquid/tags/extends_spec.rb
1255
+ - spec/lib/locomotive/liquid/tags/locale_switcher_spec.rb
1256
+ - spec/lib/locomotive/liquid/tags/nav_spec.rb
1257
+ - spec/lib/locomotive/liquid/tags/paginate_spec.rb
1258
+ - spec/lib/locomotive/liquid/tags/seo_spec.rb
1259
+ - spec/lib/locomotive/liquid/tags/with_scope_spec.rb
1260
+ - spec/lib/locomotive/presentable_spec.rb
1261
+ - spec/lib/locomotive/render_spec.rb
1262
+ - spec/lib/locomotive/routing/site_dispatcher_spec.rb
1263
+ - spec/mailers/locomotive/notifications_spec.rb
1264
+ - spec/models/locomotive/ability_spec.rb
1265
+ - spec/models/locomotive/account_spec.rb
1266
+ - spec/models/locomotive/content_asset_spec.rb
1267
+ - spec/models/locomotive/content_entry_spec.rb
1268
+ - spec/models/locomotive/content_type_spec.rb
1269
+ - spec/models/locomotive/editable_control_spec.rb
1270
+ - spec/models/locomotive/editable_file_spec.rb
1271
+ - spec/models/locomotive/editable_long_text_spec.rb
1272
+ - spec/models/locomotive/editable_short_text_spec.rb
1273
+ - spec/models/locomotive/extensions/page/editable_elements_spec.rb
1274
+ - spec/models/locomotive/extensions/page/redirect_spec.rb
1275
+ - spec/models/locomotive/extensions/page/render_spec.rb
1276
+ - spec/models/locomotive/extensions/site/locales_spec.rb
1277
+ - spec/models/locomotive/extensions/site/subdomain_domains_spec.rb
1278
+ - spec/models/locomotive/membership_spec.rb
1279
+ - spec/models/locomotive/page_spec.rb
1280
+ - spec/models/locomotive/site_spec.rb
1281
+ - spec/models/locomotive/snippet_spec.rb
1282
+ - spec/models/locomotive/theme_asset_spec.rb
1283
+ - spec/requests/seo_trailing_slash_spec.rb
1284
+ - spec/support/carrierwave.rb
1285
+ - spec/support/cells.rb
1286
+ - spec/support/controller.rb
1287
+ - spec/support/factories.rb
1288
+ - spec/support/locomotive.rb
1289
+ - spec/support/matchers.rb
1290
+ - spec/support/middlewares.rb
1291
+ - spec/dummy/Rakefile
1292
+ - spec/dummy/config.ru
1293
+ - spec/dummy/app/assets/javascripts/application.js
1294
+ - spec/dummy/app/assets/javascripts/locomotive_misc.js.coffee
1295
+ - spec/dummy/app/assets/stylesheets/application.css
1296
+ - spec/dummy/app/cells/locomotive/main_menu_cell.rb
1297
+ - spec/dummy/app/controllers/application_controller.rb
1298
+ - spec/dummy/app/controllers/foo_controller.rb
1299
+ - spec/dummy/app/helpers/application_helper.rb
1300
+ - spec/dummy/app/models/foo.rb
1301
+ - spec/dummy/app/views/foo/index.html.haml
1302
+ - spec/dummy/app/views/layouts/application.html.erb
1303
+ - spec/dummy/app/views/locomotive/shared/_main_app_head.html.haml
1304
+ - spec/dummy/config/application.rb
1305
+ - spec/dummy/config/boot.rb
1306
+ - spec/dummy/config/environment.rb
1307
+ - spec/dummy/config/environments/development.rb
1308
+ - spec/dummy/config/environments/production.rb
1309
+ - spec/dummy/config/environments/test.rb
1310
+ - spec/dummy/config/initializers/carrierwave.rb
1311
+ - spec/dummy/config/initializers/devise.rb
1312
+ - spec/dummy/config/initializers/dragonfly.rb
1313
+ - spec/dummy/config/initializers/formtastic.rb
1314
+ - spec/dummy/config/initializers/haml.rb
1315
+ - spec/dummy/config/initializers/locomotive.rb
1316
+ - spec/dummy/config/initializers/secret_token.rb
1317
+ - spec/dummy/config/initializers/session_store.rb
1318
+ - spec/dummy/config/initializers/wrap_parameters.rb
1319
+ - spec/dummy/config/locales/en.yml
1320
+ - spec/dummy/config/locales/fr.yml
1321
+ - spec/dummy/config/mongoid.yml
1322
+ - spec/dummy/config/routes.rb
1323
+ - spec/dummy/script/rails
1324
+ - spec/dummy/public/404.html
1325
+ - spec/dummy/public/422.html
1326
+ - spec/dummy/public/500.html
1158
1327
  homepage: http://www.locomotivecms.com
1159
1328
  licenses: []
1160
1329
  post_install_message:
@@ -1166,20 +1335,194 @@ required_ruby_version: !ruby/object:Gem::Requirement
1166
1335
  requirements:
1167
1336
  - - ! '>='
1168
1337
  - !ruby/object:Gem::Version
1169
- version: '0'
1170
1338
  segments:
1171
1339
  - 0
1172
- hash: -3713943705302971803
1340
+ hash: -3982697852319704941
1341
+ version: '0'
1173
1342
  required_rubygems_version: !ruby/object:Gem::Requirement
1174
1343
  none: false
1175
1344
  requirements:
1176
1345
  - - ! '>='
1177
1346
  - !ruby/object:Gem::Version
1178
- version: 1.3.6
1347
+ version: 1.8.25
1179
1348
  requirements: []
1180
1349
  rubyforge_project:
1181
1350
  rubygems_version: 1.8.24
1182
1351
  signing_key:
1183
1352
  specification_version: 3
1184
1353
  summary: A Next Generation Sexy CMS for Rails 3
1185
- test_files: []
1354
+ test_files:
1355
+ - features/api/accounts.feature
1356
+ - features/api/authentication.feature
1357
+ - features/api/authorization/accounts.feature
1358
+ - features/api/authorization/content_assets.feature
1359
+ - features/api/authorization/content_entries.feature
1360
+ - features/api/authorization/content_types.feature
1361
+ - features/api/authorization/current_site.feature
1362
+ - features/api/authorization/memberships.feature
1363
+ - features/api/authorization/pages.feature
1364
+ - features/api/authorization/sites.feature
1365
+ - features/api/authorization/snippets.feature
1366
+ - features/api/authorization/theme_assets.feature
1367
+ - features/api/authorization/translations.feature
1368
+ - features/api/content_entries.feature
1369
+ - features/api/content_types.feature
1370
+ - features/api/editable_elements.feature
1371
+ - features/api/entries_custom_fields.feature
1372
+ - features/api/pages.feature
1373
+ - features/backoffice/authorization/account_settings.feature
1374
+ - features/backoffice/authorization/content_type.feature
1375
+ - features/backoffice/authorization/current_site.feature
1376
+ - features/backoffice/authorization/inline_front_end_editing.feature
1377
+ - features/backoffice/authorization/pages.feature
1378
+ - features/backoffice/authorization/theme_assets.feature
1379
+ - features/backoffice/content_types/edit.feature
1380
+ - features/backoffice/content_types/has_many.feature
1381
+ - features/backoffice/content_types/many_to_many.feature
1382
+ - features/backoffice/contents.feature
1383
+ - features/backoffice/editable_elements.feature
1384
+ - features/backoffice/login.feature
1385
+ - features/backoffice/mounting.feature
1386
+ - features/backoffice/pages.feature
1387
+ - features/backoffice/site.feature
1388
+ - features/backoffice/snippets.feature
1389
+ - features/backoffice/theme_assets.feature
1390
+ - features/backoffice/translations.feature
1391
+ - features/public/basic.feature
1392
+ - features/public/contact_form.feature
1393
+ - features/public/content_entries.feature
1394
+ - features/public/editable_elements.feature
1395
+ - features/public/has_many.feature
1396
+ - features/public/inheritance.feature
1397
+ - features/public/inline_front_end_editing.feature
1398
+ - features/public/many_to_many.feature
1399
+ - features/public/pagination.feature
1400
+ - features/public/robots.feature
1401
+ - features/public/sitemap.feature
1402
+ - features/public/snippets.feature
1403
+ - features/public/tablerow.feature
1404
+ - features/step_definitions/api_steps.rb
1405
+ - features/step_definitions/backoffice/mounting_steps.rb
1406
+ - features/step_definitions/backoffice_steps.rb
1407
+ - features/step_definitions/content_assets_steps.rb
1408
+ - features/step_definitions/content_types_steps.rb
1409
+ - features/step_definitions/current_site_steps.rb
1410
+ - features/step_definitions/editable_elements_steps.rb
1411
+ - features/step_definitions/membership_steps.rb
1412
+ - features/step_definitions/more_web_steps.rb
1413
+ - features/step_definitions/page_steps.rb
1414
+ - features/step_definitions/pagination_steps.rb
1415
+ - features/step_definitions/pickle_steps.rb
1416
+ - features/step_definitions/relationships_steps.rb
1417
+ - features/step_definitions/site_steps.rb
1418
+ - features/step_definitions/snippet_steps.rb
1419
+ - features/step_definitions/theme_asset_steps.rb
1420
+ - features/step_definitions/translation_steps.rb
1421
+ - features/step_definitions/web_steps.rb
1422
+ - features/step_definitions/within_steps.rb
1423
+ - features/support/cleaner.rb
1424
+ - features/support/env.rb
1425
+ - features/support/factory_girl.rb
1426
+ - features/support/http.rb
1427
+ - features/support/paths.rb
1428
+ - features/support/pickle.rb
1429
+ - features/support/selectors.rb
1430
+ - spec/cells/locomotive/global_actions_spec.rb
1431
+ - spec/cells/locomotive/main_menu_cell_spec.rb
1432
+ - spec/cells/locomotive/settings_menu_cell_spec.rb
1433
+ - spec/fixtures/assets/5k.png
1434
+ - spec/fixtures/assets/5k_2.png
1435
+ - spec/fixtures/assets/application.js
1436
+ - spec/fixtures/assets/main.css
1437
+ - spec/fixtures/assets/wrong.txt
1438
+ - spec/fixtures/images/logo1.jpg
1439
+ - spec/fixtures/images/logo2.jpg
1440
+ - spec/lib/core_ext_spec.rb
1441
+ - spec/lib/locomotive/configuration_spec.rb
1442
+ - spec/lib/locomotive/httparty/webservice_spec.rb
1443
+ - spec/lib/locomotive/liquid/drops/content_entry_spec.rb
1444
+ - spec/lib/locomotive/liquid/drops/current_user.rb
1445
+ - spec/lib/locomotive/liquid/drops/page_spec.rb
1446
+ - spec/lib/locomotive/liquid/drops/site_spec.rb
1447
+ - spec/lib/locomotive/liquid/filters/date_spec.rb
1448
+ - spec/lib/locomotive/liquid/filters/html_spec.rb
1449
+ - spec/lib/locomotive/liquid/filters/misc_spec.rb
1450
+ - spec/lib/locomotive/liquid/filters/resize_spec.rb
1451
+ - spec/lib/locomotive/liquid/filters/text_spec.rb
1452
+ - spec/lib/locomotive/liquid/filters/translate_spec.rb
1453
+ - spec/lib/locomotive/liquid/tags/consume_spec.rb
1454
+ - spec/lib/locomotive/liquid/tags/csrf_spec.rb
1455
+ - spec/lib/locomotive/liquid/tags/editable/short_text_spec.rb
1456
+ - spec/lib/locomotive/liquid/tags/extends_spec.rb
1457
+ - spec/lib/locomotive/liquid/tags/locale_switcher_spec.rb
1458
+ - spec/lib/locomotive/liquid/tags/nav_spec.rb
1459
+ - spec/lib/locomotive/liquid/tags/paginate_spec.rb
1460
+ - spec/lib/locomotive/liquid/tags/seo_spec.rb
1461
+ - spec/lib/locomotive/liquid/tags/with_scope_spec.rb
1462
+ - spec/lib/locomotive/presentable_spec.rb
1463
+ - spec/lib/locomotive/render_spec.rb
1464
+ - spec/lib/locomotive/routing/site_dispatcher_spec.rb
1465
+ - spec/mailers/locomotive/notifications_spec.rb
1466
+ - spec/models/locomotive/ability_spec.rb
1467
+ - spec/models/locomotive/account_spec.rb
1468
+ - spec/models/locomotive/content_asset_spec.rb
1469
+ - spec/models/locomotive/content_entry_spec.rb
1470
+ - spec/models/locomotive/content_type_spec.rb
1471
+ - spec/models/locomotive/editable_control_spec.rb
1472
+ - spec/models/locomotive/editable_file_spec.rb
1473
+ - spec/models/locomotive/editable_long_text_spec.rb
1474
+ - spec/models/locomotive/editable_short_text_spec.rb
1475
+ - spec/models/locomotive/extensions/page/editable_elements_spec.rb
1476
+ - spec/models/locomotive/extensions/page/redirect_spec.rb
1477
+ - spec/models/locomotive/extensions/page/render_spec.rb
1478
+ - spec/models/locomotive/extensions/site/locales_spec.rb
1479
+ - spec/models/locomotive/extensions/site/subdomain_domains_spec.rb
1480
+ - spec/models/locomotive/membership_spec.rb
1481
+ - spec/models/locomotive/page_spec.rb
1482
+ - spec/models/locomotive/site_spec.rb
1483
+ - spec/models/locomotive/snippet_spec.rb
1484
+ - spec/models/locomotive/theme_asset_spec.rb
1485
+ - spec/requests/seo_trailing_slash_spec.rb
1486
+ - spec/support/carrierwave.rb
1487
+ - spec/support/cells.rb
1488
+ - spec/support/controller.rb
1489
+ - spec/support/factories.rb
1490
+ - spec/support/locomotive.rb
1491
+ - spec/support/matchers.rb
1492
+ - spec/support/middlewares.rb
1493
+ - spec/dummy/Rakefile
1494
+ - spec/dummy/config.ru
1495
+ - spec/dummy/app/assets/javascripts/application.js
1496
+ - spec/dummy/app/assets/javascripts/locomotive_misc.js.coffee
1497
+ - spec/dummy/app/assets/stylesheets/application.css
1498
+ - spec/dummy/app/cells/locomotive/main_menu_cell.rb
1499
+ - spec/dummy/app/controllers/application_controller.rb
1500
+ - spec/dummy/app/controllers/foo_controller.rb
1501
+ - spec/dummy/app/helpers/application_helper.rb
1502
+ - spec/dummy/app/models/foo.rb
1503
+ - spec/dummy/app/views/foo/index.html.haml
1504
+ - spec/dummy/app/views/layouts/application.html.erb
1505
+ - spec/dummy/app/views/locomotive/shared/_main_app_head.html.haml
1506
+ - spec/dummy/config/application.rb
1507
+ - spec/dummy/config/boot.rb
1508
+ - spec/dummy/config/environment.rb
1509
+ - spec/dummy/config/environments/development.rb
1510
+ - spec/dummy/config/environments/production.rb
1511
+ - spec/dummy/config/environments/test.rb
1512
+ - spec/dummy/config/initializers/carrierwave.rb
1513
+ - spec/dummy/config/initializers/devise.rb
1514
+ - spec/dummy/config/initializers/dragonfly.rb
1515
+ - spec/dummy/config/initializers/formtastic.rb
1516
+ - spec/dummy/config/initializers/haml.rb
1517
+ - spec/dummy/config/initializers/locomotive.rb
1518
+ - spec/dummy/config/initializers/secret_token.rb
1519
+ - spec/dummy/config/initializers/session_store.rb
1520
+ - spec/dummy/config/initializers/wrap_parameters.rb
1521
+ - spec/dummy/config/locales/en.yml
1522
+ - spec/dummy/config/locales/fr.yml
1523
+ - spec/dummy/config/mongoid.yml
1524
+ - spec/dummy/config/routes.rb
1525
+ - spec/dummy/script/rails
1526
+ - spec/dummy/public/404.html
1527
+ - spec/dummy/public/422.html
1528
+ - spec/dummy/public/500.html